:root {
  --ink: #0d0b09;
  --ink-soft: #17130f;
  --paper: #f0e8db;
  --paper-dim: #cfc5b6;
  --paper-faint: #978d7f;
  --gold: #c9a66c;
  --gold-bright: #e4c690;
  --line: rgba(240, 232, 219, 0.16);
  --line-dark: rgba(20, 16, 12, 0.16);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC",
    "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.is-roaming {
  cursor: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

kbd {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper-dim);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  vertical-align: middle;
}

.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#gallery-canvas {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #15110e;
  touch-action: none;
}

.scene-vignette,
.scene-grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.scene-vignette {
  background:
    radial-gradient(ellipse at 50% 48%, transparent 32%, rgba(8, 6, 5, 0.24) 76%, rgba(7, 5, 4, 0.62) 100%),
    linear-gradient(180deg, rgba(8, 6, 5, 0.22), transparent 18%, transparent 78%, rgba(8, 6, 5, 0.32));
}

.scene-grain {
  opacity: 0.2;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ */
/* Loading                                                             */
/* ------------------------------------------------------------------ */

.loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background:
    radial-gradient(circle at 50% 46%, rgba(201, 166, 108, 0.08), transparent 36%),
    #0b0907;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.loading p {
  margin: 6px 0 0;
  color: var(--paper-dim);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.32em;
}

.loading small {
  color: var(--paper-faint);
  font-size: 8px;
  letter-spacing: 0.4em;
}

.loading-mark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
}

.loading-mark span {
  display: block;
  width: 1px;
  height: 100%;
  background: var(--gold);
  transform-origin: bottom;
  animation: loading-pulse 1.2s var(--ease) infinite alternate;
}

.loading-mark span:nth-child(2) {
  height: 64%;
  animation-delay: 0.18s;
  opacity: 0.7;
}

.loading-mark span:nth-child(3) {
  height: 38%;
  animation-delay: 0.36s;
  opacity: 0.4;
}

@keyframes loading-pulse {
  from {
    transform: scaleY(0.35);
    opacity: 0.28;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ------------------------------------------------------------------ */
/* HUD                                                                 */
/* ------------------------------------------------------------------ */

.hud {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.7s var(--ease);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 38px) clamp(20px, 3.4vw, 46px);
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
  pointer-events: auto;
}

.brand-symbol {
  color: var(--gold-bright);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1;
}

.brand-copy small {
  color: var(--paper-faint);
  font-size: 7px;
  letter-spacing: 0.28em;
  line-height: 1.4;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.exhibition-tag {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-right: 12px;
  text-align: right;
}

.exhibition-tag span {
  color: var(--paper-faint);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.exhibition-tag strong {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.utility-button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(16, 13, 10, 0.32);
  color: var(--paper-dim);
  font-family: var(--serif);
  font-size: 15px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.utility-button:hover {
  border-color: rgba(201, 166, 108, 0.58);
  background: rgba(30, 24, 18, 0.6);
  color: var(--gold-bright);
}

.fullscreen-button {
  font-size: 0;
}

.fullscreen-icon {
  position: relative;
  display: block;
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 1px;
}

.fullscreen-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid currentColor;
  opacity: 0.4;
}

.map-panel {
  position: absolute;
  top: clamp(88px, 12vh, 120px);
  right: clamp(20px, 3.4vw, 46px);
  width: 218px;
  padding: 13px 14px 12px;
  border: 1px solid var(--line);
  background: rgba(17, 14, 11, 0.62);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(0.85);
}

.map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--paper-faint);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.map-heading span:last-child {
  color: var(--gold);
  letter-spacing: 0.14em;
}

#minimap {
  display: block;
  width: 100%;
  height: auto;
  margin: 7px 0 4px;
}

.map-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.map-foot span:first-child {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.16em;
}

.map-foot span:last-child {
  color: var(--paper-faint);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.room-toast {
  position: absolute;
  top: clamp(118px, 16vh, 160px);
  left: clamp(24px, 3.4vw, 46px);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 190px;
  padding: 14px 0;
  border-top: 1px solid rgba(201, 166, 108, 0.42);
  border-bottom: 1px solid rgba(201, 166, 108, 0.18);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.room-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#toast-code {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.room-toast div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.room-toast strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.room-toast small {
  color: var(--paper-faint);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.reticle {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 24;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  pointer-events: none;
}

.reticle-dot,
.reticle-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.reticle-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  transition: background 0.25s, width 0.25s, height 0.25s;
}

.reticle-ring {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(201, 166, 108, 0.8);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.45);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.reticle.is-active .reticle-dot {
  width: 3px;
  height: 3px;
  background: var(--gold-bright);
}

.reticle.is-active .reticle-ring {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.artwork-prompt {
  position: fixed;
  bottom: clamp(86px, 11vh, 112px);
  left: 50%;
  z-index: 26;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 312px;
  padding: 10px 14px 10px 11px;
  border: 1px solid rgba(240, 232, 219, 0.2);
  background: rgba(15, 12, 9, 0.72);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  backdrop-filter: blur(20px) saturate(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  pointer-events: none;
}

.artwork-prompt.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.prompt-number {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(201, 166, 108, 0.46);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
}

.prompt-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.prompt-copy strong {
  overflow: hidden;
  max-width: 220px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt-copy span {
  overflow: hidden;
  max-width: 220px;
  color: var(--paper-faint);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--paper-faint);
  font-size: 9px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.prompt-action kbd {
  border-color: rgba(201, 166, 108, 0.36);
  color: var(--gold-bright);
}

.bottom-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 3.4vw, 46px);
  background: linear-gradient(0deg, rgba(9, 7, 6, 0.46), transparent);
}

.visit-meta,
.movement-hints {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper-faint);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.visit-meta > span:not(.divider):not(.live-dot) {
  white-space: nowrap;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(201, 166, 108, 0.1);
  animation: live-breathe 3s ease-in-out infinite;
}

@keyframes live-breathe {
  0%,
  100% {
    opacity: 0.55;
    box-shadow: 0 0 0 3px rgba(201, 166, 108, 0.08);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(201, 166, 108, 0.13);
  }
}

.divider {
  width: 1px;
  height: 8px;
  background: var(--line);
}

.movement-hints {
  gap: 18px;
}

.movement-hints > span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.movement-hints kbd {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 8px;
}

/* ------------------------------------------------------------------ */
/* Intro                                                               */
/* ------------------------------------------------------------------ */

.intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.98) 0%, rgba(10, 8, 6, 0.93) 30%, rgba(10, 8, 6, 0.62) 56%, rgba(10, 8, 6, 0.18) 82%, rgba(10, 8, 6, 0.46) 100%),
    linear-gradient(0deg, rgba(9, 7, 5, 0.82) 0%, transparent 32%, transparent 76%, rgba(9, 7, 5, 0.46) 100%);
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.intro-wash {
  position: absolute;
  top: -22%;
  right: -8%;
  width: 70vw;
  height: 90vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 108, 0.12), transparent 64%);
  filter: blur(18px);
  pointer-events: none;
}

.intro-content {
  position: absolute;
  top: 50%;
  left: clamp(28px, 7vw, 120px);
  z-index: 2;
  width: min(600px, 48vw);
  transform: translateY(-50%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  color: var(--gold);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.9;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.hero-title {
  display: flex;
  align-items: flex-end;
  gap: clamp(17px, 2.3vw, 32px);
  margin: clamp(20px, 3.2vh, 34px) 0 0;
}

.hero-title h1 {
  margin: 0;
  color: #f4ecdf;
  font-family: var(--serif);
  font-size: clamp(90px, 11.5vw, 168px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 0.82;
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.hero-latin {
  margin: 0 0 7px;
  padding-left: clamp(14px, 1.5vw, 22px);
  border-left: 1px solid rgba(201, 166, 108, 0.46);
  color: var(--paper-faint);
  font-size: clamp(7px, 0.62vw, 9px);
  letter-spacing: 0.38em;
  line-height: 2.1;
}

.hero-cn {
  margin: clamp(28px, 4.2vh, 44px) 0 0;
  color: #e8ddcc;
  font-family: var(--serif);
  font-size: clamp(17px, 1.55vw, 22px);
  letter-spacing: 0.28em;
  line-height: 1.6;
}

.hero-cn::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-bottom: 21px;
  background: rgba(201, 166, 108, 0.58);
}

.hero-copy {
  margin: 18px 0 0;
  color: rgba(221, 211, 197, 0.6);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 2.1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: clamp(28px, 4vh, 42px);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 208px;
  padding: 17px 20px 17px 23px;
  border: 1px solid #e9dfd0;
  background: #e9dfd0;
  color: #17130f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease), transform 0.35s var(--ease);
}

.primary-button:hover:not(:disabled) {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  transform: translateY(-2px);
}

.primary-button:active:not(:disabled) {
  transform: translateY(0);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.48;
}

.button-arrow {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}

.primary-button:hover:not(:disabled) .button-arrow {
  transform: translate(3px, -3px);
}

.primary-button--small {
  gap: 26px;
  min-width: 174px;
  padding: 14px 17px 14px 19px;
  font-size: 10px;
}

.hero-hint {
  color: rgba(221, 211, 197, 0.42);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.hero-hint span {
  margin: 0 4px;
  opacity: 0.6;
}

.key-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 27px;
  margin-top: clamp(36px, 5.8vh, 62px);
  padding-top: 20px;
  border-top: 1px solid rgba(240, 232, 219, 0.11);
  max-width: 500px;
}

.key-guide-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(221, 211, 197, 0.48);
  font-size: 8px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.key-row {
  display: flex;
  gap: 3px;
}

.key-guide kbd {
  height: 20px;
  min-width: 20px;
  border-color: rgba(240, 232, 219, 0.16);
  color: rgba(240, 232, 219, 0.7);
  font-size: 8px;
}

.mouse-glyph {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 19px;
  border: 1px solid rgba(240, 232, 219, 0.35);
  border-radius: 7px;
}

.mouse-glyph::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 1px;
  height: 4px;
  background: var(--gold);
  transform: translateX(-50%);
}

.intro-aside {
  position: absolute;
  right: clamp(28px, 6vw, 100px);
  bottom: clamp(108px, 16vh, 168px);
  z-index: 2;
  width: 232px;
  padding: 20px 21px 19px 23px;
  border: 1px solid rgba(240, 232, 219, 0.12);
  border-left: 1px solid rgba(201, 166, 108, 0.52);
  background: rgba(13, 10, 8, 0.54);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px) saturate(0.9);
  transform: none;
}

.aside-index {
  display: block;
  color: var(--gold);
  font-size: 7px;
  letter-spacing: 0.25em;
}

.aside-title {
  margin: 15px 0 5px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: 0.18em;
}

.aside-en {
  margin: 0;
  color: var(--paper-faint);
  font-size: 7px;
  letter-spacing: 0.15em;
  line-height: 1.8;
}

.aside-rule {
  display: block;
  width: 30px;
  height: 1px;
  margin: 20px 0;
  background: rgba(201, 166, 108, 0.44);
}

.aside-info {
  margin: 0;
  color: rgba(221, 211, 197, 0.45);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 2.1;
}

.intro-footer {
  position: absolute;
  right: clamp(28px, 7vw, 120px);
  bottom: clamp(20px, 3.3vh, 34px);
  left: clamp(28px, 7vw, 120px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 232, 219, 0.1);
  color: rgba(221, 211, 197, 0.38);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.intro-footer-center {
  color: var(--gold);
  font-size: 17px;
  opacity: 0.8;
}

.intro-content > *,
.intro-aside,
.intro-footer {
  animation: intro-rise 1.2s var(--ease) both;
}

.intro-content > :nth-child(1) {
  animation-delay: 0.25s;
}

.intro-content > :nth-child(2) {
  animation-delay: 0.34s;
}

.intro-content > :nth-child(3) {
  animation-delay: 0.44s;
}

.intro-content > :nth-child(4) {
  animation-delay: 0.5s;
}

.intro-content > :nth-child(5) {
  animation-delay: 0.58s;
}

.intro-content > :nth-child(6) {
  animation-delay: 0.68s;
}

.intro-content > :nth-child(7) {
  animation-delay: 0.74s;
}

.intro-aside {
  animation-delay: 0.7s;
}

.intro-footer {
  animation-delay: 0.8s;
}

@keyframes intro-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-rise-centered {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 18px));
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

/* ------------------------------------------------------------------ */
/* Pause                                                               */
/* ------------------------------------------------------------------ */

.pause {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(10, 8, 6, 0.58);
  backdrop-filter: blur(15px) saturate(0.8);
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.pause-card {
  width: min(420px, 100%);
  padding: 43px 40px 34px;
  background: #ece4d6;
  color: #1a1511;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.36);
  animation: card-in 0.6s var(--ease) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pause-card .eyebrow {
  color: #8b6f44;
}

.pause-card h2 {
  margin: 22px 0 10px;
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.pause-card > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: rgba(26, 21, 17, 0.56);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.pause-card .primary-button {
  width: 100%;
  border-color: #1a1511;
  background: #1a1511;
  color: var(--paper);
}

.pause-card .primary-button:hover {
  border-color: #3a3025;
  background: #3a3025;
}

.text-button {
  display: inline-block;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: rgba(26, 21, 17, 0.48);
  font-size: 10px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}

.pause-card > .text-button {
  margin-top: 17px;
  color: rgba(26, 21, 17, 0.46);
}

.pause-card > .text-button:hover {
  border-color: rgba(26, 21, 17, 0.36);
  color: #1a1511;
}

.pause-utilities {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid rgba(26, 21, 17, 0.14);
}

.pause-utilities span {
  color: rgba(26, 21, 17, 0.28);
  font-size: 9px;
}

.pause-utilities .text-button {
  color: rgba(26, 21, 17, 0.46);
  font-size: 8px;
}

.pause-utilities .text-button:hover {
  border-color: rgba(26, 21, 17, 0.36);
  color: #1a1511;
}

.hud-notice {
  position: fixed;
  top: clamp(92px, 12vh, 118px);
  left: 50%;
  z-index: 95;
  max-width: min(460px, calc(100vw - 36px));
  padding: 12px 18px;
  border: 1px solid rgba(201, 166, 108, 0.4);
  background: rgba(18, 14, 10, 0.9);
  color: var(--paper-dim);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  opacity: 0;
  transform: translate(-50%, -8px);
  backdrop-filter: blur(18px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}

.hud-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.detail .text-button,
.help .text-button {
  color: rgba(240, 232, 219, 0.52);
}

.detail .text-button:hover,
.help .text-button:hover {
  border-color: rgba(240, 232, 219, 0.4);
  color: var(--paper);
}

/* ------------------------------------------------------------------ */
/* Help                                                               */
/* ------------------------------------------------------------------ */

.help,
.detail {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  padding: 28px;
  place-items: center;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.modal-shade,
.detail-shade {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 5, 0.75);
  backdrop-filter: blur(14px) saturate(0.8);
}

.help-card {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 50px 40px;
  background: #ece4d6;
  color: #1a1511;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
  animation: card-in 0.55s var(--ease) both;
}

.help-card .eyebrow {
  color: #8b6f44;
}

.help-card h2 {
  margin: 14px 0 10px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.help-lead {
  max-width: 560px;
  margin: 0 0 30px;
  color: rgba(26, 21, 17, 0.58);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.9;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(26, 21, 17, 0.16);
  border-left: 1px solid rgba(26, 21, 17, 0.16);
}

.help-grid > div {
  min-height: 105px;
  padding: 17px 18px;
  border-right: 1px solid rgba(26, 21, 17, 0.16);
  border-bottom: 1px solid rgba(26, 21, 17, 0.16);
}

.help-label {
  display: block;
  color: #7f6847;
  font-size: 8px;
  letter-spacing: 0.2em;
}

.help-grid p {
  margin: 12px 0 0;
  color: rgba(26, 21, 17, 0.72);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.9;
}

.help-card kbd {
  border-color: rgba(26, 21, 17, 0.22);
  background: rgba(26, 21, 17, 0.04);
  color: #5e4d36;
}

.help-note {
  margin: 26px 0 30px;
  color: rgba(26, 21, 17, 0.42);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.help-card .primary-button {
  border-color: #1a1511;
  background: #1a1511;
  color: var(--paper);
}

/* ------------------------------------------------------------------ */
/* Detail                                                              */
/* ------------------------------------------------------------------ */

.detail {
  z-index: 70;
}

.detail-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  width: min(1180px, 100%);
  max-height: 88vh;
  overflow: hidden;
  border: 1px solid rgba(240, 232, 219, 0.12);
  background: #13100d;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.54);
  animation: card-in 0.6s var(--ease) both;
}

.detail-media {
  position: relative;
  display: grid;
  min-height: 560px;
  padding: 46px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(201, 166, 108, 0.08), transparent 55%),
    #0b0908;
}

.detail-media::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(240, 232, 219, 0.08);
  pointer-events: none;
}

.detail-media img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 64vh;
  object-fit: contain;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.detail-index {
  position: absolute;
  top: 25px;
  left: 30px;
  z-index: 2;
  color: rgba(201, 166, 108, 0.64);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.detail-media-caption {
  position: absolute;
  right: 30px;
  bottom: 27px;
  left: 30px;
  z-index: 2;
  color: rgba(240, 232, 219, 0.28);
  font-size: 7px;
  letter-spacing: 0.17em;
}

.detail-copy {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 66px 54px 38px;
  overflow-y: auto;
}

.detail-copy .eyebrow {
  color: var(--gold);
}

.detail-copy h2 {
  margin: 20px 0 14px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.detail-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-dim);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.byline-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(201, 166, 108, 0.7);
}

.detail-medium {
  margin: 8px 0 0;
  color: var(--paper-faint);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.detail-rule {
  display: block;
  width: 42px;
  height: 1px;
  margin: 31px 0 24px;
  background: rgba(201, 166, 108, 0.45);
}

.detail-description {
  margin: 0;
  color: rgba(232, 223, 209, 0.72);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 2.15;
}

.detail-location {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 28px 0 0;
  color: var(--paper-faint);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.location-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 32px;
}

.detail-actions .primary-button {
  min-width: 168px;
}

.detail-actions .text-button {
  font-size: 9px;
}

.detail-close {
  z-index: 3;
}

.close-button {
  position: absolute;
  top: 19px;
  right: 19px;
  display: grid;
  width: 35px;
  height: 35px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(240, 232, 219, 0.2);
  border-radius: 50%;
  background: rgba(13, 11, 9, 0.4);
  color: rgba(240, 232, 219, 0.65);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.close-button:hover {
  border-color: rgba(201, 166, 108, 0.6);
  background: rgba(201, 166, 108, 0.12);
  color: var(--paper);
}

.help-card .close-button {
  border-color: rgba(26, 21, 17, 0.2);
  background: transparent;
  color: rgba(26, 21, 17, 0.55);
}

.help-card .close-button:hover {
  border-color: rgba(26, 21, 17, 0.46);
  background: rgba(26, 21, 17, 0.06);
  color: #1a1511;
}

/* ------------------------------------------------------------------ */
/* Fatal                                                               */
/* ------------------------------------------------------------------ */

.fatal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(9, 7, 5, 0.94);
}

.fatal-card {
  width: min(480px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.fatal-card h2 {
  margin: 20px 0 12px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.fatal-card p:not(.eyebrow) {
  margin: 0 0 26px;
  color: var(--paper-faint);
  font-size: 12px;
  line-height: 1.9;
}

/* ------------------------------------------------------------------ */
/* Touch / mobile                                                      */
/* ------------------------------------------------------------------ */

body:not(.is-touch-mode) .touch-only,
body:not(.is-touch-mode) .touch-guide,
body:not(.is-touch-mode) .touch-help,
.touch-controls {
  display: none;
}

body.is-touch-mode .key-guide {
  display: none;
}

body.is-touch-mode .touch-only {
  display: grid;
}

.pause-icon {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
}

.pause-icon i {
  display: block;
  width: 2px;
  height: 11px;
  background: currentColor;
}

.touch-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  max-width: 500px;
  margin-top: clamp(36px, 5.8vh, 62px);
  padding-top: 20px;
  border-top: 1px solid rgba(240, 232, 219, 0.11);
}

.touch-guide-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(221, 211, 197, 0.52);
  font-size: 8px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.touch-stick-glyph {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(240, 232, 219, 0.32);
  border-radius: 50%;
}

.touch-stick-glyph::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.touch-swipe-glyph {
  position: relative;
  display: inline-block;
  width: 21px;
  height: 20px;
}

.touch-swipe-glyph::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 2px;
  left: 2px;
  height: 1px;
  background: rgba(240, 232, 219, 0.36);
}

.touch-swipe-glyph::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  transform: rotate(-45deg);
}

.touch-tap-glyph {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 20px;
}

.touch-tap-glyph::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 7px;
  height: 11px;
  border: 1px solid rgba(240, 232, 219, 0.36);
  border-radius: 4px;
}

.touch-tap-glyph::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(201, 166, 108, 0.7);
  border-radius: 50%;
}

.touch-controls {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 23;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 26px 24px;
  pointer-events: none;
}

body.is-touch-mode.is-touch-roaming .touch-controls {
  display: flex;
}

body.is-touch-mode.is-paused .touch-controls,
body.is-touch-mode.has-overlay .touch-controls {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.joystick-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  pointer-events: auto;
}

.joystick {
  position: relative;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(240, 232, 219, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(201, 166, 108, 0.12), transparent 55%),
    rgba(13, 10, 8, 0.3);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(9px);
  touch-action: none;
}

.joystick-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64%;
  height: 64%;
  border: 1px solid rgba(240, 232, 219, 0.07);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.joystick-axis::before,
.joystick-axis::after {
  content: "";
  position: absolute;
  background: rgba(240, 232, 219, 0.08);
}

.joystick-axis::before {
  top: 50%;
  right: 7%;
  left: 7%;
  height: 1px;
}

.joystick-axis::after {
  top: 7%;
  bottom: 7%;
  left: 50%;
  width: 1px;
}

.joystick-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(201, 166, 108, 0.55);
  border-radius: 50%;
  background: rgba(32, 26, 20, 0.72);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

.joystick.is-active .joystick-knob {
  background: rgba(201, 166, 108, 0.28);
}

.joystick-label {
  color: rgba(240, 232, 219, 0.32);
  font-size: 7px;
  letter-spacing: 0.24em;
}

.touch-look-label {
  padding-bottom: 9px;
  color: rgba(240, 232, 219, 0.3);
  font-size: 8px;
  letter-spacing: 0.1em;
}

body.is-touch-mode .movement-hints,
body.is-touch-mode .bottom-bar {
  display: none;
}

body.is-touch-mode .artwork-prompt {
  bottom: 158px;
}

body.is-touch-mode .help-grid {
  display: none;
}

.touch-help {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(26, 21, 17, 0.16);
  border-left: 1px solid rgba(26, 21, 17, 0.16);
}

body.is-touch-mode .touch-help {
  display: grid;
}

.touch-help > div {
  min-height: 92px;
  padding: 17px 18px;
  border-right: 1px solid rgba(26, 21, 17, 0.16);
  border-bottom: 1px solid rgba(26, 21, 17, 0.16);
}

.touch-help p {
  margin: 12px 0 0;
  color: rgba(26, 21, 17, 0.72);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.9;
}

@media (max-width: 660px) {
  .touch-controls {
    padding: 0 18px 18px;
  }

  .joystick {
    width: 96px;
    height: 96px;
  }

  .joystick-knob {
    width: 39px;
    height: 39px;
  }

  .touch-look-label {
    display: none;
  }

  body.is-touch-mode .artwork-prompt {
    bottom: 132px;
  }

  body.is-touch-mode .map-panel {
    width: 124px;
  }

  body.is-touch-mode .touch-guide {
    gap: 12px 17px;
    margin-top: 26px;
    padding-top: 16px;
    max-width: 330px;
  }

  body.is-touch-mode .touch-guide-item {
    font-size: 7px;
  }

  body.is-touch-mode .hero-actions {
    gap: 10px;
  }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1180px) {
  .intro-aside {
    display: none;
  }

  .intro-content {
    width: min(620px, 58vw);
  }

  .map-panel {
    width: 190px;
  }

  .detail-card {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
  }

  .detail-copy {
    padding: 58px 38px 32px;
  }
}

@media (max-width: 900px) {
  .movement-hints {
    display: none;
  }

  .map-panel {
    top: 88px;
    width: 164px;
  }

  .bottom-bar {
    padding-bottom: 22px;
  }

  .intro-content {
    left: 7vw;
    width: 70vw;
  }

  .detail {
    padding: 18px;
  }

  .detail-card {
    display: block;
    max-height: 92vh;
    overflow-y: auto;
  }

  .detail-media {
    min-height: 0;
    height: 38vh;
    padding: 24px;
  }

  .detail-media img {
    max-height: 34vh;
  }

  .detail-copy {
    min-height: 0;
    padding: 35px 30px 30px;
    overflow: visible;
  }

  .detail-actions {
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 660px) {
  .topbar {
    padding: 18px 18px;
  }

  .exhibition-tag,
  .fullscreen-button {
    display: none;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .map-panel {
    top: 76px;
    right: 18px;
    width: 132px;
    padding: 10px;
  }

  .map-heading {
    font-size: 7px;
    padding-bottom: 6px;
  }

  .map-panel .map-foot {
    display: none;
  }

  #minimap {
    margin: 4px 0 0;
  }

  .room-toast {
    top: 100px;
    left: 18px;
    min-width: 150px;
    gap: 10px;
    padding: 10px 0;
  }

  #toast-code {
    font-size: 32px;
  }

  .room-toast strong {
    font-size: 14px;
  }

  .bottom-bar {
    padding: 20px 18px;
  }

  .visit-meta {
    font-size: 7px;
    gap: 8px;
  }

  .artwork-prompt {
    bottom: 72px;
    min-width: 0;
    width: calc(100vw - 36px);
  }

  .prompt-copy strong,
  .prompt-copy span {
    max-width: 46vw;
  }

  .prompt-action {
    padding-left: 8px;
    font-size: 8px;
  }

  .intro {
    overflow-y: auto;
    background:
      linear-gradient(180deg, rgba(10, 8, 6, 0.82) 0%, rgba(10, 8, 6, 0.94) 38%, rgba(10, 8, 6, 0.98) 100%),
      linear-gradient(90deg, rgba(10, 8, 6, 0.9), rgba(10, 8, 6, 0.4));
  }

  .intro-content {
    position: absolute;
    top: 13vh;
    right: 23px;
    left: 23px;
    width: auto;
    transform: none;
  }

  .intro-content > * {
    animation-name: intro-rise;
  }

  .intro-content .hero-title {
    animation-name: intro-rise;
  }

  .eyebrow {
    font-size: 7px;
    letter-spacing: 0.16em;
    gap: 9px;
  }

  .eyebrow-line {
    width: 22px;
  }

  .hero-title {
    gap: 16px;
    margin-top: 20px;
  }

  .hero-title h1 {
    font-size: clamp(70px, 22vw, 96px);
    letter-spacing: 0.06em;
  }

  .hero-latin {
    margin-bottom: 2px;
    padding-left: 11px;
    font-size: 6px;
    letter-spacing: 0.24em;
  }

  .hero-cn {
    margin-top: 28px;
    font-size: 16px;
    letter-spacing: 0.2em;
  }

  .hero-cn::before {
    margin-bottom: 15px;
  }

  .hero-copy {
    max-width: 330px;
    margin-top: 13px;
    font-size: 10px;
    line-height: 1.9;
  }

  .desktop-only {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .primary-button {
    min-width: 196px;
    padding: 15px 17px;
    font-size: 10px;
  }

  .key-guide {
    gap: 13px 17px;
    margin-top: 34px;
    padding-top: 16px;
    max-width: 330px;
  }

  .key-guide-item {
    font-size: 7px;
  }

  .key-guide kbd {
    height: 18px;
    min-width: 18px;
    font-size: 7px;
  }

  .intro-footer {
    position: absolute;
    right: 23px;
    bottom: 18px;
    left: 23px;
    padding-top: 12px;
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .intro-footer-center {
    font-size: 13px;
  }

  .intro-footer span:last-child {
    display: none;
  }

  .help {
    padding: 14px;
  }

  .help-card {
    padding: 34px 23px 26px;
    max-height: 92vh;
  }

  .help-card h2 {
    font-size: 34px;
  }

  .help-grid {
    grid-template-columns: 1fr 1fr;
  }

  .help-grid > div {
    min-height: 92px;
    padding: 13px;
  }

  .pause-card {
    padding: 34px 26px 27px;
  }

  .pause-card h2 {
    font-size: 34px;
  }

  .detail {
    padding: 0;
  }

  .detail-card {
    width: 100%;
    max-height: 100vh;
    border: 0;
  }

  .detail-media {
    height: 42vh;
    padding: 18px;
  }

  .detail-media img {
    max-height: 38vh;
  }

  .detail-media-caption {
    display: none;
  }

  .detail-copy {
    padding: 31px 23px 27px;
  }

  .detail-copy h2 {
    font-size: 30px;
  }

  .detail-actions {
    gap: 15px;
    padding-top: 24px;
  }

  .detail-actions .text-button {
    font-size: 8px;
  }

  .detail-close {
    top: 12px;
    right: 12px;
    background: rgba(13, 11, 9, 0.72);
  }
}

@media (max-height: 720px) and (min-width: 661px) {
  .intro-content {
    top: 51%;
  }

  .hero-title h1 {
    font-size: clamp(82px, 9.5vw, 128px);
  }

  .hero-cn {
    margin-top: 23px;
    font-size: 17px;
  }

  .hero-copy {
    margin-top: 10px;
    font-size: 10px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .key-guide {
    margin-top: 25px;
    padding-top: 14px;
  }

  .map-panel {
    top: 82px;
  }
}

body.is-touch-mode .exhibition-tag {
  display: none;
}

@media (max-height: 560px) {
  body.is-touch-mode .intro {
    overflow: hidden;
  }

  body.is-touch-mode .intro-content {
    top: 50%;
    width: min(70vw, 640px);
    transform: translateY(-50%);
  }

  body.is-touch-mode .intro-footer {
    display: none;
  }

  body.is-touch-mode .eyebrow {
    font-size: 7px;
  }

  body.is-touch-mode .hero-title {
    margin-top: 12px;
  }

  body.is-touch-mode .hero-title h1 {
    font-size: clamp(58px, 20vh, 84px);
  }

  body.is-touch-mode .hero-latin {
    margin-bottom: 2px;
    font-size: 6px;
  }

  body.is-touch-mode .hero-cn {
    margin-top: 16px;
    font-size: 15px;
  }

  body.is-touch-mode .hero-cn::before {
    margin-bottom: 12px;
  }

  body.is-touch-mode .hero-copy {
    display: none;
  }

  body.is-touch-mode .hero-actions {
    align-items: center;
    flex-direction: row;
    gap: 20px;
    margin-top: 16px;
  }

  body.is-touch-mode .primary-button {
    min-width: 180px;
    padding: 13px 16px;
  }

  body.is-touch-mode .touch-guide {
    max-width: 560px;
    margin-top: 14px;
    padding-top: 10px;
    gap: 8px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
