:root {
  --bg: #050a14;
  --bg-2: #0a1220;
  --panel: #0d1828;
  --panel-2: #122238;
  --panel-glow: rgba(56, 189, 248, 0.12);
  --text: #e8f1fb;
  --muted: #8aa0b8;
  --ice: #7dd3fc;
  --ice-2: #38bdf8;
  --frost: #e0f2fe;
  --navy: #0c4a6e;
  --gold: #f5c542;
  --gold-dim: rgba(245, 197, 66, 0.18);
  --red: #e11d48;
  --red-soft: rgba(225, 29, 72, 0.15);
  --ok: #34d399;
  --line: rgba(125, 211, 252, 0.12);
  --line-strong: rgba(125, 211, 252, 0.28);
  --radius: 14px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 900px 420px at 50% -8%, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(ellipse 600px 380px at 100% 10%, rgba(245, 197, 66, 0.07), transparent 55%),
    radial-gradient(ellipse 500px 300px at 0% 40%, rgba(225, 29, 72, 0.06), transparent 50%),
    linear-gradient(180deg, #050a14 0%, #07101c 40%, #050a14 100%);
  background-attachment: fixed;
}

/* subtle frost grain */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--ice); text-decoration: none; }
a:hover { color: var(--frost); text-decoration: underline; }

.wrap {
  width: min(980px, calc(100% - 1.5rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* —— Header / scoreboard bar —— */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(5, 10, 20, 0.88);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 1px 0 rgba(245, 197, 66, 0.12), 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--text); }

.mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background:
    linear-gradient(160deg, #0ea5e9 0%, #0369a1 55%, #0c4a6e 100%);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 18px rgba(56, 189, 248, 0.35);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, var(--frost), var(--ice));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.brand-live {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fecdd3;
  background: rgba(225, 29, 72, 0.28);
  border: 1px solid rgba(244, 63, 94, 0.7);
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  font-family: var(--mono);
  animation: nav-live-glow 1.6s ease-in-out infinite;
}
.brand-live[hidden] { display: none !important; }
.brand-live .live-dot {
  width: 0.42rem;
  height: 0.42rem;
  background: #f43f5e;
}
@media (prefers-reduced-motion: reduce) {
  .brand-live { animation: none; }
}

.links {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.links a {
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.links a:hover,
.links a.active {
  color: var(--text);
  text-decoration: none;
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--line);
}

/* —— Hero / gameday board —— */
.hero {
  padding: 1.8rem 0 1rem;
  position: relative;
}

.scoreboard {
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.08), transparent 40%),
    linear-gradient(180deg, #0e1a2c, #0a1422);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 1.15rem 1.2rem 1.25rem;
  overflow: hidden;
  position: relative;
}

.scoreboard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--ice-2), var(--gold), var(--red));
  opacity: 0.85;
}

.scoreboard::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.18), transparent 70%);
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--red-soft);
  color: #fda4af;
  border: 1px solid rgba(225, 29, 72, 0.35);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes live-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.72), 0 0 8px rgba(248, 113, 113, 0.9);
  }
  50% {
    opacity: 0.72;
    transform: scale(0.82);
    box-shadow: 0 0 0 5px rgba(248, 113, 113, 0), 0 0 15px rgba(248, 113, 113, 0.95);
  }
}

.live-dot {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f43f5e;
  animation: live-pulse 1.35s ease-in-out infinite;
}

.badge.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #fecdd3;
  background: rgba(225, 29, 72, 0.18);
  border-color: rgba(244, 63, 94, 0.58);
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.2);
}

.pill.pill-live {
  color: #bbf7d0;
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.62);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.24);
}
.pill.pill-live .live-dot {
  background: var(--ok);
  animation-name: live-pulse-green;
}

@keyframes live-pulse-green {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.72), 0 0 8px rgba(52, 211, 153, 0.9);
  }
  50% {
    opacity: 0.72;
    transform: scale(0.82);
    box-shadow: 0 0 0 5px rgba(52, 211, 153, 0), 0 0 15px rgba(52, 211, 153, 0.95);
  }
}

.links a.nav-live {
  color: #fecdd3;
  background: rgba(225, 29, 72, 0.22);
  border-color: rgba(244, 63, 94, 0.65);
  box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.45), 0 0 18px rgba(244, 63, 94, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  animation: nav-live-glow 1.6s ease-in-out infinite;
}
.links a.nav-live .live-dot {
  width: 0.45rem;
  height: 0.45rem;
  background: #f43f5e;
  animation-name: live-pulse;
}
@keyframes nav-live-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.5), 0 0 14px rgba(244, 63, 94, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(244, 63, 94, 0), 0 0 22px rgba(244, 63, 94, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .links a.nav-live { animation: none; }
}

.hero h1 {
  margin: 0.75rem 0 0.45rem;
  font-size: clamp(1.7rem, 5.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 800;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
  font-size: 1rem;
}

.meta {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ice);
  font-size: 0.82rem;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.meta::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

/* —— Socials / buttons —— */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.1rem 0 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
  border-color: var(--ice);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.15);
}
.btn.primary {
  background: linear-gradient(135deg, #0284c7, #0ea5e9 50%, #38bdf8);
  border: 0;
  color: #041018;
  text-shadow: none;
}
.btn.gold {
  background: linear-gradient(135deg, #ca8a04, var(--gold));
  border: 0;
  color: #1a1200;
}

/* —— Pick cards / board —— */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.2rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.grid {
  display: grid;
  gap: 1rem;
  padding-bottom: 2.2rem;
}

.card {
  background:
    linear-gradient(165deg, rgba(56, 189, 248, 0.06), transparent 35%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 0.85rem;
  box-shadow: var(--shadow);
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--ice-2), var(--gold));
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding-left: 0.35rem;
}
.card-head h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(245, 197, 66, 0.35);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  font-family: var(--mono);
}

.game {
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem 0.35rem;
  border-top: 1px solid var(--line);
}
.game:first-of-type {
  border-top: 0;
  padding-top: 0.35rem;
}

.matchup {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.pick-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.7rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  font-family: var(--mono);
}
.tag-pick {
  color: #041018;
  background: linear-gradient(135deg, #22c55e, #34d399);
}
.tag-lean {
  color: var(--ice);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--line-strong);
}

.pick {
  color: var(--ok);
  font-weight: 800;
  font-size: 1.05rem;
}
.lean {
  color: var(--muted);
  font-size: 0.92rem;
}
.lean-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.55rem;
  margin-top: 0.1rem;
}

/* —— About / archive extras —— */
.prose h2 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1.05rem;
  color: var(--ice);
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 0.6rem; color: var(--muted); }

/* —— Footer —— */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.disclaimer { max-width: 42rem; margin: 0; }
.footer-brand {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.footer-brand strong { color: var(--ice); font-weight: 700; }

@media (max-width: 560px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .links { width: 100%; }
  .hero { padding-top: 1.25rem; }
  .scoreboard { padding: 1rem; }
}

/* —— Player locker —— */
.card-players::before {
  background: linear-gradient(180deg, var(--gold), var(--red));
}
.player {
  padding: 0.85rem 0.35rem;
  border-top: 1px solid var(--line);
}
.player:first-of-type { border-top: 0; padding-top: 0.15rem; }
.player-top {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.player-id { min-width: 0; }
.player-name {
  display: block;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.player-meta {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.1rem;
}
.player-pos {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice);
}
.player-note {
  margin: 0.45rem 0 0 0.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  padding-left: 0.15rem;
}
.tag-action {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  font-family: var(--mono);
}
.action-smash .tag-action {
  color: #1a0800;
  background: linear-gradient(135deg, #f59e0b, var(--gold));
  border: 0;
}
.action-start .tag-action {
  color: #041810;
  background: linear-gradient(135deg, #059669, var(--ok));
  border: 0;
}
.action-watch .tag-action {
  color: var(--frost);
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid var(--line-strong);
}

/* —— Photo thumbs / linked rows —— */
.game, .player { position: relative; }
.game-link, .player-link, .detail-link {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s;
}
.game-link:hover, .player-link:hover, .detail-link:hover {
  text-decoration: none;
  color: inherit;
  background: rgba(56, 189, 248, 0.06);
}
.game-link .row-body, .player-link .row-body { min-width: 0; flex: 1; }
.row-media { flex-shrink: 0; }
.thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(8,16,32,0.8);
  border: 1px solid rgba(125,211,252,0.2);
  flex-shrink: 0;
}
.thumb-ph {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(56,189,248,0.2), rgba(245,197,66,0.15));
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.thumb-ph.big {
  width: 100%;
  height: 220px;
  border-radius: 12px;
}
.player-link .thumb,
.player .thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
}
.kickoff-note {
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--mono);
  margin-top: 0.15rem;
}
.card-more {
  display: inline-flex;
  margin: 0.55rem 0.35rem 0.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ice);
}
.locker-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}
.card-games .game-link,
.card-players .player-link {
  padding: 0.85rem 0.35rem;
  border-top: 1px solid var(--line);
}
.card-games .game-link:first-of-type,
.card-players .player-link:first-of-type {
  border-top: 0;
  padding-top: 0.35rem;
}

/* —— Detail pages —— */
.detail-hero h1 { font-size: clamp(1.45rem, 4.5vw, 2.1rem); }
.detail-card { overflow: hidden; }
.detail-media {
  margin: -0.15rem -0.35rem 0.85rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.detail-media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
}
.detail-media.portrait img {
  height: 280px;
  object-position: top center;
}
.detail-media.small img { height: 120px; }
.detail-media.small { margin-bottom: 0.55rem; }
.blurb {
  margin: 0.75rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 0.15rem;
}
.detail-list .detail-link {
  padding: 0.85rem 0.35rem;
  border-top: 1px solid var(--line);
}
.detail-list .detail-link:first-child { border-top: 0; }
.detail-body { min-width: 0; flex: 1; }
.game-card {
  display: block;
  margin-bottom: 1rem;
  color: inherit;
  text-decoration: none;
}
.game-card:hover { color: inherit; text-decoration: none; }

@media (max-width: 560px) {
  .links { gap: 0.2rem; }
  .links a { padding: 0.3rem 0.55rem; font-size: 0.8rem; }
  .thumb, .player-link .thumb, .player .thumb { width: 68px; height: 68px; }
}

.why, .player-note {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  padding-left: 0.1rem;
}
.why::before {
  content: "Why: ";
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.player-note { /* already labeled in copy */ }
.blurb { color: var(--muted); line-height: 1.45; }

.talk-compose .field { display:grid; gap:0.35rem; margin:0.75rem 0; }
.talk-compose .field span { font-size:0.78rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); }
.talk-compose input, .talk-compose textarea {
  width:100%; border-radius:12px; border:1px solid var(--line-strong);
  background:rgba(5,10,20,0.85); color:var(--text);
  padding:0.75rem 0.85rem; font:inherit;
}
.talk-compose textarea { resize:vertical; min-height:110px; }
.talk-status { margin:0.75rem 0 0; color:var(--ice); font-size:0.9rem; }
.talk-card .talk-take { margin:0.35rem 0 0.5rem; padding-left:0.35rem; line-height:1.45; }
.talk-about { padding-left:0.35rem; color:var(--gold); font-size:0.82rem; font-weight:700; }
.talk-meta { padding-left:0.35rem; color:var(--muted); font-size:0.75rem; font-family:var(--mono); }
.hp { display:none !important; }

.follow-cta {
  margin: 0.5rem 0 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(245, 197, 66, 0.35);
  background:
    linear-gradient(135deg, rgba(245,197,66,0.14), rgba(56,189,248,0.08) 55%, rgba(14,24,38,0.9));
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  overflow: hidden;
}
.follow-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.2rem;
  padding: 1rem 1.1rem;
}
.follow-cta strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.follow-cta p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.follow-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.follow-cta .btn {
  min-width: 9.5rem;
  justify-content: center;
  font-weight: 800;
}
@media (max-width: 560px) {
  .follow-cta-actions { width: 100%; }
  .follow-cta .btn { flex: 1 1 auto; }
}

.live-card.is-live { box-shadow: 0 0 0 1px rgba(52,211,153,0.35), 0 16px 48px rgba(0,0,0,0.45); }
.live-clock { padding-left:0.35rem; color:var(--ice); font-family:var(--mono); font-size:0.82rem; margin-bottom:0.55rem; }
.live-scoreboard { display:grid; gap:0.35rem; padding:0.35rem 0.35rem 0; }
.live-row { display:flex; justify-content:space-between; align-items:center; padding:0.55rem 0.7rem; border-radius:10px; background:rgba(5,10,20,0.55); border:1px solid var(--line); }
.live-row.winner { border-color:rgba(245,197,66,0.45); }
.live-row strong { font-size:1.25rem; font-variant-numeric:tabular-nums; }

.league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.2rem 0 1rem;
}
.league-tab {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: rgba(8,16,32,0.85);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}
.league-tab.active, .league-tab:hover {
  color: #041018;
  background: linear-gradient(135deg, #f59e0b, var(--gold));
  border-color: transparent;
}
.league-panel[hidden] { display: none !important; }

.news-card-inner {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.news-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #0b1528;
}
.news-meta {
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.15rem;
}
.pill.tight {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
}
@media (max-width: 560px) {
  .news-card-inner { grid-template-columns: 72px 1fr; gap: 0.65rem; }
  .news-thumb { width: 72px; height: 72px; }
}

.record-strip {
  margin: 0.75rem 0 1rem;
}
.record-strip[hidden] { display: none !important; }
.record-strip-inner {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(245,158,11,0.14), rgba(8,16,32,0.92));
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.record-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
}
.record-score {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}
.record-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.15rem;
}
.record-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.record-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(0,0,0,0.25);
  color: var(--muted);
}
.record-chip.win {
  color: #041018;
  background: linear-gradient(135deg, #34d399, #10b981);
  border-color: transparent;
}
.record-chip.loss {
  color: #fff;
  background: rgba(239, 68, 68, 0.85);
  border-color: transparent;
}
.record-chip.push {
  color: #041018;
  background: #fbbf24;
  border-color: transparent;
}
@media (min-width: 720px) {
  .record-strip-inner {
    grid-template-columns: minmax(160px, 220px) 1fr;
    align-items: center;
  }
}

/* —— House clips (YouTube Short embeds) —— */
.clips {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.75rem;
  justify-items: center;
}
.clip-card {
  width: min(100%, 360px);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.clip-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
}
.clip-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.clip-meta {
  padding: 0.9rem 1rem 1.1rem;
}
.clip-meta strong {
  display: block;
  font-size: 1.05rem;
}
.clip-meta p {
  margin: 0.25rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.clip-meta .btn {
  display: inline-flex;
}

/* Homepage today’s games strip */
.home-live-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin: 0 0 0.85rem;
}
.home-live-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1 1 12rem;
}
.home-live-head .meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ice);
}
.home-live-more { flex: 0 0 auto; margin: 0 !important; }
.home-live-more .btn { min-width: auto; }
