/* NFL shield palette — navy / red / silver / white. Overrides SportHub pitch green. */
:root {
  --color-primary: #013369;
  --color-primary-strong: #002244;
  --color-primary-soft: #e8eef6;
  --color-on-primary: #ffffff;
  --color-glow: #d50a0a;
  --color-accent: #d50a0a;
  --color-bg: #f4f5f7;
  --color-subtle: #eef1f5;
  --color-overlay: rgb(1 19 41 / 0.5);
  --color-ticker-bar: #013369;
  --color-heading: #0a1220;
  --color-text: #2c3440;
  --color-muted: #5c6570;
  --color-faint: #6b7380;
  --color-border: #e4e7ec;
  --color-border-strong: #cfd5de;
}

.dark {
  --color-primary: #ffffff;
  --color-primary-strong: #ffffff;
  --color-primary-soft: rgb(255 255 255 / 0.1);
  --color-on-primary: #0b1220;
  --color-glow: #d50a0a;
  --color-accent: #d50a0a;
  --color-ticker-bar: #011226;
  --color-bg: #07090c;
  --color-surface: #10141a;
  --color-elevated: #161b22;
  --color-subtle: #1a2028;
  --color-heading: #ffffff;
  --color-text: #ffffff;
  --color-muted: #d5dbe3;
  --color-faint: #b7c0ca;
  --color-ink: #ffffff;
}

.dark body,
.dark .text-text,
.dark .text-heading,
.dark .text-primary,
.dark .nav-item,
.dark .nav-item.is-active,
.dark .nav-item.is-active i {
  color: #ffffff;
}

.dark .text-muted,
.dark .nav-section {
  color: #d5dbe3;
}

.dark .hero,
.dark .hero-bg {
  background: #011226;
}

.se-auth-field {
  background:
    repeating-linear-gradient(
      90deg,
      rgb(213 10 10 / 0.12) 0,
      rgb(213 10 10 / 0.12) 2px,
      transparent 2px,
      transparent 11.11%
    ),
    radial-gradient(ellipse at 50% 20%, rgb(213 10 10 / 0.18), transparent 55%),
    linear-gradient(180deg, #013369, #011226) !important;
}

.se-auth-field-mark i {
  color: #ffffff !important;
}

.front-wrap { max-width: 1240px; }
.front-layout {
  display: grid;
  gap: 16px;
}
@media (min-width: 1100px) {
  .front-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
}
.front-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.rail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-heading);
  font-size: 13px;
  font-weight: 650;
}
.rail-row img { width: 22px; height: 22px; object-fit: contain; }
.rail-rank { width: 1.4rem; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.team-desk { width: 100%; }
.team-desk .ap-chip {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
}
.team-desk input {
  height: 48px;
  font-size: 16px;
}
.helmet-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.helmet-block { margin-bottom: 28px; }
.helmet-div {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0 0 12px;
}
.helmet-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 196px;
  padding: 22px 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
  text-align: center;
  color: var(--color-heading);
}
.helmet-card:hover { border-color: var(--color-border-strong); background: var(--color-subtle); }
.helmet-card img { width: 104px; height: 104px; object-fit: contain; }
.helmet-fallback {
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--color-heading);
}
.helmet-abbr { font-size: 20px; font-weight: 800; }
.helmet-name { font-size: 15px; color: var(--color-muted); line-height: 1.2; }
.helmet-rec { font-size: 16px; font-weight: 800; color: var(--color-heading); }
.acc-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--color-border);
  color: var(--color-heading);
}
.acc-mark {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.acc-mark.is-hit { color: #0a7a32; }
.acc-mark.is-miss { color: #b00808; }
.dark .acc-mark.is-hit { color: #8dffb0; }
.dark .acc-mark.is-miss { color: #ffb4b4; }

:root {
  --ticker-h: 78px;
}

.ticker-bar {
  height: var(--ticker-h);
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}

.ticker-sport {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
}

.ticker-sport button {
  width: 64px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--color-ticker-border);
  background: var(--color-ticker-item);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ticker-sport button.is-on {
  background: #fff;
  color: #013369;
}

.ticker-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 112px;
  height: 64px;
  margin: 0 3px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--color-ticker-border);
  background: var(--color-ticker-item);
  color: #fff;
}

.ticker-cell:hover { background: var(--color-ticker-item-hover); }
.ticker-cell.is-live { border-color: rgb(255 255 255 / 0.45); }

.ticker-when {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.78);
  white-space: nowrap;
  line-height: 1.2;
}

.ticker-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 4px;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
}

.ticker-row img { width: 16px; height: 16px; object-fit: contain; }
.ticker-team { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker-pts { font-variant-numeric: tabular-nums; min-width: 1.1rem; text-align: right; }

.news-desk { scroll-margin-top: 96px; }

.pick-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid var(--color-border);
}

.pick-analyst,
.pick-hed {
  color: var(--color-heading);
  font-weight: 800;
}

.pick-analyst { font-size: 13px; }
.pick-hed { font-size: 14px; font-weight: 650; }

@media (max-width: 640px) {
  .pick-row { grid-template-columns: 1fr; gap: 2px; }
}

.fox-page { max-width: 1440px; }
.fox-sport h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}
.fox-event { margin-top: 2px; font-size: 14px; font-weight: 650; color: var(--color-muted); }
.fox-day {
  margin: 18px 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}
.fox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}
.fox-card {
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 16px 18px 14px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  color: var(--color-heading);
}
.fox-card:hover { border-color: var(--color-border-strong); background: var(--color-subtle); }
.fox-when {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}
.fox-when.is-live { color: var(--color-accent); }
.fox-side {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
}
.fox-side img,
.fox-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.fox-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-subtle);
  font-size: 14px;
  font-weight: 800;
}
.fox-club { min-width: 0; display: flex; flex-direction: column; }
.fox-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}
.fox-rec { font-size: 13px; font-weight: 650; color: var(--color-muted); }
.fox-score {
  font-size: 34px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.fox-side.is-loss .fox-name,
.fox-side.is-loss .fox-score { color: var(--color-muted); }
.fox-line {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
}
@media (max-width: 700px) {
  .fox-grid { grid-template-columns: 1fr; }
  .fox-name { font-size: 18px; }
  .fox-score { font-size: 28px; }
}
.dark .helmet-card,
.dark .rail-row { color: #ffffff; }
