/* ==========================================================================
   Gridiron Intel — design system
   ========================================================================== */
:root {
  --bg: #050a07;
  --bg-2: #08100b;
  --surface: #0d1611;
  --surface-2: #132019;
  --surface-3: #1a2a21;
  --border: rgba(148, 163, 184, 0.11);
  --border-2: rgba(148, 163, 184, 0.2);
  --text: #e9eef7;
  --text-2: #b8c2d4;
  --muted: #8692a8;
  --faint: #5a6579;
  --accent: #22c55e;
  --accent-2: #a3e635;
  --accent-soft: rgba(34, 197, 94, 0.14);
  --gold: #f5c04a;
  --pos: #22c55e;
  --pos-soft: rgba(34, 197, 94, 0.14);
  --neg: #f43f5e;
  --neg-soft: rgba(244, 63, 94, 0.14);
  --warn: #f59e0b;
  --live: #ff3b4e;
  --kalshi: #00d395;
  --poly: #2e6cff;
  --book: #f5c04a;
  --model: #a855f7;
  --fpi: #ff7a45;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --radius: 14px;
  --radius-sm: 9px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --sidebar: 236px;
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #f3f5f9;
  --bg-2: #eceff5;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --surface-3: #eef1f6;
  --border: rgba(15, 23, 42, 0.08);
  --border-2: rgba(15, 23, 42, 0.15);
  --text: #0b1220;
  --text-2: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --accent: #15803d;
  --accent-2: #4d7c0f;
  --accent-soft: rgba(21, 128, 61, 0.1);
  --gold: #c98a00;
  --pos: #16a34a;
  --pos-soft: rgba(22, 163, 74, 0.1);
  --neg: #e11d48;
  --neg-soft: rgba(225, 29, 72, 0.09);
  --kalshi: #00a676;
  --poly: #2e6cff;
  --book: #c98a00;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 14.5px/1.55 var(--font);
  font-feature-settings: 'tnum' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
img.logo { object-fit: contain; flex: none; }
.logo-ph { display: inline-block; border-radius: 50%; background: var(--surface-3); flex: none; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------------------- layout --- */
.app { display: flex; min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar); z-index: 40;
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 14px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-right: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 18px; }
.brand-mark { width: 36px; height: 36px; filter: drop-shadow(0 6px 14px rgba(91, 140, 255, 0.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 0.95; font-family: var(--display); letter-spacing: 0.06em; }
.brand-text b { font-size: 21px; font-weight: 800; }
.brand-text i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.42em; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  color: var(--muted); font-weight: 550; transition: background 0.15s, color 0.15s;
}
.nav a svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--accent-soft); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.nav a.active svg { color: var(--accent); }
.sidebar-foot { margin-top: auto; padding: 8px; }
.src-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.src { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.src .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.src.ok .dot { background: var(--pos); box-shadow: 0 0 0 3px var(--pos-soft); }
.src.err .dot { background: var(--neg); }
.fine { font-size: 11px; color: var(--faint); margin: 0; line-height: 1.4; }

.main { flex: 1; min-width: 0; margin-left: var(--sidebar); display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 26px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}
.icon-btn.menu-btn { display: none; }
.search { position: relative; flex: 1; max-width: 460px; display: flex; align-items: center; }
.search > svg { position: absolute; left: 12px; width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input {
  width: 100%; height: 40px; padding: 0 40px 0 38px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); font: inherit; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search kbd { position: absolute; right: 10px; font: 600 11px var(--font); color: var(--faint); border: 1px solid var(--border-2); border-radius: 5px; padding: 1px 6px; }
.search-results {
  position: absolute; top: 46px; left: 0; right: 0; display: none; max-height: 420px; overflow: auto;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 12px; box-shadow: var(--shadow); padding: 6px;
}
.search-results.open { display: block; }
.search-results a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.search-results a:hover, .search-results a.hl { background: var(--surface-2); }
.search-results small { color: var(--muted); margin-left: auto; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.updated { color: var(--faint); font-size: 12px; white-space: nowrap; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); transition: background 0.15s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.spin svg { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ticker */
.ticker { border-bottom: 1px solid var(--border); background: var(--bg-2); overflow: hidden; }
.ticker:empty, .ticker.hidden { display: none; }
.ticker-track { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.ticker-track::-webkit-scrollbar { display: none; }
.tick {
  flex: none; display: grid; grid-template-columns: auto auto; gap: 1px 10px; align-items: center;
  padding: 8px 16px; border-right: 1px solid var(--border); font-size: 12px; min-width: 150px;
  transition: background 0.15s;
}
.tick:hover { background: var(--surface); }
.tick .st { grid-column: 1 / -1; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tick .st.live { color: var(--live); }
.tick .tm { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.tick .sc { text-align: right; font-weight: 700; font-family: var(--display); font-size: 15px; }
.tick .lose { color: var(--muted); font-weight: 500; }

.view { padding: 34px 36px 60px; max-width: 1500px; width: 100%; margin: 0 auto; outline: none; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------- primitives --- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.page-head h1 { margin: 0; font: 700 34px/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.page-head p { margin: 10px 0 0; color: var(--muted); max-width: 720px; font-size: 15px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
h2.sec { font: 700 19px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; margin: 0; display: flex; align-items: center; gap: 10px; }
h2.sec small { font: 500 12.5px var(--font); color: var(--muted); letter-spacing: 0; text-transform: none; }
h3 { margin: 0; font-size: 14px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); min-width: 0;
}
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 24px 16px; flex-wrap: wrap; }
.card-h h3 { font: 700 16px/1.1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.card-h h3::before { content: ''; width: 4px; height: 18px; border-radius: 3px; background: var(--hc, var(--accent)); flex: none; }
.card-h .sub { color: var(--muted); font-size: 12.5px; }
.card-explain { padding: 0 24px 16px; margin-top: -6px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card-b { padding: 4px 24px 24px; }
.card-b.flush { padding: 0; }
.divider { height: 1px; background: var(--border); margin: 0; border: 0; }

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layout-rail { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 30px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 26px; }
.row { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.gold { color: var(--gold); }
.mono { font-variant-numeric: tabular-nums; }
.b { font-weight: 700; }
.sm { font-size: 12px; }
.xs { font-size: 11px; }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.disp { font-family: var(--display); }
.mt { margin-top: 26px; }
.mt-s { margin-top: 12px; }
.mt-l { margin-top: 34px; }

.chip, .btn {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2); cursor: pointer;
  font-weight: 600; font-size: 12.5px; white-space: nowrap; transition: all 0.15s;
}
.chip:hover, .btn:hover { border-color: var(--border-2); color: var(--text); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .n { font-size: 11px; opacity: 0.65; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.scroll-x { overflow-x: auto; scrollbar-width: thin; }

select.select, input.input {
  height: 34px; padding: 0 12px; border-radius: 9px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); font: 600 12.5px var(--font); outline: none;
}
input.input { font-weight: 500; font-size: 14px; }
select.select:focus, input.input:focus { border-color: var(--accent); }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.seg button { border: 0; background: none; padding: 6px 13px; border-radius: 7px; font-weight: 600; font-size: 12.5px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
:root[data-theme='light'] .seg button.on { box-shadow: 0 1px 3px rgba(15,23,42,0.12); }

/* Tab bars never scroll: equal-width segments that always fit their space. */
.tabs {
  display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 4px; padding: 5px;
  margin-bottom: 32px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  max-width: calc(var(--n, 5) * 170px);
}
.tabs button {
  border: 0; background: none; padding: 11px 10px; border-radius: 10px; font-weight: 650; font-size: 13.5px; color: var(--muted);
  cursor: pointer; line-height: 1.2; text-align: center; min-width: 0; overflow-wrap: anywhere; transition: background .15s, color .15s;
}
.tabs button:hover { color: var(--text); background: var(--surface-2); }
.tabs button.on { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 18px -8px var(--accent); }
@media (max-width: 560px) {
  .tabs { gap: 2px; padding: 4px; }
  .tabs button { font-size: 12px; padding: 10px 4px; }
}

.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 8px; border-radius: 6px;
  font-size: 10.5px; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--surface-3); color: var(--text-2); white-space: nowrap;
}
.badge.live { background: rgba(255, 59, 78, 0.14); color: var(--live); }
.badge.pos { background: var(--pos-soft); color: var(--pos); }
.badge.neg { background: var(--neg-soft); color: var(--neg); }
.badge.acc { background: var(--accent-soft); color: var(--accent); }
.badge.gold { background: rgba(245, 192, 74, 0.14); color: var(--gold); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 59, 78, 0.6); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,78,.55); } 70% { box-shadow: 0 0 0 8px rgba(255,59,78,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,78,0); } }
.rk { font: 700 11px var(--font); color: var(--muted); min-width: 14px; }
.rk.top { color: var(--gold); }

.src-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--muted); padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, currentColor 13%, transparent); white-space: nowrap; }
.src-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.src-tag.book::before, .src-tag.kalshi::before, .src-tag.poly::before, .src-tag.model::before, .src-tag.fpi::before { width: 15px; height: 15px; border-radius: 4px; background: center / cover no-repeat; }
.src-tag.book::before { background-image: url(/img/brands/draftkings.png); background-color: #111; }
.src-tag.kalshi::before { background-image: url(/img/brands/kalshi.jpg); }
.src-tag.poly::before { background-image: url(/img/brands/polymarket.png); }
.src-tag.fpi::before { background-image: url(/img/brands/espn.png); }
.src-tag.model::before { background-image: url(/favicon.svg); }
.src-tag.book { color: var(--book); }
.src-tag.kalshi { color: var(--kalshi); }
.src-tag.poly { color: var(--poly); }
.src-tag.model { color: var(--model); }
.src-tag.fpi { color: var(--fpi); }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 36px; }
.kpi { padding: 20px 22px; position: relative; overflow: hidden; border-top: 3px solid var(--hc, var(--border)); }
.kpi .k { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kpi .v { font: 700 32px/1.1 var(--display); margin-top: 8px; color: var(--hc, var(--text)); display: flex; align-items: center; gap: 8px; }
.kpi .d { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.kpi::after { content: ''; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(var(--accent-soft), transparent 70%); }

/* tables */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
  text-align: left; font-size: 10.5px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
  padding: 14px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; position: sticky; top: 0; background: var(--surface);
}
.tbl th.sort { cursor: pointer; user-select: none; }
.tbl th.sort:hover { color: var(--text); }
.tbl th.sorted { color: var(--accent); }
.tbl td { padding: 15px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background 0.12s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .team-cell { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.tbl tr.clickable { cursor: pointer; }
.tbl.compact td, .tbl.compact th { padding: 10px 14px; }

/* bars */
.pbar { position: relative; height: 8px; border-radius: 99px; overflow: hidden; background: var(--surface-3); display: flex; }
.pbar > span { height: 100%; transition: width 0.5s ease; }
.meter { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.heat { display: inline-block; min-width: 46px; padding: 3px 7px; border-radius: 6px; text-align: right; font-weight: 650; }

/* ----------------------------------------------------------- game card --- */
.day-head { display: flex; align-items: center; gap: 14px; margin: 44px 0 18px; }
.day-head:first-child { margin-top: 0; }
.day-head h2 { margin: 0; font: 700 17px var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.day-head .line { flex: 1; height: 1px; background: var(--border); }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.gc {
  position: relative; display: flex; flex-direction: column; padding: 20px 22px 22px; cursor: pointer; overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s, box-shadow 0.18s;
}
.gc:hover { transform: translateY(-2px); border-color: var(--border-2); box-shadow: 0 18px 40px -20px rgba(0,0,0,.55); }
.gc::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55; transition: opacity .2s;
  background: radial-gradient(420px 160px at 0% 0%, color-mix(in srgb, var(--ca) 16%, transparent), transparent 70%),
              radial-gradient(420px 160px at 100% 100%, color-mix(in srgb, var(--ch) 14%, transparent), transparent 70%);
}
.gc:hover::after { opacity: 1; }
.gc > * { position: relative; z-index: 1; }
.gc::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--ca, var(--accent)) 0 50%, var(--ch, var(--accent-2)) 50% 100%); opacity: 0.85;
}
.gc.is-live { border-color: rgba(255, 59, 78, 0.35); }
.gc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 14px; min-height: 22px; }
.gc-top .st { display: flex; align-items: center; gap: 7px; }
.gc-top .st.live { color: var(--live); font-weight: 750; }
.gc-team { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px; padding: 8px 0; }
.gc-team .nm { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.gc-team .nm b { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-team .rec { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.gc-team .score { font: 700 26px/1 var(--display); min-width: 34px; text-align: right; }
.gc-team.lost .nm b, .gc-team.lost .score { color: var(--muted); font-weight: 600; }
.gc-team .poss { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 7px solid var(--gold); transform: rotate(90deg); display: inline-block; margin-left: 2px; }
.gc-team .proj { font-size: 12px; color: var(--muted); font-weight: 600; text-align: right; }
.gc-sit { font-size: 12px; color: var(--text-2); background: rgba(255, 59, 78, 0.08); border: 1px solid rgba(255, 59, 78, 0.2); border-radius: 9px; padding: 8px 12px; margin-top: 12px; display: flex; gap: 8px; align-items: center; }
.gc-sit .rz { color: var(--live); font-weight: 700; }
.gc-sit .b, .gc-sit .rz { white-space: nowrap; flex: none; }
.gc-sit .ellipsis { min-width: 0; }
.gc-odds { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.gc-odds > div { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; text-align: center; }
.gc-odds .l { font-size: 9.5px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.gc-odds .v { font-weight: 700; font-size: 14px; margin-top: 3px; white-space: nowrap; }
.gc-prob { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border-2); }
.gc-prob .lbls { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.gc-prob .lbls span { display: flex; align-items: center; gap: 5px; }
.gc-mk { display: flex; gap: 10px; margin-top: 9px; font-size: 11px; color: var(--muted); align-items: center; flex-wrap: wrap; }
.gc-mk b { color: var(--text-2); }
.edge-flag { position: absolute; top: 12px; right: 14px; }

/* rails */
.rail-item { display: flex; align-items: center; gap: 14px; padding: 15px 24px; border-top: 1px solid var(--border); transition: background 0.12s; }
.rail-item:hover { background: var(--surface-2); }
.rail-item .grow { flex: 1; min-width: 0; }
.rail-item .t { font-weight: 650; font-size: 13px; }
.rail-item .s { font-size: 11.5px; color: var(--muted); }
.news-item { display: flex; gap: 14px; padding: 15px 24px; border-top: 1px solid var(--border); }
.news-item img { width: 88px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; background: var(--surface-3); }
.news-item .t { font-weight: 650; font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .s { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.news-item:hover .t { color: var(--accent); }

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--border); margin-bottom: 30px;
  background: var(--surface);
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.17; filter: saturate(1.1); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--surface) 92%); }
.hero-glow { position: absolute; inset: 0; background:
  radial-gradient(60% 120% at 0% 50%, color-mix(in srgb, var(--ca) 30%, transparent), transparent 70%),
  radial-gradient(60% 120% at 100% 50%, color-mix(in srgb, var(--ch) 30%, transparent), transparent 70%); }
.hero-in { position: relative; padding: 26px 30px; }
.matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.mu-team { display: flex; align-items: center; gap: 18px; min-width: 0; }
.mu-team.home { flex-direction: row-reverse; text-align: right; }
.mu-team img.logo { filter: drop-shadow(0 10px 22px rgba(0,0,0,.45)); }
.mu-team .nm { font: 700 30px/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.mu-team .meta { color: var(--muted); font-size: 13px; margin-top: 6px; }
.mu-team .big { font: 800 64px/1 var(--display); min-width: 70px; }
.mu-team.lost .big { color: var(--muted); }
.mu-mid { text-align: center; min-width: 150px; }
.mu-mid .st { font: 700 14px var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mu-mid .st.live { color: var(--live); display: flex; align-items: center; justify-content: center; gap: 8px; }
.mu-mid .when { font: 700 22px var(--display); margin-top: 4px; }
.mu-mid .info { color: var(--muted); font-size: 12px; margin-top: 6px; }
.hero-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 12px; margin: 26px auto 0; padding-top: 22px; border-top: 1px solid var(--border); }
.hs-item { flex: 0 1 230px; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.hs-item:first-child { flex-basis: 320px; }
.hs-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.hs-ic .mi { margin: 0; width: 18px; height: 18px; opacity: 1; }
.hs-txt { min-width: 0; }
.hs-txt .k { font-size: 10.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hs-txt .v { font-weight: 700; font-size: 14px; margin-top: 2px; line-height: 1.3; }
.hs-txt .d { font-size: 12px; color: var(--muted); margin-top: 1px; }
.hs-txt .d .warn { color: var(--warn); }

.team-hero .hero-in { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.team-hero .nm { font: 800 44px/0.95 var(--display); text-transform: uppercase; }
.team-hero .meta { color: var(--text-2); margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.team-hero .stats { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.hstat { background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px; min-width: 104px; backdrop-filter: blur(6px); }
.hstat .k { font-size: 10.5px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hstat .v { font: 700 26px/1.1 var(--display); }
.hstat .d { font-size: 11px; color: var(--muted); }

/* ------------------------------------------------------- comparisons --- */
.cmp { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cmp-row .lbl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 10px; font-size: 12.5px; margin-bottom: 5px; }
.cmp-row .lbl span:nth-child(2) { text-align: center; }
.cmp-row .lbl b:last-child { text-align: right; }
.cmp-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: -4px; }
.cmp-head a { display: inline-flex; align-items: center; gap: 8px; font: 800 17px var(--display); letter-spacing: .04em; }
.cmp-head a b { color: color-mix(in srgb, currentColor 62%, var(--text)); }
.cmp-row .lbl span:nth-child(2) { color: var(--muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.cmp-row .lbl b { font-weight: 700; }
.cmp-bars { display: flex; gap: 4px; height: 7px; }
.cmp-bars span { border-radius: 99px; height: 100%; }
.cmp-bars span.dim { opacity: 0.35; }

.odds-board { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.odds-board th { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 750; padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.odds-board th:first-child { text-align: left; }
.odds-board td { padding: 18px 16px; text-align: center; border-bottom: 1px solid var(--border); font-weight: 650; white-space: nowrap; }
.odds-board td:first-child { text-align: left; }
.odds-board tr:last-child td { border-bottom: 0; }
.odds-board .sub { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.odds-board .best { color: var(--pos); }

.predictor { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.predictor .pct { font: 800 34px/1 var(--display); }
.predictor .pbar { height: 12px; }

.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stile { background: var(--surface-2); border-radius: 12px; padding: 16px 18px; border-left: 3px solid var(--tc, transparent); }
.stile .k { font-size: 10.5px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.stile .v { font: 700 24px/1.15 var(--display); margin-top: 6px; }
.stile .d { font-size: 12px; color: var(--muted); margin-top: 3px; }

.leader { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.leader:first-child { border-top: 0; }
.leader .hs { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-3); flex: none; border: 2px solid var(--border-2); }
.leader .cat { font-size: 10.5px; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }
.leader .nm { font-weight: 700; }
.leader .ln { font-size: 12px; color: var(--text-2); }

.play { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding: 15px 24px; border-top: 1px solid var(--border); }
.play .q { font: 700 12px var(--display); color: var(--muted); text-align: center; letter-spacing: 0.04em; }
.play .t { font-size: 13px; }
.play .t b { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.play .s { font: 700 16px var(--display); white-space: nowrap; }
.drive { border-top: 1px solid var(--border); }
.drive > summary { list-style: none; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 11px 18px; cursor: pointer; }
.drive > summary::-webkit-details-marker { display: none; }
.drive > summary:hover { background: var(--surface-2); }
.drive .res { font-weight: 700; font-size: 12px; }
.drive ol { margin: 0; padding: 4px 18px 12px 58px; font-size: 12.5px; color: var(--text-2); }
.drive li { padding: 3px 0; }
.drive li span { color: var(--muted); margin-right: 6px; font-size: 11px; }

/* chart */
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { fill: var(--muted); font: 600 10.5px var(--font); }
.chart .grid-l { stroke: var(--border); }
.chart .mid-l { stroke: var(--border-2); stroke-dasharray: 3 4; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* teams grid */
.conf-block { margin-bottom: 40px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.team-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; position: relative; overflow: hidden; transition: transform 0.15s, border-color 0.15s; }
.team-tile:hover { transform: translateY(-2px); border-color: var(--border-2); }
.team-tile::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tc); }
.team-tile .nm { font-weight: 700; font-size: 14px; }
.team-tile .s { font-size: 11.5px; color: var(--muted); }

/* futures */
.fut-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 70px 70px 64px; gap: 14px; align-items: center; padding: 14px 24px; border-top: 1px solid var(--border); font-size: 13px; }
.fut-row .nm { display: flex; align-items: center; gap: 9px; font-weight: 650; min-width: 0; }
.fut-row .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fut-head { font-size: 10.5px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); border-top: 0; padding-top: 0; }

/* tools */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.out-big { font: 800 40px/1 var(--display); }
.parlay-leg { display: grid; grid-template-columns: 1fr 40px; gap: 8px; margin-bottom: 8px; }

/* misc */
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.skel { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-card { height: 200px; }
.loader { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 60px; color: var(--muted); }
.loader::before { content: ''; width: 18px; height: 18px; border: 2px solid var(--border-2); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; }
.note { font-size: 12px; color: var(--muted); line-height: 1.5; }
.note b { color: var(--text-2); }
.info-i { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--border-2); font-size: 10px; color: var(--muted); cursor: help; font-weight: 700; }
.tooltip { position: fixed; z-index: 100; pointer-events: none; opacity: 0; transition: opacity 0.12s; max-width: min(300px, 92vw);
  background: var(--surface-3); color: var(--text); border: 1px solid var(--border-2); border-radius: 9px; padding: 8px 11px; font-size: 12px; box-shadow: var(--shadow); }
.tooltip.show { opacity: 1; }
.scrim { display: none; }
.err-box { padding: 30px; text-align: center; color: var(--muted); }
.err-box b { color: var(--neg); display: block; margin-bottom: 6px; }
.pill-group { display: flex; gap: 6px; flex-wrap: wrap; }
.wl { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; font-size: 10.5px; font-weight: 800; }
.wl.w { background: var(--pos-soft); color: var(--pos); }
.wl.l { background: var(--neg-soft); color: var(--neg); }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1280px) {
  .layout-rail { grid-template-columns: minmax(0, 1fr) 320px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .layout-rail { grid-template-columns: 1fr; }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.25s ease; box-shadow: 20px 0 60px rgba(0,0,0,.5); }
  .sidebar.open { transform: none; }
  .scrim.open { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(0,0,0,.45); }
  .main { margin-left: 0; }
  .icon-btn.menu-btn { display: grid; }
  .topbar { padding: 0 16px; }
  .view { padding: 18px 16px; }
  .updated { display: none; }
  .g-2, .g-3 { grid-template-columns: 1fr; }
  .matchup { grid-template-columns: 1fr; gap: 14px; }
  .mu-team, .mu-team.home { flex-direction: row; text-align: left; }
  .mu-team .big { margin-left: auto; font-size: 48px; }
  .mu-team img.logo { width: 56px; height: 56px; }
  .mu-team .nm { font-size: 24px; }
  .mu-mid { order: -1; }
  .hero-in { padding: 20px; }
  .team-hero .stats { margin-left: 0; }
  .team-hero .nm { font-size: 34px; }
  .page-head h1 { font-size: 28px; }
}
@media (max-width: 560px) {
  .games { grid-template-columns: 1fr; }
  .g-4 { grid-template-columns: 1fr; }
  .search kbd { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .fut-row { grid-template-columns: 22px minmax(0, 1fr) 56px 56px; }
  .fut-row > :nth-child(5) { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ------------------------------------------------- meaning system --- */
.legend-bar { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 14px 20px; margin-bottom: 30px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); }
.legend-bar span { display: inline-flex; align-items: center; gap: 8px; }
.legend-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.verdict { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.verdict.good { background: var(--pos-soft); color: var(--pos); }
.verdict.fair { background: var(--surface-3); color: var(--muted); }
.verdict.poor { background: var(--neg-soft); color: var(--neg); }
.verdict.upset { background: rgba(245, 192, 74, 0.15); color: var(--gold); }
.pick-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; font-weight: 750; background: var(--pos-soft); color: var(--text); }
.pick-pill.over { background: rgba(255, 122, 69, 0.15); }
.pick-pill.under { background: rgba(91, 140, 255, 0.15); }
.edge-meter { display: flex; align-items: center; gap: 10px; min-width: 130px; }
.edge-meter .meter { flex: 1; height: 8px; }
.edge-meter .meter span { background: var(--pos); }
.explain { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 32px; }
.explain > div { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--hc, var(--accent)); }
.explain b { display: block; font-size: 13.5px; margin-bottom: 4px; }
.explain p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.val-pos { color: var(--pos); font-weight: 700; }
.val-neg { color: var(--neg); font-weight: 700; }
.who-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 10px 0; }
.who-row .nums { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
@media (max-width: 900px) {
  .card-h { padding: 18px 18px 12px; }
  .card-b { padding: 4px 18px 20px; }
  .card-explain { padding: 0 18px 14px; }
  .tbl td { padding: 12px 14px; }
  .rail-item, .news-item, .play { padding: 13px 18px; }
  .who-row { grid-template-columns: 1fr; gap: 6px; }
  .day-head { margin: 34px 0 14px; }
}

/* platform marks */
.brand-ic { display: inline-block; width: var(--bs, 16px); height: var(--bs, 16px); border-radius: 4px; object-fit: cover; vertical-align: -3px; flex: none; }
img.brand-ic[src*="draftkings"] { background: #111; object-fit: contain; }
.explain b .brand-ic, th .brand-ic, .legend .brand-ic { margin-right: 6px; }
.explain b { display: flex; align-items: center; gap: 2px; }
th .brand-ic { width: 14px; height: 14px; vertical-align: -2px; }
.src .brand-ic { width: 16px; height: 16px; }
.brands-row { display: inline-flex; gap: 4px; margin-right: 6px; }
/* confidence meter (replaces stars) */
.conf { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 750; }
.conf .segs { display: inline-flex; gap: 3px; }
.conf .segs i { width: 14px; height: 7px; border-radius: 3px; background: var(--surface-3); }
.conf .segs i.on { background: var(--pos); }
.conf.c3 { color: var(--pos); } .conf.c2 { color: var(--gold); } .conf.c2 .segs i.on { background: var(--gold); } .conf.c1, .conf.c0 { color: var(--muted); } .conf.c1 .segs i.on { background: var(--muted); }
.duo { display: inline-flex; align-items: center; }
.duo img + img { margin-left: -6px; }
/* win probability chart */
.wp-wrap { position: relative; cursor: crosshair; touch-action: pan-y; }
.wp-team { display: flex; align-items: center; gap: 8px; font: 800 13px/1 var(--font); letter-spacing: .04em; padding: 4px 0 8px 40px; }
.wp-team.bottom { padding: 8px 0 0 40px; }
.wp-plot { position: relative; }
.wp-cross { position: absolute; top: 12px; bottom: 24px; width: 1px; background: var(--text-2); opacity: 0; pointer-events: none; transition: opacity .12s; }
.wp-dot { position: absolute; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; border: 2.5px solid var(--text); box-shadow: 0 0 0 3px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .12s; }
.wp-wrap.hover .wp-cross, .wp-wrap.hover .wp-dot { opacity: 1; }
.tooltip.bare { background: none; border: 0; padding: 0; box-shadow: none; backdrop-filter: none; }
.wp-tip { display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; border: 2px solid; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow); }
.wp-tip b { font: 800 20px/1 var(--display); }
.src .dot.ok-static { background: var(--pos); box-shadow: 0 0 0 3px var(--pos-soft); }
.mi { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; margin-right: 5px; opacity: .8; }

/* prediction card */
.proj { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 6px 0 4px; }
.proj-team { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.proj-pts { font: 800 54px/1 var(--display); }
.proj-ab { font-size: 11px; font-weight: 750; letter-spacing: .1em; color: var(--muted); }
.proj-mid { text-align: center; padding: 14px 20px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); min-width: 130px; }
.proj-mid .k { font-size: 10.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.proj-mid .v { font: 700 24px/1.1 var(--display); margin-top: 3px; color: var(--model); }
.proj-mid .v.sm { font-size: 19px; color: var(--text); }
.sec-t { margin: 26px 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.sec-t::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.breakdown td.lbl { padding-left: 0; }
.breakdown td, .breakdown th { padding-top: 10px; padding-bottom: 10px; }
.breakdown th.num, .breakdown td.num { width: 84px; text-align: right; }
.breakdown tr.total td { border-top: 2px solid var(--border-2); font-size: 16px; padding-top: 14px; }
.breakdown tr.total b { font: 800 22px var(--display); }
.absent { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--neg-soft); border: 1px solid color-mix(in srgb, var(--neg) 25%, transparent); margin-bottom: 10px; }
.absent .hs { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-3); flex: none; }
.factor-ok, .factor-warn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 13px; color: var(--text-2); background: var(--surface-2); margin-bottom: 10px; }
.factor-warn { background: color-mix(in srgb, var(--warn) 12%, transparent); }
.dot-ok, .dot-warn { width: 9px; height: 9px; border-radius: 50%; background: var(--pos); flex: none; box-shadow: 0 0 0 4px var(--pos-soft); }
.dot-warn { background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 20%, transparent); }
@media (max-width: 720px) {
  .hero-strip { gap: 10px; }
  .hs-item, .hs-item:first-child { flex: 1 1 100%; padding: 11px 14px; }
  .proj-pts { font-size: 44px; }
  .proj-mid { min-width: 0; padding: 12px; }
}
.tbl tr.others td { background: var(--surface-2); }
.tbl tr.sum-row td { border-top: 2px solid var(--border-2); font-size: 13px; color: var(--text); }

/* ---------- clickable ranks & players ---------- */
.rank-link { cursor: pointer; border-radius: 6px; transition: color .15s, box-shadow .15s, background .15s; text-decoration: underline dotted color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 3px; }
.rank-link:hover, .rank-link:focus-visible { color: var(--accent); text-decoration-color: var(--accent); outline: none; }
.rk.rank-link, .gold.rank-link { text-decoration: none; }
.rk.rank-link:hover { box-shadow: 0 0 0 2px var(--accent); color: inherit; }
.player-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; min-width: 0; cursor: pointer; }
.player-link span { border-bottom: 1px solid transparent; transition: border-color .15s, color .15s; }
.player-link:hover span { color: var(--accent); border-bottom-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.player-link:hover .hs-mini { box-shadow: 0 0 0 2px var(--accent); }
.hs-mini { border-radius: 50%; object-fit: cover; background: var(--surface-3); flex: none; transition: box-shadow .15s; }
a.leader { color: inherit; border-radius: 12px; transition: background .15s; padding-inline: 10px; margin-inline: -10px; }
a.leader:hover { background: var(--surface-2); }
a.leader:hover .nm { color: var(--accent); }
a.leader:hover .hs { box-shadow: 0 0 0 2px var(--accent); }
a.absent { color: inherit; transition: background .15s; }
a.absent:hover { border-color: var(--neg); }
a.absent:hover b { color: var(--accent); }

/* ---------- player page ---------- */
.player-hero { overflow: hidden; }
.player-hero .hero-in { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 0; min-height: 280px; }
.ph-watermark { position: absolute; right: -40px; top: -50px; width: 340px; height: 340px; opacity: .09; pointer-events: none; filter: saturate(1.2); }
.ph-shot { position: relative; width: 360px; height: 262px; flex: none; display: flex; align-items: flex-end; justify-content: center; margin-top: 10px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ca) 50%, transparent), transparent 78%); }
.ph-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; filter: drop-shadow(0 16px 28px rgba(0,0,0,.5));
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.ph-shot.none { background: radial-gradient(closest-side, color-mix(in srgb, var(--ca) 35%, transparent), transparent 80%); }
.ph-num { position: absolute; left: 6px; top: 4px; font: 800 52px/1 var(--display); color: var(--ca); opacity: .9; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.ph-id { padding-bottom: 26px; min-width: 0; }
.ph-team { display: inline-flex; align-items: center; gap: 8px; }
.ph-team:hover { text-decoration: underline; }
.ph-first { font: 600 22px/1 var(--display); text-transform: uppercase; color: var(--text-2); margin-top: 10px; letter-spacing: .02em; }
.player-hero .nm { font: 800 52px/0.95 var(--display); text-transform: uppercase; }
.player-hero .meta { color: var(--text-2); margin-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.player-hero .stats { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 26px; }
.next-game { display: block; color: inherit; }
.next-game:hover { border-color: var(--hc); }
.next-row { display: flex; align-items: center; gap: 12px; }
.next-row .vs { font-weight: 800; color: var(--muted); }
.next-chance { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.next-chance b { font: 800 26px/1 var(--display); }
.stat-tbl th.grp { text-align: center; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); border-left: 1px solid var(--border); }
.nowrap { white-space: nowrap; }
@media (max-width: 720px) {
  .player-hero .hero-in { justify-content: center; text-align: center; padding: 18px 16px 0; }
  .ph-id { padding-bottom: 6px; }
  .player-hero .meta { justify-content: center; }
  .player-hero .nm { font-size: 40px; }
  .player-hero .stats { margin: 0 auto; justify-content: center; }
  .ph-watermark { width: 220px; height: 220px; }
  .ph-shot { width: min(100%, 320px); height: 233px; }
  .ph-num { font-size: 40px; }
}

.tbl tr.focus-row td { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.tbl tr.focus-row td:first-child { box-shadow: inset 4px 0 0 var(--accent); }

/* ---------- scoreboard: week picker ---------- */
.week-nav { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 10px 30px -18px rgba(0,0,0,.5); }
.week-nav button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: none; color: var(--text-2); cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
.week-nav button:hover { background: var(--surface-2); color: var(--text); }
.week-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.week-nav select { appearance: none; border: 0; background: var(--surface-2); color: var(--text); font: 650 14px var(--sans, inherit); padding: 9px 16px; border-radius: 10px; cursor: pointer; text-align: center; max-width: 260px; }
.week-nav select:focus { outline: 2px solid var(--accent); }

/* ---------- scoreboard: featured game ---------- */
#feature { margin-bottom: 30px; }
.feature { position: relative; display: block; border-radius: 22px; overflow: hidden; color: #fff; border: 1px solid var(--border);
  background: linear-gradient(120deg, color-mix(in srgb, var(--ca) 55%, #05070c), #05070c 50%, color-mix(in srgb, var(--ch) 55%, #05070c));
  box-shadow: 0 30px 70px -35px rgba(0,0,0,.8); transition: transform .2s, box-shadow .2s; isolation: isolate; }
.feature:hover { transform: translateY(-2px); box-shadow: 0 40px 80px -35px rgba(0,0,0,.85); }
.feature.skel { background: var(--surface); }
.feature.is-live { border-color: rgba(255, 59, 78, .5); }
.ft-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; opacity: .5; z-index: -2; transform: scale(1.04); transition: transform 6s ease; }
.feature:hover .ft-bg { transform: scale(1.1); }
.ft-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ca) 62%, rgba(5,7,12,.7)) 0%, rgba(5,7,12,.72) 38%, rgba(5,7,12,.72) 62%, color-mix(in srgb, var(--ch) 62%, rgba(5,7,12,.7)) 100%),
              linear-gradient(180deg, rgba(5,7,12,.2), rgba(5,7,12,.85)); }
.ft-in { padding: 24px 32px 26px; }
.ft-top { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.ft-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  font: 700 12px var(--display); letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); }
.ft-tag.live { background: rgba(255, 59, 78, .22); border-color: rgba(255, 59, 78, .55); }
.ft-meta { font-size: 12.5px; color: rgba(255,255,255,.72); font-weight: 600; }
.ft-mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 22px auto 6px; max-width: 900px; }
.ft-team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.ft-logo { width: 128px; height: 128px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.16), rgba(255,255,255,.04) 70%, transparent); filter: drop-shadow(0 14px 22px rgba(0,0,0,.5)); }
.ft-logo img { width: 104px; height: 104px; }
.ft-name { display: flex; align-items: baseline; justify-content: center; gap: 8px; font: 800 26px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; margin-top: 8px; max-width: 100%; }
.ft-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-rk { font-size: .7em; color: #fcd34d; text-decoration: none; }
.ft-rec { font-size: 12.5px; color: rgba(255,255,255,.7); font-weight: 600; }
.ft-score { font: 800 64px/1 var(--display); margin-top: 6px; text-shadow: 0 6px 24px rgba(0,0,0,.45); }
.ft-team.lost { opacity: .6; }
.ft-team.lost .ft-score { color: rgba(255,255,255,.6) !important; }
.ft-team .poss { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 9px solid #fcd34d; transform: rotate(90deg); display: inline-block; }
.ft-center { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 120px; }
.ft-vs { font: 700 44px/1 var(--font); color: rgba(255,255,255,.6); }
.ft-when { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); text-align: center; }
.ft-clock { font: 800 22px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.ft-down { font-size: 12.5px; font-weight: 650; color: rgba(255,255,255,.85); text-align: center; }
.ft-down .rz { color: #ff6b78; font-weight: 800; }
.ft-prob { max-width: 760px; margin: 18px auto 0; }
.ft-prob .lbls { display: flex; justify-content: space-between; align-items: center; font: 800 16px var(--display); margin-bottom: 8px; gap: 10px; }
.ft-prob .lbls .muted { color: rgba(255,255,255,.65) !important; display: inline-flex; align-items: center; gap: 6px; letter-spacing: .08em; text-align: center; }
.ft-prob .pbar { height: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.ft-tiles { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 22px auto 0; max-width: 900px; }
.ft-tile { flex: 1 1 180px; max-width: 220px; padding: 12px 14px; border-radius: 14px; text-align: center; background: rgba(8,10,16,.55); border: 1px solid rgba(255,255,255,.14);
  border-top: 2px solid var(--hc); backdrop-filter: blur(10px); }
.ft-tile .l { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.ft-tile .v { display: flex; align-items: center; justify-content: center; gap: 6px; font: 800 22px/1.15 var(--display); margin-top: 6px; }
.ft-tile .s { font-size: 11.5px; color: rgba(255,255,255,.65); margin-top: 3px; }
.ft-cta { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 18px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.75); transition: color .15s, gap .15s; }
.ft-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.feature:hover .ft-cta { color: #fff; gap: 8px; }
@media (max-width: 720px) {
  .ft-in { padding: 18px 16px 20px; }
  .ft-mid { gap: 8px; }
  .ft-logo { width: 78px; height: 78px; }
  .ft-logo img { width: 62px; height: 62px; }
  .ft-name { font-size: 17px; flex-direction: column; align-items: center; gap: 2px; }
  .ft-score { font-size: 42px; }
  .ft-center { min-width: 64px; }
  .ft-vs { font-size: 30px; }
  .ft-when { font-size: 11px; }
  .ft-prob .lbls { font-size: 14px; }
  .ft-prob .lbls .muted { font-size: 9px; }
  .ft-tile { flex: 1 1 140px; padding: 10px; }
  .ft-tile .v { font-size: 18px; }
  .week-nav { width: 100%; justify-content: space-between; }
  .week-nav select { flex: 1; max-width: none; }
}
.seg { flex-wrap: wrap; max-width: 100%; }
.ft-pct { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.ft-pct b { font-size: 1.25em; }
.badge.red { background: var(--neg-soft); color: var(--neg); display: inline-flex; align-items: center; gap: 5px; }
.tbl.stat-tbl th, .tbl.stat-tbl td { padding-left: 6px; padding-right: 6px; font-size: 12.5px; }
.tbl.stat-tbl th { letter-spacing: .02em; }
.tbl.stat-tbl td:first-child, .tbl.stat-tbl th:first-child { padding-left: 16px; }
.tbl.stat-tbl td:last-child, .tbl.stat-tbl th:last-child { padding-right: 16px; }
.tbl.stat-tbl .team-cell { flex-wrap: nowrap; white-space: nowrap; }

/* Centered table columns and weekly rank movement */
.tbl th.ctr, .tbl td.ctr { text-align: center; }
.mv { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; padding: 3px 8px; border-radius: 99px; font: 700 12px var(--font); white-space: nowrap; }
.mv.up { color: var(--pos); background: color-mix(in srgb, var(--pos) 14%, transparent); }
.mv.down { color: var(--neg); background: color-mix(in srgb, var(--neg) 14%, transparent); }
.mv.same { color: var(--muted); background: var(--surface-2, rgba(148,163,184,.08)); font-weight: 600; }
.mv.new { color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); }
.tbl td.ctr .team-cell { justify-content: center; text-align: left; }

/* Game hero center panel (live / final) */
.mu-mid.v2 { min-width: 0; width: 372px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 18px 14px; border-radius: 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, transparent), color-mix(in srgb, var(--surface) 88%, transparent));
  border: 1px solid var(--border); box-shadow: 0 18px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(10px); }
.mid-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 99px; font: 800 13px var(--display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); background: color-mix(in srgb, var(--text) 9%, transparent); border: 1px solid color-mix(in srgb, var(--text) 14%, transparent); }
.mid-pill.live { color: var(--live); background: rgba(255, 59, 78, .12); border-color: rgba(255, 59, 78, .35); }
.mid-head { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 15px; color: var(--text-2); text-align: center; flex-wrap: wrap; }
.mid-head b { color: var(--text); font-weight: 800; }
.ls { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.ls th { font: 700 11px var(--display); letter-spacing: .1em; color: var(--muted); padding: 0 4px 6px; text-align: center; }
.ls td { text-align: center; padding: 7px 4px; font-size: 14px; color: var(--text-2); border-top: 1px solid var(--border); }
.ls td:first-child, .ls th:first-child { text-align: left; padding-left: 2px; }
.ls .ls-tm { display: inline-flex; align-items: center; gap: 7px; font: 800 14px var(--display); letter-spacing: .05em; }
.ls th.cur, .ls td.cur { color: var(--live); }
.ls td.cur { background: rgba(255, 59, 78, .07); font-weight: 700; }
.ls .tot { font: 800 17px var(--display); color: var(--text); padding-left: 10px; }
.ls th.tot { font-size: 11px; color: var(--muted); }
.mid-foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--text-2); padding-top: 2px; }
.mid-foot .k { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 700; }
.mid-foot .dot { color: var(--faint, var(--muted)); }
.tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 99px; font: 800 10.5px var(--font); letter-spacing: .08em; text-transform: uppercase; }
.tag.upset { color: var(--gold); background: color-mix(in srgb, var(--gold) 15%, transparent); }
.tag.rz { color: var(--live); background: rgba(255, 59, 78, .14); }
.mid-wp { width: 100%; }
.mid-wp .lbl { display: flex; justify-content: space-between; align-items: center; font: 800 14px var(--display); margin-bottom: 6px; }
.mid-wp .lbl span { display: inline-flex; align-items: center; gap: 6px; }
.mid-wp .lbl .k { font: 700 10px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mid-wp .bar { display: flex; gap: 3px; height: 6px; }
.mid-wp .bar i { display: block; height: 100%; border-radius: 99px; }
@media (max-width: 1200px) { .mu-mid.v2 { width: 320px; } .matchup.has-ls .mu-team .nm { font-size: 24px; } .matchup.has-ls .mu-team .big { font-size: 52px; min-width: 56px; } }
@media (max-width: 900px) { .mu-mid.v2 { width: 100%; max-width: 440px; justify-self: center; } }
/* With the center panel, each side stacks logo over name, with the score beside the panel */
.matchup.has-ls .mu-team { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; row-gap: 10px; text-align: center; }
.matchup.has-ls .mu-team > a:first-child { grid-column: 1; grid-row: 1; justify-self: center; }
.matchup.has-ls .mu-team > div:nth-child(2) { grid-column: 1; grid-row: 2; }
.matchup.has-ls .mu-team .big { grid-column: 2; grid-row: 1 / span 2; text-align: center; }
.matchup.has-ls .mu-team.home { grid-template-columns: auto minmax(0, 1fr); text-align: center; }
.matchup.has-ls .mu-team.home > a:first-child, .matchup.has-ls .mu-team.home > div:nth-child(2) { grid-column: 2; }
.matchup.has-ls .mu-team.home .big { grid-column: 1; }
.matchup.has-ls .mu-team img.logo { width: 84px; height: 84px; }
.matchup.has-ls .mu-team .nm { font-size: 26px; line-height: 1.02; }
.matchup.has-ls .mu-team .meta { margin-top: 5px; }
.matchup.has-ls .mu-team .badge { margin-left: auto; margin-right: auto; }
@media (max-width: 1280px) { .mu-mid.v2 { width: 340px; } }
@media (max-width: 900px) {
  .matchup.has-ls .mu-team, .matchup.has-ls .mu-team.home { grid-template-columns: auto minmax(0, 1fr) auto; text-align: left; row-gap: 0; }
  .matchup.has-ls .mu-team > a:first-child, .matchup.has-ls .mu-team.home > a:first-child { grid-column: 1; grid-row: 1; }
  .matchup.has-ls .mu-team > div:nth-child(2), .matchup.has-ls .mu-team.home > div:nth-child(2) { grid-column: 2; grid-row: 1; }
  .matchup.has-ls .mu-team .big, .matchup.has-ls .mu-team.home .big { grid-column: 3; grid-row: 1; }
  .matchup.has-ls .mu-team img.logo { width: 56px; height: 56px; }
  .matchup.has-ls .mu-team .badge { margin-left: 0; }
  .matchup.has-ls .mu-mid.v2 { order: 2; }
}

/* Script wordmark */
.brand { display: block; padding: 6px 4px 22px; }
.wm { position: relative; display: block; transform: rotate(-7deg); transform-origin: 30% 60%; transition: transform .25s ease; }
.brand:hover .wm { transform: rotate(-9deg) scale(1.03); }
/* Gradient text only paints inside the box, so pad it to cover the script's swashes and descenders. */
.wm-script { display: block; font: 400 60px/0.95 'Yellowtail', 'Brush Script MT', cursive; padding: 8px 12px 16px 6px; margin: -8px -12px -16px -6px; white-space: nowrap;
  background: linear-gradient(100deg, #ffffff 0%, #dbe6ff 30%, var(--accent) 68%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--accent) 45%, transparent)); }
.wm-swoosh { display: block; width: 100%; height: 26px; margin-top: -16px; overflow: visible; filter: drop-shadow(0 3px 10px color-mix(in srgb, var(--accent-2) 55%, transparent)); }
.wm-sub { position: absolute; right: 2px; bottom: -16px; font: 800 12px var(--display); letter-spacing: .55em; color: var(--text); opacity: .85; transform: rotate(7deg); }
[data-theme="light"] .wm-script { background-image: linear-gradient(100deg, #0f172a 0%, #1e3a8a 35%, var(--accent) 70%, var(--accent-2) 100%); }
/* Site-hosted headshots are square photos: keep the top of the head in frame */
.ph-shot img[src^="/img/players/"] { object-position: 50% 0; }

/* ---------------------------------------------------------------- Colors & logo page --- */
.section-h { font: 800 22px var(--display); letter-spacing: .04em; text-transform: uppercase; margin: 6px 0 14px; }
.brand-link { display: flex; align-items: center; gap: 9px; padding: 9px 10px; margin: 0 -2px 10px; border-radius: 10px; color: var(--text-2); font-size: 13px; font-weight: 600; border: 1px dashed var(--border-2); }
.brand-link:hover { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.brand-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.brand-grid { align-items: stretch; }
.scheme-card, .logo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.scheme-card:hover, .logo-card:hover { transform: translateY(-3px); }
.scheme-card.on, .logo-card.on { box-shadow: 0 0 0 2px var(--accent), 0 18px 40px -16px color-mix(in srgb, var(--accent) 60%, transparent); }
.mock { display: grid; grid-template-columns: 132px 1fr; height: 214px; background: var(--bg); border-bottom: 1px solid var(--border); }
.mock-side { background: var(--bg-2); border-right: 1px solid var(--border); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.mock-brand { height: 62px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.mock-brand .lg { transform-origin: center; scale: .52; }
.mock-nav { font-size: 11px; font-weight: 600; color: var(--muted); padding: 6px 8px; border-radius: 7px; }
.mock-nav.on { color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.mock-main { padding: 12px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.mock-game { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; display: grid; gap: 6px; }
.mock-row { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.mock-row b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row span { font: 800 14px var(--display); color: var(--accent); }
.mock-bar { height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.mock-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 99px; }
.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mock-kpis div { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 6px 8px; }
.mock-kpis small { display: block; font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mock-kpis b { font: 800 16px var(--display); color: var(--text); }
.mock-btn { align-self: flex-start; font-size: 11px; font-weight: 700; color: #fff; padding: 6px 12px; border-radius: 8px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.scheme-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; margin-top: auto; }
.scheme-foot h3 { font: 800 18px var(--display); letter-spacing: .03em; text-transform: uppercase; margin: 6px 0 2px; }
.scheme-foot p { color: var(--muted); font-size: 12.5px; line-height: 1.45; margin: 0; }
.scheme-foot .btn { flex: none; }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.logo-stage { height: 150px; display: flex; align-items: center; justify-content: center; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 0 14px; }
.logo-stage .lg { width: 208px; }

/* Logo styles (the script swoosh uses .wm above) */
.lg { display: block; position: relative; }
.lg-varsity { text-align: center; transform: rotate(-4deg); }
.lg-varsity .v-top { position: relative; display: block; font: 400 34px/1 'Graduate', var(--display); letter-spacing: .02em; color: #fff; -webkit-text-stroke: 1.5px var(--accent);
  text-shadow: 3px 3px 0 var(--accent), 6px 6px 0 var(--accent-2), 0 10px 26px color-mix(in srgb, var(--accent) 50%, transparent); }
.lg-varsity .v-sub { display: block; margin-top: 8px; font: 800 13px var(--display); letter-spacing: .5em; color: var(--accent); padding-left: .5em; }
.lg-crest { display: flex; align-items: center; gap: 10px; }
.lg-crest svg { width: 54px; height: 62px; flex: none; filter: drop-shadow(0 8px 18px color-mix(in srgb, var(--accent) 45%, transparent)); }
.lg-crest .c-txt { display: flex; flex-direction: column; line-height: .92; }
.lg-crest .c-txt b { font: 900 30px var(--display); letter-spacing: .02em; color: var(--text); }
.lg-crest .c-txt i { font: 700 15px var(--display); font-style: normal; letter-spacing: .62em; color: var(--accent); margin-top: 3px; }
.lg-speed { display: flex; align-items: center; gap: 6px; transform: skewX(-12deg); }
.lg-speed .s-lines { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.lg-speed .s-lines i { display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--accent)); }
.lg-speed .s-lines i:nth-child(1) { width: 26px; } .lg-speed .s-lines i:nth-child(2) { width: 40px; } .lg-speed .s-lines i:nth-child(3) { width: 18px; }
.lg-speed .s-txt { display: flex; flex-direction: column; line-height: .85; }
.lg-speed .s-txt b { font: italic 900 42px var(--display); letter-spacing: -.01em; background: linear-gradient(90deg, var(--text) 30%, var(--accent) 75%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 6px 4px 0; }
.lg-speed .s-txt i { align-self: flex-end; font: italic 800 15px var(--display); letter-spacing: .5em; color: var(--accent-2); margin-right: 4px; }
.lg-neon { text-align: center; transform: rotate(-5deg); }
.lg-neon .n-script { display: block; font: 400 58px/1 'Yellowtail', cursive; color: transparent; -webkit-text-stroke: 1.6px var(--accent);
  filter: drop-shadow(0 0 4px var(--accent)) drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 70%, transparent)); padding: 0 8px 10px; }
.lg-neon .n-sub { display: block; margin-top: -8px; font: 700 13px var(--display); letter-spacing: .6em; padding-left: .6em; color: var(--accent-2); text-shadow: 0 0 8px var(--accent-2), 0 0 18px var(--accent-2); }
.lg-pennant { width: 208px; height: 74px; transform: rotate(-4deg); }
.lg-pennant svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 8px 18px color-mix(in srgb, var(--accent) 40%, transparent)); }
.lg-pennant .p-txt { position: absolute; left: 22px; top: 6px; font: 400 40px/1 'Yellowtail', cursive; color: #fff; transform: rotate(8deg); transform-origin: left center; text-shadow: 0 2px 0 rgba(0,0,0,.25); padding-bottom: 8px; }
.lg-pennant .p-sub { position: absolute; left: 30px; bottom: 6px; font: 800 10px var(--display); letter-spacing: .45em; color: rgba(255,255,255,.85); transform: rotate(-3deg); }
.sidebar .brand .lg:not(.wm) { margin: 4px auto 0; }
.sidebar .brand { min-height: 96px; display: flex; align-items: center; justify-content: center; }
