@font-face{font-family:'Point LJ';font-style:normal;font-weight:400 900;font-display:swap;src:local('Point LJ'),local('PointLJ'),local('Point LJ Regular'),local('Point LJ DEMO'),local('Point-LJ'),local('Point LJ Extra Bold'),local('Point LJ Extra Bold DEMO'),local('Point LJ Special'),local('Point LJ Special DEMO'),local('Point LJ Special Extra-Bold'),local('Point LJ Special Extra-Bold DEMO');}@font-face{font-family:'Archivo Black';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Archivo-Black-400.woff2) format('woff2');}@font-face{font-family:'Saira Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Saira-Condensed-700.woff2) format('woff2');}@font-face{font-family:'Saira Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/Saira-Condensed-800.woff2) format('woff2');}@font-face{font-family:'Chakra Petch';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/Chakra-Petch-600.woff2) format('woff2');}@font-face{font-family:'Chakra Petch';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Chakra-Petch-700.woff2) format('woff2');}@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Barlow-400.woff2) format('woff2');}@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/Barlow-500.woff2) format('woff2');}@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/Barlow-600.woff2) format('woff2');}@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Barlow-700.woff2) format('woff2');}


*{box-sizing:border-box}
:root{
  --bg:#0d0d0f; --panel:#17171b; --panel2:#1f1f25; --line:#2c2c34;
  --gold:#FBC02D; --txt:#f2f2f4; --dim:#9a9aa5; --win:#4ade80; --loss:#f0565b;
  /* Point LJ = display face (user's local copy, Archivo Black stands in).
     Barlow = body text. Chakra Petch = tabular figures. */
  --display:'Point LJ','Saira Condensed','Archivo Black','Arial Narrow',Impact,sans-serif;
  --body:'Barlow','Segoe UI',system-ui,-apple-system,sans-serif;
  --figure:'Chakra Petch','Barlow',ui-monospace,monospace;

  /* ---- TYPE SCALE ----------------------------------------------------
     Six steps on a ~1.25 ratio. Before this the site had ~14 sizes bunched
     between .66 and .95rem — increments too small to read as intentional,
     so everything felt slightly arbitrary. */
  --t-micro:0.68rem;   /* eyebrows, table meta            */
  --t-small:0.80rem;   /* captions, secondary detail      */
  --t-body:0.92rem;    /* default UI text                 */
  --t-lead:1.10rem;    /* emphasised body, card titles    */
  --t-h3:1.45rem;      /* section headings                */
  --t-h2:2.10rem;      /* page headings                   */
  --t-hero:3.60rem;    /* the one big statement per page  */

  /* ---- SPACING SCALE (8px base) --------------------------------------
     Was 25 distinct hand-picked pixel values. */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px;
  --s-5:24px; --s-6:32px; --s-7:48px; --s-8:64px;

  /* ---- RADII ---- three, not six ------------------------------------- */
  --r-sm:8px; --r-md:14px; --r-lg:20px; --r-pill:999px;

  /* ---- MOTION ---- one easing curve, three durations ------------------ */
  --ease:cubic-bezier(.22,.61,.36,1);
  --dur-1:140ms; --dur-2:280ms; --dur-3:520ms;

  /* ---- ELEVATION ---- */
  --e-1:0 1px 0 rgba(255,255,255,.05) inset, 0 2px 8px rgba(0,0,0,.28);
  --e-2:0 1px 0 rgba(255,255,255,.06) inset, 0 8px 24px rgba(0,0,0,.4);
  --e-3:0 1px 0 rgba(255,255,255,.08) inset, 0 20px 48px rgba(0,0,0,.55);
}
html,body{margin:0;padding:0}
body{
  background:var(--bg); color:var(--txt); min-height:100vh;
  font-family:var(--body);
  font-size:15.5px; line-height:1.55; -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility;
}
.display,h1,h2,h3,h4,.btn,.stat-v,.badge{
  font-family:var(--display);
  text-transform:uppercase; letter-spacing:.035em; font-weight:800;
}
h1,h2,h3,h4{line-height:1.05; letter-spacing:-.005em}
/* numbers get the technical face + tabular alignment */
.num,.msc,.mmg,.stat-v,.yyear,td.ctr,.h2h-table td{font-family:var(--figure);
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
a{color:var(--gold);text-decoration:none; transition:color .14s}
a:hover{color:#fff}
img{display:block}
/* broken logo images hide cleanly instead of showing the platform
   broken-image icon. Most of the SPA's <img> elements are team logos
   and the broken icon was the actual visual artifact on mobile. */
img:not([src]):not([srcset]){visibility:hidden}
img[src=""],img[src*="?v="][data-broken]{display:none}

/* a soft selection colour so double-tapping a stat or a record reads as
   one event rather than two, and a slightly tighter scrollbar so dark
   chrome does not feel like a separate window. */
::selection{background:rgba(251,192,45,.32); color:#fff}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:#0a0a0c}
::-webkit-scrollbar-thumb{background:#2c2c34; border-radius:6px; border:2px solid #0a0a0c}
::-webkit-scrollbar-thumb:hover{background:rgba(251,192,45,.45)}

/* ---- MODERN POLISH PASS ----
   Sharpens the chrome without changing structure. Subtle but adds up:
   glass on the sticky bits, snappier buttons, more confident headers. */

/* the site uses Barlow 15.5px; modern design systems lean a bit larger for
   readability on retina. Bump to 16 and a slightly cooler tone. */
body{font-size:16px; line-height:1.6}
h1,h2,h3,h4{letter-spacing:-.015em; font-weight:800}

/* a hairline of light over the whole page so the dark feels intentional
   rather than under-exposed. */
body::before{content:""; position:fixed; inset:0; pointer-events:none; z-index:0;
  background:radial-gradient(1600px 800px at 50% -10%, rgba(251,192,45,.04), transparent 60%);
}
body.skinned::before{display:none}

/* ---------- header / nav ---------- */
header{
  background:linear-gradient(180deg,#000 0%,#0d0d10 50%,#101014 100%);
  border-bottom:3px solid var(--gold); padding:22px 18px 0;
  position:relative;
  box-shadow:0 4px 32px rgba(0,0,0,.4);
}
/* a hairline of light above the gold rule so the bar reads as a deliberate
   seam instead of a stray line. */
header::after{content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:linear-gradient(90deg, transparent 0%, rgba(251,192,45,.55) 8%,
    rgba(251,192,45,.55) 92%, transparent 100%); pointer-events:none; z-index:1}
.hwrap{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.hlogo{width:72px;height:72px;border-radius:14px;object-fit:cover;
  box-shadow:0 6px 20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition:transform var(--dur-2) var(--ease)}
.hlogo:hover{transform:scale(1.04) rotate(-2deg)}
.htext h1{margin:0;color:var(--gold);font-size:3.4rem;line-height:.9;letter-spacing:.04em;
  font-weight:900;
  background:linear-gradient(180deg, #FFD957 0%, #FBC02D 50%, #d99a00 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 2px 12px rgba(251,192,45,.28))}
.slogan{margin:7px 0 0;font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;
  font-family:var(--figure);font-weight:600;color:#d8d8de}
.slogan .est{color:var(--gold);white-space:nowrap}
.slogan .bar{color:#54545e;margin:0 .55em}
nav{max-width:1180px;margin:18px auto 0;display:flex;gap:6px;flex-wrap:wrap;padding-bottom:0;
  position:relative; z-index:2}
.btn{
  background:transparent;color:var(--gold);border:2px solid rgba(251,192,45,.35);
  border-bottom:none;padding:9px 15px;font-size:.98rem;cursor:pointer;
  border-radius:10px 10px 0 0;transition:all .2s var(--ease);white-space:nowrap;
  position:relative;
  letter-spacing:.04em;
}
@media(min-width:861px){
  nav .btn{padding:8px 13px;font-size:.9rem;letter-spacing:.04em}
  nav .btn.share{padding:8px 16px}
}
.btn:hover{background:rgba(251,192,45,.14);border-color:var(--gold); color:#fff;
  transform:translateY(-1px)}
.btn.on{background:var(--gold);color:#000;border-color:var(--gold);
  box-shadow:0 -3px 16px rgba(251,192,45,.4), 0 1px 0 rgba(255,255,255,.4) inset;
  font-weight:900}
nav .navclose,nav .dh{display:none}
.btn.share{margin-left:auto;border-radius:10px;border-bottom:2px solid rgba(251,192,45,.35);
  font-size:.92rem;padding:8px 18px;align-self:center}
.btn.share:hover{background:rgba(251,192,45,.2)}

/* ---------- news ticker ---------- */
.ticker{background:#000;border-bottom:1px solid var(--line);overflow:hidden;
  position:relative;height:38px;display:flex;align-items:center}
.ticker::after{content:"";position:absolute;right:0;top:0;bottom:0;width:70px;
  background:linear-gradient(90deg,transparent,#000);pointer-events:none;z-index:2}
.tk-label{flex-shrink:0;background:var(--gold);color:#000;font-family:var(--display);
  font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;padding:0 14px;
  height:100%;display:flex;align-items:center;z-index:3}
.tk-view{flex:1;overflow:hidden;height:100%;position:relative}
.tk-track{display:flex;align-items:center;height:100%;gap:0;width:max-content;
  animation:tkscroll 190s linear infinite}
.ticker:hover .tk-track{animation-play-state:paused}
@keyframes tkscroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.tk-item{display:inline-flex;align-items:center;gap:9px;padding:0 26px;
  white-space:nowrap;font-size:.83rem;color:#d6d6dd;cursor:pointer}
.tk-item:hover{color:#fff}
.tk-item img{width:20px;height:20px;border-radius:50%;object-fit:cover;flex-shrink:0}
.tk-tag{font-family:var(--display);font-size:.68rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--gold);border:1px solid rgba(251,192,45,.5);
  border-radius:4px;padding:1px 7px}
.tk-dot{color:#3a3a44}

/* division-coloured news: a lit leading edge plus a faint wash, so a Second
   or Third Division story reads in that division's colours as it goes past */
.tk-item.tk-dv{position:relative;padding-left:30px}
.tk-item.tk-dv::before{content:"";position:absolute;left:14px;top:50%;
  transform:translateY(-50%);width:3px;height:17px;border-radius:2px}
.tk-dv-elite::before{background:#FBC02D;box-shadow:0 0 8px rgba(251,192,45,.6)}
.tk-dv-second::before{background:#f4d042;box-shadow:0 0 8px rgba(244,208,66,.55)}
.tk-dv-third::before{background:#5b8dff;box-shadow:0 0 8px rgba(91,141,255,.6)}
.tk-dv-second{background:linear-gradient(90deg,rgba(31,97,69,.5),rgba(31,97,69,0) 78%)}
.tk-dv-third{background:linear-gradient(90deg,rgba(5,68,207,.42),rgba(5,68,207,0) 78%)}
.tk-dv-elite{background:linear-gradient(90deg,rgba(251,192,45,.13),rgba(251,192,45,0) 78%)}
.tk-item.tk-dv .tk-tag{border-radius:4px;padding:1px 7px}

/* the top-10 money list crawls as one unbroken leaderboard block */
.tk-item.tk-lead,.tk-item.tk-money{padding:0 11px;cursor:pointer}
.tk-item.tk-lead{cursor:default;padding-left:26px;gap:8px}
.tk-cap{font-family:var(--display);font-size:.68rem;letter-spacing:.13em;
  text-transform:uppercase;color:#08080a;background:var(--gold);
  border-radius:4px;padding:2px 9px;white-space:nowrap}
.tk-capsub{font-size:.74rem;letter-spacing:.05em;color:#8f8f9a;
  text-transform:uppercase;white-space:nowrap}
.tk-money{gap:7px}
.tk-money:hover .tk-nm{color:#fff}
.tk-rk{font-family:var(--display);font-size:.72rem;color:var(--gold);
  min-width:20px;text-align:right;opacity:.9}
.tk-nm{font-size:.83rem;color:#d6d6dd;white-space:nowrap}
.tk-amt{font-family:var(--figure);font-variant-numeric:tabular-nums;
  font-size:.8rem;font-weight:700;color:#7fe6a0;white-space:nowrap}
.tk-item.tk-ge{padding-right:20px}
body.skinned .tk-cap{background:var(--sk-rail)}
body.skinned .tk-rk{color:var(--sk-rail)}

@media(prefers-reduced-motion:reduce){.tk-track{animation:none}}

/* ---------- layout ---------- */
main{max-width:1180px;margin:26px auto 60px;padding:0 18px}
.view{display:none} .view.on{display:block}
h2{font-size:2.3rem;color:var(--gold);margin:0 0 4px}
h3{font-size:1.55rem;color:var(--gold);margin:30px 0 12px;
   border-bottom:1px solid var(--line);padding-bottom:8px}
.sub{color:var(--dim);font-size:.88rem;margin:0 0 22px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px}

/* ---------- controls ---------- */
.controls{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px;align-items:center}
input[type=search],select{
  background:var(--panel2);color:var(--txt);border:1px solid var(--line);
  border-radius:9px;padding:10px 14px;font-size:.95rem;font-family:inherit;outline:none;
  transition:border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
input[type=search]{min-width:230px;flex:1}
input[type=search]:focus,select:focus{border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(251,192,45,.12);
  background:#1a1a21}
select{cursor:pointer; appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23FBC02D' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center;
  padding-right:36px}
.chip{
  background:var(--panel2);border:1px solid var(--line);color:var(--dim);
  padding:8px 15px;border-radius:20px;cursor:pointer;font-size:.8rem;
  text-transform:uppercase;letter-spacing:.08em;transition:all .15s var(--ease);white-space:nowrap;
  font-weight:600;
}
.chip:hover{border-color:var(--gold);color:var(--txt); background:rgba(251,192,45,.08);
  transform:translateY(-1px)}
.chip.on{background:var(--gold);color:#000;border-color:var(--gold);font-weight:800;
  box-shadow:0 2px 8px rgba(251,192,45,.25)}

/* ---------- team grid ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:13px}
.tcard{
  border:1px solid var(--line);border-radius:13px;overflow:hidden;cursor:pointer;
  display:flex;align-items:center;gap:13px;padding:13px;position:relative;
  transition:transform .2s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease);
  background-image:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0) 38%);
}
.tcard:hover{transform:translateY(-4px);
  box-shadow:0 1px 0 rgba(255,255,255,.08) inset, 0 16px 32px rgba(0,0,0,.6);
  border-color:rgba(251,192,45,.32)}
.tcard .bar{position:absolute;left:0;top:0;bottom:0;width:5px}
.tlogo{width:52px;height:52px;border-radius:50%;object-fit:cover;
  border:2px solid rgba(255,255,255,.28);background:#000;flex-shrink:0;margin-left:6px}
.tmeta{min-width:0;flex:1}
.tname{font-weight:700;font-size:.98rem;line-height:1.2;text-shadow:0 1px 3px rgba(0,0,0,.55)}
.tsub{font-size:.7rem;letter-spacing:.11em;text-transform:uppercase;opacity:.85;margin-top:3px}
/* light-background cards: dark ink, no glow, stronger badges */
.tcard.lt .tname{text-shadow:none}
.tcard.lt .tsub{opacity:.75}
.tcard.lt .badge{background:rgba(0,0,0,.82);color:#fff;border-color:rgba(0,0,0,.82)}

/* ---------- badges ---------- */
.badge{display:inline-block;font-size:.63rem;padding:3px 9px;border-radius:20px;
  letter-spacing:.11em;border:1px solid currentColor;white-space:nowrap}
.b-elite{color:#FBC02D}.b-second{color:#4ade80}.b-third{color:#5eb8ff}
.b-wait{color:#c58bff}.b-ret{color:#8a8a95}
.b-rec{color:#ff9f43;border-style:dashed}
.b-new{color:#7fe6a0;border-style:dashed}

/* ---------- draft card ---------- */
.draft{display:flex;align-items:center;justify-content:space-between;gap:20px;
  flex-wrap:wrap;border:1px solid rgba(251,192,45,.5);border-left:5px solid var(--gold);
  border-radius:14px;padding:18px 24px;margin-bottom:18px;
  background:linear-gradient(120deg,rgba(251,192,45,.13) 0%,rgba(13,13,15,0) 62%)}
.draft-k{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.draft-t{font-family:var(--display);font-size:1.9rem;letter-spacing:.04em;
  text-transform:uppercase;line-height:1.05;margin-top:2px}
.draft-d{font-family:var(--figure);font-size:1rem;color:#e6e6ec;margin-top:3px;font-weight:600}
.draft-d .sup{font-size:.62em;vertical-align:super}
.draft-r{text-align:right}
.draft-cd{font-family:var(--display);font-size:2.3rem;color:var(--gold);line-height:1}
.draft-cdk{font-size:.64rem;letter-spacing:.16em;text-transform:uppercase;color:var(--dim)}
@media(max-width:560px){.draft-r{text-align:left}}

/* ---------- expansion "coming soon" ---------- */
.soon{border:1px dashed;border-radius:14px;padding:34px 28px;text-align:center;
  background:var(--panel)}
.soon-badge{display:inline-block;font-family:var(--display);font-size:.72rem;
  letter-spacing:.14em;text-transform:uppercase;border:1px solid;border-radius:5px;
  padding:4px 12px;margin-bottom:14px}
.soon-title{font-family:var(--display);font-size:2.4rem;letter-spacing:.05em;
  text-transform:uppercase;line-height:1}
.soon-text{color:var(--dim);max-width:520px;margin:12px auto 0;font-size:.92rem}

/* ---------- stat boxes ---------- */
.sgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px}
.sbox{background:var(--panel2);border:1px solid var(--line);border-radius:11px;padding:15px;
  position:relative; overflow:hidden;
  transition:transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease)}
.sbox::after{content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events:none}
.sbox:hover{transform:translateY(-2px); border-color:rgba(251,192,45,.32)}
.sbox .k{font-size:.68rem;color:var(--dim);letter-spacing:.13em;text-transform:uppercase}
.stat-v{font-size:1.85rem;line-height:1.15;margin-top:3px}
.sbox .n{font-size:.78rem;color:var(--dim);margin-top:2px}

/* ---------- team page ---------- */
#teampage{display:none}
.thead{display:flex;align-items:center;gap:20px;padding:24px;border-radius:16px;
  margin-bottom:20px;flex-wrap:wrap;border:1px solid rgba(255,255,255,.14)}
.thead img{width:96px;height:96px;border-radius:50%;object-fit:cover;
  border:3px solid rgba(255,255,255,.5);box-shadow:0 8px 22px rgba(0,0,0,.6)}
.thead h2{color:#fff;font-size:2.7rem;margin:0;text-shadow:0 3px 8px rgba(0,0,0,.85)}
.thead .own{color:rgba(255,255,255,.9);font-size:.9rem;letter-spacing:.08em;
  text-transform:uppercase;text-shadow:0 2px 5px rgba(0,0,0,.9)}
.tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 18px}
/* ---------- sub-tab picker ----------
   Seven or eight sub-tabs in a row either wrap to three lines or run off the
   side of a phone. A select holds the whole list in the space of one control
   and uses the native picker, which is the one bit of mobile UI that is
   always the right size. */
.tabpick{display:flex;align-items:center;gap:10px;margin:0 0 18px;flex-wrap:wrap}
.tabpick > label{font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--dim);flex-shrink:0}
.tabsel{position:relative;display:inline-flex;min-width:0}
.tabsel select{appearance:none;-webkit-appearance:none;color-scheme:dark;
  font-family:var(--display);text-transform:uppercase;letter-spacing:.06em;
  font-size:1rem;line-height:1;padding:12px 40px 12px 15px;border-radius:11px;
  background:linear-gradient(180deg,#17171d 0%,#101014 100%);
  color:var(--gold);border:1px solid rgba(251,192,45,.5);cursor:pointer;
  outline:none;min-width:210px;max-width:100%;
  transition:border-color var(--dur-1) var(--ease),box-shadow var(--dur-1) var(--ease)}
.tabsel select:hover{border-color:var(--gold)}
.tabsel select:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(251,192,45,.16)}
.tabsel::after{content:'';position:absolute;right:15px;top:50%;width:7px;height:7px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:translateY(-70%) rotate(45deg);pointer-events:none;color:var(--gold);
  opacity:.85}
.tabsel select optgroup{font-family:var(--body);font-style:normal;
  text-transform:uppercase;letter-spacing:.1em;font-size:.7rem;color:#8a8a94;
  background:#0e0e12}
.tabsel select option{font-family:var(--body);text-transform:none;letter-spacing:0;
  font-size:.95rem;color:#e8e8ee;background:#15151a}
.tabpick .tabhint{font-size:.72rem;color:var(--dim);flex:1;min-width:0}
@media(max-width:700px){
  .tabpick > label{display:none}
  .tabpick .tabhint{display:none}
  .tabsel{width:100%}
  .tabsel select{width:100%;min-width:0;font-size:1.02rem;padding:14px 40px 14px 15px}
}
.note{background:rgba(255,159,67,.1);border:1px solid rgba(255,159,67,.45);
  border-left:4px solid #ff9f43;border-radius:9px;padding:13px 16px;margin-bottom:18px;
  font-size:.85rem;color:#ffcf9f}

/* ---------- year card ---------- */
.ycard{background:var(--panel);border:1px solid var(--line);border-radius:13px;
  padding:18px;margin-bottom:14px}
.yhead{display:flex;justify-content:space-between;align-items:center;gap:12px;
  flex-wrap:wrap;margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid var(--line)}
.yyear{font-size:2rem}
.mv{font-size:.65rem;padding:4px 11px;border-radius:5px;letter-spacing:.1em}
.mv-up{background:rgba(74,222,128,.17);color:var(--win);border:1px solid var(--win)}
.mv-dn{background:rgba(240,86,91,.17);color:var(--loss);border:1px solid var(--loss)}
.mv-no{background:rgba(255,255,255,.06);color:var(--dim);border:1px solid var(--line)}

/* ---------- matchup rows ---------- */
.mrow{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:10px;
  margin-bottom:7px;border:1px solid var(--line);background:var(--panel);
  position:relative;overflow:hidden}
.mrow .tint{position:absolute;inset:0;opacity:.2}
.mrow>*{position:relative}
.wk{width:56px;flex-shrink:0;font-size:.74rem;color:var(--dim);letter-spacing:.09em;
  text-transform:uppercase}
.res{width:26px;height:26px;border-radius:6px;display:grid;place-items:center;
  font-weight:700;font-size:.85rem;flex-shrink:0}
.res.W{background:rgba(74,222,128,.2);color:var(--win);border:1px solid var(--win)}
.res.L{background:rgba(240,86,91,.2);color:var(--loss);border:1px solid var(--loss)}
.res.T{background:rgba(255,255,255,.1);color:var(--dim);border:1px solid var(--line)}
.mopp{flex:1;min-width:0;display:flex;align-items:center;gap:9px}
.mopp img{width:28px;height:28px;border-radius:50%;object-fit:cover;
  border:1px solid rgba(255,255,255,.3);flex-shrink:0}
.mopp span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
.msc{font-variant-numeric:tabular-nums;font-size:.95rem;font-weight:600;white-space:nowrap}
.mmg{width:76px;text-align:right;font-variant-numeric:tabular-nums;
  font-weight:700;font-size:.88rem;flex-shrink:0}
.pobadge{background:var(--gold);color:#000;font-size:.6rem;padding:2px 7px;
  border-radius:4px;letter-spacing:.1em;font-weight:700}

/* ---------- tables ---------- */
.twrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--panel);
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset}
table{width:100%;border-collapse:collapse;font-size:.87rem;min-width:640px}
th{background:linear-gradient(180deg, #0a0a0c 0%, #050507 100%);
  color:var(--gold);text-align:left;padding:13px 13px;font-size:.72rem;
  letter-spacing:.1em;text-transform:uppercase;position:sticky;top:0;white-space:nowrap;
  font-weight:800; border-bottom:1px solid rgba(251,192,45,.28)}
td{padding:10px 13px;border-top:1px solid var(--line);white-space:nowrap}
tbody tr{transition:background .15s var(--ease)}
tbody tr:hover{background:rgba(251,192,45,.07)}
.num{text-align:right;font-variant-numeric:tabular-nums}
.ctr{text-align:center}
.oppcell{display:flex;align-items:center;gap:9px}
.oppcell img{width:26px;height:26px;border-radius:50%;object-fit:cover;
  border:1px solid rgba(255,255,255,.28)}
.clickrow{cursor:pointer}
.win{color:var(--win)}.loss{color:var(--loss)}.dim{color:var(--dim)}
.rank{width:34px;color:var(--dim);font-weight:700}

/* ---------- sortable table headers ---------- */
th.sortable{cursor:pointer;user-select:none;transition:color .15s}
th.sortable:hover{color:#fff}
th.sorted{color:#fff}
.arw{font-size:.62em;opacity:.9;margin-left:2px}

/* ---------- division chips / scope header ---------- */
.divchip{display:inline-block;font-size:.66rem;padding:3px 10px;border-radius:5px;
  border:1px solid;letter-spacing:.1em;text-transform:uppercase;font-family:var(--display);
  margin-right:9px;vertical-align:middle}
.divchip.sm{font-size:.58rem;padding:2px 7px;margin:0}
.scopehead{border:1px solid;border-radius:14px;padding:18px 22px;margin-bottom:18px}
.scopetitle{font-family:var(--display);font-size:1.9rem;text-transform:uppercase;letter-spacing:.03em}
.scopesub{color:#b9b9c4;font-size:.84rem;margin-top:2px}
.h3note{font-size:.72rem;color:var(--dim);letter-spacing:.04em;text-transform:none;
  font-family:var(--body);margin-left:10px}
.money{color:#7fe6a0;font-weight:700}
.sbox.full-wide{grid-column:1/-1}

/* ---------- category picker ---------- */
.pickerlab{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);
  margin-right:4px}
.catsel{background:var(--panel2);color:var(--txt);border:1px solid var(--line);
  border-radius:9px;padding:10px 14px;font-size:.95rem;font-family:inherit;min-width:290px}
.catsel:focus{border-color:var(--gold);outline:none}

/* ---------- records overview cards ---------- */
.reccards{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:13px}
.reccard{background:var(--panel);border:1px solid var(--line);border-radius:13px;
  padding:15px 16px;cursor:pointer;transition:transform .16s,border-color .16s}
.reccard:hover{transform:translateY(-3px);border-color:var(--gold)}
.rc-name{font-family:var(--display);text-transform:uppercase;letter-spacing:.06em;
  font-size:.86rem;color:var(--dim);margin-bottom:11px}
.rc-body{display:flex;align-items:center;gap:11px}
.rc-body img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid;flex-shrink:0}
.rc-meta{flex:1;min-width:0}
.rc-team{font-weight:700;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-sub{font-size:.72rem;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-val{font-family:var(--display);font-size:1.75rem;line-height:1;white-space:nowrap}
.rc-more{margin-top:11px;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--dim);border-top:1px solid var(--line);padding-top:9px}
.reccard:hover .rc-more{color:var(--gold)}

/* ---------- division tabs ---------- */
.divtabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.divtab{font-family:var(--display);text-transform:uppercase;letter-spacing:.07em;
  font-size:1rem;padding:9px 22px;border-radius:10px;border:2px solid;cursor:pointer;
  background:transparent;transition:.16s}
.divtab:hover{filter:brightness(1.35)}

/* ---------- schedule ---------- */
.wkblock{background:var(--panel);border:1px solid var(--line);border-radius:12px;
  padding:14px 16px;margin-bottom:11px}
.wkhead{display:flex;justify-content:space-between;align-items:center;gap:12px;
  flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:9px}
.wklabel{font-family:var(--display);font-size:1.15rem;letter-spacing:.07em}
.wkhigh{font-size:.76rem;color:var(--dim)}
.wkhigh strong{color:var(--txt)}
.sqgame{position:relative;border:1px solid var(--line);border-radius:10px;
  overflow:hidden;margin-bottom:8px;background:var(--panel2)}
.sq-side{display:grid;grid-template-columns:5px 30px 1fr auto auto;gap:10px;
  align-items:center;padding:8px 14px 8px 0;cursor:pointer;position:relative;
  transition:background .15s}
.sq-side+.sq-side{border-top:1px solid var(--line)}
.sq-side:hover{background:rgba(255,255,255,.05)}
.sq-bar{align-self:stretch;height:100%;display:block}
.sq-side img{width:30px;height:30px;border-radius:50%;object-fit:cover;border:2px solid;background:#000}
.sq-nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem;color:var(--dim)}
.sq-side.w .sq-nm{color:#fff;font-weight:700}
.sq-side.t .sq-nm{color:#e2e2e8}
.sq-rec{font-family:var(--figure);font-size:.72rem;color:var(--dim);
  font-variant-numeric:tabular-nums;min-width:44px;text-align:right}
.sq-sc{font-family:var(--figure);font-variant-numeric:tabular-nums;font-weight:700;
  font-size:.98rem;min-width:64px;text-align:right;color:var(--dim)}
.sq-side.w .sq-sc{color:var(--win)}
.sq-mg{position:absolute;right:14px;top:50%;transform:translateY(-50%);
  font-family:var(--figure);font-size:.7rem;color:#6d6d78;pointer-events:none;display:none}
@media(min-width:900px){
  .sq-side{grid-template-columns:5px 30px 1fr auto auto;padding-right:86px}
  .sq-mg{display:block}
}

/* ---------- bracket ---------- */
.bracket{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px}
.brcol{flex:1;min-width:230px}
.brtitle{font-family:var(--display);text-transform:uppercase;letter-spacing:.08em;
  font-size:1rem;margin-bottom:10px;text-align:center}
.brgame{background:var(--panel);border:1px solid var(--line);border-radius:11px;
  overflow:hidden;margin-bottom:12px}
.brteam{display:flex;align-items:center;gap:9px;padding:10px 12px;cursor:pointer;
  border-left:3px solid transparent}
.brteam+.brteam{border-top:1px solid var(--line)}
.brteam:hover{background:rgba(255,255,255,.04)}
.brteam img{width:26px;height:26px;border-radius:50%;object-fit:cover}
.brteam span{flex:1;min-width:0;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brteam b{font-family:var(--figure);font-variant-numeric:tabular-nums;font-size:.9rem}
.brteam.win{border-left-color:var(--win);background:rgba(74,222,128,.07)}
.brteam.win span{font-weight:700}
.brseed{flex-shrink:0;width:18px;height:18px;border-radius:4px;display:grid;
  place-items:center;font-family:var(--figure);font-style:normal;font-size:.66rem;
  font-weight:700;color:var(--dim);background:rgba(255,255,255,.07);
  border:1px solid var(--line)}
.brseed[data-bye]{color:var(--gold);border-color:rgba(251,192,45,.5);
  background:rgba(251,192,45,.12)}
.champbar{margin-top:8px;border:1px solid;border-radius:11px;padding:14px 18px;
  display:flex;gap:12px;align-items:center;justify-content:center;
  font-family:var(--display);font-size:1.3rem;letter-spacing:.06em;text-transform:uppercase}
.champbar .dim{font-size:.72rem;letter-spacing:.12em}

/* ---------- promotion / relegation summary ---------- */
.movecard{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:0 0 16px}
.mv-box{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:var(--panel)}
.mv-box.up{border-left:4px solid var(--win)}
.mv-box.down{border-left:4px solid var(--loss)}
.mv-n{font-family:var(--display);font-size:1.7rem;line-height:1}
.mv-box.up .mv-n{color:var(--win)}
.mv-box.down .mv-n{color:var(--loss)}
.mv-k{font-size:.64rem;letter-spacing:.16em;text-transform:uppercase;color:var(--dim);margin-top:2px}
.mv-d{font-size:.8rem;color:#c2c2cc;margin-top:7px;line-height:1.4}
@media(max-width:560px){.movecard{grid-template-columns:1fr}}

/* ---------- status pills ---------- */
.statuspill{display:inline-block;font-size:.68rem;padding:3px 10px;border-radius:5px;
  letter-spacing:.06em;text-transform:uppercase;border:1px solid;white-space:nowrap}
.st-up{color:var(--win);border-color:var(--win);background:rgba(74,222,128,.12)}
.st-down{color:var(--loss);border-color:var(--loss);background:rgba(240,86,91,.12)}
.st-flat{color:var(--dim);border-color:var(--line)}

/* ---------- champions ---------- */
.chgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.chcard{background:var(--panel);border:1px solid var(--line);border-radius:14px;
  padding:18px;border-top:4px solid var(--gold)}
.chcard .yr{font-size:1.7rem;color:var(--gold)}
.chteam{display:flex;align-items:center;gap:12px;margin:12px 0 8px;cursor:pointer}
.chteam img{width:50px;height:50px;border-radius:50%;object-fit:cover;
  border:2px solid var(--gold)}
.emptyish{padding:38px;text-align:center;color:var(--dim)}


/* ---------- charts ---------- */
.chartbox{background:var(--panel);border:1px solid var(--line);border-radius:13px;
  padding:16px 18px 10px;margin:0 0 18px}
.chartbox.tight{margin:14px 0 0;padding:12px 14px 6px;background:rgba(0,0,0,.28)}
.chart{width:100%;height:auto;display:block;overflow:visible}
.chart.small{max-width:470px}
.chart-title{font-family:var(--display);font-size:.92rem;letter-spacing:.07em;
  text-transform:uppercase;margin-bottom:8px}
.chart-key{display:flex;gap:18px;flex-wrap:wrap;margin-top:6px;font-size:.74rem;color:var(--dim)}
.chart-key span{display:inline-flex;align-items:center;gap:7px}
.chart-key i{width:16px;height:3px;border-radius:2px;display:inline-block}
.chart-key i.dash{background:repeating-linear-gradient(90deg,#7a7a86 0 5px,transparent 5px 9px)}

/* ---------- team hero ---------- */
.thead.hero{position:relative;overflow:hidden;padding:0;border:1px solid rgba(255,255,255,.1);
  border-radius:16px;min-height:200px;display:block}
.hero-bg{position:absolute;inset:0}
.hero-wm{position:absolute;right:-42px;top:50%;transform:translateY(-50%);
  width:290px;height:290px;object-fit:cover;border-radius:50%;opacity:.14;
  filter:saturate(1.2);pointer-events:none}
.hero-fade{position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.12) 55%,rgba(0,0,0,.5) 100%)}
.hero-in{position:relative;display:flex;align-items:center;gap:22px;flex-wrap:wrap;
  padding:26px 28px}
.hero-logo{width:104px;height:104px;border-radius:50%;object-fit:cover;border:3px solid;
  box-shadow:0 10px 28px rgba(0,0,0,.6);flex-shrink:0;background:#000}
.hero-txt{flex:1;min-width:210px}
.hero-city{font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(255,255,255,.72);text-shadow:0 2px 6px rgba(0,0,0,.9)}
.thead.hero h2{color:#fff;font-size:2.9rem;margin:2px 0 0;line-height:.98;
  text-shadow:0 4px 14px rgba(0,0,0,.85)}
.thead.hero .own{color:rgba(255,255,255,.9);font-size:.88rem;letter-spacing:.08em;
  text-transform:uppercase;text-shadow:0 2px 6px rgba(0,0,0,.9);margin-top:4px}
.hero-badges{margin-top:9px}
.thead.hero.lt .hero-fade{background:linear-gradient(90deg,rgba(255,255,255,.3) 0%,rgba(0,0,0,.18) 60%,rgba(0,0,0,.45) 100%)}
.hero-stats{display:flex;gap:26px;flex-wrap:wrap;padding-left:8px}
.hero-stats div{text-align:center}
.hero-stats b{display:block;font-family:var(--display);font-size:1.75rem;color:#fff;
  line-height:1;text-shadow:0 3px 10px rgba(0,0,0,.85)}
.hero-stats span{font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;
  color:rgba(255,255,255,.72)}
@media(max-width:700px){
  .hero-wm{width:200px;right:-60px;opacity:.1}
  .thead.hero h2{font-size:1.9rem}
  .hero-logo{width:72px;height:72px}
  .hero-stats{gap:18px;padding-left:0}
  .hero-stats b{font-size:1.3rem}
}

/* ---------- top earners board ---------- */
.earners{display:flex;flex-direction:column;gap:5px}
.earn{display:grid;grid-template-columns:26px 30px minmax(0,1.35fr) minmax(70px,2fr) auto;
  gap:11px;align-items:center;padding:8px 13px;border-radius:10px;cursor:pointer;
  background:var(--panel);border:1px solid var(--line);transition:.16s}
.earn:hover{background:var(--panel2);border-color:rgba(255,255,255,.22);transform:translateX(2px)}
.earn.top3{border-color:rgba(251,192,45,.4)}
.ea-rk{font-family:var(--display);font-size:.98rem;color:var(--dim);text-align:center}
.earn.top3 .ea-rk{color:var(--gold)}
.earn img{width:30px;height:30px;border-radius:50%;object-fit:cover;border:2px solid;background:#000}
.ea-nm{font-weight:600;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ea-bar{height:7px;border-radius:4px;background:#26262e;overflow:hidden}
.ea-bar i{display:block;height:100%;border-radius:4px;
  background:linear-gradient(90deg,#3f9e6b,#7fe6a0)}
.earn.top3 .ea-bar i{background:linear-gradient(90deg,#b8891a,var(--gold))}
.ea-amt{font-family:var(--figure);font-variant-numeric:tabular-nums;font-size:.95rem;
  text-align:right;min-width:74px}
body.skinned .earn{border-color:var(--sk-edge)}
body.skinned .earn.top3{border-color:var(--sk-rail)}
body.skinned .earn.top3 .ea-rk{color:var(--sk-rail)}
@media(max-width:560px){
  .earn{grid-template-columns:22px 26px minmax(0,1fr) auto;gap:8px;padding:9px 11px}
  .ea-bar{display:none}
  .ea-amt{font-size:.86rem;min-width:64px}
}

/* ---------- comments & polls ---------- */
.talk{margin-top:34px}
.talk-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.talk-count{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.talk-id{margin-left:auto;font-size:.74rem;color:var(--dim);display:flex;align-items:center;gap:8px}
.talk-id b{color:var(--gold)}
.linkish{background:none;border:none;color:var(--gold);cursor:pointer;font:inherit;
  font-size:.74rem;padding:6px 2px;min-height:34px;text-decoration:underline;
  text-underline-offset:3px}
@media(max-width:860px){.linkish{min-height:44px;padding:12px 4px}}
.linkish:hover{color:#fff}

.cbox{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:14px 16px}
.cbox textarea{width:100%;min-height:84px;resize:vertical;background:#0e0e12;color:var(--txt);
  border:1px solid var(--line);border-radius:9px;padding:11px 12px;font:inherit;font-size:16px;
  line-height:1.5}
.cbox textarea:focus{outline:none;border-color:var(--gold)}
.crow{display:flex;gap:10px;align-items:center;margin-top:10px;flex-wrap:wrap}
.crow input[type=text]{flex:1;min-width:150px;background:#0e0e12;color:var(--txt);
  border:1px solid var(--line);border-radius:9px;padding:10px 12px;font:inherit;font-size:16px}
.crow input[type=text]:focus{outline:none;border-color:var(--gold)}
.cpost{background:var(--gold);color:#000;border:none;border-radius:9px;padding:11px 22px;
  font-family:var(--display);text-transform:uppercase;letter-spacing:.05em;font-size:.9rem;
  cursor:pointer;min-height:44px;font-weight:800;
  transition:transform var(--dur-1) var(--ease), filter var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
  box-shadow:0 4px 12px rgba(251,192,45,.18)}
.cpost:hover{filter:brightness(1.08); transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(251,192,45,.32)}
.cpost:active{transform:translateY(0)}
.cpost:disabled{opacity:.5;cursor:default; transform:none; box-shadow:none}
.cnote{font-size:.72rem;color:var(--dim);margin-top:8px}
.cerr{background:rgba(240,86,91,.12);border:1px solid rgba(240,86,91,.5);border-radius:9px;
  padding:9px 12px;font-size:.8rem;color:#ffb3b6;margin-top:10px}
.cok{background:rgba(74,222,128,.1);border:1px solid rgba(74,222,128,.45);border-radius:9px;
  padding:9px 12px;font-size:.8rem;color:#9df0bb;margin-top:10px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

.clist{display:flex;flex-direction:column;gap:9px;margin-top:16px}
.cmt{display:flex;gap:11px;background:var(--panel);border:1px solid var(--line);
  border-radius:12px;padding:12px 14px;position:relative;overflow:hidden;
  transition:border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease)}
.cmt:hover{border-color:rgba(255,255,255,.18)}
.cmt-wash{position:absolute;inset:0;opacity:.13;pointer-events:none}
.cmt>*{position:relative}
.cmt img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid;
  flex-shrink:0;background:#000}
.cmt-av{width:36px;height:36px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;
  background:#26262e;border:2px solid var(--line);font-family:var(--display);
  font-size:.9rem;color:var(--dim)}
.cmt-in{flex:1;min-width:0}
.cmt-top{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:3px}
.cmt-nm{font-weight:700;font-size:.9rem;color:#fff}
.cmt-tm{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.cmt-vf{font-size:.6rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:#000;background:var(--gold);border-radius:4px;padding:1px 6px}
.cmt-when{margin-left:auto;font-size:.68rem;color:#6d6d78;white-space:nowrap}
.cmt-body{font-size:.92rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.cmt-del{background:none;border:none;color:#6d6d78;cursor:pointer;font-size:.9rem;
  padding:0 2px;line-height:1;align-self:flex-start}
.cmt-del:hover{color:var(--loss)}
.cempty{color:var(--dim);font-size:.86rem;padding:16px 2px}

/* claim-code dialog */
.cmodal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;
  background:rgba(0,0,0,.72);padding:18px}
.cmodal-in{background:var(--panel);border:1px solid rgba(251,192,45,.4);border-radius:16px;
  padding:24px;max-width:400px;width:100%;box-shadow:0 30px 70px rgba(0,0,0,.7)}
.cmodal h4{margin:0 0 6px;color:var(--gold);font-size:1.3rem}
.cmodal p{margin:0 0 16px;font-size:.84rem;color:var(--dim);line-height:1.5}
.cmodal input{width:100%;background:#0e0e12;color:var(--txt);border:1px solid var(--line);
  border-radius:9px;padding:13px 14px;font:inherit;font-size:18px;letter-spacing:.16em;
  text-align:center;text-transform:uppercase;font-family:var(--figure)}
.cmodal input:focus{outline:none;border-color:var(--gold)}
.cmodal-btns{display:flex;gap:9px;margin-top:14px}
.cmodal-btns button{flex:1;min-height:44px;border-radius:9px;font-family:var(--display);
  text-transform:uppercase;letter-spacing:.05em;font-size:.88rem;cursor:pointer}
.cmodal-go{background:var(--gold);color:#000;border:none}
.cmodal-x{background:transparent;color:var(--dim);border:1px solid var(--line)}

/* polls */
.polls{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}
.poll{background:var(--panel);border:1px solid rgba(251,192,45,.32);border-radius:13px;
  padding:15px 17px}
.poll-q{font-family:var(--display);font-size:1.08rem;color:#fff;margin-bottom:3px;
  letter-spacing:.02em}
.poll-meta{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);
  margin-bottom:11px}
.poll-opts{display:flex;flex-direction:column;gap:7px}
.popt{position:relative;overflow:hidden;background:#15151a;border:1px solid var(--line);
  border-radius:9px;padding:10px 13px;cursor:pointer;transition:.15s;min-height:42px;
  display:flex;align-items:center;gap:10px}
.popt:hover{border-color:rgba(251,192,45,.55)}
.popt.mine{border-color:var(--gold)}
.popt.closed{cursor:default}
.popt-fill{position:absolute;left:0;top:0;bottom:0;background:rgba(251,192,45,.16);
  transition:width .45s cubic-bezier(.4,0,.2,1)}
/* the fill is a background bar, so it must stay out of the flex flow: the old
   blanket rule re-declared it relative and shoved every label sideways */
.popt>span:not(.popt-fill),.popt>b{position:relative}
.popt-lbl{flex:1;min-width:0;font-size:.88rem}
.popt-pct{font-family:var(--figure);font-variant-numeric:tabular-nums;font-size:.84rem;
  color:var(--dim)}
.popt.mine .popt-pct{color:var(--gold)}
.poll-foot{margin-top:10px;font-size:.7rem;color:var(--dim);display:flex;gap:10px;
  align-items:center;flex-wrap:wrap}

/* ---------- replies ---------- */
.creplies{margin:-4px 0 10px 30px;padding-left:14px;border-left:2px solid var(--line);
  display:flex;flex-direction:column;gap:8px}
.cmt-reply{background:#101015}
.cmt-acts{margin-top:6px;display:flex;gap:12px;font-size:.72rem}
.cmt-acts .linkish{font-size:.72rem;padding:0}
.replybar{display:none;align-items:center;gap:8px;font-size:.78rem;color:var(--dim);
  background:rgba(251,192,45,.09);border:1px solid rgba(251,192,45,.32);
  border-radius:var(--r-sm);padding:8px 11px;margin-bottom:8px}
.replybar b{color:var(--gold)}
.signprompt{font-size:.78rem;color:var(--dim);margin-bottom:9px;line-height:1.5}
.signprompt .linkish{font-size:.78rem}
.claimhelp-inline{display:block;color:#8a8a95;margin-top:2px}
.claimhelp-box{background:rgba(251,192,45,.08);border:1px solid rgba(251,192,45,.3);
  border-radius:var(--r-sm);padding:9px 11px;font-size:.8rem;color:#ffe9ab}
.claimhelp-box .claimhelp{color:#fff;font-weight:600}

/* ---------- rumor mill ---------- */
.rumor{display:flex;gap:11px;background:var(--panel);border:1px solid var(--line);
  border-left:3px solid var(--gold);border-radius:12px;padding:13px 15px;margin-bottom:10px;
  position:relative}
.rumor.pinned{background:linear-gradient(100deg,rgba(251,192,45,.09),var(--panel) 60%)}
.rumor img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid;
  flex-shrink:0}
.rumor-in{flex:1;min-width:0}
.rumor-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:5px}
.rumor-kind{font-size:.6rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  border:1px solid;border-radius:var(--r-pill);padding:2px 8px}
.rumor-team{font-weight:700;font-size:.9rem;color:#fff}
/* date pickers inside a label need a usable width of their own */
.admin-check input[type=date]{background:#0e0e12;color:var(--txt);
  border:1px solid var(--line);border-radius:7px;padding:8px 9px;font:inherit;
  font-size:.85rem;min-width:150px}
.admin-check{gap:7px}
/* ---------- clickable matchups + line-up modal ---------- */
.lu-open{cursor:pointer;transition:border-color var(--dur-1) var(--ease)}
/* only the crest and club name navigate to a team, the rest of the row opens
   the matchup */
.sq-go{cursor:pointer}
.sq-go:hover{color:var(--gold)}
img.sq-go:hover{filter:brightness(1.2)}
.sqgame.lu-open::after{content:'Line-ups';position:absolute;right:10px;bottom:6px;
  font-size:.58rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);
  opacity:0;transition:opacity var(--dur-1) var(--ease);pointer-events:none}
.sqgame.lu-open:hover::after{opacity:.85}
.lu-open:hover{border-color:rgba(251,192,45,.55)}
.sqgame.lu-open:hover{box-shadow:0 0 0 1px rgba(251,192,45,.35)}
.lu-modal .cmodal-in{max-width:960px;width:min(96vw,960px);max-height:88vh;overflow-y:auto;
  padding:0}
.lu-head{display:flex;align-items:center;gap:12px;padding:16px 18px 10px;
  position:sticky;top:0;background:var(--panel);z-index:2;border-bottom:1px solid var(--line);
  flex-shrink:0}
.lu-head h4{margin:0;color:var(--gold);font-size:1.15rem}
.lu-x{margin-left:auto;background:none;border:none;color:var(--dim);font-size:1.7rem;
  line-height:1;cursor:pointer;padding:0 4px}
.lu-x:hover{color:#fff}
/* headers share the same three-column rhythm as the rows below them */
.lu-heads{display:grid;grid-template-columns:1fr 52px 1fr;gap:6px;align-items:stretch;
  margin-bottom:10px}
.lu-vs{align-self:center;text-align:center;font-size:.6rem;letter-spacing:.1em;
  color:var(--dim);text-transform:uppercase}
.lu-team{display:flex;align-items:center;gap:10px;border:1px solid;border-radius:10px;
  padding:9px 11px;min-width:0}
.lu-team.rt{flex-direction:row-reverse;text-align:right}
.lu-team img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid;
  flex-shrink:0}
.lu-team b{display:block;font-size:.9rem;color:#fff;line-height:1.2;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
.lu-team span{font-family:var(--figure);font-size:1.15rem;color:var(--gold)}
.lu-in{padding:0 18px 20px}
.lu-in .lu-team:first-of-type{margin-left:0}

/* one row per slot: left player, shared slot label, right player */
.lu-grid{display:flex;flex-direction:column;gap:3px;margin-top:4px}
.lu-line{position:relative;display:grid;grid-template-columns:1fr 52px 1fr;
  align-items:center;gap:6px;background:#131318;border-radius:7px;padding:4px 6px}
.lu-line.bench{background:#0f0f13;opacity:.85}
.lu-mid{text-align:center;font-size:.6rem;font-weight:800;letter-spacing:.05em}
.lu-cell{display:flex;align-items:center;gap:8px;min-width:0;font-size:.82rem}
.lu-cell.r{flex-direction:row-reverse;text-align:right}
.lu-cell.empty{min-height:26px}
.lu-face{width:26px;height:26px;border-radius:50%;object-fit:cover;background:#26262e;
  flex-shrink:0}
.lu-noface{display:inline-block;background:#26262e}
.lu-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  color:#e8e8ee}
.lu-name em{font-style:normal;color:#6d6d78;font-size:.72rem;margin-left:5px}
.lu-cell.r .lu-name em{margin:0 5px 0 0}
.lu-pts{font-family:var(--figure);font-variant-numeric:tabular-nums;color:#fff;
  flex-shrink:0}
/* a thin marker showing which side won the slot */
.lu-edge{position:absolute;top:6px;bottom:6px;width:2px;border-radius:2px}
.lu-edge.l{left:0;background:var(--win)}
.lu-edge.r{right:0;background:var(--win)}
.lu-bench-h{margin:14px 0 6px;font-size:.66rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--dim)}

/* Mobile keeps both line-ups side by side.
   Stacking them destroyed the whole point, which is comparing the two teams
   slot against slot. The row shrinks instead: faces come off, the NFL tag
   hides, and names truncate. */
@media(max-width:820px){
  /* the shared modal wrapper adds 18px of padding, so a 100vw child ended up
     hanging off the right edge and cutting the away team in half */
  .lu-modal{padding:0;place-items:stretch}
  .lu-modal .cmodal-in{width:100%;max-width:100%;max-height:100dvh;height:100dvh;
    border-radius:0;border:none;display:flex;flex-direction:column}
  .lu-modal .lu-in{flex:1;overflow-y:auto}
  .lu-head{padding:12px 13px 9px}
  .lu-head h4{font-size:1rem}
  .lu-in{padding:0 10px 18px}
  .lu-team img{width:24px;height:24px}
  .lu-team b{font-size:.68rem}
  .lu-team span{font-size:.92rem}
  .lu-line{grid-template-columns:1fr 34px 1fr;gap:4px;padding:4px 7px}
  .lu-heads{grid-template-columns:1fr 34px 1fr;gap:4px;padding:0 7px}
  .lu-team{gap:6px;padding:7px 8px;flex-direction:column;align-items:flex-start}
  .lu-team.rt{flex-direction:column;align-items:flex-end;text-align:right}
  .lu-team>div{min-width:0;width:100%}
  .lu-face{display:none}
  .lu-cell{gap:5px;font-size:.72rem}
  .lu-name{font-size:.72rem}
  .lu-name em{display:none}
  .lu-pts{font-size:.72rem}
  .lu-mid{font-size:.52rem}
}
@media(max-width:380px){
  .lu-line,.lu-heads{grid-template-columns:1fr 28px 1fr}
  .lu-cell{font-size:.66rem}
  .lu-name{font-size:.66rem}
  .lu-pts{font-size:.66rem}
}

/* ---------- scorebug ---------- */
.scorebug{margin-bottom:12px}
.sb-row{display:grid;grid-template-columns:1fr 78px 1fr;gap:8px;align-items:stretch}
.sb-side{position:relative;display:flex;align-items:center;gap:10px;min-width:0;
  border:1px solid var(--line);border-radius:12px;padding:11px 13px;cursor:pointer;
  overflow:hidden;transition:border-color var(--dur-1) var(--ease)}
.sb-side:hover{border-color:var(--ink)}
.sb-side.win{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.sb-side.rt{flex-direction:row-reverse;text-align:right}
.sb-side img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid;
  flex-shrink:0}
.sb-txt{min-width:0;flex:1}
.sb-nm{display:block;font-family:var(--display);font-size:1rem;color:#fff;line-height:1.15;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-sc{display:block;font-family:var(--figure);font-variant-numeric:tabular-nums;
  font-size:1.6rem;color:var(--ink);line-height:1.1}
.sb-tick{position:absolute;top:8px;right:10px;width:7px;height:7px;border-radius:50%;
  background:var(--win);box-shadow:0 0 8px var(--win)}
.sb-side.rt .sb-tick{right:auto;left:10px}
.sb-mid{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.sb-vs{font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;color:var(--dim)}
.sb-mg{font-family:var(--figure);font-size:.86rem;color:#fff}
.sb-bar{display:flex;height:5px;border-radius:99px;overflow:hidden;margin-top:8px;
  background:#1c1c22}
.sb-bar i{display:block;transition:width var(--dur-2) var(--ease)}
.lu-crest,.tf-crest{object-fit:contain !important;background:#1a1a20;padding:2px}

/* ---------- sortable tables ---------- */
table.sortable th.sortcol{cursor:pointer;user-select:none;white-space:nowrap;
  transition:color var(--dur-1) var(--ease)}
table.sortable th.sortcol:hover{color:#fff}
table.sortable th.sortcol.on{color:var(--gold)}
/* The swipe hint only makes sense where the table actually scrolls, which is
   the phone layout. On desktop it rendered as a stray line of text above the
   table. The mobile block below turns it back on. */
.scrollnote{display:none}
.notelist{margin:0 0 16px;padding-left:20px;color:var(--dim);font-size:.85rem;line-height:1.65}
.notelist li{margin-bottom:7px}
.notelist strong{color:#e8e8ee}
.sortlbl{display:inline-flex;align-items:center;gap:4px}
.sortarrow{font-style:normal;font-size:.7em;width:8px;display:inline-block}
table.sortable th.sortcol::after{content:'';display:inline-block}
table.sortable th.sortcol:not(.on):hover .sortarrow::after{content:'\2195';opacity:.35}

.txrank{font-family:var(--figure);font-variant-numeric:tabular-nums;font-size:.62rem;
  background:rgba(251,192,45,.16);color:var(--gold);border-radius:99px;padding:1px 6px;
  white-space:nowrap}
.dsumvals{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:10px}
.dsumval{background:var(--panel);border:1px solid var(--line);border-left:3px solid;
  border-radius:11px;padding:9px 12px;min-width:0}
.dsumvl{font-size:.6rem;letter-spacing:.11em;text-transform:uppercase;margin-bottom:6px}
.dsumvr{display:flex;align-items:center;gap:9px;min-width:0}
.dsumvr img{width:30px;height:30px;border-radius:50%;object-fit:cover;background:#26262e;
  flex-shrink:0}
.dsumvr div{flex:1;min-width:0}
.dsumvr b{display:block;font-size:.86rem;color:#fff;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
.dsumvr span{font-size:.68rem;color:var(--dim)}
.dsumvv{flex-shrink:0;font-size:.9rem}
@media(max-width:620px){ .dsumvals{grid-template-columns:1fr} }

/* ---------- nfl stat leaderboard ---------- */
.statsearch{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:11px 14px}
.statsearch input{flex:1;min-width:0;background:#0e0e12;color:var(--txt);
  border:1px solid var(--line);border-radius:9px;padding:10px 13px;font:inherit;font-size:16px}
.statsearch input:focus{outline:none;border-color:var(--gold)}
.statsearch .dim{font-size:.76rem;white-space:nowrap}
.strank{font-family:var(--figure);font-variant-numeric:tabular-nums;font-size:.78rem;
  background:#26262e;color:#c9c9d2;border-radius:99px;padding:2px 9px;white-space:nowrap}
@media(max-width:560px){
  .statsearch{flex-direction:column;align-items:stretch;gap:7px}
  .statsearch .dim{text-align:right}
}

/* ---------- transactions ---------- */
.txr{display:flex;gap:10px;background:var(--panel);border:1px solid var(--line);
  border-left:3px solid #555;border-radius:11px;padding:9px 12px;margin-bottom:7px}
.txr.tx-trade{border-left-color:#93c5fd}
.txr.tx-waiver{border-left-color:#fcd34d}
.txr.tx-add{border-left-color:#86efac}
.txr.txfail{opacity:.5;border-style:dashed}
.txk{flex:0 0 auto;align-self:flex-start;font-size:.56rem;font-weight:800;letter-spacing:.09em;
  text-transform:uppercase;color:var(--dim);padding-top:3px;min-width:64px}
.txbody{flex:1;min-width:0}
.txmeta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px;font-size:.78rem}
.txteam{display:inline-flex;align-items:center;gap:6px;padding:0;font-size:.8rem}
.txteam img{width:19px;height:19px;border-radius:50%;object-fit:cover;border:1px solid}
.txbad{font-size:.58rem;letter-spacing:.08em;text-transform:uppercase;color:#ff9aa0;
  background:rgba(240,86,91,.16);border-radius:99px;padding:2px 8px}
.txr .txline{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:2px 0;font-size:.82rem}
.txr .txline em{font-style:normal;font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--dim);min-width:26px}
.txp{display:inline-flex;align-items:center;gap:5px;background:#131318;border-radius:99px;
  padding:3px 9px 3px 3px;color:#e8e8ee}
.txp img{width:20px;height:20px;border-radius:50%;object-fit:cover;background:#26262e}
.txtrade{background:var(--panel);border:1px solid var(--line);border-radius:13px;
  padding:12px 14px;margin-bottom:9px}
.txtwhen{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);
  margin-bottom:9px}
.txtsides{display:grid;grid-template-columns:1fr 34px 1fr;gap:9px;align-items:start}
.txtside{border:1px solid;border-radius:10px;padding:9px 11px;min-width:0}
.txtget{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.txtarrow{align-self:center;text-align:center;color:var(--dim);font-size:1.2rem}
.txchart{display:flex;align-items:flex-end;gap:4px;height:130px;background:var(--panel);
  border:1px solid var(--line);border-radius:12px;padding:12px 14px 6px;margin-bottom:20px}
.txbar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;
  height:100%;gap:4px}
.txbar i{display:block;width:100%;max-width:34px;background:linear-gradient(180deg,var(--gold),
  rgba(251,192,45,.35));border-radius:3px 3px 0 0;transition:height var(--dur-2) var(--ease)}
.txbar span{font-size:.6rem;color:var(--dim)}
/* moves per season, every franchise, stacked by year */
.tsrow{display:grid;grid-template-columns:minmax(0,224px) 1fr 52px;gap:9px;
  align-items:center;padding:3px 0;font-size:.78rem}
.tsname{display:flex;align-items:center;gap:6px;min-width:0;cursor:pointer;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e8e8ee}
.tsname:hover{color:var(--gold)}
.tsname img{width:19px;height:19px;border-radius:50%;object-fit:cover;border:1px solid;
  flex-shrink:0}
.tstrack{display:flex;height:15px;border-radius:4px;overflow:hidden;background:#111116;
  min-width:0}
.tsseg{height:100%;transition:width var(--dur-2) var(--ease)}
.tstot{font-family:var(--figure);font-variant-numeric:tabular-nums;text-align:right;
  color:#fff;font-size:.82rem}
.tskey{display:flex;gap:14px;flex-wrap:wrap;margin:2px 0 10px;font-size:.72rem;color:var(--dim)}
.tskey b{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;
  vertical-align:-1px}
@media(max-width:700px){
  /* A full club name plus a bar plus a total will not fit across a phone, and
     truncating the name is the one thing that makes the chart useless. So the
     name gets its own line and the bar sits underneath it. */
  .tsrow{grid-template-columns:1fr auto;gap:3px 8px;font-size:.74rem;padding:6px 0;
    border-bottom:1px solid rgba(255,255,255,.05)}
  .tsname{grid-column:1;grid-row:1;white-space:normal;overflow:visible}
  .tstot{grid-column:2;grid-row:1;align-self:center}
  .tstrack{grid-column:1 / -1;grid-row:2;height:12px}
  .tsname img{width:16px;height:16px}
  .txtsides{grid-template-columns:1fr;gap:6px}
  .txtarrow{transform:rotate(90deg)}
  .txk{min-width:0}
  .txchart{height:100px}
}

/* ---------- team draft summary ---------- */
.dsum{display:flex;gap:18px;align-items:center;flex-wrap:wrap;background:var(--panel);
  border:1px solid var(--line);border-radius:12px;padding:12px 15px;margin-bottom:10px}
.dsumstats{display:flex;gap:22px}
.dsumstats div{text-align:center}
.dsumstats b{display:block;font-family:var(--figure);font-size:1.5rem;color:var(--gold);
  line-height:1.1}
.dsumstats span{font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.dsumpos{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.dsumchip{display:flex;align-items:center;gap:5px;font-size:.78rem;color:var(--dim)}
.dsumchip b{color:#fff;font-family:var(--figure)}
.dsumfirst{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:10px}
.dsumlbl{font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.dsumpick{display:inline-flex;align-items:center;gap:6px;background:#131318;
  border-radius:99px;padding:4px 11px 4px 4px;font-size:.8rem;color:#e8e8ee}
.dsumpick img{width:22px;height:22px;border-radius:50%;object-fit:cover;background:#26262e}
.dsumpick em{font-style:normal;color:var(--dim);font-size:.72rem}
@media(max-width:640px){
  .dsumpos{margin-left:0}
  .dsumstats{gap:16px}
}

/* ---------- leaderboards ---------- */
.lbgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(288px,1fr));gap:12px;
  margin-bottom:22px}
.lbcard{background:var(--panel);border:1px solid var(--line);border-radius:13px;
  padding:13px 15px}
.lbh{font-family:var(--display);font-size:1.02rem;color:var(--gold);letter-spacing:.02em}
.lbn{font-size:.7rem;color:var(--dim);margin-bottom:9px}
.lblist{list-style:none;margin:0;padding:0;counter-reset:lb}
.lblist li{display:flex;align-items:center;gap:9px;padding:5px 0;font-size:.83rem;
  border-top:1px solid rgba(255,255,255,.05)}
.lblist li:first-child{border-top:none}
.lbi{font-family:var(--figure);font-size:.72rem;color:var(--dim);width:18px;
  text-align:right;flex-shrink:0}
.lblist li:nth-child(1) .lbi{color:var(--gold)}
.lbm{flex:1;min-width:0;display:flex;align-items:center;gap:6px;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;color:#e8e8ee}
.lbv{flex-shrink:0;font-size:.8rem;color:var(--dim)}
.lbv b{font-family:var(--figure);color:#fff;font-size:.95rem}

/* ---------- draft history ---------- */
.dhboard{margin-bottom:22px}
.dhround{margin-bottom:12px}
.dhrl{font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);
  margin-bottom:5px}
.dhrow{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px}
.dhpick{display:flex;align-items:center;gap:8px;background:var(--panel);
  border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:9px;
  padding:7px 10px;cursor:pointer;min-width:0;font-size:.82rem;
  transition:border-color var(--dur-1) var(--ease)}
.dhpick:hover{border-color:var(--gold)}
.dhpick img{width:22px;height:22px;border-radius:50%;object-fit:cover;border:1px solid;
  flex-shrink:0}
.dhno{font-family:var(--figure);font-variant-numeric:tabular-nums;font-size:.72rem;
  color:var(--dim);flex-shrink:0;min-width:34px}
.dhname{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.dhnfl{font-size:.66rem;color:var(--dim);flex-shrink:0}
.dpick.sm{font-size:.75rem;padding:5px 8px}
.dhlate{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:5px;
  margin-top:8px}
.dplayer{display:flex;align-items:center;gap:8px}
.dplayer img{width:26px;height:26px;border-radius:50%;object-fit:cover;background:#26262e;
  flex-shrink:0}
.dteam{display:flex;align-items:center;gap:8px;text-align:left;padding:0}
.dteam img{width:22px;height:22px;border-radius:50%;object-fit:cover;border:1px solid;
  flex-shrink:0}
.ddet{background:var(--panel);border:1px solid var(--line);border-radius:11px;
  padding:10px 13px;margin-bottom:8px}
.ddet summary{cursor:pointer;font-size:.9rem;color:#e8e8ee}
.ddet summary b{color:var(--gold)}
.dhgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:5px;
  margin-top:10px}
.dhcell{display:flex;align-items:center;gap:7px;background:#131318;border-radius:8px;
  padding:5px 8px;font-size:.8rem;min-width:0}
.dhcell img{width:26px;height:26px;border-radius:50%;object-fit:cover;background:#26262e;
  flex-shrink:0}
.dfirsts{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;
  margin-bottom:20px}
.dfyear{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:11px 13px}
.dfy{font-family:var(--display);font-size:1.3rem;color:var(--gold);margin-bottom:7px}
.dfrow{display:flex;align-items:center;gap:7px;padding:4px 0;cursor:pointer;font-size:.82rem}
.dfrow:hover .dfp{color:var(--gold)}
.dfrow img{width:22px;height:22px;border-radius:50%;object-fit:cover;border:1px solid;
  flex-shrink:0}
.dfdiv{font-size:.58rem;letter-spacing:.1em;text-transform:uppercase;min-width:42px}
.dfp{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e8e8ee}
@media(max-width:700px){
  .dhrow,.dhgrid,.dhlate{grid-template-columns:1fr}
}

/* ---------- locations map ---------- */
.mapwrap{position:relative;border:1px solid var(--line);border-radius:14px;
  overflow:hidden;background:#0b0b0e;margin-bottom:18px}
.mapsvg{display:block;width:100%;height:auto}
.mappin{position:absolute;transform:translate(-50%,-50%);background:none;border:none;
  padding:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;
  transition:transform var(--dur-1) var(--ease);z-index:1}
.mappin:hover,.mappin:focus-visible{transform:translate(-50%,-50%) scale(1.22);z-index:5}
.mappin img{width:26px;height:26px;border-radius:50%;object-fit:cover;
  border:2px solid var(--ink);background:#0b0b0e;
  box-shadow:0 2px 10px rgba(0,0,0,.7)}
.mappin-lbl{font-size:.52rem;letter-spacing:.04em;color:#c9c9d2;white-space:nowrap;
  background:rgba(11,11,14,.82);padding:1px 5px;border-radius:99px;opacity:0;
  transition:opacity var(--dur-1) var(--ease)}
.mappin:hover .mappin-lbl,.mappin:focus-visible .mappin-lbl{opacity:1}
.mapgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:9px}
.mapcard{display:flex;align-items:center;gap:10px;background:var(--panel);
  border:1px solid var(--line);border-left:3px solid var(--ink);border-radius:11px;
  padding:9px 11px;cursor:pointer;text-align:left;font:inherit;color:inherit;min-width:0}
.mapcard:hover{border-color:var(--ink)}
.mapcard img{width:30px;height:30px;border-radius:50%;object-fit:cover;
  border:1px solid var(--ink);flex-shrink:0}
.mapcard div{min-width:0}
.mapcard b{display:block;font-size:.84rem;color:#fff;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
.mapcard span{font-size:.72rem;color:var(--dim)}
.navgap{width:1px;align-self:stretch;margin:6px 5px;background:rgba(251,192,45,.22);
  flex-shrink:0}
@media(max-width:860px){ .navgap{display:none} }
@media(max-width:700px){
  .sb-row{grid-template-columns:1fr 52px 1fr;gap:5px}
  .sb-side{padding:8px 9px;gap:7px;border-radius:10px}
  .sb-side img{width:30px;height:30px}
  .sb-nm{font-size:.76rem}
  .sb-sc{font-size:1.2rem}
  .mappin img{width:20px;height:20px}
  .mappin-lbl{display:none}
}

/* ---------- top five / all-time XI ---------- */
.topfive{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}
.tf-card{display:flex;align-items:center;gap:11px;background:var(--panel);
  border:1px solid var(--line);border-radius:11px;padding:9px 13px}
.tf-rank{font-family:var(--figure);font-size:1.1rem;color:var(--dim);width:20px;text-align:center}
.tf-card img,.tf-noface{width:38px;height:38px;border-radius:50%;object-fit:cover;
  background:#26262e;flex-shrink:0}
.tf-noface.big{width:74px;height:74px}
.tf-in{flex:1;min-width:0}
.tf-nm{font-weight:700;color:#fff;font-size:.94rem}
.tf-meta{display:flex;align-items:center;gap:7px;margin-top:3px}
.tf-nfl,.tf-g{font-size:.7rem;color:var(--dim)}
.tf-ppg{text-align:right}
.tf-ppg b{display:block;font-family:var(--figure);font-size:1.25rem;color:var(--gold)}
.tf-ppg span{font-size:.6rem;letter-spacing:.1em;color:var(--dim)}
.xigrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:11px;
  margin-bottom:20px}
.xicard{background:var(--panel);border:1px solid var(--line);border-radius:12px;
  padding:13px 10px;text-align:center}
.xicard img,.xicard .tf-noface{width:60px;height:60px;border-radius:50%;object-fit:cover;
  margin:4px auto 7px;display:block}
.xislot{font-size:.62rem;font-weight:800;letter-spacing:.1em}
.xinm{font-weight:700;font-size:.86rem;color:#fff;line-height:1.25}
.ximeta{font-size:.7rem;color:var(--dim);margin-top:2px}
.xippg{margin-top:6px;font-size:.72rem;color:var(--dim)}
.xippg b{font-family:var(--figure);font-size:1rem;color:var(--gold)}

/* ---------- transactions ---------- */
.txrow{display:flex;gap:11px;background:var(--panel);border:1px solid var(--line);
  border-radius:11px;padding:11px 13px;margin-bottom:8px}
.txkind{flex:0 0 auto;align-self:flex-start;font-size:.58rem;font-weight:800;
  letter-spacing:.1em;text-transform:uppercase;border-radius:var(--r-pill);padding:3px 9px;
  background:#26262e;color:#c9c9d2}
.tx-trade{background:rgba(94,184,255,.2);color:#93c5fd}
.tx-add{background:rgba(74,222,128,.2);color:#86efac}
.tx-drop{background:rgba(240,86,91,.2);color:#ff9aa0}
.tx-waiver{background:rgba(251,192,45,.2);color:#fcd34d}
.txin{flex:1;min-width:0;font-size:.85rem}
.txtop{margin-bottom:4px}
.txline{color:#c9c9d2;line-height:1.5}
.txline em{font-style:normal;color:var(--dim);font-size:.72rem;text-transform:uppercase;
  letter-spacing:.08em;margin-right:6px}
.txnote{color:var(--dim);font-size:.78rem;margin-top:4px}

/* ---------- team of the year ---------- */
.toty-head{border:1px solid;border-radius:13px;padding:14px 17px;margin-bottom:16px;
  background:linear-gradient(135deg,rgba(255,255,255,.04),transparent)}
.toty-ttl{font-family:var(--display);font-size:1.5rem;letter-spacing:.02em}
.toty-sub{font-size:.8rem;color:var(--dim);margin-top:2px}
.totygrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:13px}
.toty-card{position:relative;overflow:hidden;background:var(--panel);border:1px solid;
  border-radius:14px;padding:15px 12px 13px;text-align:center}
.toty-wash{position:absolute;inset:0;opacity:.20;pointer-events:none}
.toty-card>*{position:relative}
.toty-slot{display:inline-block;font-size:.6rem;font-weight:800;letter-spacing:.1em;
  color:#000;border-radius:var(--r-pill);padding:3px 11px;margin-bottom:9px}
.toty-shot img,.toty-shot .tf-noface{width:84px;height:84px;border-radius:50%;
  object-fit:cover;background:#26262e;border:2px solid rgba(255,255,255,.14);
  margin:0 auto 9px;display:block}
.toty-nm{font-family:var(--display);font-size:1.02rem;color:#fff;line-height:1.2}
.toty-nfl{font-size:.66rem;letter-spacing:.12em;color:#8a8a95;margin-top:2px}
.toty-team{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:9px;
  cursor:pointer;padding-top:9px;border-top:1px solid rgba(255,255,255,.08)}
.toty-team img{width:20px;height:20px;border-radius:50%;object-fit:cover;border:1px solid}
.toty-team span{font-size:.74rem;color:#c9c9d2;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
.toty-team:hover span{color:var(--gold)}
.toty-ppg{margin-top:8px}
.toty-ppg b{font-family:var(--figure);font-size:1.3rem;color:var(--gold)}
.toty-ppg span{display:block;font-size:.62rem;letter-spacing:.08em;color:var(--dim)}
.toty-empty{opacity:.45;border-style:dashed}

/* ---------- player autocomplete ---------- */
.slbar{height:6px;background:#1c1c22;border-radius:99px;overflow:hidden;margin-bottom:8px}
.slbar i{display:block;height:100%;background:var(--gold);transition:width .3s var(--ease)}
.lu-edit-head{display:grid;grid-template-columns:46px 1fr 90px;gap:8px;padding:0 4px 6px;
  font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.lu-edit{display:grid;grid-template-columns:46px 1fr 90px;gap:8px;align-items:center;
  margin-bottom:5px}
.lu-edit .lu-slot{flex:none;text-align:center}
.lu-edit input{background:#0e0e12;color:var(--txt);border:1px solid var(--line);
  border-radius:7px;padding:8px 10px;font:inherit;font-size:.86rem;min-width:0}
.lu-edit input:focus{outline:none;border-color:var(--gold)}
.acbox{position:absolute;z-index:300;background:#111116;border:1px solid rgba(251,192,45,.45);
  border-radius:10px;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.6);max-height:300px;
  overflow-y:auto}
.acrow{display:flex;align-items:center;gap:10px;padding:9px 12px;cursor:pointer;
  border-bottom:1px solid rgba(255,255,255,.05)}
.acrow:last-child{border-bottom:none}
.acrow.on,.acrow:hover{background:rgba(251,192,45,.16)}
.acpos{font-size:.58rem;font-weight:800;letter-spacing:.06em;border-radius:var(--r-pill);
  padding:2px 7px;min-width:38px;text-align:center;background:#26262e;color:#c9c9d2}
.acpos-QB{background:rgba(240,86,91,.22);color:#ff9aa0}
.acpos-RB{background:rgba(74,222,128,.2);color:#86efac}
.acpos-WR{background:rgba(94,184,255,.2);color:#93c5fd}
.acpos-TE{background:rgba(251,192,45,.2);color:#fcd34d}
.acpos-K{background:rgba(167,139,250,.2);color:#c4b5fd}
.acpos-DEF{background:rgba(148,163,184,.22);color:#cbd5e1}
.acname{flex:1;min-width:0;font-size:.88rem;color:#fff;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
.acteam{font-size:.7rem;color:var(--dim);font-variant-numeric:tabular-nums}
.achint{font-size:.72rem;color:var(--dim);margin-top:6px}

.rolesel{background:#0e0e12;color:var(--txt);border:1px solid var(--line);
  border-radius:7px;padding:6px 8px;font:inherit;font-size:.8rem;transition:border-color .2s}
@media(max-width:560px){ .creplies{margin-left:12px;padding-left:10px} }

/* ---------- announcement banner ---------- */
.sitebanner{position:relative;z-index:60;border-bottom:1px solid rgba(251,192,45,.4);
  background:linear-gradient(90deg,rgba(251,192,45,.16),rgba(251,192,45,.05));
  font-size:var(--t-small);color:#ffe9ab}
.sitebanner.lvl-good{border-bottom-color:rgba(74,222,128,.45);color:#c6f6d5;
  background:linear-gradient(90deg,rgba(74,222,128,.16),rgba(74,222,128,.04))}
.sitebanner.lvl-warn{border-bottom-color:rgba(240,86,91,.5);color:#ffd4d6;
  background:linear-gradient(90deg,rgba(240,86,91,.18),rgba(240,86,91,.05))}
.sb-in{max-width:1180px;margin:0 auto;padding:10px var(--s-4);display:flex;gap:var(--s-3);
  align-items:center;line-height:1.45}
.sb-in span{flex:1;white-space:pre-wrap}
.sb-x{background:none;border:none;color:inherit;opacity:.6;cursor:pointer;font-size:1.3rem;
  line-height:1;padding:0 4px;min-height:32px}
.sb-x:hover{opacity:1}

/* ---------- commissioner console ---------- */
.admin-signin{max-width:420px}
.admin-signin input[type=password]{width:100%;background:#0e0e12;color:var(--txt);
  border:1px solid var(--line);border-radius:var(--r-sm);padding:12px;font:inherit;font-size:16px}
#admintabs{flex-wrap:wrap;align-items:center}
.admin-in,.admin-frow input[type=text],.admin-frow input[type=date],.admin-frow select{
  background:#0e0e12;color:var(--txt);border:1px solid var(--line);
  border-radius:var(--r-sm);padding:11px 12px;font:inherit;font-size:16px}
.admin-in{width:100%;margin-bottom:8px}
.admin-frow{display:flex;gap:var(--s-2);flex-wrap:wrap;align-items:center}
.admin-frow input[type=text]{flex:1;min-width:180px}
.admin-frow select{flex:0 1 auto;max-width:100%}
.admin-filter{margin-bottom:var(--s-4)}
.admin-two{display:grid;grid-template-columns:1fr 1fr;gap:var(--s-5);margin-bottom:var(--s-4)}
.admin-two>div{min-width:0}
.admin-acts{display:flex;gap:var(--s-2);flex-wrap:wrap;margin-bottom:var(--s-4)}
.admin-acts .cpost{flex:0 1 auto}
.cpost.alt{background:transparent;color:var(--gold);border:1px solid rgba(251,192,45,.5)}
.cpost.alt:hover{background:rgba(251,192,45,.12)}
.cpost.bad{background:transparent;color:#ff9aa0;border:1px solid rgba(240,86,91,.55)}
.cpost.bad:hover{background:rgba(240,86,91,.14)}
.admin-cmt{align-items:stretch}
.admin-cmt.is-hidden{opacity:.5}
.admin-cmt.is-hidden .cmt-body{text-decoration:line-through;text-decoration-color:rgba(240,86,91,.5)}
.cmt-hid{font-size:.6rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  background:rgba(240,86,91,.2);color:#ff9aa0;border-radius:var(--r-pill);padding:2px 7px}
.admin-cmt .cmt-tm{background:none;border:none;cursor:pointer;padding:0}
.admin-cmt .cmt-tm:hover{color:var(--gold)}
.admin-toggle{display:flex;gap:var(--s-3);align-items:flex-start;padding:10px 0;
  font-size:var(--t-small);line-height:1.5;cursor:pointer}
.admin-toggle input{margin-top:3px;width:18px;height:18px;accent-color:var(--gold);flex-shrink:0}
.admin-toggle b{color:#fff}
.admin-check{display:flex;gap:8px;align-items:center;font-size:var(--t-small);
  color:var(--dim);cursor:pointer;white-space:nowrap}
.admin-check input{width:17px;height:17px;accent-color:var(--gold)}
.admin-danger{margin-top:var(--s-5);padding-top:var(--s-4);border-top:1px solid var(--line)}
.admin-poll{border-color:var(--line)}
/* the shared table style forces a 640px minimum, which pushed the value column
   of these narrow two-column panels out past the edge */
.admin-kv table{min-width:0}
.admin-kv td{white-space:normal;word-break:break-word}
.admin-kv td.num{white-space:nowrap;width:1%}
.admin-det{margin-top:10px;font-size:var(--t-small)}
.admin-det summary{cursor:pointer;color:var(--gold);padding:4px 0}
.admin-voters{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.admin-voters .tk-tag{white-space:normal}
@media(max-width:760px){
  .admin-two{grid-template-columns:1fr}
  .admin-frow input[type=text],.admin-frow select,.admin-acts .cpost{flex-basis:100%;width:100%}
}

body.skinned .cbox,body.skinned .cmt,body.skinned .poll{border-color:var(--sk-edge)}
body.skinned .cpost,body.skinned .cmt-vf{background:var(--sk-rail)}
body.skinned .popt-fill{background:var(--sk-soft)}
body.skinned .popt.mine{border-color:var(--sk-rail)}

@media(max-width:560px){
  .cmt img,.cmt-av{width:30px;height:30px}
  .cmt-when{margin-left:0;width:100%}
  .crow{gap:8px}
  .crow input[type=text]{min-width:0;flex-basis:100%}
  .cpost{width:100%}
}

/* ---------- team rivals ---------- */
.rivals{display:grid;grid-template-columns:repeat(auto-fit,minmax(268px,1fr));gap:12px}
.rivalcard{position:relative;overflow:hidden;background:var(--panel);
  border:1px solid var(--line);border-radius:13px;padding:14px 16px 15px;cursor:pointer;
  transition:transform .18s cubic-bezier(.4,0,.2,1),box-shadow .18s,border-color .18s}
.rivalcard:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.28);
  box-shadow:0 1px 0 rgba(255,255,255,.07) inset,0 16px 34px rgba(0,0,0,.5)}
.rc-wash{position:absolute;inset:0;opacity:.15;pointer-events:none}
.rivalcard>*{position:relative}
.rc-top{display:flex;align-items:center;gap:11px;margin-bottom:11px}
.rc-top img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid;
  flex-shrink:0;background:#000}
.rc-id{flex:1;min-width:0}
.rc-opp{font-family:var(--display);font-size:1.06rem;letter-spacing:.02em;color:#fff;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1}
.rc-why{font-size:.68rem;letter-spacing:.09em;text-transform:uppercase;color:var(--dim);
  margin-top:2px}
.rc-flame{font-size:.72rem;letter-spacing:-2px;flex-shrink:0;align-self:flex-start}
.rc-rec{display:flex;align-items:baseline;gap:7px;font-family:var(--display);
  font-size:1.5rem;line-height:1;margin-bottom:9px}
.rc-rec .sep{color:#4a4a54;font-size:1.1rem}
.rc-rec small{font-family:var(--body);font-size:.68rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--dim);margin-left:auto;font-weight:600}
.rc-split{display:flex;height:5px;border-radius:3px;overflow:hidden;background:#2a2a32;
  margin-bottom:11px}
.rc-split i{display:block;height:100%}
.rc-facts{display:flex;flex-wrap:wrap;gap:6px}
.rc-fact{font-size:.68rem;letter-spacing:.04em;color:#c8c8d2;background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);border-radius:20px;padding:2.5px 9px;white-space:nowrap}
.rc-fact.hot{color:#ffd166;border-color:rgba(251,192,45,.4);background:rgba(251,192,45,.09)}
.rc-last{margin-top:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.07);
  font-size:.72rem;color:var(--dim);display:flex;align-items:center;gap:7px}
.rc-last b{font-family:var(--figure);font-variant-numeric:tabular-nums}
.rc-pill{font-size:.62rem;font-weight:800;letter-spacing:.08em;border-radius:4px;
  padding:1px 6px;flex-shrink:0}
.rc-pill.W{background:rgba(74,222,128,.18);color:var(--win);border:1px solid var(--win)}
.rc-pill.L{background:rgba(240,86,91,.18);color:var(--loss);border:1px solid var(--loss)}
.rc-pill.T{background:rgba(255,255,255,.1);color:var(--dim);border:1px solid var(--line)}
@media(max-width:430px){.rivals{grid-template-columns:1fr}}

/* ---------- trophy case ---------- */
.trophies{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:10px}
.trophy{display:flex;align-items:center;gap:10px;background:var(--panel2);
  border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.tr-ico{font-size:1.15rem;line-height:1;flex-shrink:0}
.tr-txt{min-width:0;display:flex;flex-direction:column;line-height:1.25}
.tr-txt b{font-size:.84rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr-txt em{font-style:normal;font-size:.68rem;color:var(--dim);letter-spacing:.06em}
.trophy.t-title{background:linear-gradient(135deg,rgba(251,192,45,.16),rgba(0,0,0,0))}
.trophy.t-runner{background:linear-gradient(135deg,rgba(200,200,215,.12),rgba(0,0,0,0))}

/* ---------- power rankings ---------- */
.prbar{display:block;height:4px;border-radius:3px;background:rgba(255,255,255,.09);
  margin-top:5px;overflow:hidden}
.prbar i{display:block;height:100%;background:var(--gold)}
.medal{font-size:.9em}
.medal.m1{color:#FBC02D}.medal.m2{color:#c9ccd6}.medal.m3{color:#cd7f4b}

/* ---------- rivalries ---------- */
.riv{background:var(--panel);border:1px solid var(--line);border-radius:13px;
  margin-bottom:11px;overflow:hidden}
.riv.open{border-color:rgba(251,192,45,.5)}
.riv-head{display:grid;grid-template-columns:1fr minmax(190px,240px) 1fr auto;gap:14px;
  align-items:center;padding:14px 18px;cursor:pointer}
.riv-head:hover{background:rgba(255,255,255,.03)}
.riv-side{display:flex;align-items:center;gap:10px;min-width:0}
.riv-side.rt{justify-content:flex-end}
.riv-side img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid;flex-shrink:0}
.riv-side span{font-weight:600;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.riv-mid{text-align:center}
.riv-score{font-family:var(--display);font-size:1.6rem;line-height:1;color:var(--dim)}
.riv-score b{color:#e8e8ee}
.riv-score b.win{color:var(--win)}
.riv-meta{font-size:.68rem;color:var(--dim);margin-top:3px}
.riv-bar{display:flex;height:5px;border-radius:3px;overflow:hidden;margin-top:7px;background:#2a2a32}
.riv-bar i{display:block;height:100%}
.riv-heat{font-size:.8rem;letter-spacing:-2px;opacity:.9}
.riv-body{border-top:1px solid var(--line);padding:14px 18px 16px;background:rgba(0,0,0,.22)}
.riv-sum{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;
  font-size:.78rem;color:var(--dim);margin-bottom:12px}
.riv-sum b{color:#e8e8ee}
.riv-game{display:grid;grid-template-columns:46px 74px 1fr 62px 14px 62px 1fr;gap:8px;
  align-items:center;padding:5px 0;font-size:.82rem;border-top:1px solid rgba(255,255,255,.05)}
.rg-yr,.rg-wk{color:var(--dim);font-size:.72rem}
.rg-f{color:#FBC02D;font-size:.62rem}
.rg-p{color:#9a9aa5;font-size:.62rem}
.rg-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--dim)}
.rg-t.w{color:#fff;font-weight:600}
.rg-s{font-family:var(--figure);font-variant-numeric:tabular-nums;text-align:right;color:var(--dim)}
.rg-s.w{color:var(--win);font-weight:700}
.rg-d{color:#4a4a54;text-align:center}
.rg-t:last-child{text-align:left}
@media(max-width:760px){
  .riv-head{grid-template-columns:1fr;text-align:center}
  .riv-side,.riv-side.rt{justify-content:center}
  .riv-game{grid-template-columns:42px 1fr 58px 12px 58px 1fr;font-size:.76rem}
  .riv-game .rg-wk{display:none}
}

/* ---------- footer ---------- */
#sitefooter{border-top:1px solid var(--line);background:#08080a;margin-top:50px;
  padding:26px 18px 30px}
.ft-in{max-width:1180px;margin:0 auto;display:flex;justify-content:space-between;
  align-items:center;gap:22px;flex-wrap:wrap}
.ft-brand{display:flex;align-items:center;gap:13px}
.ft-brand img{width:44px;height:44px;border-radius:9px;object-fit:cover}
.ft-brand b{display:block;font-family:var(--display);font-size:1.15rem;color:var(--gold);
  letter-spacing:.05em}
.ft-brand span{font-size:.72rem;color:var(--dim);letter-spacing:.06em}
.ft-links{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.ft-links a{display:inline-flex;align-items:center;gap:7px;color:var(--dim);
  border:1px solid var(--line);border-radius:9px;padding:8px 14px;font-size:.82rem;transition:.16s}
.ft-links a:hover{color:var(--gold);border-color:var(--gold)}
.ft-pat{background:var(--gold);color:#000 !important;border-color:var(--gold) !important;
  font-family:var(--display);letter-spacing:.07em;text-transform:uppercase}
.ft-pat:hover{filter:brightness(1.1)}
.ft-note{max-width:1180px;margin:18px auto 0;font-size:.7rem;color:#55555f;
  letter-spacing:.08em;text-transform:uppercase;text-align:center}

/* ---------- misc ---------- */
.inlineteam{display:inline-flex;align-items:center;gap:7px;cursor:pointer}
.inlineteam img{width:22px;height:22px;border-radius:50%;object-fit:cover;border:1px solid}
.inlineteam:hover{color:var(--gold)}
.pill-row{display:flex;gap:9px;flex-wrap:wrap}
.pill-row .inlineteam{background:var(--panel2);border:1px solid var(--line);
  border-radius:20px;padding:6px 14px 6px 8px;font-size:.86rem}


/* ---------- race controls ---------- */
.racectl{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;
  padding-top:10px;border-top:1px solid var(--line)}
.rcbtn{background:var(--gold);color:#000;border:none;border-radius:8px;padding:7px 16px;
  font-family:var(--display);font-size:.86rem;letter-spacing:.06em;cursor:pointer;
  text-transform:uppercase}
.rcbtn.ghost{background:transparent;color:var(--gold);border:1px solid rgba(251,192,45,.5)}
.rcbtn:hover{filter:brightness(1.12)}
#rcrange{flex:1;min-width:150px;accent-color:var(--gold);height:4px;cursor:pointer}
.rcwk{font-size:.76rem;color:var(--dim);white-space:nowrap}
.rcwk b{color:var(--txt);font-family:var(--figure)}
.chart.race .rc-g:hover path{stroke-width:3.6}

/* ---------- compare ---------- */
.cmp-pickers{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.cmp-vs-sm{font-family:var(--display);color:var(--dim);font-size:.9rem}
.cmp-head{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:stretch;margin-bottom:18px}
.cmp-team{display:flex;align-items:center;gap:13px;padding:16px 18px;border-radius:13px;
  border:1px solid rgba(255,255,255,.12)}
.cmp-team.rt{flex-direction:row-reverse;text-align:right}
.cmp-team img{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid;flex-shrink:0}
.cmp-team b{display:block;font-size:1.05rem;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.8)}
.cmp-team span{font-size:.72rem;color:rgba(255,255,255,.78)}
.cmp-vs{display:grid;place-items:center;font-family:var(--display);font-size:1.4rem;
  color:var(--dim);padding:0 6px}
.cmp-h2h{text-align:center;background:var(--panel);border:1px solid var(--line);
  border-radius:13px;padding:16px;margin-bottom:14px}
.cmp-h2h-t{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--dim)}
.cmp-h2h-s{font-family:var(--display);font-size:2.4rem;line-height:1.1}
.cmp-h2h-m{font-size:.78rem;color:var(--dim)}
/* head-to-head meeting log: a table on desktop, cards on phones */
.h2hcards{display:none}
.h2hc{background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:9px 12px}
.h2hc-when{font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);
  margin-bottom:6px}
.h2hc-side{display:flex;align-items:center;gap:9px;padding:3px 0}
.h2hc-side i{width:4px;height:16px;border-radius:2px;flex-shrink:0;opacity:.55}
.h2hc-side span{flex:1;min-width:0;font-size:.86rem;color:var(--dim);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h2hc-side b{font-family:var(--figure);font-variant-numeric:tabular-nums;
  font-size:.95rem;color:var(--dim)}
.h2hc-side.w i{opacity:1}
.h2hc-side.w span{color:#fff;font-weight:600}
.h2hc-side.w b{color:var(--win);font-weight:700}

.cmp-rows{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:6px 16px}
.cmp-row{display:grid;grid-template-columns:88px 1fr 88px;gap:12px;align-items:center;
  padding:9px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.cmp-row:last-child{border-bottom:none}
.cmp-v{font-family:var(--figure);font-variant-numeric:tabular-nums;font-size:.98rem;
  color:var(--dim);text-align:center}
.cmp-v.w{color:#fff;font-weight:700}
.cmp-mid{text-align:center}
.cmp-mid span{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.cmp-bar{display:flex;height:5px;border-radius:3px;overflow:hidden;background:#24242c;margin-top:5px}
.cmp-bar i{display:block;height:100%}
@media(max-width:640px){
  .cmp-head{grid-template-columns:1fr}
  .cmp-team.rt{flex-direction:row;text-align:left}
  .cmp-row{grid-template-columns:66px 1fr 66px;gap:8px}
}

/* ---------- draft board ---------- */
.draftgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:11px}
.dpick{display:flex;align-items:center;gap:12px;padding:13px;border-radius:12px;
  border:1px solid var(--line);cursor:pointer;transition:transform .16s,box-shadow .16s}
.dpick:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(0,0,0,.5)}
.dp-no{font-family:var(--display);font-size:1.05rem;letter-spacing:.04em;min-width:52px;
  text-shadow:0 1px 3px rgba(0,0,0,.6)}
.dpick img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid;flex-shrink:0}
.dp-meta{min-width:0}
.dp-meta b{display:block;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dp-meta span{font-size:.7rem;opacity:.8}
.dpick.lt .dp-no{text-shadow:none}

/* ---------- live ---------- */
tr.live-in td{background:rgba(74,222,128,.07)}
tr.live-in td:first-child{box-shadow:inset 3px 0 0 var(--win)}
.discord-note{background:rgba(114,137,218,.1);border:1px solid rgba(114,137,218,.4);
  border-left:4px solid #7289da;border-radius:9px;padding:12px 15px;margin-top:14px;
  font-size:.85rem;color:#c3cbe8}



/* ================= DEPTH & TEXTURE ================= */
/* subtle field texture behind everything, plus a gold ambient wash */
body{
  background-color:var(--bg);
  background-image:
    radial-gradient(1100px 620px at 12% -8%, rgba(251,192,45,.055), transparent 60%),
    radial-gradient(900px 520px at 92% 4%, rgba(94,184,255,.035), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 3px);
  background-attachment:fixed, fixed, scroll;
}

/* panels get a lit top edge and real shadow instead of a flat fill */
.card,.sbox,.ycard,.chartbox,.tcard,.reccard,.riv,.tier,.qrcard,.sl,
.dpick,.brgame,.wkblock,.sqgame,.movecard .mv-box,.cmp-rows,.cmp-team,.cmp-h2h{
  background-image:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,0) 42%);
  box-shadow:0 1px 0 rgba(255,255,255,.05) inset, 0 6px 18px rgba(0,0,0,.34);
}
.sbox{border-color:#30303a}
.twrap{box-shadow:0 8px 26px rgba(0,0,0,.38)}

/* section headings: gold rule that fades out, small leading tick */
h3{position:relative;border-bottom:none;padding-bottom:11px}
h3::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:linear-gradient(90deg, currentColor, rgba(255,255,255,.07) 42%, transparent 78%);
  opacity:.55}
h2{border-left:5px solid;border-image:linear-gradient(180deg,var(--gold),rgba(251,192,45,.12)) 1;
  padding-left:15px; font-weight:900; letter-spacing:-.02em;
  text-shadow:0 1px 0 rgba(0,0,0,.15), 0 0 22px rgba(251,192,45,.12)}

/* stat numbers get a faint glow so they read as the focal point */
.stat-v{text-shadow:0 0 26px rgba(251,192,45,.16)}
.sbox .stat-v{letter-spacing:.01em}

/* hover lift on the interactive cards */
.tcard,.reccard,.dpick,.sl,.qrcard{transition:transform .18s cubic-bezier(.4,0,.2,1),
  box-shadow .18s, border-color .18s}
.tcard:hover,.reccard:hover,.dpick:hover,.sl:hover,.qrcard:hover{
  box-shadow:0 1px 0 rgba(255,255,255,.07) inset, 0 16px 34px rgba(0,0,0,.5)}

/* nav: give the active tab a lit base */
.btn.on{box-shadow:0 -2px 14px rgba(251,192,45,.4), 0 1px 0 rgba(255,255,255,.35) inset}

/* header: faint crest watermark + deeper gradient */
header{position:relative;overflow:hidden}
header::before{content:"";position:absolute;right:-60px;top:-70px;width:290px;height:290px;
  border-radius:50%;background:radial-gradient(circle, rgba(251,192,45,.10), transparent 66%);
  pointer-events:none}

/* tables: alternating rows so long lists don't blur together */
tbody tr:nth-child(even) td{background:rgba(255,255,255,.017)}
tbody tr{transition:background .14s}
thead th{border-bottom:1px solid rgba(251,192,45,.28)}

/* dividers between major blocks */
main section > h3:not(:first-of-type){margin-top:34px}

/* =====================================================================
   DESIGN SYSTEM PASS
   Applied after the base rules so it can normalise what came before,
   without unpicking every original declaration.
   ===================================================================== */

/* ---- 1. NO ORPHAN GRID ROWS ----------------------------------------
   Auto-fill grids were leaving a single stranded card on the last row
   (home page: 5 stats then a lone 6th). Fixed column counts at each
   breakpoint mean the last row is always full, or deliberately spans. */
.sgrid{grid-template-columns:repeat(3,1fr);gap:var(--s-3)}
@media(min-width:1000px){ .sgrid{grid-template-columns:repeat(3,1fr)} }
/* a trailing card stretches to fill rather than sitting alone */
.sgrid > .sbox:last-child:nth-child(3n+1){grid-column:1/-1}
@media(min-width:1000px){
  .sgrid > .sbox:last-child:nth-child(3n+1){grid-column:1/-1}
  .sgrid > .sbox:nth-last-child(2):nth-child(3n+1){grid-column:span 2}
  .sgrid > .sbox:last-child:nth-child(3n+2){grid-column:span 2}
}
.sgrid .full-wide{grid-column:1/-1}
/* the commissioner overview shows six figures, so lock it to three across:
   two clean rows instead of a stretched orphan pair */
.sgrid.admin-grid{grid-template-columns:repeat(3,1fr)}
@media(min-width:1000px){
  .sgrid.admin-grid{grid-template-columns:repeat(3,1fr)}
  /* the 4-wide orphan rules live in this same query, so cancel them here or
     they keep stretching a box in the middle of the six */
  .sgrid.admin-grid > .sbox:nth-last-child(2):nth-child(4n+1),
  .sgrid.admin-grid > .sbox:last-child:nth-child(4n+2),
  .sgrid.admin-grid > .sbox:last-child:nth-child(4n+1){grid-column:auto}
  .sgrid.admin-grid > .sbox:last-child:nth-child(3n+1){grid-column:1/-1}
}
/* the inherited orphan rules assume a 4-wide grid and would stretch a box in
   the middle of this one, so switch them off and only stretch a true orphan */
.sgrid.admin-grid > .sbox{grid-column:auto}
.sgrid.admin-grid > .sbox:last-child:nth-child(3n+1){grid-column:1/-1}
@media(max-width:700px){
  .sgrid.admin-grid{grid-template-columns:repeat(2,1fr)}
  .sgrid.admin-grid > .sbox:last-child:nth-child(3n+1){grid-column:auto}
  .sgrid.admin-grid > .sbox:last-child:nth-child(2n+1){grid-column:1/-1}
}

.grid{grid-template-columns:repeat(2,1fr);gap:var(--s-3)}
@media(min-width:760px){  .grid{grid-template-columns:repeat(3,1fr)} }
@media(min-width:1120px){ .grid{grid-template-columns:repeat(4,1fr)} }

.reccards{grid-template-columns:repeat(2,1fr);gap:var(--s-3)}
@media(min-width:1080px){ .reccards{grid-template-columns:repeat(3,1fr)} }
.reccards > .reccard:last-child:nth-child(2n+1){grid-column:1/-1}
@media(min-width:1080px){
  .reccards > .reccard:last-child:nth-child(3n+1){grid-column:1/-1}
  .reccards > .reccard:nth-last-child(2):nth-child(3n+1){grid-column:span 2}
  .reccards > .reccard:last-child:nth-child(3n+2){grid-column:span 2}
}

.rivals{grid-template-columns:repeat(2,1fr)}
@media(min-width:1120px){ .rivals{grid-template-columns:repeat(4,1fr)} }
.trophies{grid-template-columns:repeat(2,1fr)}
@media(min-width:820px){  .trophies{grid-template-columns:repeat(3,1fr)} }
@media(min-width:1120px){ .trophies{grid-template-columns:repeat(4,1fr)} }

/* ---- 2. TYPE ---------------------------------------------------------
   Collapse the drift onto the scale. Display faces get optical tracking:
   the bigger the type, the tighter it should sit. */
h2{font-size:var(--t-h2);letter-spacing:-.01em}
h3{font-size:var(--t-h3);letter-spacing:.005em}
.sub{font-size:var(--t-small);max-width:68ch}
.sbox .k,.rc-name,.tsub,.hero-city,.cmt-tm,.poll-meta,.talk-count,
.scopesub,.dp-meta span{font-size:var(--t-micro);letter-spacing:.14em}
.h3note{font-size:var(--t-small);letter-spacing:.02em;text-transform:none}

/* ---- 3. NUMBERS ARE THE PRODUCT -------------------------------------
   On a stats archive the figures should out-weigh their labels, not sit
   at the same visual pressure. */
.stat-v{font-size:2.05rem;letter-spacing:-.015em;font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1,"ss01" 1;line-height:1.02}
.sbox .n{font-size:var(--t-small);margin-top:var(--s-1)}
.num,td.ctr,.msc,.mmg{font-variant-numeric:tabular-nums;letter-spacing:-.005em}
.ea-amt,.rc-val,.cmp-v{letter-spacing:-.01em}
.rc-val{font-size:1.75rem;letter-spacing:-.02em}

/* ---- 4. RADII -------------------------------------------------------- */
.sbox,.trophy,.mrow,.brgame,.h2hc,.earn,.popt,.cbox textarea,.crow input{
  border-radius:var(--r-sm)}
.card,.ycard,.chartbox,.tcard,.reccard,.riv,.rivalcard,.twrap,.cmt,
.poll,.cbox,.cmp-rows,.cmp-team,.cmp-h2h,.wkblock,.movecard .mv-box{
  border-radius:var(--r-md)}
.thead.hero,.sup-hero,.scopehead,.draft{border-radius:var(--r-lg)}
.badge,.chip,.rc-fact,.divtab{border-radius:var(--r-pill)}

/* ---- 5. VERTICAL RHYTHM ---------------------------------------------- */
main{padding-top:var(--s-2)}
main section > h3{margin-top:var(--s-6);margin-bottom:var(--s-3)}
main section > h3:first-of-type{margin-top:var(--s-5)}
.view > .sub{margin-bottom:var(--s-5)}

/* ---- 6. MOTION -------------------------------------------------------
   Content arrives rather than appearing. Staggered by index so a grid
   resolves left-to-right instead of snapping in as one block. */
@keyframes riseIn{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:none}
}
@keyframes fadeIn{ from{opacity:0} to{opacity:1} }
.view.on .sbox,.view.on .tcard,.view.on .reccard,.view.on .rivalcard,
.view.on .earn,.view.on .chcard,.view.on .trophy,.view.on .dpick,
#teampage .sbox,#teampage .rivalcard,#teampage .trophy{
  animation:riseIn var(--dur-3) var(--ease) both;
}
.view.on .sbox:nth-child(1),#teampage .sbox:nth-child(1){animation-delay:0ms}
.view.on .sbox:nth-child(2),#teampage .sbox:nth-child(2){animation-delay:40ms}
.view.on .sbox:nth-child(3),#teampage .sbox:nth-child(3){animation-delay:80ms}
.view.on .sbox:nth-child(4),#teampage .sbox:nth-child(4){animation-delay:120ms}
.view.on .sbox:nth-child(5),#teampage .sbox:nth-child(5){animation-delay:160ms}
.view.on .sbox:nth-child(n+6),#teampage .sbox:nth-child(n+6){animation-delay:200ms}
.view.on .tcard:nth-child(-n+8){animation-delay:calc(var(--i,0) * 35ms)}
.chartbox,.twrap{animation:fadeIn var(--dur-2) var(--ease) both}

/* count-up and bar-fill choreography */
@keyframes barGrow{ from{transform:scaleX(0)} to{transform:scaleX(1)} }
.ea-bar i,.rc-split i,.riv-bar i,.prbar i{
  transform-origin:left center;
  animation:barGrow var(--dur-3) var(--ease) both;
}
.popt-fill{transform-origin:left center;
  animation:barGrow var(--dur-3) var(--ease) both}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important;transition:none !important}
}

/* ---- 7. FOCUS STATES ------------------------------------------------- */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--gold); outline-offset:3px; border-radius:var(--r-sm);
}
body.skinned :where(a,button,input,select,textarea):focus-visible{
  outline-color:var(--sk-rail);
}

/* ---- 8. SKELETON LOADING --------------------------------------------- */
@keyframes shimmer{ from{background-position:-320px 0} to{background-position:320px 0} }
.skel{border-radius:var(--r-sm);
  background:linear-gradient(90deg,#17171b 0%,#22222a 45%,#17171b 90%);
  background-size:320px 100%;
  animation:shimmer 1.15s linear infinite;}
.skel-row{height:58px;margin-bottom:var(--s-2)}
.skel-line{height:12px;margin-bottom:var(--s-2);width:100%}
.skel-line.short{width:52%}

/* ---- 8b. HOME HERO ---------------------------------------------------
   The page used to open straight onto a countdown card. This gives the
   league an arrival moment before the data starts. */
.lede{position:relative;overflow:hidden;border-radius:var(--r-lg);
  border:1px solid rgba(251,192,45,.32);
  margin:var(--s-2) 0 var(--s-6);
  padding:var(--s-8) var(--s-7);
  min-height:340px;display:flex;align-items:center;
  box-shadow:var(--e-3), inset 0 1px 0 rgba(255,255,255,.05)}
.lede-bg{position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(880px 460px at 8% 6%, rgba(251,192,45,.24), transparent 60%),
    radial-gradient(720px 440px at 92% 94%, rgba(94,140,255,.14), transparent 64%),
    radial-gradient(540px 320px at 50% 50%, rgba(251,192,45,.06), transparent 70%),
    linear-gradient(155deg,#1d1810 0%,#111114 48%,#0a0a0c 100%);}
.lede::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.016) 0 1px,transparent 1px 3px)}
.lede-crest{position:absolute;right:-70px;top:50%;transform:translateY(-50%);
  width:480px;height:480px;object-fit:contain;opacity:.10;pointer-events:none;
  filter:saturate(1.3) drop-shadow(0 0 80px rgba(251,192,45,.12))}
.lede-in{position:relative;z-index:1;max-width:60ch}
.lede-eyebrow{display:inline-flex;align-items:center;gap:var(--s-2);
  font-family:var(--figure);font-size:var(--t-micro);font-weight:700;
  letter-spacing:.24em;text-transform:uppercase;color:var(--gold);
  margin-bottom:var(--s-4);
  padding:7px 14px 7px 12px;
  background:rgba(251,192,45,.08);
  border:1px solid rgba(251,192,45,.24);
  border-radius:var(--r-pill);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px)}
.lede-eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--gold);
  box-shadow:0 0 12px var(--gold);animation:pulse 2.4s ease-in-out infinite}
.lede-eyebrow span{color:var(--dim);letter-spacing:.18em}
.lede-eyebrow span::before{content:"·";margin-right:var(--s-2);color:#54545e}
.lede-title{font-family:var(--display);font-size:4.2rem;line-height:.92;
  letter-spacing:-.025em;margin:0 0 var(--s-4);color:#fff;text-transform:uppercase;
  text-shadow:0 6px 34px rgba(0,0,0,.7);
  font-weight:900}
.lede-title em{font-style:normal;color:#FFD957;
  text-shadow:0 0 56px rgba(251,192,45,.42), 0 0 18px rgba(255,217,87,.35)}
.lede-sub{font-size:var(--t-lead);line-height:1.55;color:#c7c7d2;
  margin:0 0 var(--s-6);max-width:46ch}
.lede-title,.lede-sub,.lede-eyebrow{
  animation:riseIn var(--dur-3) var(--ease) both}
.lede-eyebrow{animation-delay:60ms}
.lede-title{animation-delay:120ms}
.lede-sub{animation-delay:220ms}
@media(max-width:900px){
  .lede{padding:var(--s-6) var(--s-5);min-height:0;margin-bottom:var(--s-5)}
  .lede-title{font-size:2.4rem}
  .lede-sub{font-size:var(--t-body)}
  .lede-crest{width:280px;right:-90px;opacity:.07}
}
@media(max-width:430px){
  .lede-title{font-size:2rem}
}

/* ---- 8c. CHAMPIONSHIPS AS OCCASIONS ----------------------------------
   These were table-ish rows. A title is the biggest thing that happens in
   a season, so the card should carry some weight: gold rule, big year,
   the trophy implied rather than stamped on. */
.chgrid{grid-template-columns:repeat(2,1fr);gap:var(--s-4)}
@media(min-width:1080px){ .chgrid{grid-template-columns:repeat(3,1fr)} }
.chgrid > .chcard:last-child:nth-child(2n+1){grid-column:1/-1}
@media(min-width:1080px){
  .chgrid > .chcard:last-child:nth-child(3n+1){grid-column:1/-1}
  .chgrid > .chcard:nth-last-child(2):nth-child(3n+1){grid-column:span 2}
  .chgrid > .chcard:last-child:nth-child(3n+2){grid-column:span 2}
}
.chcard{position:relative;overflow:hidden;padding:var(--s-5);
  border-radius:var(--r-md);box-shadow:var(--e-2);
  transition:transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease)}
.chcard::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,var(--gold),transparent 78%)}
.chcard::after{content:"🏆";position:absolute;right:-6px;bottom:-18px;
  font-size:5.4rem;opacity:.05;pointer-events:none;line-height:1}
.chcard:hover{transform:translateY(-3px);box-shadow:var(--e-3)}
.chcard .yr{font-size:2.3rem;letter-spacing:-.02em;line-height:1;
  margin-bottom:var(--s-3)}
.chcard .chteam{position:relative;z-index:1}

/* Runner-up used to share one flex row with the score, which crushed long
   franchise names against the numbers. Now the score sits on its own line. */
.chrunner{position:relative;z-index:1;display:flex;align-items:center;gap:10px;
  cursor:pointer;border-top:1px solid var(--line);
  padding-top:var(--s-3);margin-top:var(--s-3)}
.chrunner img{width:30px;height:30px;border-radius:50%;object-fit:cover;
  border:1px solid;flex-shrink:0;background:#000}
.chr-meta{flex:1;min-width:0}
.chr-name{font-size:var(--t-small);line-height:1.25;color:var(--txt);
  overflow-wrap:anywhere}
.chr-lab{font-size:var(--t-micro);letter-spacing:.12em;text-transform:uppercase;
  color:var(--dim);margin-top:1px}
.chscore{position:relative;z-index:1;margin-top:var(--s-3);
  font-family:var(--figure);font-variant-numeric:tabular-nums;
  font-size:var(--t-body);font-weight:700;color:#d8d8de;
  text-align:right;letter-spacing:-.01em}

/* ---- 9. EMPTY STATES ------------------------------------------------- */
.emptyish,.cempty{padding:var(--s-6) var(--s-4);text-align:center;
  border:1px dashed var(--line);border-radius:var(--r-md);
  color:var(--dim);font-size:var(--t-body)}

/* ================= PAGE SKIN =================
   Team pages and division pages repaint the whole page in their own colours.
   The black theme is still the base — this is a wash over the top of it, so
   the brand never disappears, it just takes on the club's identity. */
body.skinned{
  background-image:
    radial-gradient(1250px 700px at 8% -10%,  var(--sk-g1), transparent 58%),
    radial-gradient(1000px 620px at 96% 2%,   var(--sk-g2), transparent 60%),
    radial-gradient(1400px 800px at 50% 118%, var(--sk-mist), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 3px);
  background-attachment:fixed, fixed, fixed, scroll;
}
/* a lit seam across the top of the page so the wash has a source */
body.skinned::before{
  content:"";position:fixed;left:0;right:0;top:0;height:3px;z-index:60;
  background:linear-gradient(90deg, transparent, var(--sk-rail) 22%,
             var(--sk-rail) 78%, transparent);
  opacity:.85;pointer-events:none;
}
body.skinned::after{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(1200px 620px at 50% -18%, var(--sk-top), transparent 64%);
}
body.skinned main,body.skinned header,body.skinned #sitefooter,
body.skinned .ticker{position:relative;z-index:1}

/* panels pick up the tint at the top edge and the accent on their borders */
body.skinned .card,body.skinned .sbox,body.skinned .ycard,body.skinned .chartbox,
body.skinned .riv,body.skinned .twrap,body.skinned .brgame,body.skinned .wkblock,
body.skinned .sqgame,body.skinned .movecard .mv-box,body.skinned .rivalcard,
body.skinned .trophy,body.skinned .mrow,body.skinned .cmp-rows,body.skinned .cmp-team{
  border-color:var(--sk-edge);
  background-image:linear-gradient(180deg, var(--sk-soft), var(--sk-tint) 46%);
}
body.skinned h2{border-image:linear-gradient(180deg,var(--sk-rail),
  rgba(255,255,255,.06)) 1; color:var(--sk-rail)}
body.skinned h3{color:var(--sk-rail)}
body.skinned thead th{border-bottom-color:var(--sk-edge)}
body.skinned thead th{background:linear-gradient(180deg,var(--sk-tint),transparent)}
body.skinned tbody tr:nth-child(even) td{background:var(--sk-tint)}
body.skinned tbody tr:hover td{background:var(--sk-soft)}
body.skinned .stat-v{text-shadow:0 0 26px var(--sk-soft)}
body.skinned header{border-bottom-color:var(--sk-rail);
  background:linear-gradient(180deg,#000 0%, var(--sk-tint) 100%)}
body.skinned header::before{background:radial-gradient(circle,
  var(--sk-soft), transparent 66%)}
body.skinned .tk-label{background:var(--sk-rail);color:#08080a}
body.skinned .tk-tag{color:var(--sk-rail);border-color:var(--sk-edge)}

/* nav + tab furniture takes the skin so the whole chrome moves with it */
body.skinned nav .btn{color:var(--sk-rail);border-color:var(--sk-edge)}
body.skinned nav .btn:hover{background:var(--sk-soft);border-color:var(--sk-rail)}
body.skinned nav .btn.on{background:var(--sk-rail);color:#08080a;border-color:var(--sk-rail);
  box-shadow:0 -2px 16px var(--sk-glow),0 1px 0 rgba(255,255,255,.3) inset}
body.skinned .tabs .btn,body.skinned #ttabs .btn{color:var(--sk-rail)}
body.skinned .tabs .btn.on,body.skinned #ttabs .btn.on{
  background:var(--sk-rail);color:#08080a;border-color:var(--sk-rail)}
body.skinned .chip{border-color:var(--sk-edge)}
body.skinned .chip.on{background:var(--sk-rail);color:#08080a;border-color:var(--sk-rail)}
body.skinned .pickerlab{color:var(--sk-rail)}
body.skinned .catsel,body.skinned input[type=search]{border-color:var(--sk-edge)}
body.skinned .catsel:focus,body.skinned input[type=search]:focus{
  border-color:var(--sk-rail);outline-color:var(--sk-rail)}
body.skinned .totop{border-color:var(--sk-rail);color:var(--sk-rail)}
body.skinned #sitefooter{border-top-color:var(--sk-edge);
  background:linear-gradient(180deg,#08080a, var(--sk-tint))}
body.skinned a{color:var(--sk-rail)}
body.skinned .rank{color:var(--sk-rail);opacity:.85}

/* the division banner is the loudest expression of the skin */
body.skinned .scopehead{box-shadow:0 1px 0 rgba(255,255,255,.08) inset,
  0 18px 44px rgba(0,0,0,.5), 0 0 60px var(--sk-soft)}

/* ================= SUPPORT PAGE ================= */
.sup-hero{position:relative;overflow:hidden;border-radius:18px;padding:34px 34px 30px;
  margin-bottom:30px;display:flex;align-items:center;gap:30px;flex-wrap:wrap;
  background:
    radial-gradient(700px 320px at 8% 0%, rgba(251,192,45,.17), transparent 64%),
    linear-gradient(145deg,#1b1710 0%,#111114 46%,#0b0b0d 100%);
  border:1px solid rgba(251,192,45,.34);
  box-shadow:0 1px 0 rgba(255,255,255,.07) inset, 0 22px 54px rgba(0,0,0,.62)}
.sh-glow{position:absolute;left:-90px;top:-120px;width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle, rgba(251,192,45,.2), transparent 66%);
  filter:blur(16px);pointer-events:none}
.sh-crest{position:absolute;right:-52px;bottom:-64px;width:290px;height:290px;opacity:.075;
  pointer-events:none}
.sh-crest img{width:100%;height:100%;object-fit:contain}
.sh-in{position:relative;flex:1;min-width:290px}
.sh-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.64rem;
  letter-spacing:.22em;text-transform:uppercase;color:var(--gold)}
.sh-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);
  box-shadow:0 0 10px var(--gold);animation:pulse 2.4s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.sh-title{font-family:var(--display);font-size:2.7rem;line-height:1;margin:9px 0 12px;
  border:none;padding:0;color:#fff;letter-spacing:.02em}
.sh-title::after{display:none}
.sh-blurb{color:#c9c9d3;font-size:.95rem;max-width:540px;margin:0 0 20px;line-height:1.6}
.sh-actions{display:flex;gap:11px;flex-wrap:wrap;margin-bottom:24px}
.btn-gold,.btn-ghost{display:inline-flex;align-items:center;gap:9px;padding:13px 24px;
  border-radius:11px;font-family:var(--display);font-size:1.02rem;letter-spacing:.06em;
  text-transform:uppercase;transition:transform .16s, box-shadow .16s, filter .16s}
.btn-gold{background:linear-gradient(180deg,#ffd257,var(--gold));color:#000;
  box-shadow:0 8px 22px rgba(251,192,45,.3), 0 1px 0 rgba(255,255,255,.5) inset}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(251,192,45,.44)}
.btn-ghost{border:1px solid rgba(255,255,255,.24);color:#e8e8ee;background:rgba(255,255,255,.04)}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-2px)}
.sh-stats{display:flex;gap:30px;flex-wrap:wrap;padding-top:19px;
  border-top:1px solid rgba(255,255,255,.11)}
.sh-stats b{display:block;font-family:var(--display);font-size:1.62rem;color:var(--gold);
  line-height:1;text-shadow:0 0 20px rgba(251,192,45,.28)}
.sh-stats span{font-size:.58rem;letter-spacing:.17em;text-transform:uppercase;color:var(--dim)}
.sh-qr{position:relative;text-align:center;flex-shrink:0}
.sh-qr-in{background:#fff;padding:11px;border-radius:14px;display:inline-block;
  box-shadow:0 12px 30px rgba(0,0,0,.55)}
.sh-qr-in svg{display:block}
.sh-qr span{display:block;font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--dim);margin-top:10px}

/* tiers */
.tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(258px,1fr));gap:16px}
.tier{position:relative;border:1px solid var(--line);border-radius:15px;padding:24px 22px;
  display:flex;flex-direction:column;overflow:hidden;
  background:linear-gradient(180deg,#191920,#131318)}
.tier::before{content:"";position:absolute;inset:0 0 auto 0;height:2px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent)}
.tier.feat{border-color:rgba(251,192,45,.62);
  background:linear-gradient(180deg,#221d12,#131318);
  box-shadow:0 0 0 1px rgba(251,192,45,.16), 0 20px 44px rgba(0,0,0,.5)}
.tier.feat::before{background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.tier-flag{position:absolute;top:14px;right:14px;background:var(--gold);color:#000;
  font-family:var(--display);font-size:.58rem;letter-spacing:.13em;text-transform:uppercase;
  padding:4px 11px;border-radius:20px}
.tier-top{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid rgba(255,255,255,.08)}
.tier-name{font-family:var(--display);font-size:1.22rem;letter-spacing:.05em;color:#e9e9f0}
.tier-price{font-family:var(--display);font-size:2.9rem;color:var(--gold);line-height:1;
  margin-top:6px;text-shadow:0 0 26px rgba(251,192,45,.24)}
.tier-price span{font-size:.76rem;color:var(--dim);letter-spacing:.06em;
  text-shadow:none;margin-left:2px}
.tier ul{list-style:none;padding:0;margin:0 0 20px;flex:1}
.tier li{font-size:.86rem;color:#c5c5cf;padding:7px 0 7px 24px;position:relative;line-height:1.45}
.tier li::before{content:"";position:absolute;left:0;top:13px;width:11px;height:6px;
  border-left:2px solid var(--gold);border-bottom:2px solid var(--gold);
  transform:rotate(-45deg);opacity:.85}
.tier-cta{display:block;text-align:center;padding:13px;border-radius:10px;
  font-family:var(--display);letter-spacing:.06em;text-transform:uppercase;font-size:.95rem;
  border:1px solid rgba(251,192,45,.45);color:var(--gold);background:rgba(251,192,45,.06);
  transition:.16s}
.tier-cta:hover{background:rgba(251,192,45,.16);transform:translateY(-1px)}
.tier.feat .tier-cta{background:linear-gradient(180deg,#ffd257,var(--gold));color:#000;
  border-color:var(--gold);box-shadow:0 6px 18px rgba(251,192,45,.28)}
.tier.feat .tier-cta:hover{filter:brightness(1.07)}

/* discord note */
.discord-note{display:flex;align-items:center;gap:13px;margin-top:18px;
  background:linear-gradient(135deg,rgba(114,137,218,.16),rgba(114,137,218,.04));
  border:1px solid rgba(114,137,218,.42);border-radius:12px;padding:15px 18px;
  font-size:.9rem;color:#cdd4ee}
.dn-ico{width:36px;height:36px;border-radius:9px;background:rgba(114,137,218,.2);
  display:grid;place-items:center;color:#8fa2ec;flex-shrink:0}

/* wall */
.wall-empty{border:1px dashed rgba(251,192,45,.4);border-radius:15px;padding:34px 26px;
  text-align:center;background:radial-gradient(400px 180px at 50% 0%, rgba(251,192,45,.07), transparent 70%)}
.we-crown{font-size:2rem;color:var(--gold);opacity:.55;line-height:1}
.wall-empty b{display:block;font-family:var(--display);font-size:1.5rem;color:var(--gold);
  margin:10px 0 6px;letter-spacing:.04em}
.wall-empty p{color:var(--dim);font-size:.88rem;margin:0}

/* ================= WAITLIST =================
   Public sign-up form for future franchisees, plus the admin review
   table. Free, no cost, plain text fields, no tracking. The commissioner
   gets a Discord ping on submit, then texts the person directly. */
.wl-wrap{max-width:760px;margin:0 auto;background:var(--panel);
  border:1px solid var(--line);border-radius:14px;padding:24px 26px 22px;
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset}
.wl-hero{text-align:center;margin-bottom:18px}
.wl-hero h3{font-family:var(--display);font-size:1.55rem;color:var(--gold);
  letter-spacing:.02em;border:none;padding:0;margin:0 0 6px}
.wl-hero p{color:var(--dim);font-size:.86rem;margin:0;line-height:1.5}
.wl-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:4px}
.wl-field{display:flex;flex-direction:column;gap:5px}
.wl-field.full{grid-column:1/-1}
.wl-field label{font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--dim);font-weight:600}
.wl-field input,.wl-field select{background:#0e0e12;color:var(--txt);
  border:1px solid var(--line);border-radius:9px;padding:11px 13px;font:inherit;
  font-size:16px;outline:none;
  transition:border-color var(--dur-1) var(--ease),box-shadow var(--dur-1) var(--ease)}
.wl-field input:focus,.wl-field select:focus{border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(251,192,45,.12)}
.wl-field select{appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23FBC02D' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 13px center;padding-right:34px}
.wl-field .hint{font-size:.7rem;color:var(--dim);letter-spacing:.02em}
.wl-field .err{font-size:.74rem;color:#ff9aa0;letter-spacing:.02em;display:none}
.wl-field.bad input,.wl-field.bad select{border-color:#f0565b;
  box-shadow:0 0 0 3px rgba(240,86,91,.14)}
.wl-field.bad .err{display:block}
.wl-cond{display:none;margin-top:4px}
.wl-cond.on{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wl-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:14px}
.wl-success{background:rgba(74,222,128,.1);border:1px solid rgba(74,222,128,.45);
  border-radius:11px;padding:18px 20px;text-align:center;margin-top:14px}
.wl-success b{color:#9df0bb;display:block;font-size:1.05rem;margin-bottom:4px}
.wl-success span{color:#c5e8d3;font-size:.86rem;line-height:1.5}
.wl-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
@media(max-width:640px){
  .wl-grid,.wl-cond.on{grid-template-columns:1fr}
}
.wl-err{background:rgba(240,86,91,.12);border:1px solid rgba(240,86,91,.5);
  border-radius:9px;padding:10px 13px;font-size:.86rem;color:#ffb3b6;margin-top:10px}
.wl-admin{display:flex;flex-direction:column;gap:14px;margin-top:8px}
.wl-admin-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.wl-admin-toolbar .chip{cursor:pointer}
.wl-admin-empty{padding:24px;text-align:center;color:var(--dim);font-size:.88rem}
.wl-row{background:var(--panel2);border:1px solid var(--line);border-radius:12px;
  padding:13px 15px;display:flex;gap:14px;flex-wrap:wrap;align-items:flex-start;
  transition:border-color var(--dur-1) var(--ease)}
.wl-row:hover{border-color:rgba(251,192,45,.4)}
.wl-row .wl-id{flex:1;min-width:220px}
.wl-row .wl-id b{display:block;font-size:1.02rem;color:#fff;margin-bottom:2px}
.wl-row .wl-id .wl-meta{font-size:.76rem;color:var(--dim);line-height:1.45}
.wl-row .wl-id .wl-meta b{color:var(--gold);font-weight:600;font-size:.78rem;
  letter-spacing:.04em;display:inline}
.wl-row .wl-ph{flex:0 0 auto;font-size:.84rem;color:#c5e8d3;min-width:140px}
.wl-row .wl-ph span{color:var(--dim);font-size:.7rem;display:block;text-transform:uppercase;
  letter-spacing:.1em;margin-bottom:2px}
.wl-row .wl-status{flex:0 0 auto;font-size:.68rem;letter-spacing:.1em;
  text-transform:uppercase;padding:4px 9px;border-radius:5px;border:1px solid;
  font-weight:700;align-self:flex-start}
.wl-row .wl-status.pending{color:var(--gold);border-color:rgba(251,192,45,.5);
  background:rgba(251,192,45,.08)}
.wl-row .wl-status.approved{color:#9df0bb;border-color:rgba(74,222,128,.5);
  background:rgba(74,222,128,.08)}
.wl-row .wl-status.rejected{color:#ff9aa0;border-color:rgba(240,86,91,.5);
  background:rgba(240,86,91,.08)}
.wl-row .wl-status.converted{color:#93c5fd;border-color:rgba(147,197,253,.5);
  background:rgba(147,197,253,.08)}
.wl-row .wl-acts{display:flex;gap:6px;flex-wrap:wrap;align-items:center;
  width:100%;margin-top:6px;padding-top:10px;border-top:1px solid var(--line)}
.wl-row .wl-acts button{font-size:.72rem;padding:6px 11px;border-radius:7px;
  border:1px solid var(--line);background:transparent;color:var(--txt);
  cursor:pointer;letter-spacing:.04em;transition:all .15s var(--ease)}
.wl-row .wl-acts button:hover{border-color:var(--gold);color:var(--gold)}
.wl-row .wl-acts button.primary{background:var(--gold);color:#000;
  border-color:var(--gold);font-weight:700}
.wl-row .wl-acts button.primary:hover{filter:brightness(1.08)}
.wl-row .wl-acts button.reject:hover{color:#ff9aa0;border-color:rgba(240,86,91,.55)}
.wl-row .wl-acts button.convert{color:#93c5fd;border-color:rgba(147,197,253,.45)}
.wl-row .wl-acts button.convert:hover{background:rgba(147,197,253,.08)}
.wall-names span{background:linear-gradient(180deg,#1e1e26,#17171d);
  box-shadow:0 2px 8px rgba(0,0,0,.3)}

/* social links */
.sociallinks{display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));gap:12px}
.sl{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:13px;
  padding:15px 17px;color:var(--txt);position:relative;overflow:hidden}
.sl::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:var(--gold);opacity:0;transition:opacity .18s}
.sl:hover::before{opacity:1}
.sl:hover{border-color:rgba(251,192,45,.5);transform:translateY(-3px)}
.sl-ico{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;flex-shrink:0;
  background:rgba(251,192,45,.13);color:var(--gold)}
.sl-patreon .sl-ico{background:rgba(255,66,77,.16);color:#ff6b73}
.sl-instagram .sl-ico{background:linear-gradient(135deg,rgba(225,48,108,.22),rgba(253,175,69,.18));color:#f472a5}
.sl-youtube .sl-ico{background:rgba(255,0,0,.15);color:#ff5c5c}
.sl-discord .sl-ico{background:rgba(114,137,218,.2);color:#8fa2ec}
.sl-tx{min-width:0;flex:1;display:flex;flex-direction:column;line-height:1.35}
.sl-tx b{font-size:.95rem}
.sl-tx em{font-style:normal;font-size:.73rem;color:var(--dim);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sl-go{color:var(--dim);font-size:1.05rem;transition:transform .18s,color .18s}
.sl:hover .sl-go{color:var(--gold);transform:translateX(4px)}

/* qr cards */
.qrrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(178px,1fr));gap:14px}
.qrcard{border:1px solid var(--line);border-radius:15px;padding:18px;text-align:center}
.qr-in{background:#fff;border-radius:11px;padding:9px;display:inline-block;
  box-shadow:0 6px 18px rgba(0,0,0,.4)}
.qr-in svg{display:block}
.qrcard span{display:block;font-family:var(--display);font-size:1rem;letter-spacing:.06em;
  text-transform:uppercase;color:#e9e9f0;margin-top:12px}
.qrcard em{display:block;font-style:normal;font-size:.7rem;color:var(--dim);margin-top:2px}

@media(max-width:860px){
  .sup-hero{padding:24px 20px;gap:20px}
  .sh-title{font-size:2rem}
  .sh-stats{gap:20px;width:100%}
  .sh-stats b{font-size:1.32rem}
  .sh-qr{width:100%}
  .btn-gold,.btn-ghost{flex:1;justify-content:center;min-height:50px}
  .tier-price{font-size:2.4rem}
  .sh-crest{width:200px;right:-60px;bottom:-50px}
}

/* ================= MOBILE ================= */
html{-webkit-text-size-adjust:100%}
@supports(padding:max(0px)){
  @media(max-width:860px){
    .mobar{padding-left:max(12px,env(safe-area-inset-left));
           padding-right:max(12px,env(safe-area-inset-right))}
    main{padding-left:max(12px,env(safe-area-inset-left));
         padding-right:max(12px,env(safe-area-inset-right))}
    #sitefooter{padding-bottom:max(30px,calc(24px + env(safe-area-inset-bottom)))}
  }
}
.totop{display:none}
@media(max-width:860px){
  /* floating back-to-top once you are deep in a page */
  .totop{position:fixed;right:14px;bottom:calc(16px + env(safe-area-inset-bottom));
    width:48px;height:48px;border-radius:50%;border:1px solid rgba(251,192,45,.5);
    background:rgba(16,16,20,.94);color:var(--gold);display:grid;place-items:center;
    font-size:1.2rem;z-index:55;cursor:pointer;opacity:0;pointer-events:none;
    transition:opacity .22s,transform .22s;transform:translateY(8px);
    box-shadow:0 8px 22px rgba(0,0,0,.55)}
  .totop.on{opacity:1;pointer-events:auto;transform:translateY(0)}
  /* horizontal scrollers for sub-tabs instead of wrapping to 3 rows */
  .tabs,#ttabs,.divtabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
    padding-bottom:4px;margin-left:-12px;margin-right:-12px;
    padding-left:12px;padding-right:12px;scroll-snap-type:x proximity}
  .tabs::-webkit-scrollbar,#ttabs::-webkit-scrollbar,.divtabs::-webkit-scrollbar{display:none}
  .tabs .btn,#ttabs .btn,.divtab{flex:0 0 auto;scroll-snap-align:start}
  #filters,#recscope,#mxscope{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;margin-left:-12px;margin-right:-12px;padding:0 12px 4px}
  #filters::-webkit-scrollbar,#recscope::-webkit-scrollbar{display:none}
  #filters .chip,#recscope .chip{flex:0 0 auto}
  /* smoother native scrolling everywhere */
  .twrap,.mxwrap,#raceholder,.bracket{scroll-behavior:smooth}
}
.mobar{display:none}
.navscrim{display:none}

@media(max-width:860px){
  /* --- compact sticky top bar --- */
  header{position:sticky;top:0;z-index:60;padding:0;border-bottom:2px solid var(--gold)}
  body.navopen header{z-index:95}
  .hwrap{display:none}
  nav{display:none}
  .mobar{display:flex;align-items:center;gap:10px;padding:9px 12px;
    background:linear-gradient(180deg,#000 0%,#0e0e12 100%);min-height:56px}
  .mobar img{width:34px;height:34px;border-radius:8px;object-fit:cover;flex-shrink:0}
  .mobar .mb-t{flex:1;min-width:0;line-height:1.05}
  .mobar .mb-t b{display:block;font-family:var(--display);font-size:1.25rem;
    color:var(--gold);letter-spacing:.04em}
  .mobar .mb-t span{font-size:.56rem;letter-spacing:.14em;text-transform:uppercase;
    color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
  .mb-btn{width:46px;height:46px;border-radius:11px;border:1px solid rgba(251,192,45,.4);
    background:transparent;color:var(--gold);display:grid;place-items:center;
    cursor:pointer;flex-shrink:0;padding:0}
  .mb-btn:active{background:rgba(251,192,45,.18)}
  .mb-burger i{display:block;width:19px;height:2px;background:currentColor;border-radius:2px;
    margin:3px 0;transition:.22s}
  body.navopen .mb-burger i:nth-child(1){transform:translateY(5px) rotate(45deg)}
  body.navopen .mb-burger i:nth-child(2){opacity:0}
  body.navopen .mb-burger i:nth-child(3){transform:translateY(-5px) rotate(-45deg)}

  /* --- slide-out drawer --- */
  .navscrim{display:block;position:fixed;inset:0;background:rgba(0,0,0,.62);
    opacity:0;pointer-events:none;transition:opacity .22s;z-index:70;
    backdrop-filter:blur(2px)}
  body.navopen .navscrim{opacity:1;pointer-events:auto}
  nav.mdrawer{display:block;position:fixed;top:0;right:0;bottom:0;width:min(310px,86vw);
    background:#141419;border-left:1px solid rgba(251,192,45,.25);z-index:90;
    box-shadow:-18px 0 46px rgba(0,0,0,.7);
    transform:translateX(100%);transition:transform .26s cubic-bezier(.4,0,.2,1);
    overflow-y:auto;padding:14px 14px calc(24px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling:touch}
  body.navopen nav.mdrawer{transform:translateX(0)}
  nav .navclose,nav .dh{display:block}
  nav.mdrawer .btn.navclose{justify-content:center;border-color:rgba(251,192,45,.45);
    color:var(--gold);background:transparent;font-size:.92rem;margin-bottom:10px}
  .mdrawer .dh{font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;
    color:var(--dim);padding:12px 12px 7px}
  nav.mdrawer .btn{display:flex;align-items:center;width:100%;margin:0 0 6px;
    border-radius:11px;border:1px solid var(--line);border-bottom:1px solid var(--line);
    padding:14px 16px;font-size:1.02rem;text-align:left;min-height:50px;
    background:rgba(255,255,255,.02)}
  nav.mdrawer .btn.on{background:var(--gold);color:#000;border-color:var(--gold)}
  nav.mdrawer .btn.share{margin-left:0;border-radius:11px}

  /* --- ticker: thinner, faster to read past --- */
  .ticker{height:32px}
  .tk-label{font-size:.62rem;padding:0 10px}
  .tk-item{font-size:.76rem;padding:0 16px}
  .tk-item img{width:17px;height:17px}

  /* --- layout breathing room --- */
  main{padding:0 12px;margin-top:18px}
  h2{font-size:1.62rem}
  h3{font-size:1.24rem;margin:24px 0 10px}
  .sub{font-size:.84rem}

  /* --- tap targets --- */
  .chip{padding:11px 17px;font-size:.8rem;min-height:42px;display:inline-flex;align-items:center}
  .divtab{padding:12px 20px;min-height:46px}
  .catsel,input[type=search],select{min-height:48px;font-size:16px} /* 16px stops iOS zoom */
  .tabs .btn,#ttabs .btn{min-height:44px;padding:10px 15px;font-size:.9rem}
  .rcbtn{min-height:44px;padding:10px 18px}
  #rcrange{height:26px}
  .back-btn,button.btn{min-height:44px}

  /* --- tables: sticky first column + scroll affordance --- */
  .twrap{position:relative;-webkit-overflow-scrolling:touch;
    background-image:linear-gradient(90deg,var(--panel) 30%,rgba(23,23,27,0)),
      linear-gradient(90deg,rgba(23,23,27,0),var(--panel) 70%),
      linear-gradient(90deg,rgba(0,0,0,.5),rgba(0,0,0,0)),
      linear-gradient(90deg,rgba(0,0,0,0),rgba(0,0,0,.5));
    background-position:0 0,100% 0,0 0,100% 0;
    background-repeat:no-repeat;
    background-size:34px 100%,34px 100%,13px 100%,13px 100%;
    background-attachment:local,local,scroll,scroll}
  /* Only force a scroll width when the table actually needs it. A two column
     table was being stretched to 560px and made to scroll for no reason. */
  .twrap table{min-width:0;width:100%}
  .twrap table.sortable{min-width:0}
  .twrap.wide table{min-width:520px}
  /* tighter cells so a wide table needs far less swiping */
  .twrap th,.twrap td{padding:9px 7px;font-size:.8rem}
  .twrap th{font-size:.6rem;letter-spacing:.05em}
  .twrap .dplayer img,.twrap .dteam img{width:22px;height:22px}
  .twrap .acpos{min-width:30px;padding:2px 5px;font-size:.54rem}
  .twrap .strank{padding:2px 6px;font-size:.7rem}
  /* The frozen columns must be fully opaque. A translucent stripe or hover
     tint let the scrolling content show straight through the player name,
     which is the smear you see when swiping. Every state below paints a
     solid colour, and the zebra stripe is layered underneath rather than
     applied to the cell itself. */
  /* The second column is pinned just past the first. That offset was hard
     coded at 34px, which is right for a narrow rank number but far too small
     for a chip like QB1, so the player names slid underneath and were sliced
     in half. A CSS variable keeps the two in step, and only the first column
     is frozen on the narrowest screens where two would eat the width.
   *
     The width itself now follows what the column actually holds. A rank or a
     pick number needs almost nothing; a player or franchise name needs room
     or it gets cut off mid word, which is what was happening on Most Drafted,
     Sure Things and By Franchise. sortTable tags the wrapper. */
  /* 34px could not even hold the word "Pick" plus its sort arrow, so a
     numeric first column clipped its own heading. 48px fits every short
     numeric label the site uses and is still narrow enough to leave the
     rest of the row readable. */
  .twrap{--froz:48px}
  .twrap.wide{--froz:70px}
  .twrap.froz-name,.twrap.froz-name.wide{--froz:min(46vw,168px)}
  .twrap th:nth-child(2),.twrap td:nth-child(2){position:sticky;left:var(--froz);z-index:2;
    background-color:#16161b}
  .twrap thead th:nth-child(2){z-index:5;background-color:#000}
  .twrap th:first-child,.twrap td:first-child{position:sticky;left:0;z-index:3;
    background-color:#16161b;min-width:var(--froz);max-width:var(--froz);
    width:var(--froz);padding-left:9px;padding-right:4px;
    overflow:hidden;text-overflow:ellipsis}
  /* A narrow numeric first column still has to fit its own heading, and
     "Season" plus a sort arrow does not go in 34px. The header wraps rather
     than being clipped; the numbers below it stay on one line. */
  .twrap th:first-child{white-space:normal;line-height:1.2;overflow-wrap:anywhere}
  .twrap th:first-child .sortlbl{display:inline}
  .twrap th:first-child .sortarrow{width:auto}
  /* a name column wraps to a second line rather than being clipped, since a
     half a name is worse than a taller row */
  .twrap.froz-name td:first-child{white-space:normal;overflow-wrap:anywhere;
    line-height:1.25;padding-right:8px}
  .twrap.froz-name td:first-child .dplayer,
  .twrap.froz-name td:first-child .dteam{white-space:normal;align-items:center}
  .twrap thead th:first-child{z-index:6;background-color:#000}
  .twrap tbody tr:nth-child(even) td:first-child,
  .twrap tbody tr:nth-child(even) td:nth-child(2){background-color:#191920}
  .twrap tbody tr:hover td:first-child,
  .twrap tbody tr:hover td:nth-child(2){background-color:#241f12}
  /* a hairline so the frozen edge reads as an edge */
  .twrap td:nth-child(2),.twrap th:nth-child(2){box-shadow:6px 0 8px -6px rgba(0,0,0,.75)}
  @media(max-width:430px){
    /* freezing two columns on a small phone leaves no room to read the rest */
    .twrap th:nth-child(2),.twrap td:nth-child(2){position:static;box-shadow:none}
    .twrap th:first-child,.twrap td:first-child{box-shadow:6px 0 8px -6px rgba(0,0,0,.75)}
  }
  th,td{padding:11px 10px}
  .oppcell span{max-width:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .scrollnote{display:flex;font-size:.7rem;color:var(--dim);letter-spacing:.06em;text-transform:uppercase;
    margin:0 0 7px;display:flex;align-items:center;gap:6px}
  .scrollnote::after{content:"→";animation:nudge 1.6s ease-in-out infinite}
  @keyframes nudge{0%,100%{transform:translateX(0);opacity:.45}50%{transform:translateX(4px);opacity:1}}

  /* --- team hero --- */
  .hero-in{padding:18px 16px;gap:14px}
  .hero-logo{width:64px;height:64px}
  .thead.hero h2{font-size:1.62rem}
  .hero-wm{width:170px;right:-52px;opacity:.11}
  .hero-stats{width:100%;justify-content:space-between;gap:10px;padding:12px 0 0;
    border-top:1px solid rgba(255,255,255,.14);margin-top:4px}
  .hero-stats b{font-size:1.18rem}
  .hero-stats span{font-size:.55rem}

  /* --- charts --- */
  .chartbox{padding:12px 10px 8px}
  .chart{min-height:170px}
  .chart.race{min-width:600px}
  #raceholder{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .racectl{gap:9px}
  .rcwk{font-size:.72rem;order:3;width:100%;text-align:center}

  /* --- bracket: stack rounds --- */
  .bracket{flex-direction:column;gap:10px;overflow-x:visible}
  .brcol{min-width:0;width:100%}

  /* --- rivalries --- */
  .riv-head{padding:13px 14px;gap:10px}
  .riv-side img{width:34px;height:34px}
  .riv-heat{font-size:.72rem}

  /* --- compare --- */
  .cmp-team{padding:13px 14px}
  .cmp-team img{width:44px;height:44px}
  .cmp-h2h-s{font-size:1.9rem}
  /* the meeting log becomes cards — no horizontal scrolling to read a score */
  .h2hlog{display:block}
  .h2hlog .twrap{display:none}
  .h2hcards{display:flex;flex-direction:column;gap:7px}

  /* --- game log: two lines so long team names aren't crushed --- */
  .mrow{flex-wrap:wrap;row-gap:6px;padding:10px 12px}
  .mrow .wk{width:auto;min-width:42px;order:1}
  .mrow .res{order:2}
  .mrow .mopp{order:3;flex:1 1 100%;width:100%}
  .mrow .mopp span{white-space:normal;font-size:.9rem;line-height:1.25}
  .mrow .msc{order:4;margin-left:auto;font-size:1rem}
  .mrow .mmg{order:5;width:auto;min-width:58px}

  /* --- schedule rows --- */
  .sq-side{grid-template-columns:4px 26px 1fr auto auto;gap:8px;padding:9px 12px 9px 0}
  .sq-side img{width:26px;height:26px}
  .sq-nm{font-size:.84rem}
  .sq-rec{font-size:.66rem;min-width:36px}
  .sq-sc{font-size:.9rem;min-width:56px}

  /* --- support --- */
  .patreon-hero{padding:18px 16px;gap:16px}
  .ph-t{font-size:1.65rem}
  .ph-cta,.tier-cta{width:100%;text-align:center;padding:14px 20px;min-height:48px}
  .qrrow{justify-content:center}
  .draft{padding:18px 16px}
  .draft-t{font-size:1.5rem}
  .draft-cd{font-size:1.8rem}

  /* --- footer --- */
  .ft-in{flex-direction:column;align-items:flex-start;gap:16px}
  .ft-links{width:100%}
  .ft-links a{flex:1;justify-content:center;min-height:46px}
  .ft-pat{flex-basis:100%}
}

@media(max-width:430px){
  .grid{grid-template-columns:1fr}
  .sgrid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:9px}
  .stat-v{font-size:1.5rem}
  .reccards{grid-template-columns:1fr}
  .tiers{grid-template-columns:1fr}
  .draftgrid{grid-template-columns:1fr}
  .trophies{grid-template-columns:1fr 1fr}
  .cmp-row{grid-template-columns:58px 1fr 58px;gap:6px}
  .cmp-v{font-size:.88rem}
  h2{font-size:1.45rem}
  .hero-stats b{font-size:1.05rem}
}

/* keep the drawer usable in landscape on short screens */
@media(max-width:860px) and (max-height:480px){
  nav.mdrawer{padding-top:8px}
  nav.mdrawer .btn{min-height:42px;padding:10px 14px}
}

@media(max-width:640px){
  .htext h1{font-size:2.1rem}
  h2{font-size:1.7rem}
  .hlogo{width:56px;height:56px}
  .thead img{width:70px;height:70px}
  .thead h2{font-size:1.8rem}
  .btn{padding:8px 14px;font-size:.92rem}
  .mmg{width:64px}
  .wk{width:48px;font-size:.68rem}
  main{padding:0 12px}
}

/* ================= TRIVIA =================
   Daily BCFL trivia: 3 questions, 30s each, Kahoot-style scoring with
   streak + day-play bonuses. Black theme, gold accents, fits the rest of
   the site. The whole thing lives in one fullscreen modal that the nav
   button opens. */

/* ---- TRIVIA HOME BUTTON ---------------------------------------------
   A big, colourful call-to-action that lives on the home page right
   above the League Board. Not a "boring gold button" - rainbow ring,
   animated, fires confetti on hover. Opens the trivia modal the same
   way the nav button does. */
.triv-cta{margin:18px 0 22px;position:relative}
.triv-cta .triv-big{
  position:relative;display:flex;align-items:center;gap:18px;
  width:100%;padding:22px 26px;border-radius:18px;cursor:pointer;
  text-align:left;font-family:var(--display);
  background:linear-gradient(120deg,#0a1228 0%,#1a0e2a 38%,#0e2a26 70%,#0a0d18 100%);
  border:0;color:#fff;overflow:hidden;isolation:isolate;
  box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 18px 40px rgba(0,0,0,.5);
  transition:transform .18s cubic-bezier(.4,0,.2,1),box-shadow .18s;
}
.triv-cta .triv-big:hover{transform:translateY(-2px);
  box-shadow:0 1px 0 rgba(255,255,255,.12) inset,0 24px 52px rgba(0,0,0,.6)}
.triv-cta .triv-big::before{
  /* the rainbow ring - conic gradient, blurred out to look like a halo */
  content:"";position:absolute;inset:-2px;border-radius:20px;
  background:conic-gradient(from 0deg,
    #ff3d8c 0%,#ffb60f 14%,#fbc02d 22%,#7fe6a0 38%,#5b8dff 52%,
    #a16bff 68%,#ff3d8c 82%,#ffb60f 100%);
  filter:blur(6px);opacity:.85;z-index:-2;animation:triv-spin 7s linear infinite;
}
.triv-cta .triv-big::after{
  /* the inner mask that hides the ring's middle so only a glowing edge
     shows around the button */
  content:"";position:absolute;inset:0;border-radius:18px;
  background:linear-gradient(120deg,#0a1228 0%,#1a0e2a 38%,#0e2a26 70%,#0a0d18 100%);
  z-index:-1;
}
.triv-cta .triv-ico{
  flex-shrink:0;width:64px;height:64px;border-radius:16px;
  background:linear-gradient(135deg,#ff3d8c,#a16bff 55%,#5b8dff);
  display:grid;place-items:center;position:relative;z-index:1;
  box-shadow:0 6px 18px rgba(161,107,255,.45),0 1px 0 rgba(255,255,255,.4) inset;
  font-size:1.9rem;line-height:1;
}
.triv-cta .triv-ico::after{
  content:"";position:absolute;inset:-6px;border-radius:22px;
  background:inherit;filter:blur(14px);opacity:.55;z-index:-1;
}
.triv-cta .triv-txt{flex:1;min-width:0;position:relative;z-index:1}
.triv-cta .triv-tag{
  display:inline-flex;align-items:center;gap:7px;
  font-size:.66rem;letter-spacing:.22em;text-transform:uppercase;
  color:#7fe6a0;margin-bottom:6px;
}
.triv-cta .triv-tag i{width:6px;height:6px;border-radius:50%;
  background:#7fe6a0;box-shadow:0 0 10px #7fe6a0;
  animation:pulse 1.6s ease-in-out infinite}
.triv-cta .triv-ttl{
  font-family:var(--display);font-size:1.7rem;letter-spacing:.04em;
  line-height:1;text-transform:uppercase;color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.4);margin:0;
}
.triv-cta .triv-ttl em{font-style:normal;color:#fbc02d;
  background:linear-gradient(90deg,#fbc02d 0%,#7fe6a0 50%,#5b8dff 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:none}
.triv-cta .triv-sub{
  font-size:.86rem;color:#c5c5d2;margin-top:6px;line-height:1.45;
  font-family:var(--body);letter-spacing:0;text-transform:none;
}
.triv-cta .triv-go{
  flex-shrink:0;padding:14px 22px;border-radius:12px;
  background:linear-gradient(180deg,#ffd257,#fbc02d);color:#000;
  font-family:var(--display);font-size:1rem;letter-spacing:.06em;
  text-transform:uppercase;border:0;cursor:pointer;
  box-shadow:0 6px 16px rgba(251,192,45,.35),0 1px 0 rgba(255,255,255,.5) inset;
  transition:transform .14s,filter .14s;position:relative;z-index:1;
}
.triv-cta .triv-go:hover{transform:translateX(2px);filter:brightness(1.07)}
/* the right-side rocket gives the button motion; bounces gently */
.triv-cta .triv-rocket{
  position:absolute;right:18px;top:50%;transform:translateY(-50%);
  font-size:1.6rem;opacity:.85;z-index:1;
  animation:triv-bob 2.4s ease-in-out infinite;
  pointer-events:none;
}
/* the confetti dots - eight little squares drifting on hover */
.triv-cta .triv-conf{position:absolute;inset:0;pointer-events:none;z-index:1}
.triv-cta .triv-conf i{
  position:absolute;width:6px;height:6px;border-radius:2px;
  opacity:0;transform:translate(0,0) rotate(0);
}
.triv-cta:hover .triv-conf i{animation:triv-confetti 1.1s ease-out forwards}
.triv-cta .triv-conf i:nth-child(1){left:18%;top:32%;background:#ff3d8c}
.triv-cta .triv-conf i:nth-child(2){left:34%;top:24%;background:#fbc02d}
.triv-cta .triv-conf i:nth-child(3){left:50%;top:18%;background:#7fe6a0}
.triv-cta .triv-conf i:nth-child(4){left:66%;top:24%;background:#5b8dff}
.triv-cta .triv-conf i:nth-child(5){left:82%;top:32%;background:#a16bff}
.triv-cta .triv-conf i:nth-child(6){left:14%;top:62%;background:#ffb60f}
.triv-cta .triv-conf i:nth-child(7){left:88%;top:62%;background:#7fe6a0}
.triv-cta .triv-conf i:nth-child(8){left:8%;top:48%;background:#a16bff}
.triv-cta .triv-conf i:nth-child(odd){animation-delay:.08s}
.triv-cta .triv-conf i:nth-child(even){animation-delay:.18s}
@keyframes triv-spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@keyframes triv-bob{
  0%,100%{transform:translate(0,-50%)}
  50%{transform:translate(0,-58%) rotate(8deg)}
}
@keyframes triv-confetti{
  0%{opacity:0;transform:translate(0,0) rotate(0)}
  20%{opacity:1}
  100%{opacity:0;transform:translate(var(--cx,0),var(--cy,0)) rotate(220deg)}
}
@media(max-width:700px){
  .triv-cta .triv-big{padding:18px 18px;gap:14px}
  .triv-cta .triv-ico{width:54px;height:54px;font-size:1.55rem;border-radius:13px}
  .triv-cta .triv-ttl{font-size:1.32rem}
  .triv-cta .triv-go{padding:11px 16px;font-size:.86rem}
  .triv-cta .triv-rocket{display:none}
}
@media(max-width:430px){
  .triv-cta .triv-big{flex-wrap:wrap}
  .triv-cta .triv-go{width:100%;text-align:center}
}
.triv-overlay{position:fixed;inset:0;z-index:250;background:rgba(0,0,0,.78);
  backdrop-filter:blur(3px);display:grid;place-items:stretch;
  opacity:0;pointer-events:none;transition:opacity var(--dur-2) var(--ease)}
.triv-overlay.on{opacity:1;pointer-events:auto}
.triv-shell{background:linear-gradient(180deg,#0a0a0d 0%,#0d0d10 100%);
  display:flex;flex-direction:column;width:100%;height:100%;
  overflow:hidden}
.triv-head{display:flex;align-items:center;gap:14px;padding:14px 18px;
  border-bottom:1px solid var(--line);background:#08080a;flex-shrink:0}
.triv-head .tk-tag{margin:0}
.triv-head-title{flex:1;min-width:0}
.triv-head-title b{display:block;font-family:var(--display);font-size:1.05rem;
  color:var(--gold);letter-spacing:.04em}
.triv-head-title span{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--dim)}
.triv-tabs{display:flex;gap:6px;flex-wrap:wrap}
.triv-tab{background:transparent;color:var(--dim);border:1px solid var(--line);
  border-radius:99px;padding:6px 13px;font-size:.74rem;letter-spacing:.08em;
  text-transform:uppercase;cursor:pointer;font-family:var(--display);font-weight:800;
  transition:.15s}
.triv-tab:hover{color:var(--txt);border-color:rgba(251,192,45,.5)}
.triv-tab.on{background:var(--gold);color:#000;border-color:var(--gold)}
.triv-x{margin-left:auto;background:none;border:1px solid var(--line);color:var(--dim);
  width:38px;height:38px;border-radius:10px;cursor:pointer;font-size:1.3rem;line-height:1;
  display:grid;place-items:center;transition:.15s}
.triv-x:hover{color:#fff;border-color:var(--gold)}
.triv-body{flex:1;overflow-y:auto;padding:22px 22px 36px;
  -webkit-overflow-scrolling:touch}

.triv-card{background:linear-gradient(180deg,#17171d 0%,#131318 100%);
  border:1px solid var(--line);border-radius:18px;padding:24px;
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset, 0 18px 42px rgba(0,0,0,.5);
  max-width:760px;margin:0 auto}
.triv-hero{position:relative;overflow:hidden;border-radius:14px;
  border:1px solid rgba(251,192,45,.34);
  background:radial-gradient(700px 320px at 8% 0%, rgba(251,192,45,.18), transparent 64%),
    linear-gradient(145deg,#1a1610 0%,#0e0e10 50%,#0a0a0c 100%);
  padding:26px 26px 22px;margin-bottom:18px}
.triv-hero h3{font-family:var(--display);font-size:1.95rem;letter-spacing:.02em;
  color:#fff;margin:8px 0 8px;border:none;padding:0;line-height:1.05}
.triv-hero h3::after{display:none}
.triv-hero p{font-size:.95rem;color:#c7c7d2;line-height:1.55;max-width:56ch;margin:0 0 12px}
.triv-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.6rem;
  letter-spacing:.22em;text-transform:uppercase;color:var(--gold)}
.triv-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);
  box-shadow:0 0 10px var(--gold);animation:triv-pulse 2.4s ease-in-out infinite}
@keyframes triv-pulse{0%,100%{opacity:1}50%{opacity:.4}}
.triv-stats{display:flex;gap:24px;flex-wrap:wrap;padding-top:16px;margin-top:14px;
  border-top:1px solid rgba(255,255,255,.1)}
.triv-stats div{min-width:120px}
.triv-stats b{display:block;font-family:var(--display);font-size:1.6rem;color:var(--gold);
  line-height:1;text-shadow:0 0 20px rgba(251,192,45,.28)}
.triv-stats span{font-size:.6rem;letter-spacing:.15em;text-transform:uppercase;
  color:var(--dim)}

.triv-cta-row{display:flex;gap:11px;flex-wrap:wrap;margin-top:14px}
.triv-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:13px 24px;border-radius:11px;font-family:var(--display);font-size:1rem;
  letter-spacing:.06em;text-transform:uppercase;transition:.16s;cursor:pointer;
  border:none;font-weight:800}
.triv-btn.primary{background:linear-gradient(180deg,#ffd257,var(--gold));color:#000;
  box-shadow:0 8px 22px rgba(251,192,45,.3), 0 1px 0 rgba(255,255,255,.5) inset}
.triv-btn.primary:hover{filter:brightness(1.08);transform:translateY(-1px)}
.triv-btn.ghost{background:transparent;color:var(--gold);
  border:1px solid rgba(251,192,45,.5)}
.triv-btn.ghost:hover{background:rgba(251,192,45,.12)}
.triv-btn:disabled{opacity:.5;cursor:default;transform:none}

.triv-q{position:relative;overflow:hidden;border-radius:14px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#15151a 0%,#111114 100%);
  padding:24px 22px;margin-bottom:18px}
.triv-q-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:14px}

/* live feedback banner shown above the question after a pick. Right = green,
   Wrong = red, Timeout = dim. Pairs with a running points pill. */
.triv-feedback{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;
  padding:11px 14px;border-radius:12px;margin-bottom:14px;border:1px solid;
  animation:trivFlash .35s ease-out}
.triv-feedback.right{background:rgba(74,222,128,.14);border-color:rgba(74,222,128,.55);color:#c6f6d5}
.triv-feedback.wrong{background:rgba(240,86,91,.14);border-color:rgba(240,86,91,.55);color:#ffd4d6}
.triv-feedback.timeout{background:rgba(255,255,255,.06);border-color:var(--line);color:var(--dim)}
.triv-feedback .triv-fb-ico{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;
  font-size:1.2rem;font-weight:800;font-family:var(--display);flex-shrink:0}
.triv-feedback.right .triv-fb-ico{background:rgba(74,222,128,.85);color:#0a0a0c}
.triv-feedback.wrong .triv-fb-ico{background:rgba(240,86,91,.85);color:#0a0a0c}
.triv-feedback.timeout .triv-fb-ico{background:#26262e;color:var(--dim)}
.triv-feedback .triv-fb-text{flex:1;min-width:0;line-height:1.25}
.triv-feedback .triv-fb-text b{display:block;font-family:var(--display);font-size:1rem;
  letter-spacing:.04em;text-transform:uppercase;margin-bottom:2px}
.triv-feedback .triv-fb-text span{font-size:.8rem;opacity:.85}
.triv-feedback .triv-fb-pts{font-family:var(--figure);font-variant-numeric:tabular-nums;
  font-size:1.3rem;font-weight:700;color:var(--gold);text-shadow:0 0 18px rgba(251,192,45,.32);
  white-space:nowrap}
@keyframes trivFlash{
  from{transform:scale(.97);opacity:0}
  to{transform:scale(1);opacity:1}
}
.triv-q-cat{font-family:var(--display);font-size:.62rem;font-weight:800;
  letter-spacing:.12em;text-transform:uppercase;color:#000;background:var(--gold);
  border-radius:99px;padding:3px 10px}
.triv-q-team{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--dim);display:inline-flex;align-items:center;gap:6px}
.triv-q-team img{width:18px;height:18px;border-radius:50%;object-fit:cover;
  border:1px solid rgba(255,255,255,.2);background:#000}
.triv-q-prog{margin-left:auto;font-family:var(--display);font-size:.78rem;
  letter-spacing:.1em;color:var(--dim)}
.triv-q-prog b{color:var(--gold)}
.triv-q-text{font-family:var(--display);font-size:1.45rem;line-height:1.2;
  color:#fff;margin:0 0 18px;letter-spacing:.005em}

.triv-timer{position:relative;display:flex;align-items:center;gap:14px;
  margin-bottom:22px}
.triv-timer .triv-timer-num{font-family:var(--figure);font-variant-numeric:tabular-nums;
  font-size:2.2rem;font-weight:700;color:var(--gold);min-width:74px;
  text-align:right;letter-spacing:-.02em;line-height:1;
  text-shadow:0 0 22px rgba(251,192,45,.32);transition:color .2s}
.triv-timer.warn .triv-timer-num{color:#ff5b5b;
  text-shadow:0 0 22px rgba(240,86,91,.5);animation:trivPulse 1s ease-in-out infinite}
@keyframes trivPulse{0%,100%{opacity:1}50%{opacity:.55}}
.triv-timer .triv-timer-bar{flex:1;position:relative;height:14px;border-radius:99px;
  background:rgba(255,255,255,.07);overflow:hidden;border:1px solid var(--line)}
.triv-timer .triv-timer-bar i{display:block;height:100%;
  background:linear-gradient(90deg,var(--gold),#ffd257);
  border-radius:99px;transform-origin:left center;transition:none;
  box-shadow:0 0 14px rgba(251,192,45,.45)}
.triv-timer.warn .triv-timer-bar i{background:linear-gradient(90deg,#f0565b,#ff8a73);
  box-shadow:0 0 14px rgba(240,86,91,.55)}

.triv-opts{display:flex;flex-direction:column;gap:9px}
.triv-opt{position:relative;overflow:hidden;background:#131318;border:1px solid var(--line);
  border-radius:12px;padding:14px 16px;cursor:pointer;transition:.16s;
  display:flex;align-items:center;gap:13px;text-align:left;min-height:54px;
  font-family:inherit;color:inherit;width:100%}
.triv-opt:hover:not(:disabled){border-color:rgba(251,192,45,.5);
  background:#1a1a21;transform:translateY(-1px)}
.triv-opt:disabled{cursor:default}
.triv-opt-letter{width:30px;height:30px;border-radius:8px;background:rgba(255,255,255,.06);
  color:var(--gold);font-family:var(--display);font-size:.92rem;display:grid;
  place-items:center;flex-shrink:0;letter-spacing:.04em;border:1px solid var(--line)}
.triv-opt-lbl{flex:1;min-width:0;font-size:1rem;line-height:1.35;color:#e8e8ee;
  white-space:normal;overflow-wrap:anywhere}
.triv-opt-fill{position:absolute;left:0;top:0;bottom:0;background:rgba(251,192,45,.16);
  pointer-events:none;display:none;width:0}
.triv-opt.mine{background:rgba(251,192,45,.13);border-color:var(--gold)}
.triv-opt.mine .triv-opt-letter{background:var(--gold);color:#000;border-color:var(--gold)}
.triv-opt.mine .triv-opt-fill{display:block;width:100%;
  background:linear-gradient(90deg,rgba(251,192,45,.12),rgba(251,192,45,.05))}
.triv-opt.correct{background:rgba(74,222,128,.13);border-color:var(--win)}
.triv-opt.correct .triv-opt-letter{background:var(--win);color:#000;border-color:var(--win)}
.triv-opt.wrong{background:rgba(240,86,91,.13);border-color:var(--loss)}
.triv-opt.wrong .triv-opt-letter{background:var(--loss);color:#000;border-color:var(--loss)}
.triv-opt.dim{opacity:.55}

.triv-q-foot{display:flex;justify-content:space-between;align-items:center;
  gap:10px;margin-top:18px;flex-wrap:wrap}
.triv-q-foot .dim{font-size:.78rem;color:var(--dim)}
.triv-q-foot .dim b{color:var(--txt);font-family:var(--figure)}
.triv-skip{background:transparent;color:var(--dim);border:none;cursor:pointer;
  font-family:var(--display);font-size:.78rem;letter-spacing:.08em;
  text-transform:uppercase;padding:8px 12px;border-radius:8px}
.triv-skip:hover{color:var(--txt);background:rgba(255,255,255,.05)}
.triv-skip:disabled{opacity:.5;cursor:default}

.triv-explain{background:rgba(74,222,128,.08);border:1px solid rgba(74,222,128,.32);
  border-radius:11px;padding:13px 15px;margin-top:14px;font-size:.88rem;
  color:#c8e9d4;line-height:1.5}
.triv-explain b{color:var(--win);font-family:var(--display);font-size:.7rem;
  letter-spacing:.12em;text-transform:uppercase;margin-right:6px}

.triv-final{text-align:center;padding:14px 0 6px}
.triv-final h3{font-family:var(--display);font-size:2.1rem;color:var(--gold);
  margin:0 0 6px;letter-spacing:.02em;border:none;padding:0}
.triv-final h3::after{display:none}
.triv-final .dim{font-size:.9rem;color:var(--dim);margin:0 0 16px}
.triv-score-hero{font-family:var(--display);font-size:3.6rem;line-height:1;
  color:var(--gold);text-shadow:0 0 32px rgba(251,192,45,.36);
  margin:14px 0 6px;letter-spacing:-.01em}
.triv-score-brea{font-size:.85rem;color:var(--dim);margin:0 0 18px;
  display:flex;justify-content:center;gap:18px;flex-wrap:wrap}
.triv-score-brea b{color:var(--txt);font-family:var(--figure)}
.triv-pills{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin:0 0 20px}
.triv-pill{display:inline-flex;align-items:center;gap:7px;background:#15151a;
  border:1px solid var(--line);border-radius:99px;padding:7px 14px;font-size:.84rem;
  color:#e8e8ee}
.triv-pill .b{font-family:var(--figure);color:var(--gold);font-weight:700}
.triv-pill.gold{background:linear-gradient(135deg,rgba(251,192,45,.18),transparent 70%);
  border-color:rgba(251,192,45,.5);color:#ffe9ab}

/* rank badge shown on the result screen. the rank is the player's
   position on the all-time leaderboard, including everyone who has
   ever played. */
.triv-rank-badge{display:inline-flex;align-items:center;gap:9px;
  background:linear-gradient(135deg,rgba(251,192,45,.2),rgba(94,140,255,.12));
  border:1px solid rgba(251,192,45,.55);border-radius:99px;padding:9px 18px;
  font-family:var(--display);letter-spacing:.06em;text-transform:uppercase;
  font-size:.78rem;color:#ffe9ab;margin:0 0 14px;box-shadow:0 6px 18px rgba(251,192,45,.18)}
.triv-rank-badge b{font-size:1.2rem;color:var(--gold);font-family:var(--figure);
  font-variant-numeric:tabular-nums;letter-spacing:0}
.triv-rank-badge.gold b{text-shadow:0 0 18px rgba(251,192,45,.5)}

/* per-question reveal rows on the result screen. each row shows the
   question, the four options, the player's pick, the correct answer,
   and an explainer. */
.triv-rev-list{display:flex;flex-direction:column;gap:11px;margin:20px 0 4px;text-align:left}
.triv-rev-card{background:#131318;border:1px solid var(--line);border-radius:13px;padding:14px 16px}
.triv-rev-card .triv-rev-q{font-family:var(--display);font-size:1rem;line-height:1.3;
  color:#fff;margin:0 0 10px;letter-spacing:.005em}
.triv-rev-card .triv-rev-badge{display:inline-block;font-size:.62rem;letter-spacing:.12em;
  text-transform:uppercase;padding:2px 8px;border-radius:99px;margin-right:8px;
  font-family:var(--display);font-weight:800}
.triv-rev-card .triv-rev-badge.right{background:rgba(74,222,128,.18);color:#9df0bb;border:1px solid rgba(74,222,128,.5)}
.triv-rev-card .triv-rev-badge.wrong{background:rgba(240,86,91,.18);color:#ffb3b6;border:1px solid rgba(240,86,91,.5)}
.triv-rev-card .triv-rev-badge.timeout{background:rgba(255,255,255,.08);color:var(--dim);border:1px solid var(--line)}
.triv-rev-card .triv-rev-opts{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.triv-rev-opt{display:flex;align-items:center;gap:9px;padding:8px 12px;border-radius:9px;
  background:#0e0e12;border:1px solid var(--line);font-size:.86rem;line-height:1.35}
.triv-rev-opt .triv-rev-letter{width:24px;height:24px;border-radius:6px;background:rgba(255,255,255,.06);
  color:var(--gold);font-family:var(--display);font-size:.7rem;display:grid;place-items:center;
  border:1px solid var(--line);flex-shrink:0;letter-spacing:.04em}
.triv-rev-opt.correct{background:rgba(74,222,128,.1);border-color:rgba(74,222,128,.45);
  color:#c6f6d5}
.triv-rev-opt.correct .triv-rev-letter{background:var(--win);color:#0a0a0c;border-color:var(--win)}
.triv-rev-opt.mine-wrong{background:rgba(240,86,91,.08);border-color:rgba(240,86,91,.35);
  color:#ffd4d6}
.triv-rev-opt.mine-wrong .triv-rev-letter{background:var(--loss);color:#0a0a0c;border-color:var(--loss)}
.triv-rev-opt .triv-rev-ptag{margin-left:auto;font-size:.68rem;letter-spacing:.08em;
  text-transform:uppercase;font-family:var(--display);font-weight:700;
  color:var(--dim);white-space:nowrap}
.triv-rev-opt.correct .triv-rev-ptag{color:#9df0bb}
.triv-rev-opt.mine-wrong .triv-rev-ptag{color:#ffb3b6}
.triv-rev-explain{margin-top:9px;font-size:.82rem;color:var(--dim);line-height:1.45;
  background:rgba(251,192,45,.06);border-left:3px solid var(--gold);
  padding:8px 12px;border-radius:0 8px 8px 0}
.triv-rev-explain b{color:var(--gold);font-family:var(--display);font-size:.66rem;
  letter-spacing:.12em;text-transform:uppercase;margin-right:6px}

/* section heading on the result screen. */
.triv-rev-h{margin:24px 0 12px;font-family:var(--display);font-size:1.05rem;
  color:var(--gold);letter-spacing:.04em;border-bottom:1px solid var(--line);
  padding-bottom:8px;text-align:left}

/* the prominent copy-share-line button on the result screen. */
.triv-share-btn{display:inline-flex;align-items:center;gap:9px;width:100%;
  justify-content:center;margin:14px 0 6px;font-size:1rem;min-height:50px}

.triv-final-acts{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;
  margin:8px 0 16px}
.triv-copied{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;
  color:var(--win);min-height:18px;justify-content:center;width:100%;margin:0 0 8px}
.triv-shareable{background:#0e0e12;border:1px solid var(--line);border-radius:11px;
  padding:12px 14px;margin:14px 0 8px;font-family:var(--figure);font-size:.92rem;
  color:#d8d8de;text-align:center;letter-spacing:.005em;cursor:pointer;
  word-break:break-word}
.triv-shareable:hover{border-color:var(--gold);color:#fff}

.triv-lb-top{display:flex;flex-direction:column;gap:7px;margin-top:6px}
.triv-lb-row{display:grid;grid-template-columns:34px 30px minmax(0,1.4fr) minmax(0,1fr) auto;
  gap:11px;align-items:center;background:var(--panel);border:1px solid var(--line);
  border-radius:12px;padding:10px 13px;cursor:pointer;transition:.16s}
.triv-lb-row:hover{background:var(--panel2);border-color:rgba(255,255,255,.22);
  transform:translateX(2px)}
.triv-lb-row.top3{border-color:rgba(251,192,45,.42)}
.triv-lb-row .ea-rk{font-family:var(--display);font-size:.96rem;color:var(--dim);
  text-align:center}
.triv-lb-row.top3 .ea-rk{color:var(--gold)}
.triv-lb-row img{width:30px;height:30px;border-radius:50%;object-fit:cover;
  border:2px solid;background:#000}
.triv-lb-nm{font-weight:600;font-size:.92rem;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;color:#e8e8ee}
.triv-lb-meta{font-size:.78rem;color:var(--dim);display:flex;gap:10px;flex-wrap:wrap;
  min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.triv-lb-meta b{color:var(--txt);font-family:var(--figure)}
.triv-lb-pts{font-family:var(--figure);font-variant-numeric:tabular-nums;
  font-weight:700;font-size:1.02rem;color:#fff;flex-shrink:0;min-width:74px;
  text-align:right}

.triv-empty{border:1px dashed var(--line);border-radius:14px;padding:32px 22px;
  text-align:center;color:var(--dim);font-size:.92rem;background:rgba(0,0,0,.2)}
.triv-empty b{display:block;font-family:var(--display);font-size:1.2rem;
  color:var(--gold);margin-bottom:6px;letter-spacing:.04em}

.triv-skel{height:78px;border-radius:14px;background:linear-gradient(90deg,#17171b 0%,
  #22222a 45%,#17171b 90%);background-size:320px 100%;
  animation:triv-shimmer 1.15s linear infinite;margin-bottom:9px}
@keyframes triv-shimmer{from{background-position:-320px 0}to{background-position:320px 0}}

.triv-mine-card{background:linear-gradient(180deg,#15151a 0%,#111114 100%);
  border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:14px}
.triv-mine-h{display:flex;justify-content:space-between;align-items:baseline;
  gap:10px;flex-wrap:wrap;margin-bottom:12px;padding-bottom:10px;
  border-bottom:1px solid var(--line)}
.triv-mine-h b{font-family:var(--display);font-size:1.1rem;color:var(--gold);
  letter-spacing:.04em}
.triv-mine-h span{font-size:.72rem;color:var(--dim);letter-spacing:.1em;
  text-transform:uppercase}
.triv-mine-stats{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:10px}
.triv-mine-stats div{flex:1;min-width:120px;background:#0e0e12;
  border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.triv-mine-stats b{display:block;font-family:var(--display);font-size:1.45rem;
  color:var(--gold);line-height:1}
.triv-mine-stats span{font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--dim);margin-top:2px;display:block}

.triv-recent{display:flex;flex-direction:column;gap:7px}
.triv-recent-row{display:flex;justify-content:space-between;align-items:center;
  gap:10px;background:#0e0e12;border:1px solid var(--line);border-radius:10px;
  padding:9px 13px;font-size:.84rem}
.triv-recent-row b{font-family:var(--figure);color:var(--gold);font-weight:700}
.triv-recent-row .dim{font-size:.7rem;color:var(--dim);letter-spacing:.06em;
  text-transform:uppercase}

.triv-hint{background:rgba(251,192,45,.08);border:1px solid rgba(251,192,45,.3);
  border-left:3px solid var(--gold);border-radius:9px;padding:10px 14px;margin-bottom:14px;
  font-size:.84rem;color:#ffe9ab;line-height:1.5}
.triv-hint b{color:var(--gold);font-family:var(--display);font-size:.7rem;
  letter-spacing:.1em;text-transform:uppercase;margin-right:6px}

/* History view: a row of day tabs, then per-question blocks. */
.triv-day-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:6px}
.triv-day-tab{background:transparent;border:1px solid var(--line);color:var(--dim);
  border-radius:99px;padding:6px 13px;font-size:.78rem;cursor:pointer;
  font-family:var(--display);font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;transition:.15s}
.triv-day-tab:hover{color:var(--txt);border-color:rgba(251,192,45,.5)}
.triv-day-tab.on{background:var(--gold);color:#000;border-color:var(--gold)}
.triv-hist-summary{margin:14px 0 18px;padding:10px 14px;background:#0e0e12;
  border:1px solid var(--line);border-radius:9px;font-size:.88rem;color:var(--dim)}
.triv-hist-summary b{color:#fff;font-family:var(--figure);margin:0 2px}
.triv-hist-q{background:var(--panel);border:1px solid var(--line);border-radius:13px;
  padding:14px 16px;margin-bottom:12px}
.triv-hist-q-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.triv-hist-q-text{font-family:var(--display);font-size:1.05rem;line-height:1.3;
  color:#fff;margin:4px 0 8px;letter-spacing:.005em}
.triv-hist-stat{display:inline-flex;align-items:baseline}

@media(max-width:760px){
  .triv-head{padding:10px 12px;gap:9px;flex-wrap:wrap}
  .triv-head-title b{font-size:.95rem}
  .triv-tabs{order:4;width:100%;flex-wrap:nowrap;overflow-x:auto;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
    margin-left:-12px;margin-right:-12px;padding:0 12px}
  .triv-tabs::-webkit-scrollbar{display:none}
  .triv-tab{flex:0 0 auto}
  .triv-body{padding:14px 12px 30px}
  .triv-card{padding:18px 14px;border-radius:14px}
  .triv-hero{padding:18px 16px}
  .triv-hero h3{font-size:1.45rem}
  .triv-q{padding:18px 14px}
  .triv-q-text{font-size:1.15rem}
  .triv-timer .triv-timer-num{font-size:1.6rem;min-width:54px}
  .triv-timer .triv-timer-bar{height:11px}
  .triv-final h3{font-size:1.55rem}
  .triv-score-hero{font-size:2.6rem}
  .triv-stats{gap:14px}
  .triv-stats div{min-width:90px}
  .triv-stats b{font-size:1.25rem}
  .triv-lb-row{grid-template-columns:24px 26px minmax(0,1fr) auto;gap:8px;padding:9px 11px}
  .triv-lb-meta{display:none}
  .triv-mine-stats{gap:8px}
  .triv-mine-stats div{padding:8px 10px}
  .triv-mine-stats b{font-size:1.18rem}
  .triv-opt{padding:12px 13px;min-height:50px}
  .triv-opt-letter{width:26px;height:26px;font-size:.82rem}
  .triv-opt-lbl{font-size:.92rem}
}

/* ================= BCFL SLEEPER 2026 PREMIUM STYLES ================= */
.btn-gold {
  background: var(--gold) !important;
  color: #000 !important;
  font-weight: 700 !important;
  border-color: var(--gold) !important;
}
.btn-gold:hover {
  background: #ffd54f !important;
  box-shadow: 0 0 12px rgba(251, 192, 45, 0.4);
}

/* 1. Games of the Week Homepage Scoreboard */
.gotw-scoreboard-box {
  background: linear-gradient(180deg, #131318 0%, #0a0a0c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 22px;
  margin: 18px 0 32px;
  position: relative;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}
.gotw-scoreboard-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FBC02D 0%, #38bdf8 50%, #22c55e 100%);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.gotw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.gotw-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gotw-heading {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
}
.gotw-sub {
  color: var(--dim);
  font-size: 0.8rem;
  margin-top: 2px;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #f87171;
  font-family: var(--figure);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: live-pulse 1.3s infinite ease-in-out;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #ef4444; }
  50% { opacity: 0.35; transform: scale(0.8); box-shadow: none; }
}

.gotw-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .gotw-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= BROADCAST SCOREBUG MATCHUP CARDS ================= */
.broadcast-matchup-card {
  position: relative;
  background: #111117;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}

.broadcast-matchup-card:hover {
  transform: translateY(-3px) scale(1.008);
  border-color: rgba(251, 192, 45, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75), 0 0 18px rgba(251, 192, 45, 0.2);
}

.broadcast-matchup-card:active {
  transform: translateY(-1px);
}

/* Card Header */
.bmc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bmc-div-badge {
  font-family: var(--display, 'Saira Condensed', sans-serif) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  padding: 3px 9px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #FBC02D !important;
  border: 1.5px solid #FBC02D !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
}

.bmc-div-second,
.season-col-second .bmc-div-badge {
  background: #1F6145 !important;
  color: #FBC02D !important;
  border: 1.5px solid #FBC02D !important;
  box-shadow: 0 0 8px rgba(251, 192, 45, 0.35) !important;
}

.bmc-div-third,
.season-col-third .bmc-div-badge {
  background: #0544CF !important;
  color: #FBC02D !important;
  border: 1.5px solid #FBC02D !important;
  box-shadow: 0 0 8px rgba(251, 192, 45, 0.35) !important;
}

.bmc-div-elite,
.season-col-elite .bmc-div-badge {
  background: #181408 !important;
  color: #FBC02D !important;
  border: 1.5px solid #FBC02D !important;
  box-shadow: 0 0 8px rgba(251, 192, 45, 0.35) !important;
}

.bmc-div-badge.bmc-gotw-badge,
.bmc-gotw-badge {
  font-weight: 900 !important;
  letter-spacing: 0.9px !important;
  border: 1.5px solid #FBC02D !important;
  box-shadow: 0 0 12px rgba(251, 192, 45, 0.5) !important;
}

.broadcast-eyebrow-badge {
  font-family: var(--display, 'Saira Condensed', sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.9px !important;
  text-transform: uppercase !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #FBC02D !important;
  border: 1.5px solid #FBC02D !important;
  margin-bottom: 6px !important;
  box-shadow: 0 0 10px rgba(251, 192, 45, 0.4) !important;
}
.broadcast-eyebrow-badge.eyebrow-second {
  background: #1F6145 !important;
}
.broadcast-eyebrow-badge.eyebrow-third {
  background: #0544CF !important;
}
.broadcast-eyebrow-badge.eyebrow-elite {
  background: #181408 !important;
}

.bmc-live-tag {
  font-family: var(--figure, 'Chakra Petch', sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  color: #f87171;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.bmc-reorder-btns {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.bmc-reorder-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.bmc-reorder-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  transform: translateY(-1px);
}

.bmc-reorder-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

/* Scorebug Container */
.bmc-scorebug {
  display: flex;
  flex-direction: column;
  position: relative;
  background: rgba(255, 255, 255, 0.06); /* 1.5px divider line */
  gap: 1.5px;
}

/* Team Bar with Depth, Gloss & Layering */
.bmc-team-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  min-height: 52px;
  background: linear-gradient(90deg, var(--t-color, #1f1f28) 0%, rgba(18, 18, 24, 0.95) 75%, #121218 100%);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

/* Layered 3D Glint Sheen Overlay */
.bmc-team-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

/* Accent Color Edge Bar */
.bmc-team-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4.5px;
  background: var(--t-sec, var(--t-color, #FBC02D));
  box-shadow: 0 0 8px var(--t-sec, rgba(251,192,45,0.6));
}

.bmc-team-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.bmc-logo-wrap {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7), inset 0 0 4px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bmc-team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bmc-team-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bmc-team-name {
  font-family: var(--heading, 'Saira Condensed', sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bmc-team-sub {
  font-family: var(--body, 'Barlow', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.bmc-rem {
  color: #FBC02D;
  font-weight: 700;
}

/* Score Box with Glass & Depth */
.bmc-score-box {
  position: relative;
  z-index: 2;
  min-width: 72px;
  text-align: right;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.8), 0 2px 6px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.bmc-score-box.leader {
  background: rgba(0, 0, 0, 0.72);
  border-color: rgba(251, 192, 45, 0.5);
  box-shadow: 0 0 12px rgba(251, 192, 45, 0.25), inset 0 1px 2px rgba(255,255,255,0.25);
}

.bmc-score-val {
  font-family: var(--figure, 'Chakra Petch', sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  letter-spacing: 0.5px;
}

.bmc-score-box.leader .bmc-score-val {
  color: #FBC02D;
  text-shadow: 0 0 10px rgba(251, 192, 45, 0.5);
}

/* Footer Strip */
.bmc-footer {
  text-align: center;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease;
}

.bmc-cta {
  font-family: var(--display, 'Saira Condensed', sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  color: #FBC02D;
  letter-spacing: 0.8px;
  transition: all 0.15s ease;
}

.broadcast-matchup-card:hover .bmc-footer {
  background: rgba(251, 192, 45, 0.1);
}

.broadcast-matchup-card:hover .bmc-cta {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(251, 192, 45, 0.8);
}

.gotw-card {
  background: #15151b;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-md);
  padding: 16px;
  cursor: pointer;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.gotw-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 192, 45, 0.65);
  box-shadow: 0 10px 28px rgba(0,0,0,0.65);
}
.gotw-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}
.gotw-div-tag {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: 4px;
}
.gotw-clock-tag {
  font-family: var(--figure);
  font-size: 0.72rem;
  font-weight: 700;
  color: #f87171;
  display: flex;
  align-items: center;
  gap: 5px;
}
.gotw-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
}
.gotw-team-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.gotw-team-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #888;
  flex-shrink: 0;
  background: #000;
}
.gotw-team-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.gotw-team-title {
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gotw-team-sub {
  font-size: 0.72rem;
  color: var(--dim);
  font-family: var(--figure);
}
.gotw-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.gotw-score-val {
  font-family: var(--figure);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}
.gotw-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
}
.gotw-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}
.gotw-divider-text {
  font-size: 0.65rem;
  color: var(--dim);
  font-family: var(--display);
  letter-spacing: 1.5px;
}
.gotw-view-btn {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gold);
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.15s ease;
}
.gotw-card:hover .gotw-view-btn {
  color: #fff;
}

/* 2. 2026 Season Tab (3 Columns + Standings) */
.season-hub-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.season-cols-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) {
  .season-cols-grid {
    grid-template-columns: 1fr;
  }
}
.season-col {
  background: #0f0f13;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.col-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 2px solid;
}
.col-hdr-elite {
  border-color: #FBC02D;
  color: #FBC02D;
}
.col-hdr-second {
  border-color: #1F6145;
  color: #34d399;
}
.col-hdr-third {
  border-color: #0544CF;
  color: #60a5fa;
}
.col-hdr-title {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}
.col-hdr-badge {
  font-family: var(--figure);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.col-matchups-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.season-standings-sec {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}
.season-standings-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.season-standings-hdr h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

/* 3. FIXED POP-UP ROSTER MODAL OVERLAY */
.roster-modal-bg {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  height: 100% !important;
  height: 100dvh !important;
  background: rgba(0, 0, 0, 0.88) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 100000 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  overscroll-behavior: contain !important;
}

.broadcast-modal-box {
  background: #0d0d11 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  width: 100% !important;
  max-width: 940px !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.92), 0 0 0 1px rgba(255,255,255,0.08) !important;
  animation: modalPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  box-sizing: border-box !important;
}
@keyframes modalPopIn {
  0% { opacity: 0; transform: scale(0.95) translateY(14px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.broadcast-top-bar {
  padding: 16px 24px;
  background: #14141a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.broadcast-eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.broadcast-title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}
.broadcast-series-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  padding: 3px 8px;
  background: rgba(251, 192, 45, 0.12);
  border: 1px solid rgba(251, 192, 45, 0.35);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.broadcast-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.broadcast-close-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.broadcast-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Broadcast Scorebug */
.scorebug-container {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.6);
  flex-shrink: 0;
}
.scorebug-team {
  display: flex;
  align-items: center;
  gap: 14px;
}
.scorebug-team.right {
  flex-direction: row-reverse;
  text-align: right;
}
.scorebug-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid;
  background: #000;
  flex-shrink: 0;
}
.scorebug-team-info {
  display: flex;
  flex-direction: column;
}
.scorebug-team-info.right {
  align-items: flex-end;
}
.scorebug-team-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.scorebug-sub {
  font-family: var(--figure);
  font-size: 0.75rem;
  color: var(--dim);
}
.scorebug-center {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.45);
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.scorebug-score {
  font-family: var(--figure);
  font-size: 2.2rem;
  font-weight: 800;
  color: #94a3b8;
  line-height: 1;
}
.scorebug-score.lead {
  color: var(--gold);
}
.scorebug-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 800;
  color: #f87171;
  letter-spacing: 0.5px;
  gap: 3px;
}

/* Roster Tables */
.roster-sec-hdr {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  margin-bottom: 8px;
}
.broadcast-roster-tbl {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.88rem;
  table-layout: fixed !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}
table.broadcast-roster-tbl th,
table.broadcast-roster-tbl td,
.broadcast-roster-tbl th,
.broadcast-roster-tbl td {
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.broadcast-roster-tbl col.col-p-left { width: 35%; }
.broadcast-roster-tbl col.col-pts-left { width: 11%; }
.broadcast-roster-tbl col.col-slot { width: 8%; }
.broadcast-roster-tbl col.col-pts-right { width: 11%; }
.broadcast-roster-tbl col.col-p-right { width: 35%; }

.broadcast-roster-tbl th {
  padding: 8px 10px;
  font-size: 0.72rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.broadcast-roster-tbl th.th-team.left { text-align: left; }
.broadcast-roster-tbl th.th-pts.left { text-align: right !important; padding-right: 12px !important; }
.broadcast-roster-tbl th.th-slot.ctr { text-align: center !important; }
.broadcast-roster-tbl th.th-pts.right { text-align: left !important; padding-left: 12px !important; }
.broadcast-roster-tbl th.th-team.right { text-align: right; }
.roster-slot-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.12s ease;
}
.roster-slot-row:hover {
  background: rgba(255, 255, 255, 0.025);
}
.roster-slot-row.bench-row {
  opacity: 0.82;
}
.roster-slot-row.ir-row {
  opacity: 0.78;
}
.roster-p-cell {
  padding: 6px 10px;
}
.p-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-item.right {
  flex-direction: row-reverse;
  text-align: right;
}
.p-thumb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  border: 1.5px solid #444;
  flex-shrink: 0;
}
.p-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.p-meta.right {
  align-items: flex-end;
  text-align: right;
}
.p-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.2;
}
.p-team-code {
  font-family: var(--figure);
  font-size: 0.68rem;
  font-weight: 800;
  color: #999;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* NFL Team Initial Badges (Matching NFL Color Schemes) */
.p-team-code.nfl-badge-ari { background: #97233F !important; color: #FFFFFF !important; border: 1px solid #FFB612 !important; }
.p-team-code.nfl-badge-atl { background: #A71930 !important; color: #FFFFFF !important; border: 1px solid #000000 !important; }
.p-team-code.nfl-badge-bal { background: #241773 !important; color: #FFFFFF !important; border: 1px solid #9E7C0C !important; }
.p-team-code.nfl-badge-buf { background: #00338D !important; color: #FFFFFF !important; border: 1px solid #C60C30 !important; }
.p-team-code.nfl-badge-car { background: #0085CA !important; color: #FFFFFF !important; border: 1px solid #101820 !important; }
.p-team-code.nfl-badge-chi { background: #0B162A !important; color: #FFA23A !important; border: 1px solid #C83803 !important; }
.p-team-code.nfl-badge-cin { background: #FB4F14 !important; color: #000000 !important; border: 1px solid #000000 !important; }
.p-team-code.nfl-badge-cle { background: #311D00 !important; color: #FF7043 !important; border: 1px solid #FF3C00 !important; }
.p-team-code.nfl-badge-dal { background: #003594 !important; color: #FFFFFF !important; border: 1px solid #869397 !important; }
.p-team-code.nfl-badge-den { background: #FB4F14 !important; color: #FFFFFF !important; border: 1px solid #002244 !important; }
.p-team-code.nfl-badge-det { background: #0076B6 !important; color: #FFFFFF !important; border: 1px solid #B0B7BC !important; }
.p-team-code.nfl-badge-gb  { background: #203731 !important; color: #FFB612 !important; border: 1px solid #FFB612 !important; }
.p-team-code.nfl-badge-hou { background: #03202F !important; color: #FF5A70 !important; border: 1px solid #A71930 !important; }
.p-team-code.nfl-badge-ind { background: #002C5F !important; color: #FFFFFF !important; border: 1px solid #A2AAAD !important; }
.p-team-code.nfl-badge-jax { background: #006778 !important; color: #D7A22A !important; border: 1px solid #D7A22A !important; }
.p-team-code.nfl-badge-kc  { background: #E31837 !important; color: #FFDF00 !important; border: 1px solid #FFB81C !important; }
.p-team-code.nfl-badge-lv,
.p-team-code.nfl-badge-lvr,
.p-team-code.nfl-badge-oak { background: #161616 !important; color: #E5E5E5 !important; border: 1px solid #A5ACAF !important; }
.p-team-code.nfl-badge-lac,
.p-team-code.nfl-badge-sd  { background: #0080C6 !important; color: #FFC20E !important; border: 1px solid #FFC20E !important; }
.p-team-code.nfl-badge-lar,
.p-team-code.nfl-badge-la  { background: #003594 !important; color: #FFA300 !important; border: 1px solid #FFA300 !important; }
.p-team-code.nfl-badge-mia { background: #008E97 !important; color: #FFFFFF !important; border: 1px solid #FC4C02 !important; }
.p-team-code.nfl-badge-min { background: #4F2683 !important; color: #FFC62F !important; border: 1px solid #FFC62F !important; }
.p-team-code.nfl-badge-ne  { background: #002244 !important; color: #FFFFFF !important; border: 1px solid #C60C30 !important; }
.p-team-code.nfl-badge-no  { background: #161616 !important; color: #D3BC8D !important; border: 1px solid #D3BC8D !important; }
.p-team-code.nfl-badge-nyg { background: #0B2265 !important; color: #FFFFFF !important; border: 1px solid #A71930 !important; }
.p-team-code.nfl-badge-nyj { background: #125740 !important; color: #FFFFFF !important; border: 1px solid #000000 !important; }
.p-team-code.nfl-badge-phi { background: #004C54 !important; color: #FFFFFF !important; border: 1px solid #A5ACAF !important; }
.p-team-code.nfl-badge-pit { background: #101820 !important; color: #FFB612 !important; border: 1px solid #FFB612 !important; }
.p-team-code.nfl-badge-sf  { background: #AA0000 !important; color: #B3995D !important; border: 1px solid #B3995D !important; }
.p-team-code.nfl-badge-sea { background: #002244 !important; color: #69BE28 !important; border: 1px solid #69BE28 !important; }
.p-team-code.nfl-badge-tb  { background: #D50A0A !important; color: #FFFFFF !important; border: 1px solid #34302B !important; }
.p-team-code.nfl-badge-ten { background: #0C2340 !important; color: #4B92DB !important; border: 1px solid #C8102E !important; }
.p-team-code.nfl-badge-was,
.p-team-code.nfl-badge-wsh { background: #5A1414 !important; color: #FFB612 !important; border: 1px solid #FFB612 !important; }
.p-team-code.nfl-badge-fa  { background: #22222a !important; color: #9494a8 !important; border: 1px solid #383848 !important; }
.p-pts-cell {
  font-family: var(--figure);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 12px;
  white-space: nowrap;
}
.p-pts-cell.left {
  text-align: right !important;
  padding-right: 12px !important;
}
.p-pts-cell.right {
  text-align: left !important;
  padding-left: 12px !important;
}
.p-pts-cell.winning {
  color: var(--win);
  font-weight: 800;
}
.slot-mid-cell {
  text-align: center;
  padding: 4px 6px;
}
.pos-badge-slot {
  display: inline-block;
  min-width: 44px;
  text-align: center;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Distinct Position Badge Colors */
.badge-qb { background: rgba(20, 184, 166, 0.18); color: #2dd4bf; border: 1px solid rgba(45, 212, 191, 0.4); }
.badge-rb { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.4); }
.badge-wr { background: rgba(59, 130, 246, 0.18); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.4); }
.badge-te { background: rgba(249, 115, 22, 0.18); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.4); }
.badge-flex { background: rgba(168, 85, 247, 0.18); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.4); }
.badge-def { background: rgba(236, 72, 153, 0.18); color: #f472b6; border: 1px solid rgba(244, 114, 182, 0.4); }
.badge-idp { background: rgba(234, 88, 12, 0.22); color: #fdba74; border: 1px solid rgba(253, 186, 116, 0.4); }
.badge-dl { background: rgba(194, 65, 12, 0.22); color: #ff8c42; border: 1px solid rgba(255, 140, 66, 0.4); }
.badge-lb { background: rgba(202, 138, 4, 0.22); color: #fde047; border: 1px solid rgba(253, 224, 71, 0.4); }
.badge-db { background: rgba(139, 92, 246, 0.22); color: #a78bfa; border: 1px solid rgba(167, 139, 250, 0.4); }
.badge-k { background: rgba(6, 182, 212, 0.18); color: #22d3ee; border: 1px solid rgba(34, 211, 238, 0.4); }
.badge-bn { background: rgba(255, 255, 255, 0.06); color: #94a3b8; border: 1px solid rgba(255, 255, 255, 0.12); }
.badge-ir { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.35); }

/* All-Time Series Pill in Modal Eyebrow */
.series-pill {
  display: inline-block;
  background: rgba(251, 192, 45, 0.15);
  color: #FBC02D;
  border: 1px solid rgba(251, 192, 45, 0.35);
  padding: 1px 7px;
  border-radius: 4px;
  font-family: var(--figure, 'Chakra Petch', sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ================= ELITE DESKTOP TOP NAVIGATION REDESIGN ================= */
@media (min-width: 861px) {
  header {
    background: linear-gradient(180deg, #070709 0%, #0c0c11 50%, #101015 100%) !important;
    border-bottom: 2px solid rgba(251, 192, 45, 0.4) !important;
    padding: 18px 24px 14px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7) !important;
  }
  header::after {
    height: 2px !important;
    background: linear-gradient(90deg, transparent 0%, #FBC02D 20%, #FFD957 50%, #FBC02D 80%, transparent 100%) !important;
    box-shadow: 0 0 12px rgba(251, 192, 45, 0.5) !important;
  }
  nav#mainnav, nav {
    max-width: 1220px !important;
    margin: 16px auto 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    padding: 4px 6px !important;
    background: rgba(14, 14, 19, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 12px !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6), 0 4px 18px rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }
  nav#mainnav::-webkit-scrollbar {
    display: none;
  }
  nav .btn {
    background: transparent !important;
    color: #9fa0b2 !important;
    border: 1px solid transparent !important;
    padding: 7px 13px !important;
    font-family: var(--display, 'Saira Condensed', sans-serif) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    line-height: 1.25 !important;
  }
  nav .btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-1px) !important;
  }
  nav .btn.on {
    background: linear-gradient(180deg, #FFD957 0%, #FBC02D 100%) !important;
    color: #070709 !important;
    font-weight: 900 !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 3px 12px rgba(251, 192, 45, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    transform: translateY(0) !important;
  }
  nav .btn.share {
    margin-left: auto !important;
    background: rgba(251, 192, 45, 0.12) !important;
    border: 1px solid rgba(251, 192, 45, 0.35) !important;
    color: #FBC02D !important;
    font-weight: 800 !important;
    padding: 7px 16px !important;
    border-radius: 8px !important;
  }
  nav .btn.share:hover {
    background: rgba(251, 192, 45, 0.25) !important;
    color: #ffffff !important;
    border-color: #FBC02D !important;
    box-shadow: 0 0 14px rgba(251, 192, 45, 0.35) !important;
  }
}

/* ================= MOBILE RESPONSIVENESS & ABSOLUTE ZERO SIDE-SWIPING ================= */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
body.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

@media (max-width: 680px) {
  /* Matchup Columns & Cards Full Width */
  .season-cols-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .season-col {
    padding: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .gotw-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .gotw-scoreboard-box {
    padding: 14px 10px !important;
    margin: 12px 0 20px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .broadcast-matchup-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
  }
  .bmc-header {
    padding: 7px 10px !important;
    box-sizing: border-box !important;
  }
  .bmc-team-bar {
    padding: 8px 10px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
  }
  .bmc-logo-wrap {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    margin-right: 8px !important;
  }
  .bmc-team-content {
    gap: 6px !important;
    min-width: 0 !important;
  }
  .bmc-team-name {
    font-size: 0.88rem !important;
    max-width: 120px !important;
  }
  .bmc-team-sub {
    font-size: 0.62rem !important;
  }
  .bmc-score-box {
    min-width: 52px !important;
    padding: 3px 5px !important;
  }
  .bmc-score-val {
    font-size: 1.1rem !important;
  }

  /* Full Screen Flush Modal for Mobile (Zero Overscroll, Zero Horizontal Pan) */
  .roster-modal-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
    overscroll-behavior: contain !important;
  }
  .broadcast-modal-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    animation: none !important;
    box-shadow: none !important;
  }
  .broadcast-top-bar {
    padding: 8px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: #111116 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  .broadcast-top-bar > div:first-child {
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
  }
  .broadcast-eyebrow {
    font-size: 0.62rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    display: block !important;
    line-height: 1.2 !important;
  }
  .broadcast-title {
    font-size: 0.95rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    margin-top: 1px !important;
    line-height: 1.15 !important;
  }
  .broadcast-series-sub {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 3px !important;
    padding: 2px 6px !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .broadcast-close-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    padding: 0 !important;
  }
  .broadcast-modal-body {
    padding: 8px 6px 28px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Scorebug Banner on Mobile (Sleek Compact Pro Row) */
  .scorebug-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 8px !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
  }
  .scorebug-team {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    gap: 5px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }
  .scorebug-team.right {
    flex-direction: row-reverse !important;
    text-align: right !important;
  }
  .scorebug-logo {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 50% !important;
    border-width: 1.5px !important;
    flex-shrink: 0 !important;
  }
  .scorebug-team-info {
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .scorebug-team-name {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    line-height: 1.15 !important;
  }
  .scorebug-sub {
    font-size: 0.54rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    line-height: 1.1 !important;
    color: #9494a8 !important;
  }
  .scorebug-center {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 3px 5px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 6px !important;
    margin: 0 !important;
  }
  .scorebug-score {
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    min-width: unset !important;
    line-height: 1 !important;
  }
  .scorebug-badge {
    font-size: 0.48rem !important;
    gap: 1px !important;
    padding: 0 1px !important;
    line-height: 1 !important;
  }
  .scorebug-badge span {
    font-size: 0.48rem !important;
  }

  /* Roster Table (Zero Horizontal Overflow, Full Player Names Written Out, Equal Width Sides, Player Headshots Hidden for Mobile ONLY) */
  .p-thumb {
    display: none !important;
  }
  .roster-tables-scroll {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .roster-sec-hdr {
    font-size: 0.72rem !important;
    padding: 4px 8px !important;
    margin-bottom: 6px !important;
    margin-top: 14px !important;
  }
  table.broadcast-roster-tbl,
  .broadcast-roster-tbl {
    table-layout: fixed !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-collapse: collapse !important;
    font-size: 0.72rem !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
  .broadcast-roster-tbl col.col-p-left   { width: 35% !important; }
  .broadcast-roster-tbl col.col-pts-left { width: 11% !important; }
  .broadcast-roster-tbl col.col-slot     { width: 8% !important; }
  .broadcast-roster-tbl col.col-pts-right{ width: 11% !important; }
  .broadcast-roster-tbl col.col-p-right  { width: 35% !important; }

  .broadcast-roster-tbl th {
    font-size: 0.62rem !important;
    padding: 4px 2px !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .broadcast-roster-tbl th.th-team.left {
    width: 35% !important;
    max-width: 35% !important;
    text-align: left !important;
  }
  .broadcast-roster-tbl th.th-pts.left {
    width: 11% !important;
    max-width: 11% !important;
    text-align: right !important;
  }
  .broadcast-roster-tbl th.th-slot.ctr {
    width: 8% !important;
    max-width: 8% !important;
    text-align: center !important;
  }
  .broadcast-roster-tbl th.th-pts.right {
    width: 11% !important;
    max-width: 11% !important;
    text-align: left !important;
  }
  .broadcast-roster-tbl th.th-team.right {
    width: 35% !important;
    max-width: 35% !important;
    text-align: right !important;
  }

  .roster-slot-row {
    height: auto !important;
    min-height: 36px !important;
  }
  .roster-p-cell {
    padding: 2px 2px !important;
    width: 35% !important;
    max-width: 35% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .roster-p-cell.left {
    text-align: left !important;
  }
  .roster-p-cell.right {
    text-align: right !important;
  }
  .p-item {
    gap: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .p-item.right {
    text-align: right !important;
  }
  .p-meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .p-meta.right {
    align-items: flex-end !important;
    text-align: right !important;
  }
  .p-name {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    line-height: 1.15 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .p-meta.right .p-name {
    text-align: right !important;
  }
  .p-team-code {
    font-size: 0.48rem !important;
    padding: 0.5px 3px !important;
    border-radius: 2.5px !important;
    margin-top: 1px !important;
    display: inline-block !important;
    line-height: 1.15 !important;
    flex-shrink: 0 !important;
  }
  .p-pts-cell {
    width: 11% !important;
    max-width: 11% !important;
    min-width: 0 !important;
    padding: 0 1px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .p-pts-cell.left {
    text-align: right !important;
  }
  .p-pts-cell.right {
    text-align: left !important;
  }
  .slot-mid-cell {
    width: 8% !important;
    max-width: 8% !important;
    min-width: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .pos-badge-slot {
    font-size: 0.48rem !important;
    min-width: 18px !important;
    max-width: 24px !important;
    padding: 1px 1px !important;
    border-radius: 2px !important;
    letter-spacing: -0.3px !important;
    display: inline-block !important;
    box-sizing: border-box !important;
  }
}

/* ================= COMMISSIONER VISUAL PAGE EDITOR & TEXT MANAGER STYLES ================= */
#bcflAdminFloatingBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999999;
  background: linear-gradient(180deg, #181822 0%, #0d0d12 100%);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.85);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  animation: slideDownBar 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideDownBar {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}
.aeb-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.aeb-pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  animation: live-pulse 1.2s infinite ease-in-out;
}
.aeb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.aeb-btn {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aeb-btn-save {
  background: linear-gradient(180deg, #FFD957 0%, #FBC02D 100%);
  color: #000;
  border-color: #FBC02D;
  box-shadow: 0 2px 10px rgba(251, 192, 45, 0.4);
}
.aeb-btn-save:hover {
  background: #ffe082;
  transform: translateY(-1px);
}
.aeb-btn-action {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}
.aeb-btn-action:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}
.aeb-btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}
.aeb-btn-danger:hover {
  background: rgba(239, 68, 68, 0.28);
}
.aeb-btn-close {
  background: transparent;
  color: #9494a8;
  border-color: transparent;
}
.aeb-btn-close:hover {
  color: #fff;
}

/* In-Page Editable Elements */
.bcfl-editor-active body {
  padding-top: 54px !important;
}
.bcfl-editable-target {
  position: relative !important;
  outline: 1.5px dashed rgba(251, 192, 45, 0.45) !important;
  outline-offset: 3px !important;
  transition: outline 0.15s ease, background 0.15s ease !important;
  cursor: text !important;
}
.bcfl-editable-target:hover {
  outline: 2px solid var(--gold) !important;
  background: rgba(251, 192, 45, 0.06) !important;
}
.bcfl-editable-target[contenteditable="true"] {
  outline: 2px solid #22c55e !important;
  background: rgba(34, 197, 94, 0.08) !important;
}

/* Floating Action Toolbar on Hovered Elements */
.bcfl-elem-controls {
  position: absolute;
  top: -28px;
  right: 0;
  display: none;
  align-items: center;
  gap: 3px;
  background: #14141a;
  border: 1px solid var(--gold);
  border-radius: 5px;
  padding: 2px 4px;
  z-index: 10000;
  box-shadow: 0 4px 14px rgba(0,0,0,0.7);
}
.bcfl-editable-target:hover > .bcfl-elem-controls,
.bcfl-editable-target:focus-within > .bcfl-elem-controls {
  display: flex !important;
}
.bcfl-ctrl-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.12s ease;
  line-height: 1;
}
.bcfl-ctrl-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.bcfl-ctrl-btn.del:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

/* Editor Toast Notification */
#bcflEditorToast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111116;
  border: 1.5px solid var(--win);
  border-radius: 10px;
  padding: 14px 20px;
  color: #fff;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 1000000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toastSlideIn {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Admin Tab Content Editor Section Styles */
.editor-card {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.editor-card-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.editor-field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.editor-field-row label {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.editor-in-text {
  background: #0f0f13;
  border: 1px solid var(--line);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.editor-in-text:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 192, 45, 0.15);
}
.editor-textarea {
  min-height: 70px;
  resize: vertical;
}
.editor-reorder-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ================= 15. SHARE CARD MODAL & ADMIN STYLES ================= */
#bcflShareModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.bcfl-share-box {
  width: 100%;
  max-width: 580px;
  background: #0f1015;
  border: 1px solid rgba(251, 192, 45, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85), 0 0 24px rgba(251, 192, 45, 0.15);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: shareModalIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shareModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.bcfl-share-header {
  padding: 14px 20px;
  background: #14151c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bcfl-share-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bcfl-share-close {
  background: transparent;
  border: none;
  color: #8e8e9f;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.bcfl-share-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.bcfl-share-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-height: calc(88vh - 120px);
  overflow-y: auto;
}

/* Official BCFL Share Card Graphic Container */
.bcfl-official-share-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  border: 2px solid var(--gold);
  background: #0c0d12;
  margin: 0 auto;
}
/* Action Buttons */
.bcfl-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.bcfl-share-btn {
  flex: 1;
  min-width: 130px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.bcfl-share-btn.btn-copy {
  background: var(--gold);
  color: #000;
}

.bcfl-share-btn.btn-copy:hover {
  background: #ffe082;
  box-shadow: 0 0 12px rgba(251, 192, 45, 0.4);
}

.bcfl-share-btn.btn-text {
  background: #20222c;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.bcfl-share-btn.btn-text:hover {
  background: #2c2f3c;
  border-color: rgba(255, 255, 255, 0.3);
}

.bcfl-share-btn.btn-native {
  background: #1e3a8a;
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.4);
}

.bcfl-share-btn.btn-native:hover {
  background: #2563eb;
  color: #fff;
}

/* iMessage / SMS Link Preview Card Simulation */
.sms-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px 0;
  padding: 18px;
  background: #08080a;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sms-bubble-mock {
  max-width: 380px;
  width: 100%;
  background: #1c1c1e;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sms-bubble-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #111;
  display: block;
}

.sms-bubble-content {
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sms-bubble-domain {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #8e8e93;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sms-bubble-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.sms-bubble-desc {
  font-size: 0.78rem;
  color: #aeaeb2;
  line-height: 1.35;
}

/* ================= PURE BLACK TICKER WITH YELLOW/GOLD ACCENT ================= */
.ticker {
  background: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  overflow: hidden !important;
  position: relative !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
}

.ticker::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 80px !important;
  background: linear-gradient(90deg, transparent, #000000) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.tk-label {
  flex-shrink: 0 !important;
  background: #000000 !important;
  color: #FBC02D !important;
  font-family: var(--display, 'Saira Condensed', sans-serif) !important;
  font-size: 0.84rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 0 16px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  border-right: 2px solid #FBC02D !important;
  box-shadow: 6px 0 16px rgba(0, 0, 0, 0.9) !important;
  z-index: 3 !important;
  cursor: pointer !important;
}

.tk-view {
  flex: 1 !important;
  overflow: hidden !important;
  height: 100% !important;
  position: relative !important;
  background: #000000 !important;
}

.tk-track {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  gap: 0 !important;
  width: max-content !important;
  background: #000000 !important;
  animation: tkscroll 190s linear infinite !important;
}

.ticker:hover .tk-track {
  animation-play-state: paused !important;
}

.tk-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 24px !important;
  white-space: nowrap !important;
  font-size: 0.83rem !important;
  color: #e2e2e8 !important;
  cursor: pointer !important;
  background: transparent !important;
}

.tk-item:hover {
  color: #ffffff !important;
}

.tk-item img {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.tk-item.tk-dv {
  background: transparent !important;
}

.tk-item.tk-dv::before {
  display: none !important;
}

.tk-dv-elite, .tk-dv-second, .tk-dv-third, .tk-gotw-item {
  background: transparent !important;
  box-shadow: none !important;
}

.tk-tag {
  font-family: var(--display, 'Saira Condensed', sans-serif) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 4px !important;
  padding: 1px 7px !important;
  background: rgba(0, 0, 0, 0.6) !important;
}

.tk-dot {
  color: #3f3f4e !important;
}

@media (max-width: 768px) {
  .ticker {
    height: 32px !important;
  }
  .tk-label {
    font-size: 0.68rem !important;
    padding: 0 10px !important;
  }
  .tk-item {
    font-size: 0.76rem !important;
    padding: 0 16px !important;
  }
  .tk-item img {
    width: 17px !important;
    height: 17px !important;
  }
}



/* ================= 11. BCFL CROSS-DEVICE SYNC MODAL ================= */
#bcflSyncModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sync-modal-card {
  max-width: 540px;
  width: 100%;
  background: #111218;
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.95);
  color: #fff;
  position: relative;
  box-sizing: border-box;
}

.sync-qr-frame {
  display: inline-block;
  padding: 12px;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.sync-qr-img {
  width: 190px;
  height: 190px;
  display: block;
}

@media (max-width: 600px) {
  .sync-modal-card {
    padding: 18px 14px;
  }
  .sync-qr-img {
    width: 160px;
    height: 160px;
  }
}



/* ================= ESPN-STYLE PRO TICKER STYLING ================= */
.tk-espn-scoreblock {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #0d0e12 !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}

.tk-espn-side {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-family: var(--display, 'Saira Condensed', sans-serif) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #a8a8b2 !important;
}

.tk-espn-side.leading {
  color: #ffffff !important;
  font-weight: 900 !important;
}

.tk-espn-logo {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.tk-espn-score {
  font-family: var(--display, 'Saira Condensed', sans-serif) !important;
  font-size: 0.94rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  padding: 0 5px !important;
  background: #181920 !important;
  border-radius: 4px !important;
  min-width: 38px !important;
  text-align: right !important;
  letter-spacing: 0.02em !important;
}

.tk-espn-side.leading .tk-espn-score {
  color: var(--gold) !important;
  background: rgba(251, 192, 45, 0.18) !important;
  border: 1px solid rgba(251, 192, 45, 0.35) !important;
}

.tk-espn-sep {
  color: #484856 !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  padding: 0 2px !important;
}

.tk-espn-status {
  font-size: 0.65rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 2px 6px !important;
  border-radius: 3px !important;
  background: rgba(239, 68, 68, 0.18) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  margin-left: 2px !important;
}

.tk-espn-player-block {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.tk-espn-player-name {
  font-weight: 800 !important;
  color: #ffffff !important;
  font-size: 0.86rem !important;
}

.tk-espn-player-team {
  color: var(--dim) !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
}

.tk-espn-player-pts {
  color: #38bdf8 !important;
  font-weight: 900 !important;
  font-family: var(--display, 'Saira Condensed', sans-serif) !important;
  font-size: 0.92rem !important;
  background: rgba(56, 189, 248, 0.15) !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

.tk-espn-player-owner {
  color: #9898a8 !important;
  font-size: 0.76rem !important;
}



/* ================= 13. ORGANIZED TOP NAVIGATION & CATEGORY DROPDOWNS ================= */
.nav-group-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-group-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 190px;
  background: #0d0d12;
  border: 1px solid rgba(251, 192, 45, 0.35);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  z-index: 1000;
  backdrop-filter: blur(12px);
}
.nav-group-dropdown:hover .dropdown-menu,
.nav-group-dropdown:focus-within .dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dropdown-menu .drop-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #d1d5db;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}
.dropdown-menu .drop-item:hover {
  background: rgba(251, 192, 45, 0.15);
  color: #fff;
  transform: translateX(2px);
}
.dropdown-menu .drop-item.active {
  background: var(--gold);
  color: #000;
  font-weight: 800;
}
.dropdown-menu .drop-item .drop-icon {
  font-size: 0.95rem;
}

/* Sub-navigation Quick Jump Strip */
.subnav-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
  background: rgba(18, 18, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.subnav-strip .subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.subnav-strip .subnav-pill:hover {
  color: #fff;
  border-color: rgba(251, 192, 45, 0.4);
  background: rgba(251, 192, 45, 0.1);
}
.subnav-strip .subnav-pill.on {
  color: #000;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 800;
}

/* Mobile Drawer Categorized Accordion Styles */
.mob-nav-section {
  margin: 12px 0 6px 0;
  padding: 0 4px;
}
.mob-nav-header {
  font-family: var(--display, inherit);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 6px;
  padding-left: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mob-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}
.mob-nav-grid .btn {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  padding: 9px 8px;
  margin: 0;
}

/* ================= 14. 2026 DRAFT BOARD & RESULTS STYLES ================= */
.draft-2026-hero {
  background: radial-gradient(circle at top left, rgba(251, 192, 45, 0.12) 0%, rgba(13, 13, 16, 0.98) 100%);
  border: 2px solid rgba(251, 192, 45, 0.4);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.draft-board-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.draft-round-row {
  background: rgba(20, 20, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
}
.draft-round-header {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.draft-round-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 8px;
}
.draft-pick-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;
}
.draft-pick-card:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 192, 45, 0.5);
  background: rgba(251, 192, 45, 0.06);
}
.draft-pick-card .pick-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  width: 24px;
  flex-shrink: 0;
  text-align: center;
}
.draft-pick-card .pick-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: #111;
  flex-shrink: 0;
}
.draft-pick-card .pick-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.draft-pick-card .pick-pname {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.draft-pick-card .pick-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: #94a3b8;
}
.draft-pick-card .pick-tname {
  font-size: 0.68rem;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= 15. TICKER SPEED & BROADCAST FLOW ================= */
.ticker {
  background: #000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  overflow: hidden !important;
  position: relative !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
}
.tk-track {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  gap: 0 !important;
  width: max-content !important;
  animation: tkscroll 380s linear infinite !important;
  will-change: transform !important;
}
.ticker:hover .tk-track {
  animation-play-state: paused !important;
}

/* ================= 16. ADMIN TICKER COMMAND CENTER ================= */
.adm-ticker-card {
  background: #111118;
  border: 1px solid rgba(251, 192, 45, 0.3);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
}
.adm-ticker-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #facc15;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.adm-slider-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.adm-slider-wrap input[type=range] {
  flex: 1;
  min-width: 180px;
  accent-color: #facc15;
  cursor: pointer;
}
.adm-preset-btn {
  padding: 5px 11px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}
.adm-preset-btn:hover {
  background: rgba(251, 192, 45, 0.15);
  border-color: #facc15;
  color: #fff;
}
.adm-preset-btn.active {
  background: #facc15;
  color: #000;
  border-color: #facc15;
  font-weight: 800;
}
.adm-checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.adm-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #e2e8f0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.adm-check-label input[type=checkbox] {
  accent-color: #facc15;
  cursor: pointer;
  width: 16px;
  height: 16px;
}
.adm-ticker-preview-box {
  background: #000;
  border: 1px solid rgba(251, 192, 45, 0.4);
  border-radius: 8px;
  overflow: hidden;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  margin: 14px 0;
}



/* Desktop vs Mobile Nav Organization */
@media (min-width: 861px) {
  .mob-nav-section {
    display: none !important;
  }
  .desktop-nav-bar {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 860px) {
  .desktop-nav-bar {
    display: none !important;
  }
  .mob-nav-section {
    display: block !important;
  }
}



/* ================= 17. COMPREHENSIVE ADMIN TICKER MANAGER ================= */
.adm-cat-card {
  background: #0d0d14;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.adm-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.adm-cat-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #facc15;
  display: flex;
  align-items: center;
  gap: 8px;
}
.adm-cat-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(251, 192, 45, 0.15);
  color: var(--gold);
  border: 1px solid rgba(251, 192, 45, 0.3);
}

.adm-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.15s ease;
}
.adm-item-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(251, 192, 45, 0.25);
}
.adm-item-row.disabled-item {
  opacity: 0.55;
  background: rgba(0, 0, 0, 0.4);
}
.adm-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.adm-item-text {
  font-size: 0.82rem;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.adm-item-meta {
  font-size: 0.7rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.adm-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.status-pill.active {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.status-pill.scheduled {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.35);
}
.status-pill.expired {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.35);
}
.status-pill.disabled {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Edit Modal */
.adm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.adm-modal-card {
  background: #111118;
  border: 2px solid rgba(251, 192, 45, 0.5);
  border-radius: 14px;
  padding: 22px;
  max-width: 620px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9);
  max-height: 90vh;
  overflow-y: auto;
}
.adm-modal-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #facc15;
  margin: 0 0 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.adm-form-group {
  margin-bottom: 14px;
}
.adm-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #cbd5e1;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.adm-form-input, .adm-form-select {
  width: 100%;
  background: #09090d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.85rem;
}
.adm-form-input:focus, .adm-form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(251, 192, 45, 0.2);
}



/* ================= 18. PREMIUM DIVISION-SPECIFIC BRANDING ON MATCHUP COLUMNS ================= */

/* Common Column Polish */
.season-col {
  border-radius: 14px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  position: relative !important;
}

.col-hdr {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid !important;
  gap: 10px !important;
}
.col-hdr-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}
.col-hdr-logo {
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}
.col-hdr-title {
  font-family: var(--display, inherit) !important;
  font-size: 1.12rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  line-height: 1.1 !important;
  color: #FBC02D !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}
.col-hdr-sub {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  opacity: 0.95 !important;
  margin-top: 3px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
}
.col-hdr-badge {
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* 1. Elite Division Column (Gold / Amber / Deep Carbon Slate) */
.season-col-elite {
  background: radial-gradient(130% 90% at 50% 0%, rgba(251, 192, 45, 0.16) 0%, rgba(24, 18, 8, 0.95) 45%, #0d0c0a 100%) !important;
  border: 1.5px solid rgba(251, 192, 45, 0.45) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.75), 0 0 24px rgba(251, 192, 45, 0.12) !important;
}
.col-hdr-elite {
  border-color: #FBC02D !important;
  color: #FBC02D !important;
}
.col-hdr-elite .col-hdr-title {
  color: #FBC02D !important;
}
.col-hdr-elite .col-hdr-sub {
  color: #ffffff !important;
}
.col-hdr-elite .col-hdr-badge {
  background: rgba(251, 192, 45, 0.18) !important;
  color: #FBC02D !important;
  border: 1px solid rgba(251, 192, 45, 0.45) !important;
}
.season-col-elite .broadcast-matchup-card {
  border-color: rgba(251, 192, 45, 0.22) !important;
  background: rgba(14, 13, 16, 0.9) !important;
}
.season-col-elite .broadcast-matchup-card:hover {
  border-color: #FBC02D !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 14px rgba(251, 192, 45, 0.25) !important;
}

/* 2. Second Division Column (Second Division Green #1F6145) */
.season-col-second {
  background: radial-gradient(130% 90% at 50% 0%, rgba(31, 97, 69, 0.42) 0%, rgba(18, 56, 40, 0.96) 48%, #081a12 100%) !important;
  border: 1.5px solid rgba(52, 211, 153, 0.6) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.75), 0 0 26px rgba(31, 97, 69, 0.35) !important;
}
.col-hdr-second {
  border-color: #1F6145 !important;
  color: #FBC02D !important;
}
.col-hdr-second .col-hdr-title {
  color: #FBC02D !important;
}
.col-hdr-second .col-hdr-sub {
  color: #ffffff !important;
}
.col-hdr-second .col-hdr-badge {
  background: rgba(31, 97, 69, 0.45) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(52, 211, 153, 0.6) !important;
}
.season-col-second .broadcast-matchup-card {
  border-color: rgba(31, 97, 69, 0.45) !important;
  background: rgba(10, 26, 18, 0.94) !important;
}
.season-col-second .broadcast-matchup-card:hover {
  border-color: #34d399 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 16px rgba(31, 97, 69, 0.45) !important;
}

/* 3. Third Division Column (Third Division Blue #0544CF) */
.season-col-third {
  background: radial-gradient(130% 90% at 50% 0%, rgba(5, 68, 207, 0.42) 0%, rgba(3, 40, 128, 0.96) 48%, #021236 100%) !important;
  border: 1.5px solid rgba(96, 165, 250, 0.6) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.75), 0 0 26px rgba(5, 68, 207, 0.35) !important;
}
.col-hdr-third {
  border-color: #0544CF !important;
  color: #FBC02D !important;
}
.col-hdr-third .col-hdr-title {
  color: #FBC02D !important;
}
.col-hdr-third .col-hdr-sub {
  color: #ffffff !important;
}
.col-hdr-third .col-hdr-badge {
  background: rgba(5, 68, 207, 0.45) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(96, 165, 250, 0.6) !important;
}
.season-col-third .broadcast-matchup-card {
  border-color: rgba(5, 68, 207, 0.45) !important;
  background: rgba(4, 16, 42, 0.94) !important;
}
.season-col-third .broadcast-matchup-card:hover {
  border-color: #60a5fa !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 16px rgba(5, 68, 207, 0.45) !important;
}


/* Suppress division race chart permanently */
.chartbox, .chart.race, #raceholder, .racectl {
  display: none !important;
}


/* ==========================================================================
   19. REVAMPED BROADCAST RIVALRY HUB & HEAD-TO-HEAD MATRIX
   ========================================================================== */
.riv-hub-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hub Hero Banner */
.riv-hero-banner {
  background: radial-gradient(120% 120% at 50% 0%, rgba(251, 192, 45, 0.16) 0%, rgba(20, 20, 26, 0.96) 55%, #0e0e12 100%) !important;
  border: 1.5px solid rgba(251, 192, 45, 0.35) !important;
  border-radius: 16px !important;
  padding: 24px 28px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(251, 192, 45, 0.12) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
.riv-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.riv-hero-title {
  font-family: var(--display, 'Saira Condensed', sans-serif) !important;
  font-size: 1.85rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  letter-spacing: 0.04em !important;
  line-height: 1.1 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.riv-hero-title span {
  color: #FBC02D !important;
}
.riv-hero-sub {
  font-size: 0.88rem !important;
  color: #a0a0b0 !important;
  max-width: 820px !important;
  line-height: 1.5 !important;
  margin-top: 4px;
}
.riv-stats-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.riv-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  color: #dcdce6;
}
.riv-stat-chip b {
  color: #FBC02D !important;
  font-weight: 900 !important;
}

/* Filter / Search Bar */
.riv-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: #14151c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
}
.riv-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.riv-pill-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #a0a0b0 !important;
  font-family: var(--display, inherit) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.riv-pill-btn:hover {
  background: rgba(251, 192, 45, 0.15) !important;
  color: #FBC02D !important;
  border-color: rgba(251, 192, 45, 0.4) !important;
}
.riv-pill-btn.active {
  background: #FBC02D !important;
  color: #000 !important;
  border-color: #FBC02D !important;
  box-shadow: 0 0 12px rgba(251, 192, 45, 0.35) !important;
}
.riv-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0d0d11;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 12px;
  min-width: 240px;
}
.riv-search-in {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.85rem;
  width: 100%;
}

/* Head-to-Head Calculator Tool */
.riv-calculator-box {
  background: linear-gradient(135deg, rgba(22, 22, 30, 0.95) 0%, rgba(14, 14, 18, 0.98) 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}
.riv-calc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.riv-calc-title {
  font-family: var(--display, inherit) !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  color: #FBC02D !important;
  letter-spacing: 0.05em !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.riv-calc-selectors {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.riv-select {
  background: #1a1a24 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  min-width: 220px !important;
  outline: none !important;
}
.riv-calc-result {
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 16px !important;
}

/* Rivalry Cards List */
.riv-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Symmetrical Broadcast Rivalry Card */
.riv-card {
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  position: relative !important;
}
.riv-card:hover {
  border-color: rgba(251, 192, 45, 0.5) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75), 0 0 16px rgba(251, 192, 45, 0.15) !important;
}
.riv-card.open {
  border-color: #FBC02D !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85), 0 0 20px rgba(251, 192, 45, 0.25) !important;
}

/* Card Header: 3-column symmetrical broadcast showdown */
.riv-card-header {
  display: grid !important;
  grid-template-columns: 1fr minmax(280px, 340px) 1fr !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 18px 24px !important;
  cursor: pointer !important;
  user-select: none !important;
  position: relative !important;
}

/* Left & Right Team Columns */
.riv-team-side {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
}
.riv-team-side.right {
  flex-direction: row-reverse !important;
  text-align: right !important;
}
.riv-team-crest {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid !important;
  flex-shrink: 0 !important;
  background: #000 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7) !important;
}
.riv-team-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
}
.riv-team-name {
  font-family: var(--display, inherit) !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.riv-team-sub {
  font-size: 0.75rem !important;
  color: #9898a8 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.riv-team-side.right .riv-team-sub {
  justify-content: flex-end !important;
}
.riv-team-pts-total {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #d1d1de !important;
}

/* Center Showdown Board */
.riv-center-showdown {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
}
.riv-series-score {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  font-family: var(--figure, 'Chakra Petch', sans-serif) !important;
  font-size: 2.3rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
.riv-score-num {
  color: #fff !important;
  min-width: 32px !important;
}
.riv-score-num.winner {
  color: #FBC02D !important;
  text-shadow: 0 0 10px rgba(251, 192, 45, 0.4) !important;
}
.riv-score-dash {
  color: #555566 !important;
  font-size: 1.6rem !important;
}
.riv-leader-pill {
  font-family: var(--display, inherit) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 3px 12px !important;
  border-radius: 4px !important;
  background: rgba(251, 192, 45, 0.15) !important;
  color: #FBC02D !important;
  border: 1px solid rgba(251, 192, 45, 0.4) !important;
}

/* Symmetrical Momentum Bar */
.riv-momentum-bar {
  display: flex !important;
  width: 100% !important;
  max-width: 280px !important;
  height: 6px !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  background: #22222a !important;
  margin-top: 2px !important;
}
.riv-mom-fill {
  height: 100% !important;
  transition: width 0.3s ease !important;
}

/* Badges strip under center */
.riv-badges-strip {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  margin-top: 2px !important;
}
.riv-mini-tag {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  padding: 2px 7px !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #c0c0cc !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}
.riv-mini-tag.heat {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
}
.riv-mini-tag.title-tag {
  background: rgba(251, 192, 45, 0.18) !important;
  color: #FBC02D !important;
  border: 1px solid rgba(251, 192, 45, 0.4) !important;
}
.riv-mini-tag.po-tag {
  background: rgba(147, 51, 234, 0.18) !important;
  color: #c084fc !important;
  border: 1px solid rgba(147, 51, 234, 0.4) !important;
}

/* Expand Prompt Bar */
.riv-expand-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 7px 12px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  font-family: var(--display, inherit) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #a0a0b0 !important;
  cursor: pointer !important;
}
.riv-expand-bar:hover {
  background: rgba(251, 192, 45, 0.1) !important;
  color: #FBC02D !important;
}

/* Card Body (Expanded Drawer) */
.riv-drawer {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(0, 0, 0, 0.55) !important;
  padding: 22px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

/* Tale of the Tape Matrix */
.riv-tape-matrix {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 12px !important;
  background: #14151c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 16px 20px !important;
}
.riv-tape-val {
  font-family: var(--figure, inherit) !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #fff !important;
}
.riv-tape-val.left {
  text-align: left !important;
}
.riv-tape-val.right {
  text-align: right !important;
}
.riv-tape-val.leader {
  color: #FBC02D !important;
}
.riv-tape-label {
  text-align: center !important;
  font-family: var(--display, inherit) !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #8e8e9e !important;
}

/* Series Game Log Table */
.riv-log-table {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.riv-log-row {
  display: grid !important;
  grid-template-columns: 90px 1fr auto 1fr 100px !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 16px !important;
  background: #13131a !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
  transition: background 0.15s ease !important;
}
.riv-log-row:hover {
  background: #1a1a24 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.riv-log-date {
  font-family: var(--display, inherit) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #a0a0b0 !important;
  display: flex !important;
  flex-direction: column !important;
}
.riv-log-team {
  font-weight: 800 !important;
  font-size: 0.94rem !important;
  color: #d1d1de !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.riv-log-team.left {
  justify-content: flex-start !important;
}
.riv-log-team.right {
  justify-content: flex-end !important;
}
.riv-log-team.winner {
  color: #fff !important;
  font-weight: 900 !important;
}
.riv-log-score {
  font-family: var(--figure, inherit) !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  color: #d1d1de !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
}
.riv-log-score.winner {
  color: #FBC02D !important;
  background: rgba(251, 192, 45, 0.15) !important;
  border: 1px solid rgba(251, 192, 45, 0.3) !important;
}
.riv-log-center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
}
.riv-log-diff {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: #888899 !important;
}
.riv-log-context {
  text-align: right !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
}

/* Mobile Responsiveness */
@media (max-width: 840px) {
  .riv-card-header {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
    text-align: center !important;
  }
  .riv-team-side,
  .riv-team-side.right {
    justify-content: center !important;
    flex-direction: row !important;
    text-align: center !important;
  }
  .riv-team-crest {
    width: 44px !important;
    height: 44px !important;
  }
  .riv-log-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .riv-tape-matrix {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
}




/* ==== AFP standings (2026 hub) =========================================== */
.afp-all{margin-top:4px}
.afp-all-hdr{display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  flex-wrap:wrap;margin:0 0 18px}
.afp-all-hdr h3{margin:0;font-family:var(--display,inherit);font-weight:800;font-size:1.02rem;
  letter-spacing:.13em;text-transform:uppercase;color:#fff}
.afp-all-note{font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--gold,#fbc02d);font-weight:800}
.afp-all>.afp-div{margin-top:24px}
.afp-all>.afp-div:first-of-type{margin-top:0}

/* card ------------------------------------------------------------------- */
.afp-card{position:relative;border:1px solid var(--line,#26262e);border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.028) 0%,rgba(255,255,255,0) 220px),
    var(--panel,#141418);
  box-shadow:0 18px 44px rgba(0,0,0,.5), 0 2px 0 rgba(255,255,255,.03) inset;
  padding:0 0 16px;overflow:hidden}
.afp-card::before{content:'';position:absolute;inset:0 0 auto 0;height:3px;
  background:linear-gradient(90deg,var(--afp-accent,#fbc02d),transparent 72%);opacity:.85;z-index:2}

/* division banner -------------------------------------------------------- */
.afp-banner{position:relative;padding:18px 20px 16px;
  background:
    radial-gradient(120% 150% at 0% 0%,var(--afp-div,#17171b) 0%,rgba(0,0,0,0) 62%),
    linear-gradient(135deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,0) 60%)}
.afp-banner-rule{position:absolute;left:0;top:0;bottom:0;width:4px;
  background:linear-gradient(180deg,var(--afp-accent,#fbc02d),transparent)}
.afp-banner-in{display:flex;align-items:center;justify-content:space-between;gap:16px;
  flex-wrap:wrap;position:relative}
.afp-banner-id h2{margin:0;font-family:var(--display,inherit);font-weight:800;
  font-size:1.35rem;line-height:1;
  letter-spacing:.1em;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.6)}
.afp-banner-sub{display:block;margin-top:5px;font-size:.68rem;letter-spacing:.18em;
  text-transform:uppercase;color:var(--afp-accent,#fbc02d);font-weight:800}
.afp-banner-chips{display:flex;gap:8px;flex-wrap:wrap}
.afp-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border-radius:99px;
  background:rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.09);
  font-size:.72rem;line-height:1;color:#d6d6de;backdrop-filter:blur(2px)}
.afp-chip b{color:#fff;font-weight:800}
.afp-chip em{font-style:normal;color:var(--dim,#8b8b96);font-size:.64rem;letter-spacing:.08em;
  text-transform:uppercase}
.afp-chip-lead{padding-left:9px}
.afp-chip-lead b{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.afp-chip-lead em{font-family:var(--figure,monospace);font-weight:800;font-size:.78rem;
  letter-spacing:0;text-transform:none}
.afp-chip-dot{width:9px;height:9px;border-radius:50%;flex:0 0 auto;
  box-shadow:0 0 0 2px rgba(255,255,255,.14)}
.afp-chip-up{border-color:rgba(74,222,128,.3)}
.afp-chip-up b{color:#6ee7a8}
.afp-chip-risk{border-color:rgba(251,191,36,.3)}
.afp-chip-risk b{color:#fbbf24}
.afp-chip-down{border-color:rgba(240,86,91,.3)}
.afp-chip-down b{color:#ff8b90}

.afp-movecard{margin:0 20px 12px}
.season-afp-sub{margin:0 20px 12px;color:var(--dim,#8b8b96);font-size:.84rem;line-height:1.55}
.season-afp-sub b{color:#fff}

/* table ------------------------------------------------------------------ */
.afp-twrap{margin:0 14px;border:1px solid var(--line,#26262e);border-radius:12px;
  background:rgba(0,0,0,.28);overflow-x:auto}
.afp-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.86rem}
.afp-th{background:#101014;color:var(--dim,#8b8b96);
  font-family:var(--display,inherit);font-weight:700;
  font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;
  padding:9px 10px;text-align:left;white-space:nowrap;
  border-bottom:1px solid var(--line,#26262e)}
.afp-th-rk{width:52px;text-align:center}
.afp-th-score{width:190px}
.afp-th-comps{width:230px}
.afp-th-rec{width:92px;text-align:center}
.afp-th-st{width:170px;text-align:center}
.afp-th-score,.afp-th-comps{color:#c9c9d2}
.afp-th-team{width:300px}

/* ---- the site's generic table rules, switched off for this table ---------
   The deployed stylesheet tints every tbody row (zebra + a skin-tinted hover)
   and fixes a 640px min-width on all tables. Those are for the site's own
   tables; the AFP standings is not one of them, so they are cancelled here. */
.afp-table{min-width:0}
.afp-all .afp-table tbody tr,
.afp-all .afp-table tbody tr:nth-child(even),
.afp-all .afp-table tbody tr:nth-child(odd){background:none}
.afp-all .afp-table tbody tr>td,
.afp-all .afp-table tbody tr:nth-child(even)>td,
.afp-all .afp-table tbody tr:nth-child(odd)>td,
.afp-all .afp-table tbody tr>td:nth-child(2),
.afp-all .afp-table tbody tr:nth-child(even)>td:nth-child(2){
  background-color:transparent;box-shadow:none}
/* .twrap td/th lose to the AFP cells (equal specificity, AFP emitted last) */
.afp-tr>td{padding:8px 10px}
.afp-th{padding:9px 10px}

/* rows ------------------------------------------------------------------- */
.afp-tr{cursor:pointer;position:relative;background:none!important}
.afp-tr>td{position:relative;padding:9px 10px;vertical-align:middle;
  border-bottom:1px solid rgba(255,255,255,.045);
  transition:background-color .16s ease}
/* every cell carries a trace of the club's colour, so the whole row is theirs */
/* the stat cells keep only a whisper of the club colour - the Team column is
   where it is allowed to be loud, and the numbers stay legible */
/* Pinned with !important on purpose: the deployed page tints every tbody row
   (an even-row zebra, plus a per-skin hover in --sk-tint / --sk-soft) and those
   rules are rewritten whenever the division skin changes. The AFP standings is
   not one of those tables, so its row paint is fixed here and cannot be
   alternated by anything else on the page. */
/* Written as the `background` SHORTHAND, and with the even/odd rows named
   explicitly, because the page's rule that made the table alternate is itself a
   shorthand (`tbody tr:nth-child(even) td{background:...}`). A longhand
   background-image loses to that shorthand; a shorthand of the same weight does
   not. The even and odd selectors are both listed so neither can be tinted. */
.afp-all .afp-table tbody tr>td,
.afp-all .afp-table tbody tr:nth-child(even)>td,
.afp-all .afp-table tbody tr:nth-child(odd)>td{
  background-color:transparent!important;
  background-image:linear-gradient(90deg,
    var(--afp-team-w3) 0%,var(--afp-team-w4) 34%,transparent 70%)!important}
/* the Team column is where the club's colour really lives */
.afp-all .afp-table tbody tr>td.afp-td-team,
.afp-all .afp-table tbody tr:nth-child(even)>td.afp-td-team,
.afp-all .afp-table tbody tr:nth-child(odd)>td.afp-td-team{
  background-image:linear-gradient(100deg,
    var(--afp-team-w1) 0%,var(--afp-team-w2) 40%,var(--afp-team-w3) 74%,transparent 100%)!important}
.afp-all .afp-table tbody tr:hover>td{
  background-image:linear-gradient(90deg,
    var(--afp-team-w2) 0%,var(--afp-team-w3) 36%,var(--afp-team-w4) 74%,transparent 100%)!important}
.afp-all .afp-table tbody tr:hover>td.afp-td-team{
  background-image:linear-gradient(100deg,
    var(--afp-team-w1) 0%,var(--afp-team-w1) 34%,var(--afp-team-w2) 70%,transparent 100%)!important}
/* two-tone club bar down the left edge, zone colour as the hairline beside it */
.afp-tr>td:first-child::after{content:'';position:absolute;left:0;top:0;bottom:0;width:6px;
  background:var(--afp-team-bar);opacity:.95}
.afp-tr>td:first-child::before{content:'';position:absolute;left:6px;top:0;bottom:0;width:2px;
  background:var(--afp-zone,transparent);opacity:.9}
.afp-tr:last-child>td{border-bottom:none}

/* the zone band is the one background tint that IS wanted: promotion, risk and
   drop read as a faint coloured band across the row */
.afp-z-up>td{background-color:rgba(74,222,128,.07)!important}
.afp-z-risk>td{background-color:rgba(251,191,36,.07)!important}
.afp-z-down>td{background-color:rgba(240,86,91,.08)!important}
/* zone cut lines */
.afp-tr>td{border-bottom-color:rgba(255,255,255,.045)}
.afp-cut-up>td{border-bottom:1px dashed rgba(74,222,128,.45)!important}
.afp-cut-risk>td{border-bottom:1px dashed rgba(251,191,36,.45)!important}
.afp-cut-down>td{border-top:1px dashed rgba(240,86,91,.5);
  border-bottom-color:rgba(255,255,255,.045)}

/* rank badge */
.afp-td-rk{text-align:center}
.afp-rk{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;
  border-radius:9px;font-family:var(--figure,monospace);font-weight:700;font-size:.9rem;
  color:#0d0d0f;background:linear-gradient(180deg,#fff 0%,#d9d9de 100%);
  box-shadow:0 2px 0 rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.16) inset}
.afp-rk-perfect{background:linear-gradient(180deg,#ffe792 0%,var(--gold,#fbc02d) 100%);
  box-shadow:0 2px 0 rgba(0,0,0,.5), 0 0 16px rgba(251,192,45,.55)}
.afp-z-up   .afp-rk{box-shadow:0 2px 0 rgba(0,0,0,.5), 0 0 0 1px rgba(74,222,128,.5) inset}
.afp-z-risk .afp-rk{box-shadow:0 2px 0 rgba(0,0,0,.5), 0 0 0 1px rgba(251,191,36,.5) inset}
.afp-z-down .afp-rk{box-shadow:0 2px 0 rgba(0,0,0,.5), 0 0 0 1px rgba(240,86,91,.5) inset}

/* team cell */
/* THE PLATE - the club's colour at full strength, shaded like a jersey, with
   the crest on a dark tile and the name set in whichever ink clears 4.6:1 */
.afp-plate{position:relative;display:flex;align-items:center;gap:11px;min-width:0;
  padding:6px 15px 6px 8px;border-radius:11px;
  background-image:linear-gradient(135deg,var(--afp-plate-a) 0%,var(--afp-plate-b) 100%);
  box-shadow:0 3px 12px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -1px 0 rgba(0,0,0,.26);
  transition:filter .16s ease,box-shadow .16s ease}
/* a sheen across the plate, so it reads as material rather than a swatch */
.afp-plate::after{content:'';position:absolute;inset:0;border-radius:11px;pointer-events:none;
  background:linear-gradient(112deg,rgba(255,255,255,0) 26%,rgba(255,255,255,.16) 40%,
    rgba(255,255,255,.02) 52%,rgba(255,255,255,0) 72%)}
.afp-tr:hover .afp-plate{filter:brightness(1.10) saturate(1.08);
  box-shadow:0 6px 20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -1px 0 rgba(0,0,0,.26)}
.afp-plate .afp-logo{position:relative;flex:0 0 auto;width:38px;height:38px;border-radius:9px;
  background:none;padding:0;box-shadow:none}
.afp-logo img{width:100%;height:100%;border-radius:9px;object-fit:cover;display:block;
  box-shadow:0 2px 8px rgba(0,0,0,.5)}
.afp-team-txt{display:flex;flex-direction:column;min-width:0}
/* the club's colour carries the plate; the ink is chosen for 4.6:1 on it */
.afp-plate .afp-team-txt b{font-family:var(--display,inherit);font-weight:800;
  color:var(--afp-plate-ink,#fff);
  font-size:1.03rem;line-height:1.15;letter-spacing:.045em;text-transform:uppercase;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afp-plate .afp-team-txt i{font-family:var(--body,inherit);font-style:normal;
  color:var(--afp-plate-sub,rgba(255,255,255,.8));
  font-size:.7rem;line-height:1.35;letter-spacing:.01em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* headline score */
.afp-td-score{padding-right:14px!important}
.afp-score{display:flex;align-items:baseline;gap:4px;margin-bottom:5px}
.afp-score-n{font-family:var(--figure,monospace);font-weight:700;font-size:1.3rem;
  line-height:1;letter-spacing:-.01em;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.afp-score-of{font-size:.62rem;color:var(--dim,#8b8b96);font-weight:700;letter-spacing:.04em}

/* meters */
.afp-meter{display:block}
.afp-meter-track{display:block;position:relative;height:7px;border-radius:99px;
  background:rgba(255,255,255,.07);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.035)}
.afp-meter-fill{display:block;height:100%;border-radius:99px;position:relative;
  box-shadow:0 0 10px -1px currentColor}
.afp-meter-fill::after{content:'';position:absolute;inset:0 0 auto 0;height:1px;border-radius:99px;
  background:rgba(255,255,255,.35)}
.afp-meter-lg .afp-meter-track{height:8px}
.afp-meter-sm .afp-meter-track{height:5px}

/* components */
.afp-td-comps{padding-top:8px!important;padding-bottom:8px!important}
.afp-comps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.afp-comp{display:grid;grid-template-columns:auto auto 1fr;align-items:center;
  gap:3px 6px;min-width:0}
.afp-comp .afp-comp-k{grid-column:1;grid-row:1}
.afp-comp .afp-comp-r{grid-column:2;grid-row:1;justify-self:start}
.afp-comp .afp-comp-p{grid-column:3;grid-row:1;justify-self:end}
.afp-comp .afp-meter{grid-column:1/-1;grid-row:2}
.afp-comp-k{font-family:var(--display,inherit);font-size:.66rem;letter-spacing:.11em;
  text-transform:uppercase;color:var(--dim,#8b8b96);font-weight:700}
.afp-comp-r{position:relative;text-align:center;font-family:var(--figure,monospace);font-weight:700;
  font-size:.78rem;color:#e2e2ea;background:rgba(255,255,255,.06);border-radius:6px;padding:1px 5px}
.afp-comp-star{position:absolute;top:-5px;right:-3px;font-size:.5rem;color:var(--gold,#fbc02d);
  font-style:normal;text-shadow:0 0 6px rgba(251,192,45,.8)}
.afp-comp-p{font-style:normal;text-align:right;font-family:var(--figure,monospace);font-weight:800;
  font-size:.7rem;color:#e6e6ee;opacity:.85}

/* record */
.afp-td-rec{text-align:center}
.afp-rec{display:block;font-family:var(--figure,monospace);font-weight:700;font-size:.9rem;color:#e9e9f0}
.afp-pf{display:block;font-style:normal;font-size:.66rem;color:var(--dim,#8b8b96);margin-top:1px}

/* status */
.afp-td-st{text-align:center}
.afp-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:99px;
  border:1px solid var(--line,#26262e);font-family:var(--display,inherit);font-weight:800;
  font-size:.72rem;letter-spacing:.1em;
  white-space:nowrap;line-height:1.1}
.afp-pill-risk{border-style:dashed}
.afp-warn{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;
  border-radius:50%;background:#fbbf24;color:#1a1400;font-size:.55rem;font-weight:900;line-height:1}
.afp-gap{font-family:var(--figure,monospace);font-weight:800;font-size:.66rem;
  letter-spacing:0;opacity:.9}
.afp-dest{font-weight:700;opacity:.7;font-size:.55rem;letter-spacing:.04em}
.afp-safe-dash{color:rgba(255,255,255,.16);font-weight:800}

/* legend */
.afp-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:12px 20px 0;padding-top:11px;
  border-top:1px solid var(--line,#26262e);color:var(--dim,#8b8b96);font-size:.72rem;
  line-height:1.5}
.afp-key{display:inline-flex;align-items:center;gap:6px}
.afp-key b{font-weight:900}
.afp-key-i{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;
  border-radius:5px;font-size:.6rem;line-height:1}
.afp-key-i-up{color:#4ade80;background:rgba(74,222,128,.14)}
.afp-key-i-risk{color:#fbbf24;background:rgba(251,191,36,.14)}
.afp-key-i-down{color:#f0565b;background:rgba(240,86,91,.14)}
.afp-prov{color:var(--gold,#fbc02d)}
.afp-champ{color:var(--gold,#fbc02d)}

@media (max-width:980px){
  .afp-th-comps,.afp-td-comps{display:none}
  .afp-th-score{width:150px}
  .afp-th-team{width:auto}
}
/* Phones: the table becomes a stack of cards. Nothing is dropped - the rank,
   the club plate, the score, all three components, the record and the status
   pill are all still there, just re-flowed. */
@media (max-width:760px){
  .afp-all{padding-left:0;padding-right:0}
  .afp-twrap{margin:0 10px;border:none;border-radius:0;background:none;overflow:visible;
    box-shadow:none}
  .afp-table,.afp-table tbody{display:block;width:100%;min-width:0}
  .afp-table thead{display:none}
  .afp-tr{display:grid;grid-template-columns:auto 1fr;
    grid-template-areas:"rk team" "score score" "comps comps" "rec st";
    gap:9px 9px;padding:12px 13px 12px 0;margin:0 0 10px;border-radius:14px;
    background:#141419;
    box-shadow:inset 6px 0 0 var(--afp-team),
      inset 8px 0 0 var(--afp-zone,transparent),
      0 6px 18px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05)}
  .afp-tr>td,.afp-tr:nth-child(even)>td{display:block;padding:0 0 0 15px!important;
    border:none!important;background:none!important;box-shadow:none!important}
  .afp-tr>td:first-child::after,.afp-tr>td:first-child::before{display:none}
  .afp-td-rk{grid-area:rk;align-self:center}
  .afp-td-team{grid-area:team;padding-left:2px!important;min-width:0}
  .afp-td-score{grid-area:score}
  .afp-td-comps{grid-area:comps;display:block!important;padding-top:2px!important}
  .afp-td-rec{grid-area:rec;text-align:left}
  .afp-td-st{grid-area:st;text-align:right;align-self:center}
  .afp-plate{width:100%;padding:7px 13px 7px 8px}
  .afp-plate .afp-team-txt b{font-size:1rem}
  .afp-plate .afp-team-txt i{display:block}
  .afp-score{display:flex;align-items:baseline;gap:5px}
  .afp-score-n{font-size:1.15rem}
  .afp-meter-lg .afp-meter-track{height:7px}
  .afp-comps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
  .afp-banner{padding:14px 13px 12px}
  .afp-banner-id h2{font-size:1.1rem}
  .afp-banner-chips{gap:6px}
  .afp-chip{font-size:.66rem;padding:4px 9px}
  .afp-chip-lead b{max-width:130px}
  .afp-banner-sub{font-size:.68rem}
  .afp-movecard,.season-afp-sub,.afp-legend{margin-left:10px;margin-right:10px}
  .afp-pill{font-size:.64rem;padding:4px 9px}
}
@media (max-width:420px){
  .afp-chip-lead b{max-width:96px}
  .afp-comps{gap:7px}
  .afp-comp-k{font-size:.6rem}
}

