/* ===========================================
   FIXED 16:9 STAGE: MANDATORY BASE STYLES
   (slide-design viewport-base.css, frontend-slides @9906a34d, verbatim)
   =========================================== */

/* 1. Lock the browser viewport */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--stage-bg, #000);
}

/* 2. Full-window deck viewport */
.deck-viewport {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background: var(--stage-bg, #000);
}

/* 3. Fixed 16:9 design canvas.
   JavaScript sets transform: translate(...) scale(...). */
.deck-stage {
    position: absolute;
    left: 0;
    top: 0;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    transform-origin: 0 0;
    background: var(--slide-bg, #fff);
}

/* 4. Slides stack inside the fixed stage.
   Content must be laid out at 1920x1080, not reflowed per device. */
.slide {
    position: absolute;
    inset: 0;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: var(--slide-bg, #fff);
}

.slide.active,
.slide.visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

/* 5. Keep media inside authored slide bounds */
img,
video,
canvas,
svg {
    max-width: 100%;
    max-height: 100%;
}

/* 6. Presentation chrome stays outside the slide design system */
.deck-controls {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 1000;
}

/* 7. Print one fixed-size slide per page */
@media print {
    html,
    body {
        width: 1920px;
        height: auto;
        overflow: visible;
        background: #fff;
    }

    .deck-viewport {
        position: static;
        overflow: visible;
        background: #fff;
    }

    .deck-stage {
        position: static;
        width: auto;
        height: auto;
        transform: none !important;
        background: none;
    }

    .slide {
        position: relative;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        width: 1920px;
        height: 1080px;
        break-after: page;
        page-break-after: always;
    }

    .slide:last-child {
        break-after: auto;
        page-break-after: auto;
    }

    .deck-controls,
    .hud,
    #prog {
        display: none !important;
    }
}

/* 8. Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.2s !important;
    }
}

/* ===========================================
   LIGHT OPS STORIES · NIGHT INK INFOGRAPHIC SHOW
   Single deliberate dark look: every colour is set explicitly.
   Semantic colour: cyan = defence / Light Ops, amber = weak spot / warning,
   red = threat / breach, green = proven / allowed.
   =========================================== */
:root {
  --stage-bg: #02060f; --slide-bg: #061024;
  --fg: #f1f5ff; --sub: #b9c7e6; --dim: #8a99bf; --ink: #e6efff;
  --cyan: #47d9ea; --amber: #ffb547; --red: #ff5d7a; --green: #5ee6a8;
  --navy: #0b1a33; --panel: #0a1834; --edge: #22417a;
  --title: "Chakra Petch", "IBM Plex Sans Thai", sans-serif;
  --body: "IBM Plex Sans Thai", "Chakra Petch", sans-serif;
  --mono: "IBM Plex Mono", "IBM Plex Sans Thai", monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--body); color: var(--fg); -webkit-font-smoothing: antialiased; }

/* Bilingual pairs: T(['en','th']) emits two .L spans; html.th flips them. */
.L[lang="th"] { display: none; }
html.th .L[lang="en"] { display: none; }
html.th .L[lang="th"] { display: inline; }

/* ---------- slide ground & Flow motion plates ---------- */
.slide {
  color: var(--fg); font-family: var(--body);
  background-color: var(--slide-bg);
  background-image:
    radial-gradient(1100px 640px at 80% 6%, rgba(46, 98, 190, .30), transparent 62%),
    radial-gradient(900px 520px at 4% 104%, rgba(71, 217, 234, .10), transparent 62%),
    linear-gradient(180deg, #081736 0%, #050c20 100%);
  transition: opacity .35s ease;
}
.slide::before {
  content: ""; position: absolute; inset: 0 0 38% 0; pointer-events: none; opacity: .52;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(225, 238, 255, .9) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 50% 50%, rgba(170, 215, 255, .7) 0 1px, transparent 1.6px);
  background-size: 173px 131px, 257px 197px;
  background-position: 31px 17px, 97px 61px;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}
.slide.plain::before { display: none; }
.slide > * { position: absolute; }
.slide .bg,
.slide .bg-vid {
  left: 0; top: 0; width: 1920px; height: 1080px; max-width: none; max-height: none;
  object-fit: cover; object-position: center bottom; pointer-events: none;
}
.slide .bg { opacity: var(--bgo, .85); }
.slide .bg-vid { opacity: 0; transition: opacity .65s ease; object-position: center center; }
.slide .bg-vid.live { opacity: var(--bgo, .84); }
.slide .shade { inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6, 16, 36, .95) 0%, rgba(6, 16, 36, .76) 42%, rgba(6, 16, 36, .18) 74%, rgba(6, 16, 36, .04) 100%); }
.slide .shade.top { background: linear-gradient(180deg, rgba(6, 16, 36, .95) 0%, rgba(6, 16, 36, .64) 44%, rgba(6, 16, 36, .16) 76%); }
.slide .shade.full { background: rgba(6, 16, 36, .72); }
.slide .shade.none { display: none; }
.slide svg.scene { left: 0; top: 0; width: 1920px; height: 1080px; max-width: none; max-height: none; overflow: visible; pointer-events: none; }
.brand { right: 72px; top: 48px; font: 600 22px/1 var(--title); letter-spacing: .2em; color: var(--dim); pointer-events: none; }

/* ---------- type scale ---------- */
.k { font: 600 26px/1.3 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.h-xl { margin: 0; font: 700 108px/1.05 var(--title); color: var(--fg); text-wrap: balance; }
.h-l { margin: 0; font: 700 82px/1.09 var(--title); color: var(--fg); text-wrap: balance; }
.h-m { margin: 0; font: 600 56px/1.15 var(--title); color: var(--fg); text-wrap: balance; }
.h-s { margin: 0; font: 600 38px/1.2 var(--title); color: var(--fg); }
.p-l { margin: 0; font: 400 38px/1.45 var(--body); color: var(--sub); }
.p-m { margin: 0; font: 400 30px/1.46 var(--body); color: var(--sub); }
.p-s { margin: 0; font: 500 25px/1.42 var(--body); color: var(--dim); }
html.th .k { letter-spacing: .02em; font-size: 25px; }
html.th .h-xl { font-size: 94px; line-height: 1.28; }
html.th .h-l { font-size: 74px; line-height: 1.3; }
html.th .h-m { font-size: 50px; line-height: 1.34; }
html.th .h-s { font-size: 35px; line-height: 1.38; }
html.th .p-l { font-size: 35px; line-height: 1.58; }
html.th .p-m { font-size: 29px; line-height: 1.58; }
html.th .p-s { font-size: 24px; line-height: 1.54; }
em { font-style: normal; color: var(--amber); }
em.c { color: var(--cyan); } em.r { color: var(--red); } em.g { color: var(--green); } em.w { color: var(--fg); }
code, .mono { font-family: var(--mono); font-size: .9em; color: var(--cyan); }

/* ---------- beats ---------- */
[data-b] { opacity: 0; transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
[data-b].in { opacity: 1; }
[data-b].fx-up { transform: translateY(34px); }
[data-b].fx-left { transform: translateX(-44px); }
[data-b].fx-right { transform: translateX(44px); }
[data-b].fx-pop { transform: scale(.64); }
.fx-up.in, .fx-left.in, .fx-right.in { transform: none; }
.fx-pop.in { transform: none; transition: opacity .3s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
svg .fx-pop, svg .fx-up, svg .fx-left { transform-box: fill-box; transform-origin: center; }
.out, [data-b].in.out { opacity: 0 !important; transition: opacity .4s ease !important; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s ease, opacity .3s; }
.draw.in, .in .draw, g:not([data-b]) > .draw { stroke-dashoffset: 0; }
.nt, .nt *, .nt *::before, .nt *::after { transition: none !important; }
.nt .out, .nt [data-b].in.out { transition: none !important; }

/* ---------- stickman rig ---------- */
.actor { --ink: #e6efff; --head: #0b1a33; --glow: rgba(120, 200, 255, .45); filter: drop-shadow(0 0 7px var(--glow)); }
.actor .sm-root { --sw: calc(var(--stroke, 7px) / var(--s, 1)); }
.actor line, .actor .ln { stroke: var(--ink); stroke-width: var(--sw); stroke-linecap: round; fill: none; }
.actor .hd { fill: var(--head); stroke: var(--ink); stroke-width: var(--sw); }
.actor .back { opacity: .62; }
.actor .acc { stroke: var(--ink); stroke-width: calc(var(--sw) * .6); fill: none; stroke-linecap: round; }
.actor .prop { fill: var(--prop, #0b1a33); stroke: var(--ink); stroke-width: calc(var(--sw) * .6); stroke-linejoin: round; }
.actor .prop line { stroke-width: calc(var(--sw) * .6); }
.actor .visor, .actor .tip { fill: var(--visor, #47d9ea); stroke: none; }
.actor.gone { opacity: 0 !important; transition: opacity .5s; }
.role-defender, .role-engineer { --glow: rgba(71, 217, 234, .65); }
.role-boss { --glow: rgba(255, 181, 71, .45); }
.role-boss .tie { fill: var(--amber); stroke: none; }
.role-attacker { --ink: #030a17; --head: #030a17; filter: drop-shadow(0 0 1.5px #ff5d7a) drop-shadow(0 0 12px rgba(255, 93, 122, .5)); }
.role-attacker .hood { fill: #030a17; stroke: #030a17; stroke-width: var(--sw); stroke-linejoin: round; }
.role-attacker .eye { fill: var(--red); }
.role-attacker .prop { fill: #0b1a33; stroke: #ff8fa3; }
.role-burglar { --glow: rgba(150, 170, 210, .35); }
.role-burglar .beanie { fill: #2b3b63; stroke: var(--ink); stroke-width: calc(var(--sw) * .6); }
.role-burglar .mask { fill: #030a17; stroke: var(--ink); stroke-width: calc(var(--sw) * .5); }
.role-ai { --visor: #e6efff; --glow: rgba(200, 220, 255, .45); }
.role-logbot { --visor: #ffb547; --glow: rgba(255, 181, 71, .45); }
.role-rogue { --visor: var(--red); --glow: rgba(255, 93, 122, .6); }
.role-guardian { --visor: var(--cyan); --glow: rgba(71, 217, 234, .75); }
.role-guardian .prop { fill: #0f2a4f; stroke: var(--cyan); }
.role-agent { --visor: var(--amber); --glow: rgba(255, 181, 71, .55); }
.role-agent .prop { stroke: var(--amber); }
.role-lightagent { --visor: var(--cyan); --glow: rgba(71, 217, 234, .75); }
.role-lightagent .badge { fill: var(--cyan); stroke: none; }

/* ---------- scene parts ---------- */
.tw-body { fill: #0d1f3d; stroke: #1b3970; stroke-width: 3; }
.win { fill: #12284c; stroke: #0a1a36; stroke-width: 2; transition: fill .5s; }
.win.lit { fill: #2f8fa6; }
.win.chink.open { fill: var(--amber); }
.glow { fill: var(--amber); opacity: 0; filter: blur(14px); transition: opacity .6s; }
.glow.open { opacity: .6; }
.door { fill: #0a1730; stroke: #2a4c8a; stroke-width: 3; transition: fill .5s; }
.door.open { fill: var(--amber); }
.roof { fill: #081630; stroke: #173263; stroke-width: 3; }
.ledge, .ground { stroke: #1f3a6e; stroke-width: 3; }
.floor { fill: #071228; opacity: .85; }
.rk { fill: #0b1a33; stroke: #2a4c8a; stroke-width: 3; }
.ru { fill: #10244a; stroke: #1d3a70; stroke-width: 2; }
.ru-l { stroke: #2b4f8f; stroke-width: 4; stroke-linecap: round; }
.led { fill: var(--green); animation: blink 1.6s steps(2, jump-none) infinite; }
.led.warn { fill: var(--amber); } .led.bad { fill: var(--red); }
@keyframes blink { 50% { opacity: .25; } }
.padlock .lk { fill: #0b1a33; stroke: var(--cyan); stroke-width: 5; transition: stroke .4s; }
.padlock .shackle { fill: none; stroke: var(--cyan); stroke-width: 9; stroke-linecap: round; transform-box: fill-box; transform-origin: 100% 100%; transition: transform .5s ease, stroke .4s; }
.padlock .kh { fill: var(--cyan); stroke: var(--cyan); stroke-width: 4; transition: fill .4s, stroke .4s; }
.padlock.open .shackle { transform: translateY(-12px) rotate(-30deg); }
.padlock.open .shackle, .padlock.open .lk { stroke: var(--amber); }
.padlock.open .kh { fill: var(--amber); stroke: var(--amber); }
.padlock.bad .shackle, .padlock.bad .lk { stroke: var(--red); }
.padlock.bad .kh { fill: var(--red); stroke: var(--red); }
.icg { color: var(--cyan); }
.icg.r { color: var(--red); } .icg.a { color: var(--amber); } .icg.g { color: var(--green); } .icg.w { color: var(--fg); } .icg.d { color: var(--dim); }
.pl { fill: #0e2147; stroke: var(--cyan); stroke-width: 4; }
.pl-h { fill: var(--cyan); }
.pl-l { fill: #2b4f8f; }
.pl-ok { stroke: var(--green); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pl-ok.hide { display: none; }
.plandoc.r .pl { stroke: var(--red); } .plandoc.r .pl-h { fill: var(--red); }
.gate .gt-p { fill: #0e2147; stroke: #2f5aa6; stroke-width: 4; }
.gate .gt-bar { fill: var(--red); transform-box: fill-box; transform-origin: 0 50%; transition: transform .6s ease, fill .4s; }
.gate.open .gt-bar { fill: var(--green); transform: rotate(-80deg); }
.gate .gt-lamp { fill: var(--red); transition: fill .4s; }
.gate.open .gt-lamp { fill: var(--green); }
.idc { fill: #0e2147; stroke: var(--cyan); stroke-width: 4; }
.idc-a { fill: none; stroke: var(--cyan); stroke-width: 4; }
.idc-l { fill: #2b4f8f; }
.idcard.r .idc, .idcard.r .idc-a { stroke: var(--red); }
.seal circle { fill: var(--green); }
.seal path { stroke: #04121f; stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.arw { fill: none; stroke: var(--cyan); stroke-width: 6; stroke-linecap: round; }
.arw-h { fill: var(--cyan); opacity: 0; transition: opacity .3s .9s; }
.arrow.in .arw-h, .arrow:not([data-b]) .arw-h { opacity: 1; }
.arrow.r .arw { stroke: var(--red); } .arrow.r .arw-h { fill: var(--red); }
.arrow.a .arw { stroke: var(--amber); } .arrow.a .arw-h { fill: var(--amber); }
.arrow.g .arw { stroke: var(--green); } .arrow.g .arw-h { fill: var(--green); }
.arrow.w .arw { stroke: var(--fg); } .arrow.w .arw-h { fill: var(--fg); }
.clk-f { fill: #0b1a33; stroke: var(--cyan); stroke-width: 5; }
.clk-h { stroke: var(--fg); stroke-width: 6; stroke-linecap: round; }
.clk-m { animation: spin 2.4s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.cal-b { fill: #0e2147; stroke: #2f5aa6; stroke-width: 4; }
.cal-t { fill: var(--red); }
.cal-n { font: 700 64px var(--title); fill: var(--fg); }
.zz { font-family: var(--title); font-weight: 700; fill: var(--sub); animation: zz 2.4s ease-in-out infinite; opacity: 0; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(30px, -60px); } }
.wire { fill: none; stroke: #1f3d74; stroke-width: 4; stroke-dasharray: 10 10; }
.pk { fill: var(--cyan); }
.flow.r .pk { fill: var(--red); } .flow.a .pk { fill: var(--amber); } .flow.g .pk { fill: var(--green); }
.flow.r .wire { stroke: #5a2440; }
.svgt { font: 600 34px var(--title); fill: var(--fg); }
.win-hi { fill: var(--cyan); filter: drop-shadow(0 0 10px rgba(71, 217, 234, .9)); }
.tower.alarm .win { fill: #4a1428; }
.tower.alarm .win.lit, .tower.alarm .win.chink { fill: var(--red); }
.tower.alarm .tw-body { stroke: var(--red); }
.s-line { fill: none; stroke: #2a4c8a; stroke-width: 4; stroke-linecap: round; }
.s-box { fill: #0b1a33; stroke: #2a4c8a; stroke-width: 4; }
.s-cyan { fill: var(--cyan); } .s-amber { fill: var(--amber); } .s-red { fill: var(--red); }
.crack { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.moon { fill: #e8eefc; opacity: .9; }
.beam { width: 1000px; height: 150px; margin-top: -75px; transform-origin: 0 50%; clip-path: polygon(0 50%, 100% 0, 100% 100%); background: linear-gradient(90deg, var(--bc, rgba(71, 217, 234, .30)) 0%, transparent 95%); transform: rotate(var(--lock, 0deg)); pointer-events: none; }
.beam.tone-r { --bc: rgba(255, 93, 122, .32); }
.beam.tone-a { --bc: rgba(255, 181, 71, .32); }
.beam.in { animation: sweep 4.2s ease-in-out infinite alternate; }
.beam.lock { animation: none; height: 56px; margin-top: -28px; transition: opacity .6s, height .6s ease, margin .6s ease; }
@keyframes sweep { from { transform: rotate(calc(var(--lock, 0deg) - 26deg)); } to { transform: rotate(calc(var(--lock, 0deg) + 22deg)); } }

/* ---------- overlays: captions, labels, speech ---------- */
.capbox { left: 120px; bottom: 88px; max-width: 1680px; padding: 24px 36px 28px; display: grid; gap: 8px; background: rgba(6, 16, 36, .93); border-left: 6px solid var(--cyan); border-radius: 6px 18px 18px 6px; border-top: 1px solid rgba(71, 217, 234, .22); border-right: 1px solid rgba(71, 217, 234, .22); border-bottom: 1px solid rgba(71, 217, 234, .22); }
.capbox.top { bottom: auto; top: 96px; }
.capbox.right { left: auto; right: 120px; }
.capbox.tone-r { border-left-color: var(--red); border-color: rgba(255, 93, 122, .28); border-left-width: 6px; }
.capbox.tone-a { border-left-color: var(--amber); border-color: rgba(255, 181, 71, .28); border-left-width: 6px; }
.capbox.tone-g { border-left-color: var(--green); border-color: rgba(94, 230, 168, .28); border-left-width: 6px; }
.capbox .p-m { color: var(--sub); }
.lab { padding: 11px 20px; font: 700 29px/1.25 var(--title); border-radius: 10px; border: 2px solid currentColor; background: rgba(6, 16, 36, .94); white-space: nowrap; }
html.th .lab { font-size: 27px; line-height: 1.38; }
.lab.c, .say.c { translate: -50% 0; }
.lab.tone-a { color: #ffc56b; } .lab.tone-r { color: #ff8fa3; } .lab.tone-c { color: #7fe6f2; } .lab.tone-g { color: #7ff0bd; } .lab.tone-w { color: var(--fg); }
.say { --sb: #f1f5ff; padding: 16px 24px; background: var(--sb); color: #0b1430; font: 600 30px/1.35 var(--body); border-radius: 20px; }
html.th .say { font-size: 28px; line-height: 1.48; }
.say.tone-r { --sb: #ffe1e7; color: #3a0611; }
.say.tone-c { --sb: #dcf8fb; color: #04222a; }
.say.tone-a { --sb: #ffefd4; color: #2e1a00; }
.say::after { content: ""; position: absolute; width: 0; height: 0; }
.say.tail-bl::after { left: 46px; top: 100%; border-top: 22px solid var(--sb); border-right: 22px solid transparent; }
.say.tail-br::after { right: 46px; top: 100%; border-top: 22px solid var(--sb); border-left: 22px solid transparent; }
.say.tail-tl::after { left: 46px; bottom: 100%; border-bottom: 22px solid var(--sb); border-right: 22px solid transparent; }
.say.tail-tr::after { right: 46px; bottom: 100%; border-bottom: 22px solid var(--sb); border-left: 22px solid transparent; }
.note { left: 120px; bottom: 64px; max-width: 1560px; font: 500 22px/1.4 var(--body); color: var(--dim); }
html.th .note { font-size: 21px; line-height: 1.5; }
.counter { font: 700 56px/1 var(--title); color: var(--fg); text-align: center; letter-spacing: .04em; }

/* ---------- templates ---------- */
.tb { left: 120px; top: 140px; display: grid; gap: 22px; align-content: start; }
.head { left: 120px; top: 82px; width: 1380px; display: grid; gap: 8px; }
.hero-pill { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px; background: rgba(10, 26, 56, .92); border: 2px solid var(--cyan); font: 600 26px/1.25 var(--title); color: var(--cyan); }
.hero-pill .ic { width: 28px; height: 28px; flex: none; }
.hero-pill.tone-r { border-color: var(--red); color: #ff8fa3; }
.hero-pill.tone-a { border-color: var(--amber); color: #ffc56b; }
.hero-pill.tone-g { border-color: var(--green); color: var(--green); }
.center { left: 160px; right: 160px; top: 88px; bottom: 92px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.center.mid { align-items: center; text-align: center; }
.bigic { width: 136px; height: 136px; color: var(--cyan); }
.bigic .ic { width: 136px; height: 136px; }
.bigic.tone-a { color: var(--amber); } .bigic.tone-r { color: var(--red); } .bigic.tone-g { color: var(--green); }
.statnum { font: 700 224px/.92 var(--title); letter-spacing: -.02em; color: var(--cyan); white-space: nowrap; }
.statnum .suf { font-size: .46em; margin-left: .08em; letter-spacing: 0; }
.statnum.tone-a { color: var(--amber); } .statnum.tone-r { color: var(--red); } .statnum.tone-g { color: var(--green); }
.stat-scope { margin: 0; padding: 8px 22px; border-radius: 999px; background: rgba(11, 28, 60, .92); border: 1.5px solid rgba(71, 217, 234, .45); font: 600 26px/1.35 var(--body); color: var(--cyan); align-self: flex-start; }
.center.mid .stat-scope { align-self: center; }
.cmp { left: 120px; right: 120px; top: 246px; display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.col { position: relative; padding: 30px 36px 34px; border-radius: 22px; background: rgba(9, 22, 48, .93); border: 2px solid var(--edge); display: grid; gap: 18px; }
.col.bad { border-color: rgba(255, 93, 122, .6); }
.col.good { border-color: rgba(71, 217, 234, .65); }
.col-h { display: flex; gap: 16px; align-items: center; }
.col-h .ic { width: 52px; height: 52px; flex: none; }
.col.bad .col-h .ic { color: var(--red); } .col.good .col-h .ic { color: var(--cyan); }
.row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font: 400 29px/1.42 var(--body); color: var(--fg); }
html.th .row { font-size: 28px; line-height: 1.54; }
.row .mk { width: 36px; height: 36px; margin-top: 3px; }
.col.bad .mk { color: var(--red); } .col.good .mk { color: var(--cyan); }
.dband { z-index: 0; height: 26px; margin-top: -13px; border-radius: 13px; background: rgba(255, 93, 122, .35); box-shadow: 0 0 30px rgba(255, 93, 122, .45); }
.mk-t { z-index: 1; }
.tl-axis { height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(71, 217, 234, .12), rgba(71, 217, 234, .7), rgba(71, 217, 234, .12)); }
.mk-t { width: 360px; margin-left: -180px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.mk-t.up { flex-direction: column-reverse; }
.mk-t i { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 8px rgba(71, 217, 234, .18); }
.mk-t b { font: 700 34px/1.15 var(--title); color: var(--cyan); }
.mk-t span { font: 400 26px/1.4 var(--body); color: var(--sub); }
html.th .mk-t b { font-size: 32px; line-height: 1.35; }
html.th .mk-t span { font-size: 25px; line-height: 1.55; }
.mk-t.tone-a i { background: var(--amber); box-shadow: 0 0 0 8px rgba(255, 181, 71, .2); } .mk-t.tone-a b { color: var(--amber); }
.mk-t.tone-r i { background: var(--red); box-shadow: 0 0 0 8px rgba(255, 93, 122, .2); } .mk-t.tone-r b { color: var(--red); }
.mk-t.tone-g i { background: var(--green); box-shadow: 0 0 0 8px rgba(94, 230, 168, .2); } .mk-t.tone-g b { color: var(--green); }
.ring { fill: none; stroke: rgba(71, 217, 234, .45); stroke-width: 5; }
.node { width: 270px; margin-left: -135px; margin-top: -60px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.node-ic { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: #0b1a33; border: 3px solid currentColor; color: var(--cyan); box-shadow: 0 0 30px rgba(71, 217, 234, .25); }
.node-ic .ic { width: 54px; height: 54px; }
.node-ic.tone-a { color: var(--amber); } .node-ic.tone-r { color: var(--red); } .node-ic.tone-g { color: var(--green); }
.node b { font: 700 31px/1.18 var(--title); color: var(--fg); background: rgba(6, 16, 36, .92); padding: 4px 12px; border-radius: 8px; }
.node span { font: 400 24px/1.35 var(--body); color: var(--sub); background: rgba(6, 16, 36, .92); padding: 2px 10px; border-radius: 6px; }
html.th .node b { font-size: 29px; line-height: 1.35; }
.ring-c { width: 340px; height: 200px; display: grid; place-items: center; text-align: center; font: 700 40px/1.22 var(--title); color: var(--fg); }
html.th .ring-c { font-size: 36px; line-height: 1.4; }
.cards { left: 120px; right: 120px; bottom: 180px; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 28px; align-content: safe center; }
.card { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 28px 32px; border-radius: 22px; background: linear-gradient(180deg, rgba(17, 38, 78, .94), rgba(9, 22, 48, .94)); border: 2px solid var(--edge); }
.card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -2px; height: 4px; border-radius: 2px; background: var(--cyan); }
.card.tone-a::before { background: var(--amber); } .card.tone-r::before { background: var(--red); } .card.tone-g::before { background: var(--green); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .ic { width: 56px; height: 56px; color: var(--cyan); flex: none; }
.card.tone-a .ic { color: var(--amber); } .card.tone-r .ic { color: var(--red); } .card.tone-g .ic { color: var(--green); }
.card-stat { font: 700 32px/1 var(--title); color: var(--cyan); }
.card.tone-a .card-stat { color: var(--amber); } .card.tone-r .card-stat { color: var(--red); } .card.tone-g .card-stat { color: var(--green); }
.card h3 { margin: 0; font: 600 34px/1.22 var(--title); color: var(--fg); }
.card p { margin: 0; font: 400 26px/1.45 var(--body); color: var(--sub); }
html.th .card h3 { font-size: 32px; line-height: 1.35; }
html.th .card p { font-size: 25px; line-height: 1.56; }
.shotimg { border-radius: 14px; overflow: hidden; background: #0b1530; border: 2px solid #2a4a85; box-shadow: 0 0 0 8px rgba(71, 217, 234, .06), 0 30px 80px -30px rgba(0, 0, 0, .8); }
.shotimg img { display: block; width: 100%; height: auto; max-height: none; }
.shotimg .bar { height: 38px; padding: 0 16px; display: flex; gap: 10px; align-items: center; background: #0d1d3d; }
.shotimg .bar i { width: 12px; height: 12px; border-radius: 50%; background: #2a4a85; }
.shotimg .bar-cap { margin-left: 8px; font: 500 18px/1 var(--mono); color: var(--dim); }
.dot { position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--amber); color: #1b1100; font: 700 28px/56px var(--title); text-align: center; box-shadow: 0 0 0 8px rgba(255, 181, 71, .3); }
.bul { position: relative; padding-left: 36px; }
.bul::before { content: ""; position: absolute; left: 2px; top: .62em; width: 13px; height: 13px; border-radius: 3px; background: var(--cyan); transform: rotate(45deg); }
.vlist { display: grid; gap: 20px; margin-top: 6px; }
.vrow { display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: baseline; }
.vnum { font: 700 44px/1 var(--title); color: var(--amber); }
.vrow .p-l { color: var(--fg); }
.nextbtn { align-self: flex-start; margin-top: 12px; display: inline-flex; gap: 14px; align-items: center; padding: 18px 32px; border-radius: 999px; background: var(--cyan); color: #04121f; font: 700 30px/1.2 var(--title); text-decoration: none; }
.nextbtn .ic { width: 32px; height: 32px; }
.center.mid .nextbtn { align-self: center; }

/* ---------- Infographic Show Builders (diagram, comparison, eventTimeline, banner) ---------- */
.ig-banner {
  left: 120px; right: 120px; bottom: 110px; padding: 18px 28px; border-radius: 16px;
  background: rgba(7, 18, 42, .95); border: 2px solid rgba(71, 217, 234, .42); border-left: 7px solid var(--cyan);
  display: flex; align-items: center; gap: 20px;
}
.ig-banner.tone-r { border-color: rgba(255, 93, 122, .45); border-left-color: var(--red); }
.ig-banner.tone-a { border-color: rgba(255, 181, 71, .45); border-left-color: var(--amber); }
.ig-banner.tone-g { border-color: rgba(94, 230, 168, .45); border-left-color: var(--green); }
.ig-ban-ic { width: 48px; height: 48px; flex: none; color: var(--cyan); display: grid; place-items: center; }
.ig-ban-ic .ic { width: 44px; height: 44px; }
.ig-banner.tone-r .ig-ban-ic { color: var(--red); }
.ig-banner.tone-a .ig-ban-ic { color: var(--amber); }
.ig-banner.tone-g .ig-ban-ic { color: var(--green); }
.ig-ban-body { display: grid; gap: 3px; min-width: 0; }
.ig-ban-k { font: 700 20px/1.2 var(--title); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
html.th .ig-ban-k { letter-spacing: .02em; font-size: 20px; }
.ig-banner.tone-r .ig-ban-k { color: #ff8fa3; }
.ig-banner.tone-a .ig-ban-k { color: #ffc56b; }
.ig-banner.tone-g .ig-ban-k { color: var(--green); }
.ig-ban-t { font: 500 27px/1.38 var(--body); color: var(--fg); }
html.th .ig-ban-t { font-size: 26px; line-height: 1.5; }

/* LS.diagram */
.dg-zone { fill: rgba(9, 24, 54, .55); stroke: rgba(71, 217, 234, .42); stroke-width: 3; }
.dg-zone.dashed { stroke-dasharray: 14 10; }
.dg-zone.tone-r { fill: rgba(46, 10, 26, .46); stroke: rgba(255, 93, 122, .5); }
.dg-zone.tone-a { fill: rgba(44, 28, 8, .42); stroke: rgba(255, 181, 71, .5); }
.dg-zone.tone-g { fill: rgba(8, 38, 34, .46); stroke: rgba(94, 230, 168, .5); }
.dg-zone-lbl { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px; background: rgba(6, 16, 36, .94); border: 1.5px solid rgba(71, 217, 234, .5); font: 700 21px/1.2 var(--title); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
html.th .dg-zone-lbl { letter-spacing: .02em; font-size: 21px; }
.dg-zone-lbl .ic { width: 22px; height: 22px; }
.dg-zone-lbl.tone-r { border-color: rgba(255, 93, 122, .6); color: #ff8fa3; }
.dg-zone-lbl.tone-a { border-color: rgba(255, 181, 71, .6); color: #ffc56b; }
.dg-zone-lbl.tone-g { border-color: rgba(94, 230, 168, .6); color: var(--green); }
.dg-block circle { fill: #2b0916; stroke: var(--red); stroke-width: 4; }
.dg-block path { stroke: var(--red); stroke-width: 5; stroke-linecap: round; fill: none; }
.dg-edge-lbl { translate: -50% -50%; padding: 7px 16px; border-radius: 999px; background: rgba(6, 16, 36, .95); border: 1.5px solid var(--cyan); font: 700 22px/1.2 var(--title); color: var(--cyan); white-space: nowrap; }
html.th .dg-edge-lbl { font-size: 21px; }
.dg-edge-lbl.tone-r { border-color: var(--red); color: #ff8fa3; }
.dg-edge-lbl.tone-a { border-color: var(--amber); color: #ffc56b; }
.dg-edge-lbl.tone-g { border-color: var(--green); color: var(--green); }
.dg-node {
  padding: 22px 26px 24px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 35, 74, .95), rgba(8, 19, 42, .96));
  border: 2px solid rgba(71, 217, 234, .48);
  box-shadow: 0 20px 48px -24px rgba(0, 0, 0, .85);
  display: grid; gap: 10px; align-content: start;
}
.dg-node.tone-r { border-color: rgba(255, 93, 122, .58); }
.dg-node.tone-a { border-color: rgba(255, 181, 71, .58); }
.dg-node.tone-g { border-color: rgba(94, 230, 168, .58); }
.dg-nd-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dg-ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(71, 217, 234, .12); color: var(--cyan); display: grid; place-items: center; flex: none; }
.dg-ic .ic { width: 28px; height: 28px; }
.dg-node.tone-r .dg-ic { background: rgba(255, 93, 122, .14); color: var(--red); }
.dg-node.tone-a .dg-ic { background: rgba(255, 181, 71, .14); color: var(--amber); }
.dg-node.tone-g .dg-ic { background: rgba(94, 230, 168, .14); color: var(--green); }
.dg-stat { font: 700 30px/1 var(--title); color: var(--cyan); }
.dg-node.tone-r .dg-stat { color: var(--red); }
.dg-node.tone-a .dg-stat { color: var(--amber); }
.dg-node.tone-g .dg-stat { color: var(--green); }
.dg-k { font: 700 20px/1.2 var(--title); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
html.th .dg-k { letter-spacing: .02em; }
.dg-node h3 { margin: 0; font: 600 31px/1.22 var(--title); color: var(--fg); }
.dg-node p { margin: 0; font: 400 24px/1.44 var(--body); color: var(--sub); }
html.th .dg-node h3 { font-size: 29px; line-height: 1.35; }
html.th .dg-node p { font-size: 23px; line-height: 1.54; }

/* LS.comparison (Arena & Scale Bars) */
.ig-arena {
  left: 120px; right: 120px;
  display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); gap: 22px; align-items: stretch;
}
.ig-vs {
  width: 74px; height: 74px; border-radius: 50%; place-self: center;
  background: #0b1a33; border: 3px solid var(--amber); color: var(--amber);
  display: grid; place-items: center; font: 700 26px/1 var(--title); letter-spacing: .06em;
  box-shadow: 0 0 28px rgba(255, 181, 71, .28);
}
.ig-side {
  padding: 28px 32px 32px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 33, 68, .95), rgba(8, 19, 42, .96));
  border: 2px solid rgba(71, 217, 234, .52);
  display: grid; gap: 20px; align-content: start;
}
.ig-side.tone-r { border-color: rgba(255, 93, 122, .58); }
.ig-side.tone-a { border-color: rgba(255, 181, 71, .58); }
.ig-side.tone-g { border-color: rgba(94, 230, 168, .58); }
.ig-side-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(138, 153, 191, .2); }
.ig-side-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ig-side-title .ic { width: 46px; height: 46px; flex: none; color: var(--cyan); }
.ig-side.tone-r .ig-side-title .ic { color: var(--red); }
.ig-side.tone-a .ig-side-title .ic { color: var(--amber); }
.ig-side.tone-g .ig-side-title .ic { color: var(--green); }
.ig-side-k { font: 700 19px/1.2 var(--title); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
html.th .ig-side-k { letter-spacing: .02em; }
.ig-side-title h3 { margin: 0; font: 600 34px/1.2 var(--title); color: var(--fg); }
html.th .ig-side-title h3 { font-size: 31px; line-height: 1.34; }
.ig-side-metric { text-align: right; flex: none; }
.ig-side-metric b { display: block; font: 700 48px/1 var(--title); color: var(--cyan); }
.ig-side.tone-r .ig-side-metric b { color: var(--red); }
.ig-side.tone-a .ig-side-metric b { color: var(--amber); }
.ig-side.tone-g .ig-side-metric b { color: var(--green); }
.ig-side-metric span { font: 500 20px/1.2 var(--body); color: var(--dim); }
.ig-side-rows { display: grid; gap: 15px; }
.ig-side-row { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font: 400 27px/1.42 var(--body); color: var(--fg); }
html.th .ig-side-row { font-size: 26px; line-height: 1.54; }
.ig-side-row .mk { width: 32px; height: 32px; margin-top: 3px; color: var(--cyan); }
.ig-side.tone-r .ig-side-row .mk { color: var(--red); }
.ig-side.tone-a .ig-side-row .mk { color: var(--amber); }
.ig-side.tone-g .ig-side-row .mk { color: var(--green); }

.ig-bars { left: 120px; right: 120px; display: grid; gap: 20px; }
.ig-bar-row {
  padding: 20px 28px 22px; border-radius: 18px;
  background: rgba(9, 22, 48, .94); border: 2px solid rgba(71, 217, 234, .38);
  display: grid; gap: 10px;
}
.ig-bar-row.tone-r { border-color: rgba(255, 93, 122, .48); }
.ig-bar-row.tone-a { border-color: rgba(255, 181, 71, .48); }
.ig-bar-row.tone-g { border-color: rgba(94, 230, 168, .48); }
.ig-bar-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.ig-bar-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ig-bar-title .ic { width: 34px; height: 34px; color: var(--cyan); flex: none; }
.ig-bar-row.tone-r .ig-bar-title .ic { color: var(--red); }
.ig-bar-row.tone-a .ig-bar-title .ic { color: var(--amber); }
.ig-bar-row.tone-g .ig-bar-title .ic { color: var(--green); }
.ig-bar-title b { font: 600 31px/1.25 var(--title); color: var(--fg); }
html.th .ig-bar-title b { font-size: 29px; line-height: 1.38; }
.ig-bar-val { font: 700 44px/1 var(--title); color: var(--cyan); white-space: nowrap; }
.ig-bar-row.tone-r .ig-bar-val { color: var(--red); }
.ig-bar-row.tone-a .ig-bar-val { color: var(--amber); }
.ig-bar-row.tone-g .ig-bar-val { color: var(--green); }
.ig-bar-track { height: 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ig-bar-fill { height: 100%; width: var(--pct, 50%); border-radius: 999px; background: linear-gradient(90deg, rgba(71, 217, 234, .45), var(--cyan)); }
.ig-bar-row.tone-r .ig-bar-fill { background: linear-gradient(90deg, rgba(255, 93, 122, .45), var(--red)); }
.ig-bar-row.tone-a .ig-bar-fill { background: linear-gradient(90deg, rgba(255, 181, 71, .45), var(--amber)); }
.ig-bar-row.tone-g .ig-bar-fill { background: linear-gradient(90deg, rgba(94, 230, 168, .45), var(--green)); }
.ig-bar-note { font: 400 24px/1.4 var(--body); color: var(--sub); }
html.th .ig-bar-note { font-size: 23px; line-height: 1.52; }

/* LS.eventTimeline */
.ev-rail { stroke: rgba(71, 217, 234, .22); stroke-width: 6; stroke-linecap: round; }
.ev-seg { stroke: var(--cyan); stroke-width: 6; stroke-linecap: round; }
.ev-seg.tone-r { stroke: var(--red); }
.ev-seg.tone-a { stroke: var(--amber); }
.ev-seg.tone-g { stroke: var(--green); }
.ev-dot { fill: var(--cyan); stroke: #061024; stroke-width: 5; }
.ev-dot.tone-r { fill: var(--red); }
.ev-dot.tone-a { fill: var(--amber); }
.ev-dot.tone-g { fill: var(--green); }
.ev-grid {
  left: 120px; right: 120px;
  display: grid; grid-template-columns: repeat(var(--ev-cols, 4), minmax(0, 1fr)); gap: 24px; align-items: stretch;
}
.ev-card {
  padding: 24px 26px 28px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 35, 74, .95), rgba(8, 19, 42, .96));
  border: 2px solid rgba(71, 217, 234, .46);
  display: grid; gap: 10px; align-content: start;
}
.ev-card.tone-r { border-color: rgba(255, 93, 122, .56); }
.ev-card.tone-a { border-color: rgba(255, 181, 71, .56); }
.ev-card.tone-g { border-color: rgba(94, 230, 168, .56); }
.ev-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ev-time { font: 700 32px/1.1 var(--mono); color: var(--cyan); }
.ev-card.tone-r .ev-time { color: var(--red); }
.ev-card.tone-a .ev-time { color: var(--amber); }
.ev-card.tone-g .ev-time { color: var(--green); }
.ev-ic { width: 40px; height: 40px; color: var(--cyan); display: grid; place-items: center; flex: none; }
.ev-ic .ic { width: 32px; height: 32px; }
.ev-card.tone-r .ev-ic { color: var(--red); }
.ev-card.tone-a .ev-ic { color: var(--amber); }
.ev-card.tone-g .ev-ic { color: var(--green); }
.ev-badge { justify-self: start; padding: 4px 12px; border-radius: 999px; background: rgba(71, 217, 234, .14); font: 700 19px/1.25 var(--title); letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
html.th .ev-badge { letter-spacing: .02em; font-size: 19px; }
.ev-card.tone-r .ev-badge { background: rgba(255, 93, 122, .16); color: #ff8fa3; }
.ev-card.tone-a .ev-badge { background: rgba(255, 181, 71, .16); color: #ffc56b; }
.ev-card.tone-g .ev-badge { background: rgba(94, 230, 168, .16); color: var(--green); }
.ev-card h3 { margin: 0; font: 600 30px/1.24 var(--title); color: var(--fg); }
.ev-card p { margin: 0; font: 400 24px/1.45 var(--body); color: var(--sub); }
html.th .ev-card h3 { font-size: 28px; line-height: 1.36; }
html.th .ev-card p { font-size: 23px; line-height: 1.54; }

/* ---------- hub ---------- */
.hub-tb { top: 96px; width: 1560px; gap: 16px; }
.tiles { left: 120px; right: 120px; top: 506px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.tile { display: grid; gap: 8px; align-content: start; padding: 22px 26px 24px; border-radius: 20px; background: rgba(8, 20, 44, .92); border: 2px solid var(--edge); color: var(--fg); text-decoration: none; transition: border-color .2s, transform .2s; }
.tile:hover, .tile:focus-visible { border-color: var(--cyan); transform: translateY(-4px); outline: none; }
.tile .no { font: 700 26px/1 var(--title); color: var(--amber); letter-spacing: .06em; }
.tile h3 { margin: 0; font: 600 32px/1.22 var(--title); }
.tile p { margin: 0; font: 400 23px/1.44 var(--body); color: var(--sub); }
html.th .tile h3 { font-size: 30px; line-height: 1.35; }
html.th .tile p { font-size: 22px; line-height: 1.54; }
.tile.start { background: rgba(9, 40, 60, .94); border-color: var(--cyan); }
.tile.start .no .ic { width: 28px; height: 28px; color: var(--cyan); }

/* ---------- presenter & watch chrome (outside the stage) ---------- */
#prog { position: fixed; left: 0; right: 0; top: 0; z-index: 21; height: 4px; background: rgba(255, 255, 255, .06); }
#prog i { display: block; height: 100%; width: 0; background: var(--cyan); transition: width .35s ease; }
.hud {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(transparent, rgba(2, 6, 15, .92) 45%); color: var(--fg); font: 500 14px/1.2 var(--body); transition: opacity .4s;
}
.hb { width: 38px; height: 38px; padding: 0; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid #2a4170; background: rgba(10, 24, 52, .92); color: var(--fg); cursor: pointer; }
.hb .ic { width: 19px; height: 19px; }
.hb.txt { width: auto; padding: 0 14px; border-radius: 20px; font: 600 14px/1 var(--body); }
.hb:hover { border-color: var(--cyan); }
.hb:focus-visible, .hm:focus-visible, .hud-scrub:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hud-t { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.hud-sp { flex: 1; }
.hud-scrub { width: 150px; accent-color: var(--cyan); cursor: pointer; flex: none; }
.hud-n { color: var(--sub); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.hud-mode { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(8, 20, 44, .94); border: 1px solid #2a4170; flex: none; }
.hm { border: 0; background: transparent; color: var(--sub); padding: 6px 12px; border-radius: 999px; font: 600 13px/1 var(--body); cursor: pointer; white-space: nowrap; }
.hm.on { background: var(--cyan); color: #04121f; }
.at-hub #prog,
.at-hub .hud-n,
.at-hub .hud-scrub,
.at-hub .hud [data-a="prev"],
.at-hub .hud [data-a="next"],
.at-hub .hud [data-a="play"],
.at-hub .hud [data-a="hub"] { display: none; }
body.mode-present #hudPlay,
body.mode-present .hud-scrub { display: none; }
.idle .hud { opacity: 0; }
.idle, .idle * { cursor: none; }
@media (max-width: 720px) {
  .hud-t, .hud-scrub { display: none; }
}

/* ---------- contact sheet (?sheet=epN) ---------- */
html.sheet, html.sheet body { height: auto; overflow: auto; }
.sheet-grid { display: grid; grid-template-columns: repeat(3, 576px); gap: 18px; padding: 18px; }
.thumb { position: relative; width: 576px; height: 324px; overflow: hidden; border-radius: 6px; }
.thumb .deck-stage { transform: scale(.3); }
.thumb .lbl { position: absolute; left: 8px; top: 6px; z-index: 5; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #fff; font: 600 16px/1.3 var(--title); }

/* ---------- motion off ---------- */
html.still .bg-vid,
body.mode-present .bg-vid { display: none !important; }
html.still .beam.in { animation: none; }
html.still .led, html.still .clk-m, html.still .zz { animation: none; }
html.still .zz { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .bg-vid { display: none !important; }
  .beam.in { animation: none; }
  .led, .clk-m, .zz { animation: none; }
  .zz { opacity: 1; }
}
