/* =============================================================================
   NANA'S NUMBERS — FREE SITE THEME
   One stylesheet for every page and tool. Black & blue, dark + light.
   Fonts: Atkinson Hyperlegible Next (text) + Atkinson Hyperlegible Mono
   (numbers) — designed so 0/O, 1/l/I, 5/S, 8/B never look alike.
   ============================================================================= */

:root {
  --bg: #05070c;
  --surface: #0d1322;
  --surface-2: #141c31;
  --line: #24314f;
  --text: #f3f6fc;
  --muted: #aab5cd;
  --blue: #5b8cff;
  --blue-strong: #2f5bea;
  --blue-soft: rgba(91, 140, 255, .14);
  --on-blue: #ffffff;
  /* Platinum = cyan · Highlights & Fireball = violet (no gold anywhere) */
  --plat: #38d9f5;
  --plat-soft: rgba(56, 217, 245, .13);
  --hl: #a78bfa;
  --hl-soft: rgba(167, 139, 250, .15);
  --ok: #4fd39b;
  --warn: #ff8f70;
  --extreme: #ff6b6b;
  --long: #6fa2ff;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --radius: 14px;
  --radius-sm: 9px;
  --tap: 48px;
  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", "Atkinson Hyperlegible Next", ui-monospace, "SF Mono", Consolas, monospace;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f2f5fb;
  --surface-2: #e7edf8;
  --line: #cdd7ea;
  --text: #0a0e17;
  --muted: #4a5571;
  --blue: #1f4fd6;
  --blue-strong: #173fb0;
  --blue-soft: rgba(31, 79, 214, .10);
  --on-blue: #ffffff;
  --plat: #00708a;
  --plat-soft: rgba(0, 112, 138, .10);
  --hl: #5b3fd1;
  --hl-soft: rgba(91, 63, 209, .10);
  --ok: #0f7a4d;
  --warn: #b33b17;
  --extreme: #c62828;
  --long: #1f4fd6;
  --shadow: 0 8px 24px rgba(15, 30, 70, .10);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
a { color: var(--blue); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
main:focus, main:focus-visible { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Numbers: open, spaced, never blocky ─────────────────────────────────── */
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums slashed-zero;
  font-feature-settings: "zero" 1, "tnum" 1;
  letter-spacing: .08em;
  font-weight: 600;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px calc(10px);
  padding-top: calc(10px + env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; min-width: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--blue-strong); color: #fff;
  font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: 0;
}
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
.icon-btn {
  min-width: var(--tap); height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; font-size: 15px; font-weight: 600;
}
.icon-btn svg { width: 19px; height: 19px; }
.plat-chip {
  height: 40px; padding: 0 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--plat-soft); color: var(--plat);
  border: 1px solid color-mix(in srgb, var(--plat) 45%, transparent);
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.desk-nav { display: none; }

/* ── Bottom tab bar (phones) ─────────────────────────────────────────────── */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600;
}
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--blue); }
.tabbar a[aria-current="page"] svg { stroke-width: 2.4; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
main { max-width: 760px; margin: 0 auto; padding: 18px 16px 30px; }
h1 { font-size: 30px; line-height: 1.15; margin: 6px 0 6px; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: 22px; line-height: 1.25; margin: 26px 0 10px; letter-spacing: -.01em; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.lede { color: var(--muted); font-size: 17px; max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }

/* ── Lists of destinations ───────────────────────────────────────────────── */
.list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.list li + li { border-top: 1px solid var(--line); }
.list a {
  display: flex; align-items: center; gap: 14px;
  min-height: 68px; padding: 12px 16px; text-decoration: none; color: var(--text);
}
.list a:active { background: var(--surface-2); }
.list .li-text { flex: 1; min-width: 0; }
.list .li-title { display: block; font-weight: 700; font-size: 17px; }
.list .li-sub { display: block; color: var(--muted); font-size: 15px; line-height: 1.4; }
.list .li-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.list .li-icon svg { width: 22px; height: 22px; }
.list .chev { color: var(--muted); flex: none; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--plat-soft); color: var(--plat); margin-left: 6px; vertical-align: 1px; }
.tag.soon { background: var(--surface-2); color: var(--muted); }

/* ── Panels, forms, buttons ──────────────────────────────────────────────── */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 14px 0; }
.field { display: block; margin: 0 0 14px; }
.field > span, .field-label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: var(--tap); padding: 10px 14px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 18px;
}
input.num-input, textarea.num-input { font-family: var(--mono); letter-spacing: .12em; font-variant-numeric: slashed-zero; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn {
  min-height: var(--tap); padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface-2); color: var(--text);
  font-weight: 700; font-size: 17px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn.primary { background: var(--blue-strong); border-color: var(--blue-strong); color: var(--on-blue); }
.btn.plat { background: var(--plat-soft); border-color: color-mix(in srgb, var(--plat) 50%, transparent); color: var(--plat); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button, .chip {
  min-height: 44px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 700; font-size: 16px;
}
.seg button[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--blue-strong); border-color: var(--blue-strong); color: #fff; }
.digit-pad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.digit-pad button { min-height: 54px; font-family: var(--mono); font-size: 22px; font-weight: 700; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; }
.digit-pad button[aria-pressed="true"] { background: var(--blue-strong); border-color: var(--blue-strong); color: #fff; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--blue-strong); }
.state-picker { display: flex; flex-wrap: wrap; gap: 8px; max-height: 260px; overflow-y: auto; padding: 2px; }
.state-picker .chip { min-width: 64px; font-family: var(--mono); letter-spacing: .04em; }

/* ── Results ─────────────────────────────────────────────────────────────── */
.results { margin-top: 18px; scroll-margin-top: 76px; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.result-head h2 { margin: 0; font-size: 20px; }
.result-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.result-card h3 { display: flex; justify-content: space-between; gap: 8px; }
.count { color: var(--muted); font-weight: 600; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .num { padding: 6px 11px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-size: 19px; }
.chips .num.dollar { border-color: var(--hl); background: var(--hl-soft); }
.big-num { font-family: var(--mono); font-size: 34px; font-weight: 700; letter-spacing: .12em; font-variant-numeric: slashed-zero; }
.pick-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pick-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.pick-card .label { color: var(--muted); font-weight: 700; font-size: 15px; }
.grid-set { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
table.ngrid { border-collapse: separate; border-spacing: 5px; }
table.ngrid td, table.ngrid th { min-width: 42px; height: 42px; text-align: center; border-radius: 8px; }
table.ngrid td { background: var(--surface-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 20px; font-weight: 700; font-variant-numeric: slashed-zero; }
table.ngrid th { color: var(--muted); font-size: 14px; font-weight: 700; text-align: left; padding-right: 6px; }
.locked { border-style: dashed; }
/* rundown digit colors (each digit always the same color, text stays high-contrast) */
table.ngrid.colored td { color: var(--text); }
.d0 { background: color-mix(in srgb, #ff5733 30%, var(--surface)) !important; }
.d1 { background: color-mix(in srgb, #3498db 30%, var(--surface)) !important; }
.d2 { background: color-mix(in srgb, #2ecc71 30%, var(--surface)) !important; }
.d3 { background: color-mix(in srgb, #f1c40f 30%, var(--surface)) !important; }
.d4 { background: color-mix(in srgb, #e67e22 30%, var(--surface)) !important; }
.d5 { background: color-mix(in srgb, #f25ca2 30%, var(--surface)) !important; }
.d6 { background: color-mix(in srgb, #99ccff 34%, var(--surface)) !important; }
.d7 { background: color-mix(in srgb, #7be07b 30%, var(--surface)) !important; }
.d8 { background: color-mix(in srgb, #fff176 30%, var(--surface)) !important; }
.d9 { background: color-mix(in srgb, #ffb877 32%, var(--surface)) !important; }
.locked p { color: var(--muted); margin: 0; }
.workout-row { display: flex; justify-content: space-between; align-items: center; min-height: 46px; border-bottom: 1px solid var(--line); }
.workout-row:last-child { border-bottom: 0; }
.workout-row .num { font-size: 22px; }
.sentence { margin: 0 0 8px; padding-left: 12px; border-left: 3px solid var(--line); }
.sentence.hit { border-color: var(--ok); }
.sentence.fb { border-color: var(--hl); }
.sentence.miss { border-color: var(--line); color: var(--muted); }
.error { padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid var(--warn); color: var(--warn); background: color-mix(in srgb, var(--warn) 8%, transparent); font-weight: 600; }
.note { color: var(--muted); font-size: 15px; }
.loading { color: var(--muted); font-weight: 600; }

/* data tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 16px; }
table.data th, table.data td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th { background: var(--surface-2); font-size: 14px; color: var(--muted); position: sticky; top: 0; }
table.data th button { all: unset; cursor: pointer; font-weight: 700; }
table.data td.num { font-size: 18px; }
table.data tr.extreme td:first-child { box-shadow: inset 4px 0 0 var(--extreme); }
table.data tr.long td:first-child { box-shadow: inset 4px 0 0 var(--long); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: 8px 0; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* results board */
.board-row { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.board-row:first-child { border-top: 0; }
.board-state { font-family: var(--mono); font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.board-state small { display: block; font-family: var(--font); color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: 0; line-height: 1.2; }
.board-draws { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.board-draw { display: flex; flex-direction: column; }
.board-draw { min-width: 96px; }
.board-draw .when { color: var(--muted); font-size: 13px; font-weight: 700; }
.board-draw .date { color: var(--muted); font-size: 12px; }
.board-draw .num { font-size: 24px; letter-spacing: .14em; }
.board-draw .fb { color: var(--hl); font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* cash pop */
.pop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.pop { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.pop .num { font-size: 28px; display: block; }
.pop small { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; }
.bar { height: 6px; border-radius: 3px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); }

/* next step + platinum match cards */
.followups { display: grid; gap: 12px; margin-top: 22px; }
.follow { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius); text-decoration: none; color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.follow .k { display: block; font-size: 14px; font-weight: 700; color: var(--muted); }
.follow .t { display: block; font-weight: 700; font-size: 17px; }
.follow .li-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.follow .li-icon svg { width: 22px; height: 22px; }
.follow.platinum { border-color: color-mix(in srgb, var(--plat) 45%, transparent); background: var(--plat-soft); }
.follow.platinum .k { color: var(--plat); }

/* landing */
.hero { padding: 18px 0 6px; }
.hero h1 { font-size: 36px; }
.hero-board { margin: 18px 0; }
.feature-list { display: grid; gap: 10px; margin: 16px 0; padding: 0; list-style: none; }
.feature-list li { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.feature-list strong { display: block; }
.auth-box { max-width: 440px; margin: 0 auto; }

/* compare table */
.compare th, .compare td { white-space: normal !important; }
.compare td:nth-child(2), .compare td:nth-child(3) { width: 30%; }

footer.site-foot { max-width: 760px; margin: 0 auto; padding: 10px 16px 30px; color: var(--muted); font-size: 14px; line-height: 1.5; }
footer.site-foot a { color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 700; z-index: 50; }

/* ── Larger screens: nav moves into the header ───────────────────────────── */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .desk-nav { display: flex; gap: 4px; margin-right: 8px; }
  .desk-nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 700; }
  .desk-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
  .brand { margin-right: 24px; }
  .desk-nav { margin-right: auto; }
  main { padding-top: 28px; }
  .toast { bottom: 30px; }
}
@media (max-width: 480px) {
  .plat-chip { padding: 0 12px; }
  .plat-chip span { display: none; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 17px; }
  .row-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ── Results board + Past Draws ───────────────────────────────────────────── */
.board-controls .field { margin-bottom: 10px; }
.date-nav { display: flex; align-items: center; gap: 8px; }
.date-nav input[type="date"] { flex: 1; min-width: 0; }
.btn.icon { width: 44px; padding: 0; display: inline-grid; place-items: center; }
.btn.icon svg { width: 20px; height: 20px; }
.sticky-col { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
table.data thead .sticky-col { z-index: 2; background: var(--surface-2); }
table.data th.gh { text-align: center; color: var(--text); background: var(--blue-soft, var(--surface-2)); border-left: 1px solid var(--line); }
.board-grid td.num, .pd-table td.num { font-family: var(--mono); letter-spacing: .08em; }
.state-link { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rv { display: block; line-height: 1.35; white-space: nowrap; }
.rv + .rv { border-top: 1px dashed var(--line); }
.rv.extra { color: var(--muted); }
.fbx { color: var(--hl); font-size: .72em; font-weight: 700; margin-left: 3px; vertical-align: 1px; letter-spacing: 0; }
.x2 { color: var(--muted); font-size: .68em; font-weight: 700; margin-left: 3px; letter-spacing: 0; font-family: var(--font); }
.board-cards { display: none; }
.bcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 8px; }
.bcard .state-link { font-size: 17px; }
.gline { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; }
.glabel { flex: 0 0 56px; text-align: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--blue-strong); border-radius: 6px; padding: 3px 0; margin-top: 2px; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.slot { border: 1px solid var(--line); border-radius: 8px; padding: 2px 9px 4px; min-width: 70px; text-align: center; background: var(--surface-2); }
.slot small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.slot b { font-family: var(--mono); font-size: 18px; letter-spacing: .08em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }
.cols-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin: 4px 0 10px; }
.cols-box summary { font-weight: 700; cursor: pointer; min-height: 32px; display: flex; align-items: center; gap: 6px; }
.col-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 12px; margin: 6px 0 8px; }
.pd-table td, .pd-table th { padding: 8px 10px; font-size: 15px; }
.pd-table td.colv { white-space: nowrap; font-size: 14px; }
.pd-table tr.extra-row td { color: var(--muted); }
.tag-sm { display: inline-block; padding: 1px 7px; margin: 1px 0; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; }

body.wide main { max-width: 1240px; }
body.wide .panel, body.wide h1, body.wide .lede { max-width: 760px; }

/* ── Followers ── */
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 12px 0; }
.fcol { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.fcol h3 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.frow { display: flex; align-items: baseline; gap: 6px; padding: 4px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 15px; flex-wrap: wrap; }
.frow:last-child { border-bottom: 0; }
.frow.now { background: var(--hl-soft); margin: 0 -6px; padding: 4px 6px; border-radius: 6px; }
.fseed { color: var(--muted); font-weight: 700; min-width: 34px; }
.farrow { color: var(--muted); font-size: 12px; }
.ffol { font-weight: 700; letter-spacing: .04em; }
.ffol .r1 { color: var(--blue); } .ffol .r2 { color: var(--hl); } .ffol .r3 { color: var(--text); opacity: .75; }
.ffol .sep { color: var(--muted); }
.tag-sm.rep { border-color: var(--blue); color: var(--blue); }
.tag-sm.ret { border-color: var(--hl); color: var(--hl); }

/* ── Grids ── */
.gcard { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 12px 0; }
.ggrid { display: grid; gap: 5px; background: var(--blue-strong); padding: 5px; border-radius: 10px; width: max-content; }
.gcell { width: 46px; height: 46px; display: grid; place-items: center; background: var(--bg, #fff); color: var(--text); font-family: var(--mono); font-size: 22px; font-weight: 700; border-radius: 6px; }
.gcell.diag { background: var(--surface-2); box-shadow: inset 0 0 0 3px var(--hl); }
.gread h3 { margin: 0 0 6px; font-size: 17px; color: var(--blue); }
.gread p { margin: 0 0 6px; }
.gread p b { display: block; font-size: 13px; color: var(--muted); }
.gread p span { font-family: var(--mono); font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.sep-line { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
@media (max-width: 520px) { .gcard { grid-template-columns: 1fr; } .gcell { width: 42px; height: 42px; font-size: 20px; } }

/* ── Dashboard ── */
.fav-btn { border-color: var(--plat); color: var(--plat); }
.fav-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 10px 0; }
.fav-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.fav-row:first-child { border-top: 0; }
.fav-row a { flex: 1; color: var(--text); text-decoration: none; min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
.fav-row a small { color: var(--muted); }
.fav-act { display: flex; gap: 6px; }
.small-seg button { min-height: 36px; padding: 4px 10px; font-size: 14px; }
.pd-wrap { max-width: 100%; touch-action: pan-x pan-y pinch-zoom; }

/* ── Platinum trackers ── */
.plat-lock { border-color: var(--plat); background: var(--plat-soft); }
.result-card.wg.flag { border-color: var(--hl); box-shadow: 0 0 0 1px var(--hl); }
.kt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.chf-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chf { display: inline-flex; flex-direction: column; align-items: center; padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.chf b { font-size: 18px; letter-spacing: .06em; }
.chf small { color: var(--muted); font-size: 11px; }
.chf.on { border-color: var(--plat); background: var(--plat-soft); }
.chf-group { margin: 0 0 12px; }
.chf-head { margin: 0 0 6px; font-size: 13px; }
.chf-head small { color: var(--muted); }
.chf-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-weight: 700; font-size: 12px; color: #fff; background: #6b7280; }
.chf-tag.strongest { background: #1d4ed8; box-shadow: 0 0 0 2px rgba(37,99,235,.25); }
.chf-tag.resting { background: #0369a1; }
.chf-tag.steady { background: #0f766e; }
.chf-tag.rising { background: #7c3aed; }
.chf-tag.faded { background: #9ca3af; }
.chf.strongest { border-color: #1d4ed8; border-width: 2px; box-shadow: 0 0 10px rgba(37,99,235,.35); }
.chf.resting { border-color: #0369a1; }
.chf.steady { border-color: #0f766e; }
.chf.rising { border-color: #7c3aed; border-style: dashed; }
.chf.faded { opacity: .6; }

/* ── Gap maps ── */
.gmap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin: 12px 0; max-width: 760px; }
.gtile { aspect-ratio: 1; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; line-height: 1.1; }
.gtile b { font-family: var(--mono); font-size: clamp(9px, 2.4vw, 14px); }
.gtile small { font-size: clamp(8px, 2vw, 11px); color: var(--muted); }
.gtile.none { opacity: .25; }
.gtile.ok { background: var(--surface); }
.gtile.long { background: var(--long, #2f5bea); color: #fff; border-color: transparent; }
.gtile.ext { background: var(--extreme, #d93a3a); color: #fff; border-color: transparent; }
.gtile.long small, .gtile.ext small { color: #fff; opacity: .9; }
.gkey { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; background: var(--surface); border: 1px solid var(--line); }
.gkey.long { background: var(--long, #2f5bea); } .gkey.ext { background: var(--extreme, #d93a3a); }

.fback { font-size: 11px; color: var(--muted); white-space: nowrap; min-width: 44px; }

/* ── Data tables: swipe / drag, scroll arrows, watermark, protection ── */
.scroll-shell { position: relative; }
.scroll-shell > .table-wrap { scrollbar-width: none; -ms-overflow-style: none; }
.scroll-shell > .table-wrap::-webkit-scrollbar { display: none; }
.scroll-shell.can-scroll > .table-wrap { cursor: grab; }
.scroll-shell.dragging > .table-wrap { cursor: grabbing; }
.scroll-shell.dragging { user-select: none; }
.scroll-shell .wm { position: absolute; inset: 0; pointer-events: none; z-index: 3; background-repeat: repeat; border-radius: inherit; }
.srail { position: absolute; top: 0; bottom: 0; width: 0; z-index: 4; pointer-events: none; }
.srail.l { left: 0; } .srail.r { right: 0; }
.sarrow { position: sticky; top: 45vh; margin-top: 40px; pointer-events: auto; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: #2563eb; color: #fff; font-size: 26px; line-height: 32px; text-align: center; padding: 0; cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .25s; box-shadow: 0 0 0 0 rgba(37,99,235,.6); }
.srail.l .sarrow { transform: translateX(4px); }
.srail.r .sarrow { transform: translateX(-40px); }
.srail.show .sarrow { opacity: .95; visibility: visible; animation: nnPulse 1.4s ease-in-out infinite; }
.scroll-shell.seen .srail.show .sarrow { animation: none; opacity: .55; box-shadow: none; }
.srail.r.show .sarrow { animation-name: nnPulse, nnNudgeR; }
.srail.l.show .sarrow { animation-name: nnPulse, nnNudgeL; }
@keyframes nnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,.55); } 50% { box-shadow: 0 0 14px 6px rgba(37,99,235,.35); } }
@keyframes nnNudgeR { 0%, 100% { margin-left: 0; } 50% { margin-left: 5px; } }
@keyframes nnNudgeL { 0%, 100% { margin-left: 0; } 50% { margin-left: -5px; } }
@media (prefers-reduced-motion: reduce) { .srail.show .sarrow { animation: none !important; } }
.protect .sel, .protect tr.sel > td { background: var(--hl-soft) !important; }
.protect .nx::selection, .protect *::selection { background: transparent; }
.nx::after { content: attr(data-v); }
@media print {
  #app .protect, #app .scroll-shell, #app .results { display: none !important; }
  #app::after { content: "Printing member data is turned off."; display: block; padding: 24px; }
}

.lesson { margin: 0 0 14px; }
.lesson-steps { margin: 8px 0 6px 18px; padding: 0; font-size: 14px; line-height: 1.5; }
.lesson-steps li { margin: 0 0 4px; }
.lesson-pairs { display: flex; flex-wrap: wrap; gap: 6px; }
.lesson-pairs span { font-family: var(--mono); font-size: 13px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); }
.lesson-pairs span.mid { border-color: #7c3aed; color: #7c3aed; font-weight: 700; }
.tag.plat { background: var(--plat-soft); color: var(--plat); }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 14px; max-height: 340px; overflow: auto; padding: 4px 0; }
.slot-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.slot-st { font-weight: 700; min-width: 64px; font-size: 13px; }
.slot-row .chip { padding: 3px 8px; font-size: 12px; }
.meta-list { list-style: none; padding: 0; margin: 0 0 10px; font-size: 14px; }
.meta-list li { padding: 2px 0; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 10px 0; }

.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.lcard { margin: 0; }
.lrow { padding: 6px 0; border-top: 1px solid var(--line); }
.lrow:first-of-type { border-top: 0; }
.ltitle { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.lchips { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.lchip { display: inline-flex; flex-direction: column; align-items: center; padding: 3px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.lchip b { font-size: 16px; letter-spacing: .05em; }
.lchip small { font-size: 10px; color: var(--muted); }
.lchip.hf.lead { border-color: #2563eb; }
.lchip.fo.lead { border-color: #7c3aed; }

/* ── Gap Maps (real map) ── */
.gstats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.gstat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px; text-align: center; }
.gstat b { display: block; font-size: 24px; font-family: var(--mono); }
.gstat span { font-size: 12px; color: var(--muted); }
.glegend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); margin: 6px 0 10px; }
.glegend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; }
.glegend i.nogame, .gstate.nogame { background: var(--surface-2); border: 1px solid var(--line); }
.gsvgwrap { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.gsvg { width: 100%; height: auto; display: block; }
.gstate { stroke: var(--bg); stroke-width: .6; cursor: pointer; }
.gstate:hover { filter: brightness(1.15); }
.gborder { fill: none; stroke: var(--bg); stroke-width: 1; pointer-events: none; }
.gmlabel { font: 700 11px var(--font); fill: #fff; paint-order: stroke; stroke: rgba(0,0,0,.65); stroke-width: 2.5px; pointer-events: none; }
.gtip { position: absolute; z-index: 5; max-width: 230px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px; line-height: 1.4; box-shadow: var(--shadow); pointer-events: none; }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gcard { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid; border-radius: 10px; padding: 10px 12px; }
.gcard .gst { font-weight: 700; font-size: 14px; }
.gcard small { color: var(--muted); font-size: 12px; }
.gdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
@media (max-width: 560px) { .gstats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gmlabel { font-size: 13px; } }

/* ── Daily Games Board: compact boxed cells (Lottery Post style) ── */
table.board-grid { border-collapse: separate; border-spacing: 3px; font-size: 15px; }
table.board-grid th, table.board-grid td { padding: 7px 10px; border-bottom: 0; line-height: 1.3; }
table.board-grid thead th { background: var(--blue-strong); color: var(--on-blue); text-align: center; font-size: 14px; padding: 6px 10px; }
table.board-grid thead th.sticky-col { text-align: left; background: var(--blue-strong); }
table.board-grid tbody td { background: var(--surface-2); text-align: center; }
table.board-grid tbody td.sticky-col { background: var(--surface); text-align: left; }
table.board-grid td.num { font-size: 16px; letter-spacing: .03em; }
table.board-grid .state-link { font-weight: 600; text-decoration-thickness: 1px; }
.board-table { border: 0; background: transparent; }
@media (max-width: 760px) {
  table.board-grid { font-size: 14px; border-spacing: 2px; }
  table.board-grid th, table.board-grid td { padding: 6px 8px; }
  table.board-grid td.num { font-size: 15px; }
  table.board-grid .state-link { font-size: 15px; }
  table.board-grid td.sticky-col, table.board-grid th.sticky-col { max-width: 42vw; white-space: normal; }
}

/* Board game picker: Lottery Post style checkboxes */
.gchecks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.gcheck { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; cursor: pointer; }
.gcheck input { width: 24px; height: 24px; accent-color: var(--blue); margin: 0; }
table.board-grid thead th.gh { background: var(--blue-strong); color: var(--on-blue); border-left: 0; }
@media (max-width: 460px) { .gchecks { gap: 10px 14px; } .gcheck { font-size: 16px; gap: 7px; } .gcheck input { width: 22px; height: 22px; } }

/* Board size control (scales the whole board) */
.zoomctl { display: inline-flex; align-items: center; gap: 10px; }
.zoomctl .btn.icon { font-size: 22px; font-weight: 800; }
.zoomctl span { min-width: 52px; text-align: center; font-weight: 700; }
#board table.board-grid { font-size: calc(15px * var(--bz, 1)); border-spacing: calc(3px * var(--bz, 1)); }
#board table.board-grid th, #board table.board-grid td { padding: calc(7px * var(--bz, 1)) calc(10px * var(--bz, 1)); }
#board table.board-grid thead th { font-size: calc(14px * var(--bz, 1)); }
#board table.board-grid td.num { font-size: calc(16px * var(--bz, 1)); }
#board table.board-grid .state-link { font-size: calc(15px * var(--bz, 1)); }
@media (max-width: 760px) {
  #board table.board-grid { font-size: calc(14px * var(--bz, 1)); border-spacing: calc(2px * var(--bz, 1)); }
  #board table.board-grid th, #board table.board-grid td { padding: calc(6px * var(--bz, 1)) calc(8px * var(--bz, 1)); }
  #board table.board-grid td.num { font-size: calc(15px * var(--bz, 1)); }
}

/* New NN logo */
img.brand-mark { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #000a1e; padding: 0; display: block; }
.hero-logo { display: block; width: 220px; max-width: 60vw; height: auto; border-radius: 22px; margin: 0 0 14px; box-shadow: var(--shadow); }

/* ── Community ── */
.cbanner { border-color: var(--hl); background: var(--hl-soft); font-weight: 600; }
.ctabs { margin: 4px 0; }
.ccompose textarea { min-height: 90px; font-size: 16px; }
.cthumbs { display: flex; gap: 6px; margin: 8px 0; flex-wrap: wrap; } .cthumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.cpost { max-width: 760px; }
.cmeta { font-size: 15px; margin-bottom: 6px; }
.cbody { white-space: normal; word-wrap: break-word; font-size: 16px; line-height: 1.5; }
.cimgs { display: grid; gap: 4px; margin-top: 8px; grid-template-columns: repeat(2, 1fr); } .cimgs.n1 { grid-template-columns: 1fr; }
.cimgs img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 10px; display: block; }
.cvideo { position: relative; padding-top: 56.25%; margin-top: 8px; border-radius: 10px; overflow: hidden; } .cvideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.creact { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.creact button[data-react] { border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: 4px 10px; cursor: pointer; font-size: 14px; }
.creact button.on { border-color: var(--blue); background: var(--blue-soft); }
.clink { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; padding: 2px 6px; text-decoration: underline; }
.ccomments { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.ccomment { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ccform { display: flex; gap: 6px; margin-top: 8px; } .ccform input { min-height: 40px; font-size: 15px; }
.cchat { max-width: 820px; padding: 0; overflow: hidden; }
.cchat-head { padding: 10px 14px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.cmsgs { height: min(62vh, 560px); overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.cmsg { max-width: 82%; align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 6px 10px; font-size: 15px; word-wrap: break-word; }
.cmsg.mine { align-self: flex-end; background: var(--blue-soft); border-color: var(--blue); }
.cmsg.bot.kayla { border-color: #e879a6; background: color-mix(in srgb, #e879a6 12%, var(--surface)); }
.cmsg.bot.nana { border-color: var(--plat); background: var(--plat-soft); }
.cmsg-h { font-size: 13px; margin-bottom: 2px; }
.cmsg-img { max-width: 240px; max-height: 240px; border-radius: 10px; margin-top: 4px; display: block; }
.csend { display: flex; gap: 6px; padding: 8px; border-top: 1px solid var(--line); align-items: center; }
.csend input[type=text] { min-height: 44px; font-size: 16px; }
.crooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.croom { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font-weight: 600; text-align: left; color: var(--text); }
.croom i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.croom.open i { background: var(--ok); } .croom:disabled { opacity: .55; cursor: not-allowed; }
.tl-custom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lchip.md { border-color: color-mix(in srgb, var(--ok) 55%, var(--line)); }

/* ── Results Calendar ─────────────────────────────────────────────────────── */
:root { --d-morn: #4ade80; --d-mid: #ff7448; --d-eve: #6ea8ff; --d-nite: #c792ff; --c4: #ffd166; --c5: #f472b6; --cal-head: #142446; --cal-out: rgba(255,255,255,.03); }
:root[data-theme="light"] { --d-morn: #15803d; --d-mid: #d9480f; --d-eve: #1d4ed8; --d-nite: #7e22ce; --c4: #a16207; --c5: #be185d; --cal-head: #dbe5f8; --cal-out: rgba(10,20,40,.04); }
.cal-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cal-controls .field { margin: 0; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 4px 0 12px; font-size: 14px; color: var(--muted); }
.cleg { display: inline-flex; align-items: center; gap: 6px; }
.cleg i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; background: currentColor; }
.cleg i.x2dot { background: transparent; border: 2px dashed var(--muted); }
.calgrid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .calgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calmonth { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.calmonth h3 { margin: 0; padding: 8px; text-align: center; font-size: 20px; background: var(--cal-head); color: var(--text); }
.caldow, .caldays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.caldow span { text-align: center; font-weight: 700; font-size: 13px; padding: 4px 0; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.calday { min-height: 64px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2px 4px 4px; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.calday:nth-child(7n) { border-right: 0; }
.calday .cdn { align-self: flex-end; font-size: 11px; color: var(--muted); line-height: 1.2; font-weight: 700; }
.calday.out { background: var(--cal-out); }
.calday.out .cdn { opacity: .45; }
.calday.today { outline: 2px solid var(--plat); outline-offset: -2px; background: var(--plat-soft); }
.cnum { font-family: var(--mono); font-weight: 800; font-size: 16px; line-height: 1.2; letter-spacing: .02em; white-space: nowrap; }
.cnum sup { font-size: 9px; color: var(--hl); margin-left: 1px; }
.cnum.x2 { text-decoration: underline dashed; text-underline-offset: 3px; font-size: 14px; }
.calgrid.wide5 .cnum { font-size: 13px; letter-spacing: 0; }
.d-Morn { color: var(--d-morn); } .d-Mid { color: var(--d-mid); } .d-Eve { color: var(--d-eve); } .d-Nite { color: var(--d-nite); }
.c0 { color: var(--d-morn); } .c1 { color: var(--d-mid); } .c2 { color: var(--d-eve); } .c3 { color: var(--d-nite); } .c4 { color: var(--c4); } .c5 { color: var(--c5); }
@media (max-width: 420px) { .cnum { font-size: 14px; } .calgrid.wide5 .cnum { font-size: 11px; } .calday { min-height: 56px; padding: 2px 1px 3px; } .cal-controls { grid-template-columns: 1fr 1fr; } .cal-controls .field:first-child { grid-column: 1 / -1; } }

/* ── Community: reactions, pins, scroll-back ─────────────────────────────── */
.rbar { position: relative; display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.rbar.sm { margin-top: 4px; }
.rpill { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 2px 9px; cursor: pointer; font-size: 14px; line-height: 1.5; }
.rbar.sm .rpill { font-size: 12.5px; padding: 1px 7px; }
.rpill.on { border-color: var(--blue); background: var(--blue-soft); }
.radd { border: 1px dashed var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 2px 8px; cursor: pointer; font-size: 14px; line-height: 1.5; }
.radd b { font-size: 11px; margin-left: 1px; }
.rbar.sm .radd { font-size: 12px; padding: 0 6px; opacity: .7; }
.cmsg:hover .rbar.sm .radd, .rbar.sm .radd:focus { opacity: 1; }
.rpick { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 38px); gap: 2px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.rpick button { font-size: 22px; line-height: 1; padding: 6px 0; border: 0; background: transparent; border-radius: 8px; cursor: pointer; }
.rpick button:hover, .rpick button:focus { background: var(--blue-soft); }
.cmsg.mine .rpick { left: auto; right: 0; }
.cpins { border-bottom: 1px solid var(--line); background: var(--plat-soft); padding: 6px 12px; display: grid; gap: 4px; max-height: 150px; overflow-y: auto; }
.cpin { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.cpin > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cmsg.pinned { box-shadow: inset 3px 0 0 var(--plat); }
.tag-sm.pin { color: var(--plat); }
.cold { align-self: center; font-size: 13px; padding: 4px 12px; min-height: 0; margin-bottom: 4px; }
.guest-banner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.guest-banner > div:not(.actions) { flex: 1 1 260px; display: grid; gap: 2px; }
.guest-banner .actions { margin: 0; }

/* ── Chats list ───────────────────────────────────────────────────────────── */
.chlist { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-bottom: 14px; }
.chrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.chrow:last-child { border-bottom: 0; }
.chrow:hover { background: var(--surface-2); }
.chrow.locked { opacity: .6; }
.chav { position: relative; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 15px; }
.chav.main { background: color-mix(in srgb, #ff7a1e 22%, var(--surface)); font-size: 24px; }
.chav i { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); border: 2px solid var(--surface); }
.chtxt { flex: 1; min-width: 0; display: grid; }
.chtxt strong { font-size: 16px; }
.chtxt small { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chtime { color: var(--muted); font-size: 12px; align-self: flex-start; padding-top: 4px; }
.chhead { font-size: 18px; margin: 18px 0 8px; display: flex; gap: 8px; align-items: center; }
.chmore summary { cursor: pointer; color: var(--blue); font-weight: 700; margin: 4px 0 10px; }
.chprev { max-width: 560px; margin: 0 auto; }
.chprev-top { display: flex; gap: 12px; align-items: center; }
.chprev-top h1 { margin: 0; font-size: 24px; }
.chprev-top p { margin: 0; }
.chprev-msgs { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; filter: blur(5px); user-select: none; pointer-events: none; }

/* ── Full-screen chat room ────────────────────────────────────────────────── */
body.chatmode { padding-bottom: 0; overflow: hidden; }
body.chatmode .topbar, body.chatmode .tabbar, body.chatmode .site-foot { display: none !important; }
body.chatmode main#app { position: fixed; inset: 0; max-width: none; padding: 0; margin: 0; height: 100dvh; display: flex; }
.chatfs { display: flex; flex-direction: column; width: 100%; max-width: 900px; height: 100%; margin: 0 auto; background: var(--bg); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.chat-top { display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 10px 8px; border-bottom: 1px solid var(--line); background: var(--surface); }
.ct-title { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.ct-title strong { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-title small { color: var(--muted); font-size: 12px; }
.ct-info { font-family: Georgia, serif; font-style: italic; font-weight: 800; font-size: 18px; color: var(--blue); border: 2px solid var(--blue); border-radius: 50%; width: 34px; height: 34px; }
.chat-toppin { display: flex; gap: 8px; align-items: center; padding: 6px 12px; background: var(--plat-soft); border-bottom: 1px solid var(--line); font-size: 14px; }
.chat-toppin > div { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.chat-msgs { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px; display: flex; flex-direction: column; gap: 8px; -webkit-overflow-scrolling: touch; }
.chat-msgs .cmsg { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; position: relative; max-width: 86%; }
.chat-msgs .cmsg.flash { outline: 2px solid var(--plat); }
.cmsg-b { white-space: normal; overflow-wrap: anywhere; }
.cmsg-f { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 11px; }
.cmore { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 4px; opacity: 0; }
.cmsg:hover .cmore, .cmore:focus { opacity: 1; }
@media (hover: none) { .cmore { display: none; } }
.cquote { border-left: 3px solid var(--blue); background: var(--surface); border-radius: 6px; padding: 3px 8px; margin: 2px 0 4px; font-size: 13px; color: var(--muted); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-reply { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 14px; }
.chat-reply > div { flex: 1; min-width: 0; display: grid; }
.chat-reply span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.chat-send { display: flex; gap: 8px; align-items: center; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.chat-send input[type=text] { flex: 1; min-width: 0; border-radius: 999px; padding: 10px 14px; }
.chat-send .icon-btn { font-size: 20px; cursor: pointer; }

/* sheets (message menu, chat info) */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: 640px; margin: 0 auto; max-height: 86dvh; overflow-y: auto; background: var(--surface); border-radius: 18px 18px 0 0; padding: 12px 14px calc(16px + env(safe-area-inset-bottom)); box-shadow: var(--shadow); }
.qrow { display: flex; justify-content: space-between; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 6px 8px; }
.qrow button, .qall button { font-size: 28px; line-height: 1; border: 0; background: transparent; cursor: pointer; padding: 4px; border-radius: 50%; }
.qrow .qplus { font-size: 22px; width: 42px; height: 42px; background: var(--surface); color: var(--muted); }
.qall { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 4px; margin-top: 8px; }
.mrow { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.mrow button { display: grid; justify-items: center; gap: 2px; border: 0; background: transparent; color: var(--text); font-size: 22px; padding: 8px; cursor: pointer; border-radius: 10px; }
.mrow button span { font-size: 14px; }
.mrow button:hover { background: var(--surface-2); }
.mmore { display: grid; margin-top: 6px; border-top: 1px solid var(--line); }
.mmore button { text-align: left; border: 0; background: transparent; color: var(--text); font-size: 17px; padding: 12px 6px; cursor: pointer; border-bottom: 1px solid var(--line); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 18px; }
.ilist { display: grid; }
.ilist > * { display: flex; gap: 14px; align-items: center; padding: 13px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); font-size: 17px; text-align: left; text-decoration: none; cursor: pointer; }
.iview h3 { margin: 14px 0 6px; font-size: 16px; }
.pinitem { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; margin: 8px 0; font-size: 15px; overflow-wrap: anywhere; cursor: default; }
.pinitem[data-jump] { cursor: pointer; }
.pinmeta { font-size: 13px; margin-bottom: 2px; }
.pinacts { display: flex; gap: 6px; margin-top: 4px; }
.isearch { display: flex; gap: 8px; margin-top: 10px; }
.isearch input { flex: 1; min-width: 0; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 4px; }
.mgrid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }

/* Collapsible sections: clear open/close arrow + Close button */
details.cols-box > summary, details.filters > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; user-select: none; }
details.cols-box > summary::-webkit-details-marker, details.filters > summary::-webkit-details-marker { display: none; }
details.cols-box > summary::after, details.filters > summary::after { content: "▼"; margin-left: auto; font-size: 12px; color: var(--muted); transition: transform .15s; }
details.cols-box[open] > summary::after, details.filters[open] > summary::after { transform: rotate(180deg); }
.dclose { display: block; margin: 12px 0 2px auto; font-size: 14px; padding: 6px 14px; min-height: 0; }

/* Platinum codes */
.redeem-row { display: flex; gap: 8px; }
.redeem-row input { flex: 1; min-width: 0; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ok-msg { margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--plat-soft); color: var(--text); border: 1px solid var(--plat); }
.table-scroll { overflow-x: auto; }
table.codes td, table.codes th { white-space: nowrap; }
table.codes td:last-child { white-space: normal; }
.newcodes pre { background: var(--surface-2); padding: 10px; border-radius: 8px; overflow-x: auto; }
.mono { font-family: var(--mono); }

/* Password show / hide */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 48px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 8px; }
.pw-eye:hover, .pw-eye:focus-visible { color: var(--text); background: var(--surface-2); }

/* Stickers (chat + reactions) */
.cmsg.sticker { background: transparent !important; border-color: transparent !important; box-shadow: none; padding-left: 0; padding-right: 0; }
.cstk { width: 150px; height: 150px; display: block; margin-top: 2px; }
.rstk { width: 22px; height: 22px; vertical-align: middle; }
.rpill .rstk { width: 28px; height: 28px; }
.qstk { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.qstk .rstk { width: 58px; height: 58px; }
.stkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 60vh; overflow-y: auto; padding: 4px; }
.stkgrid button { border: 0; background: transparent; cursor: pointer; padding: 4px; border-radius: 12px; }
.stkgrid button:hover, .stkgrid button:focus-visible { background: var(--surface-2); }
.stk { width: 100%; height: auto; display: block; }
.cmsg.locked .cmsg-b { font-size: 14px; }

/* Combined Signals */
.cssec h3 { margin: 0 0 8px; }
.cstable td { vertical-align: top; }
.cstable ul.tight { margin: 0; padding-left: 16px; font-size: 13px; }
.csscore { display: inline-block; min-width: 28px; text-align: center; padding: 2px 8px; border-radius: 999px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); }
.csscore.s3, .csscore.s4 { border-color: var(--plat); color: var(--plat); }
.csscore.s5, .csscore.s6 { background: var(--plat); color: #fff; border-color: var(--plat); }
ul.tight { margin: 6px 0; padding-left: 18px; }

/* Lessons admin */
.lthumb { position: relative; display: inline-block; }
.lthumb img { width: 90px; height: 90px; object-fit: cover; border-radius: 8px; }
.lthumb .icon-btn { position: absolute; top: 2px; right: 2px; width: 26px; height: 26px; min-width: 0; font-size: 13px; background: var(--surface); }

/* Region presets in state pickers */
.regbtns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 10px; }
.chip.reg { border-style: dashed; }
/* Regional / All States / Big Money cards */
.combo-v { font-size: 14px; line-height: 1.5; word-break: break-word; }

/* ── Chat & Group elements ───────────────────────────────────────── */
/* themes: faint image behind the messages (Facebook-style); frames = month decor around the edges */
.chatfs { position: relative; isolation: isolate; }
.chatfs > :not(.chat-thm) { position: relative; z-index: 1; }
.chat-thm, .page-thm { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-position: center; background-repeat: no-repeat; background-size: cover; }
.page-thm { position: fixed; z-index: -1; }
.chat-thm.frame, .page-thm.frame { background-size: 100% 100%; }
@media (min-aspect-ratio: 4/5) { .chat-thm.frame, .page-thm.frame { background-size: auto 100%; } }
.chat-thm.bg.s-faint, .page-thm.bg.s-faint { opacity: .13; } .chat-thm.bg.s-medium, .page-thm.bg.s-medium { opacity: .22; } .chat-thm.bg.s-strong, .page-thm.bg.s-strong { opacity: .36; }
.chat-thm.frame.s-faint, .page-thm.frame.s-faint { opacity: .42; } .chat-thm.frame.s-medium, .page-thm.frame.s-medium { opacity: .68; } .chat-thm.frame.s-strong, .page-thm.frame.s-strong { opacity: .95; }
.chat-thm[hidden], .page-thm[hidden] { display: none; }
.thmstr { margin: 4px 0 12px; }
.thmh { margin: 16px 0 6px; font-size: 15px; }
.thmgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.thm { border: 2px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 4px; cursor: pointer; color: var(--text); display: grid; gap: 4px; text-align: center; }
.thm.on { border-color: var(--plat); box-shadow: 0 0 0 2px color-mix(in srgb, var(--plat) 35%, transparent); }
.thm small { font-size: 12px; line-height: 1.2; }
.thm-img { display: block; aspect-ratio: 9 / 14; border-radius: 8px; background-color: var(--bg); background-size: cover; background-position: center; }
.thm-img.frame { background-size: 100% 100%; }
.thm-img.none { background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 8px, var(--surface-2) 8px, var(--surface-2) 16px); }
/* date dividers with the month's decor line */
.cday { display: grid; justify-items: center; gap: 2px; margin: 10px 0 2px; pointer-events: none; }
.cday img { width: min(320px, 70%); height: 22px; object-fit: contain; opacity: .9; }
.cday span { font-size: 12px; font-weight: 700; color: var(--muted); background: color-mix(in srgb, var(--bg) 70%, transparent); padding: 1px 10px; border-radius: 999px; }
/* badges */
.mbadge { display: inline-block; font-size: 10px; font-weight: 800; line-height: 1; padding: 3px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; letter-spacing: .02em; }
.mbadge.host { background: linear-gradient(135deg, #f7d774, #d19a1e); color: #2b1d00; }
.mbadge.mod { background: var(--blue); color: #fff; }
.mbadge.plat { background: color-mix(in srgb, var(--plat) 22%, transparent); padding: 2px 4px; }
.mbadge.legacy { background: #7c4dff; color: #fff; }
.pbadge { width: 26px; height: 26px; object-fit: contain; vertical-align: middle; margin-right: 3px; }
/* text bits */
.ment { color: var(--plat); font-weight: 700; }
.nchip { display: inline; border: 1px dashed color-mix(in srgb, var(--plat) 70%, transparent); background: color-mix(in srgb, var(--plat) 10%, transparent); color: inherit; font: inherit; font-weight: 700; padding: 0 4px; border-radius: 6px; cursor: pointer; letter-spacing: .03em; }
.nchip:hover, .nchip:focus-visible { background: color-mix(in srgb, var(--plat) 22%, transparent); }
.nchip-big { font-size: 44px; font-weight: 800; text-align: center; letter-spacing: .12em; margin: 4px 0 8px; font-family: var(--mono); }
.chdr { display: block; width: min(220px, 70%); height: auto; margin: 2px 0 6px; }
/* stickers with motion (Reactions pack) */
.cstk.sm { width: 96px; height: 96px; }
.cstk { object-fit: contain; }
.cstk.mo { animation: nnPop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.cstk.mo1 { animation-name: nnBounce; animation-duration: .9s; } .cstk.mo2 { animation-name: nnWiggle; animation-duration: .8s; } .cstk.mo3 { animation-name: nnPulse; animation-duration: .9s; }
.cstk.mo.play { animation-iteration-count: 2; }
@keyframes nnPop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes nnBounce { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-18px); } 50% { transform: translateY(0); } 70% { transform: translateY(-8px); } }
@keyframes nnWiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-10deg); } 40% { transform: rotate(9deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
@keyframes nnPulse { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.18); } 60% { transform: scale(.95); } }
@media (prefers-reduced-motion: reduce) { .cstk.mo { animation: none !important; } }
/* sticker + emoji pickers */
.stktabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 8px; scrollbar-width: thin; }
.stktabs button { flex: 0 0 auto; display: grid; justify-items: center; gap: 1px; border: 0; background: transparent; color: var(--muted); padding: 6px 8px; border-radius: 10px; cursor: pointer; }
.stktabs button span { font-size: 22px; line-height: 1; }
.stktabs button small { font-size: 11px; white-space: nowrap; }
.stktabs button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 -2px 0 var(--plat); }
.stkbody { max-height: 56dvh; overflow-y: auto; }
.stkh { margin: 8px 2px 4px; font-size: 14px; }
.stkgrid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; padding: 2px; }
.stkgrid2 button { border: 2px solid transparent; background: transparent; cursor: pointer; padding: 4px; border-radius: 12px; }
.stkgrid2 button:hover, .stkgrid2 button:focus-visible { background: var(--surface-2); }
.stkgrid2 button.on { border-color: var(--plat); background: var(--surface-2); }
.stkgrid2 .stk { aspect-ratio: 1; object-fit: contain; }
.pbgrid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.stkseas { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.stkseas button { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 5px 10px; font-size: 13px; cursor: pointer; }
.stkseas button[aria-pressed="true"] { border-color: var(--plat); background: color-mix(in srgb, var(--plat) 18%, transparent); }
.qstkbtn { grid-column: 1 / -1; margin-top: 6px; }
.qstkbtn .btn { width: 100%; font-size: 15px; }
.emogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 2px; max-height: 50dvh; overflow-y: auto; }
.emogrid button { font-size: 28px; line-height: 1; border: 0; background: transparent; cursor: pointer; padding: 6px 0; border-radius: 10px; }
.emogrid button:hover { background: var(--surface-2); }
/* @mention suggestions */
.mentlist { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; }
.mentlist[hidden] { display: none; }
.mentlist button { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 6px 12px; font-size: 14px; cursor: pointer; }
.chat-ment { padding: 6px 12px; background: var(--surface); border-top: 1px solid var(--line); }
/* typing + online */
.chat-typing { padding: 3px 14px; font-size: 13px; color: var(--muted); background: color-mix(in srgb, var(--bg) 80%, transparent); }
.chat-typing[hidden] { display: none; }
.tdots { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 4px; }
.tdots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: nnDot 1.2s infinite; }
.tdots i:nth-child(2) { animation-delay: .2s; } .tdots i:nth-child(3) { animation-delay: .4s; }
@keyframes nnDot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.ondot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; margin-right: 5px; vertical-align: 0; box-shadow: 0 0 6px #2ecc71; }
/* bell, unread and nav badges */
.hubhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.icon-btn.bell { position: relative; font-size: 19px; }
.icon-btn.bell[data-n]:not([data-n=""])::after { content: attr(data-n); position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff4d6d; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.nbadge { display: inline-block; min-width: 17px; height: 17px; padding: 0 4px; margin-left: 4px; border-radius: 999px; background: #ff4d6d; color: #fff; font-size: 10px; font-weight: 800; line-height: 17px; text-align: center; font-style: normal; }
#tabbar a { position: relative; }
#tabbar a .nbadge { position: absolute; top: 2px; left: 55%; margin: 0; }
.tag.nb { background: #ff4d6d; color: #fff; border-color: #ff4d6d; }
.chtime { display: grid; justify-items: end; gap: 3px; }
.ubadge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ff4d6d; color: #fff; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; }
.chrow.unread strong { font-weight: 800; }
.nitem { display: grid; gap: 2px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); padding: 10px 4px; cursor: pointer; font-size: 15px; }
.nitem.new { background: color-mix(in srgb, var(--plat) 9%, transparent); }
.nitem > small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* polls */
.cpoll { min-width: min(280px, 70vw); display: grid; gap: 6px; margin: 2px 0; }
.cpoll-q { font-weight: 800; font-size: 15px; }
.cpoll-o { position: relative; display: flex; justify-content: space-between; gap: 8px; align-items: center; overflow: hidden; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 10px; padding: 9px 10px; font-size: 14px; cursor: pointer; text-align: left; }
.cpoll-o .bar { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--plat) 22%, transparent); transition: width .4s; }
.cpoll-o .t, .cpoll-o .n { position: relative; }
.cpoll-o .n { font-weight: 700; font-size: 13px; }
.cpoll-o.on { border-color: var(--plat); }
.cpoll-o:disabled { cursor: default; }
.cpoll-f { font-size: 12px; }
.pollform .field { margin-bottom: 8px; }
/* comment threads */
.ccomment.reply { margin-left: 22px; border-left: 2px solid var(--line); padding-left: 10px; }
.ccacts { display: flex; gap: 2px; flex-wrap: wrap; }
.ccform { display: grid; gap: 4px; margin-top: 8px; }
.ccrow { display: flex; gap: 6px; align-items: center; }
.ccrow input { flex: 1; min-width: 0; }
.ccto { font-size: 13px; color: var(--muted); }
.ccto[hidden] { display: none; }
.btn.dim { opacity: .6; }
.cpost.flash { outline: 2px solid var(--plat); }
.cmsg.pollmsg { min-width: min(300px, 80%); }
.nbadge.dot { min-width: 9px; width: 9px; height: 9px; padding: 0; }
details.modlinks { display: inline; }
details.modlinks > summary { list-style: none; display: inline; cursor: pointer; }
details.modlinks > summary::-webkit-details-marker { display: none; }
details.modlinks[open] { display: block; width: 100%; }

/* ── Game Room ───────────────────────────────────────────────── */
.ghead { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.gwal { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.gwal > span, .gwal > a { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--text); text-decoration: none; }
.gnote { margin-top: 18px; }
.gok { border-color: var(--plat); }
.gcheck { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gcheck > div:first-child { display: grid; flex: 1; min-width: 160px; }
.gstreak { display: flex; gap: 5px; }
.gstreak i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); }
.gstreak i.on { background: var(--plat); border-color: var(--plat); box-shadow: 0 0 8px var(--plat); }
.gsec { font-size: 18px; margin: 22px 0 10px; display: flex; align-items: center; gap: 8px; }
.gtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gtile { position: relative; display: grid; gap: 4px; padding: 14px; border-radius: 16px; text-decoration: none; color: #fff; min-height: 150px; align-content: end;
  background: linear-gradient(160deg, #1f4fd6, #0b1430 70%); border: 1px solid color-mix(in srgb, var(--plat) 40%, transparent); overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.gtile:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(56,217,245,.25); }
.gtile .gt-ic { font-size: 46px; line-height: 1; position: absolute; top: 12px; right: 12px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.gtile strong { font-size: 17px; } .gtile small { color: #cfe3ff; font-size: 12px; } .gtile em { font-style: normal; font-size: 11px; font-weight: 800; color: #9ff3ff; }
.gtile.slot-pick3 { background: linear-gradient(160deg, #0e7490, #071a2b 70%); }
.gtile.slot-boo { background: linear-gradient(160deg, #7c3aed, #1a0b2e 70%); }
.gtile.slot-classic { background: linear-gradient(160deg, #be123c, #1a0710 70%); }
.gtile.g-bingo { background: linear-gradient(160deg, #0f766e, #05201d 70%); } .gtile.g-wheel { background: linear-gradient(160deg, #5b2a9e, #140a26 70%); }
.gtile.g-mirror { background: linear-gradient(160deg, #1d4ed8, #08132e 70%); } .gtile.g-pair { background: linear-gradient(160deg, #4338ca, #0e0b2b 70%); } .gtile.g-sum { background: linear-gradient(160deg, #0369a1, #061626 70%); }
.gbucks { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-top: 16px; }
.gbucks > span:first-child { font-size: 32px; } .gbucks > div { display: grid; flex: 1; }
/* slot machine */
.slotbox { position: relative; max-width: 460px; margin: 0 auto; display: grid; gap: 12px; justify-items: center; padding: 16px; border-radius: 22px;
  background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--plat) 18%, transparent), transparent 60%), var(--surface); border: 1px solid var(--line); overflow: hidden; }
.gjack { display: grid; justify-items: center; font-weight: 800; letter-spacing: .12em; font-size: 13px; color: var(--muted); }
.gjack b { font-size: 30px; letter-spacing: .02em; color: var(--plat); text-shadow: 0 0 14px color-mix(in srgb, var(--plat) 60%, transparent); }
.gjack small { font-weight: 600; letter-spacing: 0; font-size: 11px; }
.reelwin { --cell: 96px; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; width: 100%; border-radius: 18px; background: #04060c; isolation: isolate; }
.reelwin::before { content: ""; position: absolute; inset: -3px; border-radius: 21px; z-index: -1; background: conic-gradient(from var(--ang, 0deg), #38d9f5, #5b8cff, #a66bff, #ff4d6d, #38d9f5); opacity: .35; }
.reelwin.spinning::before { opacity: 1; animation: nnRun 1.1s linear infinite; }
.reelwin.won::before { opacity: 1; animation: nnRun .6s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes nnRun { to { --ang: 360deg; } }
.reel { height: calc(var(--cell) * 3); overflow: hidden; border-radius: 12px; background: linear-gradient(#0b1020, #141c33 50%, #0b1020); position: relative; }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(4,6,12,.75), transparent 28%, transparent 72%, rgba(4,6,12,.75)); }
.strip { will-change: transform; }
.strip.blur { filter: blur(2.5px); }
.cell { height: var(--cell); display: grid; place-items: center; }
.cell img { width: 78%; height: 78%; object-fit: contain; }
.gsym { font-size: 54px; line-height: 1; }
.gsym.gbar { font-size: 22px; font-weight: 900; color: #fff; background: #111; border: 3px solid #e5e7eb; border-radius: 8px; padding: 4px 8px; letter-spacing: .08em; }
.gsym.seven { font-size: 64px; font-weight: 900; color: #ff2d55; text-shadow: 0 0 10px #ff2d55, 2px 2px 0 #fff; font-family: Georgia, serif; }
.payline { position: absolute; left: 4px; right: 4px; top: 50%; height: calc(var(--cell) + 4px); transform: translateY(-50%); border: 2px solid color-mix(in srgb, var(--plat) 70%, transparent); border-radius: 12px; pointer-events: none; box-shadow: 0 0 12px color-mix(in srgb, var(--plat) 40%, transparent); }
.reelwin.won .payline { border-color: #2ecc71; box-shadow: 0 0 22px #2ecc71; }
.reelwin.near .payline { border-color: #ff9f1c; }
.gball { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; font-size: 30px; font-weight: 900; color: #0b1020;
  background: radial-gradient(circle at 35% 30%, #fff, #dfe8ff 40%, #9fb6e8); box-shadow: inset -4px -6px 10px rgba(0,0,0,.25), 0 3px 8px rgba(0,0,0,.4); border: 4px solid var(--ballc, #38d9f5); }
.gball.b0 { --ballc: #38d9f5; } .gball.b1 { --ballc: #5b8cff; } .gball.b2 { --ballc: #a66bff; } .gball.b3 { --ballc: #ff4d6d; } .gball.b4 { --ballc: #2ecc71; }
.gball.b5 { --ballc: #0ea5e9; } .gball.b6 { --ballc: #8b5cf6; } .gball.b7 { --ballc: #f43f5e; } .gball.b8 { --ballc: #14b8a6; } .gball.b9 { --ballc: #6366f1; }
.gmsg { min-height: 28px; font-size: 18px; text-align: center; }
.gbig { font-size: 26px; color: #2ecc71; text-shadow: 0 0 12px #2ecc71; animation: nnPulse .8s ease 3; display: inline-block; }
.gbet { display: flex; gap: 6px; align-items: center; }
.gbet span { color: var(--muted); font-size: 14px; margin-right: 4px; }
.gbet button { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 6px 12px; font-weight: 800; cursor: pointer; }
.gbet button[aria-pressed="true"] { background: var(--plat); color: #001; border-color: var(--plat); }
.gspin { min-width: 200px; font-size: 22px; font-weight: 900; letter-spacing: .12em; padding: 14px 28px; border-radius: 999px; box-shadow: 0 6px 20px color-mix(in srgb, var(--blue) 45%, transparent); }
.gextra { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.gpays { list-style: none; padding: 0; display: grid; gap: 8px; }
.gpayrow { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; }
.gpayrow img { width: 34px; height: 34px; object-fit: contain; } .gpayrow .gsym { font-size: 26px; } .gpayrow .gsym.seven { font-size: 30px; } .gpayrow .gsym.gbar { font-size: 11px; padding: 2px 4px; border-width: 2px; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: nnFall 2s ease-in forwards; }
@keyframes nnFall { to { transform: translateY(560px) rotate(720deg); opacity: 0; } }
/* bingo */
#bCard { position: relative; }
.bhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.bbingo { text-align: center; font-size: 34px; font-weight: 900; letter-spacing: .12em; color: #2ecc71; text-shadow: 0 0 16px #2ecc71; animation: nnPulse 1s ease 3; }
.bgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 460px; margin: 0 auto; }
.bletters { display: contents; } .bletters b { text-align: center; font-size: 26px; font-weight: 900; color: var(--plat); }
.bcell { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; font-weight: 800; font-size: 18px; font-family: var(--mono); }
.bcell small { font-size: 9px; font-weight: 700; color: var(--muted); font-family: inherit; }
.bcell.on::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, #a66bff 70%, transparent), color-mix(in srgb, #a66bff 35%, transparent) 70%, transparent 72%); z-index: 0; }
.bcell > * { position: relative; z-index: 1; }
.bcell.free { color: var(--plat); font-size: 24px; }
.bcell.line { border-color: #2ecc71; box-shadow: 0 0 10px color-mix(in srgb, #2ecc71 60%, transparent); }
/* spin a real draw */
.wheelbox { position: relative; max-width: 340px; margin: 10px auto; }
.wpointer { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 2; color: #ff4d6d; font-size: 34px; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.wheel { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 18px rgba(56,217,245,.3)); }
#wSpin { display: block; margin: 12px auto; }
.wres { text-align: center; display: grid; gap: 8px; justify-items: center; }
.wdate { font-size: 20px; font-weight: 800; }
.wballs { display: flex; gap: 10px; } .wballs .gball { animation: nnPop .5s cubic-bezier(.2,1.6,.4,1) both; }
.wfacts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; } .wfacts span { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 13px; }
/* skill games */
.skintro { text-align: center; max-width: 520px; margin: 0 auto; } .sk-ic { font-size: 60px; } .skintro ul { text-align: left; display: inline-block; }
.sktop { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.sktimer { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin: 8px 0 12px; }
.sktimer i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ff4d6d, #ffb347 30%, var(--plat) 60%); transition: width .2s linear; }
.skcard { text-align: center; max-width: 520px; margin: 0 auto; }
.skprompt { font-size: 22px; font-weight: 800; margin: 8px 0 14px; }
.skopts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.skopt { font-size: 24px; font-weight: 800; font-family: var(--mono); letter-spacing: .08em; padding: 16px 8px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer; }
.skopt:hover { border-color: var(--plat); } .skopt.picked { background: var(--plat); color: #001; border-color: var(--plat); }
.skdone { position: relative; text-align: center; max-width: 560px; margin: 0 auto; overflow: hidden; }
.skscore { font-size: 54px; font-weight: 900; color: var(--plat); }
.skbucks { font-size: 22px; font-weight: 800; color: #2ecc71; margin: 6px 0; }
.skreview { text-align: left; font-size: 14px; display: grid; gap: 4px; } .skreview li.ok::marker { color: #2ecc71; } .skreview li.no { color: var(--muted); }
/* bucks */
.bkbal { display: flex; align-items: center; gap: 14px; } .bkbal > span { font-size: 44px; } .bknum { font-size: 40px; font-weight: 900; color: var(--plat); line-height: 1; }
.bkopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.bkopt { display: grid; gap: 6px; } .bkopt > span { font-size: 22px; font-weight: 800; color: var(--plat); }
.bkcodes { display: grid; gap: 8px; }
.bkcode { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .bkcode .mono { font-size: 18px; font-weight: 800; } .bkcode small { flex: 1; color: var(--muted); } .bkcode.dim { opacity: .55; }
.bkhist > div { display: flex; justify-content: space-between; padding: 7px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.bkhist .pos { color: #2ecc71; } .bkhist .neg { color: #ff4d6d; }
@media (max-width: 420px) { .reelwin { --cell: 84px; } .gsym { font-size: 46px; } .gball { width: 54px; height: 54px; font-size: 26px; } .skopt { font-size: 20px; } }
/* Game Room v2 */
.agegate { text-align: center; max-width: 480px; margin: 20px auto; } .agegate .check { justify-content: center; }
.gseg { flex-wrap: wrap; margin: 4px 0 8px; }
.gseg button:disabled { opacity: .45; cursor: not-allowed; }
.gtile.g-triad { background: linear-gradient(160deg, #6d28d9, #140b2e 70%); } .gtile.g-tetra { background: linear-gradient(160deg, #0f766e, #041d1a 70%); }
.gbadges { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.gbadge { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: 26px; filter: grayscale(1); opacity: .45; text-align: center; }
.gbadge small { font-size: 10.5px; line-height: 1.2; } .gbadge.on { filter: none; opacity: 1; border-color: var(--plat); }
/* bingo hall + builder */
.ticker { display: flex; align-items: center; gap: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; margin: 6px 0 12px; background: var(--surface-2); font-size: 13px; }
.ticker:empty { display: none; }
.tk-l { font-weight: 800; color: var(--plat); flex: none; }
.tk-run { display: flex; gap: 16px; white-space: nowrap; animation: nnTick 60s linear infinite; }
@keyframes nnTick { to { transform: translateX(-50%); } }
.bhlist { display: grid; gap: 8px; }
.bhcard { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; color: var(--text); }
.bhcard > div:first-child { display: grid; } .bhcard.away { border-color: var(--plat); box-shadow: 0 0 0 1px var(--plat); }
.bhtags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.bbuild .field-label { display: block; font-weight: 700; margin-bottom: 4px; }
.bbuild input[type=date], .bbuild input[type=number] { margin-top: 6px; }
.bbstates { display: flex; flex-wrap: wrap; gap: 6px; max-height: 180px; overflow-y: auto; }
.bbstates .chip { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; }
.bbprefs { display: grid; gap: 8px; padding: 10px; border: 1px dashed var(--line); border-radius: 12px; margin-bottom: 10px; }
.bbprefs label { display: grid; gap: 2px; font-size: 14px; } .bbprefs .check { display: flex; }
.bmeter { margin-top: 14px; padding: 12px; border-radius: 14px; border: 1px solid var(--plat); background: color-mix(in srgb, var(--plat) 8%, transparent); }
.bmeter h3 { margin: 0 0 8px; } .bmeter.warn { border-color: #ff9f1c; background: color-mix(in srgb, #ff9f1c 10%, transparent); }
.bm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.bm-grid div { display: grid; text-align: center; } .bm-grid b { font-size: 22px; color: var(--plat); } .bm-grid small { font-size: 11px; color: var(--muted); }
.bm-warn { font-weight: 700; color: #ff9f1c; margin: 8px 0 0; }
.bgrid.s4 { grid-template-columns: repeat(4, 1fr); max-width: 400px; } .bgrid.s3 { grid-template-columns: repeat(3, 1fr); max-width: 330px; }
.bcell.small { font-size: 12px; text-align: center; line-height: 1.1; padding: 2px; }
.bcell.away { border-color: var(--plat); border-style: dashed; }
.baway { text-align: center; font-weight: 800; color: var(--plat); font-size: 20px; margin: 6px 0; }
/* spin */
.gball.fb { --ballc: #a66bff; background: radial-gradient(circle at 35% 30%, #fff, #e9d5ff 40%, #a66bff); }
.wres.big { border-color: #2ecc71; box-shadow: 0 0 18px color-mix(in srgb, #2ecc71 50%, transparent); }
.wcols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.wcol { display: grid; gap: 4px; } .wcol.done { border-color: #2ecc71; }
.wbar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; } .wbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--plat)); }
.wguess { text-align: center; } .gok2 { color: #2ecc71; font-weight: 700; } .gno { color: #ff4d6d; font-weight: 700; }
/* detectives + sum sprint */
.skopts-form { text-align: left; margin: 8px 0; }
.sknum { font-size: 40px; font-weight: 900; letter-spacing: .14em; font-family: var(--mono); margin-bottom: 10px; }
.bnum { display: flex; justify-content: center; gap: 8px; margin: 6px 0 12px; }
.bdig { width: 58px; height: 64px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface-2); color: var(--text); font-size: 30px; font-weight: 900; font-family: var(--mono); cursor: pointer; }
.bdig.used { opacity: .3; border-color: var(--plat); }
.bslots { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; }
.bslot { width: 50px; height: 56px; border-radius: 10px; border: 2px dashed var(--plat); display: grid; place-items: center; font-size: 26px; font-weight: 900; font-family: var(--mono); }
.tform { display: flex; gap: 8px; justify-content: center; } .tform input { width: 140px; font-size: 28px; text-align: center; font-family: var(--mono); }
/* memory flip */
.flipinfo { display: flex; gap: 16px; justify-content: center; margin: 6px 0; font-size: 15px; }
.flipgrid { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); max-width: 520px; margin: 8px auto; }
.flipgrid.c20 { grid-template-columns: repeat(5, 1fr); } .flipgrid.c10 { grid-template-columns: repeat(5, 1fr); }
.fcard { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; border: 0; padding: 0; cursor: pointer; perspective: 600px; background: transparent; }
.fcard span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; backface-visibility: hidden; transition: transform .35s; font-weight: 900; }
.fback { background: linear-gradient(150deg, #1f4fd6, #0b1430); color: #9ff3ff; font-size: 20px; letter-spacing: .1em; border: 2px solid color-mix(in srgb, var(--plat) 50%, transparent); }
.fface { background: var(--surface); border: 2px solid var(--plat); color: var(--text); font-size: 26px; font-family: var(--mono); transform: rotateY(180deg); }
.fcard.up .fback { transform: rotateY(180deg); } .fcard.up .fface { transform: rotateY(0); }
.fcard.done .fface { border-color: #2ecc71; background: color-mix(in srgb, #2ecc71 15%, var(--surface)); }
.fhint { text-align: center; min-height: 22px; color: var(--plat); font-weight: 700; }
@media (max-width: 420px) { .fface { font-size: 20px; } .bdig { width: 50px; height: 56px; font-size: 26px; } }
/* Game Room art (v3) */
.gtile.gimg { background-size: cover; background-position: center; min-height: 0; aspect-ratio: 1; padding: 8px; align-content: end; justify-items: center; border-color: color-mix(in srgb, #ffd166 45%, transparent); }
.gtile.gimg em, .gtile.gimg small { background: rgba(4,6,12,.78); border-radius: 999px; padding: 3px 10px; text-align: center; backdrop-filter: blur(2px); }
.gtile.gimg small { font-size: 11px; color: #fff; }
.gtile.gimg.gseason::after { content: "October only"; position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 800; background: #7c3aed; color: #fff; border-radius: 999px; padding: 2px 8px; }
.slotbox.gbgimg { background: linear-gradient(rgba(4,6,12,.35), rgba(4,6,12,.72)), var(--slotbg) center / cover no-repeat, #04060c; border-color: color-mix(in srgb, #ffd166 40%, transparent); }
.slotbox.gbgimg .gjack, .slotbox.gbgimg .gmsg, .slotbox.gbgimg .gbet span, .slotbox.gbgimg .gextra .muted { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.slotbox.gbgimg .gjack b { color: #ffd166; text-shadow: 0 0 14px rgba(255,209,102,.6); }
.slotbox.gbgimg .clink { color: #ffe9a8; }
.slotbox.gbgimg .reelwin { background: rgba(4,6,12,.55); }
.slotbox.gbgimg .reel { background: linear-gradient(rgba(11,16,32,.72), rgba(20,28,51,.6) 50%, rgba(11,16,32,.72)); }
.reelwin.r4 { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.reelwin.r4 .gball { width: 56px; height: 56px; font-size: 26px; }
.cell img { user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.gpayrow img { width: 34px; height: 34px; }
@media (max-width: 420px) { .reelwin.r4 .gball { width: 46px; height: 46px; font-size: 22px; } }
.gtiles:has(.gimg) { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.gtile.gimg { align-content: start; justify-items: end; padding: 6px; border-radius: 14px; }
.gtile.gimg small { display: none; }
.gtile.gimg em { font-size: 10px; padding: 2px 7px; }
.gtile.gimg.gseason::after { top: auto; bottom: 6px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.gboost { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; font-weight: 900; font-size: 13px; color: #1a1300; background: linear-gradient(90deg, #ffd166, #ff9f1c, #ffd166); background-size: 200% 100%; animation: nnBoost .9s linear infinite, nnPop .5s cubic-bezier(.2,1.6,.4,1) both; box-shadow: 0 0 14px rgba(255,159,28,.7); }
@keyframes nnBoost { to { background-position: -200% 0; } }
.gpays .gpayrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; max-width: 100%; }
.legacy-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); border-color: color-mix(in srgb, var(--plat) 45%, var(--line)); }
.legacy-link img { width: 44px; height: 44px; border-radius: 10px; flex: 0 0 auto; }
.legacy-link div { display: grid; gap: 2px; } .legacy-link strong { color: var(--plat); } .legacy-link .muted { font-size: 13px; }
.mtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 12px; }
.mtile { display: grid; gap: 2px; margin: 0; } .mtile b { font-size: 26px; color: var(--plat); } .mtile small { color: var(--muted); }
.btn.sm { padding: 5px 12px; font-size: 13px; min-height: 0; }
