.world-stage {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: min(100%, calc((100svh - 148px) * var(--map-ratio, 1.75)));
  align-content: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 0 24px;
  overflow: auto;
  background: var(--ink);
}

.world-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--map-backdrop, none) center / cover;
  filter: blur(24px) brightness(.28);
  content: '';
  pointer-events: none;
}

.world-window { position: relative; }
.world-visual { aspect-ratio: var(--map-ratio, 1.75); overflow: hidden; }
.world-shot, .world-shot img { display: block; width: 100%; height: 100%; }
.world-shot img { object-fit: contain; }

.world-locations { position: absolute; inset: 0; }
.world-place {
  position: absolute;
  top: var(--pin-y);
  left: var(--pin-x);
  width: var(--pin-w);
  height: var(--pin-h);
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 0;
}

.place-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 7px 12px;
  border-bottom: 1px solid #e5c99188;
  border-radius: 2px;
  background: #132329d9;
  color: #fff1d6;
  font-size: clamp(14px, 1.15vw, 18px);
  letter-spacing: .06em;
  text-align: center;
  transition: background .2s, transform .2s;
}

.place-label::before { width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; content: ''; }
.world-place:hover .place-label, .world-place:focus-visible .place-label { background: #263c41; transform: translateY(-2px); }
.world-place:focus-visible { outline: none; }
.world-place:focus-visible .place-label { outline: 2px solid var(--gold); outline-offset: 2px; }
.world-hint, .world-status { margin: 0; padding: 0 16px; text-align: center; color: var(--paper); font-size: 14px; line-height: 1.6; }
html[lang='zh-CN'] .world-hint { font-size: clamp(15px, 1.15vw, 17px); letter-spacing: .06em; }
.world-status { padding: 8px 16px; color: var(--gold); }
body:not([data-world-phase='world']) :is(.world-locations, .world-hint) { visibility: hidden; }

.topbar .wordmark { flex: 1; min-width: 0; margin: 0; font-weight: 500; }
.topbar .quiet-button { white-space: nowrap; }
.topbar .sound-symbol { display: inline-flex; color: var(--paper); }
.topbar .sound-symbol svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#sound[aria-pressed='true'] .sound-muted, #sound[aria-pressed='false'] .sound-waves { display: none; }
body[data-view='world'] #sound { justify-content: center; }
body[data-view='world'] #sound-label { display: none; }

@media (max-width: 760px) {
  body:not([data-view='world']) .topbar .wordmark { display: none; }
  .topbar .sound-symbol { display: none; }
  body[data-view='world'] .topbar .sound-symbol { display: inline-flex; }
}

@media (max-width: 760px) and (orientation: portrait) {
  .world-stage { grid-template-columns: 100%; align-content: start; padding-top: 88px; }
  .world-window { display: grid; gap: 16px; }
  .world-locations { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
  .world-place { position: static; width: auto; height: auto; place-items: stretch; }
  .world-place:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .place-label { letter-spacing: .025em; }
}

@media (max-width: 360px) {
  .topbar { padding: 12px; gap: 8px; }
  .topbar .wordmark { font-size: 12px; letter-spacing: .04em; }
  .topbar .wordmark-sub { font-size: 6px; letter-spacing: .02em; }
}
