/* MONEY NEVER SLEEPS — TV. A dark arena; each section has its own light. Authored on a fixed 1920×1080 stage.
   Colour carries meaning, never decoration:
     gold     money, value, the winner          emerald  deals landing, momentum
     blue/violet  competition, confidence       heat scale (teal → gold → amber → orange → crimson)  time since a close
   Readability from across the room: bold weights only, nothing under ~20px, key numbers 90px+.
   Old TV browsers (Samsung Tizen 6 = Chrome 76): no `inset`, no `aspect-ratio`, no clamp(); flex gap has fallbacks at the end. */
:root {
  --bg: #06070b; --panel: rgba(8, 10, 18, .74); --panel2: rgba(22, 26, 40, .74); /* translucent, so each section's colour shows through */
  --line: rgba(255, 255, 255, .12); --line2: rgba(255, 255, 255, .22);
  --white: #ffffff; --mute: #c6c9d3; --dim: #8b8f9c;
  --gold: #f5c451; --gold2: #ffd978; --amber: #ff9f43;
  --em: #34e8a5; --em2: #10b981;
  --blue: #6ea8ff; --violet: #9b7bff;
  --hot: #34e8a5; --hunt: #f5c451; --due: #ffa43d; --late: #ff6b3d; --red: #ff3d6e; --new: #9fa8ff;
  --a1: var(--gold); --a2: var(--amber); /* section accent, set per screen below */
  --cond: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --sans: 'Barlow', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; }
body { display: flex; align-items: center; justify-content: center; cursor: none; }
body.pointer { cursor: default; }
button { font: inherit; color: inherit; }
#stage { width: 1920px; height: 1080px; position: relative; overflow: hidden; flex: none; color: var(--white); font-family: var(--sans); background: var(--bg); text-rendering: optimizeLegibility; } /* burn-in guard nudges it with left/top (tv.js), no transition */
#stage[data-sec="hero"] { --a1: var(--gold2); --a2: var(--amber); }
#stage[data-sec="home"] { --a1: var(--gold); --a2: var(--amber); }
#stage[data-sec="closures"] { --a1: var(--em); --a2: var(--em2); }
#stage[data-sec="leaderboard"] { --a1: var(--blue); --a2: var(--violet); }
#stage[data-sec="employees"] { --a1: var(--due); --a2: var(--red); }
#stage[data-sec="meetings"] { --a1: #ff9b71; --a2: #ffd27a; }
#stage[data-sec="mindset"] { --a1: var(--gold2); --a2: #d99a1e; }
#stage[data-sec="sales"] { --a1: #3df5c8; --a2: #27b4ff; }
#stage[data-sec="targets"] { --a1: var(--blue); --a2: var(--em); }
#stage[data-sec="achievements"] { --a1: #c58cff; --a2: var(--gold); }
.num { font-variant-numeric: tabular-nums; }
.bn { text-transform: none; } /* brand spelling: always ZāZEN */
.gg { color: var(--gold2); }
em { font-style: normal; color: var(--a1); }
.cur { font-family: var(--cond); font-weight: 700; color: var(--a1); }

/* ---------- header ---------- */
#top { position: absolute; top: 0; left: 0; right: 0; height: 88px; padding: 0 56px; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: rgba(6, 7, 11, .38); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 20px; }
.brand .vb { height: 52px; width: auto; display: block; }
.brand .div { width: 2px; height: 42px; background: var(--line2); }
.word { font: 800 30px/1 var(--cond); letter-spacing: .08em; color: var(--gold2); }
.sub { font: 600 18px/1 var(--sans); letter-spacing: .1em; color: var(--dim); margin-top: 7px; text-transform: uppercase; }
#sect { display: flex; align-items: center; gap: 16px; font: 800 30px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
#sect b { font-weight: 800; color: var(--bg); background: var(--a1); padding: 6px 10px; border-radius: 6px; font-size: 24px; letter-spacing: .04em; }
.right { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.pill { font: 700 20px/1 var(--sans); letter-spacing: .08em; padding: 9px 14px; border: 2px solid currentColor; border-radius: 999px; text-transform: uppercase; white-space: nowrap; }
.pill.live { color: var(--em); }
.pill.live::before, .pill.warn::before { content: '●'; margin-right: 8px; }
.pill.warn { color: var(--due); }
.pill.demo { color: var(--gold2); }
#mode { font: 700 20px/1 var(--sans); letter-spacing: .1em; color: var(--dim); }
#mode.manual { color: var(--gold2); }
#time { font: 700 46px/1 var(--cond); min-width: 150px; text-align: right; font-variant-numeric: tabular-nums; }
#time small { font-size: 26px; color: var(--dim); margin-left: 2px; }
#date { font: 600 18px/1 var(--sans); letter-spacing: .08em; color: var(--mute); text-align: right; margin-top: 4px; }
#progress { position: absolute; top: 88px; left: 0; right: 0; height: 4px; z-index: 5; background: rgba(255, 255, 255, .08); }
#progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--a2), var(--a1)); transform-origin: 0 50%; transform: scaleX(0); }
/* one compositor animation per screen (tv.js syncBar); two names so restarting never needs a layout */
@keyframes prog0 { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes prog1 { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* slide change: a light band sweeps across while the new screen is revealed behind it */
#wipe { position: absolute; top: 92px; bottom: 60px; left: 0; right: 0; z-index: 4; pointer-events: none; overflow: hidden; }
#wipe::before { content: ''; position: absolute; top: -10%; bottom: -10%; left: 0; width: 40%; transform: translateX(-130%) skewX(-18deg); background: linear-gradient(90deg, transparent, var(--a2) 40%, #fff 50%, var(--a1) 60%, transparent); opacity: 0; }
#wipe.go::before { will-change: transform, opacity; animation: sweep 1s cubic-bezier(.45, 0, .55, 1) both; } /* own GPU layer only while it runs */ /* even pace: at a TV's low frame rate a fast start skips frames */
@keyframes sweep { 0% { opacity: 1; transform: translateX(-130%) skewX(-18deg); } 85% { opacity: .9; } 100% { opacity: 0; transform: translateX(300%) skewX(-18deg); } }

/* ---------- screens ---------- */
#screens { position: absolute; top: 92px; bottom: 60px; left: 0; right: 0; }
.screen { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; padding: 40px 64px 32px; opacity: 0; visibility: hidden; overflow: hidden; }
.screen.active { opacity: 1; visibility: visible; z-index: 1; }
/* transform + opacity only: the GPU composites these, so weak TV chips don't repaint the whole screen every frame */
.screen.leaving { visibility: visible; animation: leave .5s ease-in both; } /* tv.js adds .leaving to the old screen for the exit */
@keyframes leave { from { opacity: 1; } to { opacity: 0; transform: translateX(-80px) scale(.94); } }
.screen.active:not(.static) { animation: enter .9s var(--ease) both .12s; } /* .12s: lets a slow TV finish drawing the screen before it moves */
@keyframes enter { from { opacity: 0; transform: translateX(120px) scale(1.04); } }
.screen.active .r { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 100ms + 150ms); }
.screen.static .r, .screen.static .w, .screen.static .bar i { animation: none !important; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } }
/* Each section has its own colour field, chosen for what the screen should make people feel.
   Linear gradients only: a TV draws them in ~0.1 s, radial ones take it over a second.
   Colour sits at the edges and fades into near-black where text lives, so white text stays above 7:1 contrast. */
#stage::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none;
  background: linear-gradient(var(--ang1, 135deg), var(--c1), transparent 58%), linear-gradient(var(--ang2, 315deg), var(--c2), transparent 52%), var(--base, #07080d); }
/* Latest Closer: warm gold and ember. Celebration, prestige, "this could be you". */
#stage[data-sec="hero"] { --c1: rgba(255, 176, 46, .42); --c2: rgba(255, 92, 54, .30); --base: #0d0906; }
/* The Floor: gold into deep teal. Money earned, steady confidence. */
#stage[data-sec="home"] { --c1: rgba(245, 190, 70, .30); --c2: rgba(20, 160, 150, .28); --base: #070b0d; }
/* Money Mindset: gold over deep emerald. Wealth, ambition, abundance. */
#stage[data-sec="mindset"] { --c1: rgba(255, 196, 70, .36); --c2: rgba(16, 150, 100, .30); --base: #070b08; }
/* Wall of Money: emerald into teal. Growth, deals landing, momentum. */
#stage[data-sec="closures"] { --c1: rgba(30, 220, 150, .32); --c2: rgba(10, 140, 170, .30); --base: #050c0b; }
/* Sales Arena: electric blue into violet. Competition, confidence, ambition. */
#stage[data-sec="leaderboard"] { --c1: rgba(60, 120, 255, .40); --c2: rgba(150, 80, 255, .36); --base: #07071a; }
/* The Clock: ember into deep plum. Urgency and heat without screaming red. */
#stage[data-sec="employees"] { --c1: rgba(255, 110, 40, .30); --c2: rgba(170, 30, 110, .34); --base: #0d070b; --ang1: 200deg; --ang2: 20deg; }
/* The Meeting Room: coral into deep teal. Conversations, warmth, activity. */
#stage[data-sec="meetings"] { --c1: rgba(255, 140, 100, .30); --c2: rgba(30, 170, 180, .26); --base: #0b0a0d; }
/* Sales Mindset: cyan into ocean blue. Energy, action, game day. */
#stage[data-sec="sales"] { --c1: rgba(30, 230, 190, .34); --c2: rgba(30, 110, 255, .34); --base: #050b12; }
/* The Runway: blue into green. Progress towards the goal. */
#stage[data-sec="targets"] { --c1: rgba(70, 140, 255, .34); --c2: rgba(30, 210, 150, .28); --base: #060a10; }
/* Hall of Records: royal purple with gold. Prestige, legacy. */
#stage[data-sec="achievements"] { --c1: rgba(160, 80, 255, .40); --c2: rgba(245, 180, 60, .26); --base: #0b0714; }

.s-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.s-head h1 { margin: 0; font: 800 76px/.9 var(--cond); letter-spacing: .01em; text-transform: uppercase; }
.s-head h1 span { color: var(--a1); }
.s-head .meta { font: 600 24px/1.3 var(--sans); color: var(--mute); text-align: right; }
.kicker { font: 700 24px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--a1); }
.lbl { font: 700 22px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.empty { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; }
.empty h2 { font: 800 130px/.95 var(--cond); text-transform: uppercase; margin: 0 0 26px; color: var(--a1); }
.empty p { font: 600 34px/1.4 var(--sans); color: var(--mute); margin: 0; }
.fit { white-space: nowrap; overflow: hidden; }

/* avatar: initials underneath, photo on top when it loads */
.av { position: relative; overflow: hidden; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #262a38, #11131b); width: var(--s, 72px); height: var(--s, 72px); }
.av span { font: 800 calc(var(--s, 72px) * .4)/1 var(--cond); color: var(--mute); }
.av img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.av:not(.sq) img { transform: scale(1.25); transform-origin: 50% 12%; } /* round avatars: frame the face */
.av.sq { border-radius: 18px; }

/* ---------- HERO: the latest closer — light "poster" style: giant first name behind the photo,
   one name bar behind the person, first name left, surname right, a details strip, and the deal value as the message. ---------- */
.hero { height: 100%; position: relative; margin: -40px -64px -32px; color: var(--white); }
.hero .ghost { position: absolute; left: 0; right: 0; top: 6px; text-align: center; font: 900 var(--gf, 330px)/.8 var(--cond); text-transform: uppercase; letter-spacing: .01em; color: rgba(255, 214, 140, .13); transform: scaleY(1.55); transform-origin: 50% 0; white-space: nowrap; }
.hero .ph { position: absolute; left: 50%; top: 20px; width: 620px; height: 620px; margin-left: -310px; z-index: 2;
  -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 40%, #000 75%, transparent 100%); mask-image: radial-gradient(ellipse 50% 52% at 50% 40%, #000 75%, transparent 100%); } /* the photo melts into the paper, like a cut-out */
.hero .ph .av { width: 100%; height: 100%; border-radius: 0; background: transparent; }
.hero .ph .av span { font-size: 220px; color: rgba(255, 217, 120, .5); }
/* transparent cutout (scripts/cutout.swift): the person stands on the colour, fading out at the waist like the reference */
.hero .ph.cut { top: -30px; width: 780px; height: 780px; margin-left: -390px; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.hero .ph.cut img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.hero .bar { position: absolute; top: 352px; left: 150px; right: 150px; height: 92px; z-index: 1; justify-content: space-between; padding: 0 54px; display: flex; align-items: center; border-radius: 14px; background: linear-gradient(90deg, #c98a2a, #f2c565); box-shadow: 0 18px 44px -16px rgba(0, 0, 0, .7); color: #1a1103; font: 800 52px/1 var(--cond); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.hero .strip { position: absolute; top: 462px; left: 170px; right: 170px; height: 70px; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-radius: 12px; background: #fff; box-shadow: 0 16px 44px -16px rgba(0, 0, 0, .7); }
.hero .strip .k { font: 700 28px/1 var(--sans); color: #2a2a30; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 560px; }
.hero .strip .k b { color: #8a560f; }
.hero .strip .tags { display: flex; gap: 10px; }
.hero .strip .tags span { font: 800 22px/1 var(--sans); padding: 10px 14px; border-radius: 8px; background: #17171b; color: #ffd978; white-space: nowrap; }
.hero .msg { position: absolute; left: 260px; right: 260px; top: 604px; text-align: center; z-index: 3; text-shadow: 0 4px 24px rgba(0, 0, 0, .55); }
.hero .val { font: 900 150px/.9 var(--cond); color: var(--white); letter-spacing: -.01em; }
.hero .val .cur { font-size: 56px; color: var(--gold2); margin-right: 14px; vertical-align: 64px; }
.hero .val.tbc { font-size: 96px; color: var(--mute); }
.hero .say { position: relative; margin-top: 18px; font: italic 600 32px/1.4 var(--sans); color: #efe7da; padding: 0 70px; }
.hero .say b { display: block; margin-top: 6px; font-style: italic; font-weight: 800; color: var(--gold2); }
.hero .say::before, .hero .say::after { position: absolute; font: 900 180px/1 Georgia, serif; color: rgba(255, 217, 120, .28); }
.hero .say::before { content: '\201C'; left: -30px; top: -40px; }
.hero .say::after { content: '\201D'; right: -30px; bottom: -120px; }
/* motion on capable devices: name bar grows in, photo rises, ghost name settles */
.screen.active .hero .bar { animation: barIn .9s var(--ease) both .3s; }
.screen.active .hero .ph { animation: phIn 1.1s var(--ease) both .1s; }
.screen.active .hero .ghost { animation: ghostIn 1.4s var(--ease) both; }
.screen.active .hero .strip, .screen.active .hero .msg { animation: rise .9s var(--ease) both .7s; }
@keyframes barIn { from { opacity: 0; transform: scaleX(.6); } }
@keyframes phIn { from { opacity: 0; transform: translateY(40px); } }
@keyframes ghostIn { from { opacity: 0; transform: scaleY(1.55) translateY(-30px); } }
.screen.static .hero .bar, .screen.static .hero .ph, .screen.static .hero .ghost, .screen.static .hero .strip, .screen.static .hero .msg { animation: none; }

/* ---------- HOME: the floor ---------- */
.home { height: 100%; display: grid; grid-template-columns: 1fr 560px; gap: 0 60px; }
.h-left { display: flex; flex-direction: column; min-width: 0; }
.mega { font: 900 220px/.84 var(--cond); letter-spacing: -.01em; margin: 22px 0 18px; display: flex; align-items: flex-start; }
.mega .cur { font-size: 64px; margin: 20px 20px 0 0; }
.mega .n { overflow: hidden; white-space: nowrap; }
.delta { font: 700 30px/1.2 var(--sans); color: var(--mute); }
.delta.up { color: var(--em); }
.chart { flex: 1; min-height: 0; margin-top: 30px; position: relative; display: flex; flex-direction: column; }
.chart .plot { flex: 1; min-height: 0; position: relative; }
.chart svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.chart .ln { fill: none; stroke: url(#gl); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) .5s forwards; }
.static .chart .ln { animation: none; stroke-dashoffset: 0; }
.chart .ar { fill: url(#ga); opacity: 0; animation: fadein 1.4s ease 1s forwards; }
.static .chart .ar { animation: none; opacity: 1; }
.chart .pace { stroke: rgba(255, 255, 255, .4); stroke-width: 2; stroke-dasharray: 8 10; fill: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* "today" marker and labels sit on top as normal elements (an SVG stretched to fit would squash them) */
.chart .dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 0 8px rgba(255, 217, 120, .22); }
.chart .tgt-l { position: absolute; right: 0; transform: translateY(-130%); font: 700 22px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.chart .axis { position: relative; display: flex; justify-content: space-between; margin-top: 14px; font: 700 24px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.chart .axis .today { position: absolute; top: 0; transform: translateX(-50%); color: var(--gold2); }
.pulse { display: grid; grid-auto-rows: 1fr; gap: 20px; min-height: 0; }
.ps { border-radius: 22px; background: var(--panel); border: 2px solid var(--line); padding: 22px 30px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.ps::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c, var(--gold)); }
.ps .v { font: 900 92px/1 var(--cond); margin: 8px 0 4px; color: var(--c, var(--white)); white-space: nowrap; }
.ps .v small { font-size: 46px; color: var(--mute); margin-left: 10px; font-weight: 700; }
.ps .s { font: 600 24px/1.3 var(--sans); color: var(--mute); }
.dots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dots i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.dots i.on { background: var(--em); }

/* ---------- CLOSURES: the wall of money ---------- */

/* ---------- LEADERBOARD: the arena ---------- */
.arena { height: 100%; display: flex; flex-direction: column; }
/* Wall of Money: the arena podium at full width, so taller seats and bigger photos */
.wall { height: 100%; display: flex; flex-direction: column; }
.wall .podium { flex: 1; height: auto; max-width: 1500px; width: 100%; margin: 20px auto 0; padding-top: 50px; }
.wall .pod.p2 { height: 88%; }
.wall .pod.p3 { height: 78%; }
.wall .pod .av { --s: 220px; }
.wall .pod.p1 .av { --s: 290px; }
.wall .pod b { font-size: 48px; }
.wall .pod.p1 b { font-size: 58px; }
.wall .pod .vol { font-size: 76px; }
.wall .pod.p1 .vol { font-size: 96px; }
.wall .pod .dl { font-size: 26px; }
.ar-grid { flex: 1; display: grid; grid-template-columns: 1fr 520px; gap: 0 50px; min-height: 0; }
.ar-main { display: flex; flex-direction: column; min-height: 0; }
.podium { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 24px; align-items: end; height: 520px; padding-top: 34px; }
.pod { border-radius: 26px 26px 14px 14px; background: linear-gradient(180deg, rgba(110, 168, 255, .16), var(--panel) 60%); border: 2px solid rgba(110, 168, 255, .35); padding: 46px 24px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; position: relative; }
.pod.p1 { height: 100%; background: linear-gradient(180deg, rgba(245, 196, 81, .22), var(--panel) 62%); border-color: rgba(255, 217, 120, .7); box-shadow: 0 30px 110px -40px rgba(245, 196, 81, .55); }
.pod.p2 { height: 86%; }
.pod.p3 { height: 76%; }
.pod .av { --s: 170px; box-shadow: 0 0 0 5px rgba(110, 168, 255, .55); }
.pod.p1 .av { --s: 220px; box-shadow: 0 0 0 6px var(--gold2); }
.pod .rk { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 900 38px/1 var(--cond); background: var(--blue); color: #061227; }
.pod.p1 .rk { background: var(--gold2); color: #1a1103; width: 76px; height: 76px; font-size: 46px; top: -38px; }
.pod b { display: block; font: 800 40px/1.05 var(--cond); text-transform: uppercase; margin-top: 18px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod.p1 b { font-size: 48px; }
.pod .vol { font: 900 60px/1 var(--cond); color: var(--blue); margin-top: 8px; white-space: nowrap; }
.pod.p1 .vol { color: var(--gold2); font-size: 74px; }
.pod .dl { font: 600 24px/1.2 var(--sans); color: var(--mute); margin-top: 6px; }
.pod.open { background: transparent; border-style: dashed; border-color: var(--line2); box-shadow: none; justify-content: center; }
.pod.open .rk { background: var(--panel2); color: var(--dim); border: 2px dashed var(--line2); }
.pod.open b { color: var(--mute); font-size: 40px; margin-top: 0; }
.pod.open .dl { font-size: 24px; max-width: 300px; white-space: normal; }
.rest { margin-top: 22px; display: grid; gap: 10px; }
.rrow { display: grid; grid-template-columns: 56px 64px 1fr 120px 200px; align-items: center; gap: 18px; height: 72px; padding: 0 22px; border-radius: 14px; background: var(--panel); border: 2px solid var(--line); }
.rrow .rk { font: 800 36px/1 var(--cond); color: var(--dim); text-align: center; }
.rrow b { font: 700 32px/1 var(--cond); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrow .c { font: 700 30px/1 var(--cond); text-align: right; color: var(--mute); }
.rrow .vv { font: 800 34px/1 var(--cond); text-align: right; color: var(--blue); }
.crowns { display: grid; grid-auto-rows: 1fr; gap: 18px; min-height: 0; }
.crown { border-radius: 22px; background: var(--panel); border: 2px solid var(--line); padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.crown::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--blue), var(--violet)); }
.crown .lbl { color: #b9cdff; }
.crown .who { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.crown .who b { display: block; font: 800 36px/1.05 var(--cond); text-transform: uppercase; }
.crown .who span { display: block; font: 800 36px/1 var(--cond); color: var(--blue); margin-top: 6px; }
.crown .na { font: 600 24px/1.35 var(--sans); color: var(--dim); margin-top: 12px; }
.note { font: 600 22px/1.4 var(--sans); color: var(--dim); margin-top: 18px; }

/* ---------- THE CLOCK: days since the last closure ---------- */
.clock { height: 100%; display: flex; flex-direction: column; }
.ck-sum { display: flex; gap: 18px; }
.ck-sum > div { border-radius: 16px; background: var(--panel); border: 2px solid var(--line); padding: 14px 22px; text-align: left; }
.ck-sum b { display: block; font: 900 50px/1 var(--cond); }
.ck-sum span { display: block; font: 700 18px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 30px; font: 700 22px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: -6px 0 22px; }
.legend i { display: inline-block; width: 16px; height: 16px; border-radius: 4px; margin-right: 10px; vertical-align: -1px; }
.tiles { flex: 1; display: grid; gap: 16px; grid-auto-rows: 1fr; min-height: 0; }
.tile { --h: var(--dim); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 0 30px 0 0; border-radius: 20px; background: linear-gradient(90deg, var(--panel2), var(--panel)); border: 2px solid var(--line); min-height: 0; overflow: hidden; position: relative; }
.tile .tph { width: var(--pw, 170px); height: 100%; border-radius: 0; }
.tile .tph span { font-size: 64px; }
.tile .who { min-width: 0; }
.tile .nm { font: 800 var(--nf, 38px)/1.02 var(--cond); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .st { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; margin-top: 10px; font: 800 20px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 8px; color: #0b0b0b; background: var(--h); white-space: nowrap; }
.tile .sb { font: 600 22px/1.25 var(--sans); color: var(--mute); margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .d { text-align: right; }
.tile .d b { display: block; font: 900 var(--df, 110px)/.85 var(--cond); font-variant-numeric: tabular-nums; color: var(--h); }
.tile .d span { display: block; font: 800 22px/1 var(--sans); letter-spacing: .12em; color: var(--h); text-transform: uppercase; margin-top: 8px; }
.tile .heat { position: absolute; left: var(--pw, 170px); right: 0; bottom: 0; height: 8px; background: rgba(255, 255, 255, .06); }
.tile .heat i { display: block; height: 100%; background: var(--h); transform-origin: 0 50%; }
.tile.hot { --h: var(--hot); border-color: rgba(52, 232, 165, .55); background: linear-gradient(90deg, rgba(52, 232, 165, .16), var(--panel) 70%); }
.tile.hunt { --h: var(--hunt); }
.tile.due { --h: var(--due); border-color: rgba(255, 164, 61, .45); background: linear-gradient(90deg, rgba(255, 164, 61, .1), var(--panel) 70%); }
.tile.late { --h: var(--late); border-color: rgba(255, 107, 61, .7); background: linear-gradient(90deg, rgba(255, 107, 61, .18), var(--panel) 75%); }
.tile.red { --h: var(--red); border-color: var(--red); background: linear-gradient(90deg, rgba(255, 61, 110, .26), rgba(255, 61, 110, .06) 80%); box-shadow: 0 0 40px -10px rgba(255, 61, 110, .55); }
.tile.red { border-width: 3px; }
.tile.new { --h: var(--new); border-style: dashed; }
.tile.new .d b { font-size: calc(var(--df, 110px) * .62); }

/* ---------- THE MEETING ROOM: today and month counts, a bar per day, a ranked board ---------- */
.meet { height: 100%; display: flex; flex-direction: column; }
.mt-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 760px; gap: 0 50px; }
.mt-left { display: flex; flex-direction: column; min-height: 0; }
.mt-nums { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.mt-big { min-width: 0; border-radius: 22px; background: var(--panel); border: 2px solid var(--line); padding: 22px 26px; position: relative; overflow: hidden; }
.mt-big::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--a1), var(--a2)); }
.mt-big .n { font: 900 140px/.9 var(--cond); color: var(--a1); margin: 10px 0 6px; }
.mt-big .s { font: 600 22px/1.3 var(--sans); color: var(--mute); }
.mt-big .s.up { color: var(--em); }
.mt-days { flex: 1; min-height: 0; margin-top: 26px; display: flex; flex-direction: column; border-radius: 22px; background: var(--panel); border: 2px solid var(--line); padding: 22px 30px 18px; }
.mt-days .bars { flex: 1; min-height: 0; display: flex; align-items: flex-end; margin-top: 18px; padding-top: 34px; border-bottom: 2px solid var(--line2); } /* room for the count above the tallest bar */
.mt-days .bars i { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; margin: 0 3px; position: relative; }
.mt-days .bars b { display: block; width: 100%; border-radius: 6px 6px 0 0; background: rgba(255, 155, 113, .45); }
.mt-days .bars i.t b { background: var(--a1); }
.mt-days .bars i.f b { background: transparent; }
.mt-days .bars i { justify-content: flex-end; }
.mt-days .bars span { order: -1; font: 800 20px/1 var(--cond); color: var(--mute); margin-bottom: 6px; } /* sits right on top of its bar */
.mt-days .bars i.t span { color: var(--a1); }
.mt-days .axis { display: flex; justify-content: space-between; margin-top: 12px; font: 700 22px/1 var(--sans); letter-spacing: .06em; color: var(--mute); }
.mt-board { min-height: 0; display: flex; flex-direction: column; border-radius: 22px; background: var(--panel); border: 2px solid var(--line); padding: 22px 26px; overflow: hidden; }
.mt-board .lbl { margin-bottom: 12px; }
.mrow { display: grid; grid-template-columns: 44px 58px minmax(0, 1fr) 76px 76px 90px; align-items: center; gap: 16px; padding: 9px 4px; border-bottom: 2px solid var(--line); }
.mrow:last-child { border-bottom: 0; }
.mrow .rk { font: 800 32px/1 var(--cond); color: var(--dim); text-align: center; }
.mrow b { font: 800 32px/1.05 var(--cond); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .td { font: 800 20px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.mrow .td { text-align: center; }
.mrow .td.on { color: #0b0b0b; background: var(--em); padding: 7px 0; border-radius: 8px; font-size: 24px; }
.mrow .wk { font: 900 40px/1 var(--cond); text-align: center; color: var(--mute); }
.mrow.mh { padding: 0 4px 8px; }
.mrow.mh span { font: 800 16px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); text-align: center; }
.mrow.mh span:last-child { text-align: right; }
.mrow .mc { font: 900 54px/1 var(--cond); text-align: right; color: var(--white); }
.mrow.lead .rk, .mrow.lead .mc { color: var(--a1); }

/* ---------- MINDSET: money (gold) and sales (game day), on the section's own ambient background. House lines in big
   condensed caps; quotations in Barlow with a bar and byline. A pencil sketch of the speaker fades in from the right
   only when the line has a named author (and we have their sketch). ---------- */
.mind { --ink: #ffffff; --qa: var(--a1);
  height: calc(100% + 72px); /* + the screen's top/bottom padding, so it meets the footer */ position: relative; display: flex; flex-direction: column; margin: -40px -64px -32px; padding: 54px 120px 50px; overflow: hidden; }
.mind .beam { position: absolute; width: 1600px; height: 1000px; left: -400px; top: -200px; background: radial-gradient(closest-side, rgba(255, 255, 255, .07), transparent); animation: beam 22s ease-in-out infinite alternate; pointer-events: none; }
@keyframes beam { to { transform: translate(1000px, 160px); } }
.m-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.m-top .t { font: 900 44px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--a1); }
.m-top .ct { font: 700 24px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.mind.sales .m-top { border-bottom: 3px solid rgba(61, 245, 200, .35); padding-bottom: 22px; }
.m-body { flex: 1; min-height: 0; margin-top: 16px; display: flex; align-items: center; }
.m-body.out { animation: mout .6s ease forwards; } /* opacity only: a transform here would re-anchor the sketch mid-fade */
@keyframes mout { to { opacity: 0; } }
.qx { flex: 0 0 960px; width: 960px; position: relative; z-index: 2; }
.m-body.noart .qx { flex-basis: 1660px; width: 1660px; } /* no sketch: the line gets the full width */
/* house line (no author, so no byline under it): the quote mark above would push the words below the middle,
   so an equal space under the block puts the words themselves at the screen's vertical centre */
.m-body.noart:not(.said) .qx { padding-bottom: 190px; }
.qm { display: flex; align-items: flex-start; gap: 40px; height: 110px; margin-bottom: 18px; }
.qm b { font: 900 240px/1 var(--cond); color: var(--a1); height: 110px; }
.qm i { flex: 0 1 620px; height: 4px; margin-top: 62px; border-radius: 2px; background: linear-gradient(90deg, var(--a1), transparent); transform-origin: 0; }
/* house line: big condensed caps */
.qt { font: 900 var(--qf, 150px)/.94 var(--cond); color: var(--ink); text-transform: uppercase; }
/* quotation: Barlow sentence case (Sales keeps condensed caps, game-day style) */
.qt.said { font: 700 var(--qf, 104px)/1.08 var(--sans); text-transform: none; letter-spacing: -.01em; }
.mind.sales .qt.said { font-family: var(--cond); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: 0; }
.qt em { font-style: normal; color: var(--a1); }
.qbar { width: 180px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--a1), var(--a2)); margin: 46px 0 26px; transform-origin: 0; }
.qa b { display: block; font: 800 50px/1.1 var(--cond); letter-spacing: .04em; color: var(--a1); text-transform: uppercase; }
.qa span { display: block; font: 600 26px/1.3 var(--sans); color: var(--mute); margin-top: 10px; }
.art { position: absolute; right: -90px; bottom: -14%; height: 100%; width: auto; /* faded bottom under the footer edge; the top starts below the heading line */ z-index: 0; pointer-events: none; }
.pager { display: flex; gap: 12px; position: relative; z-index: 2; margin-top: 24px; }
.pager i { width: 60px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.pager i.on { background: var(--a1); }
/* Each new line arrives: the mark lands, the rule draws, words rise in order, then the bar and the name. */
.qm b { animation: qmIn .9s var(--ease) both .05s; }
@keyframes qmIn { from { opacity: 0; transform: translateY(40px) scale(.7); } }
.qm i { animation: grow 1.3s var(--ease) both .3s; }
.w { display: inline-block; animation: word .6s var(--ease) both; animation-delay: calc(var(--i) * 45ms + 350ms); }
@keyframes word { from { opacity: 0; transform: translateY(.3em); } }
.qbar { animation: grow .9s var(--ease) both .9s; }
.qa { animation: rise .9s var(--ease) both 1.1s; }
.art { animation: fadein 1.1s ease both .1s; } /* opacity only: moving a big see-through image every frame is what TVs choke on */

/* ---------- TARGETS ---------- */
.tgt { height: 100%; display: flex; flex-direction: column; }
.t-main { display: flex; align-items: flex-end; gap: 56px; }
.t-pct { font: 900 220px/.8 var(--cond); }
.t-pct small { font-size: 96px; color: var(--a1); margin-left: 6px; }
.t-of { font: 800 52px/1.1 var(--cond); padding-bottom: 14px; }
.t-of span { display: block; font: 600 26px/1.4 var(--sans); color: var(--mute); }
.t-st { margin-left: auto; font: 800 28px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 16px 22px; border-radius: 12px; border: 3px solid currentColor; margin-bottom: 16px; color: var(--due); }
.t-st.up { color: var(--em); }
.runway { position: relative; height: 130px; margin: 40px 0 10px; }
.runway .track { position: absolute; left: 0; right: 0; top: 48px; height: 34px; border-radius: 17px; background: rgba(255, 255, 255, .07); }
.runway .fill { position: absolute; left: 0; top: 48px; height: 34px; border-radius: 17px; background: linear-gradient(90deg, var(--a1), var(--a2)); transform-origin: 0; animation: grow 1.8s var(--ease) both .4s; }
.runway .mk { position: absolute; top: 34px; height: 62px; width: 4px; background: var(--white); }
.runway .mk span { position: absolute; top: -34px; transform: translateX(-50%); white-space: nowrap; font: 700 22px/1 var(--sans); letter-spacing: .06em; }
.runway .ends { position: absolute; top: 102px; left: 0; right: 0; display: flex; justify-content: space-between; font: 700 22px/1 var(--sans); color: var(--mute); }
.t-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 26px; }
.teams { margin-top: auto; padding-top: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 22px; }
.team { border-radius: 18px; background: var(--panel); border: 2px solid var(--line); padding: 18px 26px; }
.team b { font: 800 34px/1 var(--cond); text-transform: uppercase; }
.team .v { font: 900 56px/1 var(--cond); margin-top: 10px; }
.team .v small { font: 600 22px/1 var(--sans); color: var(--mute); margin-left: 10px; }
.team.lead { border-color: var(--a1); }
.team.lead .v { color: var(--a1); }
.bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--a2), var(--a1)); transform-origin: 0 50%; animation: grow 1.4s var(--ease) both .5s; }

/* ---------- ACHIEVEMENTS ---------- */
.ach { height: 100%; display: flex; flex-direction: column; }
.welcome { display: flex; align-items: center; gap: 28px; border-radius: 20px; border: 2px solid rgba(197, 140, 255, .5); background: linear-gradient(90deg, rgba(197, 140, 255, .18), transparent 75%); padding: 16px 28px; margin-bottom: 22px; }
.welcome .h { font: 900 46px/1 var(--cond); text-transform: uppercase; color: var(--gold2); }
.welcome .ppl { display: flex; gap: 34px; margin-left: auto; }
.welcome .ppl > div { display: flex; align-items: center; gap: 14px; font: 800 32px/1.1 var(--cond); text-transform: uppercase; }
.welcome .ppl small { display: block; font: 600 20px/1 var(--sans); color: var(--mute); margin-top: 6px; text-transform: none; }
.recs { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 22px; min-height: 0; }
.rec { border-radius: 22px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid var(--line); padding: 26px 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; min-height: 0; }
.rec::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, #c58cff, var(--gold)); }
.rec .lbl { color: #d9b8ff; }
.rec .big { font: 900 86px/1 var(--cond); margin-top: auto; white-space: nowrap; color: var(--gold2); }
.rec .big .cur { font-size: 36px; margin-right: 10px; vertical-align: 32px; color: var(--gold); }
.rec .big.g { color: var(--em); }
.rec .who { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.rec .who b { display: block; font: 800 34px/1.05 var(--cond); text-transform: uppercase; }
.rec .who small { display: block; font: 600 22px/1.3 var(--sans); color: var(--mute); margin-top: 4px; }
.rec .na { margin-top: auto; font: 600 26px/1.4 var(--sans); color: var(--dim); }
.ms { margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.ms > div { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--line); padding-bottom: 12px; }
.ms b { font: 900 46px/1 var(--cond); }
.ms b.g { color: var(--em); }
.ms span { font: 600 22px/1.3 var(--sans); color: var(--mute); text-align: right; }

/* ---------- ticker ---------- */
#ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; display: flex; z-index: 5; border-top: 2px solid var(--line); background: rgba(6, 7, 11, .42); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
#ticker .tl { flex: none; display: flex; align-items: center; gap: 12px; padding: 0 26px; background: linear-gradient(90deg, var(--gold2), var(--amber)); color: #1a1103; font: 800 24px/1 var(--cond); letter-spacing: .12em; }
#ticker .tape { flex: 1; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
#ticker .track { display: inline-flex; white-space: nowrap; animation: tape linear infinite; animation-duration: var(--dur, 60s); }
.tk { padding: 0 34px; font: 700 32px/1 var(--cond); letter-spacing: .02em; color: var(--mute); text-transform: uppercase; }
.tk b { color: var(--white); font-weight: 800; }
.tk .up { color: var(--em); margin-left: 12px; }
.tk::after { content: '◆'; color: var(--gold); font-size: 16px; margin-left: 68px; vertical-align: 5px; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- navigation ---------- */
#nav { position: absolute; left: 0; right: 0; bottom: 60px; z-index: 6; padding: 120px 64px 26px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .95) 45%); transform: translateY(40px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .35s var(--ease), visibility .35s; }
#nav.open { transform: none; opacity: 1; visibility: visible; }
#nav .items { display: flex; gap: 12px; justify-content: center; }
.ni { min-width: 0; flex: 0 1 190px; padding: 18px 18px; border-radius: 14px; border: 2px solid var(--line); background: rgba(20, 23, 34, .95); color: var(--mute); font: 700 22px/1.1 var(--sans); text-align: left; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; position: relative; }
.ni b { display: block; color: var(--gold); margin-bottom: 8px; font: 800 22px/1 var(--cond); }
.ni.cur::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 8px; height: 3px; border-radius: 2px; background: var(--gold); }
.ni.focus { border-color: var(--gold2); color: var(--white); background: rgba(245, 196, 81, .18); transform: translateY(-8px); }
#nav .hint { text-align: center; font: 600 22px/1 var(--sans); color: var(--dim); margin-top: 22px; }
#nav .hint b { color: var(--mute); }

/* ---------- live announcement: a new closure takes over every screen ---------- */
#announce { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 20; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(1300px 760px at 50% 40%, #2a1d06, #050506 70%); overflow: hidden; }
#announce.show { display: flex; animation: fadein .5s ease both; }
#announce.bye { animation: aout .8s ease forwards; }
@keyframes aout { to { opacity: 0; } }
.a-glow { position: absolute; width: 1500px; height: 1500px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 217, 120, .25), transparent); animation: glow 2.4s ease-out both .3s; }
@keyframes glow { from { transform: scale(.2); opacity: 0; } 40% { opacity: 1; } to { transform: scale(1); opacity: .6; } }
.a-rays i { position: absolute; bottom: -200px; width: 3px; height: 220px; background: linear-gradient(180deg, transparent, rgba(255, 217, 120, .6), transparent); animation: ray 3.6s linear infinite; }
@keyframes ray { from { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(-1500px); opacity: 0; } }
.a-kicker { font: 800 30px/1 var(--sans); letter-spacing: .3em; color: var(--em); text-transform: uppercase; animation: fadein .6s ease both .4s; position: relative; }
.a-title { font: 900 160px/1 var(--cond); letter-spacing: .02em; margin: 20px 0 0; position: relative; animation: slam .9s var(--ease) both .6s; }
@keyframes slam { from { opacity: 0; transform: scale(1.6); } }
.a-lines { position: relative; width: 1400px; height: 4px; margin: 24px 0 6px; }
.a-lines::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, transparent, var(--gold2), transparent); transform: scaleX(0); animation: grow2 1.2s var(--ease) forwards 1.1s; }
@keyframes grow2 { to { transform: scaleX(1); } }
.a-value { font: 900 220px/1 var(--cond); position: relative; display: flex; align-items: flex-start; animation: fadein .3s ease both 1.5s; font-variant-numeric: tabular-nums; color: var(--gold2); }
.a-value .cur { font-size: 70px; margin: 28px 22px 0 0; }
.a-who { display: flex; align-items: center; gap: 40px; margin-top: 20px; position: relative; animation: rise 1s var(--ease) both 3.3s; text-align: left; }
.a-who .av { --s: 240px; width: 240px; height: 290px; border-radius: 22px; box-shadow: 0 0 0 5px var(--gold2), 0 0 80px rgba(255, 200, 90, .4); }
.a-name { font: 900 96px/1 var(--cond); text-transform: uppercase; }
.a-proj { font: 700 34px/1.3 var(--sans); color: var(--mute); margin-top: 14px; }
.a-meet { font: 900 56px/1 var(--cond); letter-spacing: .04em; color: var(--em); text-transform: uppercase; margin-top: 30px; position: relative; animation: rise 1s var(--ease) both 4.4s; }
.a-meet small { display: block; font: 700 28px/1 var(--sans); letter-spacing: .06em; color: var(--mute); margin-top: 16px; text-transform: none; }
.a-test { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); font: 800 24px/1 var(--sans); letter-spacing: .2em; padding: 12px 20px; border-radius: 10px; border: 3px solid var(--due); color: var(--due); }
.a-demo { position: absolute; bottom: 34px; right: 40px; font: 700 22px/1 var(--sans); letter-spacing: .14em; color: var(--gold2); opacity: .8; }
.a-brand { position: absolute; bottom: 34px; left: 40px; height: 54px; width: auto; opacity: .9; }

/* ---------- boot / closed / hints ---------- */
#boot, #closed { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 30; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.vb-big { height: 120px; width: auto; display: block; margin: 0 auto 44px; }
#boot .word, #closed .word { font-size: 60px; }
#boot p, #closed p { font: 600 28px/1.5 var(--sans); letter-spacing: .08em; color: var(--mute); text-transform: uppercase; margin-top: 30px; }
#boot p::after { content: ''; animation: dots 1.5s steps(4) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
#closed { display: none; }
#closed.on { display: flex; }
#closed .ct { font: 800 220px/1 var(--cond); color: rgba(255, 255, 255, .6); margin-top: 40px; font-variant-numeric: tabular-nums; }
#closed .inner { animation: drift 120s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(-140px, -60px); } to { transform: translate(140px, 60px); } }
#fsHint { position: absolute; z-index: 25; top: 120px; left: 50%; transform: translateX(-50%); font: 700 24px/1 var(--sans); padding: 16px 24px; border-radius: 12px; background: rgba(0, 0, 0, .85); border: 2px solid var(--line2); color: var(--gold2); display: none; }
#fsHint.on { display: block; }

/* ---------- lite: TVs and streaming sticks (weak processors). Same layout, cheap motion only. ---------- */
.lite #top, .lite #ticker { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lite #announce { background: linear-gradient(180deg, #2a1d06, #050506 75%); }
.lite .screen.active .r, .lite .w, .lite .bar i, .lite .runway .fill { animation: none !important; }
.lite .chart .ln { animation: none; stroke-dashoffset: 0; }
.lite .chart .ar { animation: none; opacity: 1; }
.lite .chart .ring, .lite .mind .beam, .lite .a-rays, .lite .a-glow { display: none; }
.lite #ticker .tape { -webkit-mask-image: none; mask-image: none; }
.lite #ticker .track { will-change: transform; }
.lite .pod.p1, .lite .hero .bar, .lite .hero .strip, .lite .tile.red, .lite .a-who .av { box-shadow: none; }
.lite .a-title { animation: fadein .6s ease both .6s; }
.lite #closed .inner { animation: none; }
.lite .qt { animation: rise .8s var(--ease) both .3s; } /* one move for the whole line instead of per-word */
.lite .screen.active .hero .bar, .lite .screen.active .hero .ph, .lite .screen.active .hero .ghost, .lite .screen.active .hero .strip { animation: none; }
.lite .screen.active .hero .msg { animation: fadein .8s ease both .1s; } /* one cheap fade so the hero still arrives */
.lite .screen.static .hero .msg { animation: none; }

/* ---------- old TV browsers (Chrome 76): no flex gap, so tv.js adds .nogap and these margins stand in ---------- */
.nogap .brand > * + * { margin-left: 20px; }
.nogap #sect > * + * { margin-left: 16px; }
.nogap .right > * + * { margin-left: 24px; }
.nogap .hero .strip .tags > * + * { margin-left: 10px; }
.nogap .chips > * { margin: 0 16px 16px 0; }
.nogap .next > * + * { margin-left: 26px; }
.nogap .dots > * { margin: 0 8px 8px 0; }
.nogap .crown .who > * + * { margin-left: 18px; }
.nogap .ck-sum > * + * { margin-left: 18px; }
.nogap .legend > * { margin: 0 30px 30px 0; }
.nogap .pager > * + * { margin-left: 12px; }
.nogap .mt-nums > * + * { margin-left: 22px; }
.nogap .mrow > * + * { margin-left: 16px; }
.nogap .qm > * + * { margin-left: 40px; }
.nogap .t-main > * + * { margin-left: 56px; }
.nogap .welcome > * + * { margin-left: 28px; }
.nogap .welcome .ppl > * + * { margin-left: 34px; }
.nogap .welcome .ppl > div > * + * { margin-left: 14px; }
.nogap .rec .who > * + * { margin-left: 16px; }
.nogap .ms > * + * { margin-top: 16px; }
.nogap #ticker .tl > * + * { margin-left: 12px; }
.nogap #nav .items > * + * { margin-left: 12px; }
.nogap .a-who > * + * { margin-left: 40px; }
.nogap #sect b { margin-right: 16px; }

/* Paged lists (The Clock, The Meeting Room board): one page at a time; entry animations replay on each flip */
.pg { display: none; }
.pg.on { display: block; }
.tiles.pg.on { display: grid; }
.pgn { float: right; color: var(--a1); }
.ck-pgn { align-self: flex-end; margin-top: 10px; font: 800 20px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
