
/* Layout: command center = two live TV previews + a control rail; #tv1 / #tv2 = one TV full screen.
   Suite style (Portal Design spec 2026-11-12): portal tokens, liquid glass over soft teal/blue light, Inter only. */
:root {
  --teal-500: #0bb0a9; --teal-600: #099a93; --teal-700: #077a75; --teal-050: #eef9f8;
  --ink-900: #1a1a1a; --ink-700: #4a4a4a; --ink-500: #666666;
  --surface-soft: #f7f8fa; --hairline: #e2e5e9;
  --good: #1a8a5c; --warn: #d48a0e; --bad: #c0392b;
  --board-bg: #f3f8f8;
  --glass: rgba(255, 255, 255, .52); --glass-strong: rgba(255, 255, 255, .72);
  --glass-edge: rgba(255, 255, 255, .85); --glass-line: rgba(255, 255, 255, .6);
  --glass-drop: 0 10px 30px -12px rgba(15, 40, 50, .25);
  --bubble-teal: #0bb0a9; --bubble-blue: #7f9cf5; --bubble-k: 1;
  --on-accent: #fff;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --glide: cubic-bezier(.22, 1, .36, 1);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark;
  --teal-600: #14c4bc; --teal-700: #5ed3cb; --teal-050: #0f2b2a;
  --ink-900: #e8ecee; --ink-700: #b9c0c5; --ink-500: #9aa2a8;
  --surface-soft: #1e2327; --hairline: #2a3035;
  --good: #34d399; --warn: #f59e0b; --bad: #f87171;
  --board-bg: #071012;
  --glass: rgba(28, 34, 38, .42); --glass-strong: rgba(40, 48, 52, .6);
  --glass-edge: rgba(255, 255, 255, .14); --glass-line: rgba(255, 255, 255, .1);
  --glass-drop: 0 14px 40px -14px rgba(0, 0, 0, .7);
  --bubble-teal: #14c4bc; --bubble-blue: #4f6fe0; --bubble-k: .8; --on-accent: #04201e;
} }
:root[data-theme="dark"] {
  color-scheme: dark;
  --teal-600: #14c4bc; --teal-700: #5ed3cb; --teal-050: #0f2b2a;
  --ink-900: #e8ecee; --ink-700: #b9c0c5; --ink-500: #9aa2a8;
  --surface-soft: #1e2327; --hairline: #2a3035;
  --good: #34d399; --warn: #f59e0b; --bad: #f87171;
  --board-bg: #071012;
  --glass: rgba(28, 34, 38, .42); --glass-strong: rgba(40, 48, 52, .6);
  --glass-edge: rgba(255, 255, 255, .14); --glass-line: rgba(255, 255, 255, .1);
  --glass-drop: 0 14px 40px -14px rgba(0, 0, 0, .7);
  --bubble-teal: #14c4bc; --bubble-blue: #4f6fe0; --bubble-k: .8; --on-accent: #04201e;
}
html, body { height: 100%; }
body { background: var(--board-bg); color: var(--ink-900); font-family: var(--font); font-size: 14px; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 2px; }

/* soft light behind the glass, like the portal background */
.bubbles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bubbles i { position: absolute; border-radius: 50%; background: var(--bubble-teal); opacity: calc(var(--o, .3) * var(--bubble-k, 1)); width: var(--s); height: var(--s); left: var(--l); top: var(--t); filter: blur(var(--b, 40px)); animation: drift var(--d, 22s) ease-in-out infinite alternate; }
.bubbles i.blue { background: var(--bubble-blue); }
@keyframes drift { to { transform: translate(var(--x1, 60px), var(--y1, 40px)); } }
.glass { background: var(--glass-strong); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: var(--glass-drop), inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px var(--glass-line); border-radius: 22px; }

/* ---------- command center ---------- */
.cc { min-height: 100%; box-sizing: border-box; padding-block: 18px 32px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) 390px; grid-template-areas: "head head" "screens rail"; max-width: 1520px; margin: 0 auto; }
.cc-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cc-head img { height: 26px; width: auto; }
.cc-head h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.cc-head p { margin: 0; color: var(--ink-500); flex-basis: 100%; max-width: 72ch; line-height: 1.5; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--teal-050); color: var(--teal-700); }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: inline; } }
:root[data-theme="dark"] .logo-light { display: none; } :root[data-theme="dark"] .logo-dark { display: inline; }

.screens { grid-area: screens; display: grid; gap: 20px; align-content: start; min-width: 0; }
.screen-card { display: grid; gap: 10px; min-width: 0; }
.screen-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 0 4px; }
.screen-meta strong { font-size: 16px; font-weight: 700; }
.screen-meta .now { color: var(--ink-500); }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 22%, transparent); }
.bezel { padding: 10px; border-radius: 24px; background: #05090a; box-shadow: var(--glass-drop); transition: box-shadow .6s var(--glide); }
.frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border-radius: 14px; }
.screen-card.on .bezel { box-shadow: var(--glass-drop), 0 0 0 3px var(--teal-500); }

.rail { grid-area: rail; display: grid; gap: 14px; align-content: start; min-width: 0; }
.card { padding: 16px; display: grid; gap: 12px; }
.card h2 { margin: 0; font-size: 16px; font-weight: 700; }
.card h3 { margin: 4px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; border-radius: 999px; background: var(--surface-soft); }
.seg button { border: 0; background: none; border-radius: 999px; padding: 7px 8px; font-size: 13px; font-weight: 600; color: var(--ink-500); transition: background .5s var(--glide), color .5s var(--glide); }
.seg button[aria-pressed="true"] { background: var(--teal-500); color: var(--on-accent); }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row > label { color: var(--ink-500); font-size: 13px; }
.grow { flex: 1; min-width: 0; }
select, input[type="text"], input[type="time"] { border: 0; border-radius: 12px; padding: 8px 11px; background: var(--surface-soft); box-shadow: inset 0 0 0 1px var(--hairline); min-width: 0; }
input[type="range"] { accent-color: var(--teal-500); }
.btn { border: 0; border-radius: 999px; padding: 9px 15px; font-size: 13.5px; font-weight: 600; background: var(--surface-soft); color: var(--ink-900); transition: background .5s var(--glide); }
.btn:hover { background: color-mix(in srgb, var(--teal-500) 14%, var(--surface-soft)); }
.btn.go { background: var(--teal-500); color: var(--on-accent); }
.btn.go:hover { background: var(--teal-600); }
.sched { display: grid; gap: 10px; }
.sched-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; align-items: start; }
.sched-row > span { font-size: 12px; color: var(--ink-500); padding-top: 5px; line-height: 1.3; }
.sched-row.now > span { color: var(--teal-700); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { border: 0; border-radius: 999px; padding: 4px 10px; font-size: 12px; background: var(--surface-soft); color: var(--ink-500); transition: background .5s var(--glide), color .5s var(--glide); }
.chip[aria-pressed="true"] { background: var(--teal-500); color: var(--on-accent); }
.switch { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.switch input { accent-color: var(--teal-500); width: 17px; height: 17px; }
.note { margin: 0; font-size: 12.5px; color: var(--ink-500); line-height: 1.5; }
.note b { color: var(--ink-900); font-weight: 600; }
@media (max-width: 1100px) { .cc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "screens" "rail"; } }

.solo { position: fixed; inset: 0; background: #000; display: grid; place-items: center; }
.solo .frame { width: min(100vw, calc(100vh * 16 / 9)); border-radius: 0; }
.start { position: absolute; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(4, 20, 22, .7); }
.start button { border: 0; border-radius: 999px; padding: 20px 40px; font-size: 30px; font-weight: 700; background: #0bb0a9; color: #fff; }

/* ---------- the TV stage: 1920x1080 with a 48px safe margin, scaled to its frame ---------- */
.stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; font-family: var(--font); color: var(--tv-ink); background: var(--tv-bg); isolation: isolate;
  --tv-bg: #071012; --tv-ink: #e8ecee; --tv-ink2: #b9c0c5; --tv-mute: #9aa2a8; --tv-teal: #14c4bc; --tv-teal-ink: #5ed3cb; --tv-amber: #f59e0b; --tv-good: #34d399;
  --tv-glass: rgba(40, 48, 52, .6); --tv-soft: rgba(255, 255, 255, .07); --tv-edge: rgba(255, 255, 255, .14); --tv-line: rgba(255, 255, 255, .1); --tv-drop: 0 14px 40px -14px rgba(0, 0, 0, .7);
  --bubble-teal: #14c4bc; --bubble-blue: #4f6fe0; --bubble-k: .8; }
.stage.light { --tv-bg: #f3f8f8; --tv-ink: #1a1a1a; --tv-ink2: #4a4a4a; --tv-mute: #5f6368; --tv-teal: #0bb0a9; --tv-teal-ink: #077a75; --tv-amber: #b9770b; --tv-good: #1a8a5c;
  --tv-glass: rgba(255, 255, 255, .72); --tv-soft: rgba(15, 40, 50, .06); --tv-edge: rgba(255, 255, 255, .85); --tv-line: rgba(15, 40, 50, .08); --tv-drop: 0 10px 30px -12px rgba(15, 40, 50, .25);
  --bubble-teal: #0bb0a9; --bubble-blue: #7f9cf5; --bubble-k: 1; }
.stage .bubbles { position: absolute; z-index: 0; }
.stage.quiet .bubbles { display: none; }
.stage.teal-only .bubbles i.blue { background: var(--bubble-teal); }
.tvg { background: var(--tv-glass); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); box-shadow: var(--tv-drop), inset 0 1px 0 var(--tv-edge), inset 0 0 0 1px var(--tv-line); border-radius: 26px; }

.tv-head { position: absolute; left: 48px; right: 48px; top: 40px; height: 120px; display: flex; align-items: center; gap: 36px; z-index: 2; }
.tv-head img { height: 52px; width: auto; flex: none; }
.tv-head .title { min-width: 0; }
.tv-head h2 { margin: 0; font-size: 64px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-head .sub { font-size: 30px; color: var(--tv-mute); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-head .clock { margin-left: auto; text-align: right; flex: none; }
.tv-head .clock b { display: block; font-size: 56px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.tv-head .clock span { font-size: 28px; color: var(--tv-mute); }
.tv-head .clock span.late { color: var(--tv-amber); font-weight: 600; }
.stage.light .tv-head .clock span.late { color: #8a5a00; }
.scenes { position: absolute; left: 48px; right: 48px; top: 184px; bottom: 104px; z-index: 1; }
.stage.has-banner .scenes { bottom: 220px; }
.scene { position: absolute; inset: 0; transition: opacity .8s var(--glide), transform .8s var(--glide); }
.scene.enter { opacity: 0; transform: translateY(24px); }
.scene.leave { opacity: 0; transform: translateY(-16px); }
.tv-foot { position: absolute; left: 48px; right: 48px; bottom: 40px; height: 48px; display: flex; align-items: center; gap: 24px; font-size: 28px; color: var(--tv-mute); z-index: 2; }
.dots { display: flex; gap: 12px; margin-left: auto; align-items: center; }
.dots i { width: 14px; height: 14px; border-radius: 999px; background: var(--tv-soft); box-shadow: inset 0 0 0 2px var(--tv-line); transition: width .7s var(--glide), background .7s var(--glide); }
.dots i.on { width: 52px; background: var(--tv-teal); box-shadow: none; }
.dots span { margin-right: 6px; font-variant-numeric: tabular-nums; }
.banner { position: absolute; left: 48px; right: 48px; bottom: 112px; height: 92px; z-index: 4; border-radius: 999px; display: flex; align-items: center; overflow: hidden; font-size: 44px; font-weight: 700; color: #2a1a00; background: #f59e0b; box-shadow: var(--tv-drop); }
.banner span { white-space: nowrap; padding-left: 100%; animation: tick 24s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }

/* shared TV pieces */
.n { font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.k { font-size: 30px; color: var(--tv-mute); }
.av { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 26px; font-weight: 700; color: #fff; }
.badge { display: inline-flex; padding: 4px 16px; border-radius: 999px; font-size: 28px; font-weight: 600; white-space: nowrap; letter-spacing: 0; }
.badge.streak { background: color-mix(in srgb, var(--tv-amber) 20%, transparent); color: var(--tv-amber); }
.stage.light .badge.streak { color: #8a5a00; }
.badge.first { background: color-mix(in srgb, var(--tv-teal) 20%, transparent); color: var(--tv-teal-ink); }
.zero { color: var(--tv-mute); opacity: .55; }
.meter { height: 16px; border-radius: 999px; background: var(--tv-soft); position: relative; }
.meter > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #14b8a6, #38bdf8); transform-origin: left; animation: grow 1.1s var(--glide) both; }
.meter > b { position: absolute; top: -8px; bottom: -8px; width: 5px; margin-left: -2px; border-radius: 3px; background: var(--tv-amber); }
@keyframes grow { from { transform: scaleX(0); } }

/* ranked list */
.list { padding: 18px 30px; display: grid; align-content: start; }
.lrow { display: grid; align-items: center; gap: 22px; height: 92px; border-radius: 18px; padding: 0 16px; }
.lrow + .lrow { box-shadow: inset 0 1px 0 var(--tv-line); }
.lrow.top { background: color-mix(in srgb, var(--tv-teal) 14%, transparent); box-shadow: none; }
.lrow.top + .lrow { box-shadow: none; }
.lrow .rk { font-size: 36px; font-weight: 700; color: var(--tv-mute); text-align: center; }
.lrow.top .rk { color: var(--tv-teal-ink); }
.lrow .nm { font-size: 44px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 18px; min-width: 0; white-space: nowrap; }
.lrow .v { font-size: 52px; text-align: right; }
.lrow .v small { font-size: 28px; font-weight: 500; color: var(--tv-mute); letter-spacing: 0; margin-left: 6px; }
.lrow.lhead { height: 56px; font-size: 28px; color: var(--tv-mute); }
.lhead span { text-align: right; }

/* tables (tracker, money, rates) */
.tbl { padding: 14px 30px; display: grid; align-content: start; }
.tr { display: grid; align-items: center; gap: 16px; height: 80px; padding: 0 12px; }
.tr + .tr { box-shadow: inset 0 1px 0 var(--tv-line); }
.tr.th { height: 70px; font-size: 28px; color: var(--tv-mute); line-height: 1.1; }
.tr.th span { text-align: right; }
.tr.tot { background: color-mix(in srgb, var(--tv-teal) 12%, transparent); border-radius: 16px; box-shadow: none; }
.tr .who { font-size: 40px; font-weight: 700; display: flex; align-items: center; gap: 16px; white-space: nowrap; min-width: 0; }
.tr .who .av { width: 52px; height: 52px; font-size: 22px; }
.tr .c { font-size: 40px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.tr.tot .c, .tr.tot .who { font-weight: 800; }

/* KPI tiles */
.tiles { display: grid; gap: 24px; }
.tile { padding: 28px 34px; display: grid; gap: 8px; align-content: center; }
.tile .k { font-size: 32px; }
.tile .big { font-size: 112px; line-height: 1; }
.tile .s { font-size: 30px; color: var(--tv-ink2); }
.tile .s b { color: var(--tv-ink); }

/* race */
.race { position: relative; padding: 78px 44px 30px; display: grid; gap: 18px; align-content: start; height: 100%; box-sizing: border-box; }
.lane { position: relative; height: 82px; border-radius: 999px; background: var(--tv-soft); }
.lane .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; opacity: .32; animation: grow 1.2s var(--glide) both; transform-origin: left; }
.lane .runner { position: absolute; top: 9px; display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.lane .runner b { font-size: 38px; font-weight: 700; }
.lane .runner em { font-style: normal; font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.mark { position: absolute; top: 60px; bottom: 20px; width: 5px; margin-left: -2px; border-radius: 3px; }
.mark span { position: absolute; top: -44px; left: 50%; transform: translateX(-50%); font-size: 28px; font-weight: 600; white-space: nowrap; }

/* feed */
.feed { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.win { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 28px; }
.win .what { font-size: 28px; color: var(--tv-mute); }
.win .who { font-size: 44px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.win .ord { font-size: 28px; font-weight: 600; color: var(--c); }
.win .amt { font-size: 56px; text-align: right; color: var(--c); }
.win .when { display: block; font-size: 28px; font-weight: 500; color: var(--tv-mute); letter-spacing: 0; }

/* bars */
.bars { padding: 26px 40px; display: grid; gap: 22px; align-content: start; }
.bar { display: grid; grid-template-columns: 300px minmax(0, 1fr) 330px; align-items: center; gap: 28px; }
.bar .nm { font-size: 42px; font-weight: 700; white-space: nowrap; }
.bar .track { height: 56px; border-radius: 999px; background: var(--tv-soft); overflow: hidden; }
.bar .track i { display: block; height: 100%; border-radius: 999px; transform-origin: left; animation: grow 1.1s var(--glide) both; }
.bar .v { font-size: 52px; text-align: right; white-space: nowrap; }
.bar .v small { font-size: 28px; font-weight: 500; color: var(--tv-mute); letter-spacing: 0; }

/* challenge */
.count { display: grid; place-content: center; text-align: center; gap: 8px; }
.count .big { font-size: 160px; line-height: 1; }

/* celebration: the wins layer's takeover, scaled for 1080p */
.take { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; overflow: hidden; opacity: 0; transition: opacity .4s var(--glide); }
.take.on { opacity: 1; }
.take .scrim { position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, rgba(13, 148, 136, .55), rgba(4, 20, 22, .88) 62%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.take.big .scrim { background: radial-gradient(circle at 50% 42%, rgba(13, 148, 136, .66), rgba(4, 20, 22, .9) 66%); }
.take .beams { position: absolute; left: 50%; top: 42%; width: 3200px; height: 3200px; margin: -1600px 0 0 -1600px; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .07) 0 6deg, transparent 6deg 18deg); animation: spin 18s linear infinite; -webkit-mask: radial-gradient(circle, #000 10%, transparent 60%); mask: radial-gradient(circle, #000 10%, transparent 60%); }
@keyframes spin { to { transform: rotate(360deg); } }
.take canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.take .card { position: relative; text-align: center; color: #fff; transform: scale(.9) translateY(40px); transition: transform .7s cubic-bezier(.22, 1.35, .36, 1); }
.take.on .card { transform: none; }
.take .who { font-size: 56px; font-weight: 600; opacity: .92; }
.take .stamp { display: inline-block; margin-top: 12px; font-size: 230px; font-weight: 800; letter-spacing: .02em; line-height: 1; color: #fff; text-shadow: 0 0 105px rgba(45, 212, 191, .85), 0 10px 0 rgba(4, 40, 40, .35); opacity: 0; transform: scale(1.7); }
.take.on .stamp { animation: slam .55s cubic-bezier(.2, 1.4, .4, 1) .12s forwards; }
@keyframes slam { to { transform: scale(1); opacity: 1; } }
.take .deal { margin-top: 22px; font-size: 66px; font-weight: 700; }
.take .meta { margin-top: 12px; font-size: 40px; color: #b6e9e3; }
.take .meta-pill { display: inline-flex; margin-top: 30px; padding: 10px 28px; border-radius: 999px; font-size: 36px; font-weight: 600; background: rgba(255, 255, 255, .12); color: #e7faf7; opacity: 0; animation: up .6s var(--glide) .8s forwards; }
@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .take .stamp { opacity: 1; transform: none; } .take .scrim { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---- live build additions ---- */
.tv-foot .out { display: flex; align-items: center; gap: 14px; min-width: 0; white-space: nowrap; overflow: hidden; }
.tv-foot .out b { color: var(--tv-ink); font-weight: 600; }
.tv-foot .out i { width: 14px; height: 14px; border-radius: 50%; background: #7f9cf5; box-shadow: 0 0 0 0 rgba(127,156,245,.6); animation: pulse 1.8s ease-out infinite; flex: none; }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 14px rgba(127,156,245,0); } }
.take.anticipate .scrim { background: radial-gradient(circle at 50% 42%, rgba(79, 111, 224, .5), rgba(6, 12, 30, .88) 62%); }
.take.anticipate .stamp { font-size: 170px; text-shadow: 0 0 105px rgba(127, 156, 245, .9), 0 10px 0 rgba(10, 20, 50, .35); }
.take.anticipate .meta { color: #c7d2fe; }
.take.anticipate .meta::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.4s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.take.anticipate .beams { animation-duration: 6s; }
.sound-hint { position: absolute; right: 48px; top: 172px; z-index: 6; padding: 10px 22px; border-radius: 999px; font-size: 28px; background: rgba(245, 158, 11, .9); color: #2a1a00; font-weight: 600; }
.pairing { position: fixed; inset: 0; display: grid; place-items: center; text-align: center; background: #071012; color: #e8ecee; font-family: var(--font); }
.pairing .code { font-size: min(22vw, 260px); font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: #5ed3cb; line-height: 1; }
.pairing p { font-size: min(3.4vw, 34px); color: #9aa2a8; max-width: 30ch; margin: 18px auto 0; line-height: 1.4; }
.pairing img { height: min(6vw, 60px); margin-bottom: 28px; }
.dev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--surface-soft); font-size: 13px; }
.dev .s { color: var(--ink-500); font-size: 12px; }
.err { color: var(--bad); font-size: 13px; }

.order { display: grid; gap: 4px; }
.ord { display: grid; grid-template-columns: minmax(0, 1fr) 32px 32px; gap: 4px; align-items: center; padding: 4px 6px 4px 10px; border-radius: 12px; background: var(--surface-soft); font-size: 13px; }
.ord.off { opacity: .6; grid-template-columns: minmax(0, 1fr); }
.mv { border: 0; border-radius: 999px; height: 28px; background: transparent; color: var(--ink-700); font-size: 15px; }
.mv:hover:not(:disabled) { background: color-mix(in srgb, var(--teal-500) 16%, transparent); }
.mv:disabled { opacity: .25; cursor: default; }

.lrow.long [data-since] { color: var(--tv-amber); }
.toast { position: absolute; left: 48px; bottom: 112px; z-index: 8; display: flex; align-items: center; gap: 22px; padding: 20px 30px 20px 20px; border-radius: 26px; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--glide), transform .6s var(--glide); }
.toast.on { opacity: 1; transform: none; }
.toast .t1 { font-size: 44px; font-weight: 800; letter-spacing: -.02em; }
.toast .t2 { font-size: 30px; color: var(--tv-ink2); }
.toast .ph { font-size: 44px; color: var(--tv-amber); margin-left: 12px; }
