/* =========================================================================
   Betting League · "Matchday broadcast"
   Light mode leads with #f4f4f4 (white header, light band, purple ink).
   Dark mode leads with #38003c (purple page, deep-purple header and band).
   The page's own switch sets data-bl-theme and beats both the system setting
   and the host's data-theme.
   ========================================================================= */
:root {
  --purple: #38003c; --purple-2: #4b0a52; --purple-3: #24002a;
  --green: #00ff85; --pink: #e90052; --cyan: #04f5ff; --paper: #f4f4f4;
  --glow: 0 0 0 1px var(--cyan), 0 10px 30px -10px rgba(4,245,255,.45);
  --shape: 22px 6px 22px 6px; --shape-s: 14px 4px 14px 4px;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --bg: #f4f4f4; --surface: #ffffff; --surface-2: #f6f1f7; --surface-3: #ece4ee;
  --ink: #38003c; --ink-2: #6b5470; --ink-3: #9b8aa0; --line: #e6dde8; --line-2: #d3c6d6;
  --accent: #e90052; --hot: #e90052; --ok: #00a35c;
  --solid-bg: #38003c; --solid-ink: #ffffff;
  --chip-5-bg: #00ff85; --chip-5-ink: #38003c; --chip-3-bg: #04f5ff; --chip-3-ink: #38003c;
  --chip-2-bg: #d7f9fb; --chip-2-ink: #38003c; --chip-0-ink: #9b8aa0;
  --series-a: #5b2bbf; --series-b: #e90052; --seq: 91, 43, 191; --muted-line: #d9cedc;
  --shadow: 0 1px 2px rgba(56,0,60,.05), 0 10px 30px -12px rgba(56,0,60,.18);
  --shadow-lg: 0 2px 4px rgba(56,0,60,.06), 0 24px 50px -20px rgba(56,0,60,.35);
  /* header, ticker, band: light and airy, purple ink */
  --head-bg: #ffffff; --head-ink: #38003c; --head-line: #e6dde8; --head-hover: rgba(56,0,60,.06);
  --ticker-bg: #f4f4f4; --ticker-ink: #38003c; --ticker-acc: #008b9a; --ticker-go: #e90052;
  --band-bg:
    radial-gradient(760px 340px at 92% 0%, rgba(4,245,255,.30), transparent 65%),
    radial-gradient(640px 320px at 0% 100%, rgba(233,0,82,.14), transparent 70%),
    linear-gradient(115deg, transparent 0 62%, rgba(56,0,60,.035) 62% 64%, transparent 64% 70%, rgba(0,255,133,.16) 70% 72%, transparent 72%),
    linear-gradient(170deg, #ffffff, #f4f4f4 70%);
  --band-ink: #38003c; --band-ink-2: #6b5470; --band-kicker: #e90052;
  --panel: rgba(255,255,255,.96); --glass: rgba(255,255,255,.82); --glass-2: rgba(56,0,60,.06); --glass-line: rgba(56,0,60,.10);
  --hi-g: #00a35c; --hi-c: #008b9a; --hi-p: #e90052; --hi-count: #38003c;
  --band-edge: 0 1px 0 var(--line);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-bl-theme="light"]) {
  --bg: #38003c; --surface: #44094a; --surface-2: #4f1156; --surface-3: #5b1a62;
  --ink: #f4f4f4; --ink-2: #dccbe0; --ink-3: #ad97b2; --line: #5a1d62; --line-2: #6e2a77;
  --accent: #04f5ff; --hot: #ff4f8b; --ok: #00ff85;
  --solid-bg: #00ff85; --solid-ink: #38003c;
  --chip-5-bg: #00ff85; --chip-5-ink: #38003c; --chip-3-bg: #04f5ff; --chip-3-ink: #38003c;
  --chip-2-bg: #1d5470; --chip-2-ink: #dffcff; --chip-0-ink: #ad97b2;
  --series-a: #00a9b5; --series-b: #f2307a; --seq: 0, 169, 181; --muted-line: #6a2c72;
  --shadow: 0 1px 2px rgba(0,0,0,.25), 0 14px 34px -14px rgba(10,0,14,.75);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 60px -24px rgba(10,0,14,.9);
  --head-bg: #2a002e; --head-ink: #ffffff; --head-line: rgba(255,255,255,.06); --head-hover: rgba(255,255,255,.08);
  --ticker-bg: #22002a; --ticker-ink: #ffffff; --ticker-acc: #04f5ff; --ticker-go: #00ff85;
  --band-bg:
    radial-gradient(700px 320px at 92% 10%, rgba(4,245,255,.26), transparent 65%),
    radial-gradient(600px 300px at 0% 100%, rgba(233,0,82,.24), transparent 70%),
    linear-gradient(115deg, transparent 0 62%, rgba(255,255,255,.05) 62% 64%, transparent 64% 70%, rgba(0,255,133,.08) 70% 72%, transparent 72%),
    linear-gradient(160deg, #2e0033, #24002a 55%, #1a001f);
  --band-ink: #ffffff; --band-ink-2: #e6d6e9; --band-kicker: #00ff85;
  --panel: rgba(36,0,42,.96); --glass: rgba(255,255,255,.08); --glass-2: rgba(255,255,255,.12); --glass-line: rgba(255,255,255,.12);
  --hi-g: #00ff85; --hi-c: #04f5ff; --hi-p: #ff5c98; --hi-count: #00ff85;
  --band-edge: none;
  color-scheme: dark;
  }
}
:root[data-theme="dark"]:not([data-bl-theme="light"]) {
  --bg: #38003c; --surface: #44094a; --surface-2: #4f1156; --surface-3: #5b1a62;
  --ink: #f4f4f4; --ink-2: #dccbe0; --ink-3: #ad97b2; --line: #5a1d62; --line-2: #6e2a77;
  --accent: #04f5ff; --hot: #ff4f8b; --ok: #00ff85;
  --solid-bg: #00ff85; --solid-ink: #38003c;
  --chip-5-bg: #00ff85; --chip-5-ink: #38003c; --chip-3-bg: #04f5ff; --chip-3-ink: #38003c;
  --chip-2-bg: #1d5470; --chip-2-ink: #dffcff; --chip-0-ink: #ad97b2;
  --series-a: #00a9b5; --series-b: #f2307a; --seq: 0, 169, 181; --muted-line: #6a2c72;
  --shadow: 0 1px 2px rgba(0,0,0,.25), 0 14px 34px -14px rgba(10,0,14,.75);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 60px -24px rgba(10,0,14,.9);
  --head-bg: #2a002e; --head-ink: #ffffff; --head-line: rgba(255,255,255,.06); --head-hover: rgba(255,255,255,.08);
  --ticker-bg: #22002a; --ticker-ink: #ffffff; --ticker-acc: #04f5ff; --ticker-go: #00ff85;
  --band-bg:
    radial-gradient(700px 320px at 92% 10%, rgba(4,245,255,.26), transparent 65%),
    radial-gradient(600px 300px at 0% 100%, rgba(233,0,82,.24), transparent 70%),
    linear-gradient(115deg, transparent 0 62%, rgba(255,255,255,.05) 62% 64%, transparent 64% 70%, rgba(0,255,133,.08) 70% 72%, transparent 72%),
    linear-gradient(160deg, #2e0033, #24002a 55%, #1a001f);
  --band-ink: #ffffff; --band-ink-2: #e6d6e9; --band-kicker: #00ff85;
  --panel: rgba(36,0,42,.96); --glass: rgba(255,255,255,.08); --glass-2: rgba(255,255,255,.12); --glass-line: rgba(255,255,255,.12);
  --hi-g: #00ff85; --hi-c: #04f5ff; --hi-p: #ff5c98; --hi-count: #00ff85;
  --band-edge: none;
  color-scheme: dark;
}
:root[data-bl-theme="dark"] {
  --bg: #38003c; --surface: #44094a; --surface-2: #4f1156; --surface-3: #5b1a62;
  --ink: #f4f4f4; --ink-2: #dccbe0; --ink-3: #ad97b2; --line: #5a1d62; --line-2: #6e2a77;
  --accent: #04f5ff; --hot: #ff4f8b; --ok: #00ff85;
  --solid-bg: #00ff85; --solid-ink: #38003c;
  --chip-5-bg: #00ff85; --chip-5-ink: #38003c; --chip-3-bg: #04f5ff; --chip-3-ink: #38003c;
  --chip-2-bg: #1d5470; --chip-2-ink: #dffcff; --chip-0-ink: #ad97b2;
  --series-a: #00a9b5; --series-b: #f2307a; --seq: 0, 169, 181; --muted-line: #6a2c72;
  --shadow: 0 1px 2px rgba(0,0,0,.25), 0 14px 34px -14px rgba(10,0,14,.75);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 60px -24px rgba(10,0,14,.9);
  --head-bg: #2a002e; --head-ink: #ffffff; --head-line: rgba(255,255,255,.06); --head-hover: rgba(255,255,255,.08);
  --ticker-bg: #22002a; --ticker-ink: #ffffff; --ticker-acc: #04f5ff; --ticker-go: #00ff85;
  --band-bg:
    radial-gradient(700px 320px at 92% 10%, rgba(4,245,255,.26), transparent 65%),
    radial-gradient(600px 300px at 0% 100%, rgba(233,0,82,.24), transparent 70%),
    linear-gradient(115deg, transparent 0 62%, rgba(255,255,255,.05) 62% 64%, transparent 64% 70%, rgba(0,255,133,.08) 70% 72%, transparent 72%),
    linear-gradient(160deg, #2e0033, #24002a 55%, #1a001f);
  --band-ink: #ffffff; --band-ink-2: #e6d6e9; --band-kicker: #00ff85;
  --panel: rgba(36,0,42,.96); --glass: rgba(255,255,255,.08); --glass-2: rgba(255,255,255,.12); --glass-line: rgba(255,255,255,.12);
  --hi-g: #00ff85; --hi-c: #04f5ff; --hi-p: #ff5c98; --hi-count: #00ff85;
  --band-edge: none;
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.5 var(--body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--purple); }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--cond); line-height: 1; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.6rem, 8vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-weight: 800; font-size: 1.75rem; margin-top: 1.5em; }
h3 { font-weight: 700; font-size: 1.3rem; }
p { margin: 0 0 .8em; max-width: 70ch; }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); } .small { font-size: .86rem; }
.num { font-family: var(--cond); font-variant-numeric: tabular-nums; }
.good { color: var(--ok); }
.sec { display: flex; align-items: center; gap: 10px; }
.sec::before { content: "♦"; color: var(--pink); font-size: .7em; }

/* ---------- header ---------- */
.mast { background: var(--purple); color: #fff; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.mast-in { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--green); color: var(--purple); font-size: 18px; border-radius: 12px 3px 12px 3px; }
.brand b { display: block; font: 800 1.35rem/1 var(--cond); letter-spacing: .01em; }
.brand small { display: block; font-size: .72rem; opacity: .7; font-weight: 700; margin-top: 2px; }
.topnav { display: flex; gap: 2px; margin-left: auto; align-self: stretch; }
.topnav a { color: #fff; opacity: .78; text-decoration: none; padding: 0 12px; font-weight: 700; font-size: .92rem; display: flex; align-items: center; position: relative; }
.topnav a:hover { opacity: 1; }
.topnav a[aria-current="page"] { opacity: 1; }
.topnav a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 4px; background: var(--green); border-radius: 4px 4px 0 0; }
.badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--pink); color: #fff; font: 800 .7rem/1 var(--body); margin-left: 5px; }
.badge[hidden] { display: none; }
.mast-tools { display: flex; gap: 10px; align-items: center; flex: none; }
.icon-btn { background: rgba(255,255,255,.1); border: 0; color: #fff; width: 38px; height: 38px; border-radius: 99px; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: rgba(255,255,255,.2); }
.icon-btn svg { width: 19px; height: 19px; }
.me-link { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .88rem; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 .85rem/1 var(--cond); background: var(--cyan); color: var(--purple); flex: none; letter-spacing: .02em; }
.theme-ico-dark { display: none; }
:root[data-theme="dark"]:not([data-bl-theme="light"]) .theme-ico-dark, :root[data-bl-theme="dark"] .theme-ico-dark { display: block; }
:root[data-theme="dark"]:not([data-bl-theme="light"]) .theme-ico-light, :root[data-bl-theme="dark"] .theme-ico-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):not([data-bl-theme="light"]) .theme-ico-dark { display: block; } :root:not([data-theme="light"]):not([data-bl-theme="light"]) .theme-ico-light { display: none; } }

/* ticker */
.ticker { background: var(--purple-3); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.ticker-in { max-width: var(--wrap); margin: 0 auto; padding: 7px 16px; display: flex; gap: 14px; align-items: center; font-size: .86rem; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.ticker-in::-webkit-scrollbar { display: none; }
.ticker .lbl { font-weight: 800; display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); }
.ticker .sep { width: 1px; height: 16px; background: rgba(255,255,255,.15); flex: none; }
.ticker .muted { color: #cdb9d1; }
.ticker a.go { margin-left: auto; font-weight: 800; color: var(--green); text-decoration: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); flex: none; display: inline-block; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--pink); color: #fff; border-radius: 99px; padding: 2px 10px 2px 8px; font: 800 .76rem/1.5 var(--body); white-space: nowrap; }
.live-pill .dot { background: #fff; }
@media (prefers-reduced-motion: no-preference) { .live-pill .dot, .dot.pulse { animation: blink 1.4s ease-in-out infinite; } @keyframes blink { 50% { opacity: .25; } } }
.mini-score { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: inherit; text-decoration: none; }
.mini-score b { font: 800 1.05rem var(--cond); }

/* phone tab bar */
.tabbar { display: none; }
@media (max-width: 860px) {
  .topnav, .me-link .nm { display: none; }
  .mast-tools { margin-left: auto; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--purple); color: #fff;
    padding: 6px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px)); box-shadow: 0 -10px 30px -10px rgba(0,0,0,.5); }
  .tabbar a { color: inherit; opacity: .75; text-decoration: none; text-align: center; font-size: .68rem; font-weight: 700; padding: 6px 0 5px; border-radius: 14px 4px 14px 4px; position: relative; }
  .tabbar a svg { display: block; width: 22px; height: 22px; margin: 0 auto 2px; }
  .tabbar a[aria-current="page"] { opacity: 1; background: var(--green); color: var(--purple); }
  .tabbar .badge { position: absolute; top: 1px; left: calc(50% + 6px); margin: 0; }
  body { padding-bottom: 80px; }
}

/* ---------- broadcast band (every page) ---------- */
.band { position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(700px 320px at 92% 10%, rgba(4,245,255,.28), transparent 65%),
    radial-gradient(600px 300px at 0% 100%, rgba(233,0,82,.22), transparent 70%),
    linear-gradient(115deg, transparent 0 62%, rgba(255,255,255,.05) 62% 64%, transparent 64% 70%, rgba(0,255,133,.07) 70% 72%, transparent 72%),
    linear-gradient(160deg, var(--purple-2), var(--purple) 50%, var(--purple-3));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), 0 100%); padding-bottom: 70px; }
.band::after { content: "♦ ♦ ♦ ♦ ♦"; position: absolute; right: max(16px, calc((100% - var(--wrap)) / 2 + 16px)); top: 22px; letter-spacing: 6px; font-size: 10px; color: var(--green); opacity: .7; }
.band-in { max-width: var(--wrap); margin: 0 auto; padding: 30px 16px 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); position: relative; }
.band .kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .82rem; color: var(--green); letter-spacing: .02em; margin-bottom: 6px; }
.band h1 { color: #fff; margin: 0 0 6px; }
.band .lead { color: #e6d6e9; font-size: 1rem; max-width: 62ch; margin: 0; }
.band a { color: #fff; }
.band-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bstat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: var(--shape-s); padding: 9px 14px; min-width: 104px; backdrop-filter: blur(6px); }
.bstat b { display: block; font: 800 1.9rem/1 var(--cond); color: #fff; font-variant-numeric: tabular-nums; }
.bstat b.g { color: var(--green); } .bstat b.c { color: var(--cyan); } .bstat b.p { color: #ff5c98; }
.bstat span { font-size: .74rem; font-weight: 700; color: #d9c6dd; }
.band .gwnav a { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: #fff; }
.band .gwnav a[aria-current="page"] { background: var(--green); color: var(--purple); border-color: var(--green); }
.band .gwnav a.next { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }
.band .btn { background: var(--green); color: var(--purple); }
.band .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
@media (prefers-reduced-motion: no-preference) {
  .band h1, .band .kicker { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
  .band .lead, .band-stats { animation: rise .6s .08s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}
main { max-width: var(--wrap); margin: -44px auto 0; padding: 0 16px 48px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); position: relative; z-index: 2; }
main.plain { margin-top: 28px; }
.narrow { max-width: 720px; }
footer { max-width: var(--wrap); margin: 0 auto; padding: 0 16px 34px; color: var(--ink-3); font-size: .8rem; display: flex; gap: 8px; align-items: center; }
footer::before { content: "♦"; color: var(--pink); }

.flash { border-radius: var(--shape-s); padding: 12px 16px; margin-bottom: 16px; font-weight: 700; background: var(--surface); box-shadow: var(--shadow); border-left: 4px solid var(--ok); }
.flash.warn { border-left-color: var(--hot); }
.error { background: color-mix(in srgb, var(--pink) 12%, var(--surface)); color: var(--hot); border-radius: var(--shape-s); padding: 10px 14px; margin-bottom: 14px; font-weight: 700; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border-radius: var(--shape); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); min-width: 0; }
.card > h2:first-child, .card > h3:first-child, .card > .card-head:first-child h2 { margin-top: 0; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.card-head h2, .card-head h3 { margin: 0; }
.card-head a { font-weight: 800; font-size: .84rem; white-space: nowrap; color: var(--hot); text-decoration: none; }
.card-head a:hover { text-decoration: underline; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stack { display: grid; gap: 20px; min-width: 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 980px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .card { padding: 15px; } }

/* ---------- crest ---------- */
.club { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; }
.club img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); }
.club .disc { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; font: 800 .62rem/1 var(--cond); letter-spacing: .02em; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.14), 0 1px 2px rgba(0,0,0,.15); }
.club.sm { width: 22px; height: 22px; } .club.sm .disc { font-size: .5rem; }
.club.lg { width: 50px; height: 50px; } .club.lg .disc { font-size: .9rem; }
.club.xl { width: 72px; height: 72px; } .club.xl .disc { font-size: 1.2rem; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 99px; background: var(--solid-bg); color: var(--solid-ink); font: 800 .96rem var(--body); padding: 11px 22px; cursor: pointer; text-decoration: none; transition: filter .15s, transform .06s; white-space: nowrap; }
.btn:hover { filter: brightness(1.1); } .btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.small { padding: 7px 14px; font-size: .82rem; }
.btn.danger { background: var(--pink); color: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
label { font-weight: 700; font-size: .86rem; display: block; margin-bottom: 5px; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=datetime-local], select, textarea {
  font: inherit; color: var(--ink); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: var(--surface); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field { margin-bottom: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.row > * { flex: 1 1 160px; }

/* ---------- home: next gameweek inside the band ---------- */
.gw-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 34px; align-items: start; }
@media (max-width: 980px) { .gw-hero { grid-template-columns: 1fr; gap: 20px; } }
.when { color: #e6d6e9; font-size: .98rem; }
.count { display: flex; gap: 8px; margin: 18px 0 8px; }
.count div { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.1); border-radius: var(--shape-s); padding: 10px 12px; min-width: 70px; text-align: center; }
.count b { display: block; font: 800 2.6rem/1 var(--cond); color: var(--green); font-variant-numeric: tabular-nums; }
.count span { font-size: .72rem; color: #e6d6e9; font-weight: 700; }
.progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; margin: 10px 0 0; max-width: 380px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--green)); border-radius: 99px; }
.hero-note { color: #e6d6e9; font-size: .9rem; margin-top: 12px; }
.hero-note strong { color: #fff; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.fixture-list { display: grid; gap: 6px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.08); border-radius: var(--shape); padding: 14px; }
.fixture-list .day { font-size: .76rem; font-weight: 800; color: var(--cyan); margin: 6px 0 2px; }
.fixture-list .day:first-child { margin-top: 0; }
.fl { display: grid; grid-template-columns: 46px minmax(0,1fr) 56px minmax(0,1fr) 54px; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border-radius: 12px 3px 12px 3px; padding: 8px 10px; font-size: .88rem; color: #fff; text-decoration: none; transition: background .15s; }
.fl:hover { background: rgba(255,255,255,.11); }
.fl .t { display: flex; align-items: center; gap: 8px; font-weight: 700; min-width: 0; }
.fl .t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl .t.a { justify-content: flex-end; text-align: right; }
.fl .ko { font: 700 .98rem var(--cond); color: #e6d6e9; }
.fl .sc { font: 800 1.1rem var(--cond); background: rgba(255,255,255,.12); border-radius: 6px; padding: 1px 0; text-align: center; }
.fl .sc.live { background: var(--pink); }
.fl .mt { text-align: right; font: 800 1rem var(--cond); }
.fl .mt.miss { color: #ff7aa8; font-family: var(--body); font-size: .72rem; }
.fl .mt.ok { color: var(--green); }
.fl .t .abbr { display: none; }
@media (max-width: 560px) { .fl { grid-template-columns: 40px minmax(0,1fr) 46px minmax(0,1fr) 44px; padding: 7px 8px; font-size: .82rem; gap: 6px; } .fl .t .full { display: none; } .fl .t .abbr { display: inline; } }

/* me card */
.me-card .big { display: flex; align-items: flex-end; gap: 14px; }
.me-card .pos { font: 800 4.4rem/.8 var(--cond); }
.me-card .pos sup { font-size: 1.1rem; vertical-align: top; color: var(--ink-2); }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.kv div { background: var(--surface-2); border-radius: var(--shape-s); padding: 10px; display: flex; flex-direction: column; }
.kv b { font: 800 1.55rem/1.05 var(--cond); }
.kv span { font-size: .72rem; color: var(--ink-2); font-weight: 700; line-height: 1.2; min-height: 2.4em; margin-top: 3px; }

/* ---------- standings ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.standings { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.standings th { text-align: left; font: 700 .72rem var(--body); color: var(--ink-3); padding: 2px 8px 6px; white-space: nowrap; }
.standings td { padding: 8px; background: var(--surface-2); vertical-align: middle; }
.standings td:first-child { border-radius: 12px 0 0 3px; } .standings td:last-child { border-radius: 0 3px 12px 0; }
.standings tbody tr { transition: transform .12s; }
.standings tbody tr:hover td { background: var(--surface-3); }
.standings tr.me td { background: color-mix(in srgb, var(--cyan) 18%, var(--surface-2)); }
.standings .pos { width: 44px; text-align: center; }
.standings .pos span { display: inline-grid; place-items: center; width: 32px; height: 32px; font: 800 1.25rem var(--cond); border-radius: 10px 3px 10px 3px; }
.standings tr.p1 .pos span { background: var(--green); color: var(--purple); }
.standings tr.p2 .pos span { background: var(--cyan); color: var(--purple); }
.standings tr.p3 .pos span { background: var(--pink); color: #fff; }
.standings .pts { font: 800 1.6rem var(--cond); text-align: right; width: 64px; }
.standings .r { text-align: right; font: 700 1.05rem var(--cond); white-space: nowrap; }
.standings .r.top span { background: var(--chip-5-bg); color: var(--chip-5-ink); border-radius: 6px; padding: 1px 7px; }
.player-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.player-cell a { font-weight: 800; text-decoration: none; white-space: nowrap; }
.player-cell a:hover { text-decoration: underline; }
.move { font: 700 .78rem var(--cond); width: 28px; display: inline-block; text-align: center; }
.move.up { color: var(--ok); } .move.down { color: var(--hot); } .move.same { color: var(--ink-3); }
.spark { display: inline-flex; gap: 2px; align-items: flex-end; height: 24px; }
.spark i { width: 6px; background: var(--muted-line); border-radius: 2px 2px 0 0; }
.spark i.hi { background: var(--series-a); }
@media (max-width: 640px) { .standings .hide-sm { display: none; } .standings td, .standings th { padding: 7px 4px; } .standings .pts { font-size: 1.35rem; width: 46px; } .player-cell a { overflow: hidden; text-overflow: ellipsis; max-width: 40vw; } }

/* lists, leaders */
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.list li:last-child { border: 0; }
.list .v { margin-left: auto; font: 800 1.3rem var(--cond); white-space: nowrap; }
.list .lab { font-size: .76rem; color: var(--ink-2); font-weight: 700; display: block; }
.leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.leader { background: var(--surface-2); border-radius: var(--shape-s); padding: 13px; min-width: 0; display: flex; flex-direction: column; }
.leader .lab { font-size: .74rem; font-weight: 800; color: var(--ink-2); }
.leader b { display: block; font: 800 2.1rem/1 var(--cond); margin: 6px 0 6px; }
.leader a { margin-top: auto; font-weight: 800; text-decoration: none; font-size: .88rem; display: flex; align-items: center; gap: 6px; min-width: 0; }

/* ---------- betting cards ---------- */
.fixtures { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); align-items: stretch; }
.fx { background: var(--surface); border: 1px solid var(--line); border-radius: var(--shape); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.fx form[data-match] { padding: 14px 16px 12px; display: flex; flex-direction: column; flex: 1; }
.fx.locked { background: var(--surface-2); box-shadow: none; }
.fx.soon { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), var(--shadow); }
.fx.dirty { border-color: var(--cyan); box-shadow: var(--glow); }
.fx-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-2); margin-bottom: 12px; font-weight: 700; }
.fx-head .ko b { font: 800 1.15rem var(--cond); color: var(--ink); margin-right: 5px; }
.fx-head .cd { font-weight: 800; color: var(--ink); background: var(--surface-2); border-radius: 99px; padding: 3px 10px; font-size: .78rem; }
.fx-head .cd.soon { color: #fff; background: var(--pink); }
.fx-body { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 10px; flex: 1; }
.team { display: flex; flex-direction: column; align-items: center; gap: 7px; font-weight: 800; text-align: center; font-size: .9rem; min-width: 0; line-height: 1.15; }
.team .n { min-height: 2.3em; }
.board { display: flex; align-items: center; gap: 6px; background: linear-gradient(180deg, var(--purple-2), var(--purple)); padding: 7px; border-radius: 16px 5px 16px 5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 8px 20px -10px rgba(56,0,60,.6); }
.board input, .board .digit { width: 56px; height: 66px; border: 0; border-radius: 10px; background: rgba(255,255,255,.09); color: #fff; text-align: center; font: 800 2.6rem/66px var(--cond); padding: 0; -moz-appearance: textfield; }
.board input::-webkit-outer-spin-button, .board input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.board input:focus { background: var(--green); color: var(--purple); outline: none; box-shadow: none; }
.board input::placeholder { color: rgba(255,255,255,.28); }
.board .colon { color: var(--green); font: 800 1.9rem var(--cond); }
.board .digit.empty { color: rgba(255,255,255,.28); }
.fx-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dashed var(--line-2); padding-top: 10px; margin-top: 14px; min-height: 44px; font-size: .84rem; color: var(--ink-2); }
.fx-foot .state { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.fx[data-state="error"] .fx-foot .state, form[data-state="error"] .state { color: var(--hot); }
form[data-state="saved"] .state { color: var(--ink); }
form[data-match][data-state="saved"] .btn, form[data-match][data-state="empty"] .btn { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.result { font: 800 1.15rem var(--cond); color: var(--ink); }
.ok-dot, .no-dot, .warn-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.ok-dot { background: var(--ok); } .no-dot { background: var(--ink-3); } .warn-dot { background: var(--hot); }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink); display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .spin { animation: spin .7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .fx.saved { animation: pulse 900ms ease-out 1; } @keyframes pulse { from { box-shadow: 0 0 0 3px var(--green); } to { box-shadow: var(--shadow); } } }
@media (max-width: 420px) { .board input, .board .digit { width: 48px; height: 58px; font-size: 2.2rem; line-height: 58px; } .team { font-size: .8rem; } .club.lg { width: 42px; height: 42px; } }
/* YES/NO questions inside a match card */
.fx-q { border-top: 1px solid var(--line); background: var(--surface-2); padding: 11px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.fx.locked .fx-q { background: var(--surface-3); }
.fx-q p { margin: 0; font-size: .86rem; font-weight: 600; line-height: 1.35; }
.fx-q .tag { display: inline-block; font: 800 .68rem/1 var(--body); color: var(--pink); margin-bottom: 4px; letter-spacing: .03em; }
.fx-q .state { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--ink-2); margin-top: 4px; }
.chip { display: inline-block; font: 800 .86rem var(--cond); padding: 2px 10px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.chip.p5 { background: var(--chip-5-bg); color: var(--chip-5-ink); } .chip.p3 { background: var(--chip-3-bg); color: var(--chip-3-ink); }
.chip.p2 { background: var(--chip-2-bg); color: var(--chip-2-ink); } .chip.p0 { background: transparent; color: var(--chip-0-ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.toggle { display: inline-flex; border-radius: 99px; background: var(--surface); padding: 3px; box-shadow: inset 0 0 0 1px var(--line-2); }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle label { margin: 0; padding: 6px 15px; border-radius: 99px; font: 800 .95rem var(--cond); cursor: pointer; color: var(--ink-2); }
.toggle input:checked + label { background: var(--solid-bg); color: var(--solid-ink); }
.toggle input:focus-visible + label { outline: 3px solid var(--accent); }
.toggle input:disabled + label { cursor: not-allowed; opacity: .65; }
.yn { display: grid; gap: 10px; }
.ynq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--shape); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.ynq p { margin: 0; font-weight: 600; }
.ynq .state { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 560px) { .ynq { grid-template-columns: 1fr; } .ynq .toggle { justify-self: start; } }

.gwnav { display: flex; gap: 6px; overflow-x: auto; margin: 18px 0 0; padding-bottom: 4px; scrollbar-width: none; }
.gwnav::-webkit-scrollbar { display: none; }
.gwnav a { flex: none; text-decoration: none; font: 800 1.02rem var(--cond); min-width: 40px; text-align: center; padding: 6px 10px; border-radius: 10px 3px 10px 3px; background: var(--surface); border: 1px solid var(--line); }
.gwnav a[aria-current="page"] { background: var(--solid-bg); color: var(--solid-ink); border-color: var(--solid-bg); }
.gwnav a.next { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 4px; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--shape-s); padding: 5px; margin: 0 0 20px; scrollbar-width: none; box-shadow: var(--shadow); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; background: none; border: 0; font: 800 .9rem var(--body); color: var(--ink-2); padding: 9px 14px; cursor: pointer; border-radius: 10px 3px 10px 3px; }
.tabs button:hover { color: var(--ink); background: var(--surface-2); }
.tabs button[aria-selected="true"] { color: var(--solid-ink); background: var(--solid-bg); }
.tabpanel[hidden] { display: none; }

/* ---------- gameweek ---------- */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; max-width: 640px; }
.pod { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--shape-s); padding: 10px 14px; text-decoration: none; min-width: 0; color: #fff; }
.pod .place { width: 32px; height: 32px; border-radius: 10px 3px 10px 3px; display: grid; place-items: center; font: 800 1.15rem var(--cond); flex: none; }
.pod.p1 .place { background: var(--green); color: var(--purple); } .pod.p2 .place { background: var(--cyan); color: var(--purple); } .pod.p3 .place { background: var(--pink); color: #fff; }
.pod .who { display: flex; flex-direction: column; min-width: 0; }
.pod .who b { font: 800 1.8rem/1 var(--cond); }
.pod .who span { font-size: .8rem; font-weight: 700; color: #e6d6e9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .pod { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; } .pod .who b { font-size: 1.5rem; } }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--shape); background: var(--surface); box-shadow: var(--shadow); }
.grid { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.grid th, .grid td { padding: 6px 7px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.grid thead th { font: 700 .76rem var(--body); color: var(--ink-2); vertical-align: bottom; background: var(--surface); }
.grid thead th.pl { writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; height: 112px; padding: 8px 4px; }
.grid thead th.pl a { text-decoration: none; }
.grid .fix { position: sticky; left: 0; background: var(--surface); text-align: left; z-index: 1; border-right: 1px solid var(--line); min-width: 150px; }
.grid .fix .r { font: 800 1.05rem var(--cond); }
.grid td.t { font: 700 1rem var(--cond); }
.grid td.t.p5 { background: var(--chip-5-bg); color: var(--chip-5-ink); } .grid td.t.p3 { background: var(--chip-3-bg); color: var(--chip-3-ink); }
.grid td.t.p2 { background: var(--chip-2-bg); color: var(--chip-2-ink); } .grid td.t.p0 { color: var(--chip-0-ink); } .grid td.t.hid { color: var(--ink-3); }
.grid tr.sum td { font: 800 1.05rem var(--cond); background: var(--surface-2); }
.grid tr.sum .fix { background: var(--surface-2); }
.grid tr.sum.total td { font-size: 1.35rem; }
.grid tr.sum td.best { background: var(--chip-5-bg); color: var(--chip-5-ink); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-2); margin: 12px 0 0; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 5px; }
.mcards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 370px), 1fr)); align-items: stretch; }
.mcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--shape); padding: 16px; box-shadow: var(--shadow); min-width: 0; display: flex; flex-direction: column; }
.mcard-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--ink-2); font-weight: 700; margin-bottom: 10px; }
.mcard-top { display: grid; grid-template-columns: minmax(0,1fr) 76px minmax(0,1fr); align-items: center; gap: 8px; }
.mcard-top .t { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: .92rem; min-width: 0; }
.mcard-top .t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard-top .t.a { justify-content: flex-end; text-align: right; }
.mcard-top .s { font: 800 1.9rem/1 var(--cond); text-align: center; background: var(--surface-2); border-radius: 10px 3px 10px 3px; padding: 6px 0; }
.consensus { display: flex; height: 6px; border-radius: 99px; overflow: hidden; gap: 2px; margin: 12px 0; }
.consensus i { display: block; height: 100%; border-radius: 99px; }
.c1 { background: var(--series-a); } .cx { background: var(--ink-3); } .c2 { background: var(--series-b); }
.tiplist { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.tip { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-radius: 10px 3px 10px 3px; padding: 5px 10px; min-width: 0; font-size: .8rem; font-weight: 700; background: var(--surface-2); }
.tip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tip b { font: 800 1.02rem var(--cond); font-variant-numeric: tabular-nums; flex: none; min-width: 26px; text-align: right; }
.tip.p5 { background: var(--chip-5-bg); color: var(--chip-5-ink); } .tip.p3 { background: var(--chip-3-bg); color: var(--chip-3-ink); }
.tip.p2 { background: var(--chip-2-bg); color: var(--chip-2-ink); } .tip.p0 { color: var(--ink-3); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.q-match { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 800; color: var(--ink-2); margin-bottom: 6px; }

/* ---------- stats ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: stretch; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--shape-s); padding: 15px; box-shadow: var(--shadow); min-width: 0; display: flex; flex-direction: column; }
.tile b { display: block; font: 800 2.4rem/1 var(--cond); }
.tile span { font-size: .8rem; color: var(--ink-2); font-weight: 700; margin-top: 4px; }
.tile small { display: block; color: var(--ink-3); font-size: .76rem; margin-top: auto; padding-top: 6px; }
.data { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .9rem; }
.data th, .data td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.data th { font: 700 .72rem var(--body); color: var(--ink-2); background: var(--surface); vertical-align: bottom; }
.data td { font: 600 1.04rem var(--cond); }
.data th:first-child, .data td:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); z-index: 1; font-family: var(--body); font-size: .86rem; font-weight: 800; }
.data tbody tr:hover td { background: var(--surface-2); }
.data td.lead { background: var(--chip-5-bg); color: var(--chip-5-ink); font-weight: 800; }
.sortable th { cursor: pointer; user-select: none; }
.sortable th:hover { color: var(--ink); }
.sortable th[aria-sort="descending"]::after { content: " ▼"; font-size: .6rem; } .sortable th[aria-sort="ascending"]::after { content: " ▲"; font-size: .6rem; }
.vert { writing-mode: vertical-rl; transform: rotate(180deg); text-align: left !important; height: 104px; padding: 8px 4px !important; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: minmax(96px, 150px) 1fr 54px; align-items: center; gap: 10px; font-size: .86rem; }
.bar .tr { height: 14px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar .tr i { display: block; height: 100%; background: var(--series-a); border-radius: 0 99px 99px 0; }
.bar .tr i.b { background: var(--series-b); }
.bar .v { text-align: right; font: 800 1.05rem var(--cond); }
.bar .n { display: flex; align-items: center; gap: 6px; font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.split { display: flex; height: 18px; border-radius: 6px; overflow: hidden; gap: 2px; min-width: 140px; }
.split i { display: grid; place-items: center; font: 700 .68rem/1 var(--cond); color: #fff; }
.heat td.h { font: 700 .98rem var(--cond); text-align: center; min-width: 40px; }
.heat td.h.top { box-shadow: inset 0 0 0 2px var(--pink); }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--body); fill: var(--ink-2); font-size: 11px; }
.chart .grid-l { stroke: var(--line); }
.chart .ln { fill: none; stroke: var(--muted-line); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart g.pl:hover .ln, .chart g.pl.on .ln { stroke: var(--series-a); stroke-width: 3; }
.chart g.pl circle { fill: var(--surface); stroke: var(--muted-line); stroke-width: 2; }
.chart g.pl.on circle, .chart g.pl:hover circle { stroke: var(--series-a); }
.chart g.pl .nm { font-weight: 700; fill: var(--ink-3); }
.chart g.pl.on .nm, .chart g.pl:hover .nm { fill: var(--ink); }
.chart .barv { fill: var(--series-a); } .chart .barv.best { fill: var(--series-b); }
.chart .barlab { font-family: var(--cond); font-weight: 800; fill: var(--ink); font-size: 13px; }
.chips-pick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.chips-pick button { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 5px 12px; font: 700 .8rem var(--body); cursor: pointer; }
.chips-pick button[aria-pressed="true"] { background: var(--series-a); border-color: var(--series-a); color: #fff; }
.h2h td.c { text-align: center; font: 700 .92rem var(--cond); min-width: 46px; }
.h2h td.w { background: color-mix(in srgb, var(--green) 30%, transparent); }
.h2h td.l { background: color-mix(in srgb, var(--pink) 15%, transparent); }
.cmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 12px; align-items: center; }
.cmp .lab { text-align: center; font-size: .78rem; color: var(--ink-2); font-weight: 700; padding: 7px 0; border-bottom: 1px solid var(--line); }
.cmp .a, .cmp .b { font: 800 1.4rem var(--cond); padding: 4px 0; border-bottom: 1px solid var(--line); }
.cmp .a { text-align: right; }
.cmp .a.win::before { content: "● "; color: var(--series-a); font-size: .7em; vertical-align: 3px; } .cmp .b.win::after { content: " ●"; color: var(--series-b); font-size: .7em; vertical-align: 3px; }
.cmp .lose { color: var(--ink-3); }
.key { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .9rem; }
.key i { width: 16px; height: 4px; border-radius: 2px; display: inline-block; }
select.pick { width: auto; min-width: 170px; font-weight: 700; }

/* ---------- player ---------- */
.profile { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.profile .avatar { width: 84px; height: 84px; font-size: 2rem; border-radius: 26px 8px 26px 8px; background: var(--green); }
.profile .rank { margin-left: auto; text-align: right; }
.profile .rank b { display: block; font: 800 4.6rem/.85 var(--cond); color: var(--green); }
.profile .rank span { font-size: .8rem; font-weight: 700; color: #e6d6e9; }
@media (max-width: 640px) { .profile .rank { margin-left: 0; text-align: left; } .profile .avatar { width: 64px; height: 64px; font-size: 1.5rem; } }
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 24px; }
.picks > div { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.picks .lbl { flex-basis: 100%; font-size: .76rem; color: var(--ink-2); font-weight: 700; }
.picks .teams { display: inline-flex; gap: 4px; flex-wrap: wrap; }

/* ---------- preseason ---------- */
.pre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.pre-row { display: grid; grid-template-columns: 22px minmax(0, 120px) minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.pre-row:last-child { border: 0; }
.pre-row .who { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pre-row .what { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; font-weight: 600; }
.pre-row .what.none { color: var(--ink-3); font-style: italic; }
.pre-top { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
.pre-top > span { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border-radius: 99px; padding: 3px 10px 3px 4px; font-size: .78rem; font-weight: 700; }

/* ---------- admin ---------- */
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th, .admin-table td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { font-size: .74rem; color: var(--ink-2); }
.admin-table input, .admin-table select { padding: 7px 9px; }
@media (max-width: 860px) {
  .admin-table.stackable thead { display: none; }
  .admin-table.stackable tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .admin-table.stackable td { border: 0; padding: 0; }
}
.inline { display: inline; }
details summary { cursor: pointer; font-weight: 800; }
.temp { font: 800 1.5rem var(--cond); background: color-mix(in srgb, var(--green) 25%, var(--surface)); padding: 12px 16px; border-radius: var(--shape-s); }
.rules ol { padding-left: 1.3em; } .rules li { margin-bottom: .5em; max-width: 72ch; }
.rules li::marker { color: var(--pink); font-weight: 800; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 70; background: var(--purple); color: #fff; padding: 11px 18px; border-radius: 99px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); text-align: center; }
.toast[hidden] { display: none; }
.preview-banner { background: var(--cyan); color: var(--purple); font-weight: 700; font-size: .84rem; }
.preview-banner div { max-width: var(--wrap); margin: 0 auto; padding: 7px 16px; }

/* ---------- login ---------- */
.login-wrap { min-height: calc(100vh - 62px); display: grid; place-items: center; padding: 30px 16px 80px; position: relative; overflow: hidden;
  background: radial-gradient(800px 400px at 85% 0%, rgba(4,245,255,.25), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(233,0,82,.25), transparent 60%), linear-gradient(160deg, var(--purple-2), var(--purple) 55%, var(--purple-3)); }
.login-wrap::before { content: "BETTING LEAGUE"; position: absolute; left: -2vw; bottom: -2vw; font: 800 18vw/0.8 var(--cond); color: rgba(255,255,255,.04); white-space: nowrap; pointer-events: none; }
.login-card { position: relative; width: 100%; max-width: 420px; background: var(--surface); border-radius: var(--shape); padding: 28px; box-shadow: var(--shadow-lg); }
.login-card h1 { font-size: 2.6rem; }
.login-hero { color: #fff; text-align: center; margin-bottom: 22px; position: relative; }
.login-hero .brand-mark { width: 56px; height: 56px; font-size: 28px; margin: 0 auto 12px; border-radius: 18px 5px 18px 5px; }
.login-hero b { display: block; font: 800 3rem/1 var(--cond); }
.login-hero span { color: #e6d6e9; font-weight: 700; }


/* =====================================================================
   Theme-aware chrome: header, ticker, tab bar, band (tokens above)
   ===================================================================== */
body::before { background: var(--head-bg); }
.mast { background: var(--head-bg); color: var(--head-ink); box-shadow: 0 1px 0 var(--head-line); }
.topnav a, .me-link, .icon-btn { color: var(--head-ink); }
.icon-btn { background: var(--head-hover); }
.icon-btn:hover { background: var(--glass-line); }
.ticker { background: var(--ticker-bg); color: var(--ticker-ink); border-top: 1px solid var(--head-line); border-bottom: 1px solid var(--head-line); }
.ticker .lbl { color: var(--ticker-acc); }
.ticker .muted { color: var(--band-ink-2); }
.ticker .sep { background: var(--glass-line); }
.ticker a.go { color: var(--ticker-go); }
@media (max-width: 860px) {
  .tabbar { background: var(--head-bg); color: var(--head-ink); border-top: 1px solid var(--head-line); }
}
.band { background: var(--band-bg); color: var(--band-ink); box-shadow: var(--band-edge); }
.band h1, .band a, .band .when strong, .hero-note strong { color: var(--band-ink); }
.band .kicker { color: var(--band-kicker); }
.band .lead, .when, .hero-note { color: var(--band-ink-2); }
.bstat { background: var(--glass); border-color: var(--glass-line); }
.bstat b { color: var(--band-ink); }
.bstat b.g { color: var(--hi-g); } .bstat b.c { color: var(--hi-c); } .bstat b.p { color: var(--hi-p); }
.bstat span { color: var(--band-ink-2); }
.band .gwnav a { background: var(--glass); border-color: var(--glass-line); color: var(--band-ink); }
.band .gwnav a[aria-current="page"] { background: var(--green); color: #38003c; border-color: var(--green); }
.band .btn.ghost { color: var(--band-ink); box-shadow: inset 0 0 0 1.5px var(--glass-line); }
.count div { background: var(--glass); border-color: var(--glass-line); }
.count b { color: var(--hi-count); }
.count span { color: var(--band-ink-2); }
.progress { background: var(--glass-2); }
.fixture-list { background: var(--glass); border-color: var(--glass-line); }
.fixture-list .day { color: var(--hi-c); }
.fl { background: var(--glass-2); color: var(--band-ink); }
.fl:hover { background: var(--glass-line); }
.fl .ko { color: var(--band-ink-2); }
.fl .sc { background: var(--glass-line); }
.fl .sc.live { background: var(--pink); color: #fff; }
.fl .mt.ok { color: var(--hi-g); } .fl .mt.miss { color: var(--hot); }
.pod { background: var(--glass); border-color: var(--glass-line); color: var(--band-ink); }
.pod .who span { color: var(--band-ink-2); }
.profile .rank b { color: var(--hi-count); }
.profile .rank span { color: var(--band-ink-2); }
.login-wrap { background: var(--band-bg); }
.login-wrap::before { color: var(--glass-2); }
.login-hero { color: var(--band-ink); }
.login-hero span { color: var(--band-ink-2); }
.board { box-shadow: inset 0 0 0 1px rgba(4,245,255,.2), 0 10px 24px -12px rgba(20,0,24,.7); }

.mq { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.mq-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mq .tag { font: 800 .68rem/1 var(--body); color: var(--hot); letter-spacing: .03em; }
.mq p { margin: 6px 0 8px; font-weight: 700; font-size: .88rem; line-height: 1.35; }
.grid tr.qrow td { background: var(--surface-2); }
.grid tr.qrow .fix { background: var(--surface-2); max-width: 240px; }
.qcell { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.grid tr.qrow .qtxt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; font-weight: 600; min-width: 0; }
.grid tr.qrow td.t { font-size: .9rem; }

/* ---------- logo: four diamonds + wordmark ---------- */
.logo-mark { flex: none; color: var(--head-ink); display: block; }
.brand { gap: 11px; }
.wordmark b { display: block; font: 800 1.32rem/0.95 var(--cond); text-transform: uppercase; letter-spacing: .03em; }
.wordmark small { display: block; font: 700 .7rem/1 var(--body); opacity: .7; margin-top: 4px; letter-spacing: .01em; }
.login-hero .logo-mark { color: var(--band-ink); margin: 0 auto 14px; }
.login-hero b { text-transform: uppercase; letter-spacing: .03em; }
.season-pill { display: inline-block; margin-top: 10px; background: var(--pink); color: #fff !important; font: 800 .78rem/1 var(--body); padding: 5px 11px; border-radius: 99px; }

/* ---- v5: preseason live state ---- */
.chip.live { background: var(--chip-5-bg); color: var(--chip-5-ink); }
.chip.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; animation: blpulse 1.6s ease-in-out infinite; }
.chip.faint { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }
@keyframes blpulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .chip.live::before { animation: none; } }
.pre-grid { align-items: stretch; }
.pre-card { display: flex; flex-direction: column; }
.live-box { background: var(--surface-2); border-radius: var(--shape-s); padding: 10px 12px; margin: 2px 0 12px; border-left: 3px solid var(--hi-g); }
.live-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font: 800 .8rem var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 6px; }
.live-head small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-3); }
.live-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.live-board li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-2); min-width: 0; }
.live-board li .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.live-board li .val { margin-left: auto; font: 700 .86rem var(--cond); white-space: nowrap; }
.live-board li.lead { color: var(--ink); font-weight: 800; }
.live-board li.lead .val { font-weight: 800; font-size: .95rem; color: var(--hi-g); }
.live-teams { display: flex; flex-wrap: wrap; gap: 6px; }
.live-teams .lt { display: inline-flex; align-items: center; gap: 5px; background: var(--surface); border-radius: 99px; padding: 3px 10px 3px 4px; font-size: .8rem; font-weight: 700; }
.live-teams .lt b { font: 800 .8rem var(--cond); color: var(--ink-3); margin-left: 4px; }
.pre-row .pts { font: 800 1.05rem var(--cond); min-width: 22px; text-align: right; }
.pre-row .pts.prov { color: var(--ink-3); }
.pre-row.hit .pts { color: var(--hi-g); }
.pre-row.hit .pts.prov { color: var(--hi-g); opacity: .85; }
.pre-row .crests { gap: 4px; }
.pre-row .cr { display: inline-flex; border-radius: 50%; padding: 1px; box-shadow: inset 0 0 0 2px transparent; }
.pre-row .cr.in { box-shadow: 0 0 0 2px var(--hi-c); }
.pre-row .cr.exact { box-shadow: 0 0 0 2px var(--hi-g); }
.cr-key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; }
.cr-key.in { box-shadow: inset 0 0 0 2px var(--hi-c); } .cr-key.exact { box-shadow: inset 0 0 0 2px var(--hi-g); }
.pre-sum .bars .bar .n a { color: inherit; text-decoration: none; }

/* ---- v5: stats layout ---- */
.cols.eq { align-items: stretch; }
.cols.eq > .card, .cols.eq > .stack > .card { display: flex; flex-direction: column; }
.stack { display: grid; gap: 20px; align-content: start; min-width: 0; }
.list.scrollable { flex: 1 1 0; min-height: 160px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.dist { display: flex; height: 26px; border-radius: 8px; overflow: hidden; gap: 2px; margin: 6px 0 8px; }
.dist i { display: grid; place-items: center; font: 800 .74rem/1 var(--cond); color: #fff; min-width: 0; overflow: hidden; }
.dist .d5 { background: var(--chip-5-bg); color: var(--chip-5-ink); } .dist .d3 { background: var(--chip-3-bg); color: var(--chip-3-ink); }
.dist .d2 { background: var(--chip-2-bg); color: var(--chip-2-ink); } .dist .d0 { background: var(--surface-3); color: var(--ink-2); }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.mini-stats div b { display: block; font: 800 1.6rem/1 var(--cond); }
.mini-stats div span { font-size: .76rem; color: var(--ink-2); font-weight: 700; }
.mt { margin-top: 20px; }
.delta { font: 800 .8rem var(--cond); margin-left: 6px; }
.delta.up { color: var(--hi-g); } .delta.down { color: var(--hi-p); } .delta.same { color: var(--ink-3); }
table.data td.pct { white-space: nowrap; }
.pct-bar { display: inline-block; width: 46px; height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; vertical-align: middle; margin-left: 6px; }
.pct-bar i { display: block; height: 100%; background: var(--series-a); }

/* ---- v5: rules ---- */
.rules-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.rules-toc { position: sticky; top: 84px; padding: 16px 18px; }
.rules-toc b { font: 800 .8rem var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.rules-toc ol { margin: 8px 0 0; padding-left: 1.4em; font-size: .9rem; }
.rules-toc li { margin: 4px 0; }
.rules-toc a { color: var(--ink); text-decoration: none; font-weight: 600; }
.rules-toc a:hover { color: var(--accent); }
.rules { max-width: 820px; }
.rules h2.sec { scroll-margin-top: 90px; margin-top: 28px; }
.rules h2.sec:first-child { margin-top: 0; }
.rules ul { margin: 6px 0 0; padding-left: 1.2em; }
.rules ul li { margin-bottom: .3em; }
.rules-ex { background: var(--surface-2); border-radius: var(--shape-s); padding: 14px; margin: 4px 0 8px; }
.rules-ex table.data { background: transparent; }
@media (max-width: 860px) {
  .rules-wrap { grid-template-columns: 1fr; }
  .rules-toc { position: static; }
  .rules-toc ol { columns: 2; column-gap: 20px; }
}
.pre-row .what { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pre-row .crests { gap: 3px; }
.pre-row .cr .club.sm { width: 20px; height: 20px; }
.cols.wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.rules-wrap > * { min-width: 0; }
.rules-ex { overflow-x: auto; }
@media (max-width: 520px) { .rules-toc ol { columns: 1; } }

/* ---- v6: match cards before kickoff ---- */
.mcard-top .s.ko { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 0 6px; }
.mcard-top .s.ko b { font: 800 1.35rem/1 var(--cond); }
.mcard-top .s.ko small { font: 700 .66rem/1 var(--body); color: var(--ink-3); white-space: nowrap; }
.mcard-top .s.is-live { box-shadow: inset 0 0 0 2px var(--hot); }
.tip.done b { color: var(--ok); }
.tip.none { background: transparent; color: var(--ink-3); border: 1px dashed var(--line-2); padding: 4px 9px; }
.tip.none b { color: var(--ink-3); font-weight: 600; }
.tip.mine { box-shadow: inset 0 0 0 2px var(--accent); }
.tip.lv { position: relative; outline: 2px dashed var(--hot); outline-offset: -2px; }
.tip-note { margin: auto 0 0; padding-top: 10px; font-size: .74rem; color: var(--ink-3); font-weight: 600; }
.tip-note .dot-ok { display: inline-block; color: var(--ok); }
.tip-note .dot-ok::before { content: "✓"; margin-right: 3px; font-weight: 800; }
.tip-note .dash { margin-right: 3px; font-weight: 800; }
.mcard .mq { margin-top: 12px; }

/* ---- v6: badges ---- */
.medal { --m1: #6b5a70; --m2: #4a3a50; --sz: 54px; position: relative; display: inline-grid; place-items: center; width: var(--sz); height: calc(var(--sz) * 1.08); flex: none; isolation: isolate; }
.medal::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%); background: linear-gradient(145deg, var(--m1), var(--m2)); }
.medal::after { content: ""; position: absolute; inset: 4px; z-index: -1; clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%); background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.35), rgba(255,255,255,0) 60%), linear-gradient(145deg, var(--m2), var(--m1)); }
.medal .mi { font-size: calc(var(--sz) * .44); line-height: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.medal .pips { position: absolute; bottom: calc(var(--sz) * -.04); display: flex; gap: 2px; }
.medal .pips b { width: calc(var(--sz) * .13); height: calc(var(--sz) * .13); border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--m2); }
.medal.t0 .mi { filter: grayscale(1); opacity: .35; }
.medal.t0::before { background: var(--surface-3); } .medal.t0::after { background: var(--surface-2); }
.medal.t1 { --m1: #e59a5b; --m2: #8a4b1f; }
.medal.t2 { --m1: #eef2f7; --m2: #8592a3; }
.medal.t3 { --m1: #ffe17a; --m2: #c58a00; }
.medal.t3::before { box-shadow: 0 0 18px #ffd34d; }
.medal.fun.t1, .medal.fun.t2, .medal.fun.t3 { --m1: #ff5c98; --m2: #6b2bd1; }
.medal.sm { --sz: 34px; } .medal.lg { --sz: 76px; } .medal.xs { --sz: 26px; }
.medal.sm .pips b, .medal.xs .pips b { width: 4px; height: 4px; }
.medal.t3.lg { animation: blshine 3.5s ease-in-out infinite; }
@keyframes blshine { 50% { filter: brightness(1.15) drop-shadow(0 0 10px rgba(255, 211, 77, .6)); } }
@media (prefers-reduced-motion: reduce) { .medal.t3.lg { animation: none; } }
.badge-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.badge-feed li { display: flex; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.badge-feed li:last-child { border: 0; }
.badge-feed .lab { display: block; font-size: .74rem; color: var(--ink-2); font-weight: 700; }
.badge-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.bcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--shape); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bcard-head { display: flex; gap: 14px; align-items: center; }
.bcard-head h3 { margin: 0; font: 800 1.25rem/1.1 var(--cond); text-transform: uppercase; letter-spacing: .02em; }
.bcard-head p { margin: 3px 0 0; font-size: .82rem; color: var(--ink-2); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tiers .tr { border-radius: 10px 3px 10px 3px; padding: 6px 8px; background: var(--surface-2); font-size: .74rem; font-weight: 700; color: var(--ink-2); min-width: 0; }
.tiers .tr b { display: block; font: 800 .78rem var(--cond); text-transform: uppercase; letter-spacing: .05em; }
.tiers .tr.t1 b { color: #b8692f; } .tiers .tr.t2 b { color: #8592a3; } .tiers .tr.t3 b { color: #c58a00; }
:root[data-bl-theme="dark"] .tiers .tr.t1 b { color: #f0a96a; } :root[data-bl-theme="dark"] .tiers .tr.t3 b { color: #ffd34d; }
.tiers .tr .cnt { display: block; margin-top: 2px; font-size: .7rem; color: var(--ink-3); }
.tiers .tr.mine { box-shadow: inset 0 0 0 2px var(--accent); }
.holders { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.holders .avatar { width: 26px; height: 26px; font-size: .62rem; }
.bprog { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; color: var(--ink-2); margin-top: auto; }
.bprog .bar-in { flex: 1; height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bprog .bar-in i { display: block; height: 100%; background: linear-gradient(90deg, var(--hi-c), var(--hi-g)); border-radius: 99px; }
.trophies { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.trophy { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--shape-s); padding: 12px 14px; color: var(--band-ink); min-width: 0; }
.trophy .ic { font-size: 1.6rem; line-height: 1; }
.trophy b { display: block; font: 800 1rem var(--cond); text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }
.trophy .who { font-weight: 800; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trophy small { display: block; color: var(--band-ink-2); font-size: .76rem; font-weight: 700; }
.shelf { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.collect-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.collect-row:last-child { border: 0; }
.collect-row .pos { font: 800 1.1rem var(--cond); color: var(--ink-3); text-align: center; }
.collect-row .nm { font-weight: 800; display: flex; align-items: center; gap: 8px; min-width: 0; }
.collect-row .nm a { color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collect-row .mini { display: flex; gap: 2px; flex-wrap: wrap; margin-top: 4px; }
.collect-row .sc { font: 800 1.5rem var(--cond); text-align: right; }
.collect-row .sc small { display: block; font: 700 .7rem var(--body); color: var(--ink-3); }
.medal-count { display: inline-flex; gap: 8px; font: 800 .82rem var(--cond); }
.medal-count i { font-style: normal; display: inline-flex; align-items: center; gap: 3px; }
.medal-count i::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.near { display: grid; gap: 10px; }
.near-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }
.near-row .t { font-weight: 800; font-size: .9rem; }
.near-row .bprog { margin: 4px 0 0; }
.band-h { font: 800 1.05rem var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--band-kicker); margin: 26px 0 10px; }

/* ---- v6: recap, live ---- */
.recap-list { list-style: none; margin: 0; padding: 0; }
.recap-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.recap-list li:last-child { border: 0; }
.recap-list .ri { font-size: 1.35rem; text-align: center; }
.recap-list .lab { display: block; font-size: .74rem; color: var(--ink-2); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.recap-list a { color: inherit; font-weight: 800; }
.recap-list b { font: 800 1.4rem var(--cond); }
.recap-list b.up { color: var(--hi-g); } .recap-list b.down { color: var(--hi-p); }
.recap-text { width: 100%; font: 500 .84rem/1.5 var(--body); background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--shape-s); padding: 12px; resize: vertical; min-height: 220px; }
.live-card { border-color: var(--hot); box-shadow: 0 0 0 1px var(--hot), var(--shadow); }
.lv-match { padding: 10px 0; border-bottom: 1px solid var(--line); }
.lv-match:last-child { border: 0; padding-bottom: 0; }
.lv-score { display: flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--ink); }
.lv-score b { font: 800 1.5rem var(--cond); padding: 0 6px; color: var(--hot); }
.lv-score span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-who { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 5px; margin-top: 8px; }
.live-delta { display: block; font: 800 .72rem var(--cond); color: var(--hot); animation: blpulse 1.6s ease-in-out infinite; }
.live-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .85rem; color: var(--ink-2); margin: 0 0 14px; }
/* archive */
.season-card { display: grid; gap: 10px; }
.season-card .champ { display: flex; align-items: center; gap: 12px; }
.season-card .champ b { font: 800 1.6rem var(--cond); }
.podium-mini { display: grid; gap: 4px; }
.podium-mini div { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: .9rem; }
.danger-zone { border-color: var(--hot); }
footer { flex-wrap: wrap; } .foot-nav { margin-left: auto; display: flex; gap: 14px; } .foot-nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; } .foot-nav a:hover { color: var(--accent); }

.fl .sc.vs { font: 700 .78rem var(--body); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; background: transparent; }

/* ---- v6.1: scoreboard strip separated from the tips ---- */
.mcard-top { background: var(--surface-2); border-radius: 14px 4px 14px 4px; padding: 10px 12px; }
.mcard-top .s { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2), 0 2px 6px rgba(0,0,0,.12); }
.mcard-top .s.ko small:empty { display: none; }
.tips-h { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; font: 800 .7rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.tips-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.mcard .consensus { margin: 12px 2px 0; }

/* ---- v6.2: top menu never wraps ---- */
.topnav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1240px) {
  .topnav a { padding: 0 8px; font-size: .86rem; }
  .topnav a[aria-current="page"]::after { left: 6px; right: 6px; }
  .me-link .nm { display: none; }
}
@media (min-width: 861px) and (max-width: 1080px) { .topnav a.opt1 { display: none; } .wordmark small { display: none; } }
@media (min-width: 861px) and (max-width: 980px) { .topnav a.opt2 { display: none; } }
.badge-rules .bname { font-weight: 800; white-space: nowrap; } .badge-rules td { vertical-align: top; } .badge-rules td.small { min-width: 90px; }
.rule-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; margin: 6px 0 10px; }
.rb { background: var(--surface-2); border-radius: var(--shape-s); padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rb.fun { box-shadow: inset 3px 0 0 #ff5c98; }
.rb-h { display: flex; align-items: center; gap: 8px; }
.rb-h .ic { font-size: 1.3rem; }
.rb-h b { font: 800 1.05rem var(--cond); text-transform: uppercase; letter-spacing: .03em; }
.rb-h .chip { margin-left: auto; font-size: .72rem; }
.rb p { margin: 0; font-size: .8rem; color: var(--ink-2); }
.rb .tiers .tr { background: var(--surface); }

/* ---- v6.3: mobile fixes ---- */
.fl .mt { margin-top: 0; }
.fixture-list { background: var(--panel); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hof-table th, .hof-table td { padding-left: 6px; padding-right: 6px; text-align: center; }
.hof-table th:first-child, .hof-table td:first-child { text-align: left; padding-left: 0; }
.rules-ex table.data th, .rules-ex table.data td { white-space: normal; }
@media (max-width: 860px) {
  .card.scroll:has(> .admin-table.stackable) { overflow: visible; }
  .admin-table.stackable td:first-child, .admin-table.stackable td:last-child { grid-column: 1 / -1; white-space: normal !important; }
  .admin-table.stackable td:first-child { font-weight: 800; font-size: .95rem; }
  .admin-table.stackable td[data-label]::before { content: attr(data-label); display: block; font: 800 .66rem var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 4px; }
  .admin-table.stackable input:not([type="checkbox"]):not([type="number"]), .admin-table.stackable select { width: 100%; min-width: 0 !important; }
  .admin-table.stackable td:last-child { display: flex; flex-wrap: wrap; gap: 6px; }
}
@media (max-width: 560px) {
  .band-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bstat { min-width: 0; }
  .bstat b { font-size: 1.7rem; }
  .fx form[data-match] { padding: 12px 12px 10px; }
  .fx-head { margin-bottom: 8px; }
  .fx-foot { margin-top: 10px; padding-top: 8px; min-height: 40px; }
  .board input, .board .digit { width: 52px; height: 60px; font-size: 2.3rem; line-height: 60px; }
  .team .club.lg { width: 42px; height: 42px; }
  .team .n { min-height: 0; }
  .mcard-top .t span { font-size: .86rem; }
  .mcard-top { grid-template-columns: minmax(0,1fr) 70px minmax(0,1fr); padding: 9px 10px; gap: 6px; }
  .ticker a.go { display: none; }
}
@media (max-width: 860px) {
  .admin-table.stackable tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .admin-table.stackable input[type="number"] { width: 48px !important; }
  .admin-table.stackable input[type="datetime-local"] { font-size: .8rem; padding: 7px 6px; }
}

/* ---- v6.4: footer at the bottom, no empty strip on short pages ---- */
html { background: var(--bg); min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; box-sizing: border-box; }
body > footer { width: 100%; box-sizing: border-box; flex: none; }
@media (max-width: 860px) {
  body { padding-bottom: 0; }
  body:has(.tabbar) { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  footer, body > footer { padding-bottom: 22px; }
}
body > .login-wrap { flex: 1 0 auto; min-height: 0; }
main.login-main { flex: none; margin: 0 auto; padding-bottom: 0; }
main.login-main:not(:has(.flash)) { display: none; }
body > footer { padding-top: 16px; }

/* ---- v6.5: polish ---- */
/* home: fixture rows */
.fl { min-height: 40px; }
.fl > * { align-self: center; }
.fl .mt { justify-self: end; display: inline-flex; align-items: center; justify-content: center; height: 24px; min-width: 44px; padding: 0 9px; border-radius: 99px; line-height: 1; margin: 0; box-sizing: border-box; }
.fl .mt.miss { font: 800 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--hot); box-shadow: inset 0 0 0 1.5px currentColor; }
.fl .mt.ok { font: 800 .95rem/1 var(--cond); background: color-mix(in srgb, var(--hi-g) 16%, transparent); color: var(--hi-g); }
.fl .mt:not(.ok):not(.miss) { color: var(--ink-3); }
.fl .sc { display: flex; align-items: center; justify-content: center; height: 26px; padding: 0; }
.fl .ko { line-height: 1; }
/* typing card: crests and board on one line, names under the crests */
.fx-body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: center; }
.fx-body .crest { grid-row: 1; display: flex; justify-content: center; }
.fx-body .crest.h { grid-column: 1; } .fx-body .crest.a { grid-column: 3; }
.fx-body .board { grid-row: 1; grid-column: 2; }
.fx-body .tn { grid-row: 2; text-align: center; font-weight: 800; font-size: .9rem; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-body .tn.h { grid-column: 1; } .fx-body .tn.a { grid-column: 3; }
.fx-body .club.lg { width: 52px; height: 52px; }
.board input::placeholder { color: rgba(255,255,255,.22); font-weight: 700; }
.board input:placeholder-shown { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.10); }
.board .colon { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.fx-head { align-items: center; }
.fx-head .ko { display: inline-flex; align-items: baseline; gap: 6px; }
.fx-head .ko b { margin-right: 0; }
.fx-foot .btn.small { min-width: 84px; }
@media (max-width: 560px) { .fx-body .club.lg { width: 42px; height: 42px; } .fx-body { column-gap: 8px; } .fx-body .tn { font-size: .84rem; } }
/* hall of fame */
.hof .card-head { flex-wrap: wrap; gap: 8px 16px; }
.hof-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.hof-grid { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.hof-tile { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--surface-2); border-radius: var(--shape-s); padding: 12px 14px; }
.hof-tile.top { background: linear-gradient(135deg, color-mix(in srgb, #ffd34d 22%, var(--surface-2)), var(--surface-2)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #ffd34d 55%, transparent); }
.hof-pos { font: 800 1.5rem/1 var(--cond); color: var(--ink-3); text-align: center; }
.hof-tile.top .hof-pos { color: #c58a00; }
.hof-main { min-width: 0; display: grid; gap: 4px; }
.hof-name { font-weight: 800; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-medals { display: flex; flex-wrap: wrap; gap: 2px; font-size: 1.25rem; line-height: 1; }
.hof-medals i { font-style: normal; }
.hof-tot { text-align: right; }
.hof-tot b { display: block; font: 800 1.8rem/1 var(--cond); }
.hof-tot small { font-size: .7rem; font-weight: 700; color: var(--ink-3); }
.fx-body { align-content: center; }
.hof-name { white-space: normal; overflow: visible; line-height: 1.2; }
@media (max-width: 560px) {
  .fl { grid-template-columns: 38px minmax(0,1fr) 22px minmax(0,1fr) 50px; gap: 6px; }
  .fl .mt { min-width: 0; padding: 0 7px; height: 22px; }
  .fl .mt.miss { font-size: .62rem; letter-spacing: .03em; }
  .fl .sc.vs { font-size: .64rem; }
}
footer .ver { color: var(--ink-3); opacity: .8; }

/* ---- v6.6: preseason pick chips (instead of rings) ---- */
.pre-row .crests { gap: 4px; flex-wrap: nowrap; }
.pre-row .cr { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; padding: 0; box-shadow: none !important; background: var(--surface-2); }
.pre-row .cr .club.sm { width: 20px; height: 20px; }
.pre-row .cr.in { background: color-mix(in srgb, var(--hi-c) 26%, var(--surface-2)); }
.pre-row .cr.exact { background: color-mix(in srgb, var(--hi-g) 34%, var(--surface-2)); }
.pre-row .cr.exact i { position: absolute; right: -4px; top: -5px; width: 13px; height: 13px; border-radius: 50%; background: var(--hi-g); color: var(--purple); font: 900 .55rem/13px var(--body); text-align: center; font-style: normal; box-shadow: 0 0 0 2px var(--surface); }
.pre-row .cr.out { background: transparent; box-shadow: inset 0 0 0 1px var(--line) !important; }
.pre-row .cr.out .club { opacity: .4; filter: grayscale(.6); }
.cr-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; font-size: .76rem; font-weight: 700; color: var(--ink-2); }
.cr-key { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; font: 900 .55rem/1 var(--body); box-shadow: none; }
.cr-key.exact { background: var(--hi-g); color: var(--purple); }
.cr-key.in { background: color-mix(in srgb, var(--hi-c) 45%, var(--surface-2)); }
.cr-key.out { box-shadow: inset 0 0 0 1px var(--line-2); }
.live-box.owner-only { border-left-color: var(--hot); }
.leg-grid { display: grid; gap: 10px 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.leg-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; font-size: .82rem; color: var(--ink-2); }
.leg-item > :first-child { justify-self: center; }
.leg-item b { display: block; color: var(--ink); font-size: .88rem; }
.leg-box { width: 34px; height: 22px; border-radius: 8px 3px 8px 3px; background: var(--surface-2); }
.leg-box.mine { box-shadow: inset 0 0 0 2px var(--accent); }
.leg-bar { width: 36px; height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.leg-bar i { display: block; width: 60%; height: 100%; background: linear-gradient(90deg, var(--hi-c), var(--hi-g)); }
.leg-ava { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: var(--purple); font: 800 .6rem var(--body); }
.leg-ic { font-size: 1.4rem; }
.tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pre-row .cr.in { background: color-mix(in srgb, var(--hi-c) 42%, transparent); }
.pre-row .cr.exact { background: color-mix(in srgb, var(--hi-g) 55%, transparent); }
.pre-row .cr.out .club { opacity: .32; }

/* ---- v6.7: no sliding tables ---- */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px 4px 14px 4px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--ink-2); font: 800 .86rem var(--body); padding: 7px 14px; border-radius: 10px 3px 10px 3px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--solid-bg); color: var(--solid-ink); }
.flat-table { padding: 6px 14px; }
table.views .v-a, table.views .v-b, table.views .v-c { display: none; }
table.views[data-view="a"] .v-a, table.views[data-view="b"] .v-b, table.views[data-view="c"] .v-c { display: table-cell; }
table.views th { white-space: normal; line-height: 1.15; }
.pl-name { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: inherit; }
.nm-short { display: none; }
/* best value in a column: tinted, not a solid block */
.data td.lead { background: color-mix(in srgb, var(--hi-g) 18%, transparent); color: var(--hi-g); font-weight: 800; box-shadow: inset 0 -2px 0 var(--hi-g); }
:root:not([data-bl-theme="dark"]) .data td.lead { color: #00804a; }
@media (prefers-color-scheme: dark) { :root:not([data-bl-theme="light"]) .data td.lead { color: var(--hi-g); } }
.bump-wrap { width: 100%; }
.h2h-mobile { display: none; }
.h2h-score { margin-left: auto; font: 800 1.05rem var(--cond); padding: 2px 10px; border-radius: 99px; background: var(--surface-2); }
.h2h-score.w { background: color-mix(in srgb, var(--hi-g) 25%, transparent); }
.h2h-score.l { background: color-mix(in srgb, var(--hi-p) 18%, transparent); }
@media (max-width: 700px) {
  .data th, .data td { padding: 8px 5px; }
  .data th { font-size: .66rem; white-space: normal; line-height: 1.15; }
  .data td { font-size: .92rem; }
  .data th:first-child, .data td:first-child { font-size: .8rem; }
  .data .club.sm { display: none; }
  .nm-full { display: none; } .nm-short { display: inline; }
  .hide-sm { display: none !important; }
  .heat .old { display: none; }
  .pct-bar { display: none; }
  .flat-table { padding: 2px 8px; }
  .seg { display: flex; } .seg button { flex: 1; padding: 7px 8px; font-size: .8rem; }
  .h2h-mobile { display: block; } .h2h-desktop { display: none; }
  .h2h-mobile select { margin: 4px 0 8px; }
}
.gw-sum-mobile { display: none; }
@media (max-width: 700px) { .gw-sum-mobile { display: block; } .gw-grid-desktop { display: none; } #v-table + .legend, #v-table .legend { display: none; } }
@media (max-width: 700px) { .heat th, .heat td { padding-left: 3px; padding-right: 3px; } }
@media (max-width: 900px) {
  .hide-sm { display: none !important; }
  .h2h-mobile { display: block; } .h2h-desktop { display: none; }
  .data .club.sm { display: none; }
}
@media (max-width: 1100px) {
  .admin-table.stackable thead { display: none; }
  .admin-table.stackable tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .admin-table.stackable td { border: 0; padding: 0; }
  .admin-table.stackable td:first-child, .admin-table.stackable td:last-child { grid-column: 1 / -1; white-space: normal !important; }
  .admin-table.stackable td:first-child { font-weight: 800; font-size: .95rem; }
  .admin-table.stackable td[data-label]::before { content: attr(data-label); display: block; font: 800 .66rem var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 4px; }
  .admin-table.stackable input:not([type="checkbox"]):not([type="number"]), .admin-table.stackable select { width: 100%; min-width: 0 !important; }
  .admin-table.stackable td:last-child { display: flex; flex-wrap: wrap; gap: 6px; }
  .card.scroll:has(> .admin-table.stackable) { overflow: visible; }
}
@media (min-width: 701px) and (max-width: 1100px) { .admin-table.stackable tr { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.data td.lead { background: rgba(0,163,92,.12); color: #00804a; box-shadow: inset 0 -2px 0 currentColor; }
:root[data-bl-theme="dark"] .data td.lead { background: rgba(0,255,133,.10); color: #00ff85; }
@media (prefers-color-scheme: dark) { :root:not([data-bl-theme="light"]) .data td.lead { background: rgba(0,255,133,.10); color: #00ff85; } }
@media (max-width: 380px) {
  .data th, .data td { padding: 7px 3px; }
  .data td { font-size: .86rem; }
  .data th { font-size: .6rem; }
  .data th:first-child, .data td:first-child { font-size: .74rem; }
  .flat-table { padding: 2px 6px; }
  .standings td, .standings th { padding: 7px 3px; }
  .standings .player-cell .club { display: none; }
  .card { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 380px) { .heat .old3 { display: none; } }
