:root {
  --bg: #0e0f13;
  --panel: #131419;
  --panel-2: #191a20;
  --panel-3: #202128;
  --line: #22242b;
  --line-2: #2d2f37;
  --text: #ededef;
  --text-2: #b4b6be;
  --dim: #80828c;
  --accent: #f2557f;
  --accent-dim: rgba(242, 85, 127, .14);
  --live: #ec3b4e;
  --side-a: #d8dae0;
  --top-h: 56px;
  --side-w: 240px;
  --rail-w: 320px;
  --r: 6px;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; }
::selection { background: var(--accent-dim); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
kbd {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border: 1px solid var(--line-2); border-radius: 4px;
  font: 500 11px var(--font); color: var(--text-2); background: var(--panel-2);
}
.num { font-variant-numeric: tabular-nums; }

/* ---------- top bar ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; height: var(--top-h); z-index: 20;
  display: flex; align-items: center; gap: 28px; padding: 0 18px 0 16px;
  background: rgba(14, 15, 19, .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.wordmark { font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.wordmark b { font-weight: 600; color: var(--accent); margin-left: .1em; }

.topnav { display: flex; gap: 22px; }
.topnav a { position: relative; padding: 18px 0; font-weight: 600; font-size: 15px; color: var(--dim); transition: color .15s; }
.topnav a:hover { color: var(--text); }
.topnav a.on { color: var(--text); }
.topnav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--text); }

.search { flex: 1 1 360px; max-width: 400px; margin: 0 auto; position: relative; }
.search input {
  width: 100%; height: 36px; padding: 0 12px 0 36px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--panel); color: var(--text); font: 400 14px var(--font); outline: none; transition: border-color .15s, background .15s;
}
.search input:hover { border-color: #3a3c45; }
.search input:focus { border-color: #4a4c56; background: var(--panel-2); }
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { display: none; }
.search button { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border: 0; background: none; display: grid; place-items: center; pointer-events: none; }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linecap: round; }

.top-right { display: flex; align-items: center; gap: 20px; flex: none; }
.clock { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.clock-label { color: var(--dim); }
.clock-time { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 92px; }

.coin { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--panel); color: var(--text-2); font: 500 12.5px var(--font); cursor: default; white-space: nowrap; }
.coin-lbl { font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(180deg, #ff4f8b, #ff7a45 55%, #ffb347); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coin.live { cursor: pointer; color: var(--text); font-variant-numeric: tabular-nums; transition: border-color .15s; }
.coin.live:hover { border-color: #4a4c56; }

.shield { display: flex; align-items: center; gap: 9px; background: none; border: 0; padding: 0; color: var(--dim); font-size: 13px; font-weight: 500; transition: color .15s; }
.shield:hover { color: var(--text-2); }
.shield-box { width: 30px; height: 18px; border-radius: 9px; background: var(--panel-3); position: relative; transition: background .2s var(--ease); }
.shield-knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #8d8f98; transition: transform .2s var(--ease), background .2s; }
.shield[aria-checked="true"] { color: var(--text); }
.shield[aria-checked="true"] .shield-box { background: var(--accent); }
.shield[aria-checked="true"] .shield-knob { transform: translateX(12px); background: #fff; }

.points { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.points svg { width: 15px; height: 15px; fill: none; stroke: var(--text-2); stroke-width: 1.5; stroke-linecap: round; }

.btn-primary {
  height: 32px; padding: 0 14px; border: 0; border-radius: var(--r); background: var(--text); color: var(--bg);
  font-weight: 600; font-size: 13px; transition: background .15s;
}
.btn-primary:hover { background: #fff; }
.btn-quiet {
  height: 32px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent;
  font-weight: 500; font-size: 13px; color: var(--text-2); transition: border-color .15s, color .15s;
}
.btn-quiet:hover { border-color: #44464f; color: var(--text); }
.btn-quiet:disabled { opacity: .55; cursor: default; }

/* ---------- layout ---------- */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr) var(--rail-w); padding-top: var(--top-h); min-height: 100vh; }
.side, .rail {
  position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.side { border-right: 1px solid var(--line); padding: 14px 10px 0; display: flex; flex-direction: column; }
.rail { border-left: 1px solid var(--line); }
.main { position: relative; min-width: 0; padding: 28px 36px 72px; outline: none; }

/* ---------- sidebar ---------- */
.side-head { padding: 8px 10px 8px; font-size: 12px; font-weight: 500; color: var(--dim); }
.chan-list { list-style: none; margin: 0 0 14px; padding: 0; }
.chan {
  display: grid; grid-template-columns: 26px 1fr auto; align-items: center; column-gap: 8px;
  height: 36px; padding: 0 10px; border-radius: var(--r); cursor: pointer; transition: background .12s;
}
.chan:hover { background: var(--panel-2); }
.chan-num { font-size: 12px; font-weight: 500; color: #5d5f68; font-variant-numeric: tabular-nums; }
.chan-name { font-weight: 500; font-size: 15px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chan-sub { display: none; }
.chan-tag { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.chan-tag.live { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.chan-tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.chan.on { background: var(--panel-3); }
.chan.on .chan-name { color: var(--text); }
.chan.on .chan-num { color: var(--accent); }

.creator-list { list-style: none; margin: 0; padding: 0 0 12px; }
.creator { display: grid; grid-template-columns: 28px 1fr auto; column-gap: 10px; align-items: center; padding: 6px 10px; border-radius: var(--r); cursor: pointer; transition: background .12s; }
.creator:hover { background: var(--panel-2); }
.creator img, .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--panel-3); object-fit: cover; }
.creator-name { font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.creator-what { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.creator-age { font-size: 12px; color: var(--dim); align-self: start; padding-top: 1px; }

.side-foot { margin-top: auto; padding: 16px 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.side-foot p { margin: 12px 0 0; line-height: 1.55; }
.keys { display: flex; align-items: center; gap: 4px; }
.keys kbd:last-of-type { margin-right: 6px; }

/* ---------- channel switch ---------- */
.osd {
  position: fixed; top: calc(var(--top-h) + 20px); left: calc(var(--side-w) + 36px); z-index: 15; pointer-events: none;
  display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 12px; opacity: 0; transform: translateY(-4px);
  background: rgba(10, 11, 14, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: var(--r);
  font-size: 14px; font-weight: 500;
}
.osd .osd-num { font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.osd.show { animation: osd 1.5s var(--ease) forwards; }
@keyframes osd { 0% { opacity: 0; transform: translateY(-4px) } 10% { opacity: 1; transform: none } 80% { opacity: 1; transform: none } 100% { opacity: 0; transform: none } }
.static {
  position: fixed; top: var(--top-h); left: var(--side-w); width: calc(100% - var(--side-w) - var(--rail-w));
  height: calc(100% - var(--top-h)); z-index: 14; pointer-events: none; opacity: 0; mix-blend-mode: screen;
}
.static.show { animation: static .26s ease-out forwards; }
@keyframes static { 0% { opacity: .16 } 100% { opacity: 0 } }

/* ---------- page head ---------- */
.page-head { margin: 0 0 24px; }
.eyebrow { display: block; font-size: 12px; font-weight: 500; color: var(--dim); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.eyebrow b { color: var(--accent); font-weight: 600; }
.page-title { font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 6px; }
.page-blurb { margin: 0; color: var(--dim); font-size: 14.5px; max-width: 600px; }

/* ---------- featured ---------- */
.feature { margin-bottom: 44px; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px -30px rgba(0,0,0,.8); }
.player iframe, .player img.poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player .poster-btn { position: absolute; inset: 0; border: 0; background: none; padding: 0; }
.player .poster-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,9,12,.55)); transition: background .3s; }
.play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(14, 15, 19, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18); transition: transform .25s var(--ease), background .25s;
}
.play svg { width: 20px; height: 20px; fill: #fff; margin-left: 4px; }
.play-label { display: none; }
.poster-btn:hover .play { transform: scale(1.06); background: rgba(14, 15, 19, .72); }
.station { position: absolute; right: 18px; bottom: 16px; z-index: 3; pointer-events: none; font-weight: 600; font-size: 13px; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.feature-meta { display: grid; grid-template-columns: 44px 1fr auto; column-gap: 14px; padding-top: 16px; align-items: start; }
.feature-meta .avatar { width: 44px; height: 44px; }
.feature-title { font-weight: 700; font-size: 21px; line-height: 1.3; letter-spacing: -.01em; margin: 1px 0 4px; }
.feature-by { color: var(--text-2); font-weight: 500; font-size: 14px; }
.feature-by .stat { color: var(--dim); font-weight: 400; }
.tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tag { padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 20px; font-size: 12px; color: var(--text-2); }
.feature-side { display: flex; gap: 8px; }

/* ---------- rows ---------- */
.row { margin-bottom: 44px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 16px; }
.row-head h2 { margin: 0; font-weight: 700; font-size: 20px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.row-head h2 em { font-style: normal; }
.row-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.row-head a { font-size: 13px; font-weight: 500; color: var(--dim); white-space: nowrap; transition: color .15s; }
.row-head a:hover { color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }

.card { min-width: 0; cursor: pointer; }
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--panel-3); }
.thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.card:hover .thumb img { transform: scale(1.035); }
.card:hover .card-title { color: #fff; }
.badge { position: absolute; padding: 2px 6px; border-radius: 4px; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; background: rgba(8, 9, 12, .8); color: #fff; }
.badge.len { right: 8px; bottom: 8px; }
.badge.live { left: 8px; top: 8px; background: var(--live); font-weight: 600; }
.card-meta { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; padding-top: 12px; }
.card-meta .avatar { width: 32px; height: 32px; }
.card-title {
  font-weight: 600; font-size: 15px; line-height: 1.35; margin: 0 0 4px; color: var(--text); transition: color .15s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-sub { font-size: 14px; color: var(--dim); line-height: 1.45; }
.card-sub div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tick { display: inline-block; width: 12px; height: 12px; vertical-align: -1.5px; margin-left: 4px; }
.tick circle { fill: #6d6f78; }
.tick path { fill: none; stroke: var(--bg); stroke-width: 1.7; }

.card.spoiled .thumb img { filter: blur(22px) brightness(.55); transform: scale(1.2); }
.card.spoiled .card-title { filter: blur(6px); user-select: none; }
.spoil-note { position: absolute; inset: 0; display: none; place-items: center; text-align: center; font-weight: 600; font-size: 13px; color: #fff; }
.spoil-note span { display: block; font-weight: 400; font-size: 12px; color: var(--text-2); margin-top: 2px; }
.card.spoiled .spoil-note { display: grid; }
.card.spoiled .badge { display: none; }

.vote { display: flex; gap: 6px; margin-top: 10px; padding-left: 42px; }
.vote button {
  height: 28px; padding: 0 10px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: transparent; font-size: 12.5px; font-weight: 500; color: var(--text-2); transition: border-color .15s, color .15s, background .15s;
}
.vote button:hover { border-color: #44464f; color: var(--text); }
.vote svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vote button.on.keep { background: var(--text); border-color: var(--text); color: var(--bg); }
.vote button.on.skip { color: var(--dim); border-color: var(--line); }
.rank { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 2px 7px; border-radius: 4px; background: rgba(8, 9, 12, .8); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rank.gold { background: var(--text); color: var(--bg); }

/* ---------- live wall before streams exist ---------- */
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wall.row4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nosig { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #0a0b0e; box-shadow: inset 0 0 0 1px var(--line); }
.nosig canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .05; image-rendering: pixelated; }
.nosig-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 3px; padding: 12px; }
.nosig-ch { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.nosig-big { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.nosig-small { font-size: 12.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.wall.big .nosig-big { font-size: 18px; }
.wall-note { margin: 14px 0 44px; color: var(--dim); font-size: 13.5px; max-width: 640px; }

/* ---------- predictions ---------- */
.rail-block { padding: 20px 18px 8px; }
.rail-block + .rail-block { border-top: 1px solid var(--line); }
.rail-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.rail-head h2 { margin: 0; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.rail-more, .rail-sub { font-size: 12.5px; font-weight: 500; color: var(--dim); transition: color .15s; }
.rail-more:hover { color: var(--text); }

.pred { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.pred:first-child { padding-top: 0; }
.pred:last-child { border-bottom: 0; }
.pred-q { font-weight: 600; font-size: 15px; line-height: 1.4; margin: 0 0 4px; }
.pred-lock { font-size: 12px; color: var(--dim); display: flex; align-items: center; gap: 5px; }
.pred-lock svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.split { display: flex; gap: 3px; height: 4px; margin: 14px 0 10px; }
.split i { display: block; height: 100%; border-radius: 2px; transition: width .5s var(--ease); }
.split .a { background: var(--side-a); }
.split .b { background: var(--accent); }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-pick {
  text-align: left; padding: 9px 11px; border-radius: var(--r); border: 1px solid var(--line-2); background: transparent;
  display: grid; gap: 1px; transition: border-color .15s, background .15s;
}
.side-pick:hover:not(:disabled) { border-color: #4a4c56; background: var(--panel-2); }
.side-pick:disabled { cursor: default; }
.side-pick .lbl { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.side-pick .lbl::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; }
.side-pick.a .lbl::before { background: var(--side-a); }
.side-pick.b .lbl::before { background: var(--accent); }
.side-pick .pct { font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.side-pick .odds { font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.side-pick.mine { border-color: var(--text-2); background: var(--panel-2); }
.side-pick.mine.b { border-color: var(--accent); }
.stake { display: flex; align-items: center; margin-top: 10px; }
.stake-lbl { font-size: 12px; color: var(--dim); margin-right: auto; }
.stake button {
  height: 26px; padding: 0 9px; border: 1px solid var(--line-2); background: transparent; margin-left: -1px;
  font-size: 12px; font-weight: 500; color: var(--dim); font-variant-numeric: tabular-nums; transition: color .15s;
}
.stake button:nth-of-type(1) { border-radius: var(--r) 0 0 var(--r); }
.stake button:last-child { border-radius: 0 var(--r) var(--r) 0; }
.stake button:hover { color: var(--text); }
.stake button.on { background: var(--panel-3); color: var(--text); border-color: #3c3e47; position: relative; z-index: 1; }
.pred-foot { margin-top: 10px; font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.pred-foot .mine-txt { color: var(--text-2); }

.board { list-style: none; margin: 0 0 14px; padding: 0; }
.board li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; height: 36px; font-size: 13.5px; }
.board .pos { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.board .who { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board .score { color: var(--text-2); font-variant-numeric: tabular-nums; }
.board li.me { margin: 6px -10px 0; padding: 0 10px; border-radius: var(--r); background: var(--panel-2); }
.board li.me .who::after { content: "You"; margin-left: 8px; font-size: 11px; font-weight: 500; color: var(--accent); }

.pred-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pred-grid .pred { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.pred-grid .pred-q { font-size: 15.5px; }

/* ---------- countdown page ---------- */
.big-clock { display: flex; gap: 32px; margin: 0 0 36px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); width: fit-content; }
.big-clock b { display: block; font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.big-clock span { display: block; margin-top: 8px; font-size: 12px; color: var(--dim); }

/* ---------- deals ---------- */
.deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.deal { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 16px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.deal h3 { margin: 0; font-weight: 600; font-size: 15px; }
.deal p { margin: 0; color: var(--dim); font-size: 13.5px; }
.deal .note { font-size: 12px; color: var(--text-2); }
.deal .btn-quiet { grid-row: 1 / span 3; grid-column: 2; }
.fineprint { margin-top: 18px; color: var(--dim); font-size: 12.5px; }

.empty { padding: 40px 0; color: var(--dim); }

/* ---------- name dialog ---------- */
.namebox { border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); color: var(--text); padding: 24px; width: min(360px, calc(100vw - 32px)); box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.namebox::backdrop { background: rgba(6, 7, 9, .66); backdrop-filter: blur(4px); }
.namebox h3 { margin: 0 0 4px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.namebox p { margin: 0 0 16px; color: var(--dim); }
.namebox input { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); color: var(--text); font: 400 14px var(--font); outline: none; }
.namebox input:focus { border-color: #4a4c56; }
.namebox-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

/* rail repeats nothing the page already shows */
body.on-preds .rail-block.preds { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1380px) {
  :root { --rail-w: 296px; --side-w: 220px; }
  .main { padding: 24px 28px 64px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid > .card:nth-child(n+4) { display: none; }
  .grid.all > .card:nth-child(n+4) { display: block; }
  .shield-text { display: none; }
}
@media (max-width: 1100px) {
  .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .rail { position: static; height: auto; grid-column: 2; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
  .rail-block + .rail-block { border-top: 0; border-left: 1px solid var(--line); }
  .static { width: calc(100% - var(--side-w)); }
  .topnav { display: none; }
}
@media (max-width: 760px) {
  :root { --top-h: 52px; }
  .top { gap: 12px; padding: 0 16px; }
  .search, .clock-label, .shield-text, .points, #signin { display: none; }
  .coin { height: 26px; padding: 0 9px; } .coin-lbl { display: none; }
  .top-right { gap: 14px; margin-left: auto; }
  .shell { display: block; }
  .side { position: sticky; top: var(--top-h); z-index: 10; height: auto; flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); background: rgba(14,15,19,.92); backdrop-filter: blur(12px); scrollbar-width: none; }
  .side-head, .creator-list, .side-foot { display: none; }
  .chan-list { display: flex; gap: 4px; margin: 0; }
  .chan { flex: none; grid-template-columns: auto auto; height: 32px; padding: 0 12px; column-gap: 6px; }
  .chan-tag { display: none; }
  .main { padding: 18px 16px 48px; }
  .rail { display: block; }
  .rail-block + .rail-block { border-left: 0; border-top: 1px solid var(--line); }
  .grid, .pred-grid, .deals { grid-template-columns: 1fr; }
  .grid > .card:nth-child(n+4) { display: block; }
  .wall, .wall.row4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .page-title { font-size: 24px; }
  .feature-meta { grid-template-columns: 36px 1fr; }
  .feature-meta .avatar { width: 36px; height: 36px; }
  .feature-side { display: none; }
  .osd { left: 16px; }
  .static { left: 0; width: 100%; }
  .big-clock { width: auto; gap: 0; justify-content: space-between; padding: 16px; }
  .big-clock b { font-size: 30px; }
}

/* ---------- look options (?t=), picked by the user, then folded into :root ---------- */
body.t-studio { --bg:#141414; --panel:#181818; --panel-2:#202020; --panel-3:#2a2a2a; --line:#262626; --line-2:#363636; --text:#f5f5f5; --text-2:#cfcfcf; --dim:#9b9b9b; --font:"Schibsted Grotesk", system-ui, sans-serif; }
body.t-broadcast { --bg:#060708; --panel:#0e0f12; --panel-2:#15161a; --panel-3:#1d1f24; --line:#1b1c20; --line-2:#2a2c32; --text:#f4f5f7; --text-2:#c9cbd1; --dim:#8e9099; --font:"Barlow", system-ui, sans-serif; }
body.t-broadcast .row-head h2, body.t-broadcast .rail-head h2, body.t-broadcast .page-title, body.t-broadcast .wordmark { font-family:"Barlow Semi Condensed", "Barlow", sans-serif; }
body.t-broadcast .page-title { text-transform:uppercase; letter-spacing:.01em; }
body.t-broadcast .row-head h2, body.t-broadcast .rail-head h2 { text-transform:uppercase; letter-spacing:.02em; font-size:21px; }
body.t-night { --bg:#0a0e1a; --panel:#0e1322; --panel-2:#141a2c; --panel-3:#1b2236; --line:#1b2134; --line-2:#283049; --text:#eef1f8; --text-2:#c3c9d8; --dim:#8a93ab; --font:"Archivo", system-ui, sans-serif; }
body.t-native { --bg:#0f0f0f; --panel:#141414; --panel-2:#1c1c1c; --panel-3:#272727; --line:#222; --line-2:#333; --text:#f1f1f1; --text-2:#d0d0d0; --dim:#aaaaaa; --font:"Roboto", system-ui, sans-serif; }

/* ---------- the louder first version, shown with ?fx=1 ---------- */
.fx-only, .page-num { display: none; }
body.fx .fx-only { display: inline; }
body.fx .fx-off { display: none; }
body.fx .badge.fx-only { display: block; }
body.fx .badge.views { left: 8px; bottom: 8px; }
body.fx .badge.official { left: 8px; top: 8px; color: #ffb347; letter-spacing: .04em; font-size: 11px; font-weight: 700; }
body.fx .fx-bug { width: 40px; height: 27px; margin-right: 2px; }
body.fx .wordmark { font: 900 17px/1 Archivo, sans-serif; font-variation-settings: "wdth" 125; letter-spacing: .03em; }
body.fx .wordmark b { font-style: italic; font-weight: 900; }
body.fx .top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, #ff4f8b 18%, #ff7a45 50%, #ffb347 70%, transparent); opacity: .7; }
body.fx .chan-num { font: italic 900 20px/1 Archivo, sans-serif; font-variation-settings: "wdth" 125; color: #2c2f37; }
body.fx .chan.on .chan-num { color: var(--accent); }
body.fx .chan { height: 40px; grid-template-columns: 34px 1fr auto; }
body.fx .page-head { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: end; }
body.fx .page-num { display: block; grid-row: span 3; font: italic 900 84px/.8 Archivo, sans-serif; font-variation-settings: "wdth" 125; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
body.fx .row-head h2 em { color: var(--accent); }
body.fx .card:hover .thumb { transform: translate(5px, -5px); box-shadow: -5px 5px 0 var(--accent); }
body.fx .thumb { transition: transform .12s ease-out, box-shadow .12s ease-out; }
body.fx .card:hover .thumb img { transform: none; }
body.fx .station { display: block; top: 14px; bottom: auto; right: 16px; font: italic 900 15px Archivo, sans-serif; font-variation-settings: "wdth" 125; color: rgba(255,255,255,.55); }
body.fx .station b { color: rgba(255,79,139,.85); }
body.fx .osd { background: none; border: 0; backdrop-filter: none; padding: 0; font: 700 30px/1 "JetBrains Mono", monospace; color: #7dffb0; text-shadow: 0 0 10px rgba(125,255,176,.45), 2px 2px 0 rgba(0,0,0,.6); }
body.fx .osd .osd-num { color: #7dffb0; }
body.fx .osd .osd-name { font-size: 18px; text-transform: uppercase; }
body.fx .static.show { animation: fxstatic .22s linear forwards; }
@keyframes fxstatic { 0% { opacity: .9 } 70% { opacity: .55 } 100% { opacity: 0 } }
body.fx .nosig canvas { opacity: .2; }
body.fx .nosig-ch { font: 700 13px "JetBrains Mono", monospace; color: #7dffb0; letter-spacing: .08em; text-shadow: 0 0 8px rgba(125,255,176,.4); }
body.fx .nosig-big { font: italic 900 22px Archivo, sans-serif; font-variation-settings: "wdth" 125; }
body.fx .rank { font: italic 900 16px Archivo, sans-serif; font-variation-settings: "wdth" 125; }

/* ---------- final mix (user 2026-11-14): clean site + striped logo + fx sidebar numbers ---------- */
.logo-bug { width: 40px; height: 27px; flex: none; }
.logo-vi { font: italic 900 13.5px Archivo, sans-serif; font-variation-settings: "wdth" 125; fill: #060708; letter-spacing: .02em; }
.brand .wordmark, body.t-broadcast .brand .wordmark { font: 900 17px/1 Archivo, sans-serif; font-style: normal; font-variation-settings: "wdth" 125; letter-spacing: .03em; text-transform: none; }
.brand .wordmark b { font-style: italic; font-weight: 900; color: var(--accent); margin-left: 4px; }
.chan { height: 40px; grid-template-columns: 34px 1fr auto; }
.chan-num { font: italic 900 20px/1 Archivo, sans-serif; font-variation-settings: "wdth" 125; color: #2c2f37; transition: color .15s; }
.chan:hover .chan-num { color: #4a4d57; }
.chan.on .chan-num { color: var(--accent); }
@media (max-width: 760px) { .chan { height: 34px; grid-template-columns: auto auto; } .chan-num { font-size: 15px; } .brand .wordmark { font-size: 15px; } }

/* ---------- live data pieces ---------- */
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line); }
.screen iframe { position: absolute; inset: 0; width: 100%; height: calc(100% - 40px); border: 0; }
.screen-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 10px; background: var(--panel); font-size: 13px; }
.screen-bar img { width: 22px; height: 22px; border-radius: 50%; }
.screen-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen-viewers { color: var(--dim); font-variant-numeric: tabular-nums; margin-right: auto; display: flex; align-items: center; gap: 5px; }
.screen-viewers::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.screen-sound { height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; color: var(--text-2); font-size: 12px; font-weight: 600; flex: none; }
.screen-sound:hover { color: var(--text); border-color: #44464f; }
.screen.sound { box-shadow: inset 0 0 0 1px var(--accent); }
.screen.sound .screen-sound { background: var(--accent); border-color: var(--accent); color: #fff; }
.poster-live { left: 16px; top: 16px; }
.live-count { color: var(--text-2); display: flex; align-items: center; gap: 5px; }
.live-count::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.card-sub .src { color: var(--dim); }
.side-pick.won { border-color: var(--text); }
.side-pick.won .pct::after { content: " won"; font-size: 12px; font-weight: 500; color: var(--text-2); }
.pred.locked .side-pick { opacity: .75; }
.pred-foot a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.board .empty-row { color: var(--dim); font-size: 13px; }
.namebox .err { margin: 8px 0 0; min-height: 18px; font-size: 13px; color: var(--accent); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: var(--r); background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.7);
}
.toast.show { animation: toast 2.6s var(--ease) forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 12px) } 8%, 85% { opacity: 1; transform: translate(-50%, 0) } 100% { opacity: 0; transform: translate(-50%, 0) } }
.deal .btn-quiet { grid-row: 1 / span 2; grid-column: 2; display: grid; place-items: center; }

/* ---------- sidebar numbers tighter + collapsible sidebar (user 2026-11-14) ---------- */
.chan { grid-template-columns: 24px 1fr auto; column-gap: 8px; }
.chan-num { font-size: 16px; font-variation-settings: "wdth" 100; letter-spacing: -.01em; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding-right: 2px; }
.side-toggle { width: 28px; height: 28px; border: 0; border-radius: var(--r); background: transparent; display: grid; place-items: center; color: var(--dim); transition: background .12s, color .12s; }
.side-toggle:hover { background: var(--panel-2); color: var(--text); }
.side-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.shell, .osd, .static { transition: grid-template-columns .22s var(--ease), left .22s var(--ease); }
body.side-min { --side-w: 64px; }
body.side-min .side { padding: 10px 8px 0; }
body.side-min .side-top { justify-content: center; padding: 0 0 6px; }
body.side-min .side-top .side-head { display: none; }
body.side-min .side-toggle svg { transform: rotate(180deg); }
body.side-min .side-head { display: none; }
body.side-min .chan { grid-template-columns: 1fr; justify-items: center; padding: 0; }
body.side-min .chan-name, body.side-min .chan-tag { display: none; }
body.side-min .chan.on::before { content: none; }
body.side-min .creator-list { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 6px; }
body.side-min .creator { grid-template-columns: 1fr; justify-items: center; padding: 6px 0; }
body.side-min .creator > div, body.side-min .creator-age { display: none; }
body.side-min .side-foot { display: none; }
@media (max-width: 760px) { .side-toggle, .side-top .side-head { display: none; } .side-top { display: none; } }

/* ---------- sign in with X / Discord ---------- */
#signin.signed { display: flex; align-items: center; gap: 8px; padding-left: 6px; background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); }
#signin.signed img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
#signin.signed span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.namebox .auth-in { display: none; }
.namebox.is-in .auth-in { display: block; }
.namebox.is-in .auth-out { display: none; }
.auth-btns { display: grid; gap: 10px; margin: 18px 0 6px; }
.auth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 44px; border-radius: var(--r); border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; transition: filter .15s, border-color .15s; }
.auth-btn svg { width: 18px; height: 18px; fill: currentColor; }
.auth-btn.x { background: #f4f5f7; color: #0b0c0e; border-color: #f4f5f7; }
.auth-btn.discord { background: #5865f2; color: #fff; border-color: #5865f2; }
.auth-btn:hover { filter: brightness(1.08); }
#authWho { color: var(--text); font-weight: 600; }
.board .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.who-pic { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 760px) { #signin { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; font-size: 13px; } #signin.signed span { display: none; } #signin.signed { padding: 0 4px; } .clock { display: none; } }
