/* xpertino.com v3 · one stylesheet for all three locales. Nocturne tokens (same palette as the daily videos and thumbnails).
   Colour carries meaning: pink = AI character, glacier = code, gold = the ceiling and humans / real money, lilac = memory. */
:root {
  --void: #05070B; --base: #0A0D14; --surface: #10151F; --raised: #182030; --hair: #222B3B; --rule: #34405A;
  --bone: #EFE9DF; --frost: #E6EAF0; --mist: #AAB2C0; --slate: #8C97AB;
  --pink: #FF4D8D; --glacier: #5ADCEB; --lilac: #A796FF; --up: #3DDBA0; --down: #FF6250; --gold: #FFB547;
  --paper: #EDE6DA; --paper-ink: #0A0D14; --paper-mist: #4A5262; --paper-pink: #B0154F; --paper-glacier: #0A6676; --paper-gold: #7E5000;
  --f-serif: "XP Serif", "Noto Serif TC", "Noto Serif CJK TC", "Source Han Serif TC", Georgia, "Times New Roman", serif;
  --f-sans: "XP Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-cond: "XP Cond", "XP Sans", system-ui, sans-serif;
  --f-display: var(--f-serif); --w-display: 900; --lh-display: 1.02; --ls-display: -0.012em;
  --wrap: 1180px; --gut: clamp(16px, 4vw, 40px);
  --r-s: 6px; --r-m: 12px; --r-l: 20px;
}
:lang(zh-Hant) { --f-sans: "XP Sans", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Noto Sans CJK TC", "Source Han Sans TC", system-ui, sans-serif; --lh-display: 1.16; --ls-display: 0; }
/* Simplified Chinese: the TC display face has no simplified glyphs, so headings use the platform's heavy sans. */
:lang(zh-Hans) { --f-sans: "XP Sans", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --f-display: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif; --w-display: 700; --lh-display: 1.18; --ls-display: 0.01em; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--void); }
body { margin: 0; background: var(--base); color: var(--mist); font: 400 1rem/1.62 var(--f-sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:lang(zh) body, body:lang(zh) { line-height: 1.8; letter-spacing: 0.01em; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--bone); text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
b, strong { color: var(--bone); font-weight: 700; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--bone); font-family: var(--f-display); font-weight: var(--w-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--r-s); background: var(--bone); color: var(--base); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- buttons */
.btn { --bg: transparent; --fg: var(--bone); --bd: var(--rule); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.25em; border: 1px solid var(--bd); border-radius: 999px; background: var(--bg); color: var(--fg); font: 700 1rem/1.2 var(--f-sans); text-decoration: none; letter-spacing: .005em; transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { --bg: var(--pink); --fg: #12060B; --bd: var(--pink); }
.btn-primary:hover { --bg: #FF6FA4; --bd: #FF6FA4; }
.btn-ghost:hover { --bd: var(--bone); }
.btn-sm { min-height: 40px; padding: .45em .95em; font-size: .9rem; }
.btn-yt svg { color: #FF4D4D; }
.btn-primary svg { color: currentColor; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(10, 13, 20, .82); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(52, 64, 90, .55); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--bone); text-decoration: none; font: 900 1.38rem/1 "XP Serif", Georgia, serif; letter-spacing: -.01em; }
.logo-mark { width: 18px; height: 18px; }
.nav { margin-left: auto; }
.nav ul, .langs, .menu-panel ul { list-style: none; margin: 0; padding: 0; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: block; padding: 10px 11px; border-radius: 8px; color: var(--mist); font-size: .92rem; font-weight: 700; text-decoration: none; }
.nav a:hover { color: var(--bone); background: rgba(255, 255, 255, .04); }
.top-r { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; border: 1px solid var(--hair); border-radius: 999px; padding: 3px; }
.langs a { display: grid; place-items: center; min-width: 34px; min-height: 34px; padding: 0 8px; border-radius: 999px; color: var(--slate); font-size: .82rem; font-weight: 700; text-decoration: none; }
.langs a:hover { color: var(--bone); }
.langs a[aria-current="page"] { background: var(--raised); color: var(--bone); }
.menu { display: none; position: relative; }
.menu summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--bone); font-weight: 700; font-size: .92rem; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; content: ""; }
.burger { position: relative; }
.burger::before { position: absolute; top: -5px; } .burger::after { position: absolute; top: 5px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--rule); border-radius: var(--r-m); background: var(--surface); box-shadow: 0 24px 48px rgba(0, 0, 0, .5); }
.menu-panel a:not(.btn) { display: block; padding: 12px 12px; border-radius: 8px; color: var(--bone); font-weight: 700; text-decoration: none; }
.menu-panel a:not(.btn):hover { background: var(--raised); }
.menu-panel .btn { width: 100%; margin-top: 8px; }
@media (max-width: 1099px) { .nav { display: none; } .menu { display: block; } .top-r { margin-left: auto; } }
@media (max-width: 599px) { .top-r > .btn-yt { display: none; } .top-in { gap: 12px; } .langs a { min-width: 30px; padding: 0 6px; } }

/* language suggestion (English page, Chinese browsers; shown by js) */
.lang-banner { background: var(--raised); border-bottom: 1px solid var(--rule); font-size: .92rem; }
.lang-banner .wrap { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.lang-banner p { margin: 0; color: var(--frost); }
.lang-banner a { margin-left: .5em; font-weight: 700; }
.lb-x { margin-left: auto; min-height: 36px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--bone); font: 700 .85rem var(--f-sans); cursor: pointer; }

/* ---------- hero */
.hero { position: relative; padding-top: clamp(28px, 6vh, 72px); background: radial-gradient(ellipse 80% 70% at 30% 0%, #141B29 0%, rgba(10, 13, 20, 0) 70%), var(--base); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(52, 64, 90, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(52, 64, 90, .16) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 75%); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 75%); pointer-events: none; }
.hero-copy { position: relative; }
.hero h1 { font-size: clamp(1.9rem, 8.4vw, 4.6rem); }
@media (min-width: 1024px) {
  .hero-copy { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
  .hero h1 { grid-column: 1 / -1; }
  .hero-act { padding-bottom: 4px; }
  .hero-act .cta-row { margin-top: 0; }
  .hero-note { margin-top: 16px; }
}
:lang(zh) .hero h1 { font-size: clamp(2.1rem, 9vw, 4.6rem); }
.hero h1 span { display: block; }
.hero .l2 { color: var(--glacier); }
.hero .l3 { color: var(--gold); }
.lede { max-width: 62ch; margin-top: 22px; color: var(--frost); font-size: clamp(1.02rem, .96rem + .3vw, 1.2rem); line-height: 1.6; }
:lang(zh) .lede { max-width: 40em; line-height: 1.85; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.hero-note { display: flex; gap: 10px; max-width: 70ch; margin: 22px 0 0; color: var(--mist); font-size: .9rem; line-height: 1.5; }
.hero-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--gold); }

/* the replay */
.replay { position: relative; margin: clamp(22px, 4vh, 44px) 0 0; }
.replay-hud { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .85rem; color: var(--slate); }
.replay-hud figcaption { color: var(--mist); }
.clock { margin: 0; white-space: nowrap; color: var(--frost); font: 700 1.05rem/1 var(--f-cond); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.clock abbr { text-decoration: none; color: var(--slate); font-size: .85em; }
.clock-t { display: inline-block; min-width: 5ch; text-align: right; contain: layout paint; }   /* ticking digits re-lay out only themselves */
.replay-plot { position: relative; height: clamp(180px, 26vh, 300px); margin-top: 10px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.replay-svg { width: 100%; height: 100%; overflow: visible; }
.replay-svg .grid line { stroke: var(--hair); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; }
.replay-svg .line { fill: none; stroke: var(--frost); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.replay-svg .area { fill: url(#g-area); }
.replay-svg .ceil line { stroke: var(--gold); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.replay-svg .ceil .riser { stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; }
.replay-svg .glass { fill: rgba(255, 181, 71, .13); }
.playhead { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.playhead::before { content: ""; position: absolute; left: 0; top: -6px; bottom: -6px; width: 1px; background: linear-gradient(var(--pink), rgba(255, 77, 141, .1)); box-shadow: 0 0 12px var(--pink); }
.marks { list-style: none; margin: 0; padding: 0; }
.mark { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.mark .dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--base); border: 2px solid var(--frost); }
.mark.r-ai .dot { border-color: var(--pink); background: var(--pink); box-shadow: 0 0 0 6px rgba(255, 77, 141, .18); }
.mark.r-down .dot { border-color: var(--down); }
.mark .tip { position: absolute; left: -12px; width: max-content; max-width: min(300px, 46vw); padding: 7px 11px; border: 1px solid var(--rule); border-radius: 10px; background: rgba(16, 21, 31, .94); color: var(--mist); font-size: .8rem; line-height: 1.4; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.mark .tip time { display: block; color: var(--slate); font: 700 .78rem/1.3 var(--f-cond); letter-spacing: .03em; }
.mark.r-ai .tip { border-color: rgba(255, 77, 141, .55); }
.mark.below .tip { top: 16px; }
.mark.above .tip { bottom: 16px; }
.mark-open .tip, .mark-stop .tip { left: auto; right: -12px; }
.mark-stop .tip { right: auto; left: -12px; }
.close-tag { position: absolute; right: 0; top: var(--y); transform: translate(0, -130%); margin: 0; padding: 3px 9px; border-radius: 6px; background: rgba(16, 21, 31, .9); color: var(--slate); font: 700 .82rem/1.3 var(--f-cond); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.close-tag b { color: var(--frost); }
.close-tag .up { color: var(--up); }
.replay-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; padding-block: 16px 30px; }
.legend { margin: 0; font-size: .88rem; }
.legend .sw { display: inline-block; vertical-align: middle; width: 26px; height: 3px; margin-right: 10px; border-radius: 2px; background: var(--gold); box-shadow: 0 4px 0 rgba(255, 181, 71, .2); }
.stats { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.stats b { font: 700 1.5rem/1 var(--f-cond); letter-spacing: .01em; margin-right: .2em; font-variant-numeric: tabular-nums; }
.stats .s0 b { color: var(--pink); } .stats .s1 b { color: var(--glacier); } .stats .s2 b { color: var(--gold); }
.mark .short { display: none; }
@media (max-width: 719px) {
  .mark .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* still read aloud */
  .mark .short { display: inline; }
  .mark .tip { max-width: none; padding: 5px 9px; font-size: .78rem; white-space: nowrap; }
  .mark.mark-open .tip { top: 16px; bottom: auto; left: -12px; right: auto; }
  .mark-stop .tip { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
  .close-tag { top: 6px; transform: none; }
  .replay-hud { font-size: .8rem; }
}

/* one orchestrated load sequence; js only, skipped with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .replay .reveal { clip-path: inset(0 100% 0 0); animation: xp-reveal 3.6s cubic-bezier(.45, .05, .55, .95) .35s forwards; }
  .js .replay .playhead { animation: xp-head 3.6s cubic-bezier(.45, .05, .55, .95) .35s forwards; }
  .js .replay .ceil, .js .replay .mark, .js .replay .close-tag { opacity: 0; animation: xp-in .45s ease-out var(--d) forwards; }
    .js .replay .mark .tip { transform: translateY(4px); animation: xp-tip .45s ease-out var(--d) forwards; }
}
.js .replay:not(.go) .reveal, .js .replay:not(.go) .playhead, .js .replay:not(.go) .ceil, .js .replay:not(.go) .mark, .js .replay:not(.go) .mark .tip, .js .replay:not(.go) .close-tag { animation-play-state: paused; }
@keyframes xp-reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes xp-head { 0% { opacity: 1; transform: translateX(0); } 96% { opacity: 1; } 100% { opacity: 0; transform: translateX(100%); } }
@keyframes xp-in { to { opacity: 1; } }
@keyframes xp-tip { to { transform: none; } }

/* ---------- sections */
.sec { padding-block: clamp(64px, 9vw, 128px); border-top: 1px solid rgba(34, 43, 59, .8); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2, .pod-copy h2, .faq h2, .closing h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.3rem); }
.sec-head p { margin-top: 18px; font-size: 1.08rem; color: var(--mist); }
.label { margin: 0 0 12px; color: var(--slate); font-size: .9rem; font-weight: 700; }

/* how it works */
.steps { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.step { --c: var(--frost); position: relative; padding: 22px 22px 20px; border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--surface); }
.step .n { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 50%; border: 1.5px solid var(--c); color: var(--c); font: 700 .95rem/1 var(--f-cond); }
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: .95rem; }
.step.r-ai { --c: var(--pink); } .step.r-code { --c: var(--glacier); } .step.r-mem { --c: var(--lilac); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--hair); border-radius: var(--r-l); background: var(--surface); }
  .step { border: 0; border-radius: 0; background: none; }
  .step + .step { border-left: 1px solid var(--hair); }
}
.fork { display: grid; gap: 18px 40px; margin-top: 28px; padding: 26px; border-radius: var(--r-l); background: linear-gradient(135deg, #111827, #0C111A); border: 1px solid var(--hair); }
.fork-t { margin: 0; color: var(--bone); font-weight: 700; }
.fork ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fork li { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 3px solid var(--c); font-size: .9rem; line-height: 1.4; }
.fork b { color: var(--c); font: 700 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--f-cond); }
.fork .r-code { --c: var(--glacier); } .fork .r-ai { --c: var(--pink); } .fork .r-you { --c: var(--gold); }
.why { margin: 0; color: var(--mist); font-size: .95rem; }
@media (min-width: 900px) { .fork { grid-template-columns: 1fr 1.3fr; align-items: center; } .fork-t { grid-column: 1 / -1; } }

/* the four rooms */
.room { display: grid; gap: 22px 56px; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--hair); }
.room:first-of-type { border-top: 0; padding-top: 0; }
.room-name { font: 800 clamp(2.6rem, 1.8rem + 3vw, 4.4rem)/.95 var(--f-cond); letter-spacing: .005em; color: var(--bone); }
:lang(zh-Hans) .room-name, :lang(zh-Hant) .room-name { font-family: var(--f-cond); }
.room-kind { margin: 8px 0 14px; color: var(--mist); font-size: 1rem; }
.status { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: .82rem; font-weight: 700; }
.status > span { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 11px; border-radius: 999px; }
.status .live { background: rgba(61, 219, 160, .1); color: var(--up); }
.status .soon { border: 1px solid var(--rule); color: var(--frost); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(61, 219, 160, .2); }
.claim { margin: 0 0 14px; color: var(--bone); font: var(--w-display) clamp(1.45rem, 1.1rem + 1.2vw, 2.05rem)/1.2 var(--f-display); letter-spacing: var(--ls-display); text-wrap: balance; }
.room-copy > p:not(.claim) { max-width: 62ch; }
:lang(zh) .room-copy > p:not(.claim) { max-width: 38em; }
.facts { display: flex; flex-wrap: wrap; gap: 18px 36px; margin: 22px 0 0; }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dd { margin: 0; color: var(--bone); font: 700 clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem)/1.05 var(--f-cond); font-variant-numeric: tabular-nums; }
.facts dt { color: var(--slate); font-size: .86rem; line-height: 1.4; }
.room-media { margin: 0; }
@media (min-width: 960px) {
  .room { grid-template-columns: minmax(220px, 1fr) 2.4fr; }
  .room-media { grid-column: 2; }
  .room-ncq, .room-forum { grid-template-columns: minmax(220px, 1fr) 1.25fr 1.15fr; }
  .room-ncq .room-media, .room-forum .room-media { grid-column: 3; grid-row: 1; }
}
.desk-shot { overflow: hidden; border: 1px solid var(--hair); border-radius: var(--r-m); background: #0d0d0d; }
.desk-shot img { width: 100%; filter: saturate(.9) contrast(1.04); }

.funnel { padding: 22px; border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--surface); }
.funnel figcaption { margin-bottom: 14px; color: var(--bone); font-weight: 700; font-size: .95rem; line-height: 1.45; }
.funnel ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.funnel li { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; padding: 0 10px; font-size: .82rem; line-height: 1.25; }
.funnel li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 5px; background: rgba(170, 178, 192, .12); }
.funnel li.pass::before { background: rgba(90, 220, 235, .2); }
.funnel li.kept::before { background: rgba(167, 150, 255, .26); }
.funnel .g, .funnel b { position: relative; }
.funnel .g { color: var(--frost); }
.funnel b { font: 700 1rem/1 var(--f-cond); font-variant-numeric: tabular-nums; }
.funnel li.pass b { color: var(--glacier); } .funnel li.kept b { color: var(--lilac); }
.note { margin: 12px 0 0; color: var(--slate); font-size: .84rem; line-height: 1.5; }

.roster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.roster li { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto auto auto; column-gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--surface); }
.roster img { grid-row: 1 / span 4; width: 52px; height: 52px; }
.roster p { margin: 0; line-height: 1.35; }
.roster .who { color: var(--bone); font-weight: 700; font-size: .95rem; }
.roster .style { color: var(--mist); font-size: .82rem; }
.roster .tag { justify-self: start; margin-top: 7px; padding: 2px 8px; border-radius: 999px; font-size: .74rem; font-weight: 700; border: 1px solid var(--rule); color: var(--frost); }
.roster .t-trained .tag { border-color: rgba(90, 220, 235, .5); color: var(--glacier); }
.roster .t-untrained .tag { border-color: rgba(255, 181, 71, .5); color: var(--gold); }
.roster .t-proxy .tag { border-color: rgba(167, 150, 255, .55); color: var(--lilac); }
.roster .rec { margin-top: 6px; color: var(--frost); font: 700 .9rem/1.3 var(--f-cond); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
@media (max-width: 479px) { .roster { grid-template-columns: 1fr; } }
@media (min-width: 700px) { .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); } .roster li { grid-template-columns: 1fr; } .roster img { grid-row: auto; margin-bottom: 10px; } }
.stat { padding: 12px 16px; border-left: 3px solid var(--glacier); background: rgba(90, 220, 235, .06); border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--frost); }
.pit { margin: 20px 0 0; padding: 18px 20px; border-radius: var(--r-m); background: var(--tint, #1A1220); border: 1px solid rgba(255, 77, 141, .28); }
.pit p { margin: 0 0 6px; color: var(--bone); font-size: 1.02rem; }
.pit footer { color: var(--pink); font-size: .85rem; font-weight: 700; }

.loop { display: grid; gap: 0; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: loop; }
.loop li { position: relative; padding: 12px 14px 12px 46px; border: 1px solid var(--hair); border-top-width: 0; background: var(--surface); color: var(--frost); font-weight: 700; font-size: .95rem; counter-increment: loop; }
.loop li:first-child { border-top-width: 1px; border-radius: var(--r-m) var(--r-m) 0 0; }
.loop li:last-child { border-radius: 0 0 var(--r-m) var(--r-m); color: var(--lilac); }
.loop li::before { content: counter(loop); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--raised); color: var(--mist); font: 700 .78rem/1 var(--f-cond); }
.example { padding: 18px 20px; border-radius: var(--r-m); border: 1px dashed var(--rule); }
.example p { margin: 0; font-size: .95rem; }
.ex-tag { margin-bottom: 6px !important; color: var(--slate); font-size: .8rem !important; font-weight: 700; }

/* watch */
.watch-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .watch-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: start; } }
.yt { position: relative; overflow: hidden; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--hair); }
.yt-feature { aspect-ratio: 16 / 9; }
.yt-short { aspect-ratio: 9 / 16; max-width: 320px; }
.yt-link, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 14px 18px; border-radius: 999px; background: rgba(5, 7, 11, .78); color: var(--bone); font-weight: 700; border: 1px solid rgba(239, 233, 223, .3); transition: background-color .15s, transform .15s; }
.yt-btn svg { width: 26px; height: 26px; color: var(--pink); }
.yt-link:hover .yt-btn, .yt-link:focus-visible .yt-btn { background: var(--pink); color: #12060B; }
.yt-link:hover .yt-btn svg, .yt-link:focus-visible .yt-btn svg { color: #12060B; }
.yt-short .yt-btn span { display: none; } .yt-short .yt-btn { padding: 14px; }
.vtitle { margin-top: 14px; font: 700 1.12rem/1.4 var(--f-sans); letter-spacing: 0; color: var(--bone); }
.vmeta { display: flex; gap: 14px; margin: 6px 0 0; color: var(--slate); font-size: .85rem; font-variant-numeric: tabular-nums; }
.lang-tag { margin-left: 6px; padding: 1px 8px; border: 1px solid var(--rule); border-radius: 999px; font-size: .75rem; color: var(--mist); }
.more-h { margin-top: 44px; font-family: var(--f-sans); }
.episodes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72vw); gap: 16px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.episodes li { scroll-snap-align: start; }
@media (min-width: 900px) { .episodes { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; padding: 0; overflow: visible; } }
.ep { display: block; color: var(--frost); text-decoration: none; }
.ep img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-s); border: 1px solid var(--hair); }
.ep-t { display: block; margin-top: 10px; font-weight: 700; font-size: .92rem; line-height: 1.4; }
.ep:hover .ep-t { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.ep .vmeta { margin-top: 4px; }
.ep.playing img { outline: 2px solid var(--pink); outline-offset: 2px; }
.watch-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 36px; }
.privacy { flex-basis: 100%; margin: 4px 0 0; color: var(--slate); font-size: .84rem; }

/* podcast */
.pod-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .pod-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.pod-copy .lede { color: var(--frost); }
.pod-card { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l); border: 1px solid var(--hair); background: radial-gradient(ellipse 90% 80% at 80% 0%, #1A1325, transparent 70%), var(--surface); }
.ep-name { margin: 0; color: var(--bone); font: var(--w-display) clamp(1.3rem, 1rem + 1vw, 1.7rem)/1.25 var(--f-display); }
.ep-when { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 18px; color: var(--slate); font-size: .88rem; }
.wave { width: 100%; height: 80px; margin-bottom: 16px; }
.wave-bg { fill: rgba(170, 178, 192, .28); }
.wave-fg { fill: var(--pink); }
audio { width: 100%; height: 44px; color-scheme: dark; }

/* honest numbers: the one light band */
.paper { background: var(--paper); color: var(--paper-mist); border-top: 0; }
.paper h2, .paper h3, .paper b { color: var(--paper-ink); }
.paper .sec-head p { color: var(--paper-mist); }
.figures { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--paper-ink); }
.figures li { padding: 22px 0 24px; border-bottom: 1px solid rgba(10, 13, 20, .18); }
.fig { margin: 0 0 8px; color: var(--paper-ink); font: 800 clamp(2.8rem, 2rem + 3.4vw, 4.6rem)/.95 var(--f-cond); letter-spacing: -.005em; font-variant-numeric: tabular-nums; }
.figures li:nth-child(1) .fig, .figures li:nth-child(3) .fig { color: var(--paper-pink); }
.figures li p:last-child { max-width: 44ch; margin: 0; color: #2E3442; }
:lang(zh) .figures li p:last-child { max-width: 26em; }
@media (min-width: 760px) { .figures { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1080px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.correction { margin-top: 36px; padding: 22px 24px; border-radius: var(--r-m); background: rgba(10, 13, 20, .06); border-left: 4px solid var(--paper-gold); }
.correction h3 { font: 700 1rem/1.3 var(--f-sans); letter-spacing: 0; margin-bottom: 6px; }
.correction p { margin: 0; color: #2E3442; max-width: 80ch; }
.paper a { color: var(--paper-ink); }
.paper :focus-visible { outline-color: var(--paper-ink); }

/* beyond */
.table-wrap { border: 1px solid var(--hair); border-radius: var(--r-m); overflow: hidden; }
.routes { width: 100%; border-collapse: collapse; font-size: .95rem; }
.routes th, .routes td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.routes thead th { background: var(--surface); color: var(--slate); font-size: .82rem; font-weight: 700; }
.routes tbody th { color: var(--bone); font-weight: 700; width: 28%; }
.routes tbody tr:last-child > * { border-bottom: 0; }
.routes td:last-child { width: 1%; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; border: 1px solid var(--rule); color: var(--frost); }
.p-ground { background: var(--gold); border-color: var(--gold); color: #1A1204; }
.p-paper { border-color: rgba(90, 220, 235, .55); color: var(--glacier); }
.p-research { border-color: rgba(167, 150, 255, .55); color: var(--lilac); }
.p-planned { border-style: dashed; color: var(--mist); }
.p-zero { border-color: rgba(255, 98, 80, .6); color: var(--down); }
@media (max-width: 759px) {
  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .routes, .routes tbody, .routes tr, .routes th, .routes td { display: block; width: auto !important; }
  .routes thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .routes tr { margin-bottom: 12px; padding: 16px; border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--surface); }
  .routes th, .routes td { padding: 0; border: 0; white-space: normal !important; }
  .routes td { margin-top: 8px; color: var(--mist); }
}
.depth { max-width: 78ch; margin-top: 28px; color: var(--mist); }

/* closing */
.closing { background: radial-gradient(ellipse 70% 90% at 50% 100%, #1A1325, transparent 70%), var(--base); }
.close-in { max-width: 820px; }
.cast { display: flex; gap: 0; margin: 0 0 26px; padding: 0; list-style: none; }
.cast li + li { margin-left: -10px; }
.cast img { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 2px solid var(--base); }
.closing p { font-size: 1.08rem; color: var(--frost); max-width: 60ch; margin-top: 16px; }
.soon-note { color: var(--slate); font-size: .9rem; }

/* faq */
.faq-in { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq-in { grid-template-columns: 1fr 2fr; gap: 56px; } }
.qa details { border-bottom: 1px solid var(--hair); }
.qa details:first-child { border-top: 1px solid var(--hair); }
.qa summary { position: relative; padding: 20px 44px 20px 0; color: var(--bone); font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--mist); border-bottom: 2px solid var(--mist); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.qa details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p { margin: 0 0 22px; max-width: 70ch; }

/* footer */
.foot { background: var(--void); border-top: 1px solid var(--hair); font-size: .92rem; }
.foot-in { display: grid; gap: 32px; padding-block: 56px 32px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1fr 2fr 1fr; gap: 48px; } }
.foot h2 { margin-bottom: 10px; font: 700 .9rem/1.3 var(--f-sans); letter-spacing: 0; color: var(--bone); }
.brand-line { margin-top: 12px; color: var(--slate); }
.foot-disc p { margin: 0 0 10px; color: var(--frost); }
.foot-disc .src { color: var(--slate); }
.foot-links .langs-foot { display: inline-flex; margin-bottom: 18px; }
.foot-links a:not(.langs a) { display: inline-flex; align-items: center; gap: 8px; color: var(--frost); }
.foot-links svg { width: 20px; height: 20px; color: #FF4D4D; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px 32px; border-top: 1px solid var(--hair); color: var(--slate); font-size: .85rem; }
.foot-base p { margin: 0; }
.foot-base a { color: var(--mist); }

/* 404 */
.nf { min-height: 100vh; display: grid; align-items: center; }
.nf-in { display: grid; gap: 28px; max-width: 760px; padding-block: 64px; }
.nf-in section { padding-top: 24px; border-top: 1px solid var(--hair); }
.nf-in h2 { font-size: 1.8rem; margin-bottom: 10px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print { .top, .lang-banner, .replay, .yt, audio, .watch-cta { display: none !important; } body { background: #fff; color: #000; } }
