


@font-face { font-family: 'Geist'; src: url(/fonts/geist-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(/fonts/geist-500.woff2) format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/fonts/geist-mono-400.woff2) format('woff2'); font-weight: 400 500; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #000; --panel: #070707; --raised: #101010;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.15);
  --text: #f5f0e8; --muted: rgba(245,240,232,.66); --faint: rgba(245,240,232,.52);
  --cream: #f3ece0; --ink: #17130d; --brand: 255,159,10;
  --pull: #9cc3ff; --wait: #f0b44c; --fine: #8bd4a8; --down: #ff6b5e;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid rgba(var(--brand),.85); outline-offset: 2px; border-radius: 8px; }
.k { font: 500 12px/1 var(--mono); color: var(--faint); letter-spacing: .04em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd27a, rgb(var(--brand))); display: inline-block; flex: none; }


.home { max-width: 1040px; margin: 0 auto; padding-block: 28px 56px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); display: grid; gap: 64px; }
.top { display: flex; align-items: center; gap: 10px; font: 500 15px/1 var(--mono); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.hero h1 { margin: 0; font: 600 44px/1.05 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.hero p { margin: 16px 0 0; color: var(--muted); font-size: 17px; max-width: 34ch; }
.frame { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #050505; }
.frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.frame .bar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; font: 400 12px/1 var(--mono); color: var(--muted); }
.frame .track { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); position: relative; overflow: hidden; }
.frame .track i { position: absolute; inset: 0; transform-origin: left; background: var(--text); transform: scaleX(.36); }
.frame .track b { position: absolute; inset: 0; transform-origin: left; background: rgba(255,255,255,.3); transform: scaleX(.62); }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.points div { background: var(--panel); padding: 22px; display: grid; gap: 8px; align-content: start; }
.points b { font: 500 15px/1.3 var(--sans); }
.points span { color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 12px/1.5 var(--mono); color: var(--faint); border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .points { grid-template-columns: 1fr; }
}


.watch { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }
.wtop { display: flex; align-items: center; gap: 12px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); background: var(--panel); }
.wtop .t { display: grid; gap: 3px; min-width: 0; flex: 1; }
.wtop .t b { font: 600 15px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtop .t span { font: 400 12px/1.2 var(--mono); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtop a { font: 500 12px/1 var(--mono); color: var(--muted); text-decoration: none; border: 1px solid var(--line2); border-radius: 9px; padding: 10px 12px; white-space: nowrap; }
.stage { position: relative; background: #000; display: grid; place-items: center; min-height: 0; }
.stage video { width: 100%; height: 100%; max-height: calc(100dvh - 210px); display: block; background: #000; }
.stage .spin { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); border-top-color: var(--text); animation: spin 1s linear infinite; opacity: 0; transition: opacity .3s; pointer-events: none; }
.stage.busy .spin { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.note { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font: 400 14px/1.6 var(--mono); color: var(--muted); background: #000; }
.note[hidden] { display: none; }
.lower { background: var(--panel); border-top: 1px solid var(--line); }
.ctl { display: flex; align-items: center; gap: 8px; padding: 10px max(14px, env(safe-area-inset-right, 0px)) 10px max(14px, env(safe-area-inset-left, 0px)); }
.ib { position: relative; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; display: grid; place-items: center; cursor: pointer; flex: none; }
.ib::before { content: ''; position: absolute; inset: -4px; }
@media (hover: hover) { .ib:hover { background: rgba(255,255,255,.08); } }
.ib svg { width: 16px; height: 16px; }
.ib[hidden] { display: none; }
.ib.skip svg { width: 20px; height: 20px; }
.seek { position: relative; flex: 1; height: 24px; cursor: pointer; min-width: 60px; touch-action: none; }
.seek .tr { position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.seek .ld, .seek .pl { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); }
.seek .ld { background: rgba(255,255,255,.3); }
.seek .pl { background: var(--text); }
.seek .marks { position: absolute; left: 0; right: 0; top: 10px; height: 4px; pointer-events: none; }
.seek .marks i { position: absolute; top: 0; width: 2px; height: 4px; margin-left: -1px; background: var(--panel); }


.seek .tip { position: absolute; left: 0; bottom: 30px; z-index: 3; display: grid; justify-items: center; gap: 4px; padding: 6px; border-radius: 10px; background: rgba(12,12,12,.94); border: 1px solid var(--line2); pointer-events: none; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.seek .tip[hidden] { display: none; }
.seek .tip-pic { display: block; width: 160px; height: 90px; border-radius: 6px; background: #000 center / cover no-repeat; }
.seek .tip-pic[hidden] { display: none; }
.seek .tip b { font: 500 12px/1 var(--mono); font-variant-numeric: tabular-nums; padding: 2px 4px; }
.seek .tip span { font: 400 11px/1.2 var(--sans); color: var(--muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; padding: 0 4px 2px; }
.seek .tip span[hidden] { display: none; }
.time { font: 400 12px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.g { background: var(--panel); padding: 12px 16px; display: grid; gap: 6px; min-width: 0; }
.g span { font: 500 11px/1 var(--mono); color: var(--faint); letter-spacing: .04em; }
.g b { font: 400 20px/1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g small { font: 400 11px/1.3 var(--mono); color: var(--muted); }
.log { font: 400 12px/1.6 var(--mono); color: var(--muted); padding: 10px 16px 14px; min-height: 4.8em; }
.log div::before { content: '› '; color: var(--faint); }
.watch.folded .gauges, .watch.folded .log { display: none; }




.watch:fullscreen { background: #000; }
.watch.imm { background: #000; display: block; position: fixed; inset: 0; z-index: 50; min-height: 0; height: 100vh; height: 100dvh; }


.watch.imm .wtop, .watch.imm .gauges, .watch.imm .log, .watch.imm .copies, .watch.imm .tp, .watch.imm .nerd { display: none; }



.watch.imm .stage { position: absolute; inset: 0; display: block; }
.watch.imm .stage video { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; touch-action: none; }
.watch.imm .lower { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; max-height: 100%; overflow-y: auto; background: linear-gradient(transparent, rgba(0,0,0,.82)); border-top: 0; padding-top: 28px; padding-bottom: env(safe-area-inset-bottom, 0px); transition: opacity .35s var(--ease); }
.watch.imm.resting .lower, .watch.imm.resting .skipi { opacity: 0; pointer-events: none; }
.watch.imm.resting { cursor: none; }

.immx { display: none; position: absolute; top: max(12px, env(safe-area-inset-top, 0px)); left: max(12px, env(safe-area-inset-left, 0px)); z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(0,0,0,.5); color: var(--text); place-items: center; cursor: pointer; transition: opacity .35s var(--ease); }
.immx svg { width: 18px; height: 18px; }
.watch.imm.pseudo .immx { display: grid; }
.watch.imm.resting .immx { opacity: 0; pointer-events: none; }

.boot { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; background: radial-gradient(70% 60% at 50% 55%, #14100b, #000); transition: opacity .6s var(--ease); text-align: center; }
.boot.gone { opacity: 0; pointer-events: none; }
.boot-t { font: 500 clamp(20px, 3vw, 30px)/1.15 var(--sans); letter-spacing: -.02em; max-width: 22ch; text-wrap: balance; }
.boot-pieces { display: grid; grid-template-columns: repeat(24, 8px); gap: 5px; height: 40px; align-items: center; }
.boot-pieces i { display: block; height: 100%; border-radius: 3px; background: var(--text); transform: scaleY(.2); opacity: .16; animation: piece 2.4s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes piece { 0% { transform: scaleY(.2); opacity: .16; background: var(--text); } 30% { transform: scaleY(1); opacity: 1; background: #ffc879; } 55% { transform: scaleY(.55); opacity: .7; background: var(--text); } 80%, 100% { transform: scaleY(.2); opacity: .16; background: var(--text); } }
.boot-step { font: 400 12px/1.4 var(--mono); color: var(--muted); min-height: 1.4em; }
.boot-step::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--brand)); margin-right: 8px; vertical-align: 1px; }
.stage.booting .spin { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .boot-pieces i { animation: none; opacity: .5; transform: scaleY(.6); } }




button.g { appearance: none; border: 0; color: inherit; text-align: left; cursor: pointer; font: inherit; }
button.g:hover, button.g[aria-expanded="true"] { background: #0e0e0e; }
.gq-more { font-style: normal; color: var(--cream); margin-left: 4px; }
.bds { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; min-height: 20px; }
.bds .bd { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; font: 600 11px/1 var(--sans); letter-spacing: .01em; color: var(--text); background: rgba(255,255,255,.08); white-space: nowrap; }
.bds .bd.solid { color: #0b0b0b; background: var(--cream); }
.bds .bd.off { color: var(--faint); background: rgba(255,255,255,.05); text-decoration: line-through; text-decoration-color: rgba(245,240,232,.45); }
.bds .bd-note { font: 400 11px/1.3 var(--sans); color: var(--muted); }
.copies { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.copies[hidden] { display: none; }
.cp { appearance: none; border: 0; background: var(--panel); color: var(--text); font: inherit; text-align: left; cursor: pointer; padding: 14px 16px; display: grid; gap: 9px; min-height: 96px; align-content: start; }
.cp:hover { background: #0e0e0e; }
.cp[aria-pressed="true"] { background: #121212; box-shadow: inset 0 0 0 1px rgba(243,236,224,.35); cursor: default; }
.cp-top { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.cp-q { font: 500 20px/1 var(--mono); letter-spacing: -.02em; }
.cp-z { font: 400 12px/1 var(--mono); color: var(--muted); }
.cp-st { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--pull); }
.cp[aria-pressed="true"] .cp-st { color: var(--fine); }
.cp-n { font: 400 12px/1.4 var(--sans); color: var(--muted); }
.watch.folded .copies { display: none; }


.subs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 12px; }
.subs[hidden] { display: none; }
.sb { appearance: none; position: relative; min-height: 32px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 16px; background: transparent; color: var(--text); font: 500 13px/1 var(--sans); cursor: pointer; }
.sb::before { content: ''; position: absolute; inset: -6px -2px; }
@media (hover: hover) { .sb:hover { background: rgba(255,255,255,.06); } }
.sb[aria-pressed="true"] { background: var(--text); color: #000; border-color: var(--text); }


#cc[aria-pressed="true"]::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 1px; background: rgb(var(--brand)); }

.resume { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 16px 10px; font: 400 12px/1.4 var(--mono); color: var(--muted); border-top: 1px solid var(--line); }
.resume[hidden] { display: none; }

.vol { display: flex; align-items: center; gap: 2px; flex: none; }
#volr { width: 72px; accent-color: var(--text); cursor: pointer; }





@media (max-width: 640px) {
  .ctl { flex-wrap: wrap; row-gap: 2px; column-gap: 2px; padding-top: 4px; }
  .ctl .seek { order: -2; flex: 1 1 0; min-width: 0; height: 32px; }
  
  .ctl::before { content: ''; order: 0; flex: 0 0 100%; height: 0; }
  .ctl .seek::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }
  .ctl .seek .tr, .ctl .seek .marks { top: 14px; }
  .ctl .time { display: inline; order: -1; padding-left: 8px; font-size: 11px; }
  .ctl .vol { margin-left: auto; }
  #pip, #fold { display: none; }
  .ib { width: 40px; height: 40px; }
}
@media (max-width: 359px) { .ib { width: 36px; height: 36px; } .ctl .time { padding-left: 2px; } }
@media (hover: none) and (pointer: coarse) { #volr { display: none; } }
.or.phone { display: none; }
@media (max-width: 640px) { .or.phone:not([hidden]) { display: flex; } }
.opts { display: grid; gap: 2px; padding: 8px 0 10px; border-top: 1px solid var(--line); }
.opts[hidden] { display: none; }
.or { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 6px 16px; }
.or[hidden] { display: none; }
.ol { font: 500 11px/1 var(--mono); color: var(--faint); letter-spacing: .04em; width: 72px; flex: none; }
.oc { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ot { font: 400 12px/1 var(--mono); color: var(--muted); min-width: 4.5ch; text-align: center; font-variant-numeric: tabular-nums; }
.ok { font: 400 12px/1.6 var(--mono); color: var(--muted); }
.watch.fill .stage video { object-fit: cover; }

.ripple { position: absolute; top: 50%; left: 12%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; opacity: 0; transform: scale(.85); pointer-events: none; z-index: 2; transition: opacity .2s var(--ease), transform .3s var(--ease); }
.ripple.r { left: 88%; }
.ripple b { font: 500 15px/1 var(--mono); color: var(--text); }
.ripple b::before { content: '−'; margin-right: 1px; }
.ripple.r b::before { content: '+'; }
.ripple.on { opacity: 1; transform: none; }
.oh { font: 400 12px/1.4 var(--sans); color: var(--muted); }
@media (max-width: 640px) { .oh { width: 100%; } }

@media (max-width: 640px) { .or.keys { display: none; } .ol { width: 100%; } }



video::cue { font-family: var(--sans); font-size: var(--cue, 20px); line-height: 1.35; color: #f5f0e8; background: rgba(0,0,0,.72); }

.pgs { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.watch.cue-s video::cue { font-size: calc(var(--cue, 20px) * .8); }
.watch.cue-l video::cue { font-size: calc(var(--cue, 20px) * 1.3); }
.watch.cue-nobg video::cue { background: transparent; text-shadow: 0 0 4px #000, 0 0 2px #000; }
@media (max-width: 640px) {
  .boot-pieces { grid-template-columns: repeat(24, 6px); gap: 4px; height: 34px; }
  .gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  .watch:not(.imm) { grid-template-rows: auto auto 1fr; }
  .watch:not(.imm) .stage video { height: auto; max-height: 70vh; max-height: 70dvh; }
  .stage:has(.boot:not([hidden])) { min-height: 56vw; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation-duration: .001s !important; } }

.stage .glow { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.watch.glowing .stage .glow { opacity: .5; }
.stage video { position: relative; }
.watch.glowing .stage video { background: transparent; }


.watch.imm .stage .glow { display: none; }
.watch.imm .stage video { background: #000; }

.fast { position: absolute; top: 16px; left: 50%; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(0,0,0,.6); font: 500 13px/1 var(--mono); color: var(--text); transform: translate(-50%, -6px); opacity: 0; transition: opacity .18s var(--ease), transform .25s var(--ease); pointer-events: none; }
.fast svg { width: 14px; height: 14px; }
.fast.on { opacity: 1; transform: translate(-50%, 0); }

.skipi { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 20px; z-index: 3; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; background: rgba(0,0,0,.62); color: var(--text); font: 500 14px/1 var(--sans); cursor: pointer; }
.skipi::before { content: ''; position: absolute; inset: -4px; }
.skipi:hover { background: rgba(20,20,20,.85); border-color: rgba(255,255,255,.6); }
.skipi[hidden] { display: none; }


.upnext { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 20px; z-index: 4; width: min(320px, calc(100% - 32px)); display: grid; gap: 4px; padding: 14px 16px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(8,8,8,.86); color: var(--text); overflow: hidden; }
.upnext[hidden] { display: none; }
.un-k { font: 500 11px/1 var(--mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.un-t { font: 600 16px/1.25 var(--sans); }
.un-s { font: 400 13px/1.4 var(--sans); color: rgba(255,255,255,.72); min-height: 1.4em; }
.un-b { display: flex; gap: 8px; margin-top: 6px; }
.un-go, .un-x { position: relative; min-height: 40px; padding: 0 14px; border-radius: 10px; font: 600 14px/1 var(--sans); cursor: pointer; }
.un-go { border: 0; background: #fff; color: #000; }
.un-go:disabled { opacity: .5; cursor: default; }
.un-x { border: 1px solid rgba(255,255,255,.3); background: none; color: var(--text); font-weight: 500; }
.un-go::before, .un-x::before { content: ''; position: absolute; inset: -2px; }
.un-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--left, 0)); transition: transform .25s linear; }
.watch.imm .upnext { bottom: 128px; }
.stage:has(.boot:not(.gone):not([hidden])) .upnext { display: none; }
@media (prefers-reduced-motion: reduce) { .un-bar { transition: none; } }
.watch.imm .skipi { bottom: 128px; transition: opacity .35s var(--ease); }
.stage video { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

.or.touch { display: none; }
@media (pointer: coarse) { .or.touch { display: flex; } }

.boot.tapme { cursor: pointer; }
.boot.tapme .boot-pieces i { animation: none; opacity: .5; transform: scaleY(.35); }
.boot.tapme::after { content: ''; width: 64px; height: 64px; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3l8 5-8 5z' fill='%2317130d'/%3E%3C/svg%3E") 54% 50% / 26px no-repeat; order: 2; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.boot.tapme .boot-step::before { animation: none; }

.stage:has(.boot:not(.gone):not([hidden])) .skipi { display: none; }


.hand { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(0,0,0,.72); }
.hand[hidden] { display: none; }
.hand-in { width: min(340px, 100%); display: grid; justify-items: center; gap: 10px; padding: 22px 20px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: #0c0c0c; color: var(--text); text-align: center; }
.hand-h { font: 600 18px/1.2 var(--sans); }
.hand-qr { width: 232px; height: 232px; max-width: 100%; border-radius: 12px; background: #fff; image-rendering: pixelated; }
.hand-s, .hand-f { margin: 0; font: 400 14px/1.45 var(--sans); color: rgba(255,255,255,.8); }
.hand-f { font-size: 13px; color: rgba(255,255,255,.6); }
.hand-t { min-height: 1.4em; font: 400 13px/1.4 var(--sans); color: rgba(255,255,255,.72); }
.hand-x { position: relative; min-height: 44px; min-width: 120px; padding: 0 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: none; color: var(--text); font: 600 15px/1 var(--sans); cursor: pointer; }


.tp { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.tp[hidden] { display: none; }
.tp-back { position: absolute; inset: 0 0 auto 0; height: 360px; background: center/cover no-repeat; opacity: .38; -webkit-mask-image: linear-gradient(#000 25%, transparent); mask-image: linear-gradient(#000 25%, transparent); pointer-events: none; }
.tp-in { position: relative; max-width: 980px; padding-block: 30px 40px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 16px; }
.tp-k { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: rgb(var(--brand)); text-transform: uppercase; }
.tp-t { margin: 0; font: 700 34px/1.04 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.tp-m { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font: 400 12px/1.2 var(--mono); color: var(--muted); }
.tp-m .bq { color: var(--text); border: 1px solid var(--line2); border-radius: 5px; padding: 4px 6px; font-weight: 500; }
.tp-s { margin: 0; color: var(--muted); max-width: 62ch; font-size: 15px; }
.tp-s:empty, .tp-c:empty { display: none; }
.tp-c { margin: 0; font: 400 12.5px/1.6 var(--mono); color: var(--faint); }
.tp-c b { color: var(--muted); font-weight: 500; }
.tp-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-btn { position: relative; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line2); background: none; color: var(--text); font: 600 14px/1 var(--sans); cursor: pointer; }
.tp-btn.cream { background: var(--cream); color: var(--ink); border: 0; }
.tp-seasons { display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tp-seasons[hidden] { display: none; }
.tp-seasons button { border: 0; background: none; border-radius: 999px; padding: 10px 14px; min-height: 36px; font: 500 12px/1 var(--mono); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tp-seasons button[aria-pressed="true"] { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.tp-eps { display: grid; gap: 4px; }
.tp-ep { display: grid; grid-template-columns: 26px 168px minmax(0,1fr); gap: 14px; align-items: center; width: 100%; padding: 10px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--text); text-align: left; cursor: pointer; }
.tp-ep:hover { background: var(--panel); border-color: var(--line); }
.tp-ep.now { background: var(--raised); border-color: rgba(var(--brand),.4); cursor: default; }
.tp-ep .no { font: 500 15px/1 var(--mono); color: var(--faint); text-align: center; }
.tp-ep .th { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #111; }

.tp-ep .th::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line2); pointer-events: none; }
.tp-ep .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-ep .tag { position: absolute; top: 6px; left: 6px; font: 500 10px/1 var(--mono); background: rgba(0,0,0,.78); border-radius: 5px; padding: 4px 6px; color: var(--text); }
.tp-ep .tag.ask { background: var(--cream); color: var(--ink); }
.tp-ep .pb { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); }
.tp-ep .pb i { position: absolute; inset: 0 auto 0 0; background: rgb(var(--brand)); }
.tp-ep .bd { display: grid; gap: 4px; min-width: 0; }
.tp-ep .bd b { font: 600 14.5px/1.25 var(--sans); display: flex; justify-content: space-between; gap: 8px; }
.tp-ep .bd b small { font: 400 12px/1 var(--mono); color: var(--faint); flex: none; }
.tp-ep .bd span { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 600px) {
  .tp-t { font-size: 27px; }
  .tp-ep { grid-template-columns: 124px minmax(0,1fr); gap: 10px; padding: 8px; }
  .tp-ep .no { display: none; }
  .tp-ep .bd span { font-size: 12.5px; }
}


.oc .mom { display: inline-grid; gap: 4px; justify-items: start; border: 0; background: none; padding: 0; color: var(--muted); font: 500 11px/1 var(--mono); cursor: pointer; }
.oc .mom img { width: 112px; aspect-ratio: 16/9; border-radius: 6px; border: 1px solid var(--line2); object-fit: cover; display: block; background: #111; }
.oc .mom:hover img, .oc .mom:focus-visible img { border-color: rgb(var(--brand)); }
.marks i.mo { background: rgb(var(--brand)); width: 3px; }

.watch.cinema.playing header, .watch.cinema.playing .gauges, .watch.cinema.playing .log, .watch.cinema.playing .copies, .watch.cinema.playing .tp, .watch.cinema.playing .nerd { opacity: .1; transition: opacity 1.2s var(--ease); }
.watch.cinema header, .watch.cinema .gauges, .watch.cinema .log, .watch.cinema .copies, .watch.cinema .tp, .watch.cinema .nerd { transition: opacity .4s var(--ease); }
.watch.cinema.playing header:hover, .watch.cinema.playing .gauges:hover, .watch.cinema.playing .tp:hover { opacity: 1; }

.nerd { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px 20px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); font: 400 12px/1.6 var(--mono); color: var(--muted); }
.nerd[hidden] { display: none; }
.nerd b { color: var(--text); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .watch.cinema header, .watch.cinema .gauges, .watch.cinema .log, .watch.cinema .copies, .watch.cinema .tp, .watch.cinema .nerd { transition: none; } }






.note { display: block; place-items: initial; padding: 0; text-align: initial; font: inherit; color: var(--text); z-index: 5; overflow: hidden; }
.nf-pic { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 55%, #14100b, #000) center / cover no-repeat; filter: saturate(.55) brightness(.7); animation: nf-freeze 1.2s var(--ease) both; }
.nf-pic.art { filter: saturate(.5) brightness(.45); animation: none; }
@keyframes nf-freeze { from { filter: saturate(1.1) brightness(1); } }
.nf-tc { position: absolute; left: max(20px, env(safe-area-inset-left, 0px)); top: 18px; display: flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); letter-spacing: .04em; color: rgba(245,240,232,.82); font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.nf-tc::before { content: ''; width: 10px; height: 10px; border-radius: 1px; box-shadow: inset 3px 0 0 rgba(245,240,232,.82), inset -3px 0 0 rgba(245,240,232,.82); }
.nf-cue { position: absolute; left: 50%; bottom: max(78px, 14%); transform: translateX(-50%); width: max-content; max-width: min(80%, 920px); display: grid; justify-items: center; gap: 6px; text-align: center; }
.nf-cue span { padding: 3px 10px; background: rgba(0,0,0,.72); font: 400 clamp(18px, 2.1vw, 28px)/1.35 var(--sans); color: #f5f0e8; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.nf-cue span.sdh { font-style: italic; color: var(--nf, var(--muted)); font-size: .86em; }
.nf-cue > div { opacity: 0; text-wrap: balance; animation: nf-in .35s var(--ease) forwards; }
.nf-cue > div:nth-child(1) { animation-delay: .35s; }
.nf-cue > div:nth-child(2) { animation-delay: 1s; }
.nf-cue > div:nth-child(3) { animation-delay: 1.65s; }
@keyframes nf-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.nf-go { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 20px; min-height: 40px; padding: 0 14px 0 16px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; background: rgba(0,0,0,.62); color: var(--text); font: 500 14px/1 var(--sans); cursor: pointer; animation: nf-in .35s .6s var(--ease) both; }
.nf-go::before { content: ''; position: absolute; inset: -4px; }
.nf-go svg { width: 14px; height: 14px; }
@media (hover: hover) { .nf-go:hover { background: rgba(20,20,20,.85); border-color: rgba(255,255,255,.6); } }
.watch:has(.note:not([hidden])) .lower { opacity: .35; pointer-events: none; filter: saturate(0); }
.stage:has(.note:not([hidden])) { min-height: min(56.25vw, calc(100dvh - 210px)); }
@media (max-width: 640px) {
  .stage:has(.note:not([hidden])) { min-height: min(120vw, 68dvh); }
  .watch:has(.note:not([hidden])) .lower { display: none; }
  .nf-cue { bottom: 92px; max-width: calc(100% - 24px); }
  .nf-cue span { font-size: 18px; padding: 2px 7px; }
  .nf-go { left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: 20px; justify-content: center; min-height: 46px; font-size: 15px; }
  .nf-tc { top: 14px; font-size: 12px; }
}
