/* SNS 2.1 — dark navy/black + crimson + gold/silver */
:root {
  --bg-page: #0A0A10;
  --bg-surface: #13131A;
  --bg-surface-2: #1C1C24;
  --bg-surface-3: #25252F;
  --border-accent: #C11A26;
  --border-accent-2: #DC1F2E;
  --accent-gold: #D4A847;
  --accent-gold-2: #E8C063;
  --accent-silver: #CFD2D6;
  --accent-bronze: #C7884A;
  --text-primary: #F3F3F5;
  --text-muted: #9AA0AA;
  --text-faint: #5E626E;
  --hairline: rgba(255,255,255,0.06);
  --hairline-2: rgba(255,255,255,0.10);
  --crimson-glow: 0 0 0 1px var(--border-accent), 0 0 14px rgba(220,31,46,.25);
  --gold-glow: 0 0 0 1px var(--accent-gold), 0 0 12px rgba(212,168,71,.25);

  --vw-base: 1440;
  --vh-base: 900;

  --f-display: 'Bebas Neue', 'Inter', sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-page); color: var(--text-primary); font-family: var(--f-body); }
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(--border-accent); color: #fff; z-index: 100;
}
.skip:focus { top: 0; }

/* ==== STAGE — fixed 1440x900 absolute layout on desktop ==== */
.stage {
  position: relative;
  width: 100%;
  max-width: 1440px;
  aspect-ratio: 1440 / 900;
  margin: 0 auto;
  background: var(--bg-page);
  overflow: hidden;
}

.sn {
  position: absolute;
}

.hotspot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.hotspot:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }

/* ==== SIDEBAR ==== */
.sn--c_sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--hairline);
  padding: 0;
}
.nav-brand {
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  filter: drop-shadow(0 0 18px rgba(220,31,46,.18));
  padding: 6px;
}
.nav-brand img { width: 100%; height: 100%; object-fit: contain; }

.nav-list {
  position: absolute;
  left: 0; right: 0; top: 17%; bottom: 15%;
  display: flex; flex-direction: column;
  gap: 4px;
}
/* Override absolute-position inline styles on rail nav items so flex column has real flow */
.sn--c_sidebar .nav-item {
  position: relative !important;
  left: auto !important; top: auto !important;
  width: auto !important; height: auto !important;
  min-height: 36px;
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px;
  font-family: var(--f-body); font-weight: 600; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 8px;
  margin: 0 6px;
  background: transparent;
}
.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 6v6M10 6v0M20 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 .ic-dots    { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='5' cy='12' r='1.6' fill='black'/><circle cx='12' cy='12' r='1.6' fill='black'/><circle cx='19' cy='12' r='1.6' fill='black'/></svg>"); }
.nav-item .ic-dot     { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='3' fill='black'/></svg>"); }

.nav-item:hover, .nav-item:focus-visible {
  background: var(--bg-surface-2);
  color: var(--text-primary);
}
.nav-item[data-id="t_nav_dashboard"] {
  background: linear-gradient(90deg, rgba(193,26,38,.22), rgba(193,26,38,0));
  color: var(--text-primary);
  border-left: 2px solid var(--border-accent);
}

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

.nav-bottom {
  position: absolute;
  left: 6px; right: 6px; bottom: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.nav-user {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--bg-surface-2);
  border: 1px solid var(--hairline-2);
  border-radius: 10px;
  position: static; width: 100%;
}
.nu-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--border-accent), var(--accent-gold));
  flex: 0 0 28px;
  box-shadow: 0 0 0 2px var(--bg-surface);
}
.nu-meta { display:flex; flex-direction:column; align-items:flex-start; line-height:1; gap:3px; }
.nu-hi { font-size: 11px; color: var(--text-muted); }
.nu-pro {
  font-family: var(--f-display); font-size: 10px;
  background: var(--accent-gold); color: #1a1207;
  padding: 1px 5px; border-radius: 3px;
  letter-spacing: .14em;
}

.nav-icbtn {
  position: static;
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; flex: 1;
  background: var(--bg-surface-2);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--text-muted);
}
.nav-icbtn:hover { color: var(--text-primary); border-color: var(--border-accent); }
.nav-bottom .nav-icbtn {
  height: 36px;
}
.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 BANNER ==== */
.sn--c_hero {
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-stadium {
  position: absolute;
  left: -2%; top: 0; width: 104%; height: 100%;
  object-fit: cover; object-position: center 60%;
  filter: saturate(.85) brightness(.7) contrast(1.05);
  transform: translateY(0);
  will-change: transform;
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center 40%, transparent 25%, rgba(10,10,16,.6) 75%, rgba(10,10,16,.95) 100%),
    linear-gradient(180deg, rgba(10,10,16,.25) 0%, rgba(10,10,16,.55) 100%);
  pointer-events: none;
}
.hero-wordmark {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.7)) drop-shadow(0 0 24px rgba(220,31,46,.35));
}

/* ==== TICKER ==== */
.sn--c_scoreticker {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-surface-2) 100%);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--hairline-2);
  overflow: hidden;
  display: flex; align-items: center;
}
.ticker-track {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 0 12px;
  white-space: nowrap;
  overflow: hidden;
}
.t-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--border-accent-2);
  letter-spacing: .12em;
  padding: 4px 8px;
  background: rgba(220,31,46,.1);
  border: 1px solid rgba(220,31,46,.3);
  border-radius: 4px;
  flex: 0 0 auto;
}
.t-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border-accent-2);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:.4; } 50% { opacity: 1; box-shadow: 0 0 8px var(--border-accent-2); } }

.ticker-track .tg {
  position: relative; left: auto; top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  color: var(--text-primary);
  border-radius: 4px;
  white-space: nowrap;
  flex: 0 0 auto;
  width: auto !important; height: auto !important;
}
.tg-eyebrow {
  font-family: var(--f-display); letter-spacing: .14em;
  color: var(--accent-gold); font-size: 13px;
}
.tg-team .tg-sc { color: var(--accent-gold); margin-left: 4px; }
.tg-vs { color: var(--text-faint); }
.tg-meta { color: var(--text-muted); font-size: 11px; padding-left: 4px; }
.tg-meta.tg-live { color: var(--border-accent-2); }
.tg-final .tg-meta { color: var(--text-muted); }
.tg-all { color: var(--border-accent-2); }
.tg-all .t-arrow { margin-left: 4px; }
.tg:hover { background: var(--bg-surface-3); }

/* ==== CARD BASE ==== */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.5),
    0 4px 16px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent-2);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.5),
    0 6px 26px rgba(220,31,46,.20),
    0 8px 30px rgba(0,0,0,.55);
}

.card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px 8px;
  position: relative;
}
.card-eyebrow {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--accent-gold);
  letter-spacing: .14em;
  padding: 2px 6px;
  border: 1px solid var(--hairline-2);
  border-radius: 3px;
}
.card-title {
  font-family: var(--f-display); font-size: 18px; letter-spacing: .04em;
  margin: 0; color: var(--text-primary); font-weight: 400;
}
.card-link {
  margin-left: auto;
  font-family: var(--f-body); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--border-accent-2);
  padding: 4px 6px;
  position: static !important;
  width: auto !important; height: auto !important;
}
.card-link .arrow { transition: transform .2s; display: inline-block; }
.card-link:hover .arrow { transform: translateX(3px); }

/* ==== MY LEAGUE HERO CARD ==== */
.sn--c_myleague {
  background: linear-gradient(135deg, var(--bg-surface) 0%, #0f0f17 50%, var(--bg-surface) 100%);
  border: 1px solid var(--border-accent);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.5),
    inset 0 0 60px rgba(220,31,46,.07),
    0 4px 22px rgba(0,0,0,.5);
  padding: 18px 20px;
  overflow: hidden;
}
.ml-text {
  display: flex; flex-direction: column;
  position: relative; z-index: 2;
  max-width: 70%;
}
.ml-text .card-eyebrow { align-self: flex-start; margin-bottom: 8px; }
.ml-text .card-title {
  font-family: var(--f-display); font-size: 26px;
  letter-spacing: .04em; line-height: 1.05;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.ml-sub {
  font-size: 12px; color: var(--text-muted);
  margin: 0 0 14px;
}
.ml-sub .dot { color: var(--accent-gold); padding: 0 6px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0; padding: 0;
  list-style: none;
}
.stat-row li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--hairline-2);
  border-radius: 6px;
}
.st-lbl { font-family: var(--f-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .12em; }
.st-val { font-family: var(--f-mono); font-size: 16px; font-weight: 700; color: var(--accent-gold); }

.ml-helmet-wrap {
  position: absolute;
  right: -10px; top: 8px;
  width: 44%; height: 70%;
  z-index: 1;
}
.helmet-halo {
  position: absolute; inset: -20% -10%;
  background: radial-gradient(circle at 60% 50%, rgba(220,31,46,.42) 0%, transparent 55%);
  filter: blur(8px);
  pointer-events: none;
}
.ml-helmet {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.6));
}

.ml-actions {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  display: flex; gap: 10px;
  z-index: 3;
}
.btn {
  position: static !important; width: auto !important; height: auto !important;
  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 .15s, box-shadow .15s, background .15s;
}
.btn-primary {
  background: linear-gradient(180deg, var(--border-accent-2) 0%, var(--border-accent) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(220,31,46,.4), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220,31,46,.55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--hairline-2);
}
.btn-ghost:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

/* ==== AP TOP 25 ==== */
.ap-list {
  list-style: none; margin: 0;
  padding: 0 6px 8px;
}
.ap-row {
  position: static !important; width: auto !important; height: auto !important;
  display: grid;
  grid-template-columns: 24px 24px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  margin: 0;
  font-size: 11px;
}
.ap-row + .ap-row { border-top: 1px solid var(--hairline); }
.ap-row:hover { background: var(--bg-surface-2); }
.ap-rank { font-family: var(--f-mono); font-weight: 700; font-size: 13px; color: var(--accent-gold); }
.ap-logo {
  width: 20px; height: 20px;
  background: radial-gradient(circle, var(--bg-surface-3) 60%, transparent 70%);
  border: 1px solid var(--hairline-2);
  border-radius: 50%;
}
.ap-team {
  font-family: var(--f-body); font-weight: 600; font-size: 12px;
  letter-spacing: .04em; color: var(--text-primary);
}
.ap-rec { font-family: var(--f-mono); font-size: 11px; color: var(--text-muted); }
.ap-mv { font-family: var(--f-mono); font-size: 10px; font-weight: 700; min-width: 22px; text-align: right; }
.ap-mv.mv-up { color: #5ad07a; }
.ap-mv.mv-dn { color: var(--border-accent-2); }

/* ==== NEWS ==== */
.news-list { list-style: none; margin: 0; padding: 0 6px 8px; }
.news-row {
  position: static !important; width: auto !important; height: auto !important;
  display: grid; grid-template-columns: 48px 1fr 44px;
  gap: 8px; align-items: center;
  padding: 9px 10px;
  border-radius: 6px;
}
.news-row + .news-row { border-top: 1px solid var(--hairline); }
.news-row:hover { background: var(--bg-surface-2); }
.news-cat {
  font-family: var(--f-mono); font-size: 9px; font-weight: 700;
  padding: 2px 5px; border-radius: 3px;
  letter-spacing: .1em; text-align: center;
}
.news-cat.pill-cb       { background: rgba(212,168,71,.12); color: var(--accent-gold); border: 1px solid rgba(212,168,71,.35); }
.news-cat.pill-general  { background: var(--bg-surface-3); color: var(--text-muted); border: 1px solid var(--hairline-2); }
.news-cat.pill-hq       { background: rgba(193,26,38,.18); color: var(--border-accent-2); border: 1px solid rgba(193,26,38,.35); }
.news-title {
  font-size: 12px; color: var(--text-primary); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-time { font-family: var(--f-mono); font-size: 10px; color: var(--text-muted); text-align: right; }

/* ==== WEEK 16 SCOREBOARD ==== */
.sb-match {
  position: absolute;
  left: 12px; right: 12px; top: 44px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 10px;
  padding: 6px 0;
}
.sb-team {
  position: static !important; width: auto !important; height: auto !important;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 8px; row-gap: 2px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
}
.sb-team:hover { background: var(--bg-surface-2); }
.sb-helmet {
  grid-row: 1 / 3;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg-surface-3), var(--bg-surface));
  border: 1px solid var(--hairline-2);
}
.sb-helmet-army { box-shadow: inset 0 0 0 2px #d8b76b; }
.sb-helmet-navy { box-shadow: inset 0 0 0 2px #4d6c9a; }
.sb-team-name {
  font-family: var(--f-display); font-size: 18px; letter-spacing: .06em; color: var(--text-primary);
}
.sb-team-rec { font-family: var(--f-mono); font-size: 10px; color: var(--text-muted); grid-column: 2; }
.sb-team-score {
  font-family: var(--f-display); font-size: 30px;
  color: var(--accent-gold);
  grid-row: 1 / 3; grid-column: 3;
}
.sb-vs {
  font-family: var(--f-mono); font-size: 11px; color: var(--text-faint);
  letter-spacing: .2em;
}

.sb-pagination {
  position: absolute;
  left: 12px; right: 12px; bottom: 10px;
  display: flex; align-items: center; gap: 6px;
  height: auto !important;
}
.sb-pagination .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hairline-2);
}
.sb-pagination .dot.active { background: var(--border-accent); width: 18px; border-radius: 3px; }
.sb-status {
  margin-left: auto;
  font-family: var(--f-mono); font-size: 10px;
  color: var(--text-muted); letter-spacing: .12em;
}

/* ==== OTHER GAMES ==== */
.og-row {
  position: absolute;
  left: 12px; right: 12px; top: 48px; bottom: 14px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.og-tile {
  position: static !important;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-surface-2);
  border: 1px solid var(--hairline-2);
  border-radius: 8px;
  padding: 12px;
  height: auto !important; width: auto !important;
}
.og-tile:hover {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, var(--bg-surface-2), rgba(193,26,38,.06));
}
.og-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-surface-3);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 36px;
  box-shadow: inset 0 0 0 1px var(--hairline-2);
}
.og-icon::before {
  content: ''; width: 22px; height: 22px;
  background: var(--accent-gold);
  -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat;
}
.og-tiger::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 3l3 3 4-1-1 4 3 3-3 3 1 4-4-1-3 3-3-3-4 1 1-4-3-3 3-3-1-4 4 1z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 3l3 3 4-1-1 4 3 3-3 3 1 4-4-1-3 3-3-3-4 1 1-4-3-3 3-3-1-4 4 1z'/></svg>"); }
.og-clipboard::before { -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'><rect x='5' y='4' width='14' height='17' rx='2'/><path d='M9 3h6v3H9z'/><path d='M8 10h8M8 14h6'/></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'><rect x='5' y='4' width='14' height='17' rx='2'/><path d='M9 3h6v3H9z'/><path d='M8 10h8M8 14h6'/></svg>"); }
.og-swords::before { -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='M3 21l8-8M21 3l-8 8M3 3l8 8M21 21l-8-8'/></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='M3 21l8-8M21 3l-8 8M3 3l8 8M21 21l-8-8'/></svg>"); }

.og-meta { display: flex; flex-direction: column; gap: 2px; }
.og-name { font-family: var(--f-display); font-size: 14px; letter-spacing: .06em; color: var(--text-primary); }
.og-sub  { font-size: 10px; color: var(--text-muted); }

.og-new {
  position: static !important; width: auto !important; height: auto !important;
  margin-left: auto;
  background: var(--border-accent); color: #fff;
  font-family: var(--f-display); font-size: 10px;
  padding: 2px 7px; border-radius: 3px;
  letter-spacing: .14em;
}

/* ==== TOP PERFORMERS ==== */
.perf-row {
  position: absolute;
  left: 12px; right: 12px; top: 48px; bottom: 12px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.perf-card {
  position: static !important; width: auto !important; height: auto !important;
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  justify-items: center;
  gap: 3px;
  padding: 10px 6px;
  background: var(--bg-surface-2);
  border: 1px solid var(--hairline-2);
  border-radius: 8px;
  text-align: center;
}
.perf-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220,31,46,.18);
}
.perf-pos {
  font-family: var(--f-display); font-size: 10px;
  padding: 2px 6px; border-radius: 3px;
  background: var(--bg-surface-3); color: var(--accent-gold);
  letter-spacing: .12em;
}
.pos-qb { background: rgba(193,26,38,.18); color: var(--border-accent-2); }
.pos-rb { background: rgba(212,168,71,.15); color: var(--accent-gold); }
.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: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-surface-3), var(--bg-surface));
  border: 2px solid var(--hairline-2);
  margin-top: 2px;
}
.perf-name { font-size: 11px; font-weight: 600; color: var(--text-primary); letter-spacing: .02em; }
.perf-school { font-family: var(--f-mono); font-size: 9px; color: var(--text-muted); letter-spacing: .08em; }
.perf-ppg { font-family: var(--f-mono); font-size: 14px; font-weight: 700; color: var(--accent-gold); margin-top: 2px; }
.perf-ppg .perf-unit { font-size: 9px; color: var(--text-muted); }
.perf-total { font-family: var(--f-mono); font-size: 10px; color: var(--text-muted); }

/* ==== HEISMAN ==== */
.hw-row {
  position: absolute;
  left: 14px; right: 14px; top: 48px; bottom: 14px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hw-card {
  position: static !important; width: auto !important; height: auto !important;
  display: grid;
  grid-template-columns: auto 56px 1fr;
  grid-template-rows: auto auto auto;
  align-items: center;
  column-gap: 12px; row-gap: 2px;
  padding: 14px;
  background: linear-gradient(135deg, var(--bg-surface-2) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--hairline-2);
  border-radius: 10px;
  position: relative;
}
.hw-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 6px 24px rgba(220,31,46,.16);
  transform: translateY(-2px);
}
.hw-medal {
  grid-row: 1 / 4; grid-column: 1;
  width: 38px; height: 38px; 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(--bg-surface);
}
.hw-gold   { background: linear-gradient(180deg, #f5d57e, var(--accent-gold)); }
.hw-silver { background: linear-gradient(180deg, #e8eaee, var(--accent-silver)); }
.hw-bronze { background: linear-gradient(180deg, #d49b6a, var(--accent-bronze)); color: #1c0e06; }

.hw-avatar {
  grid-row: 1 / 4; grid-column: 2;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--bg-surface-3), var(--bg-surface));
  border: 2px solid var(--hairline-2);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 13px; color: var(--accent-gold);
  letter-spacing: .08em;
}

.hw-name {
  grid-row: 1; grid-column: 3;
  font-family: var(--f-body); font-weight: 700; font-size: 13px; color: var(--text-primary);
  letter-spacing: .02em;
}
.hw-school {
  grid-row: 2; grid-column: 3;
  font-family: var(--f-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .08em;
}
.hw-score {
  grid-row: 3; grid-column: 3;
  font-family: var(--f-mono); font-size: 14px; font-weight: 700; color: var(--accent-gold);
}
.hw-score .hw-unit {
  font-family: var(--f-mono); font-size: 9px; color: var(--text-muted); letter-spacing: .12em;
  display: block;
}

/* ==== ANIMATIONS ==== */
@media (prefers-reduced-motion: no-preference) {
  @keyframes floaty {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
  .hero-wordmark { animation: floaty 6s ease-in-out infinite; }
  .ml-helmet     { animation: floaty 7s ease-in-out infinite; animation-delay: -2s; }

  @keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  /* (Marquee enabled via JS duplication; CSS fallback keeps it static if JS off) */

  .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==== MOBILE — single column, no absolute layout ==== */
@media (max-width: 880px) {
  .stage {
    width: 100%; max-width: 100%;
    aspect-ratio: auto;
    height: auto; min-height: 100vh;
    display: flex; flex-direction: column;
    overflow: visible;
    padding: 0;
  }
  .sn {
    position: static !important;
    left: auto !important; top: auto !important;
    width: 100% !important; height: auto !important;
    margin: 0 !important;
  }
  .sn--c_sidebar {
    order: 0;
    display: grid; grid-template-columns: auto 1fr auto auto;
    align-items: center;
    padding: 10px 12px;
    gap: 10px;
    height: 56px !important;
    border-bottom: 1px solid var(--border-accent);
    border-right: 0;
    position: sticky; top: 0; z-index: 50;
    background: var(--bg-page);
  }
  .nav-brand { position: static !important; width: 40px !important; height: 40px !important; }
  .nav-list {
    position: fixed;
    left: 0; right: 0; top: 56px; bottom: 0;
    background: var(--bg-page);
    padding: 16px;
    display: none;
    z-index: 49;
  }
  .nav-list.is-open { display: flex; }
  .nav-item {
    padding: 14px 12px;
    font-size: 14px;
    min-height: 44px;
  }
  .nav-bottom { position: static !important; flex-direction: row; padding: 0; }
  .nav-icbtn { min-height: 40px; }
  .nav-user  { min-height: 44px; }

  .mob-menu-btn {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: var(--bg-surface-2);
    border: 1px solid var(--hairline-2);
    border-radius: 8px;
    color: var(--text-primary);
  }

  .sn--c_hero {
    order: 1;
    height: 180px !important;
  }
  .hero-wordmark {
    position: relative !important; left: auto !important; top: auto !important;
    width: 220px !important; height: auto !important;
    max-height: 80% !important;
    margin: 18px auto;
  }
  .sn--c_scoreticker { order: 2; height: 48px !important; }
  .sn--c_myleague    { order: 3; min-height: 320px; padding: 16px; }
  .ml-text { max-width: 100%; }
  .ml-text .card-title { font-size: clamp(20px, 6vw, 28px); }
  .ml-helmet-wrap { right: -20px; top: 60px; width: 50%; height: 160px; }
  .ml-actions { position: static !important; flex-direction: column; margin-top: 18px; }
  .btn { width: 100%; min-height: 44px; }

  .sn--c_aptop25     { order: 4; min-height: 320px; }
  .sn--c_news        { order: 5; min-height: 280px; }
  .sn--c_scoreboard  { order: 6; min-height: 200px; }
  .sn--c_other       { order: 7; min-height: 200px; }
  .og-row { grid-template-columns: 1fr; gap: 8px; bottom: auto; height: auto; }
  .og-tile { min-height: 60px; }
  .sn--c_fantasy     { order: 8; min-height: 260px; }
  .perf-row { grid-template-columns: repeat(2,1fr); height: auto; bottom: auto; }
  .sn--c_heisman     { order: 9; min-height: 360px; }
  .hw-row { grid-template-columns: 1fr; height: auto; bottom: auto; }

  .card { margin: 8px 12px; }
  .stat-row { grid-template-columns: repeat(2,1fr); }
}

/* Tap-target enforcement */
@media (hover: none) and (pointer: coarse) {
  .hotspot { min-height: 44px; min-width: 44px; }
}

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

/* ==== STOCK-FALLBACK IMAGE SLOTS (Phase 5) ==== */
/* All <img class="slot-img"> images use object-fit cover for square/circle crops.
   They mirror dimensions of their previous span placeholders. */
.slot-img[data-placeholder="true"] {
  object-fit: cover;
  object-position: center top;
  display: inline-block;
}
img.slot-img.ap-logo {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--hairline-2);
  background: var(--bg-surface-3);
}
img.slot-img.sb-helmet {
  grid-row: 1 / 3;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--hairline-2);
  background: var(--bg-surface-3);
}
img.slot-img.sb-helmet.sb-helmet-army { box-shadow: inset 0 0 0 2px #d8b76b; }
img.slot-img.sb-helmet.sb-helmet-navy { box-shadow: inset 0 0 0 2px #4d6c9a; }
img.slot-img.perf-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--hairline-2);
  margin-top: 2px;
  background: linear-gradient(135deg, var(--bg-surface-3), var(--bg-surface));
}
img
/* ======================================================
   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;
}
