/* Waxysplash site, 2026-11 redesign: "Phantom match centre".
   Dark olive pitch-side panels, cream lettering, brass lines, gold for the best, red for LIVE and losses.
   Same crest palette as everything else (cream #e9dcbb, olive #2a2a1e, brass #b9985a, red #9d3a2b, gold #d9a63b). No purple.
   Class names are the old ones, so every page picks up the new look; page-specific bits live in each page. */
@font-face { font-family: "Barlow Condensed"; src: url("brand/fonts/BarlowCondensed-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
:root {
  --bg: #15150e; --bg-2: #1b1b13; --panel: #212118; --panel-2: #2a2a1e; --panel-3: #33331f;
  --line: #3e3d2b; --line-2: #57553b;
  --text: #ede2c4; --muted: #a8a07e; --dim: #7d7759;
  --cream: #e9dcbb; --olive: #2a2a1e; --brass: #b9985a; --gold: #d9a63b; --red: #9d3a2b; --red-2: #c0503a;
  --accent: #d9a63b; --accent-2: #d9a63b; --ink: #ede2c4; --khaki: #9b9a6a;
  --win: #6f8f2e; --loss: #b8472f; --draw: #7d7759;
  --radius: 14px; --r-sm: 9px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Zilla Slab", Rockwell, Georgia, serif;
  --num: "Barlow Condensed", "Inter", sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-color: var(--line-2) var(--bg); }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
body { min-height: 100vh; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  background: radial-gradient(1200px 500px at 50% -200px, rgba(185,152,90,.10), transparent 70%), var(--bg); }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 20px 16px 64px; }
.num, .big-num { font-family: var(--num); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* ---------- navigation (nav.js, 26 Nov 2026) ---------- */
/* Desktop: top bar with grouped dropdowns of link cards and a gold underline that follows the pointer.
   Phones: a slim top bar plus an app-style tab bar at the bottom that slides up a sheet for each group. */
.bar { position: sticky; top: 0; z-index: 60; background: rgba(21,21,14,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1120px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 14px; }
.bar-home { display: flex; align-items: center; gap: 10px; color: var(--cream); flex: none; }
.bar-home:hover { color: var(--cream); }
.bar-home img { height: 38px; width: auto; transition: transform .35s var(--ease); }
.bar-home:hover img { transform: rotate(-8deg) scale(1.08); }
.bar-home b { font-family: var(--num); font-weight: 800; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.nv { position: relative; display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; margin-left: 8px; }
.nv-g { position: relative; }
.nv-btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: 15px; padding: 10px 12px; border-radius: 10px; white-space: nowrap; transition: color .15s, background .15s; }
.nv-btn:hover, .nv-g.open .nv-btn, .nv-btn.here { color: var(--cream); }
.nv-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nv-btn .chev { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.nv-g.open .chev { transform: rotate(180deg); }
.nv-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-2); animation: pulse 1.6s infinite; }
#dot-play { background: var(--gold); }
.nv-btn .soon { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); background: var(--gold); border-radius: 999px; padding: 2px 6px; }
.nv-line { position: absolute; left: 0; bottom: -9px; height: 3px; width: 0; border-radius: 3px; background: var(--gold); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), width .3s var(--ease), opacity .2s; }
.nv-panel { position: absolute; top: calc(100% + 14px); left: -12px; width: 560px; padding: 14px; border-radius: 18px; background: #1e1e15; border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); animation: nvIn .22s var(--ease); }
.nv-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* keeps hover alive across the gap */
@keyframes nvIn { from { opacity: 0; transform: translateY(-6px); } }
.nv-head { display: flex; align-items: baseline; gap: 10px; padding: 2px 6px 12px; flex-wrap: wrap; }
.nv-head b { font-family: var(--num); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--cream); letter-spacing: .02em; }
.nv-head span { color: var(--dim); font-size: 13px; }
.nv-status { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nv-status.on { color: var(--red-2); }
.nv-status.on::before { content: "\25CF  "; }
.nv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nv-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; color: var(--cream); background: var(--panel); border: 1px solid var(--line);
  transition: border-color .15s, background .15s, transform .15s var(--ease); animation: nvItem .3s var(--ease) both; }
.nv-item:nth-child(2) { animation-delay: .04s; } .nv-item:nth-child(3) { animation-delay: .08s; }
@keyframes nvItem { from { opacity: 0; transform: translateY(6px); } }
.nv-item:hover { color: var(--cream); border-color: var(--brass); background: var(--panel-2); transform: translateY(-2px); }
.nv-item[aria-current="page"] { border-color: var(--gold); }
.nv-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-3); color: var(--gold); transition: transform .25s var(--ease); }
.nv-item:hover .nv-ic { transform: rotate(-8deg) scale(1.08); }
.nv-ic svg { width: 22px; height: 22px; }
.nv-txt { min-width: 0; }
.nv-txt b { display: block; font-size: 15px; }
.nv-txt span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.nv-item.hot { border-color: rgba(217,166,59,.55); background: linear-gradient(120deg, rgba(217,166,59,.16), var(--panel) 70%); }
.nv-item.hot .nv-ic { background: var(--gold); color: var(--olive); }
.nv-item.feature { grid-row: 1 / span 2; grid-column: 2; grid-template-columns: 1fr; align-content: start; gap: 10px; background: #eadfc1; border-color: #cdbd94; color: var(--olive); }
.nv-item.feature:hover { color: var(--olive); background: #f1e7cc; }
.nv-item.feature .nv-txt span { color: #4b4932; }
.nv-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 20%; border-radius: 10px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.6); }
.bar-join { flex: none; display: inline-flex; align-items: center; font-family: var(--num); font-weight: 800; font-size: 17px; letter-spacing: .03em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
  color: var(--olive); background: var(--gold); transition: transform .15s var(--ease), background .15s; }
.bar-join:hover { color: var(--olive); background: #e6b54b; transform: translateY(-1px) rotate(-2deg); }
.bar-join.open { box-shadow: 0 0 0 4px rgba(217,166,59,.25); }
.bar-live { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 999px;
  background: var(--panel-2); color: var(--cream); border: 1px solid var(--line-2); }
.bar-live:hover { color: var(--cream); border-color: var(--brass); }
.bar-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.bar-live.on { background: var(--red); border-color: var(--red-2); }
.bar-live.on i { background: var(--cream); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }

/* Support: a small red heart that beats on hover */
.nv-btn.support .heart { display: inline-grid; width: 16px; height: 16px; color: var(--red-2); transition: transform .2s var(--ease); }
.nv-btn.support .heart svg { width: 16px; height: 16px; fill: currentColor; }
.nv-btn.support:hover .heart { animation: beat .7s var(--ease); }
@keyframes beat { 30% { transform: scale(1.3); } 60% { transform: scale(.95); } }

/* phone tab bar + sheet */
.tabbar, .sheet { display: none; }
@media (max-width: 760px) {
  .bar-in { padding: 8px 12px; gap: 8px; }
  .bar-home b { font-size: 21px; }
  .bar-home img { height: 32px; }
  .nv { display: none; }
  .bar-join { margin-left: auto; font-size: 15px; padding: 6px 12px; }
  .bar-live { padding: 7px 12px; }
  body.has-tabbar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(21,21,14,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line-2); }
  .tb { all: unset; cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; border-radius: 12px; color: var(--dim);
    font-size: 11px; font-weight: 700; -webkit-tap-highlight-color: transparent; transition: color .15s; }
  .tb svg { width: 24px; height: 24px; transition: transform .25s var(--ease); }
  .tb.here { color: var(--gold); }
  .tb.support svg { color: var(--red-2); }
  .tb.here::after { content: ""; position: absolute; top: -7px; width: 26px; height: 3px; border-radius: 3px; background: var(--gold); }
  .tb.open { color: var(--cream); }
  .tb.open svg, .tb:active svg { transform: translateY(-2px) scale(1.12); }
  .tb-badge { position: absolute; top: 2px; left: 54%; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center;
    color: var(--olive); background: var(--gold); }
  .tb-badge.live { width: 9px; height: 9px; min-width: 0; padding: 0; background: var(--red-2); animation: pulse 1.6s infinite; }
  .tb-badge.soon { top: 0; left: 52%; font-size: 8px; letter-spacing: .06em; text-transform: uppercase; height: 14px; line-height: 14px; padding: 0 5px; }
  .sheet { display: block; position: fixed; inset: 0; z-index: 65; }
  .sheet[hidden] { display: none !important; }
  .sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .25s; }
  .sheet-in { position: absolute; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); max-height: 75vh; overflow: auto; padding: 8px 14px 16px;
    background: #1e1e15; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 22px 22px 0 0; transform: translateY(110%); transition: transform .28s var(--ease); }
  .sheet.on .sheet-bg { opacity: 1; }
  .sheet.on .sheet-in { transform: none; }
  .sheet-grip { display: block; width: 44px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 4px auto 10px; cursor: pointer; }
  .sheet .nv-panel { position: static; width: auto; padding: 0; background: none; border: 0; box-shadow: none; animation: none; }
  .sheet .nv-grid { grid-template-columns: minmax(0, 1fr); }
  .sheet .nv-item { padding: 14px; }
  .sheet .nv-item.feature { grid-row: auto; grid-column: auto; grid-template-columns: 96px 1fr; align-items: center; }
  .sheet .nv-cover { aspect-ratio: 1; }
}

/* ---------- page header (each page's own title) ---------- */
header.top { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; margin: 18px 0 22px;
  padding: clamp(22px, 3.5vw, 36px); border-radius: 22px; border: 1px solid var(--line-2);
  background: radial-gradient(60% 120% at 100% 0%, rgba(157,58,43,.42), transparent 62%), repeating-linear-gradient(90deg, rgba(233,220,187,.025) 0 64px, transparent 64px 128px), linear-gradient(160deg, #2d2c1e, #17170f); }
header.top::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 260px; background: url("brand/crest.png") center / contain no-repeat; opacity: .07; pointer-events: none; }
header.top .brand { position: relative; display: flex; align-items: center; gap: 14px; }
header.top .crest { display: none; }
.eyebrow { display: inline-block; margin-bottom: 8px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); background: var(--gold); padding: 3px 9px; border-radius: 5px; }
header.top h1, .brand h1 { margin: 0; font-family: var(--num); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 6vw, 60px); line-height: .92; letter-spacing: .005em; color: var(--cream); }
header.top .sub, .brand .sub { color: var(--muted); font-size: 15px; margin-top: 8px; }
header.top .sub a { color: var(--gold); }

/* footer site map */
footer.site-map { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; margin-top: 48px; padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.sm-crest { display: flex; gap: 12px; align-items: center; align-self: start; color: var(--cream); }
.sm-crest:hover { color: var(--cream); }
.sm-crest img { width: 52px; }
.sm-crest b { display: block; font-family: var(--num); font-size: 22px; text-transform: uppercase; }
.sm-crest span span { display: block; color: var(--dim); font-size: 12px; }
.sm-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sm-cols b { display: block; color: var(--cream); font-family: var(--num); font-size: 17px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.sm-cols a { display: block; color: var(--muted); padding: 3px 0; overflow-wrap: anywhere; }
.sm-cols a:hover { color: var(--gold); }
@media (max-width: 760px) { footer.site-map { grid-template-columns: minmax(0, 1fr); } .sm-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.record { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--muted); }
.pill b { color: var(--cream); }
header.top .home-link { color: inherit; }

/* ---------- cards and sections ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.card h3, .sec-h { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--cream); letter-spacing: .01em; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 30px 0 12px; }
.sec-head h2 { margin: 0; font-family: var(--display); font-size: 24px; color: var(--cream); }
.sec-head a { font-size: 14px; font-weight: 600; }
.note { color: var(--muted); font-size: 13px; margin: 6px 0 14px; }
.lead { margin: 0 0 12px; line-height: 1.6; }
code { background: var(--panel-2); color: var(--cream); padding: 1px 6px; border-radius: 6px; }
.tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(217,166,59,.5); border-radius: 999px; padding: 2px 7px; vertical-align: middle; margin-left: 6px; }
footer { color: var(--dim); font-size: 12px; margin-top: 24px; }

/* ---------- shared hero bits: kicker, buttons, live player, result chips ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.player-box { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line-2); }
.player-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.cta { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--cream); transition: transform .15s var(--ease), background .15s, border-color .15s; }
.cta:hover { color: var(--cream); border-color: var(--brass); transform: translateY(-1px); }
.cta.gold { background: var(--gold); color: var(--olive); border-color: var(--gold); }
.cta.gold:hover { background: #e6b54b; color: var(--olive); }
.cta.red { background: var(--red); border-color: var(--red-2); }
.cta small { font-weight: 600; opacity: .75; }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; padding: 2px 0 4px; }
.strip::-webkit-scrollbar { display: none; }
.res { flex: none; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.res.more { grid-template-columns: 1fr; text-align: center; color: var(--muted); }
.res.more:hover { border-color: var(--brass); }
.res .r { grid-row: span 2; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: var(--cream); }
.res b { font-family: var(--num); font-size: 20px; line-height: 1; color: var(--cream); }
.res span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* ---------- home: "pick your mode" (26 Nov 2026, Kamal picked concept 3 of 3) ----------
   A compact intro, then four mode tiles. Play is the obvious one. Tiles lift and tilt toward the pointer, a brass glint
   crosses them, and they press down on click. Arrow keys move between tiles like a game menu. */
.mm { --tilt-x: 0deg; --tilt-y: 0deg; }

  /* ---------- intro ---------- */
  .mm-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(14px, 2.6vw, 28px) 0 clamp(14px, 2vw, 22px); }
  .mm-kick { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
  .mm-kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
  .mm-kick.on { color: var(--red-2); }
  .mm-kick.on i { background: var(--red-2); animation: pulse 1.6s infinite; }
  .mm-name { margin: 10px 0 0; font-family: var(--num); font-weight: 800; text-transform: uppercase; color: var(--cream); font-size: clamp(56px, 8.4vw, 108px); line-height: .84; letter-spacing: .005em; }
  .mm-line { margin: 14px 0 0; max-width: 30em; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
  .mm-line b { color: var(--cream); }
  .mm-line code { background: var(--gold); color: var(--olive); font-family: var(--num); font-weight: 800; font-size: 1.1em; letter-spacing: .02em; padding: 0 .35em; border-radius: 5px; }
  .mm-proof { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: -8px 0 0; padding: 0; list-style: none; color: var(--dim); font-size: 13px; }
  .mm-proof b { display: block; font-family: var(--num); font-weight: 800; font-size: 26px; line-height: 1; color: var(--cream); letter-spacing: .02em; }

  /* the trailer: a 9:16 "cutscene" card that opens the full video */
  .mm-trailer { all: unset; grid-column: 2; grid-row: 1 / span 2; cursor: pointer; position: relative; display: block; width: 156px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; border: 1px solid var(--brass);
    box-shadow: 0 24px 50px -24px rgba(0,0,0,.9); transition: transform .22s var(--ease), border-color .2s; -webkit-tap-highlight-color: transparent; }
  .mm-trailer img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .mm-trailer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(21,21,14,.85)); }
  .mm-trailer > span { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: 10px; color: var(--cream); font-size: 13px; font-weight: 800; }
  .mm-trailer span small { display: block; font-weight: 600; color: var(--muted); font-size: 11px; }
  .mm-trailer svg { flex: none; width: 34px; height: 34px; padding: 9px 8px 9px 10px; border-radius: 50%; background: var(--gold); color: var(--olive); transition: transform .2s var(--ease); }
  .mm-trailer:hover { transform: translateY(-4px) rotate(1deg); border-color: var(--gold); }
  .mm-trailer:hover svg { transform: scale(1.12); }
  .mm-trailer:active { transform: scale(.97); }
  .mm-trailer:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

  /* ---------- the menu ---------- */
  .mm-head { display: flex; align-items: center; gap: 14px; margin: 8px 0 14px; font-family: var(--num); font-weight: 800; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
  .mm-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
  .mm .modes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 224px 190px; gap: 14px; perspective: 1200px; }
  .mm .tile { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; background: var(--panel); border: 1px solid var(--line-2); color: var(--cream);
    transform: translateY(var(--lift, 0)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(var(--press, 1)); transform-style: preserve-3d;
    transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
  .mm .tile > a.go { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
  .mm .tile > a.go:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
  .mm .tile.hover, .mm .tile:focus-within { --lift: -6px; border-color: var(--brass); box-shadow: 0 26px 40px -24px rgba(0,0,0,.95), 0 0 0 1px rgba(185,152,90,.35); }
  .mm .tile.pressed { --press: .975; --lift: -2px; transition-duration: .08s; }
  /* brass glint: a soft diagonal streak that crosses the tile once on hover */
  .mm .tile::after { content: ""; position: absolute; inset: -20% auto -20% -60%; width: 45%; z-index: 2; pointer-events: none; transform: skewX(-18deg) translateX(0); opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(233,220,187,.0) 20%, rgba(217,190,120,.28) 50%, rgba(233,220,187,0) 80%, transparent); }
  .mm .tile.hover::after, .mm .tile:focus-within::after { animation: glint .75s var(--ease) both; }
  @keyframes glint { from { opacity: 1; transform: skewX(-18deg) translateX(0); } to { opacity: 1; transform: skewX(-18deg) translateX(420%); } }

  .mm .t-body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; pointer-events: none; }
  .mm .t-kicker { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
  .mm .t-name { margin: 2px 0 0; font-family: var(--num); font-weight: 800; text-transform: uppercase; font-size: 54px; line-height: .9; letter-spacing: .01em; }
  .mm .t-line { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; max-width: 24em; }
  .mm .t-arrow { display: inline-block; transition: transform .2s var(--ease); }
  .mm .tile.hover .t-arrow { transform: translateX(5px); }

  /* PLAY: the primary tile. Gold, the biggest, two cards: the captain and an empty slot for you. */
  .mm .t-play { grid-row: 1 / span 2; background: radial-gradient(90% 70% at 70% 15%, #f0c35d 0%, #d9a63b 45%, #b98a2c 100%); border-color: #e6b54b; color: var(--olive); }
  .mm .t-play .t-kicker { color: #5b4a1c; }
  .mm .t-play .t-name { font-size: clamp(64px, 6.2vw, 86px); }
  .mm .t-play .t-line { color: #3d3519; font-size: 15.5px; }
  .mm .t-play .t-line b { color: var(--olive); }
  .mm .t-play.hover, .mm .t-play:focus-within { border-color: var(--cream); box-shadow: 0 30px 50px -26px rgba(0,0,0,.95), 0 0 0 4px rgba(217,166,59,.25); }
  .mm .t-play::after { background: linear-gradient(90deg, transparent, rgba(255,250,230,.0) 20%, rgba(255,250,230,.55) 50%, rgba(255,250,230,0) 80%, transparent); }
  .mm .t-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 11px 18px; border-radius: 12px; background: var(--olive); color: var(--cream); font-family: var(--num); font-weight: 800; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
  .mm .cards { position: absolute; top: 22px; right: 30px; display: flex; gap: 0; z-index: 1; pointer-events: none; }
  .mm .fc { --shape: polygon(14% 0, 86% 0, 100% 6%, 100% 92%, 50% 100%, 0 92%, 0 6%); position: relative; width: 112px; aspect-ratio: 21 / 30; clip-path: var(--shape); background: var(--olive);
    transition: transform .35s var(--ease); filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
  .mm .fc .in { position: absolute; inset: 4px; clip-path: var(--shape); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 20px;
    background: radial-gradient(120% 70% at 30% 0%, #3a3826 0%, #2a2a1e 55%, #1f1e15 100%); }
  .mm .fc .in::before { content: ""; position: absolute; inset: 5px; clip-path: var(--shape); box-shadow: inset 0 0 0 2px rgba(185,152,90,.75); z-index: 2; }
  /* the ep9 cover (sharpest photo of him), zoomed to his face */
  .mm .fc .face { position: absolute; left: 0; right: 0; top: 0; height: 74%; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
  .mm .fc .face img { position: absolute; max-width: none; width: 250%; left: -92%; top: 0; margin-top: -122%; }
  .mm .fc b { position: relative; z-index: 1; font-family: var(--num); font-size: 17px; text-transform: uppercase; color: var(--cream); letter-spacing: .02em; }
  .mm .fc em { position: relative; z-index: 1; font-style: normal; font-size: 8.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); background: var(--gold); padding: 2px 6px; border-radius: 3px; margin-top: 3px; }
  .mm .fc.cap { transform: rotate(-7deg) translate(18px, 6px); z-index: 2; }
  .mm .fc.you { background: rgba(42,42,30,.35); transform: rotate(6deg) translate(-10px, 18px); }
  .mm .fc.you .in { background: rgba(42,42,30,.18); justify-content: center; padding: 0; }
  .mm .fc.you .in::before { box-shadow: inset 0 0 0 2px rgba(42,42,30,.45); }
  .mm .fc.you b { color: var(--olive); font-size: 46px; line-height: 1; }
  .mm .fc.you em { background: var(--olive); color: var(--gold); }
  .mm .t-play.hover .fc.cap { transform: rotate(-10deg) translate(8px, 0); }
  .mm .t-play.hover .fc.you { transform: rotate(3deg) translate(-4px, 8px); }

  /* WATCH: three episode covers fanned out, they spread on hover. Sub-links sit above the tile's own link. */
  .mm .t-watch { grid-column: 2 / span 2; background: radial-gradient(70% 120% at 100% 0%, rgba(157,58,43,.55), transparent 65%), linear-gradient(160deg, #2d2c1e, #17170f); }
  .mm .t-watch .t-body { right: 46%; }
  .mm .fan { position: absolute; right: 30px; top: 50%; width: 38%; height: 88%; transform: translateY(-50%); pointer-events: none; z-index: 0; }
  .mm .fan img { position: absolute; top: 50%; left: 50%; width: 42%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; border: 1px solid rgba(233,220,187,.35);
    box-shadow: 0 14px 24px -12px rgba(0,0,0,.9); transition: transform .35s var(--ease); }
  .mm .fan img:nth-child(1) { transform: translate(-50%, -50%) translateX(-62%) rotate(-9deg) scale(.88); }
  .mm .fan img:nth-child(2) { transform: translate(-50%, -50%) translateX(62%) rotate(9deg) scale(.88); }
  .mm .fan img:nth-child(3) { transform: translate(-50%, -50%); z-index: 1; }
  .mm .t-watch.hover .fan img:nth-child(1) { transform: translate(-50%, -50%) translateX(-80%) rotate(-13deg) scale(.9); }
  .mm .t-watch.hover .fan img:nth-child(2) { transform: translate(-50%, -50%) translateX(80%) rotate(13deg) scale(.9); }
  .mm .t-watch.hover .fan img:nth-child(3) { transform: translate(-50%, -54%) scale(1.04); }
  .mm .subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; pointer-events: auto; position: relative; z-index: 4; }
  .mm .subs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--cream); background: rgba(21,21,14,.6);
    border: 1px solid var(--line-2); transition: border-color .15s, background .15s, transform .15s var(--ease); }
  .mm .subs a:hover { border-color: var(--gold); color: var(--cream); transform: translateY(-2px); }
  .mm .subs a:active { transform: scale(.96); }
  .mm .live { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 999px; color: var(--muted); background: rgba(21,21,14,.7); border: 1px solid var(--line-2); }
  .mm .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
  .mm .live.on { color: var(--cream); background: var(--red); border-color: var(--red-2); }
  .mm .live.on i { background: var(--cream); animation: pulse 1.6s infinite; }

  /* WAXY D'OR: a gold trophy with slow brass rays */
  .mm .t-dor { background: radial-gradient(80% 80% at 50% 30%, #4a3f22 0%, #2a2a1e 60%, #1f1e15 100%); }
  .mm .t-dor .t-name { font-size: 40px; color: var(--gold); }
  .mm .rays { position: absolute; left: 50%; top: 28%; width: 320px; height: 320px; margin: -160px 0 0 -160px; z-index: 0; pointer-events: none; opacity: .5;
    background: repeating-conic-gradient(from 0deg, rgba(185,152,90,.22) 0deg 7deg, transparent 7deg 20deg);
    -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 65%); mask-image: radial-gradient(circle, #000 15%, transparent 65%); transition: transform .9s var(--ease), opacity .3s; }
  .mm .t-dor.hover .rays { transform: rotate(25deg) scale(1.08); opacity: .8; }
  .mm .trophy { position: absolute; left: 50%; top: 18px; width: 70px; margin-left: -35px; z-index: 1; color: var(--gold); filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); transition: transform .3s var(--ease); pointer-events: none; }
  .mm .t-dor.hover .trophy { transform: translateY(-4px) rotate(-5deg) scale(1.06); }

  /* SHOP: a bag with a red "soon" stamp. Quieter than the rest. */
  .mm .t-shop { background: linear-gradient(160deg, #24241a, #18180f); }
  .mm .t-shop .t-name { font-size: 40px; }
  .mm .bag { position: absolute; left: 50%; top: 20px; width: 66px; margin-left: -33px; color: var(--brass); z-index: 1; pointer-events: none; transition: transform .3s var(--ease); }
  .mm .t-shop.hover .bag { transform: translateY(-4px) rotate(4deg); }
  .mm .stamp { position: absolute; top: 26px; right: 18px; z-index: 1; transform: rotate(10deg); font-family: var(--num); font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--red-2); border: 2px solid var(--red-2); border-radius: 6px; padding: 2px 8px; pointer-events: none; transition: transform .3s var(--ease); }
  .mm .t-shop.hover .stamp { transform: rotate(4deg) scale(1.08); }

  /* footer hint, like a menu's button legend (desktop only) */
  .mm-legend { display: flex; justify-content: flex-end; gap: 18px; margin-top: 14px; color: var(--dim); font-size: 12px; }
  .mm-legend kbd { display: inline-block; min-width: 22px; padding: 1px 6px; margin-right: 6px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); font: 700 11px/18px var(--font); text-align: center; }

  /* trailer dialog */
  .mm-dlg { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
  .mm-dlg::backdrop { background: rgba(10,10,6,.86); }
  .mm-dlg video { display: block; height: min(86vh, 860px); width: auto; max-width: 92vw; aspect-ratio: 9 / 16; border-radius: 16px; border: 1px solid var(--brass); background: #000; }
  .mm-x { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--brass); background: var(--olive); color: var(--cream); font-size: 20px; cursor: pointer; }

  /* ---------- tablet & phone ---------- */
  @media (max-width: 960px) {
    .mm .modes { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .mm .t-play { grid-column: 1 / span 2; grid-row: auto; min-height: 300px; }
    .mm .t-watch { grid-column: 1 / span 2; min-height: 230px; }
    .mm .t-dor, .mm .t-shop { min-height: 200px; }
  }
  @media (max-width: 760px) {
    .wrap.mm { padding-bottom: 24px; }
    .mm-intro { grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: end; padding-top: 14px; }
    .mm-name { font-size: clamp(40px, 12.2vw, 64px); }
    .mm-line { font-size: 15.5px; margin-top: 10px; }
    .mm-proof { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 4px; gap: 4px 20px; font-size: 12px; }
    .mm-proof b { font-size: 22px; }
    .mm-trailer { width: 96px; border-radius: 12px; grid-row: 1; }
    .mm-kick { font-size: 10.5px; letter-spacing: .1em; }
    .mm-trailer > span { left: 0; right: 0; bottom: 8px; flex-direction: column; gap: 4px; text-align: center; font-size: 11px; }
    .mm-trailer span small { display: none; }
    .mm-trailer svg { width: 30px; height: 30px; padding: 8px 7px 8px 9px; }
    .mm .modes { gap: 10px; perspective: none; }
    .mm .tile { border-radius: 18px; }
    .mm .t-body { left: 18px; right: 18px; bottom: 16px; }
    .mm .t-play { min-height: 350px; }
    .mm .t-play .t-name { font-size: 76px; }
    .mm .t-play .t-line { font-size: 15px; }
    .mm .cards { top: 16px; right: 22px; }
    .mm .fc { width: 86px; }
    .mm .fc b { font-size: 13px; } .fc em { font-size: 7px; } .fc.you b { font-size: 34px; }
    .mm .fc .in { padding-bottom: 14px; }
    .mm .t-cta { width: 100%; justify-content: center; padding: 14px; font-size: 20px; pointer-events: none; }
    .mm .t-watch { min-height: 250px; }
    .mm .t-watch .t-body { right: 18px; }
    .mm .t-watch .t-line { max-width: 52%; }
    .mm .fan { right: 4px; top: 16px; width: 48%; height: 62%; transform: none; }
    .mm .t-name { font-size: 46px; }
    .mm .t-dor .t-name, .mm .t-shop .t-name { font-size: 28px; }
    .mm .t-dor .t-kicker, .mm .t-shop .t-kicker { display: none; }
    .mm .t-dor .t-line, .mm .t-shop .t-line { font-size: 13px; }
    .mm .t-dor, .mm .t-shop { min-height: 206px; }
    .mm .trophy { width: 70px; margin-left: -35px; top: 14px; }
    .mm .bag { width: 62px; margin-left: -31px; top: 18px; }
    .mm .stamp { top: 14px; right: 10px; font-size: 12px; }
    .mm .rays { top: 28%; }
    .mm-legend { display: none; }
    .mm-x { top: 8px; right: 8px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .mm .tile, .mm .fc, .mm .fan img, .mm .rays, .mm .trophy, .mm .bag, .mm .stamp, .mm-trailer, .mm .t-arrow { transition: none !important; }
    .mm .tile { transform: none !important; }
    .mm .tile::after { display: none; }
    .mm-kick.on i, .mm .live.on i { animation: none; }
  }

.sec-head h2 em { font-style: normal; color: var(--gold); }
.card.last .sr-head h3 { margin-bottom: 12px; }

/* ---------- stat tiles (season record) ---------- */
.season-record .sr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.season-record .sr-head h3 { margin: 0 0 12px; }
.season-record .sr-head span { color: var(--dim); font-size: 12px; }
.sr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.sr-grid div { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.sr-grid b { display: block; font-family: var(--num); font-weight: 800; font-size: 34px; line-height: 1; color: var(--cream); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.sr-grid div:first-child b { color: var(--gold); }
.sr-grid span { color: var(--muted); font-size: 12px; }
.sr-form { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 12px; }

/* season box + countdown to playoffs */
.season { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 16px; padding: 16px 18px; border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(157,58,43,.30), var(--panel) 60%); border: 1px solid rgba(157,58,43,.5); }
.season h2 { margin: 0 0 2px; font-family: var(--display); font-size: 22px; color: var(--cream); }
.season .phase { color: var(--muted); font-size: 13px; }
.countdown { display: flex; gap: 8px; align-items: center; }
.countdown div { background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; min-width: 58px; text-align: center; }
.countdown div.lbl { background: none; border: 0; color: var(--muted); font-size: 12px; min-width: 0; }
.countdown b { display: block; font-family: var(--num); font-size: 26px; line-height: 1; color: var(--cream); }
.countdown span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- podium (top three) ---------- */
.podium { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 3vw, 28px); padding: 6px 0 4px; }
/* An FC-style card: shield shape, brass edge (gold for first), khaki inner line, all sized in em so one rule draws every size. */
.pod { --edge: var(--brass); --shape: polygon(14% 0, 86% 0, 100% 6%, 100% 92%, 50% 100%, 0 92%, 0 6%);
  font-size: 11px; width: 21em; aspect-ratio: 21 / 30; flex: none; position: relative; display: block; color: var(--cream); text-decoration: none;
  clip-path: var(--shape); background: var(--edge); transition: transform .25s var(--ease), filter .25s; }
.pod:hover { transform: translateY(-6px); color: var(--cream); filter: brightness(1.08); }
.pod.p1 { --edge: var(--gold); font-size: 12.5px; order: 2; }
.pod.p2 { order: 1; } .pod.p3 { order: 3; }
.pod .pin { position: absolute; inset: .35em; clip-path: var(--shape); overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 2.2em 2em 3.4em;
  background: radial-gradient(120% 70% at 30% 0%, #3a3826 0%, #2a2a1e 55%, #1f1e15 100%); }
.pod .pin::before { content: ""; position: absolute; inset: .55em; clip-path: var(--shape); box-shadow: inset 0 0 0 .14em rgba(155,154,106,.75); pointer-events: none; }
.pod.p1 .pin { background: radial-gradient(120% 70% at 30% 0%, #4a3f22 0%, #2a2a1e 58%, #1f1e15 100%); }
.pod .pwm { position: absolute; left: 50%; top: 30%; width: 13em; transform: translateX(-50%); opacity: .07; pointer-events: none; }
.pod .pimg { position: absolute; left: 7em; right: 1.4em; top: 1.2em; height: 12.5em; width: auto; object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.pod.has-ph .ptop img, .pod.has-ph .pwm { display: none; }
.pod .ptop { position: relative; width: 100%; display: flex; justify-content: space-between; align-items: flex-start; }
.pod .ptop > div { text-align: center; width: 5em; }
.pod .ptop b { display: block; font-family: var(--num); font-size: 4.4em; line-height: .85; color: var(--edge); }
.pod .ptop span { display: block; font-size: .7em; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .3em; }
.pod .ptop em { display: block; font-style: normal; font-family: var(--num); font-size: 1.7em; letter-spacing: .06em; margin-top: .1em; }
.pod .ptop img { width: 4.6em; filter: drop-shadow(0 .3em .6em rgba(0,0,0,.45)); }
.pod .pnm { width: 100%; text-align: center; margin-top: auto; }
.pod .pnm b { display: block; font-family: var(--num); font-size: 1.7em; line-height: 1.05; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod .pnm span { display: block; font-size: .8em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .2em; }
.pod .pnm .mv { font-size: 1em; margin-left: .3em; }
.pod .pst { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); text-align: center; margin-top: .9em; padding-top: .8em; border-top: .1em solid rgba(185,152,90,.45); }
.pod .pst b { display: block; font-family: var(--num); font-size: 1.5em; line-height: 1; }
.pod .pst span { display: block; font-size: .58em; font-weight: 800; letter-spacing: .1em; color: var(--muted); margin-top: .25em; }
.pod .ptag { margin-top: .9em; max-width: 100%; font-size: .68em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); background: var(--edge); padding: .35em .8em; border-radius: .3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .podium { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 8px; margin: 0 -4px; }
  .podium::-webkit-scrollbar { display: none; }
  .pod, .pod.p1 { font-size: 10.5px; scroll-snap-align: center; }
  .pod.p1 { order: 0; }
}
.mv { display: inline-block; font-size: 11px; font-weight: 800; margin-left: 6px; font-family: var(--font); }
.mv.up { color: #9bc04a; } .mv.dn { color: var(--red-2); } .mv.nw { color: var(--gold); }

/* ---------- tabs ---------- */
nav.tabs { display: flex; gap: 4px; margin: 30px 0 14px; overflow-x: auto; scrollbar-width: none; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; }
nav.tabs::-webkit-scrollbar { display: none; }
nav.tabs button, nav.tabs a.tab-link { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; padding: 8px 16px; cursor: pointer; border-radius: 999px; white-space: nowrap; }
nav.tabs button:hover, nav.tabs a.tab-link:hover { color: var(--cream); }
nav.tabs button.active { color: var(--olive); background: var(--cream); }
nav.tabs a.tab-link::after { content: " ↗"; font-size: 11px; }
section[hidden] { display: none; }
.tab-live { display: inline-block; margin-left: 6px; font-size: 9px; font-weight: 800; letter-spacing: .08em; color: var(--cream); background: var(--red); border-radius: 999px; padding: 2px 6px; vertical-align: middle; }
.tab-live[hidden] { display: none; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-color: var(--line-2) var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child, th.name, td.name { text-align: left; }
th { color: var(--dim); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; user-select: none; position: sticky; top: 0; background: var(--panel); }
th:hover { color: var(--muted); }
th.sorted { color: var(--gold); }
tbody tr { transition: background .12s; }
tbody tr:hover td { background: rgba(185,152,90,.06); }
tr.unq td { color: var(--dim); }
td.name { font-weight: 700; color: var(--cream); }
td.name small { display: block; color: var(--dim); font-weight: 500; font-size: 11px; }
.idx { display: inline-block; min-width: 50px; padding: 3px 8px; border-radius: 8px; background: var(--panel-3); color: var(--cream); font-family: var(--num); font-size: 17px; text-align: center; }
.rank-1 .idx { background: var(--gold); color: var(--olive); }
.idx.prov { background: transparent; border: 1px dashed var(--line-2); color: var(--dim); }
.form { display: inline-flex; gap: 3px; }
.form i { width: 18px; height: 18px; border-radius: 5px; display: inline-grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; color: var(--cream); }
.W { background: var(--win); } .L { background: var(--loss); } .D { background: var(--draw); }
tbody tr.sep td { text-align: left; color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding-top: 16px; }
tbody.gaffer tr.sep td { color: var(--gold); border-top: 1px solid var(--line-2); }
tbody tr.sep td a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--brass); }
tbody.gaffer td { background: rgba(217,166,59,.05); }
tbody.gaffer td.name, tr.gaffer-line td.name { color: var(--gold); }
tr.prow { cursor: pointer; }
tr.prow.open td { background: rgba(185,152,90,.08); }
tr.bd td { text-align: left; white-space: normal; background: var(--panel-2); font-size: 13px; padding: 14px; }
.bd-parts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.bd-parts span { background: var(--panel-3); border-radius: 8px; padding: 4px 8px; color: var(--muted); }
.bd-parts b { color: var(--cream); }
.bd-parts .neg b { color: var(--red-2); }
.bd-pts { color: var(--muted); line-height: 1.5; }
.bd-pts b { color: var(--cream); }
.bd-st { color: var(--gold); font-size: 12px; margin-top: 6px; }
table.rules-t { min-width: 520px; }
table.rules-t th { cursor: default; }
table.rules-t td.wrap { white-space: normal; color: var(--muted); }
ul.rules { margin: 8px 0 0; padding-left: 18px; line-height: 1.6; font-size: 14px; color: var(--text); }
ul.rules li { margin-bottom: 6px; }
ul.rules b { color: var(--cream); }

/* ---------- match log: the matchday programme (cream paper inside the dark site) ---------- */
#tab-matches .card { background-color: #eadfc1; color: #2a2a1e; border: 0; box-shadow: 0 0 0 1px #cdbd94 inset, 0 20px 40px -20px rgba(0,0,0,.6);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .16  0 0 0 0 .16  0 0 0 0 .1  0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
#tab-matches .card h3 { color: #2a2a1e; text-align: center; font-size: 26px; border-top: 3px double #2a2a1e; border-bottom: 1px solid #2a2a1e; padding: 8px 0; margin-bottom: 4px; }
#tab-matches .card h3::before { content: "Official matchday programme"; display: block; font-family: var(--font); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #6e6849; font-weight: 700; }
#tab-matches .note { color: #6e6849; text-align: center; }
.match { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 12px 6px; border-bottom: 1px dashed #b9a982; cursor: pointer; transition: background .12s; }
.match:hover { background: rgba(42,42,30,.05); }
.match .res { all: unset; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .06em; color: #eadfc1; border-radius: 6px; padding: 7px 0;
  transform: rotate(-4deg); box-shadow: 0 0 0 2px #eadfc1, 0 0 0 3px rgba(42,42,30,.55); }
.match .res.W { background: #5f7a2a; } .match .res.L { background: #9d3a2b; } .match .res.D { background: #8a8462; }
.match .opp { font-weight: 700; color: #2a2a1e; font-family: var(--display); font-size: 17px; }
.match .meta { color: #6e6849; font-size: 12px; }
.match .meta .big { color: #9d3a2b; font-weight: 800; }
.match .score { font-family: var(--num); font-weight: 800; font-size: 28px; color: #2a2a1e; font-variant-numeric: tabular-nums; }
.lines { padding: 8px 0 14px; border-bottom: 1px dashed #b9a982; }
.lines table { min-width: 640px; font-size: 13px; }
#tab-matches th { background: transparent; color: #6e6849; }
#tab-matches td { color: #2a2a1e; border-bottom-color: #d4c59f; }
#tab-matches td.name { color: #2a2a1e; }
#tab-matches td.name small { color: #6e6849; }
#tab-matches tbody tr:hover td { background: rgba(42,42,30,.04); }

/* ---------- awards ---------- */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.award { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; transition: border-color .2s, transform .2s var(--ease); }
.award:hover { border-color: var(--brass); transform: translateY(-2px); }
.award .t { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.award .w { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--cream); margin: 8px 0 2px; }
.award .d { font-size: 12px; color: var(--muted); }
.award.gold { border-color: rgba(217,166,59,.6); background: linear-gradient(160deg, rgba(217,166,59,.18), var(--panel-2)); }
.award.gold .w { color: var(--gold); }
.award .pending { color: var(--dim); font-style: italic; font-weight: 500; font-size: 15px; }

/* old per-player tiles (Hall of Fame etc.) */
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.player { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.player.gaffer, .captain { border-color: rgba(217,166,59,.55); background: linear-gradient(160deg, rgba(217,166,59,.14), var(--panel-2)); }
.player .n { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--cream); }
.player .p { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.player .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 13px; }
.player .grid div { background: var(--panel-3); border-radius: 8px; padding: 6px 8px; }
.player .grid b { display: block; font-size: 16px; }
.player .grid span { color: var(--muted); font-size: 11px; }
.player .bars, .breakdown .bars { margin-top: 10px; display: grid; gap: 5px; }
.player .bar, .breakdown .bar { display: grid; grid-template-columns: 112px 1fr 48px; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.player .bar i, .breakdown .bar i { height: 6px; border-radius: 3px; background: var(--panel-3); overflow: hidden; }
.player .bar s, .breakdown .bar s { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); }
.player .bar b, .breakdown .bar b { text-align: right; color: var(--cream); font-weight: 700; }

/* Hall of Fame legends */
.legends { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 14px; padding-top: 14px; }
.legend { position: relative; background: var(--red); color: var(--cream); border: 1px solid var(--red-2); border-radius: 18px 18px 50% 50% / 18px 18px 22% 22%; padding: 34px 22px 44px; text-align: center; }
.legend-star { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 32px; color: var(--gold); line-height: 1; }
.legend h4 { margin: 0; font-family: var(--display); font-size: 26px; color: var(--cream); }
.legend-title { display: inline-block; margin: 10px 0 4px; background: var(--cream); color: var(--olive); border-radius: 6px; padding: 3px 12px; font-family: var(--display); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.legend p { margin: 10px 0 0; line-height: 1.5; font-size: 14px; color: #f3e6c6; }
.legend-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.legend-stats div { background: rgba(0,0,0,.2); border-radius: 8px; padding: 6px 2px; }
.legend-stats b { display: block; font-family: var(--num); font-size: 22px; }
.legend-stats span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #ead9b0; }
.legend-date { margin-top: 14px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #ead9b0; }

/* ---------- best bits (clips) ---------- */
.featured .sr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.featured .sr-head h3 { margin-bottom: 0; }
.featured .sr-head a { font-size: 14px; font-weight: 600; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.feat { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feat-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.feat:hover .feat-media { border-color: var(--brass); transform: translateY(-2px); }
.feat-media img, .feat-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; transition: transform .4s var(--ease); }
.feat:hover .feat-media img { transform: scale(1.04); }
.feat-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(157,58,43,.92); color: var(--cream);
  display: grid; place-items: center; font-size: 16px; padding-left: 3px; transition: transform .2s var(--ease); }
.feat:hover .feat-play { transform: translate(-50%, -50%) scale(1.1); }
.feat:focus-visible .feat-media { outline: 2px solid var(--gold); outline-offset: 2px; }
.feat-t { font-weight: 700; font-size: 14px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .feat-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .feat { scroll-snap-align: start; }
}

/* ---------- Road to Glory teaser (home) ---------- */
.rtg-teaser { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; color: var(--olive); border-radius: 18px; padding: 18px; margin-top: 16px; background: #eadfc1; transition: transform .2s var(--ease); }
.rtg-teaser:hover { transform: translateY(-2px); color: var(--olive); }
.rtg-teaser img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); transform: rotate(-2deg); }
.rtg-teaser .k { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #9d3a2b; }
.rtg-teaser h3 { margin: 4px 0 6px; font-family: var(--display); font-size: 30px; line-height: 1.05; color: var(--olive); }
.rtg-teaser p { margin: 0 0 12px; color: #4b4932; }
.rtg-teaser .go { font-weight: 800; color: #9d3a2b; }
@media (max-width: 560px) { .rtg-teaser { grid-template-columns: 110px 1fr; gap: 14px; } .rtg-teaser h3 { font-size: 22px; } }

/* ---------- buttons, vote, queue ---------- */
.vbtn { display: inline-block; margin-top: 12px; background: var(--gold); color: var(--olive); border: 0; border-radius: 12px; padding: 12px 18px; font: inherit; font-weight: 800; cursor: pointer; transition: transform .15s var(--ease), background .15s; }
.vbtn:hover { background: #e6b54b; transform: translateY(-1px); }
.vbtn:disabled { opacity: .45; cursor: default; transform: none; }
.vbtn.twitch { background: var(--red); color: var(--cream); }
.vote-picks { display: grid; gap: 12px; max-width: 640px; }
.vote-picks label { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: var(--cream); }
.vote-picks small { display: block; color: var(--muted); font-weight: 400; }
.vote-picks select { width: 100%; min-height: 52px; background: var(--panel-2); color: var(--cream); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 18px; font-weight: 600; }
.queue-banner { display: flex; align-items: center; gap: 10px; background: var(--red); color: var(--cream); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 14px; font-weight: 700; }
.queue-banner:hover { color: var(--cream); }
.queue-banner[hidden] { display: none; }
.queue-banner::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cream); animation: pulse 1.6s infinite; }
.q-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.q-sub { margin: 16px 0 8px; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.q-list { display: grid; gap: 8px; }
.q-row { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 12px; align-items: center; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.q-row .rk { font-family: var(--num); font-size: 20px; color: var(--dim); text-align: center; }
.q-row .nm { font-weight: 700; color: var(--cream); }
.q-row .ps { font-family: var(--num); font-size: 18px; color: var(--gold); }
.q-row .left { color: var(--muted); font-size: 12px; }
.q-row.sub { border-color: rgba(217,166,59,.55); }
.badge-sub { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--olive); background: var(--gold); border-radius: 999px; padding: 2px 7px; vertical-align: middle; }

/* ---------- footer socials (nav.js) ---------- */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 8px; }
.socials a { color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; transition: color .15s, border-color .15s; }
.socials a:hover { color: var(--cream); border-color: var(--brass); }
.site-foot { text-align: center; color: var(--dim); font-size: 12px; margin-top: 10px; }

/* reveal on scroll (nav.js adds .in) */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
