:root {
  --ink: #05070B;
  --ink-2: #0B0F16;
  --gold: #E8A030;
  --gold-2: #FFC766;
  --steel: #9FB0C2;
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
body.lang-zh { font-family: 'Inter', -apple-system, BlinkMacSystemFont, var(--cjk); }
body.lang-zh .panel-headline, body.lang-zh .fe-num, body.lang-zh .tour__rail { font-family: 'Barlow Condensed', 'Inter', var(--cjk); }
body:not(.lang-zh) [data-lang="zh"] { display: none; }
body.lang-zh [data-lang="en"] { display: none; }
.tour { position: relative; background: var(--ink); --scrim-l: 0; --scrim-r: 0; --scrim-b: 0; --p: 0; }
.tour__pin { display: none; }
html.webgl .tour__pin {
  display: block; position: sticky; top: 0; z-index: 0; width: 100%; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(120% 90% at 70% 40%, #1b2440 0%, #0b1022 45%, var(--ink) 100%);
}
.tour__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; }
.tour__pin.is-ready .tour__canvas { opacity: 1; }
.tour__poster { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity .9s ease; }
.tour__pin.is-ready .tour__poster { opacity: 0; }
.tour__pin.is-auto .tour__canvas, .tour__pin.is-auto .tour__poster { transition: none; }
.tour__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 5, 9, calc(.92 * var(--scrim-l))) 0%, rgba(3, 5, 9, calc(.74 * var(--scrim-l))) 28%, rgba(3, 5, 9, 0) 60%),
    linear-gradient(270deg, rgba(3, 5, 9, calc(.92 * var(--scrim-r))) 0%, rgba(3, 5, 9, calc(.74 * var(--scrim-r))) 28%, rgba(3, 5, 9, 0) 60%),
    linear-gradient(0deg, rgba(3, 5, 9, calc(.94 * var(--scrim-b))) 0%, rgba(3, 5, 9, calc(.7 * var(--scrim-b))) 34%, rgba(3, 5, 9, 0) 66%),
    linear-gradient(180deg, rgba(3, 5, 9, .55) 0, rgba(3, 5, 9, 0) 150px);
}
.tour__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tour__bar { position: absolute; left: 0; top: var(--nav-height); height: 2px; width: calc(var(--p) * 100%); background: linear-gradient(90deg, #8a6a18, var(--gold-2)); opacity: .9; }
.tour__rail { position: absolute; right: clamp(.6rem, 1.6vw, 1.6rem); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: .15rem; z-index: 3; font-family: var(--font-display); }
.tour__rail a { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; padding: .28rem 0; color: var(--w40); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; transition: color .25s; }
.tour__rail a span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.tour__rail a i { font-style: normal; width: 1.6rem; text-align: right; }
.tour__rail a::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .25s, background .25s; }
.tour__rail a:hover span, .tour__rail a[aria-current] span { opacity: 1; transform: none; }
.tour__rail a:hover { color: var(--w90); }
.tour__rail a[aria-current] { color: var(--gold-2); }
.tour__rail a[aria-current]::after { width: 34px; }
.beat { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.beat__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.beat__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .5) 38%, rgba(0, 0, 0, .12) 72%, rgba(0, 0, 0, .05) 100%); }
.beat__text { position: relative; z-index: 1; width: min(35rem, 100% - 3rem); margin: 0 0 clamp(3rem, 7vh, 5rem) clamp(1.5rem, 6.5vw, 6.5rem); }
.beat__labels { display: none; }
.beat .panel-headline { font-size: clamp(2rem, 4.1vw, 4.2rem); }
.beat .panel-body { max-width: 31rem; margin-bottom: 1.2rem; }
.beat .panel-eyebrow { max-width: 30rem; }
.beat__no { display: block; font-family: var(--font-display); font-weight: 600; font-size: .86rem; letter-spacing: .3em; color: var(--w50); margin-bottom: 1.1rem; }
.beat__no b { color: var(--gold-2); font-weight: 600; margin-right: .7em; }
.beat__no::after { content: ""; display: inline-block; vertical-align: middle; width: 54px; height: 1px; margin-left: 1em; background: var(--w30); }
html.webgl .tour .beat { min-height: 172vh; align-items: center; overflow: visible; pointer-events: none; }
html.webgl .tour .beat--minor { min-height: 96vh; }
html:not(.webgl) .beat--minor { display: none; }
.beat--minor .panel-headline { font-size: clamp(1.5rem, 2.5vw, 2.5rem); }
.beat--minor .beat__text { width: min(27rem, 100% - 3rem); }
html.webgl .tour .beat:first-of-type { margin-top: -100vh; margin-top: -100svh; }
html.webgl .tour .beat--hero { min-height: 100vh; min-height: 100svh; }
html.webgl .tour .beat:last-of-type { min-height: 150vh; }
html.webgl .beat__bg { display: none; }
html.webgl .beat__text { margin-bottom: 0; opacity: var(--t, 0); transform: translate3d(0, calc((1 - var(--t, 0)) * var(--dir, 1) * 54px + var(--lift, 0px)), 0); will-change: opacity, transform; }
html.webgl .beat--up { --lift: -13vh; }
html.webgl .beat.is-on .beat__text { pointer-events: auto; }
html.webgl .beat:not(.is-on) .beat__text { visibility: hidden; }
html.webgl .beat[data-side="right"] .beat__text { margin-left: auto; margin-right: clamp(3.4rem, 8vw, 8rem); }
html.webgl .beat--hero .beat__text { opacity: var(--t, 1); width: min(46rem, 100% - 3rem); margin-top: 8vh; }
.beat--hero h1.panel-headline { font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.06; margin-bottom: 1.2rem; }
.fe-specs { display: flex; flex-wrap: wrap; gap: .5rem 1.9rem; margin: 0 0 1.5rem; padding: 0; }
.fe-specs li { min-width: 6.5rem; }
.fe-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: 1.05; color: var(--white); letter-spacing: .01em; white-space: nowrap; }
.fe-num small { font-size: .5em; font-weight: 500; color: var(--gold-2); margin-left: .18em; letter-spacing: .04em; }
.fe-cap { display: block; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--w50); margin-top: .3rem; max-width: 12rem; line-height: 1.5; }
body.lang-zh .fe-cap { font-size: .74rem; letter-spacing: .06em; }
body.lang-zh .beat__no { letter-spacing: .16em; font-size: .92rem; }
.fe-note { font-size: .82rem; color: var(--w60); margin: -.4rem 0 1.4rem; max-width: 31rem; }
.fe-note a { color: var(--accent); text-decoration: underline; }
.fe-thumbs { display: flex; gap: .55rem; margin-top: 1.5rem; }
.fe-thumbs button { width: 104px; height: 68px; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .22); background: #111; cursor: zoom-in; transition: border-color .2s, transform .2s; }
.fe-thumbs button:hover { border-color: var(--gold-2); transform: translateY(-2px); }
.fe-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.fe-thumbs__cap { align-self: center; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--w40); margin-left: .5rem; }
.beat--hero .fe-specs { margin-top: 2.2rem; gap: 1rem 2.6rem; }
.beat--hero .fe-num { font-size: clamp(2rem, 3.4vw, 3.3rem); }
.tour__hint { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 2; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--w50); opacity: calc(1 - var(--p) * 30); pointer-events: none; text-align: center; }
.tour__hint::after { content: ""; display: block; width: 1px; height: 34px; margin: .6rem auto 0; background: linear-gradient(var(--w50), transparent); animation: fe-drop 2.2s ease-in-out infinite; }
@keyframes fe-drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.pin { position: absolute; left: 0; top: 0; will-change: transform; transition: opacity .35s ease; }
.pin.is-off { opacity: 0; }
.pin i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--gold-2); background: rgba(5, 7, 11, .55); box-shadow: 0 0 0 4px rgba(255, 199, 102, .13); }
.pin b { position: absolute; left: 22px; top: -.72rem; white-space: nowrap; font: 600 .74rem/1.45rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 0 .6rem; background: rgba(5, 7, 11, .7); border-left: 2px solid var(--gold); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pin b::before { content: ""; position: absolute; right: 100%; top: 50%; width: 15px; height: 1px; margin-right: 2px; background: rgba(255, 199, 102, .8); }
.pin--left b { left: auto; right: 22px; border-left: 0; border-right: 2px solid var(--gold); }
.pin--left b::before { right: auto; left: 100%; margin: 0 0 0 2px; }
body.lang-zh .pin b { font-family: 'Barlow Condensed', var(--cjk); letter-spacing: .08em; font-weight: 500; font-size: .78rem; }
.tour--inline { border-top: 1px solid var(--border-dim); border-bottom: 1px solid var(--border-dim); }
.tour__head { position: relative; z-index: 2; padding: clamp(3.5rem, 8vh, 6rem) 0 clamp(2rem, 4vh, 3rem); background: var(--ink); }
.tour__head .panel-headline { font-size: clamp(1.9rem, 3.6vw, 3.4rem); }
html.webgl .tour--inline .beat { min-height: 150vh; }
html.webgl .tour--inline .beat:first-of-type { margin-top: -100vh; margin-top: -100svh; min-height: 130vh; }
html.webgl .tour--inline .beat:last-of-type { min-height: 130vh; }
.tour--inline .beat .panel-headline { font-size: clamp(1.6rem, 2.9vw, 2.9rem); }
html:not(.webgl) .tour--inline { display: none; }
.fe-lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, .92); cursor: zoom-out; padding: 4vh 4vw; }
.fe-lightbox.open { display: flex; }
.fe-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 20px 80px rgba(0, 0, 0, .6); }
@media (max-width: 860px) {
  .tour__rail { display: none; }
  html.webgl .tour .beat { align-items: flex-end; min-height: 170vh; }
  html.webgl .tour .beat--hero { align-items: flex-end; }
  html.webgl .beat__text, html.webgl .beat[data-side="right"] .beat__text { width: auto; margin: 0 1.25rem 26vh; }
  html.webgl .beat--hero .beat__text { margin: 0 1.25rem 12vh; }
  .fe-thumbs button { width: 84px; height: 56px; }
  .fe-thumbs__cap { display: none; }
  .pin b { font-size: .66rem; padding: 0 .45rem; }
  .fe-specs { gap: .5rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .tour__hint::after { animation: none; } }
