/* SNS 2.4 - v2.3 base + expandable card, ticker logos, news thumbs, helmet bg, scoreboard carousel, hero pop, gold accent */
:root {
  --red-primary: #FF1A1A;
  --red-bright: #FF3B30;
  --red-crimson: #8B0000;
  --red-glow: #FF2D2D;
  --orange-accent: #FF6A00;

  --gold-accent: #F0BD30;

  --black-pure: #000000;
  --black-bg: #050505;
  --black-card: #0A0A0A;
  --black-soft: #111111;
  --gray-border: #2A2A2A;
  --gray-light: #8A8A8A;
  --white-bright: #F5F5F5;

  --bg-page: var(--black-bg);
  --bg-surface: var(--black-card);
  --bg-surface-2: var(--black-soft);
  --bg-surface-3: #1A1A1A;
  --border-accent: var(--red-primary);
  --border-accent-2: var(--red-bright);
  --text-primary: var(--white-bright);
  --text-muted: var(--gray-light);
  --text-faint: #5E626E;
  --hairline: rgba(255,255,255,0.06);
  --hairline-2: rgba(255,255,255,0.10);

  --gold-medal: #D4A847;
  --silver-medal: #CFD2D6;
  --bronze-medal: #C7884A;

  --f-display: 'Bebas Neue', 'Oswald', 'Anton', sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-numeral: 'Rajdhani', 'Inter', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --sidebar-w: 250px;
  --row-gap: 24px;
  --col-gap: 16px;
  --card-pad: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--black-bg); color: var(--white-bright); font-family: var(--f-body); font-size: 16px; }
html { color-scheme: dark; }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

.skip { position: absolute; top: -100px; left: 0; padding: 8px 16px; background: var(--red-primary); color: #fff; z-index: 100; }
.skip:focus { top: 0; }

/* Gold accent — apply SPARINGLY to numerals only (labels stay white) */
.numeral-accent { color: var(--gold-accent) !important; font-family: var(--f-display); }

/* ==== APP LAYOUT (sidebar + content) ==== */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
}

.content {
  display: grid;
  grid-auto-rows: min-content;
  gap: var(--row-gap);
  padding: 0 24px 32px;
  min-width: 0;
}

/* ==== SIDEBAR (left rail) ==== */
.sidebar {
  background: var(--black-pure);
  border-right: 1px solid var(--red-primary);
  box-shadow: 4px 0 16px rgba(255, 0, 0, 0.25);
  padding: 28px 18px 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.nav-brand {
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  filter: brightness(1.3) saturate(1.4) drop-shadow(0 0 8px rgba(255, 0, 0, 0.4));
  padding: 6px;
  height: 64px;
  margin-bottom: 8px;
  flex: 0 0 auto;
}
.nav-brand img { width: 100%; height: 100%; object-fit: contain; }

.nav-list {
  display: flex; flex-direction: column;
  gap: 22px;
  padding: 18px 0 0;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--gray-light);
  border-radius: 8px;
  background: transparent;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.nav-item .nav-ic {
  width: 16px; height: 16px; display: inline-block;
  background: currentColor;
  -webkit-mask: var(--ic, none) center/contain no-repeat;
          mask: var(--ic, none) center/contain no-repeat;
  flex: 0 0 16px;
}
.nav-item .ic-home    { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 11l9-8 9 8M5 10v10h14V10'/></svg>"); }
.nav-item .ic-trophy  { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M7 4h10v4a5 5 0 0 1-10 0V4z'/><path d='M5 4H3v3a3 3 0 0 0 3 3'/><path d='M19 4h2v3a3 3 0 0 1-3 3'/><path d='M9 20h6v-4H9z'/></svg>"); }
.nav-item .ic-tree    { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 6h6M4 12h6M4 18h6M14 9h6M14 15h6M10 6v6M20 9v6'/></svg>"); }
.nav-item .ic-users   { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='9' cy='8' r='3'/><circle cx='17' cy='9' r='2.5'/><path d='M3 20c0-3 3-5 6-5s6 2 6 5'/><path d='M14 20c0-2 2-3.5 4-3.5s3 1 3 3.5'/></svg>"); }
.nav-item .ic-star    { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><polygon points='12,3 14.6,9 21,9.6 16.2,13.8 17.7,20 12,16.8 6.3,20 7.8,13.8 3,9.6 9.4,9'/></svg>"); }
.nav-item .ic-feed    { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 5h16M4 11h12M4 17h8'/></svg>"); }
.nav-item .ic-dice    { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='4' y='4' width='16' height='16' rx='3'/><circle cx='8.5' cy='8.5' r='1.2' fill='black'/><circle cx='15.5' cy='15.5' r='1.2' fill='black'/><circle cx='12' cy='12' r='1.2' fill='black'/></svg>"); }

.nav-item:hover, .nav-item:focus-visible { background: rgba(255, 26, 26, 0.10); color: var(--white-bright); outline: none; transform: scale(1.02); }
.nav-item:active { transform: scale(0.98); }
.nav-item.is-active {
  background: var(--red-primary); color: var(--white-bright);
  box-shadow: inset 0 0 12px rgba(255, 80, 80, 0.55), 0 0 10px rgba(255, 0, 0, 0.35);
}

.nav-new {
  margin-left: auto;
  padding: 2px 6px;
  font-size: 9px; font-family: var(--f-display); letter-spacing: .12em;
  background: var(--red-primary); color: #fff; border-radius: 3px;
}

.nav-bottom {
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 0 16px;
  border-top: 1px solid rgba(255,26,26,0.18);
  margin-top: 8px;
}
.nav-user {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--black-soft);
  border: 1px solid rgba(255, 26, 26, 0.25);
  border-radius: 10px;
  transition: border-color .2s ease, transform .15s ease;
}
.nav-user:hover { border-color: var(--red-primary); transform: scale(1.02); }
.nav-user:active { transform: scale(0.98); }
.nu-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--red-primary), var(--orange-accent)); flex: 0 0 28px; box-shadow: 0 0 0 2px var(--black-card); }
.nu-meta { display:flex; flex-direction:column; align-items:flex-start; line-height:1; gap:3px; min-width: 0; }
.nu-hi { font-size: 11px; color: var(--gray-light); white-space: nowrap; }
.nu-pro { font-family: var(--f-display); font-size: 10px; background: var(--red-primary); color: #fff; padding: 1px 5px; border-radius: 3px; letter-spacing: .14em; }

/* O. Search + bell icons side-by-side (was column, now row) */
.nav-iconrow { display: flex; flex-direction: row; gap: 12px; align-items: center; }
.nav-icbtn { display: inline-flex; align-items: center; justify-content: center; flex: 1; height: 34px; background: var(--black-soft); border: 1px solid var(--hairline); border-radius: 8px; color: var(--gray-light); transition: color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease; }
.nav-icbtn:hover { color: var(--white-bright); border-color: var(--red-primary); transform: scale(1.05); box-shadow: 0 0 10px rgba(255,0,0,0.35); }
.nav-icbtn:active { transform: scale(0.95); }
.ic-srch, .ic-bell { width: 16px; height: 16px; display: inline-block; background: currentColor; -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat; }
.ic-srch { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='10.5' cy='10.5' r='6'/><path d='M20 20l-5-5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='10.5' cy='10.5' r='6'/><path d='M20 20l-5-5'/></svg>"); }
.ic-bell { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M5 17h14l-2-3V9a5 5 0 0 0-10 0v5l-2 3z'/><path d='M10 20a2 2 0 0 0 4 0'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M5 17h14l-2-3V9a5 5 0 0 0-10 0v5l-2 3z'/><path d='M10 20a2 2 0 0 0 4 0'/></svg>"); }

/* ==== HERO (M. vibrant + integrated) ==== */
.hero {
  position: relative;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid rgba(255, 0, 0, 0.4);
  box-shadow: 0 0 14px rgba(255, 0, 0, 0.2);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-stadium {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: saturate(1.4) brightness(1.15) contrast(1.05);
  transform: translateY(0); will-change: transform;
}
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center 40%, transparent 30%, rgba(5,5,5,.30) 75%, rgba(5,5,5,.55) 100%), linear-gradient(180deg, rgba(5,5,5,.10) 0%, rgba(5,5,5,.30) 100%); pointer-events: none; }
/* Bottom-fade gradient overlay so the hero blends into the page */
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, var(--black-bg) 100%);
  pointer-events: none;
}
.hero-wordmark { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 240px; height: auto; object-fit: contain; filter: brightness(1.3) saturate(1.4) drop-shadow(0 0 8px rgba(255, 0, 0, 0.4)) drop-shadow(0 6px 20px rgba(0,0,0,.7)); z-index: 2; }

@keyframes hero-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.hero-stadium { animation: hero-in 1.2s cubic-bezier(0.32, 0.72, 0, 1) both; }
@media (prefers-reduced-motion: reduce) { .hero-stadium { animation: none; } }

/* ==== TICKER ==== */
.scoreticker {
  background: var(--black-bg);
  border: 2px solid var(--red-primary);
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
  border-radius: 6px;
  height: 44px;
  overflow: hidden;
  display: flex; align-items: center;
}
.ticker-track { position: relative; width: 100%; height: 100%; display: flex; align-items: center; padding: 0; white-space: nowrap; overflow: hidden; }
.ticker-inner { display: inline-flex; align-items: center; gap: 14px; padding: 0 14px; flex: 0 0 auto; will-change: transform; }
.t-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; color: var(--red-bright); letter-spacing: .12em; padding: 4px 8px; background: rgba(255, 26, 26, .15); border: 1px solid rgba(255, 26, 26, .5); border-radius: 4px; flex: 0 0 auto; }
.t-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:.4; } 50% { opacity: 1; box-shadow: 0 0 8px var(--red-bright); } }

.ticker-track .tg { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--white-bright); border-radius: 4px; white-space: nowrap; flex: 0 0 auto; }
.tg-eyebrow { font-family: var(--f-display); letter-spacing: .14em; color: var(--gold-accent); font-size: 13px; }
.tg-team { display: inline-flex; align-items: center; gap: 4px; }
.tg-team .tg-sc { color: var(--gold-accent); margin-left: 4px; font-family: var(--f-display); font-weight: 700; font-size: 14px; }
.tg-vs { color: var(--text-faint); }
.tg-meta { color: var(--gray-light); font-size: 11px; padding-left: 4px; }
.tg-meta.tg-live { color: var(--red-bright); }
.tg-final .tg-meta { color: var(--gray-light); }
.tg-all { color: var(--red-bright); }
.tg-all .t-arrow { margin-left: 4px; }
.tg:hover { background: rgba(255, 26, 26, 0.08); }

/* G. Ticker logos */
img.ticker-logo { width: 24px; height: 24px; object-fit: contain; vertical-align: middle; margin-right: 6px; border-radius: 50%; background: rgba(255,255,255,0.03); flex: 0 0 24px; }

/* ==== ROW GRIDS (paired sections, equal height) ==== */
.row { display: grid; gap: var(--col-gap); align-items: stretch; grid-auto-rows: 1fr; }
.row-news-rankings { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.row-fantasy-heisman { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.row-scoreboard-other { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }

/* ==== CARD BASE ==== */
.card {
  background: linear-gradient(180deg, #0D0D0D 0%, #050505 100%);
  border: 1px solid rgba(255, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.25), inset 0 0 6px rgba(255, 0, 0, 0.08);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  padding: var(--card-pad);
  display: flex; flex-direction: column;
  min-width: 0;
}
.card:hover { transform: translateY(-2px); border-color: var(--red-bright); box-shadow: 0 0 18px rgba(255, 0, 0, 0.45), inset 0 0 8px rgba(255, 0, 0, 0.12); }

.card-head { display: flex; align-items: center; gap: 10px; padding: 0 0 14px; position: relative; flex: 0 0 auto; }
.card-eyebrow { font-family: var(--f-mono); font-size: 12px; color: var(--gold-accent); letter-spacing: .14em; padding: 2px 6px; border: 1px solid rgba(240, 189, 48, 0.35); border-radius: 3px; }
.card-title { font-family: var(--f-display); font-size: 26px; letter-spacing: .04em; margin: 0; color: var(--white-bright); font-weight: 400; line-height: 1.1; }
.card-link { margin-left: auto; font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-bright); padding: 4px 6px; transition: color .2s ease, transform .15s ease; }
.card-link:hover { color: var(--white-bright); transform: scale(1.03); }
.card-link:active { transform: scale(0.97); }
.card-link .arrow { transition: transform .2s; display: inline-block; }
.card-link:hover .arrow { transform: translateX(3px); }

/* ==== I. MY LEAGUE HERO CARD with helmet overlap (option b) ==== */
.sn--c_myleague {
  background: linear-gradient(135deg, #0D0D0D 0%, #050505 50%, #0D0D0D 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.ml-text { display: flex; flex-direction: column; position: relative; z-index: 2; min-width: 0; }
.ml-text .card-eyebrow { align-self: flex-start; margin-bottom: 10px; }
.ml-text .card-title { font-family: var(--f-display); font-size: 36px; letter-spacing: .04em; line-height: 1.05; color: var(--white-bright); margin: 0 0 4px; }
.ml-sub { font-size: 14px; color: var(--gray-light); margin: 0 0 16px; }
.ml-sub .dot { color: var(--orange-accent); padding: 0 6px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.stat-row li { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; background: rgba(0,0,0,.45); border: 1px solid var(--hairline-2); border-radius: 6px; backdrop-filter: blur(2px); }
.st-lbl { font-family: var(--f-mono); font-size: 10px; color: var(--gray-light); letter-spacing: .12em; }
.st-val { font-family: var(--f-display); font-size: 22px; font-weight: 400; color: var(--gold-accent); letter-spacing: .04em; }

/* Helmet as soft background, right ~40% of the card */
.ml-helmet-wrap {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 90%;
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}
.helmet-halo { position: absolute; inset: -10%; background: radial-gradient(circle at 60% 50%, rgba(255, 26, 26, .4) 0%, transparent 55%); filter: blur(8px); pointer-events: none; }
.ml-helmet { position: relative; z-index: 1; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(1.3) saturate(1.4) drop-shadow(0 0 8px rgba(255, 0, 0, 0.4)) drop-shadow(0 8px 22px rgba(0,0,0,.6)); }

.ml-actions { display: flex; gap: 10px; margin-top: 18px; position: relative; z-index: 2; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-radius: 6px; flex: 1; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, filter .2s ease; }
.btn-primary { background: linear-gradient(180deg, #FF2A2A 0%, #C40000 100%); border: 1px solid #FF4D4D; color: white; box-shadow: 0 4px 14px rgba(255, 26, 26, .45), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { transform: scale(1.03); filter: brightness(1.05); box-shadow: 0 6px 22px rgba(255, 0, 0, 0.65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:active { transform: scale(0.98); filter: brightness(0.95); }
.btn-ghost { background: transparent; color: var(--white-bright); border: 1px solid var(--hairline-2); }
.btn-ghost:hover { border-color: var(--red-primary); color: var(--red-bright); transform: scale(1.03); box-shadow: 0 0 10px rgba(255,0,0,0.35); }
.btn-ghost:active { transform: scale(0.98); }

/* ==== AP TOP 25 ==== */
.ap-list { list-style: none; margin: 0; padding: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.ap-row { display: grid; grid-template-columns: 28px 28px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 4px; border-radius: 6px; font-size: 13px; transition: background .2s ease, transform .15s ease; }
.ap-row + .ap-row { border-top: 1px solid var(--hairline); }
.ap-row:hover { background: rgba(255, 26, 26, 0.08); transform: translateX(2px); }
.ap-rank { font-family: var(--f-display); font-weight: 400; font-size: 20px; color: var(--gold-accent); letter-spacing: .04em; }
.ap-team { font-family: var(--f-body); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--white-bright); }
.ap-rec { font-family: var(--f-mono); font-size: 12px; color: var(--gray-light); }
.ap-mv { font-family: var(--f-mono); font-size: 11px; font-weight: 700; min-width: 22px; text-align: right; }
.ap-mv.mv-up { color: #5ad07a; }
.ap-mv.mv-dn { color: var(--red-bright); }

/* ==== H. NEWS with thumbnails ==== */
.news-list { list-style: none; margin: 0; padding: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.news-row { display: grid; grid-template-columns: 56px 1fr 50px; gap: 12px; align-items: center; padding: 11px 4px; border-radius: 6px; transition: background .2s ease, transform .15s ease; }
.news-row + .news-row { border-top: 1px solid var(--hairline); }
.news-row:hover { background: rgba(255, 26, 26, 0.08); transform: translateX(2px); }
.news-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--bg-surface-3); border: 1px solid var(--hairline-2); }
.news-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-cat { font-family: var(--f-mono); font-size: 10px; font-weight: 700; padding: 2px 5px; border-radius: 3px; letter-spacing: .1em; align-self: flex-start; }
.news-cat.pill-cb { background: rgba(255, 106, 0, .15); color: var(--orange-accent); border: 1px solid rgba(255, 106, 0, .45); }
.news-cat.pill-general { background: var(--bg-surface-3); color: var(--gray-light); border: 1px solid var(--hairline-2); }
.news-cat.pill-hq { background: rgba(255, 26, 26, .18); color: var(--red-bright); border: 1px solid rgba(255, 26, 26, .45); }
.news-title { font-size: 14px; color: var(--white-bright); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-time { font-family: var(--f-mono); font-size: 12px; color: var(--gray-light); text-align: right; align-self: center; }

/* ==== J. SCOREBOARD with carousel ==== */
.sn--c_scoreboard .sb-body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 150px; position: relative; }
.sb-viewport { overflow: hidden; position: relative; min-height: 110px; }
.sb-track { display: flex; transition: transform .35s cubic-bezier(0.32, 0.72, 0, 1); will-change: transform; }
.sb-match { flex: 0 0 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 6px 0; min-width: 0; }
.sb-team { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px; align-items: center; padding: 10px 12px; border-radius: 8px; min-width: 0; }
.sb-team:hover { background: rgba(255, 26, 26, 0.08); }
.sb-helmet { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle, var(--bg-surface-3), var(--black-card)); border: 1px solid var(--hairline-2); }
.sb-team-name {
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: .04em;
  color: var(--white-bright);
  grid-column: 2;
  white-space: nowrap;
  overflow: visible;
  min-width: 0;
}
.sb-team-rec { font-family: var(--f-mono); font-size: 12px; color: var(--gray-light); grid-column: 2; white-space: nowrap; }
.sb-team-score { font-family: var(--f-display); font-size: 40px; font-weight: 400; color: var(--gold-accent); grid-row: 1 / 3; grid-column: 3; letter-spacing: .02em; }
.sb-vs { font-family: var(--f-mono); font-size: 12px; color: var(--text-faint); letter-spacing: .2em; }
.sb-pagination { display: flex; align-items: center; gap: 6px; padding: 4px 0 0; }
.sb-pagination .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--hairline-2);
  cursor: pointer; transition: background .2s ease, width .2s ease, transform .15s ease;
  border: 0; padding: 0;
}
.sb-pagination .dot:hover { background: rgba(255,26,26,0.5); transform: scale(1.2); }
.sb-pagination .dot.active { background: var(--red-primary); width: 22px; border-radius: 4px; }
.sb-status { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--gray-light); letter-spacing: .12em; }

/* ==== OTHER GAMES ==== */
.og-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; flex: 1 1 auto; align-content: stretch; min-width: 0; }
.og-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--black-soft); border: 1px solid var(--hairline-2); border-radius: 8px; padding: 16px; min-height: 200px; transition: border-color .2s ease, background .2s ease, transform .15s ease, box-shadow .2s ease; }
.og-tile:hover { border-color: var(--red-primary); background: linear-gradient(135deg, var(--black-soft), rgba(255, 26, 26, .08)); transform: translateY(-2px); box-shadow: 0 0 14px rgba(255,0,0,0.35); }
.og-tile:active { transform: translateY(0); }
.og-meta { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.og-name { font-family: var(--f-display); font-size: 15px; letter-spacing: .06em; color: var(--white-bright); }
.og-sub { font-size: 12px; color: var(--gray-light); }
.og-new { margin-left: auto; background: var(--red-primary); color: #fff; font-family: var(--f-display); font-size: 10px; padding: 2px 7px; border-radius: 3px; letter-spacing: .14em; }

.other-game-art {
  width: auto;
  max-width: 100%;
  max-height: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.35));
  transition: transform .2s ease, filter .2s ease;
}
.other-game-art:hover { transform: scale(1.06); filter: drop-shadow(0 0 14px rgba(255, 0, 0, 0.55)); }

/* ==== TOP PERFORMERS ==== */
.perf-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; flex: 1 1 auto; align-content: stretch; min-width: 0; }
.perf-card { display: grid; grid-template-rows: auto auto auto auto auto; justify-items: center; gap: 4px; padding: 12px 6px; min-width: 0; overflow: hidden; background: var(--black-soft); border: 1px solid var(--hairline-2); border-radius: 8px; text-align: center; cursor: pointer; transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease; }
.perf-card:hover { border-color: var(--red-primary); transform: translateY(-2px); box-shadow: 0 0 14px rgba(255, 0, 0, 0.35); }
.perf-card:active { transform: translateY(0); }
.perf-pos { font-family: var(--f-display); font-size: 12px; padding: 2px 6px; border-radius: 3px; background: var(--bg-surface-3); color: var(--orange-accent); letter-spacing: .12em; }
.pos-qb { background: rgba(255, 26, 26, .18); color: var(--red-bright); }
.pos-rb { background: rgba(255, 106, 0, .18); color: var(--orange-accent); }
.pos-wr { background: rgba(90,170,220,.15); color: #6aa9d7; }
.pos-te { background: rgba(120,200,150,.14); color: #7fc89a; }
.pos-k { background: rgba(180,140,220,.14); color: #b58cd6; }
.perf-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--bg-surface-3), var(--black-card)); border: 2px solid var(--hairline-2); margin-top: 2px; object-fit: cover; object-position: center top; }
.perf-name { font-size: 12px; font-weight: 600; color: var(--white-bright); letter-spacing: .02em; }
.perf-school { font-family: var(--f-mono); font-size: 10px; color: var(--gray-light); letter-spacing: .08em; }
.perf-ppg { font-family: var(--f-display); font-size: 22px; font-weight: 400; color: var(--gold-accent); margin-top: 2px; letter-spacing: .02em; }
.perf-ppg .perf-unit { font-size: 9px; color: var(--gray-light); font-family: var(--f-mono); letter-spacing: .12em; }
.perf-total { font-family: var(--f-mono); font-size: 10px; color: var(--gray-light); }

/* ==== HEISMAN ==== */
.hw-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: 1 1 auto; align-content: stretch; }
.hw-card { display: grid; grid-template-columns: auto 44px minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: center; column-gap: 8px; row-gap: 2px; padding: 12px 10px; background: linear-gradient(135deg, var(--black-soft) 0%, var(--black-card) 100%); border: 1px solid var(--hairline-2); border-radius: 10px; cursor: pointer; min-width: 0; overflow: hidden; transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease; }
.hw-card:hover { border-color: var(--red-primary); box-shadow: 0 0 16px rgba(255, 0, 0, 0.35); transform: translateY(-2px); }
.hw-card:active { transform: translateY(0); }
.hw-medal { grid-row: 1 / 4; grid-column: 1; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-display); font-size: 18px; color: #1a1207; box-shadow: inset 0 -3px 6px rgba(0,0,0,.3), 0 0 0 2px var(--black-card); }
.hw-gold { background: linear-gradient(180deg, #f5d57e, var(--gold-medal)); }
.hw-silver { background: linear-gradient(180deg, #e8eaee, var(--silver-medal)); }
.hw-bronze { background: linear-gradient(180deg, #d49b6a, var(--bronze-medal)); color: #1c0e06; }
.hw-avatar { grid-row: 1 / 4; grid-column: 2; width: 44px; height: 44px; background: linear-gradient(135deg, var(--bg-surface-3), var(--black-card)); border: 2px solid var(--hairline-2); border-radius: 50%; object-fit: cover; object-position: center top; }
.hw-name { grid-row: 1; grid-column: 3; font-family: var(--f-body); font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--white-bright); letter-spacing: .02em; }
.hw-school { grid-row: 2; grid-column: 3; font-family: var(--f-mono); font-size: 11px; color: var(--gray-light); letter-spacing: .08em; }
.hw-score { grid-row: 3; grid-column: 3; font-family: var(--f-display); font-size: 22px; font-weight: 400; color: var(--gold-accent); letter-spacing: .02em; }
.hw-score .hw-unit { font-family: var(--f-mono); font-size: 9px; color: var(--gray-light); letter-spacing: .12em; display: block; }

/* ==== IMAGE SLOTS ==== */
.slot-img[data-source="api"] { /* successful API load - no special styling needed */ }
img.slot-img.ap-logo { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--hairline-2); background: var(--bg-surface-3); object-fit: contain; }
img.slot-img.sb-helmet { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hairline-2); background: var(--bg-surface-3); object-fit: contain; }
img.slot-img.perf-avatar { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--hairline-2); margin-top: 2px; background: linear-gradient(135deg, var(--bg-surface-3), var(--black-card)); }
img.slot-img.hw-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--hairline-2); background: linear-gradient(135deg, var(--bg-surface-3), var(--black-card)); }

/* ==== F. EXPANDABLE CARD (Aceternity FLIP) ==== */
.exp-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.exp-overlay.is-open { opacity: 1; pointer-events: auto; }
.exp-stage {
  position: fixed;
  z-index: 999;
  pointer-events: none;
}
.exp-card {
  position: fixed;
  left: 50%;
  top: 50%;
  background: linear-gradient(180deg, #0D0D0D 0%, #050505 100%);
  border: 1px solid rgba(255, 0, 0, 0.7);
  border-radius: 12px;
  box-shadow: 0 0 32px rgba(255, 0, 0, 0.5), 0 16px 56px rgba(0,0,0,0.75);
  width: min(720px, 92vw);
  max-height: 80vh;
  overflow: auto;
  z-index: 999;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  will-change: transform, opacity;
  opacity: 0;
  pointer-events: none;
}
.exp-overlay.is-open ~ .exp-card,
body.exp-open .exp-card { opacity: 1; pointer-events: auto; }
.exp-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.5);
  border-radius: 8px;
  color: var(--white-bright);
  cursor: pointer;
  font-size: 18px; line-height: 1;
  transition: background .2s ease, transform .15s ease;
}
.exp-close:hover { background: rgba(255, 0, 0, 0.35); transform: scale(1.06); }
.exp-close:active { transform: scale(0.94); }
.exp-top { display: flex; gap: 22px; align-items: center; }
.exp-headshot {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 3px solid var(--red-primary);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  background: var(--black-soft);
  flex: 0 0 180px;
}
.exp-headline { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 auto; }
.exp-name {
  font-family: var(--f-display);
  font-size: 44px;
  letter-spacing: .04em;
  margin: 0;
  color: var(--white-bright);
  line-height: 1.05;
}
.exp-meta {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--gray-light);
  margin: 0;
  letter-spacing: .08em;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
}
.exp-pos {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255, 26, 26, 0.2);
  color: var(--red-bright);
  font-family: var(--f-display);
  letter-spacing: .12em;
  font-size: 13px;
}
.exp-school-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,0.04); border: 1px solid var(--hairline-2); padding: 2px; }
.exp-school { font-family: var(--f-display); font-size: 18px; color: var(--white-bright); letter-spacing: .06em; }
.exp-jersey { font-family: var(--f-mono); font-size: 13px; color: var(--gray-light); }
.exp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 8px 0 0;
}
.exp-stat {
  background: rgba(255, 26, 26, 0.06);
  border: 1px solid rgba(255, 26, 26, 0.3);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
}
.exp-stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.exp-stat-val {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--gold-accent);
  margin-top: 6px;
  letter-spacing: .04em;
  line-height: 1;
}
.exp-actions { display: flex; gap: 10px; margin-top: 8px; }
.exp-watchlist {
  flex: 1;
  padding: 14px;
  background: linear-gradient(180deg, #FF2A2A 0%, #C40000 100%);
  border: 1px solid #FF4D4D;
  border-radius: 8px;
  color: white;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;
}
.exp-watchlist:hover { filter: brightness(1.1); transform: scale(1.02); box-shadow: 0 6px 22px rgba(255, 0, 0, 0.6); }
.exp-watchlist:active { transform: scale(0.98); }

@media (max-width: 880px) {
  .exp-card { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; padding: 56px 16px 24px; }
  .exp-top { flex-direction: column; align-items: center; text-align: center; }
  .exp-headshot { width: 140px; height: 140px; flex: 0 0 140px; }
  .exp-name { font-size: 32px; text-align: center; }
  .exp-stat-val { font-size: 28px; }
}

/* Legacy player modal (kept for backwards compat — F replaces it for perf/hw cards) */
.player-modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.player-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.player-modal { background: linear-gradient(180deg, #0D0D0D 0%, #050505 100%); border: 1px solid rgba(255, 0, 0, 0.7); border-radius: 12px; box-shadow: 0 0 24px rgba(255, 0, 0, 0.45), 0 12px 48px rgba(0,0,0,0.7); width: 440px; max-width: 92vw; max-height: 90vh; padding: 24px; position: relative; transform: scale(0.94); transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1); overflow-y: auto; }
.player-modal-overlay.is-open .player-modal { transform: scale(1); }
.pm-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(255, 0, 0, 0.12); border: 1px solid rgba(255, 0, 0, 0.4); border-radius: 6px; color: var(--white-bright); cursor: pointer; font-size: 18px; line-height: 1; }
.pm-close:hover { background: rgba(255, 0, 0, 0.35); }

/* ==== ANIMATIONS ==== */
@media (prefers-reduced-motion: no-preference) {
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  @keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .4s cubic-bezier(0.2, 0.8, 0.4, 1), transform .4s cubic-bezier(0.2, 0.8, 0.4, 1); }
  .reveal.is-in { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 0; transition: opacity .3s ease; transform: none; }
  .reveal.is-in { opacity: 1; }
}

/* ==== MOBILE NAV (CSS-only checkbox toggle) ==== */
.mob-nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.mob-nav-burger { display: none; position: fixed; top: 12px; left: 12px; z-index: 60; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--black-soft); border: 1px solid var(--red-primary); border-radius: 8px; color: var(--white-bright); box-shadow: 0 0 12px rgba(255,0,0,0.3); cursor: pointer; }
.mob-nav-scrim { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 55; }

/* ==== RESPONSIVE BREAKPOINTS ==== */
@media (max-width: 1100px) {
  .row-news-rankings,
  .row-fantasy-heisman,
  .row-scoreboard-other { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  :root { --row-gap: 16px; --col-gap: 12px; --card-pad: 12px; }
  .app { grid-template-columns: 1fr; max-width: 100%; }
  .content { padding: 56px 12px 24px; }

  /* Sidebar -> off-canvas drawer (CSS-only toggle) */
  .sidebar { position: fixed; top: 0; left: 0; height: 100vh; width: 240px; z-index: 70; transform: translateX(-100%); transition: transform .25s ease; }
  #mob-nav-toggle:checked ~ .app .sidebar { transform: translateX(0); }
  #mob-nav-toggle:checked ~ .mob-nav-scrim { display: block; }
  .mob-nav-burger { display: inline-flex; }
  .mob-nav-burger svg { transition: transform .2s ease; }
  #mob-nav-toggle:checked ~ .mob-nav-burger svg { transform: rotate(90deg); }

  .hero { height: 200px; margin-top: 12px; }
  .hero-wordmark { width: 180px; }
  .scoreticker { height: 36px; }
  .ticker-track .tg { font-size: 11px; padding: 4px 8px; }
  .t-live { font-size: 10px; }
  img.ticker-logo { width: 20px; height: 20px; flex: 0 0 20px; }

  .row, .row-news-rankings, .row-fantasy-heisman, .row-scoreboard-other { grid-template-columns: 1fr; }
  .row { grid-auto-rows: auto; }

  .sn--c_myleague { grid-template-columns: 1fr; padding: 16px; }
  .ml-text .card-title { font-size: clamp(24px, 7vw, 32px); }
  .ml-helmet-wrap { width: 55%; right: -30px; }
  .ml-actions { flex-direction: column; }
  .btn { width: 100%; min-height: 44px; }

  .card-title { font-size: 22px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }

  .perf-row { grid-template-columns: repeat(2, 1fr); }
  .hw-row { grid-template-columns: 1fr; }
  .og-row { grid-template-columns: repeat(2, 1fr); }
  .og-tile { min-height: 160px; padding: 14px; }
  .other-game-art { max-height: 110px; }

  .news-row { grid-template-columns: 48px 1fr 50px; gap: 10px; }
  .news-thumb { width: 48px; height: 48px; }
}

@media (max-width: 600px) {
  .perf-row { grid-template-columns: repeat(2, 1fr); }
  .og-row { grid-template-columns: 1fr; }
  .og-tile { min-height: 140px; }
  .other-game-art { max-height: 100px; }
  .hero { height: 180px; }
  .card-title { font-size: 20px; }
}

/* Tap-target enforcement */
@media (hover: none) and (pointer: coarse) {
  .nav-item, .btn, .card-link, .news-row, .ap-row, .perf-card, .hw-card, .og-tile { min-height: 44px; }
}

/* Print fallback */
@media print { body { background: white; color: black; } .card { border-color: #000; } }

/* ==== SNS v2.5 polish (Q-V) ==== */

/* S. Shimmer on .btn-primary (applies to MANAGE LINEUP + VIEW LEAGUE) */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 3s infinite;
  pointer-events: none;
  z-index: 1;
}
.btn-primary > * { position: relative; z-index: 2; }
@keyframes shimmer { 0% { left: -100%; } 50%, 100% { left: 200%; } }

/* T. ensure ALL card eyebrows are gold (overrides any leftover) */
.card-eyebrow, .tg-eyebrow { color: var(--gold-accent); }

/* U. Top Fantasy + Heisman portraits - larger + transparent edges */
img.slot-img.perf-avatar,
.perf-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(240, 189, 48, 0.35);
  background: linear-gradient(135deg, var(--bg-surface-3), var(--black-card));
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: radial-gradient(ellipse at center, black 55%, transparent 95%);
  mask-image: radial-gradient(ellipse at center, black 55%, transparent 95%);
  filter: drop-shadow(0 4px 12px rgba(255, 26, 26, 0.25));
  margin: 4px auto 2px;
}

/* Heisman portraits - bump + match style. Reshape grid so face goes on top. */
.hw-card {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto;
  justify-items: center;
  text-align: center;
  row-gap: 4px;
  padding: 16px 12px;
  position: relative;
}
.hw-medal {
  grid-row: 1;
  grid-column: 1;
  position: absolute;
  top: 10px;
  left: 10px;
}
img.slot-img.hw-avatar,
.hw-avatar {
  grid-row: 2;
  grid-column: 1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(240, 189, 48, 0.35);
  background: linear-gradient(135deg, var(--bg-surface-3), var(--black-card));
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: radial-gradient(ellipse at center, black 55%, transparent 95%);
  mask-image: radial-gradient(ellipse at center, black 55%, transparent 95%);
  filter: drop-shadow(0 4px 12px rgba(255, 26, 26, 0.25));
  margin: 4px 0 2px;
}
.hw-name { grid-row: 3; grid-column: 1; }
.hw-school { grid-row: 4; grid-column: 1; }
.hw-score { grid-row: 5; grid-column: 1; }

/* V. Section headers in Bebas Neue */
.card-title,
h2.card-title {
  font-family: 'Bebas Neue', 'Anton', 'Oswald', 'Impact', sans-serif !important;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.0;
  color: var(--gold-accent);
}
/* MY LEAGUE big card title stays larger */
.ml-text .card-title,
.sn--c_myleague .card-title {
  font-family: 'Bebas Neue', 'Anton', 'Oswald', 'Impact', sans-serif !important;
  font-size: 44px;
  letter-spacing: 1.5px;
  line-height: 1.0;
  color: var(--white-bright);
}

/* Mobile: smaller faces */
@media (max-width: 880px) {
  img.slot-img.perf-avatar,
  .perf-avatar,
  img.slot-img.hw-avatar,
  .hw-avatar {
    width: 72px;
    height: 72px;
  }
  .card-title, h2.card-title { font-size: 22px; }
  .ml-text .card-title, .sn--c_myleague .card-title { font-size: 32px; }
}
@media (max-width: 600px) {
  .card-title, h2.card-title { font-size: 20px; }
}
/* end v2.5 polish */

/* ============================================================
   SNS v2.6 POLISH — card text scale, floating helmet, hero pop,
   white wordmark with red glow, wider sidebar
   ============================================================ */

/* === Issue 5: wider sidebar — full label visibility === */
.app { grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { padding: 28px 20px 0; overflow-x: visible; }
.nav-list { overflow-x: visible; }
.nav-item {
  font-size: 18px;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}
.nav-lbl {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  display: inline-block;
}
.nav-item .nav-new { flex: 0 0 auto; }
.nu-hi { white-space: nowrap; overflow: visible; }

/* Top-left SNS brand mark crispness (issue 4a — applies to shield img too) */
.nav-brand {
  filter: brightness(1.3) saturate(1.4) drop-shadow(0 0 8px rgba(255, 26, 26, 0.55));
}

/* === Issue 4a: SNS sidebar header (white + red glow, no blur) === */
.nav-brand,
.nav-brand img {
  /* explicitly NO blur filter on the element */
}
.nav-brand-text,
.sns-brand-text {
  font-family: 'Bebas Neue', sans-serif;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(255, 26, 26, 0.5), 0 2px 4px rgba(0, 0, 0, 0.8);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* === Issue 3: hero photo POP — bump saturation/contrast/brightness === */
.hero-stadium {
  filter: saturate(1.25) contrast(1.15) brightness(1.05);
}
/* Subtle radial vignette behind the wordmark only — keeps it legible */
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* === Issue 4b: hero wordmark TEXT (white + red glow, no blur) === */
.hero-wordmark-text {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  color: #FFFFFF;
  font-size: 72px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 0 20px rgba(255, 26, 26, 0.7),
    0 4px 12px rgba(0, 0, 0, 0.9);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  z-index: 3;
  white-space: nowrap;
  /* explicitly NO blur filter */
}

/* === Issue 2: floating + glowing helmet (MY LEAGUE hero card) === */
.ml-helmet-wrap {
  opacity: 1; /* show the helmet fully, not background-soft */
}
.ml-helmet {
  animation: float-helmet 4.5s ease-in-out infinite alternate;
  filter:
    drop-shadow(0 0 30px rgba(255, 26, 26, 0.55))
    drop-shadow(0 0 60px rgba(255, 26, 26, 0.3))
    drop-shadow(0 8px 22px rgba(0,0,0,.6));
  will-change: transform, filter;
}
@keyframes float-helmet {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .ml-helmet { animation: none; }
}

/* === Issue 1: bigger text inside cards (fill the container) === */

/* Scoreboard — team rows */
.sb-team-name {
  font-family: var(--f-body);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
}
.sb-team-score {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--gold-accent);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.sb-team-rec {
  font-size: 13px;
  line-height: 1.45;
}
.sb-status { font-size: 13px; }
.sb-team { padding: 14px 14px; row-gap: 4px; }
.sn--c_scoreboard .sb-body { min-height: 180px; gap: 14px; }

/* AP Top 25 — rank/team/record sizing */
.ap-row {
  padding: 14px 6px;
  font-size: 14px;
  line-height: 1.45;
}
.ap-rank {
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--gold-accent);
  line-height: 1;
}
.ap-team {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
  line-height: 1.45;
}
.ap-rec {
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.45;
}
.ap-mv { font-size: 12px; }

/* News stories — headline + meta */
.news-row {
  padding: 14px 6px;
  line-height: 1.45;
}
.news-title {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
}
.news-time {
  font-size: 13px;
  line-height: 1.45;
}
.news-cat {
  font-size: 11px;
}

/* Don't shrink the cards back — keep the v2.5 footprint */

/* === Mobile scaling for hero wordmark text === */
@media (max-width: 880px) {
  .hero-wordmark-text { font-size: 40px; }
  /* Sidebar collapses to drawer on mobile — width here is 240px (existing rule), labels fully visible */
  .sb-team-name { font-size: 17px; }
  .ap-team { font-size: 15px; }
  .news-title { font-size: 15px; }
}
@media (max-width: 600px) {
  .hero-wordmark-text { font-size: 32px; }
}
/* === end v2.6 polish === */

/* v2.6.1 - mobile wordmark size fit for ~390px viewport */
@media (max-width: 480px) {
  .hero-wordmark-text { font-size: 24px; letter-spacing: 0.04em; }
}
@media (max-width: 360px) {
  .hero-wordmark-text { font-size: 20px; letter-spacing: 0.03em; }
}

/* ============================================================
   SNS v2.7 — Brand asset restore + dense expandable cards + edge-to-edge mobile
   ============================================================ */

/* === BATCH 1: branded hero logo (PNG, not text) === */
.hero-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  max-width: min(260px, 28%);
  max-height: 90%;
  width: auto;
  height: auto;
  z-index: 2;
  object-fit: contain;
  /* No opacity/filter/blend dimming — branded asset shows as-shipped. */
}
@media (max-width: 1100px) {
  .hero-logo { max-width: min(240px, 30%); }
}
@media (max-width: 880px) {
  .hero-logo { max-width: 38vw; max-height: 85%; }
}
@media (max-width: 600px) {
  .hero-logo { max-width: 44vw; }
}
@media (max-width: 480px) {
  .hero-logo { max-width: 50vw; }
}
@media (max-width: 360px) {
  .hero-logo { max-width: 58vw; }
}
/* Hide the legacy text variant if any DOM still references it (defence in depth) */
.hero-wordmark-text { display: none !important; }

/* === BATCH 2A: dense / actionable expanded player card === */
.exp-card {
  /* Slightly larger to fit dense content on desktop */
  width: min(760px, 92vw);
  max-height: 86vh;
}
.exp-stats-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 8px 0 0;
}
.exp-stats-4 .exp-stat {
  background: rgba(255, 26, 26, 0.06);
  border: 1px solid rgba(255, 26, 26, 0.3);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}
.exp-stats-4 .exp-stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.exp-stats-4 .exp-stat-val {
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 400;
  color: var(--white-bright);
  margin-top: 6px;
  letter-spacing: .03em;
  line-height: 1;
}
.exp-stats-4 .exp-stat-val.is-gold { color: var(--gold-accent); }
.exp-stats-4 .exp-stat-val.is-small { font-size: 24px; }

.exp-form {
  font-family: var(--f-mono);
  color: var(--gray-light);
  font-size: 13px;
  letter-spacing: .04em;
  padding: 6px 4px 2px;
}
.exp-form .lbl { color: var(--text-faint); margin-right: 8px; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.exp-form .vals { color: var(--white-bright); }

.exp-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.exp-btn {
  min-height: 44px;
  padding: 10px 12px;
  background: rgba(255, 26, 26, 0.08);
  border: 1px solid rgba(255, 26, 26, 0.55);
  border-radius: 8px;
  color: var(--white-bright);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease, border-color .15s ease, color .15s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.exp-btn:hover { background: rgba(255, 26, 26, 0.35); transform: translateY(-1px); }
.exp-btn:active { transform: translateY(0); }
.exp-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.exp-btn.is-active {
  background: linear-gradient(180deg, #FF2A2A 0%, #C40000 100%);
  border-color: #FF4D4D;
  color: #fff;
}
.exp-btn-fav.is-active {
  background: rgba(212, 167, 42, 0.18);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.sns-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(10px);
  background: linear-gradient(180deg, #181818 0%, #0a0a0a 100%);
  border: 1px solid var(--red-primary);
  color: var(--white-bright);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(255, 0, 0, 0.35), 0 4px 14px rgba(0,0,0,0.6);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  letter-spacing: .02em;
}
.sns-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* === BATCH 2B: team expanded panel === */
.exp-top-team .exp-headshot {
  width: 96px; height: 96px; flex: 0 0 96px;
  background: var(--black-soft);
  border-radius: 14px;
  object-fit: contain;
  padding: 6px;
}
.exp-top-team .exp-name { font-size: 30px; }
.exp-top-team .exp-meta { font-size: 13px; }
.exp-conf { color: var(--gray-light); font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; }
.exp-team-logo-fallback {
  width: 96px; height: 96px; flex: 0 0 96px;
  background: linear-gradient(135deg, #2a0a0a 0%, #0a0a0a 100%);
  border: 2px solid var(--red-primary);
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--gold-accent);
  letter-spacing: .04em;
}

.exp-actions-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}

/* Tighter exp-card mobile (cover full viewport, no padding squeeze on small screens) */
@media (max-width: 880px) {
  .exp-card { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; padding: 56px 14px 24px; }
  .exp-stats-4 { grid-template-columns: repeat(2, 1fr); }
  .exp-actions-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-stats-4 .exp-stat-val { font-size: 28px; }
}

/* === BATCH 3: Mobile responsive overhaul — edge-to-edge === */
@media (max-width: 880px) {
  .app { grid-template-columns: 1fr; }
  .content { padding: 56px 12px 24px; }
  /* Every card/container/section: full width */
  .card, section.row, article.card { width: 100%; max-width: 100%; box-sizing: border-box; }
  .row, .row-news-rankings, .row-fantasy-heisman, .row-scoreboard-other, .row-league {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }
  /* MyLeague helmet — keep but scale down */
  .ml-helmet-wrap { width: 45%; right: -20px; opacity: .6; }
}
@media (max-width: 600px) {
  .content { padding: 56px 12px 18px; }
  /* Hide helmet at very small viewports (cleaner per brief) */
  .ml-helmet-wrap { display: none; }
  .perf-row { grid-template-columns: repeat(2, 1fr); }
  .hw-row { grid-template-columns: 1fr; }
  .og-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .content { padding: 56px 10px 16px; }
  .perf-row { grid-template-columns: 1fr; }
  .hw-card, .perf-card { width: 100%; }
}
@media (max-width: 360px) {
  .content { padding: 56px 8px 16px; }
  .card-title { font-size: 18px; }
}

/* ============================================================
   END v2.7
   ============================================================ */

/* ======================================================
   v2.9 — Primary + Secondary (MORE) sidebar pattern
   ====================================================== */

/* Lucide-inspired icons (added to the existing CSS-mask family) */
.nav-item .ic-tv          { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='6' width='20' height='13' rx='2'/><path d='M8 21h8'/><path d='M12 17v4'/><path d='M7 3l5 3 5-3'/></svg>"); }
.nav-item .ic-user-square { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='3'/><circle cx='12' cy='10' r='3'/><path d='M7 19c.5-2.5 2.5-4 5-4s4.5 1.5 5 4'/></svg>"); }
.nav-item .ic-list-ordered{ --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='10' y1='6' x2='21' y2='6'/><line x1='10' y1='12' x2='21' y2='12'/><line x1='10' y1='18' x2='21' y2='18'/><path d='M4 6h1v4'/><path d='M4 10h2'/><path d='M6 18H4c0-1 2-2 2-3s-1-1.5-2-1'/></svg>"); }
.nav-item .ic-newspaper   { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0V11h4'/><path d='M18 14h-8M15 18h-5M10 6h8v4h-8z'/></svg>"); }
.nav-item .ic-gamepad     { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='6' y1='11' x2='10' y2='11'/><line x1='8' y1='9' x2='8' y2='13'/><line x1='15' y1='12' x2='15.01' y2='12'/><line x1='18' y1='10' x2='18.01' y2='10'/><path d='M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258A4 4 0 0 0 17.32 5z'/></svg>"); }
.nav-item .ic-more        { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='1.5' fill='black'/><circle cx='5' cy='12' r='1.5' fill='black'/><circle cx='19' cy='12' r='1.5' fill='black'/></svg>"); }

/* Reuse existing ic-trophy mapping; nothing extra needed */

/* Chevron at the right edge of MORE — rotates when expanded */
.nav-chev {
  margin-left: auto;
  width: 14px; height: 14px; display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
  transition: transform .2s ease;
  flex: 0 0 14px;
}
.nav-more[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }

/* Divider before MORE */
.nav-divider {
  border: 0;
  height: 1px;
  background: var(--gray-border, #2A2A2A);
  margin: 6px 4px 2px;
  opacity: .85;
}

/* MORE button (it's a <button>, so reset native UA chrome to match nav-item) */
.nav-more {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

/* Sub-list under MORE — indented + left accent stripe */
.nav-more-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 0 2px 0;
  margin-left: 8px;
  border-left: 2px solid var(--red-primary);
}
.nav-more-list[hidden] { display: none; }
.nav-item.nav-sub {
  padding-left: 18px;
  font-size: 15px;
  white-space: nowrap;
  overflow: visible;
}

/* Hover on icon-buttons that wrap an SVG: keep gold accent on hover */
.nav-item:hover .nav-ic,
.nav-item:hover .nav-chev { color: var(--gold-accent); }
.nav-item.is-active .nav-ic,
.nav-item.is-active .nav-chev { color: var(--white-bright); }

/* Long labels (e.g. RUNNING THE GAUNTLET) must not introduce horizontal scroll */
.nav-list, .nav-more-list { overflow-x: visible; }
.nav-lbl { white-space: nowrap; }

/* Hover state for active MORE: keep the chevron visible */
.nav-more:hover { background: rgba(255, 26, 26, 0.10); color: var(--white-bright); }
.nav-more:focus-visible { outline: 2px solid var(--gold-accent); outline-offset: 2px; }

/* Mobile drawer — MORE expand behavior is identical */
@media (max-width: 880px) {
  .nav-more-list { gap: 18px; }
  .nav-item.nav-sub { font-size: 16px; padding-left: 20px; }
}

/* v2.9 fix: prevent horizontal scrollbar from long sub-item labels */
.nav-list { overflow-x: hidden; }
.nav-item.nav-sub { font-size: 13px; padding-left: 14px; padding-right: 6px; }
.nav-item.nav-sub .nav-lbl { font-size: 13px; letter-spacing: .6px; }
.nav-more-list { margin-left: 6px; }
.nav-item.nav-sub .nav-new { font-size: 8px; padding: 1px 4px; }

/* SNS v3.0 — drop-shadow on baked-plate IMG (silhouette + halo) */
.hero-logo { filter: drop-shadow(0 0 24px rgba(255, 26, 26, 0.4)); }
.nav-brand img, .sns-brand-img { filter: drop-shadow(0 0 12px rgba(255, 26, 26, 0.4)); }


/* ======================================================
   v2.10 — Dashboard chrome polish (2026-05-17)
   Items: #2 border-4-sides  #3 max-width  #1 collapse
          #6 MORE icons       #4 card overflow
   ====================================================== */

/* ── #2  Sidebar border: all 4 sides ─────────────────── */
.sidebar {
  border: 1px solid var(--red-primary);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.28), inset 0 0 6px rgba(255, 0, 0, 0.06);
  overflow: hidden;          /* needed for collapse animation  */
}

/* ── #3  Max-width centering: body holds the app centred */
body {
  display: flex;
  flex-direction: column;
  align-items: stretch;     /* full-width children by default */
}
.app {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ── #1  Sidebar collapse — CSS transitions ──────────── */
.app {
  transition: grid-template-columns 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.app.sidebar-collapsed {
  grid-template-columns: 0px minmax(0, 1fr) !important;
}

/* Sidebar fades+shrinks when collapsed */
.sidebar {
  min-width: 0;
  transition:
    min-width  0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity    0.20s ease,
    padding    0.25s ease,
    border     0.25s ease;
}
.app.sidebar-collapsed .sidebar {
  min-width: 0 !important;
  opacity: 0;
  padding: 0 !important;
  border-width: 0 !important;
  pointer-events: none;
}

/* Collapse toggle button (injected by chrome.js) */
.nav-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 30px;
  background: transparent;
  border: 1px solid var(--hairline, #2a2a2a);
  border-radius: 6px;
  color: var(--gray-mid, #666);
  cursor: pointer;
  font-family: var(--f-body, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 6px 0 8px;
  flex-shrink: 0;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.nav-collapse-btn:hover {
  color: var(--white-bright, #fff);
  border-color: var(--red-primary, #FF1A1A);
  background: rgba(255, 26, 26, 0.08);
}
/* Chevron icon inside button */
.nc-chev {
  width: 12px; height: 12px;
  flex-shrink: 0;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'/></svg>") center/contain no-repeat;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-collapse-btn.is-collapsed .nc-chev { transform: rotate(180deg); }
.nc-lbl { font-size: 9px; letter-spacing: .14em; }

/* Restore tab — thin red tab on left edge when sidebar is collapsed */
.sidebar-restore-btn {
  display: none;          /* shown via JS */
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 90;
  width: 18px;
  height: 52px;
  background: var(--red-primary, #FF1A1A);
  border: 1px solid var(--red-bright, #FF3B30);
  border-left: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, width .15s ease;
  padding: 0;
}
.sidebar-restore-btn:hover { background: var(--red-bright, #FF3B30); width: 22px; }
.sr-chev {
  width: 10px; height: 10px;
  display: inline-block;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") center/contain no-repeat;
}

/* Hide collapse button on mobile (mobile uses checkbox-hack burger) */
@media (max-width: 880px) {
  .nav-collapse-btn  { display: none !important; }
  .sidebar-restore-btn { display: none !important; }
}

/* ── #6  MORE sub-list new icon definitions ───────────── */
/* Pick'ems — crosshair */
.nav-item .ic-target {
  --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><circle cx='12' cy='12' r='6'/><circle cx='12' cy='12' r='2'/><line x1='2' y1='12' x2='22' y2='12'/><line x1='12' y1='2' x2='12' y2='22'/></svg>");
}
/* Duels — shield */
.nav-item .ic-shield {
  --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/></svg>");
}
/* Standings — bar chart */
.nav-item .ic-bar {
  --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='20' x2='12' y2='10'/><line x1='18' y1='20' x2='18' y2='4'/><line x1='6' y1='20' x2='6' y2='16'/></svg>");
}
/* Matchups — bolt */
.nav-item .ic-bolt {
  --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/></svg>");
}

/* ── #4  Long card-title overflow ────────────────────── */
.card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
/* Allow 2-line wrap in the hero card (ML) where there is plenty of room */
.card-hero .card-title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Scoreboard sb-team-name: ellipsis at narrow widths */
.sb-team-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 8ch;
}
