/* First screen of the mode pages. Owner: HERO. See BRIEF-V6.md.
   One idea: the word is a lintel across the top of the wall and everything falls from it: the threads with the numbers,
   the chains with the address, the debris of every charge, the eye.
   Sizes are in --u (1 px at a 1920 window) and --b (one block of the wall; the word is --w blocks wide, a block of margin each side),
   so 4K is the same picture with more detail. Layers: outer boxes leave on scroll, inner boxes arrive with the wall, so the two never
   fight over a property. For another mode: set --w to its word's width, and --c (the threads' columns) to its letters' stems. */

/* titan-effects.js grows the root font above 1920 px, but only when it runs, in the footer: the rem-sized bar jumps about 1.5 s in (CLS 0.0042 at 3840). The same rule from the first paint */
@media (min-width:1921px){html{font-size:clamp(16px,.7vw + 4px,22px)}}
@media (min-width:2560px){html{font-size:clamp(18px,.65vw + 6px,24px)}}
@media (min-width:3840px){html{font-size:clamp(20px,.5vw + 10px,28px)}}
html.tv-wall .tv-wallcv{width:100%}
/* fast clicks and taps on the wall never select type, zoom or call up a menu */
.tv-hero{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
html:not(.tv-wall) .tv-hero{cursor:auto}
.tv-hero{container-type:inline-size;view-timeline:--tvHero block;view-timeline-inset:calc(var(--tv-nav) + var(--tv-bar)) 0px;
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg fill='%23FFF5E8' stroke='%23190406' stroke-width='1' paint-order='stroke'%3E%3Crect x='15' y='3' width='2' height='8'/%3E%3Crect x='15' y='21' width='2' height='8'/%3E%3Crect x='3' y='15' width='8' height='2'/%3E%3Crect x='21' y='15' width='8' height='2'/%3E%3Crect x='15' y='15' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E") 16 16,crosshair}
@media (min-width:2560px){.tv-hero{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 32 32'%3E%3Cg fill='%23FFF5E8' stroke='%23190406' stroke-width='.7' paint-order='stroke'%3E%3Crect x='15' y='3' width='2' height='8'/%3E%3Crect x='15' y='21' width='2' height='8'/%3E%3Crect x='3' y='15' width='8' height='2'/%3E%3Crect x='21' y='15' width='8' height='2'/%3E%3Crect x='15' y='15' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E") 24 24,crosshair}}
.tv-hero-in{--w:63;--r:9;--vw:100vw;--b:min(calc(var(--vw)/(var(--w) + 2)),calc((100svh - var(--tv-nav) - var(--tv-bar))/25));--u:calc(var(--b)*(var(--w) + 2)/1920);
  --ink:#FFF5E8;--ink-2:rgba(255,245,232,.84);--ink-3:rgba(255,245,232,.6);--gold:#F6C453;--seat:0 .06em .22em rgba(28,2,4,.55);--hair:1px;
  display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(calc(6*var(--b) + max(32px,calc(60*var(--u)))*.86 + max(22px,calc(30*var(--u)))),1fr) auto;gap:0;
  width:calc((var(--w) + 2)*var(--b));max-width:none;margin:0 auto;
  padding:max(calc(20*var(--u)),calc((100svh - var(--tv-nav) - var(--tv-bar) - 821*var(--u))*.2)) var(--b) calc(28*var(--u));
  animation:none}
@supports (width:1cqw){.tv-hero-in{--vw:100cqw}}
@supports (width:round(1.5px,1px)){.tv-hero-in{--hair:max(1px,round(down,calc(1.1*var(--u)),1px))}}
.tv-hero-rest{display:contents}

/* the inscription above the word: Cinzel's own capitals, without the swashes of its large forms */
.tv-h1{grid-area:1/1/2/3;margin:0;font-family:'Cinzel',Georgia,serif;font-weight:900;color:var(--ink)}
.tv-h1-a{display:block;margin:0 0 calc(17*var(--u));font:900 max(24px,calc(54.4*var(--u)))/1 'Cinzel',Georgia,serif;letter-spacing:.217em;text-transform:lowercase;white-space:nowrap;text-shadow:var(--seat);font-kerning:normal;text-rendering:geometricPrecision}
.tv-h1-i{display:inline-block;margin-left:-.03em;transition:color 1s linear 1.2s}
html.tv-wall .tv-h1-w{width:calc(var(--w)*var(--b));aspect-ratio:var(--w)/var(--r);
  /* the word stays real text in its place from the first paint, at .001: it is the page's LCP, and if the wall is late it only has to fade up. It never moves anything */
  height:calc(var(--r)*var(--b));font:700 calc(412*var(--u))/calc(var(--r)*var(--b) + 68*var(--u)) var(--tv-num);letter-spacing:.1em;text-indent:calc(-14*var(--u));text-transform:uppercase;white-space:nowrap;color:var(--ink);opacity:.001}

/* the path: quiet, top right, ends on the same line as the word's edge */
.tv-breadcrumb{grid-area:1/2;justify-self:end;align-self:start;display:flex;align-items:flex-start;padding-top:calc(31*var(--u));margin-right:-.14em;position:relative;z-index:2}
.tv-breadcrumb ol{gap:0;font:600 max(11px,calc(13*var(--u)))/1.2 var(--tv-sans);letter-spacing:.14em;text-transform:none;color:var(--ink-3);text-shadow:var(--seat)}
.tv-breadcrumb li{display:flex;align-items:center}
.tv-breadcrumb li+li::before{content:'';width:.34em;height:.34em;margin:0 1em;background:currentColor;opacity:.7}
.tv-breadcrumb a{position:relative;padding:calc(14*var(--u)) 0;margin:calc(-14*var(--u)) 0;color:var(--ink-2);transition:color .2s}
.tv-breadcrumb a::after{content:'';position:absolute;left:0;right:.14em;bottom:calc(9*var(--u));height:max(1px,calc(1*var(--u)));background:currentColor;scale:0 1;transform-origin:0 50%;transition:scale .4s var(--tv-out)}
.tv-breadcrumb a:hover{color:#fff}
.tv-breadcrumb a:hover::after,.tv-breadcrumb a:focus-visible::after{scale:1 1}
.tv-breadcrumb a:focus-visible{outline:max(2px,calc(2*var(--u))) solid var(--ink);outline-offset:.35em;border-radius:0;box-shadow:none}
.tv-breadcrumb [aria-current]{color:var(--ink)}

/* bottom left: what it is, in one breath */
.tv-hero-say{grid-area:3/1;align-self:end;position:relative;z-index:1;pointer-events:none}
.tv-kicker{display:block;margin:0 0 calc(12*var(--u));font:700 max(11px,calc(13*var(--u)))/1.2 var(--tv-sans);letter-spacing:.3em;text-transform:uppercase;color:var(--gold);text-shadow:var(--seat)}
.tv-lead{max-width:30em;margin:0 0 0 -.06em;padding:0;background:none;font:400 max(15px,calc(23*var(--u)))/1.42 var(--tv-sans);letter-spacing:.002em;color:var(--ink);text-shadow:var(--seat);text-wrap:pretty;pointer-events:auto}
.tv-lead strong{font-weight:700;color:#fff;box-shadow:none}

/* the numbers hang from the word on threads, each from a letter's stem */
.tv-board{grid-area:2/1/3/3;position:relative;top:auto;right:auto;z-index:1;width:auto;height:0;padding:0;background:none;color:var(--ink);cursor:default}
.tv-hstats{display:block}
.tv-hstat{position:absolute;left:calc(var(--c)*var(--b));top:0;display:block;padding:calc(var(--h)*var(--b)) 0 0;white-space:nowrap;transform-origin:0 0;transition:rotate .9s var(--tv-spring)}
.tv-hstat:nth-child(1){--c:9;--h:2;--t:1.64s}
.tv-hstat:nth-child(2){--c:18;--h:4;--t:1.84s}
.tv-hstat:nth-child(3){--c:27;--h:6;--t:2.02s}
.tv-hstat:nth-child(4){--c:37;--h:3;--t:2.2s}
.tv-hstat::before{content:'';position:absolute;left:0;top:0;width:var(--hair);height:calc(var(--h)*var(--b) - 8*var(--u));background:var(--ink-2);transform-origin:50% 0}
.tv-hstat::after{content:'';position:absolute;left:calc(var(--hair)*-1);top:calc(var(--hair)*-1);width:calc(var(--hair)*3);height:calc(var(--hair)*3);background:var(--ink)}
.tv-hstat-i{display:block}
.tv-hstat-v{padding:0;font:700 max(32px,calc(60*var(--u)))/.86 var(--tv-num);letter-spacing:.008em;color:var(--ink);text-shadow:var(--seat);transition:color .25s}
.tv-hstat-l{margin-top:calc(4*var(--u));font:600 max(10.5px,calc(12*var(--u)))/1.3 var(--tv-sans);letter-spacing:.15em;text-transform:uppercase;color:var(--ink-2);text-shadow:var(--seat);transition:color .25s}
.tv-hstat:hover{rotate:1.6deg}
.tv-hstat:hover .tv-hstat-v{color:var(--gold)}
.tv-hstat:hover .tv-hstat-l{color:var(--ink)}
/* a charge moves them (the script at the end of the section): each swings away from the blast, harder when near; one whose letter is blown off falls with the debris and hangs back when the letter is rebuilt */

/* bottom right: what the wall did. Nothing until a charge goes off */
.tv-hero-foot{grid-area:3/2;align-self:end;justify-self:end;position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-end;margin:0 0 calc(5*var(--u));pointer-events:none;text-align:right}
.tv-tnt-hint{position:absolute;right:0;bottom:0;display:block;margin:0 -.14em 0 0;font:600 max(11px,calc(13*var(--u)))/1.2 var(--tv-sans);letter-spacing:.14em;text-transform:none;color:var(--ink-2);text-shadow:var(--seat);white-space:nowrap;transition:opacity .5s}
.tv-tnt-hint i{display:none}
.tv-tnt-hint::before{content:'';display:inline-block;width:1.05em;height:1.05em;margin-right:.65em;vertical-align:-.16em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='%23FFF5E8'%3E%3Crect x='14' y='1' width='4' height='10'/%3E%3Crect x='14' y='21' width='4' height='10'/%3E%3Crect x='1' y='14' width='10' height='4'/%3E%3Crect x='21' y='14' width='10' height='4'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;opacity:.85}
.tv-board-score{order:2;display:flex;align-items:baseline;gap:.6em;margin:0 0 calc(1.2em + 5*var(--u));padding:0;border:0;font:600 max(11px,calc(13*var(--u)))/1.2 var(--tv-sans);letter-spacing:.14em;color:var(--ink-2);text-shadow:var(--seat);opacity:0;transition:opacity .01s linear 86400s}
.tv-board-score.is-hit{opacity:1;transition:none}
.tv-board-score b{min-width:3.2ch;font:700 max(20px,calc(30*var(--u)))/1 var(--tv-num);letter-spacing:.02em;color:var(--ink);font-variant-numeric:tabular-nums;text-align:right}

.tv-chat{position:absolute;right:0;bottom:100%;margin-bottom:calc(5*var(--u));display:block;white-space:nowrap}
.tv-chat p{display:none;margin:0;font:600 max(11px,calc(13*var(--u)))/1.2 var(--tv-sans);letter-spacing:.04em;color:var(--ink-2);text-shadow:var(--seat);animation:tvChat 6s linear both}
.tv-chat p:last-child{display:block}
.tv-chat b{font-weight:700;color:var(--gold)}
.tv-chat i{font-style:normal;color:var(--ink)}
@keyframes tvChat{0%{opacity:0;translate:0 .4em}3%{opacity:1;translate:0 0}82%{opacity:1}100%{opacity:0}}

/* the address: its place on the page; the sign itself hangs in the 3D world. Without the wall it stays the plain row of the base file */
html.tv-wall .tv-join{grid-area:2/2;align-self:start;position:relative;z-index:1;flex:none;width:calc(15*var(--b));height:calc(5.8*var(--b));margin:0 var(--b) 0 0;background:none;outline:0}
html.tv-wall .tv-join::after{display:none}
html.tv-wall .tv-ip{position:absolute;inset:0;display:block;padding:0;overflow:visible;background:none}
html.tv-wall .tv-ip::before,html.tv-wall .tv-ip::after{display:none}
html.tv-wall .tv-ip-ico{display:none}
html.tv-wall .tv-ip-txt{position:absolute;inset:0;padding:0;overflow:hidden;color:transparent}
html.tv-wall .tv-ip-addr{position:absolute;inset:30% 0 0;display:flex;align-items:center;justify-content:center;font:700 calc(88*var(--u))/1 var(--tv-num);letter-spacing:.02em;color:var(--ink);opacity:.001}
html.tv-hero-late:not(.tv-wall-on) :is(.tv-h1-w,.tv-ip-addr){opacity:1;transition:opacity .7s linear}
html.tv-wall .tv-ip-label{position:absolute;left:0;right:0;top:15%;translate:0 -50%;display:block;font:700 max(10px,calc(11.5*var(--u)))/1 var(--tv-sans);letter-spacing:.3em;text-indent:.3em;text-align:center;text-transform:uppercase;color:var(--gold);text-shadow:var(--seat)}
html.tv-wall .tv-ip-copy,html.tv-wall .tv-ip:hover .tv-ip-copy{position:absolute;left:0;top:calc(100% + 14*var(--u));padding:0 0 .25em;border:0;background:none;display:inline-flex;align-items:center;gap:.6em;font:700 max(11.5px,calc(14*var(--u)))/1.2 var(--tv-sans);letter-spacing:.04em;color:var(--ink);text-shadow:var(--seat);white-space:nowrap}
html.tv-wall .tv-ip-copy i.fa-copy{display:none}
html.tv-wall .tv-ip-copy i{font-size:.92em;color:#A6F2BE}
html.tv-wall .tv-ip-copy:has(i.fa-copy)::before{content:'';flex:none;width:1em;height:1em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23F6C453' stroke-width='2.4' d='M2 8h14v14H2zM8 8V2h14v14h-6'/%3E%3C/svg%3E") center/contain no-repeat;transition:translate .4s var(--tv-spring)}
html.tv-wall .tv-ip-copy::after{content:'';position:absolute;left:0;right:0;bottom:0;height:max(1px,calc(1*var(--u)));background:var(--gold);scale:0 1;transform-origin:0 50%;transition:scale .45s var(--tv-out)}
html.tv-wall .tv-ip:hover .tv-ip-copy::after,html.tv-wall .tv-ip:focus-visible .tv-ip-copy::after{scale:1 1}
html.tv-wall .tv-ip:hover .tv-ip-copy::before{translate:calc(1.5*var(--u)) calc(-1.5*var(--u))}
html.tv-wall .tv-ip:active .tv-ip-copy{translate:0 calc(1*var(--u))}
html.tv-wall .tv-ip.is-done .tv-ip-copy{color:#A6F2BE;background:none;border:0}

/* the ring goes around the plank, not around the chains and the letters above them */
html.tv-wall .tv-ip:focus-visible{outline:0;box-shadow:none}
html.tv-wall .tv-ip:focus-visible::after{content:'';display:block;position:absolute;inset:30% calc(-2*var(--u)) calc(-5*var(--u));opacity:1;box-shadow:none;outline:max(2px,calc(2*var(--u))) solid var(--ink);outline-offset:0;animation:none;pointer-events:none}
html.tv-wall .tv-live{left:auto;right:0;bottom:auto;top:calc(100% + 14*var(--u));gap:.3em;padding-bottom:.25em;font:600 max(11.5px,calc(14*var(--u)))/1.2 var(--tv-sans);letter-spacing:.04em;color:var(--ink-2);text-shadow:var(--seat)}
html.tv-wall .tv-live-dot{width:calc(5*var(--u));height:calc(5*var(--u));min-width:4px;min-height:4px;margin-right:.3em;background:#7EE0A6}
html.tv-wall .tv-live-dot::after{inset:calc(-3*var(--u));border-color:#7EE0A6;border-width:var(--hair)}
html.tv-wall .tv-live.is-soon .tv-live-dot{background:var(--gold)}
html.tv-wall .tv-live.is-soon .tv-live-dot::after{display:none}
html.tv-wall .tv-live .skeleton{color:inherit}

/* no wall (no WebGL2, or it failed): the same picture in type */
html:not(.tv-wall) .tv-h1-w{width:100%;margin:0;font:700 calc(478*var(--u))/.78 var(--tv-num);letter-spacing:.012em;text-transform:uppercase;color:var(--ink)}
html:not(.tv-wall) .tv-join{grid-area:2/2;align-self:start;margin:calc(26*var(--u)) var(--b) calc(40*var(--u)) 0;background:none;outline:0}
html:not(.tv-wall) .tv-join::after{display:none}
html:not(.tv-wall) .tv-ip{display:block;width:auto;padding:0;background:none;overflow:visible;color:var(--ink)}
html:not(.tv-wall) .tv-ip::before,html:not(.tv-wall) .tv-ip::after,html:not(.tv-wall) .tv-ip-ico{display:none}
html:not(.tv-wall) .tv-ip-txt{display:block;padding:0}
html:not(.tv-wall) .tv-ip-label{display:block;margin-bottom:.5em;font:700 max(11px,calc(13*var(--u)))/1.2 var(--tv-sans);letter-spacing:.3em;text-transform:uppercase;color:var(--gold)}
html:not(.tv-wall) .tv-ip-addr{display:block;font:700 max(40px,calc(88*var(--u)))/.9 var(--tv-num);letter-spacing:.02em;color:var(--ink);transition:color .2s}
html:not(.tv-wall) .tv-ip:hover .tv-ip-addr{color:var(--gold)}
html:not(.tv-wall) .tv-ip-copy,html:not(.tv-wall) .tv-ip:hover .tv-ip-copy{display:inline-flex;gap:.6em;margin-top:.7em;padding:0;border:0;background:none;font:700 max(12px,calc(14*var(--u)))/1.2 var(--tv-sans);color:var(--ink)}
html:not(.tv-wall) .tv-join{display:flex;flex-direction:column}
html:not(.tv-wall) .tv-live{order:2;position:static;margin-top:.6em;font:600 max(12px,calc(14*var(--u)))/1.2 var(--tv-sans);color:var(--ink-2)}
html:not(.tv-wall) .tv-live-dot{background:var(--gold)}
html:not(.tv-wall) .tv-hstat::before,html:not(.tv-wall) .tv-hstat::after{display:none}

/* the big type stands off the wall: its shadow leaves it away from the pointer, the same light the blocks answer to. The script at the end of the section moves it; the shadow layer is painted once and only slides */
.tv-lit{position:relative;isolation:isolate;text-shadow:none!important;--sx:0px;--sy:calc(3*var(--u))}
.tv-lit::before{content:attr(data-t);content:attr(data-t) / "";position:absolute;left:0;top:0;z-index:-1;color:rgba(20,1,3,.66);filter:blur(calc(2.4*var(--u)));translate:var(--sx) var(--sy);transition:translate .4s var(--tv-out);will-change:translate;pointer-events:none;white-space:nowrap}
.tv-hstat:hover .tv-hstat-v.tv-lit{color:var(--gold)}

/* the way on: a block keeps falling along a thread, out of the bottom of the screen */
.tv-hero-cue{--c:37;position:absolute;left:calc((var(--c) + 1)*var(--b) - 2*var(--u));bottom:0;width:calc(5*var(--u));height:calc(3.6*var(--b));pointer-events:none}
.tv-hero-cue::before{content:'';position:absolute;left:calc(2*var(--u));top:0;bottom:0;width:max(1px,calc(1*var(--u)));background:linear-gradient(rgba(255,245,232,.5),rgba(255,245,232,.18))}
.tv-hero-cue::after{content:'';position:absolute;left:0;top:calc(-2*var(--u));width:calc(5*var(--u));height:calc(5*var(--u));background:var(--ink);opacity:0}
html.tv-wall-on .tv-hero-cue::after,html.tv-hero-settled .tv-hero-cue::after,html:not(.tv-wall) .tv-hero-cue::after{animation:tvCue 2.8s cubic-bezier(.5,0,.9,.5) 3.4s infinite}
@keyframes tvCue{0%{opacity:0;translate:0 0}6%{opacity:1}72%{opacity:1}100%{opacity:0;translate:0 calc(3.6*var(--b))}}
html.tv-wall:not(.tv-wall-on):not(.tv-hero-settled) .tv-hero-cue::before{opacity:.001}
html.tv-wall-on:not(.tv-hero-settled) .tv-hero-cue::before{transform-origin:50% 0;animation:tvThread .7s cubic-bezier(.35,0,.2,1) 2.9s backwards}

/* the last call's sign (its place is in the sections' markup) */
html.tv-wall .tv-cta-ip{position:relative;width:clamp(290px,21vw,404px);aspect-ratio:1.66;margin:clamp(20px,3vh,34px) auto 0;gap:0}
html.tv-wall .tv-cta-ip *{color:transparent!important;background:none!important;border-color:transparent!important}
html.tv-wall .tv-cta-ip i{opacity:0}
html.tv-wall .tv-cta-ipbtn{position:absolute;inset:0;width:100%;height:100%;justify-content:center;font-size:clamp(1rem,2.4vw,2.6rem);min-height:0}
html.tv-wall .tv-cta-ipbtn:focus-visible{outline:.19rem solid #fff;outline-offset:.12rem}
html.tv-wall .tv-cta-hint{position:absolute;left:0;right:0;bottom:0;pointer-events:none}

/* the site's entrance holds the first screen back (opacity 0, moved 12 px) until DOMContentLoaded. This hero has its own way in: its text is painted from the first paint, at .001 until its moment (Chrome counts that for LCP, not 0), and nothing moves the word's box while the wall measures it */
html.titan-entry-pending:not(.titan-entry-play) .tv-hero[data-titan-entry-surface]{opacity:1!important;transform:none!important;will-change:auto}

/* ── the way in: t0 is the moment the wall goes live. Each thing appears when the light sweeping the wall reaches it ── */
html.tv-wall:not(.tv-wall-on):not(.tv-hero-settled) :is(.tv-breadcrumb ol,.tv-kicker,.tv-lead,.tv-hstat-v,.tv-hstat-l,.tv-ip-copy,.tv-ip-label,.tv-live,.tv-tnt-hint),
html.tv-wall:not(.tv-wall-on):not(.tv-hero-settled) .tv-hstat::before,
html.tv-wall:not(.tv-wall-on):not(.tv-hero-settled) .tv-hstat::after{opacity:.001}
/* no text is on the page before its font: a swap under .001 text still counts as a layout shift. The word first (it is the LCP), the rest when its Polish letters are here too. The section's first script sets these */
html.tv-wall:not(.tv-big):not(.tv-hero-settled) :is(.tv-h1-w,.tv-ip-addr,.tv-hstat-v){visibility:hidden}
html.tv-wall:not(.tv-type):not(.tv-hero-settled) :is(.tv-breadcrumb ol,.tv-kicker,.tv-lead,.tv-hstat-l,.tv-ip-copy,.tv-ip-label,.tv-live,.tv-tnt-hint){visibility:hidden}
/* the wall is late (a slow machine): the type does not wait for ever, and does not come twice */
html.tv-hero-late :is(.tv-breadcrumb ol,.tv-kicker,.tv-lead,.tv-hstat-v,.tv-hstat-l,.tv-ip-copy,.tv-ip-label,.tv-live,.tv-tnt-hint){animation:tvFade .7s linear backwards}
/* the inscription does not wait for the wall: the first thing on the screen is the site's own black and gold. When the wall's light reaches it, it cools to ivory */
html.tv-wall:not(.tv-ink):not(.tv-hero-settled) .tv-h1-i{visibility:hidden}
html.tv-wall:not(.tv-wall-on):not(.tv-hero-settled) .tv-h1-i{color:var(--gold)}
html.tv-wall.tv-ink:not(.tv-hero-settled) .tv-h1-i{animation:tvWipe .9s cubic-bezier(.3,.1,.3,1) backwards}
@keyframes tvWipe{from{opacity:.001;clip-path:inset(-20% 100% -20% -2%)}1%{opacity:1}to{clip-path:inset(-20% -2% -20% -2%)}}
html.tv-wall-on:not(.tv-hero-settled) .tv-breadcrumb ol{animation:tvFade .7s linear 2.42s backwards}
@keyframes tvFade{from{opacity:.001}}
html.tv-wall-on:not(.tv-hero-settled) .tv-hstat::after{animation:tvFade .2s linear var(--t) backwards}
html.tv-wall-on:not(.tv-hero-settled) .tv-hstat::before{animation:tvThread .5s cubic-bezier(.35,0,.2,1) var(--t) backwards}
@keyframes tvThread{from{scale:1 0}}
html.tv-wall-on:not(.tv-hero-settled) .tv-hstat-v{animation:tvDrop .7s var(--tv-spring) calc(var(--t) + .3s) backwards}
html.tv-wall-on:not(.tv-hero-settled) .tv-hstat-l{animation:tvRise .6s var(--tv-out) calc(var(--t) + .46s) backwards}
@keyframes tvDrop{from{opacity:.001;translate:0 calc(-26*var(--u));color:var(--gold)}40%{color:var(--gold)}}
@keyframes tvRise{from{opacity:.001;translate:0 calc(8*var(--u))}}
html.tv-wall-on:not(.tv-hero-settled) .tv-kicker{animation:tvRise .7s var(--tv-out) 2.05s backwards}
html.tv-wall-on:not(.tv-hero-settled) .tv-lead{animation:tvRise .8s var(--tv-out) 2.15s backwards}
html.tv-wall-on:not(.tv-hero-settled) :is(.tv-ip-copy,.tv-live,.tv-ip-label){animation:tvRise .7s var(--tv-out) 2.7s backwards}
html.tv-wall-on:not(.tv-hero-settled) .tv-tnt-hint{animation:tvFade .8s linear 3s backwards}

/* ── the way out, tied to the scroll: the threads reel back into the word, the rest lifts off, nothing is left to slide under the bars ── */
@supports (animation-timeline:view()){
  .tv-h1-a{animation:tvOutUp linear both;animation-timeline:--tvHero;animation-range:exit 0% exit 24%}
  .tv-breadcrumb{animation:tvOutUp linear both;animation-timeline:--tvHero;animation-range:exit 0% exit 16%}
  .tv-hstat-i{animation:tvReel linear both;animation-timeline:--tvHero;animation-range:exit 0% exit 30%}
  .tv-hstat::before{animation:tvThreadOut linear both;animation-timeline:--tvHero;animation-range:exit 0% exit 30%}
  .tv-hstat::after{animation:tvOutFade linear both;animation-timeline:--tvHero;animation-range:exit 14% exit 30%}
  html.tv-wall-on:not(.tv-hero-settled) .tv-hstat::before{animation:tvThread .5s cubic-bezier(.35,0,.2,1) var(--t) backwards,tvThreadOut linear both;animation-timeline:auto,--tvHero;animation-range:normal,exit 0% exit 30%}
  html.tv-wall-on:not(.tv-hero-settled) .tv-hstat::after{animation:tvFade .2s linear var(--t) backwards,tvOutFade linear both;animation-timeline:auto,--tvHero;animation-range:normal,exit 14% exit 30%}
  .tv-hero-say{animation:tvOutSay linear both;animation-timeline:--tvHero;animation-range:exit 6% exit 50%}
  .tv-hero-foot{animation:tvOutFade linear both;animation-timeline:--tvHero;animation-range:exit 0% exit 20%}
  .tv-hero-cue{animation:tvOutFade linear both;animation-timeline:--tvHero;animation-range:exit 0% exit 8%}
}
@keyframes tvOutUp{from{opacity:1;translate:0 0}to{opacity:0;translate:0 calc(-30*var(--u))}}
@keyframes tvReel{from{opacity:1;translate:0 0}55%{opacity:0}to{opacity:0;translate:0 calc(-1*var(--h)*var(--b))}}
@keyframes tvThreadOut{to{scale:1 0}}
@keyframes tvOutSay{from{opacity:1;translate:0 0}to{opacity:0;translate:0 calc(-90*var(--u))}}
@keyframes tvOutFade{to{opacity:0}}

/* a narrower desktop: the numbers move left to make room, the sign keeps its size in blocks */
@media (max-width:1399.98px) and (min-width:760px){
  html.tv-wall .tv-live{left:0;right:auto;top:calc(100% + 16*var(--u) + 1.5em)}
}
@media (max-width:1099.98px) and (min-width:760px){
  .tv-hstat:nth-child(1){--c:0}
  .tv-hstat:nth-child(2){--c:9}
  .tv-hstat:nth-child(3){--c:18}
  .tv-hstat:nth-child(4),.tv-hero-cue{--c:27}
  html.tv-wall .tv-join{height:calc(8.2*var(--b));margin-right:0;width:calc(21*var(--b))}
  .tv-hstat-l{max-width:calc(8.4*var(--b));white-space:normal}
}

/* ── phone: the same logic in one thumb. The numbers hang on one plumb line from the W, the address hangs beside them ── */
@media (max-width:1099.98px) and (max-aspect-ratio:20/23){
  .tv-hero-in{--w:36;--r:19;--u:calc(var(--vw)/640);--b:calc(var(--vw)/(var(--w) + 2))}
}
@media (max-width:759.98px){
  .tv-hero-in{--w:36;--r:19;--u:min(calc(var(--vw)/412),1.3px);--b:calc(var(--vw)/(var(--w) + 2))}
}
@media (max-width:759.98px),(max-width:1099.98px) and (max-aspect-ratio:20/23){
  .tv-hero-in{width:100%;margin:0;grid-template-columns:calc(10*var(--b)) minmax(0,1fr);grid-template-rows:auto auto auto auto minmax(0,1fr);column-gap:calc(13*var(--u));
    padding:calc(9*var(--u)) var(--b) calc(92*var(--u))}
  .tv-breadcrumb{grid-area:1/1/2/3;justify-self:start;padding-top:0;margin-right:0;margin-bottom:calc(12*var(--u))}
  .tv-breadcrumb ol{font-size:max(10.5px,calc(11*var(--u)));letter-spacing:.1em}
  .tv-breadcrumb li+li::before{margin:0 .8em}
  .tv-breadcrumb a{padding:14px 0;margin:-14px 0}
  .tv-h1{grid-area:2/1/3/3}
  .tv-h1-a{font-size:calc(2.54*var(--b));margin-bottom:calc(.8*var(--b))}
  html.tv-wall .tv-join{grid-area:3/2;width:auto;height:calc(10.6*var(--b));margin:0}
  html.tv-wall .tv-ip-copy,html.tv-wall .tv-ip:hover .tv-ip-copy{top:calc(100% + 9*var(--u));font-size:max(12px,calc(13*var(--u)))}
  html.tv-wall .tv-live{left:0;right:auto;top:calc(100% + 33*var(--u));font-size:max(12px,calc(13*var(--u)))}
  .tv-hero-say{grid-area:4/2;margin-top:calc(70*var(--u))}
  .tv-kicker{margin-bottom:calc(7*var(--u));font-size:max(10px,calc(10.5*var(--u)));letter-spacing:.26em}
  .tv-lead{font-size:max(14.5px,calc(16*var(--u)));line-height:1.42}
  .tv-hero-foot{grid-area:5/2;justify-self:start;align-self:start;align-items:flex-start;text-align:left;margin-top:calc(36*var(--u))}
  .tv-board{grid-area:3/1/6/2;position:relative;height:auto}
  .tv-hstats{position:relative;display:flex;flex-direction:column;gap:calc(13*var(--u));padding:calc(14*var(--u)) 0 0 calc(10*var(--u))}
  .tv-hstats::before{content:'';position:absolute;left:0;top:0;bottom:calc(6*var(--u));width:1px;background:var(--ink-2);transform-origin:50% 0}
  html.tv-wall:not(.tv-wall-on):not(.tv-hero-settled) .tv-hstats::before{opacity:.001}
  html.tv-wall-on:not(.tv-hero-settled) .tv-hstats::before{animation:tvThread 1.1s cubic-bezier(.35,0,.2,1) 1.5s backwards}
  .tv-hstat:nth-child(1){--t:1.62s}
  .tv-hstat:nth-child(2){--t:1.84s}
  .tv-hstat:nth-child(3){--t:2.06s}
  .tv-hstat:nth-child(4){--t:2.28s}
  .tv-hstat{position:relative;left:auto;top:auto;padding:0;white-space:normal;transform-origin:calc(-10*var(--u)) 0}
  .tv-hstat::before{left:calc(-10*var(--u));top:calc(16*var(--u));width:calc(7*var(--u));height:1px}
  .tv-hstat::after{display:none}
  .tv-hstat-v{font-size:max(34px,calc(42*var(--u)))}
  .tv-hstat-l{margin-top:calc(2*var(--u));font-size:max(9.5px,calc(10*var(--u)));letter-spacing:.11em;line-height:1.25}
  /* a short phone: everything stays above the bottom bar; the hint gives way first, the charge at 3.4 s says it anyway */
  @media (max-height:800px){
    .tv-tnt-hint{display:none}
    .tv-board-score{margin-bottom:0}
    .tv-hero-foot{margin-top:calc(30*var(--u))}
  }
  @media (max-height:700px){
    .tv-hstats{gap:calc(6*var(--u));padding-top:calc(8*var(--u))}
    .tv-hstat-v{font-size:max(28px,calc(30*var(--u)))}
    .tv-hstat::before{top:calc(12*var(--u))}
    .tv-hero-say{margin-top:calc(62*var(--u))}
    .tv-lead{font-size:max(14px,calc(15*var(--u)))}
  }
  @media (min-height:820px){
    html.tv-wall .tv-join{height:calc(11.6*var(--b))}
    .tv-hstats{gap:calc(22*var(--u))}
    .tv-hero-say{margin-top:calc(78*var(--u))}
  }
  .tv-tnt-hint,.tv-board-score,.tv-chat p{font-size:max(11px,calc(12*var(--u)));letter-spacing:.06em}
  .tv-board-score{flex-direction:row}
  .tv-tnt-hint{right:auto;left:0;margin:0}
  .tv-chat{right:auto;left:0}
  .tv-board-score b{font-size:calc(24*var(--u));text-align:left}
  .tv-hero-cue{display:none}
  html:not(.tv-wall) .tv-h1-w{font-size:calc(100*var(--u))}
  html.tv-wall .tv-h1-w{font-size:calc(100*var(--u));line-height:calc(var(--r)*var(--b));letter-spacing:.012em;text-indent:0}
  html.tv-wall .tv-ip-addr{font-size:calc(52*var(--u))}
  html:not(.tv-wall) .tv-join{grid-area:3/2;margin:calc(14*var(--u)) 0 calc(20*var(--u))}
  html:not(.tv-wall) .tv-ip-addr{font-size:calc(52*var(--u))}
  html:not(.tv-wall) .tv-hero-say{margin-top:calc(8*var(--u))}
  @supports (animation-timeline:view()){
    .tv-hstat-i{animation-name:tvOutSay;animation-range:exit 2% exit 40%}
    .tv-hstat::before,html.tv-wall-on:not(.tv-hero-settled) .tv-hstat::before{animation:none}
    html.tv-wall-on:not(.tv-hero-settled) .tv-hstat::before{animation:tvFade .3s linear var(--t) backwards}
    .tv-hstats::before{animation:tvOutFade linear both;animation-timeline:--tvHero;animation-range:exit 2% exit 40%}
    html.tv-wall-on:not(.tv-hero-settled) .tv-hstats::before{animation:tvThread 1.1s cubic-bezier(.35,0,.2,1) 1.5s backwards,tvOutFade linear both;animation-timeline:auto,--tvHero;animation-range:normal,exit 2% exit 40%}
  }
}

/* the bars float above the wall: their shadow falls on it */
html.tv-wall .tv-modes{box-shadow:0 1px 0 rgba(0,0,0,.55),0 10px 26px rgba(0,0,0,.42)}

/* the consent bar stands clear of the lead on wide screens */
@media (min-width:1400px){html.tv-wall #cookieBanner{left:61.5%!important;right:auto!important;margin:0!important;translate:-50% 0}}

/* first screens that are not a phone in the hand: everything above the fold and the dock */
/* a wide-ish tablet or a window held upright: the plumb-line layout is capped by the height too, and stands in the middle */
@media (max-width:759.98px),(max-width:1099.98px) and (max-aspect-ratio:20/23){
  .tv-hero-in{--b:min(calc(var(--vw)/38),1.6svh);--u:min(calc(var(--vw)/412),calc(var(--b)*38/412),1.3px);width:calc(38*var(--b));margin-inline:auto}
}
@media (min-width:560px) and (max-width:759.98px) and (max-height:1000px),(min-width:560px) and (max-width:1099.98px) and (max-aspect-ratio:20/23) and (max-height:1000px){
  .tv-hero-in{--b:min(calc(var(--vw)/38),1.45svh);--u:min(calc(var(--b)*38/412),1.15px)}
  .tv-tnt-hint{display:none}
  .tv-hstats{gap:calc(6*var(--u))}
  .tv-hero-say{margin-top:calc(68*var(--u))}
  .tv-hero-foot{margin-top:calc(18*var(--u))}
}
/* a phone on its side: the bars take a third of the height, so the word gets smaller and the words stand beside the numbers, one line each */
@media (max-height:500px) and (min-aspect-ratio:1/1){
  .tv-hero-in{--b:min(calc(var(--vw)/65),calc((100svh - 116px)/23));padding:calc(4*var(--u)) var(--b) calc(10*var(--u));grid-template-rows:auto minmax(calc(6.2*var(--b)),1fr) auto}
  .tv-h1-a{font-size:max(18px,calc(40*var(--u)));margin-bottom:calc(8*var(--u))}
  .tv-hero-say .tv-kicker{display:none}
  .tv-lead{font-size:13.5px;line-height:1.3;max-width:34em}
  .tv-hero-foot,.tv-hero-cue{display:none}
  .tv-hero{min-height:calc(100svh - 116px)!important}
  .tv-hero-say{justify-self:start;margin-left:calc(36*var(--b))}
  .tv-lead{max-width:none;width:calc(25*var(--b));font-size:12.5px}
  html.tv-wall .tv-join{height:calc(4.6*var(--b));width:calc(13*var(--b))}
  html.tv-wall .tv-ip-copy,html.tv-wall .tv-ip:hover .tv-ip-copy{font-size:11px}
  html.tv-wall .tv-live{font-size:11px}
}
