@font-face{font-family:BaojiBrush;src:url('../public/assets/fonts/baoji-brush.woff') format('woff');font-display:swap}
@font-face{font-family:BaojiKai;src:url('../public/assets/fonts/baoji-kai.woff') format('woff');font-display:swap}
:root{--bronze:#c8ae76;--paper:#eee6d0;--museum-ink:#133b32}
body{background:#0b211e}.banner-copy{top:10.2%;width:84%;max-width:380px;color:#5c2d16;text-align:center}.banner-museum{font-size:11px;letter-spacing:.32em;margin-bottom:18px;color:#785333}.banner-copy h1{font-family:BaojiBrush,serif;font-size:clamp(76px,19vw,94px);line-height:.94;font-weight:400;letter-spacing:-.035em;transform:rotate(-3deg);text-shadow:0 1px 1px #80411915}.banner-copy h1>span{display:block}.banner-copy h1>span+span{margin-top:7px;padding-left:13px}.banner-copy h1 i{display:inline-block;font-size:.48em;font-style:normal;vertical-align:.08em;margin-right:.07em}.banner-subtitle{font:12px/1.8 'Songti SC',serif;letter-spacing:.1em;margin-top:22px;color:#785333}.banner-seal{position:absolute;right:6%;top:51%;writing-mode:vertical-rl;letter-spacing:.16em;font:13px/1.4 serif;color:#eedbb3;background:#8c3a20b3;border-radius:3px;padding:5px 3px;transform:rotate(3deg)}
.banner-artwork{position:absolute;left:50%;top:55.5%;transform:translateX(-50%);width:67%;max-width:315px;aspect-ratio:1;z-index:1;pointer-events:none}.banner-artwork img{position:relative;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 18px #2d221438)}.bronze-aura{position:absolute;inset:13% 7% 2%;background:radial-gradient(ellipse,#efc9775c,transparent 66%);border-radius:50%;box-shadow:0 0 48px #f6d29426}.banner-artifact-label{position:absolute;z-index:2;bottom:11.5%;left:50%;transform:translateX(-50%);font:16px BaojiKai,serif;color:#e6d6b3;letter-spacing:.3em;text-shadow:0 1px 6px #112d26}.banner-artifact-label span{font:8px Georgia,serif;letter-spacing:.18em;margin-left:9px;color:#c3b990}.home-banner:after{height:160px;z-index:0}.begin-exploration{z-index:3;background:#153a31bd;font-size:10px}.home-banner{min-height:700px}.scene-bg{filter:brightness(.49) saturate(.65);object-position:50% 74%}.scene-backdrop::after{background:linear-gradient(#0b211ee8,#0b211e66 28%,#0b211ed9 72%,#0b211e)}
.encounter{padding-top:38px;padding-bottom:28px;gap:10px}.encounter-copy h2{font-family:BaojiBrush,serif;font-size:38px;line-height:1.13;letter-spacing:.02em;margin-top:12px;font-weight:400}.encounter-copy h2>span{display:block}.encounter-copy p{font-size:11px;color:#bbc8b9;line-height:1.95;margin-top:14px}.encounter:nth-child(2) .encounter-copy{align-self:flex-end;text-align:right}.encounter:nth-child(2) .spirit{align-self:flex-start}.spirit{max-width:290px;height:280px;width:78%;padding-top:0;filter:drop-shadow(0 0 15px #cfbc6c15)}.figure-wrap{display:block;position:relative;width:100%;height:215px}.silhouette{position:absolute;inset:0;width:100%;height:100%;mask-size:contain;-webkit-mask-size:contain;background:linear-gradient(135deg,#f1e0b0,#a9a573);opacity:.86}.encounter-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .8s;filter:drop-shadow(0 7px 14px #0004)}.discovered .encounter-photo{opacity:1}.discovered .silhouette{opacity:0}.spirit-name{font:24px BaojiKai,serif;letter-spacing:.14em;min-width:145px;padding:5px 16px 6px}.spirit-name>span{font:12px sans-serif}.spirit-prompt{font-size:9px;margin-top:7px;letter-spacing:.13em}.artifact-facts{display:flex;gap:11px;align-items:center;justify-content:center;margin-top:7px;font-size:9px;color:#bcb389;letter-spacing:.06em}.artifact-facts>span+span:before{content:'·';margin-right:11px}.journey-end{padding:58px 24px 62px}.journey-end h2{font-family:BaojiBrush,serif;font-size:36px;line-height:1.35;font-weight:400;letter-spacing:.02em}
.detail-dialog .artifact-stage{width:100%;margin-top:-18px;margin-bottom:-20px}.artifact-visual{max-width:380px}.detail-dialog .artifact-arrow{top:46%;width:36px;height:36px;background:#f4f0dfbb}.detail-dialog .artifact-info h1{font-family:BaojiKai,serif;font-size:45px;min-height:54px;line-height:1.12;margin:7px 0 5px}.detail-dialog .character-name-en{font-size:9px;letter-spacing:.08em}.character-pronunciation{font-size:10px;line-height:1.7;color:#9a875d;margin-bottom:8px}.detail-dialog .character-subtitle{margin-bottom:15px}.detail-dialog .artifact-column:before{inset:-10px -12px -5px;opacity:.34}.detail-dialog .character-content{font-size:12px;line-height:1.95;padding-top:16px}.detail-dialog .tabs{gap:25px}.detail-dialog .motion-toggle{bottom:0;font-size:9px;min-height:25px;padding:4px 8px}.source-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 16px}.detail-dialog[data-scene="hezun"]{--artifact-scene:url('../public/assets/images/hezun-scene.svg')}.detail-dialog[data-scene="hugui"]{--artifact-scene:url('../public/assets/images/hugui-scene.svg')}.detail-dialog[data-scene="laipan"]{--artifact-scene:url('../public/assets/images/laipan-scene.svg')}
.theater-section{position:relative;isolation:isolate;padding:35px 27px 42px;color:#3f4e40;background:#eee7d5 url('../public/assets/images/detail-paper.png') center/cover;border-top:1px solid #c4b58b}.theater-section:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at top right,#ead5a24a,transparent 50%);z-index:-1}.theater-brand{display:flex;align-items:center;justify-content:space-between;padding-bottom:30px}.theater-brand img{width:107px;height:40px;object-fit:cover;object-position:center;mix-blend-mode:multiply}.theater-brand>span{font-size:9px;letter-spacing:.1em;color:#8a806a}.theater-section>.overline{font-size:9px;letter-spacing:.1em;color:#a1814e}.theater-section h2{font:40px/1.15 BaojiBrush,serif;letter-spacing:.01em;color:#63311d;margin:14px 0 24px}.theater-feature{position:relative;margin:0;overflow:hidden;border:1px solid #b8aa8366;border-radius:5px}.theater-feature>img{display:block;width:100%;aspect-ratio:1.65;object-fit:cover;object-position:50% 47%}.theater-feature figcaption{font-size:8px;color:#847c65;line-height:1.7;background:#efe8d4b3;padding:6px 10px;text-align:right;letter-spacing:.03em}.theater-intro{padding:25px 1px 20px}.theater-eyebrow{font-size:9px;letter-spacing:.17em;color:#a18351}.theater-intro h3{font:30px/1.4 BaojiBrush,serif;color:#314f3d;font-weight:400;margin:6px 0 11px;white-space:nowrap;letter-spacing:.015em}.theater-intro h3>span{font:20px serif;vertical-align:.12em;margin:0 6px;color:#ac8656}.theater-intro>p:last-child{font-size:10px;line-height:2;color:#797d69;letter-spacing:.01em}.scene-invitation{font-size:9px;color:#a18354;letter-spacing:.1em;padding:0 1px 12px;display:flex;justify-content:space-between}.program-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.program-card{position:relative;min-height:138px;padding:15px 16px;background:#fcf9ed4a;border:1px solid #bca97b77;border-radius:4px;color:#365340;text-align:left;overflow:hidden}.program-card:before{content:'';position:absolute;width:115px;height:115px;border:1px solid #ac95682b;border-radius:50%;right:-50px;top:-25px;pointer-events:none}.program-card:hover,.program-card:focus-visible{background:#fcf6e2;border-color:#9a8050}.program-index{font:9px Georgia,serif;color:#ab9264;letter-spacing:.12em;display:block}.program-word{font:49px/1 BaojiBrush,serif;display:block;margin:10px 0 9px}.program-word.is-long{font-size:36px;padding-top:9px;letter-spacing:.05em}.program-card-caption{font-size:10px;letter-spacing:.08em;color:#7f785f;display:block}.program-arrow{position:absolute;right:14px;bottom:16px;color:#9f8552;font-size:12px}.theater-visit{margin-top:26px;text-align:center;padding-top:23px;border-top:1px solid #b8a87655}.theater-visit p{font-size:10px;color:#7c7d68;letter-spacing:.04em}.theater-visit p>span{margin-right:5px;color:#a3874e}.theater-visit .button{width:100%;margin:18px 0 11px;justify-content:space-between;font-size:11px;border-radius:3px}.theater-visit small{font-size:8px;line-height:1.8;color:#9b947d;display:block}.site-footer{font-size:9px}
.program-dialog{width:calc(100% - 30px);max-width:460px;max-height:86svh;padding:15px 22px 25px;background:#f0ebdd url('../public/assets/images/detail-paper.png') center/cover;color:#345040;border:1px solid #cec3a1;border-radius:14px;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 25px 90px #031a1166}.program-dialog::backdrop{background:#071d19aa;backdrop-filter:blur(4px)}.program-heading{position:relative;display:flex;align-items:center;min-height:39px;padding-right:35px;margin-bottom:15px}.program-heading .overline{font-size:8px;letter-spacing:.03em;color:#a18454}.program-heading button{position:absolute;right:0;top:0;width:32px;height:32px;font-size:21px}.program-dialog figure{margin:0 0 23px}.program-dialog figure>img{width:100%;height:180px;object-fit:cover;border-radius:4px}.program-dialog figcaption{font-size:8px;line-height:1.7;color:#99917c;margin-top:7px}.program-dialog>#program-chapter{font-size:9px;color:#a18454}.program-dialog h2{font:41px/1.15 BaojiBrush,serif;margin:10px 0 14px;color:#673c25}.program-line{font-size:11px;color:#7f815f;line-height:1.8;margin-bottom:17px}#program-description{font-size:12px;line-height:2;color:#6a7864}#program-description p+p{margin-top:13px}.program-keywords{font-size:9px;letter-spacing:.08em;color:#a18d60;margin:17px 0 22px}.program-dialog .button{width:100%;font-size:11px;justify-content:center}.program-footnote{font-size:9px;line-height:1.9;text-align:center;color:#99917c;margin-top:15px}.editor-heading h1{font-family:BaojiBrush,serif;font-size:32px}.sticker-options button span{font-family:BaojiKai,serif;font-size:16px}.save-dialog-content h2{font-family:BaojiBrush,serif;font-size:32px}
@media(max-width:375px){.banner-copy{top:11%}.banner-copy h1{font-size:75px}.banner-subtitle{font-size:11px}.banner-artwork{top:56%;width:68%}.theater-section{padding-left:24px;padding-right:24px}.theater-section h2{font-size:38px}.theater-intro h3{font-size:28px}.theater-intro>p:last-child{font-size:9px}.detail-dialog{padding-left:17px;padding-right:17px}.detail-dialog .character-name-en{font-size:8px}.program-heading .overline{font-size:7px}}
@media(prefers-reduced-motion:reduce){.encounter-photo{transition:none}.silhouette,.scene-mist{animation:none}}

/* Compact opening: height follows phone width instead of stretching with tall windows. */
.home-banner {
  height: clamp(660px, 185vw, 880px);
  min-height: 0;
}
.banner-copy {
  top: max(60px, 7%);
  width: 80%;
  max-width: 345px;
}
.banner-museum {
  font-size: 10px;
  letter-spacing: .28em;
  margin-bottom: 8px;
}
.banner-title-art { position: relative; }
.banner-copy h1 {
  font-size: 0;
  line-height: 0;
  transform: none;
  text-shadow: none;
}
.banner-copy h1 .banner-calligraphy {
  display: block;
  width: 100%;
  height: auto;
}
.banner-title-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.banner-title-en {
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: #925d36;
  font: 9px/1 Georgia, 'Times New Roman', serif;
  letter-spacing: .22em;
  white-space: nowrap;
}
.banner-subtitle { margin-top: 12px; font-size: 11px; line-height: 1.8; }
.banner-seal { right: -6px; top: 57%; font-size: 11px; padding: 4px 2px; }
.banner-artwork { top: 52%; }
.banner-artifact-label { bottom: 10.5%; }
.begin-exploration { bottom: 4.4%; }
.banner-copy { top: max(58px, 6.5%); }
.banner-subtitle { margin-top: 0; }
.begin-exploration { bottom: 24px; }
