@font-face { font-family: Inter; src: url(assets/fonts/Inter-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url(assets/fonts/InterDisplay-ExtraBold-title.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #05070b; --bg2: #0b0f16; --bg3: #111723; --card: #0e131c;
  --ink: #edf1f7; --ink2: #a8b2c1; --ink3: #6c7788; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --blue: #6aa8ff; --blue-l: rgba(106,168,255,.13);
  --amber: #fbbf4d; --amber-l: rgba(251,191,77,.13);
  --green: #3fdca0; --green-l: rgba(63,220,160,.13);
  --violet: #a98bff; --violet-l: rgba(169,139,255,.14);
  --rose: #ff7a9a; --rose-l: rgba(255,122,154,.13);
  --cyan: #5ff0e0;
  --grad: linear-gradient(100deg, #5ff0e0 0%, #6aa8ff 38%, #a98bff 70%, #f39cff 100%);
  --radius: 18px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; background: var(--bg); }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background: radial-gradient(1200px 700px at 85% -10%, rgba(106,168,255,.10), transparent 60%), radial-gradient(900px 600px at -10% 40%, rgba(169,139,255,.07), transparent 60%); }
main, footer, header, nav { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
::selection { background: rgba(106,168,255,.35); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }
.center { text-align: center; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 120px 28px; }
.narrow { max-width: 900px; }
.band { background: linear-gradient(180deg, transparent, var(--bg2) 12%, var(--bg2) 88%, transparent); }
.lead { color: var(--ink2); max-width: 880px; font-size: 1.08rem; }
.lead.center { margin-left: auto; margin-right: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; margin-bottom: 18px; border: 1px solid currentColor; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.kicker.blue { color: var(--blue); background: var(--blue-l); }
.kicker.amber { color: var(--amber); background: var(--amber-l); }
.kicker.green { color: var(--green); background: var(--green-l); }
.kicker.violet { color: var(--violet); background: var(--violet-l); }
.kicker.cyan { color: var(--cyan); background: rgba(95,240,224,.1); }

.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

.topnav { position: fixed; inset: 0 0 auto 0; height: 62px; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.topnav.solid { background: rgba(6,8,12,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.topnav .brand { font-weight: 700; font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
.topnav .brand::before { content: ""; width: 24px; height: 24px; background: url(assets/logo.svg) center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(106,168,255,.55)); }
.topnav .links { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.topnav .links a { color: var(--ink2); font-size: .9rem; font-weight: 500; padding: 7px 12px; border-radius: 99px; transition: color .2s, background .2s; }
.topnav .links a svg { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; }
.topnav .links a:hover, .topnav .links a.on { color: var(--ink); background: rgba(255,255,255,.07); }
.embedded .topnav:not(.solid) { display: none; }
@media (max-width: 900px) { .topnav .links a.opt { display: none; } }
@media (max-width: 520px) { .topnav .links a.opt2 { display: none; } }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -6% -4%; z-index: -2; perspective: 1400px; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: rotateX(18deg) scale(1.12); transform-origin: 50% 70%; filter: saturate(1.05) brightness(.62); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 70% 55% at 50% 48%, rgba(5,7,11,.35), rgba(5,7,11,.82) 70%, var(--bg) 100%), linear-gradient(180deg, rgba(5,7,11,.55), transparent 30%, transparent 60%, var(--bg)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 20%, transparent 75%); }
.hero-inner { text-align: center; padding: 120px 24px 90px; max-width: 1100px; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-mark { width: clamp(76px, 9vw, 112px); margin: 0 auto 18px; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 0 28px rgba(106,168,255,.55)); }
.hero-mark img { width: 100%; height: auto; display: block; }
.wordmark { font: 800 clamp(3.4rem, 11.5vw, 9.2rem)/0.95 "Inter Display", Inter, system-ui, sans-serif; letter-spacing: -.055em; margin: 0 0 26px; padding: 0 .04em .06em;
  color: #fff; background: linear-gradient(180deg, #fff 30%, #c9d6ea 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 36px rgba(60,140,255,.35)); }
.wordmark span { padding-right: .1em; margin-right: -.1em; background: linear-gradient(100deg, #5ff0e0 0%, #6aa8ff 30%, #a98bff 60%, #f39cff 80%, #6aa8ff 100%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 9s ease-in-out infinite; }
@keyframes sheen { 50% { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .wordmark span, .hero-mark { animation: none; } }
.hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.75rem); font-weight: 600; letter-spacing: -.025em; margin-bottom: 18px; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.authors { color: var(--ink2); margin: 0 0 34px; font-size: .98rem; }
.authors p { margin: 0; }
.authors .names { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 0 auto 10px; max-width: 900px; color: var(--ink); font-size: 1.02rem; font-weight: 500; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.authors .names span { white-space: nowrap; }
.authors sup { font-size: .68em; margin-left: 1px; color: var(--ink2); font-weight: 400; }
.authors .affils { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; font-size: .9rem; }
.authors .affils span { white-space: nowrap; }
.authors .notes { margin-top: 6px; font-size: .8rem; color: var(--ink3); }
.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 99px; background: rgba(255,255,255,.07); color: var(--ink); font-weight: 500; font-size: .95rem; border: 1px solid var(--line2); cursor: pointer; font-family: inherit; backdrop-filter: blur(10px); transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.btn.primary { background: var(--grad); color: #050a12; border: 0; font-weight: 600; box-shadow: 0 8px 30px rgba(106,168,255,.35), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.primary:hover { box-shadow: 0 12px 44px rgba(106,168,255,.55), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.disabled { opacity: .45; cursor: default; }
.btn.disabled:hover { transform: none; }
.btn.solid { background: var(--violet); color: #0a0614; border: 0; font-weight: 600; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.tldr { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.45; font-weight: 500; letter-spacing: -.015em; color: var(--ink); margin: 0 0 56px; }
.tldr b { font-weight: 700; }
.tldr em { font-style: normal; }
.abstract-box { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.abstract-box summary { cursor: pointer; list-style: none; padding: 20px 26px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.abstract-box summary::-webkit-details-marker { display: none; }
.abstract-box summary::after { content: "+"; font-size: 1.4rem; color: var(--ink3); transition: transform .3s; }
.abstract-box[open] summary::after { transform: rotate(45deg); }
.abstract { color: var(--ink2); text-align: justify; hyphens: auto; font-size: .98rem; padding: 0 26px 24px; margin: 0; }

.numbers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding-top: 0; }
.numbers .n { position: relative; border-radius: var(--radius); padding: 26px 14px 22px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); border: 1px solid var(--line); overflow: hidden; }
.numbers .n::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, currentColor, transparent); opacity: .6; }
.numbers b { display: block; font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.numbers span { color: var(--ink3); font-size: .8rem; line-height: 1.3; display: block; margin-top: 4px; }
.numbers .blue { color: var(--blue); } .numbers .amber { color: var(--amber); } .numbers .green { color: var(--green); } .numbers .violet { color: var(--violet); }

.pano { position: relative; height: min(88vh, 900px); overflow: hidden; }
.pano img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; object-position: 50% 60%; will-change: transform; }
.pano::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(5,7,11,.1) 22%, rgba(5,7,11,.05) 60%, var(--bg) 100%); }
.pano-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 9%; text-align: center; padding: 0 24px; }
.pano-text h2 { text-shadow: 0 4px 40px rgba(0,0,0,.8); margin: 0 0 .25em; }
.pano-text p { color: #dfe6f0; text-shadow: 0 2px 20px rgba(0,0,0,.9); margin: 0 auto; max-width: 720px; }

.figure { margin: 40px 0 0; }
.figure img { width: 100%; border-radius: 16px; background: #fff; padding: 14px; cursor: zoom-in; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.figure figcaption { color: var(--ink3); font-size: .88rem; margin-top: 12px; }
.figure.env img { max-width: 920px; margin: 0 auto; }

#explore .wrap { padding-bottom: 60px; }
.viewer { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line2); background: radial-gradient(ellipse 80% 70% at 40% 40%, #1a2333 0%, #0b0f17 60%, #070a10 100%); box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(106,168,255,.06) inset; position: relative; }
.viewer::before { content: ""; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; background: linear-gradient(140deg, rgba(95,240,224,.55), transparent 30%, transparent 70%, rgba(169,139,255,.55)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 3; }
.stage { position: relative; height: min(72vh, 680px); min-height: 440px; cursor: grab; touch-action: none; }
.stage:active { cursor: grabbing; }
.stage canvas { display: block; width: 100%; height: 100%; }
.stage .tip { position: absolute; pointer-events: none; padding: 6px 11px; border-radius: 9px; font-size: .82rem; font-weight: 500; background: rgba(8,12,18,.85); border: 1px solid var(--line2); color: #fff; backdrop-filter: blur(8px); transform: translate(14px, 14px); white-space: nowrap; opacity: 0; transition: opacity .15s; z-index: 4; }
.stage .tip.show { opacity: 1; }
.stage .tip small { display: block; color: var(--cyan); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.stage .load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink2); font-size: .9rem; pointer-events: none; transition: opacity .4s; }
.stage .load.hide { opacity: 0; }
.stage .load i { display: block; width: 180px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; margin: 12px auto 0; }
.stage .load i::after { content: ""; display: block; height: 100%; width: var(--p, 10%); background: var(--grad); transition: width .2s; }
.stage-ui { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; z-index: 4; flex-wrap: wrap; }
.stage-ui button { font: inherit; font-size: .8rem; font-weight: 500; color: var(--ink); background: rgba(10,14,20,.7); border: 1px solid var(--line2); padding: 7px 13px; border-radius: 99px; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.stage-ui button:hover { background: rgba(255,255,255,.1); }
.stage-ui button.on { border-color: var(--cyan); color: var(--cyan); }
.stage-hint { position: absolute; right: 16px; top: 14px; font-size: .76rem; color: var(--ink3); z-index: 4; pointer-events: none; }
.vpanel { border-left: 1px solid var(--line); background: rgba(5,8,12,.55); backdrop-filter: blur(10px); padding: 26px 24px; display: flex; flex-direction: column; min-width: 0; max-height: min(72vh, 680px); overflow-y: auto; }
.vpanel small.kind { color: var(--cyan); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.vpanel h3 { font-size: 1.45rem; margin: 6px 0 14px; }
.vstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.vstats div { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; }
.vstats b { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.vstats span { font-size: .7rem; color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; }
.vpanel h4 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin: 0 0 12px; }
.joint { margin-bottom: 16px; }
.joint label { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; font-weight: 500; margin-bottom: 7px; }
.joint label span { color: var(--ink3); font-variant-numeric: tabular-nums; font-size: .78rem; white-space: nowrap; }
.joint label em { font-style: normal; font-size: .68rem; color: var(--violet); border: 1px solid rgba(169,139,255,.4); padding: 0 6px; border-radius: 6px; margin-left: 6px; text-transform: uppercase; letter-spacing: .05em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cyan) 0 var(--v, 0%), rgba(255,255,255,.1) var(--v, 0%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(95,240,224,.25), 0 2px 8px rgba(0,0,0,.5); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(95,240,224,.25); cursor: pointer; }
.joint .spin { font: inherit; font-size: .8rem; color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid var(--line2); border-radius: 99px; padding: 5px 12px; cursor: pointer; }
.joint .spin.on { color: var(--cyan); border-color: var(--cyan); }
.vnote { margin-top: auto; padding-top: 16px; font-size: .8rem; color: var(--ink3); line-height: 1.5; }
.vpicker { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; margin-top: 16px; }
.vpicker button { position: relative; border: 1px solid var(--line); background: #e9edf2; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer; aspect-ratio: 4 / 3; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, opacity .25s; opacity: .55; }
.vpicker button img { width: 100%; height: 100%; object-fit: cover; }
.vpicker button:hover { opacity: .9; transform: translateY(-3px); }
.vpicker button.on { opacity: 1; border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(95,240,224,.35), 0 10px 30px rgba(95,240,224,.2); }
.vpicker button span { position: absolute; inset: auto 0 0 0; font-size: .62rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); padding: 12px 6px 4px; text-align: left; line-height: 1.2; }

.disc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 22px; }
.chip { display: inline-flex; gap: 6px; align-items: center; font-size: .86rem; font-weight: 500; padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.05); color: var(--ink2); border: 1px solid var(--line); }
.chip i { font-style: normal; color: var(--ink3); font-weight: 600; }
.c-blue { color: var(--blue); background: var(--blue-l); border-color: transparent; } .c-amber { color: var(--amber); background: var(--amber-l); border-color: transparent; }
.c-green { color: var(--green); background: var(--green-l); border-color: transparent; } .c-rose { color: var(--rose); background: var(--rose-l); border-color: transparent; }
.c-violet { color: var(--violet); background: var(--violet-l); border-color: transparent; }
.disc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.disc-card { position: relative; border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.disc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: brightness(.88); }
.disc-card:hover img { transform: scale(1.07); filter: brightness(1); }
.disc-card .cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; font-size: .95rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(3,5,8,.9)); }
.disc-card .cap small { display: block; font-weight: 500; font-size: .74rem; color: var(--ink2); text-transform: uppercase; letter-spacing: .08em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.facts div, .card-g { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; font-size: .94rem; color: var(--ink2); overflow: hidden; }
.facts b { color: var(--ink); }
.glow { --mx: 50%; --my: 50%; }
.glow::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(106,168,255,.12), transparent 45%); }
.glow:hover::after { opacity: 1; }

.mech { display: grid; grid-template-columns: 250px 1fr; gap: 20px; margin-top: 36px; }
.mech-list { display: flex; flex-direction: column; gap: 8px; }
.mech-list button { text-align: left; border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 14px; padding: 12px 16px; cursor: pointer; font-family: inherit; color: var(--ink); transition: border-color .2s, background .2s, transform .2s; }
.mech-list button:hover { background: rgba(255,255,255,.06); transform: translateX(3px); }
.mech-list button small { display: block; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--violet); }
.mech-list button[data-kind=physical] small { color: var(--amber); }
.mech-list button b { font-weight: 600; font-size: .95rem; }
.mech-list button.on { border-color: var(--cyan); background: rgba(95,240,224,.07); box-shadow: 0 0 30px rgba(95,240,224,.1); }
.compare { position: relative; border-radius: 18px; overflow: hidden; user-select: none; cursor: ew-resize; aspect-ratio: 4 / 3; background: #111; touch-action: none; border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .before-clip { position: absolute; inset: 0; }
.compare .handle { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 20px rgba(95,240,224,.9); }
.compare .handle span { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(8,12,18,.7); border: 2px solid #fff; backdrop-filter: blur(6px); box-shadow: 0 0 24px rgba(95,240,224,.6); }
.compare .handle span::before { content: "\2039  \203A"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 2px; }
.compare .tag { position: absolute; top: 14px; font-size: .74rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.5); padding: 4px 11px; border-radius: 99px; backdrop-filter: blur(6px); letter-spacing: .05em; }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; }
.mech-cap { color: var(--ink2); font-size: .94rem; margin: 14px 0 0; }
.mech-cap b { color: var(--ink); }
.mech-all { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.mech-all > div { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; background: rgba(255,255,255,.025); overflow: hidden; }
.mech-all h4 { color: var(--amber); }
.mech-all > div + div h4 { color: var(--violet); }
.mech-all ul { margin: 0; padding-left: 18px; color: var(--ink2); font-size: .9rem; }
.mech-all li { margin-bottom: 6px; }
.mech-all li b { color: var(--ink); font-weight: 600; }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: 4px; border-radius: 99px; margin-bottom: 16px; }
.seg button { border: 0; background: transparent; padding: 6px 14px; border-radius: 99px; font-family: inherit; font-size: .84rem; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s; }
.seg button.on { background: var(--ink); color: #05070b; font-weight: 600; }
.screen { border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background: #000; }
.eq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.eq-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: rgba(255,255,255,.025); font-size: .9rem; color: var(--ink2); overflow: hidden; }
.eq-card h4 { color: var(--green); }
.eq { margin-top: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; font-family: "Times New Roman", serif; font-size: 1.05rem; color: var(--ink); }

.exp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.exp { position: relative; display: block; border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; color: var(--ink2); background: linear-gradient(170deg, rgba(169,139,255,.09), rgba(255,255,255,.01) 55%); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; font-size: .94rem; }
.exp:hover { transform: translateY(-6px); border-color: rgba(169,139,255,.5); box-shadow: 0 30px 70px rgba(80,50,170,.25); }
.exp h3 { color: var(--ink); margin-top: 18px; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #060a12; font-weight: 700; font-size: 1.05rem; box-shadow: 0 6px 24px rgba(106,168,255,.4); }
.num.sm { width: 30px; height: 30px; font-size: .9rem; border-radius: 9px; margin-right: 12px; vertical-align: 2px; }
.sub { margin-top: 110px; }
.sub > h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.tracks { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 22px; }
.quiz { border: 1px solid var(--line2); border-radius: 22px; overflow: hidden; background: var(--bg3); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.quiz-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.quiz-tabs button { border: 0; background: transparent; padding: 14px 12px; text-align: left; font-family: inherit; font-size: .8rem; color: var(--ink3); cursor: pointer; border-bottom: 2px solid transparent; transition: color .2s, background .2s; }
.quiz-tabs button b { color: var(--ink2); font-weight: 600; }
.quiz-tabs button.on { color: var(--ink2); border-bottom-color: var(--cyan); background: rgba(95,240,224,.05); }
.quiz-tabs button.on b { color: var(--cyan); }
.quiz-main { display: grid; grid-template-columns: 1.4fr 1fr; }
.quiz-img { position: relative; background: #000; }
.quiz-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.quiz-side { padding: 24px 26px; font-size: .93rem; }
.pill { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--violet-l); color: var(--violet); margin-bottom: 10px; }
.quiz-side .ctx { color: var(--ink3); }
.quiz-side .prompt { font-weight: 500; }
.answer { display: none; margin-top: 14px; padding: 13px 15px; border-radius: 12px; background: var(--green-l); border: 1px solid rgba(63,220,160,.3); color: #c9f7e4; font-size: .9rem; }
.answer.show { display: block; animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.player { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 26px; }
.player-video video { width: 100%; border-radius: 18px; background: #000; display: block; border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.player-list { display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.player-list button { text-align: left; font-family: inherit; border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 14px; padding: 12px 15px; cursor: pointer; color: var(--ink); transition: border-color .2s, background .2s; }
.player-list button:hover { background: rgba(255,255,255,.06); }
.player-list button.on { border-color: var(--cyan); background: rgba(95,240,224,.06); }
.player-list button b { font-size: .92rem; }
.player-list button p { margin: 3px 0 0; font-size: .8rem; color: var(--ink3); line-height: 1.45; }
.lv { font-size: .66rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; margin-right: 8px; color: #060a12; }
.lv.L1 { background: var(--cyan); } .lv.L2 { background: var(--blue); } .lv.L3 { background: var(--violet); } .lv.Perturbation { background: var(--rose); }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.levels div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: .84rem; color: var(--ink3); background: rgba(255,255,255,.02); }
.levels b { display: block; font-size: 1.6rem; color: var(--ink); font-weight: 700; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.metric { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: .84rem; color: var(--ink2); background: rgba(255,255,255,.02); }
.metric b { display: block; color: var(--ink); margin-bottom: 4px; }
.metric.hi { border-color: rgba(169,139,255,.45); background: var(--violet-l); }
.exp3 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; margin-top: 22px; align-items: start; }
.exp3-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.exp3-imgs img { border-radius: 14px; border: 1px solid var(--line); }
.exp3-imgs figcaption { font-size: .8rem; color: var(--ink3); margin-top: 8px; }
.exp3-imgs figure { margin: 0; }
.exp3-text { color: var(--ink2); font-size: .95rem; }

.bib { position: relative; }
.bib pre { background: var(--bg3); border: 1px solid var(--line2); border-radius: 16px; padding: 22px 24px; font-size: .82rem; overflow-x: auto; color: var(--ink2); margin: 0; }
.copy { position: absolute; top: 12px; right: 12px; font: inherit; font-size: .8rem; border: 1px solid var(--line2); background: rgba(255,255,255,.06); color: var(--ink); border-radius: 8px; padding: 5px 12px; cursor: pointer; }
footer { text-align: center; color: var(--ink3); font-size: .84rem; padding: 40px 28px 60px; border-top: 1px solid var(--line); max-width: 1240px; margin: 0 auto; }
footer a { color: var(--ink2); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2,3,6,.92); backdrop-filter: blur(10px); display: none; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox.show { display: grid; animation: pop .3s var(--ease); }
.lightbox img { max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 100px rgba(0,0,0,.7); }
.lightbox p { color: var(--ink2); text-align: center; margin: 14px 0 0; }

@media (max-width: 1000px) {
  .numbers { grid-template-columns: repeat(3, 1fr); }
  .viewer { grid-template-columns: 1fr; }
  .vpanel { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
  .vpicker { grid-template-columns: repeat(6, 1fr); }
  .disc-grid { grid-template-columns: repeat(2, 1fr); }
  .facts, .eq-grid, .exp-cards, .mech-all { grid-template-columns: 1fr; }
  .mech { grid-template-columns: 1fr; }
  .mech-list { flex-direction: row; overflow-x: auto; }
  .mech-list button { flex: none; }
  .quiz-tabs { grid-template-columns: repeat(2, 1fr); }
  .levels, .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 80px 16px; }
  .topnav { padding: 0 16px; }
  .topnav .links a { padding: 6px 8px; font-size: .84rem; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .vpicker { grid-template-columns: repeat(4, 1fr); }
  .stage { height: 62vh; min-height: 380px; }
  .levels, .metrics, .exp3-imgs { grid-template-columns: 1fr; }
}

.journey { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 0; margin-top: 44px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line2); background: radial-gradient(ellipse 90% 80% at 70% 30%, #151d2b, #090c12 70%); box-shadow: 0 40px 120px rgba(0,0,0,.55); position: relative; }
.j-rail { position: relative; display: flex; flex-direction: column; padding: 18px 0; border-right: 1px solid var(--line); background: rgba(5,8,12,.5); }
.j-rail::before { content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(var(--cyan), var(--blue), var(--violet), #f39cff); opacity: .25; }
.j-rail button { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: center; text-align: left; border: 0; background: none; color: var(--ink3); font-family: inherit; padding: 10px 18px 10px 18px; cursor: pointer; transition: color .3s, background .3s; }
.j-rail button:hover { color: var(--ink2); }
.j-rail .jn { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; background: #0d121b; border: 1.5px solid var(--line2); transition: all .35s; }
.j-rail b { display: block; font-size: .92rem; font-weight: 600; }
.j-rail small { display: block; font-size: .74rem; color: var(--ink3); line-height: 1.3; }
.j-rail button.on { color: var(--ink); background: linear-gradient(90deg, rgba(95,240,224,.08), transparent); }
.j-rail button.on .jn { background: var(--grad); color: #050a12; border-color: transparent; box-shadow: 0 0 22px rgba(95,240,224,.55); transform: scale(1.12); }
.j-rail button.done .jn { border-color: rgba(95,240,224,.6); color: var(--cyan); }
.j-rail .jbar { position: absolute; left: 62px; right: 18px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.j-stage { position: relative; min-height: 520px; overflow: hidden; }
.j-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: center; padding: 36px 40px; opacity: 0; transform: translateX(40px); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.j-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.j-slide.out { opacity: 0; transform: translateX(-40px); }
.j-text .step { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--cyan); }
.j-text h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); margin: 8px 0 14px; }
.j-text p { color: var(--ink2); margin: 0 0 12px; }
.j-text ul { margin: 0; padding: 0; list-style: none; }
.j-text li { position: relative; padding-left: 20px; color: var(--ink2); font-size: .92rem; margin-bottom: 6px; }
.j-text li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }
.j-vis { position: relative; height: 420px; }
.j-vis img { border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.stack .s1 { position: absolute; left: 0; top: 30px; width: 70%; transform: rotate(-4deg); transition: transform .9s var(--ease) .1s; }
.stack .s2 { position: absolute; right: 0; top: 0; width: 58%; transform: rotate(5deg) translateY(40px); transition: transform .9s var(--ease) .2s; }
.j-slide.on .stack .s1 { transform: rotate(-2deg); } .j-slide.on .stack .s2 { transform: rotate(3deg) translateY(10px); }
.parts { display: grid; place-items: center; }
.parts img { width: 82%; }
.parts .tag { position: absolute; display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: rgba(8,12,18,.82); border: 1px solid var(--line2); backdrop-filter: blur(6px); opacity: 0; transform: scale(.6); transition: all .5s var(--ease); }
.parts .tag i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 10px currentColor; background: currentColor; }
.j-slide.on .parts .tag { opacity: 1; transform: none; }
.parts .tag::after { content: ""; position: absolute; width: 1px; height: 26px; background: currentColor; opacity: .5; left: 50%; top: 100%; }
.fsm { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.fsm img { width: 100%; height: 150px; object-fit: cover; object-position: 50% 45%; }
.fsm svg { width: 100%; height: 100%; }
.fsm .node rect { fill: #0f1520; stroke: rgba(255,255,255,.18); stroke-width: 1.5; transition: all .4s; }
.fsm .node text { fill: var(--ink2); font: 600 15px Inter, sans-serif; text-anchor: middle; dominant-baseline: middle; transition: fill .4s; }
.fsm .node.on rect { fill: rgba(95,240,224,.16); stroke: var(--cyan); filter: drop-shadow(0 0 10px rgba(95,240,224,.6)); }
.fsm .node.on text { fill: #fff; }
.fsm .edge { stroke: rgba(255,255,255,.25); stroke-width: 1.5; fill: none; marker-end: url(#arr); }
.fsm .lock { font: 600 13px Inter, sans-serif; }
.taskcard { position: absolute; inset: 20px 0; border-radius: 16px; background: #0a0f17; border: 1px solid var(--line2); font: 14px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 22px 24px; color: var(--ink2); box-shadow: 0 24px 60px rgba(0,0,0,.5); overflow: hidden; }
.taskcard .dots { display: flex; gap: 6px; margin-bottom: 16px; } .taskcard .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .taskcard .dots i:nth-child(2) { background: #febc2e; } .taskcard .dots i:nth-child(3) { background: #28c840; }
.taskcard .k { color: var(--violet); } .taskcard .g { color: var(--green); } .taskcard .r { color: var(--rose); } .taskcard .y { color: var(--amber); } .taskcard .t { color: #fff; font-weight: 600; }
.taskcard .ln { opacity: 0; transform: translateY(6px); transition: all .4s var(--ease); }
.j-slide.on .taskcard .ln { opacity: 1; transform: none; }
.tiles { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.tiles div { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); opacity: 0; transform: translateX(30px); transition: all .6s var(--ease); }
.j-slide.on .tiles div { opacity: 1; transform: none; }
.tiles img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.tiles span { position: absolute; left: 10px; top: 10px; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(8,12,18,.8); border: 1px solid var(--line2); }
.flask { display: grid; place-items: center; }
.flask svg { width: 70%; max-width: 300px; overflow: visible; }
.flask .bub { animation: bub 3s infinite ease-in; }
@keyframes bub { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-120px); opacity: 0; } }

.cpanel { position: relative; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); padding: 22px 22px 14px; overflow: hidden; }
.cpanel h4 { margin: 0 0 2px; font-size: 1.05rem; }
.cpanel .sub2 { color: var(--ink3); font-size: .84rem; margin: 0 0 8px; }
.cpanel .legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: var(--ink2); margin-bottom: 4px; }
.cpanel .legend i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

.episode { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 18px; margin-top: 30px; }
.ep-loop { position: relative; border: 1px solid var(--line2); border-radius: 22px; background: radial-gradient(ellipse at 50% 30%, #141b28, #080b11 75%); padding: 18px; }
.ep-loop svg { width: 100%; height: auto; display: block; overflow: visible; }
.ep-loop .box rect { stroke-width: 1.5; }
.ep-loop text { font-family: Inter, sans-serif; }
.ep-loop .flow { stroke-dasharray: 6 8; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.ep-play { border: 1px solid var(--line2); border-radius: 22px; background: var(--bg3); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.ep-view { position: relative; background: #000; }
.ep-view .badge2 { position: absolute; top: 12px; font: 700 .78rem Inter, sans-serif; padding: 4px 10px; border-radius: 8px; }
.ep-view .stp { left: 12px; background: var(--violet); color: #0a0614; }
@keyframes ping { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.8); } }
.ep-side { display: flex; flex-direction: column; padding: 20px 22px; min-width: 0; }
.ep-side .task { font-size: .9rem; color: var(--ink2); margin-bottom: 12px; }
.ep-side .task b { color: var(--violet); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 4px; }
@keyframes blink { 50% { opacity: 0; } }
.score { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.score div { border-radius: 12px; padding: 9px 11px; font-size: .74rem; color: var(--ink2); border: 1px solid var(--line); background: rgba(255,255,255,.02); opacity: .35; transition: all .5s var(--ease); line-height: 1.35; }
.score div b { display: block; font-size: .86rem; color: var(--ink); }
.score.show div { opacity: 1; border-color: rgba(63,220,160,.45); background: var(--green-l); }
.score.show div b::before { content: "\2713  "; color: var(--green); }

@media (max-width: 1000px) {
  .journey { grid-template-columns: 1fr; }
  .j-rail { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .j-rail::before { display: none; }
  .j-rail button { grid-template-columns: 1fr; flex: none; width: 128px; gap: 6px; padding: 8px; }
  .j-rail small { display: none; }
  .j-rail .jbar { left: 8px; right: 8px; }
  .j-stage { min-height: 760px; }
  .j-slide { grid-template-columns: 1fr; padding: 24px 20px; align-content: start; }
  .j-vis { height: 340px; }
  .episode, .ep-play { grid-template-columns: 1fr; }
}

.tldr.center { text-align: center; font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 600; margin: 0 auto 10px; max-width: 900px; }
#overview { padding-bottom: 50px; }
.exp h3 { font-size: 1.8rem; margin: 18px 0 4px; }
.exp p { margin: 0; color: var(--ink3); }
.exp .big { display: block; font-size: clamp(2.6rem, 4.5vw, 3.8rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vwall { position: relative; margin-top: 24px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.vwall video { width: 100%; display: block; }
.vwall span { position: absolute; font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: rgba(8,12,18,.75); border: 1px solid var(--line2); backdrop-filter: blur(6px); }
.vwall::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent calc(33.333% - 1px), rgba(255,255,255,.15) 33.333%, transparent calc(33.333% + 1px), transparent calc(66.667% - 1px), rgba(255,255,255,.15) 66.667%, transparent calc(66.667% + 1px)), linear-gradient(transparent calc(50% - 1px), rgba(255,255,255,.15) 50%, transparent calc(50% + 1px)); }
.player-list button p { display: none; }
.levels div { text-align: center; }
.sub { margin-top: 90px; }
.episode { margin-bottom: 18px; }

.j-3d { position: relative; height: min(76vh, 700px); min-height: 520px; cursor: grab; }
.j-3d canvas { display: block; width: 100%; height: 100%; }
.j-hud { position: absolute; left: 24px; top: 24px; width: min(380px, 44%); padding: 20px 22px; border-radius: 18px; background: rgba(7,10,15,.66); border: 1px solid var(--line2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: auto; }
.j-hud.in { animation: hudin .6s var(--ease); }
@keyframes hudin { from { opacity: 0; transform: translateY(14px); } }
.j-hud .step { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--cyan); }
.j-hud h3 { font-size: 1.45rem; margin: 6px 0 12px; }
.j-w p { color: var(--ink2); font-size: .92rem; margin: 0 0 10px; }
.j-photos { position: relative; height: 170px; margin-bottom: 12px; }
.j-photos img { position: absolute; width: 58%; border-radius: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.6); }
.j-photos img:first-child { left: 0; top: 18px; transform: rotate(-4deg); } .j-photos img:last-child { right: 0; top: 0; transform: rotate(4deg); }
.j-models { display: flex; gap: 6px; flex-wrap: wrap; }
.j-models span { font-size: .78rem; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line2); color: var(--ink3); transition: all .3s; }
.j-models span.on { color: #050a12; background: var(--grad); border-color: transparent; font-weight: 600; }
.j-legend { position: absolute; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; pointer-events: none; }
.j-legend b { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.j-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; padding: 5px 12px; border-radius: 99px; background: rgba(7,10,15,.72); border: 1px solid var(--line2); }
.j-legend span:nth-child(3) { animation-delay: .1s; } .j-legend span:nth-child(4) { animation-delay: .2s; } .j-legend span:nth-child(5) { animation-delay: .3s; } .j-legend span:nth-child(6) { animation-delay: .4s; }
.j-legend i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.fsm2 { width: 100%; }
.fsm2 .node rect { fill: #0f1520; stroke: rgba(255,255,255,.18); stroke-width: 1.5; transition: all .35s; }
.fsm2 .node text { fill: var(--ink2); font: 600 15px Inter, sans-serif; text-anchor: middle; dominant-baseline: middle; }
.fsm2 .node.on rect { fill: rgba(95,240,224,.18); stroke: var(--cyan); filter: drop-shadow(0 0 10px rgba(95,240,224,.7)); }
.fsm2 .node.on text { fill: #fff; }
.fsm2 .edge { stroke: rgba(255,255,255,.25); stroke-width: 1.5; fill: none; marker-end: url(#jarr); }
.fsm2 .lock { font: 600 14px Inter, sans-serif; }
.j-rpm { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.j-rpm b { font: 700 2.6rem/1 ui-monospace, Menlo, monospace; color: var(--cyan); text-shadow: 0 0 20px rgba(95,240,224,.6); font-variant-numeric: tabular-nums; min-width: 4ch; }
.j-rpm span { color: var(--ink3); } .j-rpm em { margin-left: auto; font-style: normal; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); }
.j-mini { width: 100%; height: 110px; }
.taskcard2 { font: 13px/1.75 ui-monospace, Menlo, monospace; color: var(--ink2); background: #05080c; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.taskcard2 .t { color: #fff; font-weight: 600; margin-bottom: 6px; } .taskcard2 .g { color: var(--green); } .taskcard2 .r { color: var(--rose); } .taskcard2 .y { color: var(--amber); }
.j-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.j-tiles figure { margin: 0; border-radius: 10px; overflow: hidden; position: relative; border: 1px solid var(--line2); }
.j-tiles figure:nth-child(2) { animation-delay: .15s; } .j-tiles figure:nth-child(3) { animation-delay: .3s; }
.j-tiles img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.j-tiles figcaption { position: absolute; left: 0; right: 0; bottom: 0; font-size: .74rem; font-weight: 600; padding: 14px 8px 5px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.j-bars > div, .s2r > div { margin-bottom: 12px; }
.j-bars b, .s2r b { display: block; font-size: .86rem; margin-bottom: 4px; }
.j-bars .bar, .s2r .bar { display: inline-block; width: calc(100% - 80px); height: 9px; border-radius: 9px; background: rgba(255,255,255,.07); vertical-align: middle; overflow: hidden; }
.j-bars .bar i, .s2r .bar i { display: block; height: 100%; width: 0; border-radius: 9px; transition: width 1.4s var(--ease); }
.s2r .bar i { width: var(--w); }
.j-bars em, .s2r em { font-style: normal; font-size: .76rem; color: var(--ink2); margin-left: 8px; }
i.sim { background: linear-gradient(90deg, #6aa8ff, #a98bff); } i.real { background: linear-gradient(90deg, #3fdca0, #5ff0e0); box-shadow: 0 0 10px rgba(95,240,224,.5); }
.journey { grid-template-columns: 270px minmax(0, 1fr); }

.lib-head { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 30px; }
.lib-head button { text-align: left; font-family: inherit; color: var(--ink); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; position: relative; overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.lib-head button::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.lib-head button:hover, .lib-head button.on { border-color: var(--c); transform: translateY(-3px); }
.lib-head b { display: block; font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; color: var(--c); }
.lib-head span { font-size: .84rem; color: var(--ink2); }
.libwall { display: flex; flex-direction: column; gap: 14px; padding: 34px 0 110px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lrow { position: relative; transition: opacity .5s, filter .5s; }
.lrow.dim { opacity: .15; filter: grayscale(1); }
.ltag { position: absolute; left: 7%; top: -9px; z-index: 2; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c); background: var(--bg); padding: 2px 10px; border-radius: 99px; border: 1px solid var(--c); }
.ltrack { display: flex; gap: 12px; width: max-content; animation: marq linear infinite; }
.ltrack.rev { animation-direction: reverse; }
.lrow:hover .ltrack { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.ltrack figure { margin: 0; width: 200px; flex: none; border-radius: 14px; overflow: hidden; background: #e9edf2; border: 1px solid var(--line); cursor: zoom-in; position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.ltrack figure:hover { transform: scale(1.12); z-index: 3; box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 2px var(--c); }
.ltrack img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ltrack figcaption { position: absolute; left: 0; right: 0; bottom: 0; font-size: .7rem; font-weight: 600; color: #fff; padding: 16px 8px 5px; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ltrack figure:hover figcaption { opacity: 1; }

.showcase { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 18px; margin-top: 26px; }
.sc-list { display: flex; flex-direction: column; gap: 8px; max-height: 620px; overflow-y: auto; padding-right: 4px; }
.sc-list button { display: grid; grid-template-columns: 26px 1fr; gap: 10px; text-align: left; font-family: inherit; color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 14px; padding: 11px 13px; cursor: pointer; transition: border-color .2s, background .2s; }
.sc-list button:hover { background: rgba(255,255,255,.06); }
.sc-list button.on { border-color: var(--cyan); background: rgba(95,240,224,.06); }
.sc-list i { font-style: normal; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.sc-list i.ok { background: var(--green-l); color: var(--green); } .sc-list i.no { background: var(--rose-l); color: var(--rose); }
.sc-list b { font-size: .84rem; display: block; }
.sc-list small { font-size: .76rem; color: var(--ink3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-view { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border: 1px solid var(--line2); border-radius: 22px; overflow: hidden; background: var(--bg3); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.sc-img { position: relative; background: #000; display: grid; place-items: center; }
.sc-img img { width: 100%; max-height: 560px; object-fit: contain; }
.sc-img svg { width: 100%; height: auto; max-height: 560px; display: block; }
.sc-img .bx { stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawbx 1s var(--ease) forwards; filter: drop-shadow(0 0 8px currentColor); }
.sc-img .bl { font: 700 26px Inter, sans-serif; opacity: 0; animation: fadein .4s forwards; }
@keyframes drawbx { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.sc-info { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.sc-q { font-size: 1.05rem; font-weight: 500; margin: 0; }
.sc-a { border-radius: 12px; padding: 11px 14px; font-size: .9rem; animation: hudin .5s var(--ease) both; }
.sc-a b { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.sc-a.gt { background: var(--green-l); border: 1px solid rgba(63,220,160,.35); } .sc-a.gt b { color: var(--green); }
.sc-a.bad { background: var(--rose-l); border: 1px solid rgba(255,122,154,.35); animation-delay: .9s; } .sc-a.bad b { color: var(--rose); }
.sc-a.gt + .sc-a.gt { animation-delay: .9s; }

.board { margin-top: 18px; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.bhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.bhead h4 { margin: 0; font-size: 1.05rem; }
.bhead .seg { margin: 0; }
.bhead .seg button { --c: var(--ink); }
.blegend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: var(--ink2); margin: 4px 0 14px; align-items: center; }
.blegend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.blegend em { margin-left: auto; font-style: normal; color: var(--ink3); }
.bars { position: relative; }
.brow { position: absolute; left: 0; right: 0; top: 0; height: 26px; display: grid; grid-template-columns: 210px 1fr 64px; align-items: center; gap: 12px; transition: transform .8s var(--ease); }
.brow .bn { font-size: .84rem; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.brow .bt { height: 14px; border-radius: 7px; background: rgba(255,255,255,.05); overflow: hidden; }
.brow .bt i { display: block; height: 100%; border-radius: 7px; transition: width 1s var(--ease); opacity: .8; }
.brow b { font-size: .82rem; font-variant-numeric: tabular-nums; }
.brow.top .bn { color: #fff; font-weight: 600; } .brow.top .bt i { opacity: 1; box-shadow: 0 0 14px currentColor; }

.episode { grid-template-columns: 1fr; }
.ep-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ep-tabs button { font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink2); background: rgba(255,255,255,.04); border: 1px solid var(--line2); padding: 9px 18px; border-radius: 99px; cursor: pointer; }
.ep-tabs button.on { color: #050a12; background: var(--grad); border-color: transparent; font-weight: 600; }
.score div.pass, .score div.fail { opacity: .35; }
.score.show div.pass { opacity: 1; border-color: rgba(63,220,160,.45); background: var(--green-l); }
.score.show div.fail { opacity: 1; border-color: rgba(255,122,154,.5); background: var(--rose-l); }
.score.show div.fail b::before { content: "\2717  "; color: var(--rose); }
.score.show div.pass b::before { content: "\2713  "; color: var(--green); }
.score.show div b::before { content: none; }
.score.show div.pass b::before, .score.show div.fail b::before { display: inline; }

.x3-charts { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 16px; }
.gbars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; height: 260px; align-items: end; margin-top: 18px; }
.gcol { display: flex; flex-direction: column; align-items: center; height: 100%; }
.gcol span { font-size: .76rem; color: var(--ink2); margin-top: 8px; white-space: nowrap; }
.gcol.avg span { color: #fff; font-weight: 600; }
.gstack { flex: 1; width: 100%; display: flex; align-items: flex-end; gap: 3px; border-bottom: 1px solid var(--line2); }
.gstack i { position: relative; flex: 1; height: 0; background: var(--c); border-radius: 4px 4px 0 0; opacity: .28; transition: height 1.2s var(--ease), opacity .3s; }
.x3-charts.in .gstack i, #x3.in .gstack i { height: var(--h); }
.gstack i.hi { opacity: 1; box-shadow: 0 0 16px var(--c); }
.gstack i em { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); font-style: normal; font-size: .68rem; color: var(--c); opacity: 0; }
.gstack i.hi em { opacity: 1; font-weight: 700; }
#x3-pol button.on { background: var(--c); color: #050a12; }
.s2rleg { display: flex; gap: 14px; font-size: .76rem; color: var(--ink3); margin-top: 8px; } .s2rleg i { display: inline-block; width: 14px; height: 8px; border-radius: 4px; margin-right: 6px; }
#x3 { grid-template-columns: 1fr; }

@media (max-width: 1000px) {
  .j-3d { height: 640px; }
  .j-hud { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; }
  .lib-head { grid-template-columns: repeat(3, 1fr); }
  .showcase, .sc-view, .x3-charts { grid-template-columns: 1fr; }
  .sc-list { flex-direction: row; overflow-x: auto; max-height: none; }
  .sc-list button { flex: none; width: 240px; }
  .brow { grid-template-columns: 120px 1fr 54px; }
}

@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.vpicker { display: block; margin-top: 18px; padding: 14px 14px 6px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), radial-gradient(120% 140% at 50% 120%, rgba(95,240,224,.08), transparent 60%); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px rgba(0,0,0,.35); }
.vpicker .vtabs { position: relative; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.vpicker .vind { position: absolute; left: 0; top: 0; height: 100%; max-height: 34px; border-radius: 99px; background: var(--grad); box-shadow: 0 6px 22px rgba(95,240,224,.35); transition: transform .45s cubic-bezier(.2,.9,.25,1.15), width .45s cubic-bezier(.2,.9,.25,1.15); z-index: 0; }
.vpicker .vtabs button { position: relative; z-index: 1; font: inherit; font-size: .84rem; font-weight: 500; color: var(--ink2); background: transparent; border: 1px solid transparent; border-radius: 99px; padding: 6px 14px; cursor: pointer; aspect-ratio: auto; opacity: 1; overflow: visible; transform: none; box-shadow: none; transition: color .3s; }
.vpicker .vtabs button:hover { color: #fff; transform: none; background: transparent; }
.vpicker .vtabs button i { font-style: normal; color: var(--ink3); margin-left: 6px; font-size: .74rem; transition: color .3s; }
.vpicker .vtabs button.on { color: #050a12; font-weight: 600; background: transparent; } .vpicker .vtabs button.on i { color: rgba(5,10,18,.7); }
.vcount { margin-left: auto; font-size: .82rem; color: var(--ink3); }
.vstrip-wrap { position: relative; perspective: 900px; }
.vstrip { position: relative; display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 136px; gap: 12px 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 10px calc(50% - 68px) 16px; scrollbar-width: none; cursor: grab; transform-style: preserve-3d;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.vstrip::-webkit-scrollbar { display: none; }
.vstrip.drag { cursor: grabbing; scroll-snap-type: none; } .vstrip.drag button { pointer-events: none; }
.vstrip button { --ry: 0deg; --sc: 1; --op: 1; --lift: 0px; scroll-snap-align: center; position: relative; border: 1px solid rgba(255,255,255,.1); background: #e9edf2; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer; aspect-ratio: 4 / 3;
  transform: translateY(var(--lift)) rotateY(var(--ry)) scale(var(--sc)); opacity: var(--op); transition: transform .18s ease-out, opacity .18s, box-shadow .3s, border-color .3s; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.vstrip button img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .4s; filter: saturate(.85) brightness(.92); }
.vstrip button em { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.45), transparent 45%), linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%); background-size: 100% 100%, 250% 100%; background-position: 0 0, 120% 0; opacity: 0; transition: opacity .3s, background-position .7s; mix-blend-mode: soft-light; }
.vstrip button::after { content: ''; position: absolute; left: 7px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--dc); box-shadow: 0 0 8px var(--dc); }
.vstrip button:hover { --lift: -5px; box-shadow: 0 16px 30px rgba(0,0,0,.45), 0 0 0 1px var(--dc); }
.vstrip button:hover img { transform: scale(1.08); filter: none; }
.vstrip button:hover em { opacity: 1; background-position: 0 0, -20% 0; }
.vstrip button.on { --lift: -4px; border-color: transparent; z-index: 2; box-shadow: 0 18px 40px rgba(95,240,224,.28); }
.vstrip button.on img { filter: none; }
.vstrip button.on::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 3; pointer-events: none;
  background: conic-gradient(from var(--ang), #5ff0e0, #6aa8ff, #a98bff, #ff7a9a, #fbbf4d, #5ff0e0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: vring 3s linear infinite; }
@keyframes vring { to { --ang: 360deg; } }
.vstrip button span { position: absolute; inset: auto 0 0 0; font-size: .62rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); padding: 14px 7px 5px; text-align: left; line-height: 1.2; letter-spacing: .01em; }
.vstrip button.on span { background: linear-gradient(transparent, rgba(4,40,44,.92)); }
.vstrip button.enter { animation: vin .5s cubic-bezier(.2,.9,.25,1.1) both; }
@keyframes vin { from { opacity: 0; translate: 0 18px; filter: blur(4px); } to { opacity: var(--op); translate: 0 0; filter: none; } }
.vpicker .vnav { position: absolute; top: 50%; z-index: 4; width: 40px; height: 40px; margin-top: -22px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(8,12,18,.8); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); aspect-ratio: auto; opacity: 1; padding: 0; overflow: visible; transition: border-color .2s, color .2s, box-shadow .2s, transform .2s; }
.vpicker .vnav.l { left: 4px; } .vpicker .vnav.r { right: 4px; }
.vpicker .vnav:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px rgba(95,240,224,.4); transform: scale(1.08); }

.j-tag { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); padding: 6px 12px; border-radius: 99px; font-size: .8rem; font-weight: 600; white-space: nowrap; color: #fff; background: rgba(8,12,18,.78); border: 1px solid var(--line2); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s, border-color .3s, color .3s; }
.j-tag.show { opacity: 1; }
.j-tag.bad { border-color: #ff7a9a; color: #ffb3c4; box-shadow: 0 0 18px rgba(255,122,154,.35); }
.j-tag.warn { border-color: #fbbf4d; color: #fde1a6; box-shadow: 0 0 18px rgba(251,191,77,.35); }
.j-tag.ok { border-color: #3fdca0; color: #a8f3d3; box-shadow: 0 0 18px rgba(63,220,160,.3); }
.j-build { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 10px; }
.j-build b { font-size: 2rem; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.j-build span { color: var(--ink3); font-size: .85rem; }
.j-build.done b { opacity: .55; }

@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; margin-top: 28px; border-radius: 18px; }
  .j-rail { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .j-rail::-webkit-scrollbar { display: none; }
  .j-rail::before { display: none; }
  .j-rail button { grid-template-columns: 30px 1fr; flex: none; width: auto; max-width: 190px; gap: 8px; padding: 8px 12px; scroll-snap-align: center; border-radius: 12px; }
  .j-rail b { font-size: .82rem; white-space: nowrap; }
  .j-rail small { display: none; }
  .j-rail .jbar { left: 12px; right: 12px; bottom: 2px; }
  .j-3d { height: auto; min-height: 0; display: flex; flex-direction: column; cursor: default; }
  .j-3d canvas { height: 340px !important; flex: none; }
  .j-hud { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; margin: 0 10px 10px; padding: 16px; min-height: 290px; }
  .j-hud h3 { font-size: 1.15rem; margin: 4px 0 10px; }
  .j-legend { top: 10px; right: 10px; bottom: auto; transform: scale(.85); transform-origin: top right; }
  .j-tag { font-size: .7rem; padding: 4px 9px; }
}

.mx { display: grid; grid-template-columns: 330px minmax(0, 1fr); margin-top: 40px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line2); background: radial-gradient(ellipse 90% 80% at 65% 30%, #1b1a24, #090c12 70%); box-shadow: 0 40px 120px rgba(0,0,0,.55); }
.mx-list { display: flex; flex-direction: column; gap: 14px; padding: 16px 12px; border-right: 1px solid var(--line); background: rgba(5,8,12,.5); max-height: 720px; overflow-y: auto; scrollbar-width: thin; }
.mx-g h4 { display: flex; align-items: center; gap: 8px; margin: 2px 6px 8px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.mx-g h4 i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.mx-g.electronic h4 i { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.mx-g h4 em { margin-left: auto; font-style: normal; color: var(--ink3); }
.mx-list button { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 7px 8px; margin-bottom: 4px; border: 1px solid transparent; border-radius: 12px; background: none; color: var(--ink2); font: inherit; cursor: pointer; overflow: hidden; transition: background .25s, border-color .25s, color .25s; }
.mx-list button img { width: 52px; height: 40px; object-fit: cover; border-radius: 8px; background: #e9edf2; opacity: .75; transition: opacity .25s, transform .3s; }
.mx-list button b { display: block; font-size: .86rem; font-weight: 600; }
.mx-list button small { display: block; font-size: .72rem; color: var(--ink3); line-height: 1.3; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s, opacity .35s; }
.mx-list button:hover { background: rgba(255,255,255,.04); color: var(--ink); } .mx-list button:hover img { opacity: 1; }
.mx-list button.on { color: var(--ink); background: linear-gradient(90deg, rgba(251,191,77,.12), transparent); border-color: rgba(251,191,77,.35); }
.mx-list button.electronic.on { background: linear-gradient(90deg, rgba(169,139,255,.14), transparent); border-color: rgba(169,139,255,.4); }
.mx-list button.on img { opacity: 1; transform: scale(1.06); } .mx-list button.on small { max-height: 3em; opacity: 1; }
.mx-bar { position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--amber), #ffde8a); transform-origin: left; transform: scaleX(0); }
.mx-list button.electronic .mx-bar { background: linear-gradient(90deg, var(--violet), #f39cff); }
.mx-stage { position: relative; height: min(78vh, 720px); min-height: 520px; cursor: grab; }
.mx-stage canvas { display: block; width: 100%; height: 100%; }
.mx-top { position: absolute; left: 22px; top: 20px; max-width: min(420px, 50%); pointer-events: none; }
.mx-top.in { animation: hudin .6s var(--ease); }
.mx-kind { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; color: #1a1200; background: var(--amber); }
.mx-kind.electronic { color: #0e0820; background: var(--violet); }
.mx-top h3 { font-size: 1.6rem; margin: 10px 0 6px; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.mx-top p { margin: 0; color: var(--ink2); font-size: .92rem; line-height: 1.45; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.mx-state { position: absolute; right: 18px; top: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.mx-state div { min-width: 150px; padding: 8px 14px; border-radius: 12px; background: rgba(7,10,15,.72); border: 1px solid var(--line2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: right; transition: border-color .3s, box-shadow .3s; }
.mx-state small { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.mx-state b { font: 700 1.05rem/1.25 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.mx-state .hi b { color: var(--cyan); text-shadow: 0 0 14px rgba(95,240,224,.5); }
.mx-state .ok { border-color: rgba(63,220,160,.6); } .mx-state .ok b { color: var(--green); }
.mx-state .bad { border-color: rgba(255,122,154,.7); box-shadow: 0 0 20px rgba(255,122,154,.25); } .mx-state .bad b { color: var(--rose); }
.mx-state .warn { border-color: rgba(251,191,77,.7); box-shadow: 0 0 20px rgba(251,191,77,.2); } .mx-state .warn b { color: var(--amber); }
.mx-state .dim b { color: var(--ink3); font-size: .85rem; }
.mx-flash { position: absolute; left: 50%; top: 22%; transform: translate(-50%, 10px) scale(.96); padding: 9px 18px; border-radius: 99px; font-weight: 600; font-size: .92rem; white-space: nowrap; color: #fff; background: rgba(8,12,18,.82); border: 1px solid var(--line2); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.mx-flash.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.mx-flash.ok { border-color: #3fdca0; color: #b6f5dc; box-shadow: 0 0 28px rgba(63,220,160,.35); }
.mx-flash.bad { border-color: #ff7a9a; color: #ffc2cf; box-shadow: 0 0 28px rgba(255,122,154,.4); animation: mxshake .4s; }
@keyframes mxshake { 20%, 60% { margin-left: -6px; } 40%, 80% { margin-left: 6px; } }
.mx-ctl { position: absolute; left: 20px; bottom: 18px; right: 150px; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.mx-ctl button { font: inherit; font-size: .84rem; font-weight: 600; color: var(--ink); padding: 8px 15px; border-radius: 99px; border: 1px solid var(--line2); background: rgba(10,14,20,.78); backdrop-filter: blur(8px); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .15s; }
.mx-ctl button:hover { border-color: var(--amber); box-shadow: 0 0 18px rgba(251,191,77,.35); } .mx-ctl button:active { transform: scale(.96); }
.mx-ctl label { display: grid; gap: 4px; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(10,14,20,.78); backdrop-filter: blur(8px); min-width: 210px; }
.mx-ctl label span { display: flex; justify-content: space-between; gap: 12px; font-size: .74rem; color: var(--ink3); } .mx-ctl label b { color: var(--cyan); font-family: ui-monospace, Menlo, monospace; }
.mx-ctl input[type=range] { width: 100%; accent-color: var(--amber); }
.mx-hint { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); font-size: .74rem; color: var(--ink3); pointer-events: none; letter-spacing: .04em; }
.mx-tour { position: absolute; right: 18px; bottom: 18px; font: inherit; font-size: .8rem; font-weight: 600; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line2); background: rgba(10,14,20,.78); color: var(--ink2); cursor: pointer; }
.mx-tour.on { color: var(--amber); border-color: rgba(251,191,77,.6); }
.mx-load { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .3s; }
.mx-load.show { opacity: 1; } .mx-load span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255,255,255,.1); border-top-color: var(--amber); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) {
  .mx { grid-template-columns: 1fr; }
  .mx-list { flex-direction: row; max-height: none; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; gap: 8px; }
  .mx-g { display: flex; gap: 6px; align-items: stretch; } .mx-g h4 { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0; }
  .mx-list button { width: 210px; flex: none; margin: 0; } .mx-list button small { display: none; }
}
@media (max-width: 760px) {
  .mx-stage { height: 560px; min-height: 0; }
  .mx-top { left: 14px; top: 14px; max-width: 70%; } .mx-top h3 { font-size: 1.15rem; } .mx-top p { font-size: .8rem; }
  .mx-state { top: auto; bottom: 120px; right: 10px; } .mx-state div { min-width: 0; padding: 5px 10px; } .mx-state b { font-size: .85rem; }
  .mx-ctl { left: 10px; right: 10px; bottom: 54px; } .mx-ctl button { font-size: .76rem; padding: 7px 11px; } .mx-ctl label { min-width: 160px; }
  .mx-tour { right: 10px; bottom: 12px; } .mx-hint { display: none; }
  .mx-stage canvas { touch-action: pan-y; }
}

.ep-play { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.ep-left { display: flex; flex-direction: column; min-width: 0; background: #06090e; }
.ep-view { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #000; }
.ep-cam { position: absolute; inset: 0; will-change: transform; }
.ep-cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep-cam img.b { opacity: 0; }
.ep-view .badge2 { position: absolute; top: 12px; font: 700 .76rem Inter, sans-serif; padding: 4px 10px; border-radius: 8px; z-index: 2; }
.ep-view .stp { left: 12px; background: var(--violet); color: #0a0614; }
.ep-view .cam { right: 12px; background: rgba(8,12,18,.82); border: 1px solid var(--line2); color: var(--cyan); font-family: ui-monospace, Menlo, monospace; font-weight: 500; }
.ep-view .cam:empty { display: none; }
.ep-view .cam i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); margin-right: 6px; box-shadow: 0 0 8px var(--cyan); }
.ep-mark { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--cyan); box-shadow: 0 0 20px var(--cyan); opacity: 0; z-index: 2; pointer-events: none; }
.ep-mark.go { animation: ping .8s var(--ease); }
.ep-mark.bad { border-color: var(--rose); box-shadow: 0 0 20px var(--rose); }
.ep-zoom { position: absolute; transform: translate(-50%, -50%); border: 2px dashed var(--cyan); border-radius: 6px; opacity: 0; z-index: 2; pointer-events: none; }
.ep-zoom.go { opacity: 1; transition: opacity .2s; }
.ep-flag { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; font-size: .8rem; padding: 7px 12px; border-radius: 10px; background: rgba(8,12,18,.86); border: 1px solid rgba(251,191,77,.5); color: var(--amber); opacity: 0; transform: translateY(8px); transition: all .3s var(--ease); }
.ep-flag.bad, .ep-flag.vio { opacity: 1; transform: none; }
.ep-flag.vio { border-color: var(--rose); color: #fff; background: rgba(120,20,40,.85); box-shadow: 0 0 30px rgba(255,122,154,.35); }
.ep-ctl { display: flex; align-items: center; gap: 8px; padding: 12px 14px 4px; }
.ep-ctl > button { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255,255,255,.05); color: var(--ink); font: 600 .9rem Inter, sans-serif; cursor: pointer; }
.ep-ctl > button.pp { background: var(--grad); color: #050a12; border: 0; }
.ep-ctl > button.sp { width: auto; padding: 0 12px; border-radius: 99px; font-size: .8rem; }
.ep-track { position: relative; flex: 1; height: 34px; }
.ep-track::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); }
.ep-track .fill { position: absolute; left: 0; top: 15px; height: 4px; border-radius: 2px; background: var(--grad); width: 0; }
.ep-track .ticks i { position: absolute; top: 9px; width: 2px; height: 16px; margin-left: -1px; border-radius: 1px; opacity: .8; }
.k-cam { background: var(--cyan); } .k-bad { background: var(--amber); } .k-vio { background: var(--rose); } .k-done { background: var(--green); }
.ep-track .ticks i.k-vio { width: 4px; margin-left: -2px; top: 5px; height: 24px; opacity: 1; box-shadow: 0 0 10px var(--rose); }
.ep-track input { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ep-track::after { content: none; }
.ep-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 4px 16px 12px 58px; font-size: .74rem; color: var(--ink3); }
.ep-legend i { display: inline-block; width: 3px; height: 11px; border-radius: 1px; margin-right: 6px; vertical-align: -1px; }
.ep-legend .hint { margin-left: auto; }
.ep-side { gap: 10px; }
.ep-side .task { margin-bottom: 0; }
.ep-now { border-radius: 12px; padding: 12px 14px; background: rgba(95,240,224,.06); border: 1px solid rgba(95,240,224,.25); min-height: 86px; }
.ep-now code { font: 600 .9rem ui-monospace, Menlo, monospace; color: #fff; }
.ep-now p { margin: 6px 0 0; color: var(--ink2); font-size: .9rem; line-height: 1.5; }
.ep-now p.dim { margin: 0; color: var(--ink3); }
.ep-log { flex: 1; min-height: 150px; max-height: 260px; overflow-y: auto; border-radius: 12px; background: #05080c; border: 1px solid var(--line); padding: 6px; scroll-behavior: smooth; }
.ep-log button { display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left; border: 0; background: none; color: var(--ink3); padding: 3px 8px; border-radius: 6px; cursor: pointer; font: 12px/1.5 ui-monospace, Menlo, monospace; }
.ep-log button .n { width: 24px; flex: none; text-align: right; opacity: .6; }
.ep-log button code { font: inherit; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-log button em { font-style: normal; color: var(--amber); margin-left: auto; flex: none; }
.ep-log button.cam code { color: var(--cyan); }
.ep-log button.vio code, .ep-log button.vio em { color: var(--rose); }
.ep-log button:hover { background: rgba(255,255,255,.05); }
.ep-log button.on { background: rgba(169,139,255,.18); }
.ep-log button.on code { color: #fff; }
.ep-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ep-stats div { font-size: .7rem; color: var(--ink3); text-align: center; padding: 6px 4px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.ep-stats b { display: block; font-size: 1rem; color: var(--ink); }
.ep-side .score { margin-top: 0; }
#episode:focus { outline: none; }
@media (max-width: 760px) {
  .ep-legend { padding-left: 14px; } .ep-legend .hint { display: none; }
  .ep-view .cam { display: none; }
  .ep-log { max-height: 170px; }
  .ep-stats div { font-size: .64rem; }
}

.showcase .sc-tally { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 22px; font-size: .86rem; color: var(--ink3); }
.sc-tally b { color: var(--cyan); font-size: 1.1rem; } .sc-tally span:last-child b { color: var(--rose); }
.sc-tally i { font-style: normal; }
.sc-list i { background: rgba(255,255,255,.06); color: var(--ink3); }
.sc-list i.sk { background: rgba(255,255,255,.06); color: var(--ink3); }
#x1.asking .sc-img svg { cursor: crosshair; }
.sc-ask { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); pointer-events: none; font-size: .8rem; font-weight: 600; color: #050a12; background: var(--cyan); padding: 6px 14px; border-radius: 99px; box-shadow: 0 0 24px rgba(95,240,224,.5); animation: pulse2 1.8s ease-in-out infinite; }
@keyframes pulse2 { 50% { box-shadow: 0 0 6px rgba(95,240,224,.2); } }
.sc-hint { margin: 0; color: var(--cyan); font-weight: 600; font-size: .92rem; }
.sc-yn { display: flex; gap: 10px; }
.sc-yn button, .sc-num button, .sc-next button, .sc-skip { font: inherit; font-size: .88rem; cursor: pointer; border-radius: 99px; padding: 9px 18px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); color: var(--ink); }
.sc-yn button:hover, .sc-next button:hover { background: rgba(255,255,255,.1); }
.sc-yn button.on { border-color: var(--cyan); background: rgba(95,240,224,.12); }
.sc-num { display: flex; align-items: center; gap: 8px; }
.sc-num input { width: 120px; font: inherit; font-size: 1rem; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line2); background: #05080c; color: var(--ink); }
.sc-num input:focus { outline: none; border-color: var(--cyan); }
.sc-num span { color: var(--ink2); }
.sc-num button, .sc-next .go { background: var(--grad); color: #050a12; border: 0; font-weight: 600; }
.sc-skip { align-self: flex-start; margin-top: auto; background: none; border-color: transparent; color: var(--ink3); padding-left: 0; text-decoration: underline; text-underline-offset: 3px; }
.sc-next { display: flex; gap: 10px; margin-top: auto; }
.sc-img .pt { fill: rgba(95,240,224,.35); stroke: var(--cyan); animation: fadein .3s forwards; }
.sc-img .pt.hit { fill: rgba(63,220,160,.45); stroke: #3fdca0; } .sc-img .pt.miss { fill: rgba(255,122,154,.35); stroke: #ff7a9a; }
.sc-img .ptl { font: 700 24px Inter, sans-serif; fill: #fff; paint-order: stroke; stroke: #000; stroke-width: 4px; }
@media (max-width: 760px) { .showcase .sc-tally { justify-content: space-between; } }
.ep-log { position: relative; }
.sc-side { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); color: var(--ink2); font: inherit; font-size: .84rem; cursor: zoom-in; text-align: left; }
.sc-side img { width: 64px; height: 64px; object-fit: cover; object-position: top; border-radius: 8px; background: #fff; }
.sc-side:hover { border-color: var(--cyan); color: var(--ink); }
@media (max-width: 1000px) { .ep-play { grid-template-columns: 1fr; } .ep-log { max-height: 200px; } }
.ep-tabs .ep-who { align-self: center; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); margin-right: 4px; }
.ep-tabs button[data-k^="expert"] { margin-left: auto; }
@media (max-width: 760px) { .ep-tabs .ep-who { width: 100%; } .ep-tabs button[data-k^="expert"] { margin-left: 0; } }
@media (max-width: 600px) { .hero h1 br { display: none; } }

@media (min-width: 1001px) and (min-height: 600px) {
  html { scroll-snap-type: y proximity; }
  .hero, #explore, #pipeline, #instruments, #mechanisms, #exp1, #exp2, #exp3 { scroll-snap-align: start; }
  #explore .wrap { height: calc(100svh - 70px); min-height: 560px; padding: 22px 28px 20px; display: flex; flex-direction: column; box-sizing: border-box; }
  #explore .kicker { margin-bottom: 10px; align-self: flex-start; }
  #explore h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
  #explore .viewer { flex: 1 1 auto; min-height: 300px; grid-template-rows: minmax(0, 1fr); }
  #explore .stage { height: auto; min-height: 0; }
  #explore .vpanel { max-height: none; min-height: 0; }
  #explore .vpicker { flex: none; margin-top: 12px; padding: 10px 12px 2px; }
  #explore .vpicker .vtabs { margin-bottom: 4px; }
  #pipeline, #mechanisms { height: calc(100svh - 70px); min-height: 560px; padding: 22px 28px 20px; display: flex; flex-direction: column; box-sizing: border-box; }
  #pipeline h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 16px; flex: none; }
  #pipeline .journey { flex: 1 1 auto; min-height: 0; margin-top: 0; grid-template-rows: minmax(0, 1fr); }
  #pipeline .j-3d { height: auto; min-height: 0; }
  #pipeline .j-rail { overflow-y: auto; scrollbar-width: none; justify-content: center; }
  #mechanisms .kicker { align-self: flex-start; margin-bottom: 8px; flex: none; }
  #mechanisms h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 6px; flex: none; }
  #mechanisms .lead { margin: 0 0 14px; font-size: .95rem; flex: none; }
  #mechanisms .mx { flex: 1 1 auto; min-height: 0; margin-top: 0; grid-template-rows: minmax(0, 1fr); }
  #mechanisms .mx-list { max-height: none; min-height: 0; gap: 8px; padding: 12px 10px; }
  #mechanisms .mx-stage { height: auto; min-height: 0; }
  #mechanisms .mx-g h4 { margin: 2px 6px 4px; }
  #mechanisms .mx-list button { grid-template-columns: 44px 1fr; padding: 5px 8px; margin-bottom: 2px; }
  #mechanisms .mx-list button img { width: 44px; height: 33px; }
  #explore .vstrip { grid-template-rows: auto; grid-auto-columns: 112px; gap: 10px; padding: 8px calc(50% - 56px) 12px; }
}
@media (min-width: 1001px) and (max-height: 760px) {
  #explore .vstrip { grid-auto-columns: 96px; padding: 6px calc(50% - 48px) 10px; }
  #explore h2 { font-size: 1.8rem; margin-bottom: 12px; }
}

.tk-head { display: flex; gap: 8px; align-items: baseline; margin-bottom: 4px; }
.tk-head b { font-size: .92rem; line-height: 1.35; }
.tk-head .lv, .ev-q .k { flex: none; font: 600 .68rem/1 ui-monospace, Menlo, monospace; letter-spacing: .06em; color: var(--violet); background: var(--violet-l); padding: 4px 7px; border-radius: 6px; }
.tk-rcf { font: .74rem/1.4 ui-monospace, Menlo, monospace; color: var(--ink3); margin-bottom: 10px; }
.tk-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 5px; }
.tk-list li { display: flex; align-items: center; gap: 9px; font-size: .83rem; color: var(--ink3); transition: color .3s; }
.tk-list li i { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; transition: all .3s; }
.tk-list li em { margin-left: auto; font-style: normal; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); opacity: .7; }
.tk-list li.now { color: #fff; } .tk-list li.now i { border-color: var(--cyan); box-shadow: 0 0 10px rgba(95,240,224,.6); }
.tk-list li.ok { color: var(--ink); } .tk-list li.ok i { background: var(--green); border-color: var(--green); }
.tk-list li.ok i::after { content: ''; width: 7px; height: 4px; border: solid #062018; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.tk-live { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.tk-live span { display: flex; flex-direction: column; gap: 2px; font-size: .66rem; color: var(--ink3); background: #05080c; border: 1px solid var(--line); border-radius: 9px; padding: 6px 8px; }
.tk-live b { font: 600 .98rem/1.1 ui-monospace, Menlo, monospace; color: var(--cyan); font-variant-numeric: tabular-nums; }
.tk-verdict { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; margin-bottom: 10px; opacity: .25; filter: grayscale(1); transition: all .5s; }
.tk-verdict b { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.tk-verdict span { font-size: .74rem; line-height: 1.35; color: var(--ink2); }
.tk-verdict.show { opacity: 1; filter: none; border-color: rgba(63,220,160,.5); background: var(--green-l); } .tk-verdict.show b { color: var(--green); }
.tk-traps { display: flex; flex-wrap: wrap; gap: 5px; }
.tk-traps small { width: 100%; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.tk-traps span { font-size: .72rem; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line2); color: var(--ink2); transition: all .35s; }
.tk-traps span.f { color: #ffb3c4; border-color: rgba(255,122,154,.6); background: var(--rose-l); }
.tk-traps span.f::before { content: '✗ '; font-weight: 700; }
.ev-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.ev-tabs span { position: relative; text-align: center; font-size: .8rem; font-weight: 600; padding: 6px 0 8px; color: var(--ink3); border-radius: 9px; background: rgba(255,255,255,.03); overflow: hidden; transition: all .3s; }
.ev-tabs span i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.ev-tabs span.on { color: #fff; background: rgba(95,240,224,.1); } .ev-tabs span.on i { width: 100%; transition: width 6s linear; }
.ev-tabs span.done { color: var(--ink2); } .ev-tabs span.done i { width: 100%; }
.ev-pane.in { animation: hudin .5s var(--ease); }
svg.ev-img { aspect-ratio: 2 / 1; } .ev-img, .ev-flip, .ev-vid { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; border: 1px solid var(--line2); background: #05080c; margin-bottom: 9px; object-fit: cover; }
.ev-img .gt { fill: none; stroke: var(--green); stroke-width: 5; filter: drop-shadow(0 0 6px rgba(63,220,160,.9)); }
.ev-q, .ev-a, .ev-f, .ev-who { font-size: .82rem; line-height: 1.45; margin: 0 0 7px; color: var(--ink2); }
.ev-q { display: flex; gap: 8px; align-items: baseline; color: var(--ink); } .ev-q b { color: var(--cyan); }
.ev-a b { color: var(--green); }
.ev-f { color: var(--ink3); font-size: .76rem; margin: 8px 0 0; }
.ev-who { font-size: .72rem; color: var(--ink3); }
.ev-stats { display: flex; gap: 6px; }
.ev-stats span { flex: 1; display: flex; flex-direction: column; font-size: .66rem; color: var(--ink3); background: #05080c; border: 1px solid var(--line); border-radius: 9px; padding: 6px 8px; }
.ev-stats b { font-size: .98rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ev-flip { position: relative; overflow: hidden; }
.ev-flip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-call { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; padding: 6px 9px; border-radius: 8px; background: rgba(5,8,12,.86); border: 1px solid var(--line2); font-size: .72rem; }
.ev-call code { font: 600 .74rem ui-monospace, Menlo, monospace; color: var(--cyan); }
.ev-call em { font-style: normal; color: var(--green); } .ev-call.bad { border-color: rgba(255,122,154,.7); } .ev-call.bad em { color: #ffb3c4; }
.ev-score { display: flex; gap: 6px; align-items: center; margin-bottom: 9px; opacity: .2; transition: opacity .5s; }
.ev-score.show { opacity: 1; }
.ev-score span { font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 99px; }
.ev-score .pass { color: var(--green); background: var(--green-l); } .ev-score .fail { color: var(--rose); background: var(--rose-l); }
.ev-score b { font-size: .76rem; color: var(--rose); }
.ev-vla { display: grid; gap: 5px; margin-top: 9px; }
.ev-vla div { display: grid; grid-template-columns: 104px 1fr 34px; align-items: center; gap: 8px; font-size: .74rem; }
.ev-vla b { font-weight: 500; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-vla .bar { height: 7px; border-radius: 7px; background: rgba(255,255,255,.07); overflow: hidden; }
.ev-vla .bar i { display: block; height: 100%; width: 0; border-radius: 7px; background: var(--grad); transition: width 1.2s var(--ease); }
.ev-vla em { font-style: normal; color: var(--ink2); text-align: right; font-variant-numeric: tabular-nums; }
.rl-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 12px; }
.rl-flow span { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 7px 7px; border-radius: 9px; border: 1px solid var(--line); background: #05080c; opacity: .3; transform: translateY(4px); transition: all .45s var(--ease); }
.rl-flow span.on { opacity: 1; transform: none; border-color: rgba(95,240,224,.35); }
.rl-flow span:not(:last-child)::after { content: '›'; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); color: var(--cyan); font-weight: 700; z-index: 1; }
.rl-flow b { font-size: .7rem; font-weight: 600; line-height: 1.25; }
.rl-note { display: block; font-size: .72rem; color: var(--ink3); margin-top: -2px; }
.j-pip { position: absolute; right: 22px; top: 22px; width: min(260px, 26%); margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background: #05080c; box-shadow: 0 18px 40px rgba(0,0,0,.5); opacity: 0; transform: translateY(-8px); transition: all .5s var(--ease); pointer-events: none; z-index: 2; }
.j-pip.show { opacity: 1; transform: none; }
.j-pip video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.j-pip figcaption { font-size: .68rem; color: var(--ink2); padding: 6px 9px; }
@media (max-width: 1000px) {
  .j-pip { width: 180px; right: 12px; top: 12px; }
  .tk-rcf, .ev-f, .tk-list li em { display: none; }
}
@media (max-width: 760px) { .j-pip { display: none; } }
@media (min-width: 1001px) and (max-height: 860px) {
  .j-hud { padding: 16px 18px; max-height: calc(100% - 40px); overflow-y: auto; scrollbar-width: none; top: 20px; }
  .j-hud h3 { font-size: 1.25rem; margin: 4px 0 10px; }
  .tk-rcf, .ev-f, .ev-who, .rl-note { display: none; }
  svg.ev-img { aspect-ratio: 2.6 / 1; } .ev-flip, .ev-vid { aspect-ratio: 2 / 1; }
  .tk-list { gap: 3px; } .tk-live { margin-bottom: 8px; } .tk-verdict { margin-bottom: 8px; padding: 6px 10px; }
  #mechanisms .mx-list button small { display: none; }
}
@media (min-width: 1001px) and (max-height: 780px) {
  #mechanisms .kicker { display: none; }
  #mechanisms .mx-list { gap: 4px; padding: 10px 8px; }
  #mechanisms .mx-list button { grid-template-columns: 1fr; padding: 6px 10px; margin-bottom: 1px; }
  #mechanisms .mx-list button img { display: none; }
}
@media (min-width: 1001px) and (max-height: 680px) { #mechanisms .lead { display: none; } }
@media (min-width: 1001px) and (max-height: 860px) { .j-pip { width: min(200px, 22%); right: 16px; top: 16px; } }
