/* ============================================================















   DODGER STADIUM — CINEMATIC FAN EXPERIENCE















   Mobile-first, 375px base, dark cinematic theme















   ============================================================ */































/* ---------- RESET & VARIABLES ---------- */















*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }































:root {















  --bg: #020913;















  --bg-deep: #0a1628;















  --accent: #005a9c;















  --accent-light: #1a8fff;















  --text: #f0f4ff;















  --muted: #8ba3c4;















  --gold: #f0c866;















  --line: rgba(255,255,255,0.1);















  --font-head: 'Montserrat', sans-serif;















  --font-body: 'Inter', sans-serif;















}































html {















  scroll-behavior: smooth;















  font-size: 16px;















}































body {















  font-family: var(--font-body);















  background: var(--bg);















  color: var(--text);















  overflow-x: hidden;















  -webkit-font-smoothing: antialiased;















  line-height: 1.6;















}































img { max-width: 100%; display: block; }















a { color: var(--accent-light); text-decoration: none; }































.container {















  width: 100%;















  max-width: 1200px;















  margin: 0 auto;















  padding: 0 20px;















}































.muted { color: var(--muted); }















.muted-text { color: var(--muted); font-size: 0.9rem; }































/* ---------- GLASS EFFECT ---------- */















.glass {















  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));















  backdrop-filter: blur(16px);















  -webkit-backdrop-filter: blur(16px);















  border: 1px solid var(--line);















  border-radius: 16px;















  box-shadow: 0 20px 60px rgba(0,0,0,0.4);















}































/* ---------- REVEAL ANIMATIONS ---------- */















.reveal {















  opacity: 0;















  transform: translateY(40px);















  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);















}















.reveal.visible {















  opacity: 1;















  transform: translateY(0);















}































/* ---------- NAVBAR ---------- */















.navbar {















  position: fixed;















  top: 0; left: 0; right: 0;















  z-index: 1000;















  display: flex;















  align-items: center;















  justify-content: space-between;















  padding: 16px 24px;















  transition: background 0.4s, backdrop-filter 0.4s;















}















.navbar.scrolled {















  background: rgba(2,9,19,0.85);















  backdrop-filter: blur(20px);















  -webkit-backdrop-filter: blur(20px);















  border-bottom: 1px solid var(--line);















}















.nav-logo-img {















  height: 36px;















  width: auto;















  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));















}















.nav-links {















  display: none;















  gap: 32px;















}















.nav-links a {















  color: var(--text);















  font-family: var(--font-body);















  font-size: 0.85rem;















  font-weight: 600;















  text-transform: uppercase;















  letter-spacing: 2px;















  opacity: 0.8;















  transition: opacity 0.3s, color 0.3s;















}















.nav-links a:hover { opacity: 1; color: var(--accent-light); }































.nav-toggle {















  display: flex;















  flex-direction: column;















  gap: 5px;















  background: none;















  border: none;















  cursor: pointer;















  padding: 4px;















}















.nav-toggle span {















  width: 24px; height: 2px;















  background: var(--text);















  border-radius: 2px;















  transition: transform 0.3s, opacity 0.3s;















}















.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }















.nav-toggle.open span:nth-child(2) { opacity: 0; }















.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }































.mobile-nav {















  position: fixed;















  top: 0; left: 0; right: 0; bottom: 0;















  z-index: 999;















  background: rgba(2,9,19,0.95);















  backdrop-filter: blur(30px);















  display: flex;















  flex-direction: column;















  align-items: center;















  justify-content: center;















  gap: 40px;















  opacity: 0;















  pointer-events: none;















  transition: opacity 0.4s;















}















.mobile-nav.open { opacity: 1; pointer-events: auto; }















.mobile-nav a {















  color: var(--text);















  font-family: var(--font-head);















  font-size: 1.5rem;















  font-weight: 700;















  text-transform: uppercase;















  letter-spacing: 4px;















}































@media (min-width: 768px) {















  .nav-links { display: flex; }















  .nav-toggle { display: none; }















}































/* ---------- PARALLAX SECTIONS ---------- */















.parallax-section {















  position: relative;















  min-height: 100vh;















  display: flex;















  align-items: center;















  justify-content: center;















  overflow: hidden;















}















.parallax-bg {















  position: absolute;















  inset: -10%;















  background-size: cover;















  background-position: center;















  background-repeat: no-repeat;















  will-change: transform;















  z-index: 0;















}































/* ---------- VIGNETTE ---------- */















.vignette {















  position: absolute;















  inset: 0;















  z-index: 1;















  background: radial-gradient(ellipse at center, transparent 30%, rgba(2,9,19,0.7) 100%);















  pointer-events: none;















}















.vignette-heavy {















  background: radial-gradient(ellipse at center, transparent 10%, rgba(2,9,19,0.85) 80%, rgba(2,9,19,0.95) 100%);















}































/* ---------- 1. HERO ---------- */















.hero-content {















  position: relative;















  z-index: 2;















  text-align: center;















  padding: 0 20px;















}















.eyebrow {















  font-family: var(--font-body);















  font-size: 0.75rem;















  font-weight: 600;















  letter-spacing: 6px;















  text-transform: uppercase;















  color: var(--muted);















  margin-bottom: 16px;















}















.hero-title {















  font-family: var(--font-head);















  font-weight: 900;















  font-size: clamp(3rem, 12vw, 8rem);















  line-height: 0.95;















  letter-spacing: -2px;















  text-transform: uppercase;















  text-shadow: 0 4px 40px rgba(0,0,0,0.6);















  margin-bottom: 16px;















}















.hero-sub {















  font-family: var(--font-body);















  font-size: 1rem;















  font-weight: 500;















  letter-spacing: 8px;















  color: var(--muted);















}







.hero-for {



  font-family: var(--font-head);



  font-size: clamp(1.2rem, 3vw, 2rem);



  font-weight: 700;



  color: var(--accent-light);



  letter-spacing: 0.08em;



  margin-top: 16px;



  opacity: 0.9;



}































.scroll-indicator {















  position: absolute;















  bottom: 40px;















  left: 50%;















  transform: translateX(-50%);















  z-index: 2;















  display: flex;















  flex-direction: column;















  align-items: center;















  gap: 8px;















  animation: scrollPulse 2s ease-in-out infinite;















}















.scroll-indicator span {















  font-size: 0.7rem;















  letter-spacing: 4px;















  text-transform: uppercase;















  color: var(--muted);















}















.scroll-arrow {















  width: 20px; height: 20px;















  border-right: 2px solid var(--muted);















  border-bottom: 2px solid var(--muted);















  transform: rotate(45deg);















}















@keyframes scrollPulse {















  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }















  50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }















}































/* ---------- 2. TUNNEL ---------- */















.tunnel-bloom {















  position: absolute;















  inset: 0;















  z-index: 1;















  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);















  pointer-events: none;















}















.tunnel-content {















  position: relative;















  z-index: 2;















  text-align: center;















}















.tunnel-text {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: clamp(1rem, 3vw, 1.5rem);















  letter-spacing: 8px;















  text-transform: uppercase;















  color: rgba(240,244,255,0.3);















}































/* ---------- 3. FIELD REVEAL ---------- */















.field-content {















  position: relative;















  z-index: 2;















  text-align: center;















  padding: 0 20px;















}















.field-welcome {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: clamp(1rem, 3vw, 1.6rem);















  letter-spacing: 6px;















  text-transform: uppercase;















  margin-bottom: 8px;















}















.field-name {















  font-family: var(--font-head);















  font-weight: 900;















  font-size: clamp(4rem, 18vw, 12rem);















  color: var(--accent-light);















  line-height: 1;















  text-shadow: 0 0 80px rgba(26,143,255,0.4), 0 4px 40px rgba(0,0,0,0.5);















  letter-spacing: -3px;















}































.quick-stats {















  display: flex;















  gap: 12px;















  justify-content: center;















  margin-top: 40px;















  flex-wrap: wrap;















}















.quick-stat {















  background: rgba(0,0,0,0.5);















  backdrop-filter: blur(10px);















  border: 1px solid var(--line);















  border-radius: 12px;















  padding: 16px 24px;















  text-align: center;















  min-width: 120px;















}















.quick-stat-label {















  display: block;















  font-size: 0.65rem;















  font-weight: 600;















  letter-spacing: 3px;















  text-transform: uppercase;















  color: var(--muted);















  margin-bottom: 4px;















}















.quick-stat-value {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: 1.1rem;















}































/* =========== TIME CAPSULE: VINTAGE NEWSPAPER =========== */
.time-capsule {
  background: linear-gradient(180deg, var(--bg) 0%, #0a0806 5%, #0f0c08 50%, #0a0806 95%, var(--bg) 100%);
  padding: 60px 0 80px;
}
.capsule-header {
  text-align: center;
  padding: 20px 0;
  border-bottom: 3px double rgba(180, 160, 120, 0.3);
  margin-bottom: 32px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.capsule-header .section-eyebrow { color: rgba(180, 160, 120, 0.5); }
.capsule-header .section-heading {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: rgba(220, 200, 160, 0.9);
  margin: 8px 0;
}
.capsule-header .section-sub {
  font-family: 'Georgia', serif;
  font-style: italic;
  color: rgba(180, 160, 120, 0.5);
  font-size: 0.8rem;
}
.capsule-dateline {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(180, 160, 120, 0.35);
  margin-top: 8px;
  border-top: 1px solid rgba(180, 160, 120, 0.15);
  padding-top: 8px;
}
.newspaper-spread {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  column-count: 3;
  column-gap: 24px;
}
.newspaper-item {
  break-inside: avoid;
  margin-bottom: 24px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: relative;
}
.newspaper-item:hover { transform: scale(1.02); }
.newspaper-item.hidden-item { display: none; }
.newspaper-item.hidden-item.show { display: block; animation: fadeInUp 0.5s ease both; }
.clip-card {
  background: linear-gradient(180deg, #1a1610, #0f0c08);
  border: 1px solid rgba(180, 160, 120, 0.12);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.clip-card img {
  width: 100%; height: auto; display: block;
  filter: sepia(0.2) brightness(0.85) contrast(1.05);
  transition: filter 0.3s ease;
}
.newspaper-item:hover .clip-card img { filter: sepia(0.05) brightness(0.95) contrast(1.02); }
.clip-article { padding: 12px 14px; border-top: 1px solid rgba(180, 160, 120, 0.1); }
.clip-headline {
  font-family: 'Georgia', serif;
  font-size: 0.85rem; font-weight: 700;
  color: rgba(220, 200, 160, 0.85);
  line-height: 1.3; margin: 0 0 6px;
}
.clip-byline { font-size: 0.55rem; font-style: italic; color: rgba(180, 160, 120, 0.4); letter-spacing: 0.05em; }
.clip-excerpt {
  font-family: 'Georgia', serif; font-size: 0.7rem;
  line-height: 1.6; color: rgba(180, 160, 120, 0.5); margin-top: 8px;
}
.capsule-more-wrap { text-align: center; margin-top: 32px; max-width: 1000px; margin-left: auto; margin-right: auto; }
.capsule-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px;
  background: rgba(180, 160, 120, 0.08);
  border: 1px solid rgba(180, 160, 120, 0.2);
  border-radius: 999px;
  color: rgba(220, 200, 160, 0.7);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s ease;
}
.capsule-more-btn:hover {
  background: rgba(180, 160, 120, 0.15);
  border-color: rgba(180, 160, 120, 0.35);
  color: rgba(220, 200, 160, 0.9);
}
.capsule-more-btn .arrow { transition: transform 0.3s ease; }
.capsule-more-btn.expanded .arrow { transform: rotate(180deg); }
.clip-expanded-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: fadeIn 0.3s ease;
}
.clip-expanded {
  background: linear-gradient(180deg, #1a1610, #0d0a06);
  border: 1px solid rgba(180, 160, 120, 0.2); border-radius: 8px;
  max-width: 600px; width: 100%; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: modalLiftIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.clip-expanded img { width: 100%; height: auto; display: block; }
.clip-expanded-body { padding: 24px; }
.clip-expanded-headline {
  font-family: 'Georgia', serif; font-size: 1.4rem; font-weight: 700;
  color: rgba(220, 200, 160, 0.9); line-height: 1.3; margin: 0 0 8px;
}
.clip-expanded-byline {
  font-size: 0.65rem; font-style: italic; color: rgba(180, 160, 120, 0.45);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(180, 160, 120, 0.1);
}
.clip-expanded-text {
  font-family: 'Georgia', serif; font-size: 0.85rem; line-height: 1.8;
  color: rgba(200, 180, 140, 0.65); column-count: 2; column-gap: 24px;
}
.clip-expanded-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1);
  color: white; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@media (max-width: 767px) {
  .newspaper-spread { column-count: 2; column-gap: 12px; }
  .clip-headline { font-size: 0.75rem; }
  .clip-excerpt { display: none; }
  .capsule-header .section-heading { font-size: 1.5rem; }
  .clip-expanded-text { column-count: 1; }
  .clip-expanded-headline { font-size: 1.1rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .newspaper-spread { column-count: 2; }
}


/* ---------- 5. SCOREBOARD ---------- */















.scoreboard {















  position: relative;















  background: var(--bg-deep);















  padding: 100px 0;















  overflow: hidden;















}















.section-watermark {















  position: absolute;















  top: 50%;















  left: 50%;















  transform: translate(-50%, -50%);















  z-index: 0;















  pointer-events: none;















  opacity: 0.04;















}















.watermark-img {















  width: 500px;















  max-width: 80vw;















}















.watermark-outline { opacity: 0.06; }































.section-header {















  text-align: center;















  margin-bottom: 48px;















  position: relative;















  z-index: 1;















}















.section-label {















  font-family: var(--font-body);















  font-size: 0.7rem;















  font-weight: 600;















  letter-spacing: 6px;















  text-transform: uppercase;















  color: var(--accent-light);















  margin-bottom: 8px;















}















.section-title {















  font-family: var(--font-head);















  font-weight: 900;















  font-size: clamp(2rem, 5vw, 3rem);















  letter-spacing: 2px;















}















.section-sub {















  color: var(--muted);















  font-size: 0.95rem;















  margin-top: 8px;















  margin-bottom: 40px;















}















.section-logo {
  display: block;













  width: 180px;















  margin: 0 auto 16px;















  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));















}















.section-logo-sm {















  width: 48px;















  margin: 0 auto 12px;















  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));















}































.scoreboard-grid {















  display: grid;















  grid-template-columns: 1fr;















  gap: 24px;















  margin-bottom: 32px;















  position: relative;















  z-index: 1;















}















@media (min-width: 768px) {















  .scoreboard-grid { grid-template-columns: 1fr 1fr; }















}































.score-card {















  padding: 32px;















}















.score-card-title {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: 0.85rem;















  letter-spacing: 3px;















  text-transform: uppercase;















  color: var(--accent-light);















  margin-bottom: 20px;















}































.countdown {















  display: flex;















  gap: 16px;















  justify-content: center;















  margin-bottom: 16px;















}















.countdown-unit {















  text-align: center;















}















.countdown-unit span {















  display: block;















  font-family: var(--font-head);















  font-weight: 900;















  font-size: 2rem;















  color: var(--text);















}















.countdown-unit small {















  font-size: 0.6rem;















  font-weight: 600;















  letter-spacing: 2px;















  color: var(--muted);















}















.next-game-info {















  text-align: center;















  font-size: 0.9rem;















  color: var(--muted);















}































.last-game { text-align: center; }















.last-game-score {















  font-family: var(--font-head);















  font-weight: 900;















  font-size: 2.2rem;















  margin: 8px 0;















}















.last-game-score.win { color: #4caf50; }















.last-game-score.loss { color: #f44336; }















.last-game-teams {















  font-size: 0.9rem;















  color: var(--muted);















}















.last-game-label {















  display: inline-block;















  padding: 4px 12px;















  border-radius: 20px;















  font-size: 0.7rem;















  font-weight: 700;















  letter-spacing: 2px;















  margin-top: 8px;















}















.last-game-label.w { background: rgba(76,175,80,0.2); color: #4caf50; }















.last-game-label.l { background: rgba(244,67,54,0.2); color: #f44336; }































.schedule-wrap {















  padding: 32px;















  position: relative;















  z-index: 1;















}















.schedule-table-wrap { overflow-x: auto; }















.schedule-table {















  width: 100%;















  border-collapse: collapse;















}















.schedule-table th,















.schedule-table td {















  padding: 12px 16px;















  text-align: left;















  font-size: 0.85rem;















  border-bottom: 1px solid var(--line);















  white-space: nowrap;















}















.schedule-table th {















  font-size: 0.7rem;















  font-weight: 600;















  letter-spacing: 2px;















  text-transform: uppercase;















  color: var(--muted);















}















.schedule-table tbody tr:hover {















  background: rgba(255,255,255,0.03);















}































/* ---------- NEWS SECTION ---------- */















.section-news {















  background: linear-gradient(180deg, var(--bg-deep) 0%, #060f1e 100%);















  padding: 100px 0;















  overflow: hidden;















}















.section-news .section-inner,















.section-hub .section-inner {















  width: 100%;















  max-width: 1200px;















  margin: 0 auto;















  padding: 0 20px;















}















.section-news .section-label,















.section-hub .section-label {















  font-family: var(--font-body);















  font-size: 0.7rem;















  font-weight: 600;















  letter-spacing: 6px;















  text-transform: uppercase;















  color: var(--accent-light);















  margin-bottom: 8px;















  text-align: center;















}















.section-news .section-title,















.section-hub .section-title {















  font-family: var(--font-head);















  font-weight: 900;















  font-size: clamp(2rem, 5vw, 3rem);















  letter-spacing: 2px;















  text-align: center;















  margin-bottom: 48px;















}































.news-grid {















  display: grid;















  grid-template-columns: 1fr;















  gap: 20px;















}















@media (min-width: 768px) {















  .news-grid { grid-template-columns: repeat(2, 1fr); }















}















@media (min-width: 1024px) {















  .news-grid { grid-template-columns: repeat(3, 1fr); }















}































.loading-text {















  color: var(--muted);















  text-align: center;















  padding: 40px;















  font-size: 0.9rem;















  grid-column: 1 / -1;















}































.news-card {















  display: flex;















  flex-direction: column;















  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));















  backdrop-filter: blur(16px);















  -webkit-backdrop-filter: blur(16px);















  border: 1px solid var(--line);















  border-radius: 16px;















  overflow: hidden;















  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;















  text-decoration: none;















  color: var(--text);















}















.news-card:hover {















  transform: translateY(-6px);















  box-shadow: 0 24px 60px rgba(0,0,0,0.5);















  border-color: rgba(255,255,255,0.2);















}















.news-img {















  width: 100%;















  aspect-ratio: 16 / 9;















  background-size: cover;















  background-position: center;















  background-color: var(--bg-deep);















  position: relative;















}















.news-img::after {















  content: '';















  position: absolute;















  bottom: 0; left: 0; right: 0;















  height: 40%;















  background: linear-gradient(to top, rgba(2,9,19,0.7), transparent);















}















.news-body {















  padding: 16px 20px 20px;















  display: flex;















  flex-direction: column;















  flex: 1;















}















.news-date {















  font-size: 0.65rem;















  font-weight: 600;















  letter-spacing: 2px;















  text-transform: uppercase;















  color: var(--accent-light);















  margin-bottom: 8px;















}















.news-title {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: 0.95rem;















  line-height: 1.3;















  margin-bottom: 8px;















  color: var(--text);















}















.news-excerpt {















  font-size: 0.82rem;















  color: var(--muted);















  line-height: 1.5;















  display: -webkit-box;















  -webkit-line-clamp: 3;















  -webkit-box-orient: vertical;















  overflow: hidden;















}















.news-placeholder {















  grid-column: 1 / -1;















  text-align: center;















  padding: 60px 20px;















  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));















  border: 1px solid var(--line);















  border-radius: 16px;















  color: var(--muted);















}















.news-placeholder .news-placeholder-icon {















  font-size: 3rem;















  margin-bottom: 16px;















}















.news-placeholder p {















  font-size: 0.9rem;















}































/* ---------- 6. DUGOUT ---------- */















.dugout {















  position: relative;















  min-height: auto;















  padding: 100px 0;















}















.dugout .parallax-bg {















  opacity: 0.3;















}















.dugout-inner {















  position: relative;















  z-index: 2;















}































.roster-controls {















  margin-bottom: 32px;















}















.roster-search {















  width: 100%;















  padding: 14px 20px;















  font-size: 0.9rem;















  color: var(--text);















  border: none;















  outline: none;















  margin-bottom: 16px;















  font-family: var(--font-body);















}















.roster-search::placeholder { color: var(--muted); }































.roster-filters {















  display: flex;















  flex-wrap: wrap;















  gap: 8px;















}















.filter-btn {















  background: rgba(255,255,255,0.06);















  border: 1px solid var(--line);















  color: var(--muted);















  padding: 8px 16px;















  border-radius: 24px;















  font-size: 0.75rem;















  font-weight: 600;















  letter-spacing: 1px;















  cursor: pointer;















  transition: all 0.3s;















  font-family: var(--font-body);















}















.filter-btn:hover,















.filter-btn.active {















  background: var(--accent);















  color: var(--text);















  border-color: var(--accent);















}































.roster-grid {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-wrap: nowrap;


  display: grid;







  grid-template-columns: repeat(2, 1fr);







  gap: 12px;







  overflow: hidden;







}















@media (min-width: 768px) {







  .roster-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }















}































/* PLAYER CARDS */















.player-card-wrap {
  min-width: 180px;
  flex-shrink: 0;













  perspective: 1000px;















  height: 280px;















  max-width: 100%;







  width: 100%;







}















.player-card {















  position: relative;















  width: 100%;















  height: 100%;















  transform-style: preserve-3d;















  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);















  cursor: pointer;















}















/* Click/tap flip only — no hover flip to avoid double-flip on desktop */















.player-card.flipped {















  transform: rotateY(180deg);















}















.player-card-front,















.player-card-back {















  position: absolute;















  inset: 0;















  backface-visibility: hidden;















  -webkit-backface-visibility: hidden;















  border-radius: 16px;















  overflow: hidden;















  display: flex;















  flex-direction: column;















  align-items: center;















}















.player-card-front {















  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));















  border: 1px solid var(--line);















  padding: 20px 12px 16px;















  justify-content: flex-start;















  transition: border-color 0.3s, box-shadow 0.3s;















}















.player-card-back {















  background: linear-gradient(180deg, rgba(0,90,156,0.3), rgba(2,9,19,0.95));















  border: 1px solid var(--accent);















  transform: rotateY(180deg);















  padding: 16px 12px;















  justify-content: flex-start;















}































/* Favorited card highlight */















.player-card-wrap.is-faved .player-card-front {
  border-color: var(--gold) !important;
  box-shadow: 0 0 12px rgba(240,200,100,0.15) !important;















  border-color: var(--gold);















  box-shadow: 0 0 12px rgba(240,200,100,0.12);















}































.player-headshot {















  width: 90px;















  height: 90px;















  border-radius: 50%;















  object-fit: cover;















  border: 3px solid var(--line);















  margin-bottom: 12px;















  background: var(--bg-deep);















}















.player-number {















  font-family: var(--font-head);















  font-weight: 900;















  font-size: 0.85rem;















  color: var(--accent-light);















  margin-bottom: 4px;















}















.player-name {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: 0.85rem;















  text-align: center;















  margin-bottom: 8px;















  line-height: 1.2;















}















.player-pos-badge {















  background: var(--accent);















  color: var(--text);















  padding: 4px 12px;















  border-radius: 12px;















  font-size: 0.65rem;















  font-weight: 700;















  letter-spacing: 1px;















}















.player-fav-btn {















  position: absolute;















  top: 4px; right: 4px;















  background: rgba(0,0,0,0.3);















  border: none;















  border-radius: 50%;















  width: 36px;















  height: 36px;















  display: flex;















  align-items: center;















  justify-content: center;















  font-size: 1.3rem;















  cursor: pointer;















  color: var(--muted);















  transition: color 0.3s, transform 0.3s, background 0.3s;















  z-index: 5;















  -webkit-tap-highlight-color: transparent;















}















.player-fav-btn.faved { color: var(--gold); transform: scale(1.2); }































/* Star player gold glow (kept for backward compat) */















/* .star class no longer applies gold border — only .is-faved does */
.player-card-wrap.star .player-card-front {
  border-color: rgba(255,255,255,0.1) !important;
  box-shadow: none !important;












  border-color: var(--gold);















  box-shadow: 0 0 20px rgba(240,200,102,0.15);















}































/* Card back stats */















.card-stats-title {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: 0.75rem;















  letter-spacing: 2px;















  color: var(--accent-light);















  margin-bottom: 12px;















}















.card-stats-grid {















  display: grid;















  grid-template-columns: 1fr 1fr;















  gap: 8px;















  width: 100%;















}















.card-stat {















  text-align: center;















  padding: 6px 4px;















  background: rgba(0,0,0,0.3);















  border-radius: 8px;















}















.card-stat-label {















  display: block;















  font-size: 0.55rem;















  font-weight: 600;















  letter-spacing: 1px;















  color: var(--muted);















  margin-bottom: 2px;















}















.card-stat-value {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: 0.9rem;















}















.card-stats-loading {















  color: var(--muted);















  font-size: 0.8rem;















  margin-top: 20px;















}































/* ---------- 7. STATS SECTION ---------- */















.stats-section {















  position: relative;















  background: var(--bg);















  padding: 100px 0;















  overflow: hidden;















}















.stats-grid {















  display: grid;















  grid-template-columns: 1fr 1fr;















  gap: 16px;















  margin-bottom: 32px;















  position: relative;















  z-index: 1;















}















@media (min-width: 768px) {















  .stats-grid { grid-template-columns: repeat(4, 1fr); }















}















.stat-box {















  padding: 24px 16px;















  text-align: center;















}















.stat-box-label {















  display: block;















  font-size: 0.65rem;















  font-weight: 600;















  letter-spacing: 3px;















  text-transform: uppercase;















  color: var(--muted);















  margin-bottom: 8px;















}















.stat-box-value {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: 1.2rem;















}































.standings-wrap {















  padding: 32px;















  margin-bottom: 32px;















  position: relative;















  z-index: 1;















}















.standings-table {















  width: 100%;















  border-collapse: collapse;















}















.standings-table th,















.standings-table td {















  padding: 10px 12px;















  font-size: 0.85rem;















  border-bottom: 1px solid var(--line);















  text-align: center;















}















.standings-table th {















  font-size: 0.65rem;















  font-weight: 600;















  letter-spacing: 2px;















  text-transform: uppercase;















  color: var(--muted);















}















.standings-table td:first-child { text-align: left; }















.standings-table th:first-child { text-align: left; }















.standings-table .highlight-row {















  background: rgba(0,90,156,0.15);















}















.standings-table .highlight-row td {















  color: var(--accent-light);















  font-weight: 600;















}































.predictions-wrap {















  padding: 32px;















  position: relative;















  z-index: 1;















}















.prediction-pills {















  display: flex;















  flex-wrap: wrap;















  gap: 8px;















  margin-bottom: 24px;















}















.pred-pill {















  background: rgba(255,255,255,0.06);















  border: 1px solid var(--line);















  color: var(--muted);















  padding: 8px 16px;















  border-radius: 24px;















  font-size: 0.75rem;















  font-weight: 600;















  cursor: pointer;















  transition: all 0.3s;















  font-family: var(--font-body);















}















.pred-pill:hover,















.pred-pill.active {















  background: var(--accent);















  color: var(--text);















  border-color: var(--accent);















}















.prediction-content {















  min-height: 100px;















}















.prediction-title {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: 1.1rem;















  margin-bottom: 16px;















  color: var(--accent-light);















}















.prediction-list {















  list-style: none;















}















.prediction-list li {















  padding: 10px 0;















  border-bottom: 1px solid var(--line);















  font-size: 0.9rem;















  line-height: 1.5;















}















.prediction-list li:last-child { border-bottom: none; }
.prediction-detail { font-size: 0.82rem; color: rgba(180,195,220,0.7); margin-top: 2px; display: inline-block; }















.prediction-mood {















  display: inline-block;















  margin-top: 12px;















  padding: 6px 16px;















  border-radius: 20px;















  font-size: 0.75rem;















  font-weight: 600;















  background: rgba(240,200,102,0.15);















  color: var(--gold);















}































/* ---------- 8. ORACLE / CHAT ---------- */















.oracle-section {















  background: var(--bg-deep);















  padding: 100px 0;















}















.oracle-header-row {















  display: flex;















  align-items: center;















  gap: 16px;















  justify-content: center;















}















.oracle-badge {















  width: 56px;















  height: 56px;















  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));















}















.chat-container {
  max-width: 100%;














  padding: 0;















  overflow: hidden;















  max-width: 100%;















  margin: 0 auto;















}















.chat-messages {















  padding: 24px;















  max-height: 400px;















  overflow-y: auto;















  display: flex;















  flex-direction: column;















  gap: 16px;















}















.chat-msg {















  display: flex;















  gap: 12px;















  align-items: flex-start;















}















.chat-msg.user-msg {















  flex-direction: row-reverse;















}















.chat-avatar {
  border-radius: 50%;
  overflow: hidden;
  background: rgba(26,90,180,0.3);













  flex-shrink: 0;















  width: 40px; height: 40px;















}















.chat-avatar img {
  object-fit: contain;















  width: 100%; height: 100%;















  border-radius: 50%;















  object-fit: cover;















}















.chat-bubble {















  padding: 12px 16px;















  border-radius: 16px;















  font-size: 0.9rem;















  line-height: 1.5;















  max-width: 80%;















}















.oracle-bubble {















  background: rgba(255,255,255,0.06);















  border: 1px solid var(--line);















  border-radius: 16px 16px 16px 4px;















}















.user-bubble {















  background: var(--accent);















  border-radius: 16px 16px 4px 16px;















}















.typing-indicator {















  display: flex;















  gap: 4px;















  padding: 12px 16px;















}















.typing-dot {















  width: 8px; height: 8px;















  border-radius: 50%;















  background: var(--muted);















  animation: typingBounce 1.4s infinite;















}















.typing-dot:nth-child(2) { animation-delay: 0.2s; }















.typing-dot:nth-child(3) { animation-delay: 0.4s; }















@keyframes typingBounce {















  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }















  30% { transform: translateY(-8px); opacity: 1; }















}































.chat-suggestions {















  padding: 0 24px 16px;















  display: flex;















  flex-wrap: wrap;















  gap: 8px;















}















.suggestion-pill {















  background: rgba(255,255,255,0.06);















  border: 1px solid var(--line);















  color: var(--accent-light);















  padding: 8px 14px;















  border-radius: 20px;















  font-size: 0.75rem;















  font-weight: 500;















  cursor: pointer;















  transition: all 0.3s;















  font-family: var(--font-body);















}















.suggestion-pill:hover {















  background: rgba(0,90,156,0.3);















  border-color: var(--accent);















}































.chat-input-row {















  display: flex;















  border-top: 1px solid var(--line);















}















.chat-input {















  flex: 1;















  background: transparent;















  border: none;















  outline: none;















  padding: 16px 20px;















  color: var(--text);















  font-size: 0.9rem;















  font-family: var(--font-body);















}















.chat-input::placeholder { color: var(--muted); }















.chat-send {















  background: var(--accent);















  border: none;















  color: var(--text);















  padding: 16px 24px;















  font-size: 1rem;















  cursor: pointer;















  transition: background 0.3s;















}















.chat-send:hover { background: var(--accent-light); }































/* ---------- DANI'S HUB ---------- */















.section-hub {















  background: linear-gradient(180deg, #060f1e 0%, var(--bg) 100%);















  padding: 100px 0;















  overflow: hidden;















}















.section-hub .section-title {















  margin-bottom: 4px;















}































.hub-block {















  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));















  backdrop-filter: blur(16px);















  -webkit-backdrop-filter: blur(16px);















  border: 1px solid var(--line);















  border-radius: 20px;















  padding: 24px;















  margin-bottom: 24px;















}















.hub-block-title {















  font-family: var(--font-head);















  font-weight: 700;















  font-size: 0.85rem;















  letter-spacing: 2px;















  text-transform: uppercase;















  color: var(--accent-light);















  margin-bottom: 20px;















}































/* Hub Favorites Row */















.hub-favs-row {















  display: flex;















  flex-wrap: nowrap;















  overflow-x: auto;















  gap: 16px;















  padding-bottom: 8px;















  -webkit-overflow-scrolling: touch;















}















.hub-favs-row::-webkit-scrollbar { height: 4px; }















.hub-favs-row::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }































.hub-fav-card {















  flex: 0 0 auto;















  display: flex;















  flex-direction: column;















  align-items: center;















  gap: 6px;















  min-width: 80px;















}















.hub-fav-img {















  width: 72px;















  height: 72px;















  border-radius: 50%;















  object-fit: cover;















  border: 2px solid var(--gold);















  background: var(--bg-deep);















}















.hub-fav-name {















  font-size: 0.7rem;















  font-weight: 600;















  text-align: center;















  color: var(--text);















  line-height: 1.2;















  max-width: 80px;















}















.hub-fav-num {















  font-size: 0.65rem;















  color: var(--accent-light);















  font-weight: 700;















}































/* Hub Predict Grid */















.hub-predict-grid {















  display: grid;















  grid-template-columns: 1fr 1fr;















  gap: 12px;















  margin-bottom: 16px;















}















.hub-predict-btn {















  background: rgba(255,255,255,0.05);















  border: 1px solid var(--line);















  color: var(--text);















  border-radius: 12px;















  padding: 14px 12px;















  font-size: 0.82rem;















  font-weight: 600;















  font-family: var(--font-body);















  cursor: pointer;















  min-height: 48px;















  transition: all 0.3s;















  text-align: center;















  line-height: 1.3;















}















.hub-predict-btn:hover {















  background: rgba(0,90,156,0.3);















  border-color: var(--accent);















  color: var(--accent-light);















}















.hub-predict-btn:disabled {















  opacity: 0.5;















  cursor: not-allowed;















}































.hub-predict-result {















  background: rgba(0,90,156,0.1);















  border: 1px solid rgba(26,143,255,0.2);















  border-radius: 12px;















  padding: 16px;















  font-size: 0.88rem;















  line-height: 1.6;















  color: var(--text);















  margin-top: 4px;















}















.hub-predict-result .typing-indicator {















  padding: 4px 0;















}































/* Trivia */















.hub-trivia {















  display: flex;















  flex-direction: column;















  gap: 16px;















}















.trivia-question {















  font-size: 1rem;















  font-weight: 600;















  line-height: 1.4;















  color: var(--text);















}















.trivia-options {















  display: flex;















  flex-direction: column;















  gap: 8px;















}















.trivia-options button {















  background: rgba(255,255,255,0.05);















  border: 1px solid var(--line);















  color: var(--text);















  border-radius: 10px;















  padding: 12px 16px;















  font-size: 0.88rem;















  font-family: var(--font-body);















  font-weight: 500;















  cursor: pointer;















  text-align: left;















  width: 100%;















  transition: all 0.25s;















  min-height: 48px;















}















.trivia-options button:hover:not(:disabled) {















  background: rgba(0,90,156,0.25);















  border-color: var(--accent);















}















.trivia-options button.correct {















  background: rgba(76,175,80,0.2);















  border-color: #4caf50;















  color: #4caf50;















}















.trivia-options button.wrong {















  background: rgba(244,67,54,0.2);















  border-color: #f44336;















  color: #f44336;















}















.trivia-options button:disabled { cursor: not-allowed; }































.trivia-feedback {















  padding: 12px 16px;















  border-radius: 10px;















  font-size: 0.88rem;















  font-weight: 600;















}















.trivia-feedback.correct-fb {















  background: rgba(76,175,80,0.15);















  border: 1px solid rgba(76,175,80,0.3);















  color: #4caf50;















}















.trivia-feedback.wrong-fb {















  background: rgba(244,67,54,0.15);















  border: 1px solid rgba(244,67,54,0.3);















  color: #f44336;















}















.trivia-score {















  font-size: 0.75rem;















  color: var(--muted);















  margin-top: 4px;















  font-weight: 400;















}































.trivia-next-btn {















  background: var(--accent);















  border: none;















  color: var(--text);















  border-radius: 10px;















  padding: 12px 24px;















  font-size: 0.88rem;















  font-weight: 600;















  font-family: var(--font-body);















  cursor: pointer;















  transition: background 0.3s;















  align-self: flex-start;















}















.trivia-next-btn:hover { background: var(--accent-light); }































/* Mood Tracker */















.mood-tracker {















  display: flex;















  flex-wrap: wrap;















  gap: 10px;















  margin-bottom: 16px;















}















.mood-btn {















  background: rgba(255,255,255,0.05);















  border: 1px solid var(--line);















  color: var(--text);















  border-radius: 12px;















  padding: 12px 20px;















  font-size: 0.88rem;















  font-weight: 600;















  font-family: var(--font-body);















  cursor: pointer;















  min-height: 48px;















  transition: all 0.3s;















  flex: 1 1 auto;















  text-align: center;















}















.mood-btn:hover {















  background: rgba(240,200,102,0.1);















  border-color: var(--gold);















}















.mood-btn.active {















  background: rgba(240,200,102,0.15);















  border-color: var(--gold);















  color: var(--gold);















}































.mood-response {















  background: rgba(240,200,102,0.06);















  border: 1px solid rgba(240,200,102,0.15);















  border-radius: 12px;















  padding: 16px;















  font-size: 0.88rem;















  font-style: italic;















  line-height: 1.6;















  color: var(--text);















  animation: fadeInUp 0.4s ease forwards;















}















.mood-response .typing-indicator {















  padding: 4px 0;















}































@keyframes fadeInUp {















  from { opacity: 0; transform: translateY(10px); }















  to { opacity: 1; transform: translateY(0); }















}































/* ---------- 9. FOOTER ---------- */















.site-footer {















  position: relative;















  padding: 80px 0 40px;















  overflow: hidden;















  background: var(--bg);















}















.footer-parallax {















  position: absolute;















  inset: 0;















  background-size: cover;















  background-position: center;















  opacity: 0.08;















  z-index: 0;















}















.footer-scene2 {















  position: absolute;















  top: 0; left: 50%;















  transform: translateX(-50%);















  width: 600px;















  height: 300px;















  background-size: cover;















  background-position: center;















  opacity: 0.04;















  z-index: 0;















  pointer-events: none;















}















.footer-overlay {















  position: absolute;















  inset: 0;















  background: linear-gradient(to bottom, var(--bg), transparent 30%, transparent 70%, var(--bg));















  z-index: 0;















}















.footer-inner {















  position: relative;















  z-index: 1;















  text-align: center;















  display: flex;















  flex-direction: column;















  align-items: center;















  gap: 12px;















}















.footer-logo {















  width: 120px;















  margin-bottom: 12px;















  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));















}















.footer-love {















  font-size: 0.95rem;















  color: var(--text);















}















.footer-love strong { color: var(--accent-light); }















.footer-location {















  font-size: 0.8rem;















  color: var(--muted);















  letter-spacing: 2px;















}















.footer-powered {















  font-size: 0.7rem;















  color: var(--muted);















  opacity: 0.6;















}















.footer-year {















  font-size: 0.7rem;















  color: var(--muted);















  opacity: 0.4;















}































/* ---------- UTILITY / MISC ---------- */















.hidden { display: none !important; }































/* Scrollbar */















::-webkit-scrollbar { width: 6px; }















::-webkit-scrollbar-track { background: var(--bg); }















::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }































/* ---------- RESPONSIVE ---------- */















@media (min-width: 1024px) {















  .container { padding: 0 40px; }















  .roster-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }















  .section-news .section-inner,















  .section-hub .section-inner { padding: 0 40px; }















}































/* ── TOPPS TRADING CARDS ── */















.hub-cards-row {















  display: flex;















  gap: 24px;















  overflow-x: auto;















  padding: 20px 0;















  scroll-snap-type: x mandatory;















  -webkit-overflow-scrolling: touch;















}































.topps-card {















  flex-shrink: 0;















  width: 240px;















  height: 360px;















  perspective: 1200px;















  scroll-snap-align: center;















  cursor: pointer;















}































.topps-inner {















  position: relative;















  width: 100%;















  height: 100%;















  transform-style: preserve-3d;















  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);















}































.topps-card.flipped .topps-inner {















  transform: rotateY(180deg);















}































.topps-front, .topps-back {















  position: absolute;















  inset: 0;















  backface-visibility: hidden;















  -webkit-backface-visibility: hidden;















  border-radius: 12px;















  overflow: hidden;















}































/* FRONT — Topps style */















.topps-front {















  background: linear-gradient(180deg, #003a70 0%, #001d3d 40%, #000c1a 100%);















  border: 3px solid #c4a44a;















  display: flex;















  flex-direction: column;















  align-items: center;















  padding: 0;















}































.topps-header {















  width: 100%;















  background: linear-gradient(90deg, #003a70, #005a9c, #003a70);















  padding: 10px 0 6px;















  text-align: center;















  border-bottom: 2px solid #c4a44a;















}































.topps-brand {















  font-size: 0.55rem;















  text-transform: uppercase;















  letter-spacing: 0.3em;















  color: #c4a44a;















}































.topps-team {















  font-family: var(--font-head);















  font-size: 0.85rem;















  font-weight: 900;















  color: #fff;















  text-transform: uppercase;















  letter-spacing: 0.1em;















}































.topps-photo-frame {















  width: 85%;















  aspect-ratio: 1;















  margin: 12px auto 8px;















  border-radius: 8px;















  overflow: hidden;















  border: 2px solid #c4a44a;















  background: #0a1628;















}































.topps-photo-frame img {















  width: 100%;















  height: 100%;















  object-fit: cover;















}































.topps-name {















  font-family: var(--font-head);















  font-size: 1.1rem;















  font-weight: 900;















  color: #fff;















  text-transform: uppercase;















  margin: 4px 0 2px;















}































.topps-position {















  font-size: 0.7rem;















  text-transform: uppercase;















  letter-spacing: 0.15em;















  color: #c4a44a;















  font-weight: 600;















}































.topps-number {















  position: absolute;















  top: 48px;















  right: 12px;















  background: #c4a44a;















  color: #001d3d;















  font-family: var(--font-head);















  font-weight: 900;















  font-size: 1.2rem;















  width: 36px;















  height: 36px;















  border-radius: 50%;















  display: flex;















  align-items: center;















  justify-content: center;















}































.topps-footer {















  width: 100%;















  margin-top: auto;















  padding: 8px;















  text-align: center;















  border-top: 1px solid rgba(196,164,74,0.3);















}































.topps-footer span {















  font-size: 0.6rem;















  color: rgba(196,164,74,0.6);















  letter-spacing: 0.2em;















  text-transform: uppercase;















}































/* BACK — Classic baseball card back */















.topps-back {















  background: linear-gradient(180deg, #f5f0e1 0%, #e8dcc8 100%);















  border: 3px solid #c4a44a;















  transform: rotateY(180deg);















  color: #1a1a1a;















  padding: 16px 14px;















  display: flex;















  flex-direction: column;















  font-family: var(--font-body);















  overflow-y: auto;















}































.topps-back-header {















  text-align: center;















  padding-bottom: 10px;















  border-bottom: 2px solid #8b7535;















  margin-bottom: 10px;















}































.topps-back-name {















  font-family: var(--font-head);















  font-size: 1rem;















  font-weight: 900;















  color: #003a70;















  text-transform: uppercase;















}































.topps-back-pos {















  font-size: 0.65rem;















  color: #666;















  text-transform: uppercase;















  letter-spacing: 0.15em;















}































.topps-stats-title {















  font-size: 0.6rem;















  text-transform: uppercase;















  letter-spacing: 0.2em;















  color: #8b7535;















  font-weight: 700;















  margin: 8px 0 6px;















}































.topps-stats-grid {















  display: grid;















  grid-template-columns: repeat(3, 1fr);















  gap: 6px;















}































.topps-stat {















  text-align: center;















  background: rgba(0,58,112,0.08);















  border-radius: 6px;















  padding: 6px 4px;















}































.topps-stat-label {















  font-size: 0.55rem;















  text-transform: uppercase;















  letter-spacing: 0.1em;















  color: #666;















  display: block;















}































.topps-stat-value {















  font-size: 0.95rem;















  font-weight: 700;















  color: #003a70;















  display: block;















}































.topps-bio {















  font-size: 0.72rem;















  color: #444;















  line-height: 1.5;















  margin: 8px 0;















  font-style: italic;















}































.topps-socials {















  display: flex;















  gap: 8px;















  justify-content: center;















  margin-top: auto;















  padding-top: 8px;















  border-top: 1px solid #c4a44a;















}































.topps-social-link {















  font-size: 0.6rem;















  text-transform: uppercase;















  letter-spacing: 0.1em;















  color: #003a70;















  text-decoration: none;















  padding: 4px 10px;















  border: 1px solid #003a70;















  border-radius: 12px;















  transition: all 0.2s;















}































.topps-social-link:hover,















.topps-social-link:active {















  background: #003a70;















  color: #fff;















}























/* ── MOOD CHART ── */







.mood-chart {







  margin-bottom: 16px;







}







.mood-chart-label {







  font-size: 0.65rem;







  text-transform: uppercase;







  letter-spacing: 0.15em;







  color: var(--muted);







  margin-bottom: 8px;







}







.mood-dots {







  display: flex;







  gap: 6px;







  justify-content: center;







  flex-wrap: wrap;







}







.mood-dot {







  width: 32px;







  height: 32px;







  border-radius: 50%;







  display: flex;







  align-items: center;







  justify-content: center;







  font-size: 0.8rem;







  border: 1px solid rgba(255,255,255,0.1);







}







.mood-dot.empty {







  background: rgba(255,255,255,0.05);







  font-size: 0.55rem;







  color: var(--muted);







}








/* ═══════════ MOBILE OVERFLOW FIXES ═══════════ */
@media (max-width: 767px) {
  /* Force no horizontal overflow */
  html, body { overflow-x: hidden; max-width: 100vw; }
  
  /* Container padding */
  .container { padding: 0 16px; }
  
  /* Stats grid - ensure 2 columns fit */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-box {
    padding: 16px 8px;
  }
  .stat-box-value {
    font-size: 1.1rem;
    word-break: break-word;
  }
  .stat-box-label {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
  }
  
  /* Standings table - scroll horizontally */
  .standings-wrap {
    padding: 20px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .standings-table {
    min-width: 400px;
  }
  .standings-table th,
  .standings-table td {
    padding: 8px 6px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  
  /* Scoreboard section */
  .scoreboard {
    padding: 60px 0;
  }
  .scoreboard-grid {
    gap: 16px;
  }
  
  /* Score cards */
  .score-card {
    padding: 16px;
  }
  
  /* Predictions - wrap buttons */
  .prediction-tabs,
  .hub-predict-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .prediction-tab,
  .hub-predict-btn {
    font-size: 0.7rem;
    padding: 8px 12px;
  }
  
  /* Schedule table */
  .schedule-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Quick predictions */
  .quick-predictions {
    padding: 16px;
  }
  .quick-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  /* Hub blocks */
  .hub-block {
    padding: 20px 12px;
  }
  
  /* News section */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Section headings */
  .section-title {
    font-size: 1.5rem;
  }
  .section-heading {
    font-size: 1.5rem;
  }
  
  /* All sections - prevent overflow */
  section {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  /* Topbar mobile */
  .topbar .container {
    padding: 0 12px;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .stat-box {
    padding: 12px 6px;
  }
  .stat-box-value {
    font-size: 0.95rem;
  }
  .standings-table th,
  .standings-table td {
    padding: 6px 4px;
    font-size: 0.7rem;
  }
}



/* ═══════════ DYNAMIC GREETING ═══════════ */
.hero-for {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  line-height: 1.6;
}
.greeting-dot {
  color: var(--accent);
  font-size: 0.4rem;
  vertical-align: middle;
  margin: 0 6px;
  opacity: 0.5;
}
.greeting-fact {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  max-width: 380px;
  margin-top: 4px;
}
@media (max-width: 767px) {
  .greeting-fact {
    font-size: 0.65rem;
    max-width: 280px;
  }
}

/* ═══════════ DANI GREETING + POEM ═══════════ */
.hero-for {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  margin-top: 8px;
}
.greeting-time {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 0 40px rgba(0,0,0,0.5);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.greeting-poem-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 28px;
  max-width: 420px;
}
.greeting-poem-title {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light, #5ba3e6);
  margin-bottom: 4px;
}
.greeting-poem-lines {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.greeting-poem-author {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

@media (max-width: 767px) {
  .greeting-time {
    font-size: 1.1rem;
  }
  .greeting-poem-wrap {
    padding: 16px 20px;
    max-width: 300px;
    margin: 0 auto;
  }
  .greeting-poem-lines {
    font-size: 0.75rem;
    line-height: 1.7;
  }
}


/* TUNNEL LIVE PULSE */
.tunnel-pulse { text-align:center; max-width:500px; margin:0 auto; padding:24px; }
.pulse-status { display:inline-flex; align-items:center; gap:8px; background:rgba(0,0,0,0.5); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,0.08); border-radius:999px; padding:8px 18px; margin-bottom:20px; }
.pulse-dot { width:8px; height:8px; border-radius:50%; background:#4ade80; animation:pulseDot 2s ease-in-out infinite; }
.pulse-dot.live { background:#ef4444; box-shadow:0 0 12px rgba(239,68,68,0.6); }
.pulse-dot.upcoming { background:#3b82f6; }
.pulse-dot.off { background:#6b7280; animation:none; }
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.pulse-label { font-size:0.6rem; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; color:rgba(255,255,255,0.7); }
.pulse-headline { font-family:'Montserrat',sans-serif; font-size:1.6rem; font-weight:900; color:#fff; text-shadow:0 2px 20px rgba(0,0,0,0.8); line-height:1.3; margin:0 0 12px; }
.pulse-sub { font-size:0.8rem; color:rgba(255,255,255,0.55); line-height:1.5; margin:0; font-style:italic; }
@media(max-width:767px){ .pulse-headline{font-size:1.2rem} .pulse-sub{font-size:0.7rem} .tunnel-pulse{padding:16px} }


/* UPGRADE: TUNNEL PULSE CINEMATIC */
.tunnel-pulse { text-align:center; max-width:760px; margin:0 auto; padding:34px 24px 30px; position:relative; border:1px solid rgba(255,255,255,0.08); border-radius:32px; background:linear-gradient(180deg, rgba(4,10,20,0.58), rgba(4,10,20,0.2)); box-shadow:0 28px 80px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.05); overflow:hidden; }
.pulse-rails { position:absolute; inset:0; pointer-events:none; }
.pulse-rail { position:absolute; top:24px; bottom:24px; width:1px; background:linear-gradient(180deg, transparent, rgba(255,255,255,0.18), transparent); opacity:0.5; }
.pulse-rail-left { left:18px; }
.pulse-rail-right { right:18px; }
.pulse-atmosphere { position:absolute; inset:0; pointer-events:none; }
.pulse-atmo { position:absolute; border-radius:999px; filter:blur(12px); opacity:0.26; }
.pulse-atmo-a { top:18%; left:10%; width:110px; height:110px; background:radial-gradient(circle, rgba(59,130,246,0.7), transparent 68%); }
.pulse-atmo-b { right:14%; top:26%; width:140px; height:140px; background:radial-gradient(circle, rgba(255,255,255,0.24), transparent 72%); }
.pulse-atmo-c { left:50%; bottom:12%; width:180px; height:80px; transform:translateX(-50%); background:radial-gradient(circle, rgba(240,200,102,0.24), transparent 70%); }

.pulse-glow { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:400px; height:400px; background:radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%); pointer-events:none; animation:pulseGlowAnim 4s ease-in-out infinite; }
@keyframes pulseGlowAnim { 0%,100%{opacity:0.6;transform:translate(-50%,-50%) scale(1)} 50%{opacity:1;transform:translate(-50%,-50%) scale(1.15)} }

.pulse-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(0,0,0,0.6); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border:1px solid rgba(255,255,255,0.1); border-radius:999px; padding:10px 22px; margin-bottom:24px; position:relative; z-index:2; }
.pulse-badge.live-badge { border-color:rgba(239,68,68,0.4); background:rgba(239,68,68,0.15); }
.tunnel-pulse.state-result .pulse-badge { border-color:rgba(168,85,247,0.42); box-shadow:0 0 24px rgba(168,85,247,0.18); }
.tunnel-pulse.state-result.outcome-win .pulse-badge { border-color:rgba(52,211,153,0.42); background:rgba(52,211,153,0.1); box-shadow:0 0 28px rgba(52,211,153,0.18); }
.tunnel-pulse.state-result.outcome-loss .pulse-badge { border-color:rgba(248,113,113,0.32); background:rgba(248,113,113,0.1); box-shadow:0 0 28px rgba(248,113,113,0.14); }
.tunnel-pulse.state-result.outcome-win { background:linear-gradient(180deg, rgba(3,16,34,0.72), rgba(3,16,34,0.28)); box-shadow:0 30px 90px rgba(0,0,0,0.38), 0 0 40px rgba(59,130,246,0.12), inset 0 1px 0 rgba(255,255,255,0.06); }
.tunnel-pulse.state-result.outcome-loss { background:linear-gradient(180deg, rgba(12,13,22,0.76), rgba(8,10,18,0.34)); box-shadow:0 30px 90px rgba(0,0,0,0.42), 0 0 30px rgba(148,163,184,0.08), inset 0 1px 0 rgba(255,255,255,0.04); }
.tunnel-pulse.state-result.outcome-win .pulse-atmo-a,
.tunnel-pulse.state-result.outcome-win .pulse-atmo-c { opacity:0.42; animation:pulseVictoryDrift 6s ease-in-out infinite; }
.tunnel-pulse.state-result.outcome-loss .pulse-atmo-a,
.tunnel-pulse.state-result.outcome-loss .pulse-atmo-b,
.tunnel-pulse.state-result.outcome-loss .pulse-atmo-c { opacity:0.14; filter:blur(18px) saturate(0.7); }

.pulse-dot { width:10px; height:10px; border-radius:50%; background:#3b82f6; animation:pulseDot 2s ease-in-out infinite; box-shadow:0 0 8px rgba(59,130,246,0.5); }
.pulse-dot.live { background:#ef4444; box-shadow:0 0 16px rgba(239,68,68,0.7); }
.pulse-dot.off { background:#6b7280; animation:none; box-shadow:none; }

.pulse-label { font-size:0.7rem; font-weight:800; letter-spacing:0.25em; text-transform:uppercase; color:rgba(255,255,255,0.9); }

.pulse-stage { position:relative; z-index:2; margin:0 auto 18px; padding:22px 18px; border-radius:28px; background:linear-gradient(180deg, rgba(8,16,30,0.7), rgba(8,16,30,0.26)); border:1px solid rgba(255,255,255,0.08); box-shadow:inset 0 1px 0 rgba(255,255,255,0.04); }
.pulse-stage::before { content:''; position:absolute; inset:10px; border-radius:22px; border:1px solid rgba(255,255,255,0.04); pointer-events:none; }
.pulse-matchup { display:flex; align-items:center; justify-content:center; gap:24px; margin-bottom:0; position:relative; z-index:2; }
.pulse-matchup.hidden { display:none; }

.pulse-team { display:flex; flex-direction:column; align-items:center; gap:10px; min-width:138px; padding:16px 12px; border-radius:22px; background:rgba(255,255,255,0.035); border:1px solid rgba(255,255,255,0.06); }
.pulse-team-logo { width:72px; height:72px; object-fit:contain; filter:drop-shadow(0 6px 18px rgba(0,0,0,0.5)); transition:transform 0.3s ease; }
.pulse-team-logo:hover { transform:scale(1.1); }
.pulse-team-logo[src=""] { display:none; }
.pulse-team-name { font-size:0.76rem; font-weight:800; letter-spacing:0.18em; text-transform:uppercase; color:rgba(255,255,255,0.86); }

.pulse-vs { display:flex; flex-direction:column; align-items:center; gap:8px; min-width:88px; }
.pulse-vs-text { font-family:'Montserrat',sans-serif; font-size:1.5rem; font-weight:900; color:rgba(255,255,255,0.28); letter-spacing:0.18em; }
.pulse-vs-time { font-size:0.7rem; font-weight:700; color:#5ba3e6; letter-spacing:0.14em; text-transform:uppercase; }

.pulse-storyline { display:inline-grid; gap:4px; margin:0 auto 16px; padding:10px 16px; border-radius:18px; background:rgba(255,255,255,0.035); border:1px solid rgba(255,255,255,0.06); position:relative; z-index:2; }
.pulse-story-kicker { color:var(--gold); font-size:0.62rem; font-weight:900; letter-spacing:0.2em; text-transform:uppercase; }
.pulse-story-text { color:rgba(240,244,255,0.74); font-size:0.86rem; line-height:1.35; }
.pulse-extra { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:0 auto 18px; position:relative; z-index:2; }
.pulse-extra-chip { padding:10px 14px; border-radius:999px; background:rgba(255,255,255,0.035); border:1px solid rgba(255,255,255,0.08); color:rgba(240,244,255,0.82); font-size:0.68rem; font-weight:800; letter-spacing:0.12em; text-transform:uppercase; }
.tunnel-pulse.state-result.outcome-win .pulse-extra-chip { background:rgba(59,130,246,0.12); border-color:rgba(125,211,252,0.18); }
.tunnel-pulse.state-result.outcome-loss .pulse-extra-chip { background:rgba(148,163,184,0.08); border-color:rgba(148,163,184,0.16); color:rgba(226,232,240,0.74); }

.pulse-headline { font-family:'Montserrat',sans-serif; font-size:2rem; font-weight:900; color:#fff; text-shadow:0 2px 30px rgba(0,0,0,0.9), 0 0 60px rgba(59,130,246,0.2); line-height:1.12; margin:0 0 18px; position:relative; z-index:2; text-transform:uppercase; letter-spacing:0.03em; }

.pulse-countdown { display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom:20px; position:relative; z-index:2; }
.pulse-countdown.hidden { display:none; }

.pulse-count-item { display:flex; flex-direction:column; align-items:center; }
.pulse-count-num { font-family:'Montserrat',sans-serif; font-size:2.4rem; font-weight:900; color:#fff; text-shadow:0 0 20px rgba(59,130,246,0.4); line-height:1; min-width:60px; background:rgba(0,0,0,0.4); border:1px solid rgba(255,255,255,0.08); border-radius:12px; padding:12px 8px; text-align:center; }
.pulse-count-label { font-size:0.5rem; font-weight:700; letter-spacing:0.2em; color:rgba(255,255,255,0.4); margin-top:6px; }
.pulse-count-sep { font-family:'Montserrat',sans-serif; font-size:2rem; font-weight:900; color:rgba(255,255,255,0.2); padding-bottom:20px; animation:sepBlink 1s ease-in-out infinite; }
@keyframes sepBlink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.pulse-sub { font-size:0.82rem; color:rgba(255,255,255,0.56); line-height:1.5; margin:0; position:relative; z-index:2; }

.pulse-live-score { display:flex; align-items:center; justify-content:center; gap:18px; margin:18px 0 0; position:relative; z-index:2; }
.pulse-live-score.hidden { display:none; }
.pulse-score-num { font-family:'Montserrat',sans-serif; font-size:4rem; font-weight:900; color:#fff; text-shadow:0 0 30px rgba(59,130,246,0.3); line-height:1; min-width:72px; }
.pulse-score-dash { font-size:2rem; color:rgba(255,255,255,0.26); padding:0 4px; }
.tunnel-pulse.state-result .pulse-live-score { margin-top: 10px; }
.tunnel-pulse.state-result.outcome-win .pulse-score-num:last-child { color:#7dd3fc; text-shadow:0 0 34px rgba(125,211,252,0.28); }
.tunnel-pulse.state-result.outcome-loss .pulse-score-num:first-child { color:#fca5a5; text-shadow:0 0 28px rgba(252,165,165,0.24); }
.tunnel-pulse.state-live .pulse-stage { box-shadow:0 0 36px rgba(239,68,68,0.12), inset 0 1px 0 rgba(255,255,255,0.04); }
.tunnel-pulse.state-upcoming .pulse-stage { box-shadow:0 0 36px rgba(59,130,246,0.12), inset 0 1px 0 rgba(255,255,255,0.04); }
@keyframes pulseVictoryDrift {
  0%,100% { transform:translate3d(0,0,0) scale(1); }
  50% { transform:translate3d(0,-8px,0) scale(1.08); }
}

@media(max-width:767px) {
  .tunnel-pulse { padding:24px 14px 22px; border-radius:26px; }
  .pulse-stage { padding:16px 10px; border-radius:22px; }
  .pulse-headline { font-size:1.26rem; margin-bottom:14px; }
  .pulse-team { min-width:88px; padding:12px 8px; border-radius:18px; }
  .pulse-team-logo { width:52px; height:52px; }
  .pulse-count-num { font-size:1.6rem; min-width:44px; padding:8px 6px; }
  .pulse-count-sep { font-size:1.4rem; }
  .pulse-matchup { gap:12px; }
  .pulse-team-name { font-size:0.6rem; }
  .pulse-vs-text { font-size:1rem; }
  .pulse-glow { width:280px; height:280px; }
  .pulse-score-num { font-size:2.5rem; min-width:46px; }
  .pulse-storyline { padding:9px 12px; margin-bottom:14px; }
  .pulse-story-text { font-size:0.76rem; }
  .pulse-extra { gap:8px; margin-bottom:14px; }
  .pulse-extra-chip { font-size:0.58rem; padding:9px 10px; }
  .pulse-sub { font-size:0.74rem; }
}


/* ═══════════ HERO LOGO IMAGE ═══════════ */
.hero-logo-img {
  max-width: 600px;
  width: 90%;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.6)) drop-shadow(0 0 60px rgba(30,80,180,0.15));
  animation: heroLogoIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 767px) {
  .hero-logo-img {
    max-width: 340px;
    margin-bottom: 12px;
  }
}


/* ═══════════ NAVBAR LOGO SWAP ON SCROLL ═══════════ */
.nav-logo-la { display: block; height: 32px; width: auto; }
.nav-logo-dani { display: none; height: 36px; width: auto; max-width: 180px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }

/* When navbar has scrolled class, swap logos */
.navbar.scrolled .nav-logo-la { display: none; }
.navbar.scrolled .nav-logo-dani { display: block; }

@media (max-width: 767px) {
  .nav-logo-dani { height: 28px; max-width: 140px; }
}


/* ═══════════ NAVBAR CENTER LOGO ═══════════ */
.navbar {
  display: flex;
  align-items: center;
}
.nav-center-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.navbar.scrolled .nav-center-logo {
  opacity: 1;
  pointer-events: auto;
}
.nav-center-img {
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
/* Hide the old swap classes */
.nav-logo-la { display: block !important; }
.nav-logo-dani { display: none !important; }

@media (max-width: 767px) {
  .nav-center-img {
    height: 24px;
    max-width: 150px;
  }
}


/* ═══ NAVBAR CENTER LOGO SIZE FIX ═══ */
.nav-center-img {
  height: 80px !important;
  max-width: 400px !important;
}
@media (max-width: 767px) {
  .nav-center-img {
    height: 56px !important;
    max-width: 280px !important;
  }
}

/* ═══ ROSTER GRID REDESIGN ═══ */
.roster-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
  gap: 16px !important;
  max-height: 600px;
  overflow-y: auto !important;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.roster-grid::-webkit-scrollbar { width: 6px; }
.roster-grid::-webkit-scrollbar-track { background: transparent; }
.roster-grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
@media (max-width: 767px) {
  .roster-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-height: 500px;
    gap: 12px !important;
  }
}

/* ═══ COMPACT PLAYER CARDS ═══ */
.player-card-wrap {
  height: 240px !important;
  max-width: 100%;
  width: 100%;
  perspective: 1000px;
}

/* ===== BASEBALL SCOREBOARD ===== */
.baseball-scoreboard {
  background: linear-gradient(180deg, #1a2a1a 0%, #0d1a0d 100%);
  border: 2px solid #3a5a3a;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  font-family: 'Courier New', monospace;
  overflow-x: auto;
}
.scoreboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3a5a3a;
  margin-bottom: 8px;
}
.scoreboard-header span, .scoreboard-row span {
  min-width: 28px;
  text-align: center;
  font-size: 0.7rem;
  color: #7a9a7a;
  font-weight: 700;
}
.scoreboard-team, .scoreboard-team-name {
  min-width: 60px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #f0c866;
  letter-spacing: 0.05em;
}
.scoreboard-innings {
  display: flex;
  gap: 4px;
}
.scoreboard-innings span {
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  font-size: 0.75rem;
  color: #c8e6c8;
  font-weight: 700;
}
.scoreboard-innings span.active-inning {
  background: rgba(240,200,100,0.2);
  color: #f0c866;
  border: 1px solid #f0c866;
}
.scoreboard-totals {
  display: flex;
  gap: 4px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 2px solid #3a5a3a;
}
.scoreboard-totals span {
  min-width: 32px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
  font-size: 0.8rem;
  color: #ffffff;
  font-weight: 800;
}
.scoreboard-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.scoreboard-stats {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #3a5a3a;
  font-size: 0.75rem;
  color: #7a9a7a;
  flex-wrap: wrap;
}
.scoreboard-stats strong {
  color: #f0c866;
}

/* ===== GAME PICKER ===== */
.game-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.game-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 140px;
  text-align: center;
}
.game-btn:hover, .game-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,90,156,0.3);
}
.game-area {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  min-height: 200px;
}
.game-area .game-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.game-area .game-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.game-area .game-option {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}
.game-area .game-option:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent-light);
}
.game-area .game-option.correct {
  background: rgba(34,197,94,0.2);
  border-color: #22c55e;
  color: #22c55e;
}
.game-area .game-option.wrong {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
  color: #ef4444;
}
.game-area .game-feedback {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}
.game-area .game-feedback.win {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
}
.game-area .game-feedback.lose {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.3);
}
.game-next-btn {
  margin-top: 16px;
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.game-next-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.game-scramble-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  width: 100%;
  margin-top: 12px;
  outline: none;
  transition: border-color 0.3s;
}
.game-scramble-input:focus {
  border-color: var(--accent-light);
}

@media (max-width: 767px) {
  .scoreboard-innings span {
    min-width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }
  .scoreboard-totals span {
    min-width: 28px;
    height: 24px;
    font-size: 0.7rem;
  }
  .scoreboard-team, .scoreboard-team-name {
    min-width: 44px;
    font-size: 0.6rem;
  }
  .game-btn {
    min-width: 120px;
    font-size: 0.75rem;
    padding: 8px 12px;
  }
}

/* ===== DANI'S DUGOUT LOGO ===== */
.danis-dugout-logo {
  display: block;
  max-width: 450px;
  width: 90%;
  margin: 0 auto 20px;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5));
}
@media (max-width: 600px) {
  .danis-dugout-logo { max-width: 320px; }
}

/* ===== DAFFODIL ACCENTS ===== */
.daffodil-divider {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 12px;
  padding: 16px 0;
  opacity: 0.6;
  user-select: none;
}
.hub-section .section-title {
  text-shadow: 0 0 30px rgba(255,223,100,0.15);
}
.hub-section .section-label {
  color: #f0c866;
}
.footer-love {
  text-shadow: 0 0 20px rgba(255,223,100,0.1);
}
/* Subtle daffodil glow on Dani's personal sections */
.hub-section .glass,
.oracle-description {
  border-top: 1px solid rgba(255,223,100,0.08);
}
/* Floating daffodil petals animation */
@keyframes daffodilFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-120px) rotate(25deg); opacity: 0; }
}
.daffodil-petal {
  position: fixed;
  font-size: 1.2rem;
  pointer-events: none;
  z-index: 9999;
  animation: daffodilFloat 4s ease-in-out forwards;
  opacity: 0;
}

/* ===== ORACLE OWL ===== */
@keyframes owlBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.oracle-owl {
  transition: transform 0.3s ease;
}
.oracle-owl:hover {
  transform: scale(1.15) rotate(-5deg);
}

/* ===== ORACLE DESCRIPTION ===== */
.oracle-description {
  margin-top: 24px;
  padding: 24px;
  border-radius: 16px;
}
.oracle-desc-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ===== SHARE BAR ===== */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.share-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.share-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.share-btn:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.share-instagram:hover { border-color: #E1306C; color: #E1306C; }
.share-snapchat:hover { border-color: #FFFC00; color: #FFFC00; }
.share-copy:hover { border-color: var(--accent-light); color: var(--accent-light); }


/* ============================================================
   GAME NIGHT MODE
   ============================================================ */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(26,143,255,0.18), transparent 34%),
    radial-gradient(circle at 12% 20%, rgba(240,200,102,0.08), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.09), transparent 18%);
  pointer-events: none;
  z-index: 0;
}

section,
footer {
  position: relative;
  z-index: 1;
}

.game-night-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.gn-noise,
.gn-grid,
.gn-beam,
.gn-crown-glow,
.gn-trails {
  position: absolute;
  inset: 0;
}
.gn-noise {
  opacity: 0.1;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, rgba(255,255,255,0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,0.1) 0 1px, transparent 1px);
  background-size: 24px 24px, 32px 32px, 18px 18px;
  animation: gnNoiseDrift 14s linear infinite;
}
.gn-grid {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.32), transparent 82%);
}
.gn-beam {
  top: -15%;
  bottom: auto;
  width: 38vw;
  height: 110vh;
  opacity: 0.36;
  filter: blur(10px);
  transform-origin: top center;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(26,143,255,0.16) 36%, transparent 72%);
}
.gn-beam-left {
  left: -6vw;
  transform: rotate(18deg);
  animation: gnBeamLeft 10s ease-in-out infinite alternate;
}
.gn-beam-right {
  right: -6vw;
  transform: rotate(-18deg);
  animation: gnBeamRight 12s ease-in-out infinite alternate;
}
.gn-crown-glow {
  inset: -20% 18% auto;
  height: 56vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,143,255,0.2), rgba(26,143,255,0.06) 34%, transparent 68%);
  filter: blur(28px);
}
.gn-trail {
  position: absolute;
  top: -18vh;
  width: 2px;
  height: 22vh;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.92), rgba(26,143,255,0));
  box-shadow: 0 0 18px rgba(26,143,255,0.4);
  opacity: 0;
  animation: gnTrailDrop var(--trail-duration, 8s) linear infinite;
  animation-delay: var(--trail-delay, 0s);
}

.hero {
  isolation: isolate;
  min-height: 175svh;
  --hero-zoom-phase: clamp(0, calc((var(--story-progress) - 0.44) * 2.3), 1);
  --hero-reveal-phase: clamp(0, calc((var(--story-progress) - 0.58) * 3.1), 1);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(255,255,255,0.14), transparent 20%),
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(2,9,19,0.25) 55%, rgba(2,9,19,0.86));
  z-index: 1;
}
.hero-marquee {
  position: absolute;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(92vw, 920px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(4,11,23,0.58);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-marquee-tag {
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(240,200,102,0.92), rgba(255,255,255,0.9));
  color: #07101e;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-marquee-text {
  flex: 1;
  min-width: 0;
  color: rgba(240,244,255,0.88);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-marquee-clock {
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  color: var(--accent-light);
  white-space: nowrap;
}
.hero-spotlights {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-light {
  position: absolute;
  top: -12vh;
  width: 28vw;
  height: 108vh;
  opacity: 0.42;
  background: linear-gradient(180deg, rgba(255,255,255,0.52), rgba(26,143,255,0.14) 40%, transparent 76%);
  filter: blur(8px);
  transform-origin: top center;
  mix-blend-mode: screen;
}
.hero-light-left {
  left: 7%;
  transform: rotate(20deg);
  animation: heroSweepLeft 11s ease-in-out infinite alternate;
}
.hero-light-center {
  left: 36%;
  width: 18vw;
  transform: rotate(2deg);
  opacity: 0.32;
  animation: heroSweepCenter 8s ease-in-out infinite alternate;
}
.hero-light-right {
  right: 7%;
  transform: rotate(-20deg);
  animation: heroSweepRight 10s ease-in-out infinite alternate;
}
.hero-energy-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  mix-blend-mode: screen;
  opacity: 0.4;
  z-index: 2;
}
.hero-energy-orb-a {
  top: 18%;
  right: 14%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(26,143,255,0.7), transparent 68%);
  animation: orbFloatA 8s ease-in-out infinite;
}
.hero-energy-orb-b {
  bottom: 15%;
  left: 10%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(240,200,102,0.42), transparent 70%);
  animation: orbFloatB 10s ease-in-out infinite;
}
.hero-content {
  max-width: 900px;
  position: sticky;
  top: 18svh;
  z-index: 5;
  opacity: calc(1 - (var(--hero-reveal-phase) * 0.9));
  transform:
    translate3d(0, calc(var(--hero-reveal-phase) * -26px), 0)
    scale(calc(1 - (var(--hero-reveal-phase) * 0.08)));
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, filter 0.45s ease;
}
.hero-zoom-sequence {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.hero-zoom-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.hero-through-scene,
.hero-zoom-logo-wrap {
  position: absolute;
  inset: 0;
}
.hero-through-scene {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2,7,16,0.9) 0%, rgba(2,7,16,0.4) 28%, rgba(2,7,16,0.18) 56%, rgba(2,7,16,0.82) 100%),
    url('images/tunnel.png') center center / cover no-repeat;
  opacity: calc(var(--hero-reveal-phase) * 0.96);
  transform: scale(calc(1.16 - (var(--hero-reveal-phase) * 0.22)));
  filter: saturate(calc(0.86 + (var(--hero-reveal-phase) * 0.34))) brightness(calc(0.58 + (var(--hero-reveal-phase) * 0.44)));
  will-change: transform, opacity, filter;
}
.hero-zoom-logo-wrap {
  z-index: 3;
  display: grid;
  place-items: center;
  opacity: calc(0.9 - (var(--hero-reveal-phase) * 0.92));
  will-change: transform, opacity;
}
.hero-zoom-logo {
  width: min(78vw, 420px);
  max-width: 420px;
  height: auto;
  object-fit: contain;
  transform-origin: 52% 60%;
  transform:
    translate3d(0, calc(var(--hero-zoom-phase) * -0.8vh), 0)
    scale(calc(1.06 + (var(--hero-zoom-phase) * 10.5)));
  filter:
    drop-shadow(0 16px 36px rgba(0,0,0,0.5))
    drop-shadow(0 0 28px rgba(26,143,255,0.16));
  will-change: transform;
}
body[data-story-stage="hero"] #hero .hero-zoom-logo-wrap {
  opacity: calc(0.9 - (var(--hero-reveal-phase) * 0.92));
}
.hero-night-panel {
  width: min(100%, 760px);
  margin: 28px auto 0;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(4,11,23,0.5), rgba(4,11,23,0.18));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 26px 70px rgba(0,0,0,0.36);
}
.hero-night-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-chip-live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6cff9b;
  box-shadow: 0 0 0 0 rgba(108,255,155,0.5);
  animation: chipPulse 1.8s ease-out infinite;
}
.hero-night-title {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-night-copy {
  color: rgba(240,244,255,0.78);
  font-size: 0.96rem;
  max-width: 46rem;
  margin: 0 auto;
}
body.theme-dbacks {
  --opp-accent: #a71930;
  --opp-accent-soft: rgba(167, 25, 48, 0.22);
}
body.theme-giants {
  --opp-accent: #fd5a1e;
  --opp-accent-soft: rgba(253, 90, 30, 0.22);
}
body.theme-padres {
  --opp-accent: #8c6b3f;
  --opp-accent-soft: rgba(140, 107, 63, 0.24);
}
body.theme-yankees {
  --opp-accent: #c4ced4;
  --opp-accent-soft: rgba(196, 206, 212, 0.2);
}
body {
  --opp-accent: var(--accent-light);
  --opp-accent-soft: rgba(26, 143, 255, 0.18);
  --scorebug-glow: rgba(26, 143, 255, 0.26);
  --truck-kicker: var(--gold);
}
.story-chapter {
  --story-progress: 0;
}
.story-chapter-pill {
  position: absolute;
  top: clamp(88px, 10vh, 128px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(4,11,23,0.45);
  color: rgba(240,244,255,0.66);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, color 0.35s ease;
  pointer-events: none;
}
.story-chapter.is-story-active .story-chapter-pill {
  opacity: 1;
  color: rgba(255,255,255,0.94);
  border-color: rgba(240,200,102,0.4);
  transform: translateX(-50%) translateY(-4px);
}
#hero .hero-content.reveal.visible,
#tunnel .tunnel-content.reveal.visible,
#field .field-content {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, filter 0.45s ease;
  will-change: transform, opacity, filter;
}
#hero .hero-content.reveal.visible {
  transform: translate3d(0, calc(var(--hero-reveal-phase) * -26px), 0) scale(calc(1 - (var(--hero-reveal-phase) * 0.08)));
  filter: saturate(calc(0.92 + (var(--story-progress) * 0.18)));
}
#tunnel .tunnel-content.reveal.visible {
  transform: translate3d(0, calc((var(--story-progress) - 0.45) * -28px), 0) scale(calc(0.97 + (var(--story-progress) * 0.05)));
  opacity: calc(0.72 + (var(--story-progress) * 0.28));
  filter: saturate(calc(0.88 + (var(--story-progress) * 0.24)));
}
#field .field-content {
  transform: translate3d(0, calc((var(--story-progress) - 0.35) * -22px), 0) scale(calc(0.98 + (var(--story-progress) * 0.03)));
  opacity: calc(0.82 + (var(--story-progress) * 0.18));
}
.story-chapter .vignette {
  transition: opacity 0.45s ease;
}
.story-chapter.is-story-active .vignette {
  opacity: 0.92;
}
body[data-story-stage="hero"] #hero .hero-marquee {
  border-color: rgba(240,200,102,0.26);
  box-shadow: 0 16px 46px rgba(0,0,0,0.28);
}
body[data-story-stage="tunnel"] #tunnel .tunnel-pulse {
  box-shadow: 0 30px 90px rgba(0,0,0,0.42), 0 0 48px rgba(59,130,246,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
}
body[data-story-stage="field"] #field .field-name {
  text-shadow: 0 12px 40px rgba(0,0,0,0.42), 0 0 28px rgba(240,200,102,0.14);
}
@media (max-width: 767px) {
  .story-chapter-pill {
    top: 82px;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    padding: 7px 11px;
  }
  #hero .hero-content.reveal.visible {
    transform: translate3d(0, calc(var(--story-progress) * -14px), 0) scale(calc(1 + (var(--story-progress) * 0.016)));
  }
  #tunnel .tunnel-content.reveal.visible {
    transform: translate3d(0, calc((var(--story-progress) - 0.45) * -16px), 0) scale(calc(0.985 + (var(--story-progress) * 0.026)));
  }
  #field .field-content {
    transform: translate3d(0, calc((var(--story-progress) - 0.35) * -12px), 0) scale(calc(0.99 + (var(--story-progress) * 0.018)));
  }
}
.scroll-indicator {
  z-index: 3;
}

body.game-night-ready .hero-logo-img,
body.game-night-ready .hero-night-panel,
body.game-night-ready .hero-for {
  animation: gnHeroRise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
body.game-night-ready .hero-night-panel {
  animation-delay: 0.12s;
}
body.game-night-ready .hero-for {
  animation-delay: 0.2s;
}

@keyframes gnNoiseDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-18px, 12px, 0); }
}
@keyframes gnBeamLeft {
  from { transform: rotate(16deg) translateY(0); }
  to { transform: rotate(24deg) translateY(2vh); }
}
@keyframes gnBeamRight {
  from { transform: rotate(-14deg) translateY(0); }
  to { transform: rotate(-23deg) translateY(3vh); }
}
@keyframes gnTrailDrop {
  0% { transform: translate3d(0, -25vh, 0) scaleY(0.8); opacity: 0; }
  8% { opacity: 0.75; }
  100% { transform: translate3d(0, 120vh, 0) scaleY(1.2); opacity: 0; }
}
@keyframes heroSweepLeft {
  from { transform: rotate(20deg) translateX(-10px); }
  to { transform: rotate(11deg) translateX(18px); }
}
@keyframes heroSweepCenter {
  from { transform: rotate(0deg) translateY(-4px); }
  to { transform: rotate(5deg) translateY(8px); }
}
@keyframes heroSweepRight {
  from { transform: rotate(-18deg) translateX(10px); }
  to { transform: rotate(-9deg) translateX(-18px); }
}
@keyframes orbFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-14px, 14px, 0) scale(1.08); }
}
@keyframes orbFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(16px, -10px, 0) scale(1.1); }
}
@keyframes chipPulse {
  0% { box-shadow: 0 0 0 0 rgba(108,255,155,0.45); }
  70% { box-shadow: 0 0 0 10px rgba(108,255,155,0); }
  100% { box-shadow: 0 0 0 0 rgba(108,255,155,0); }
}
@keyframes gnHeroRise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 820px) {
  .hero {
    min-height: 162svh;
  }
  .hero-zoom-logo {
    width: min(78vw, 340px);
    transform-origin: 52% 60%;
    transform:
      translate3d(0, calc(var(--hero-zoom-phase) * -0.7vh), 0)
      scale(calc(1.04 + (var(--hero-zoom-phase) * 8.8)));
  }
  .hero-marquee {
    top: 76px;
    width: min(94vw, 680px);
    gap: 12px;
    padding: 10px 14px;
  }
  .hero-marquee-text {
    font-size: 0.74rem;
  }
  .hero-energy-orb-a {
    width: 120px;
    height: 120px;
  }
  .hero-energy-orb-b {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 154svh;
  }
  .hero-zoom-logo {
    width: min(115vw, 430px);
    transform-origin: 52% 60%;
    transform:
      translate3d(0, calc(var(--hero-zoom-phase) * -0.4vh), 0)
      scale(calc(1.02 + (var(--hero-zoom-phase) * 6.4)));
  }
  .hero-marquee {
    top: 66px;
    border-radius: 22px;
    flex-wrap: wrap;
    justify-content: center;
    width: min(94vw, 540px);
    padding: 10px 12px;
    gap: 10px;
  }
  .hero-marquee-text {
    flex-basis: 100%;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.35;
  }
  .hero-content {
    padding-top: 120px;
    padding-left: 16px;
    padding-right: 16px;
    top: 16svh;
  }
  .hero-light {
    width: 42vw;
    opacity: 0.24;
  }
  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    margin-bottom: 10px;
  }
  .hero-logo-img {
    max-width: 270px;
    width: 82%;
    margin-bottom: 8px;
  }
  .hero-sub {
    font-size: 0.78rem;
    letter-spacing: 0.38em;
    margin-bottom: 18px;
  }
  .hero-night-panel {
    margin-top: 20px;
    padding: 14px;
    border-radius: 20px;
  }
  .hero-night-title {
    font-size: 1.02rem;
  }
  .hero-night-copy {
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .hero-for {
    margin-top: 18px;
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gn-noise,
  .gn-beam,
  .gn-trail,
  .hero-light,
  .hero-energy-orb,
  .hero-chip-live::before,
  body.game-night-ready .hero-logo-img,
  body.game-night-ready .hero-night-panel,
  body.game-night-ready .hero-for {
    animation: none !important;
  }
  .hero-zoom-logo,
  .hero-through-scene,
  .hero-content {
    transform: none !important;
  }
}


.pregame-intro {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  visibility: hidden;
}
.pregame-intro.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pregame-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(26,143,255,0.14), transparent 35%),
    rgba(1, 4, 10, 0.88);
  backdrop-filter: blur(12px);
}
.pregame-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 640px);
  padding: 34px 28px 24px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(4,11,23,0.78), rgba(4,11,23,0.45));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 32px 90px rgba(0,0,0,0.45);
}
.pregame-kicker {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pregame-title {
  margin: 18px 0 12px;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 0.92;
  text-transform: uppercase;
}
.pregame-copy {
  color: rgba(240,244,255,0.82);
  font-size: 1rem;
}
.pregame-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 24px 0 18px;
}
.pregame-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}
.pregame-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, var(--accent-light), var(--gold));
  animation: pregameBarSweep 1.8s ease-in-out infinite;
}
.pregame-bar:nth-child(2)::after { animation-delay: 0.12s; }
.pregame-bar:nth-child(3)::after { animation-delay: 0.24s; }
.pregame-bar:nth-child(4)::after { animation-delay: 0.36s; }
.pregame-skip {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.pregame-skip:hover {
  background: rgba(255,255,255,0.1);
}
body.pregame-active {
  overflow: hidden;
}
body.pregame-active .hero::before {
  background:
    radial-gradient(circle at 50% 10%, rgba(255,255,255,0.08), transparent 18%),
    linear-gradient(180deg, rgba(0,0,0,0.7), rgba(2,9,19,0.88));
}
body.pregame-active .hero-light,
body.pregame-active .gn-beam {
  opacity: 0.1;
}
body.pregame-active .hero-content,
body.pregame-active .hero-marquee {
  filter: blur(6px);
  transform: scale(0.98);
  transition: filter 0.7s ease, transform 0.7s ease;
}
body.first-pitch-flash .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.55), transparent 42%);
  animation: firstPitchFlash 1s ease-out forwards;
  z-index: 2;
}

@keyframes pregameBarSweep {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}
@keyframes firstPitchFlash {
  from { opacity: 0.85; }
  to { opacity: 0; }
}

/* ═══════════ HERO CINEMATIC OVERRIDE ═══════════ */
.hero.hero-cinematic-enabled {
  min-height: 100svh;
  isolation: isolate;
}
.hero.hero-cinematic-enabled .story-chapter-pill {
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
}
.hero.hero-cinematic-enabled .hero-marquee {
  z-index: 8;
}
.hero.hero-cinematic-enabled .hero-content {
  position: relative;
  top: auto;
  z-index: 5;
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, filter 0.45s ease;
}
.hero.hero-cinematic-enabled .scroll-indicator {
  z-index: 8;
}
.hero.hero-cinematic-enabled .hero-zoom-sequence {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}
.hero.hero-cinematic-enabled .hero-depth-layer {
  position: absolute;
  inset: -8%;
  will-change: transform, opacity;
}
.hero.hero-cinematic-enabled .hero-depth-back {
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.08), transparent 32%),
    radial-gradient(circle at 50% 58%, rgba(26,143,255,0.14), transparent 40%);
  mix-blend-mode: screen;
  opacity: 0.72;
}
.hero.hero-cinematic-enabled .hero-depth-front {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 22%, transparent 78%, rgba(0,0,0,0.32)),
    radial-gradient(circle at 50% 56%, rgba(255,255,255,0.08), transparent 34%);
  opacity: 0.48;
  mix-blend-mode: screen;
}
.hero.hero-cinematic-enabled .hero-cinematic-perspective {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}
.hero.hero-cinematic-enabled .hero-cinematic-atmo {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.34;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
.hero.hero-cinematic-enabled .hero-cinematic-atmo-a {
  top: 16%;
  left: 12%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(26,143,255,0.48), transparent 68%);
}
.hero.hero-cinematic-enabled .hero-cinematic-atmo-b {
  right: 10%;
  bottom: 18%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 72%);
}
.hero.hero-cinematic-enabled .hero-zoom-sticky {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero.hero-cinematic-enabled .hero-through-scene {
  position: absolute;
  inset: -6%;
  background:
    linear-gradient(180deg, rgba(3,8,18,0.9) 0%, rgba(3,8,18,0.44) 30%, rgba(3,8,18,0.16) 55%, rgba(3,8,18,0.88) 100%),
    url('images/tunnel.png') center center / cover no-repeat;
  opacity: 0;
  transform: translate3d(0, 0, -120px) scale(1.22);
  will-change: transform, opacity, filter;
}
.hero.hero-cinematic-enabled .hero-logo-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  z-index: 7;
}
.hero.hero-cinematic-enabled .hero-logo-interact {
  position: relative;
  width: min(120vw, 1040px);
  max-width: 1040px;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero.hero-cinematic-enabled .hero-logo-glow {
  position: absolute;
  inset: 12% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,143,255,0.22), rgba(255,255,255,0.08) 34%, transparent 72%);
  filter: blur(36px);
  transform: translateZ(-60px);
  opacity: 0.9;
}
.hero.hero-cinematic-enabled .hero-zoom-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transform: translateX(8%);
}
.hero.hero-cinematic-enabled .hero-zoom-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform-origin: 52% 60%;
  filter:
    drop-shadow(0 20px 42px rgba(0,0,0,0.46))
    drop-shadow(0 0 26px rgba(26,143,255,0.16));
  will-change: transform, opacity;
}
.hero.hero-cinematic-enabled.hero-mobile .hero-logo-interact {
  width: min(148vw, 820px);
}
.hero.hero-cinematic-enabled.hero-mobile .hero-zoom-logo-wrap {
  transform: translateX(8%);
}
.pregame-intro {
  display: none !important;
}
.hero.hero-cinematic-enabled.hero-mobile .hero-cinematic-perspective {
  perspective: 1100px;
}
.hero.hero-cinematic-enabled.hero-mobile .hero-cinematic-atmo-a {
  width: 180px;
  height: 180px;
}
.hero.hero-cinematic-enabled.hero-mobile .hero-cinematic-atmo-b {
  width: 210px;
  height: 210px;
}
body.hero-cinematic-active .hero.hero-cinematic-enabled .hero-content {
  filter: blur(6px);
}
body.hero-cinematic-active .hero.hero-cinematic-enabled .hero-marquee,
body.hero-cinematic-active .hero.hero-cinematic-enabled .scroll-indicator {
  opacity: 0.2;
}
@media (prefers-reduced-motion: reduce) {
  .hero.hero-cinematic-enabled .hero-depth-layer,
  .hero.hero-cinematic-enabled .hero-cinematic-atmo,
  .hero.hero-cinematic-enabled .hero-logo-stage,
  .hero.hero-cinematic-enabled .hero-logo-interact,
  .hero.hero-cinematic-enabled .hero-through-scene,
  .hero.hero-cinematic-enabled .hero-zoom-logo {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .hero.hero-cinematic-enabled .hero-through-scene {
    opacity: 0.3;
  }
}

/* ═══════════ HERO PORTAL INTRO ═══════════ */
body.portal-intro-active {
  overflow: hidden;
}
body.portal-intro-active .navbar,
body.portal-intro-active .hero-marquee,
body.portal-intro-active .hero-content,
body.portal-intro-active .scroll-indicator {
  opacity: 0;
  pointer-events: none;
}
#hero {
  isolation: isolate;
}
.hero-portal-intro {
  position: fixed;
  inset: 0;
  z-index: 1400;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.hero-portal-intro.is-active {
  opacity: 1;
  visibility: visible;
}
.hero-portal-backdrop,
.hero-portal-vignette {
  position: absolute;
  inset: 0;
}
.hero-portal-backdrop {
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.06), transparent 22%),
    linear-gradient(180deg, rgba(4,8,16,0.94), rgba(4,8,16,0.84) 48%, rgba(4,8,16,0.98));
  opacity: 0.98;
}
.hero-portal-vignette {
  background:
    radial-gradient(circle at center, transparent 24%, rgba(2,7,16,0.3) 52%, rgba(2,7,16,0.82) 100%);
}
.hero-portal-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(150vw, 1080px);
  aspect-ratio: 1;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, opacity;
}
.hero-portal-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  height: 31%;
  transform: translate(-50%, -9%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 0 0 200vmax rgba(4,8,16,0.96);
  border-radius: 10px;
  will-change: transform, box-shadow, opacity;
}
.hero-portal-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 48px rgba(0,0,0,0.42))
    drop-shadow(0 0 30px rgba(37, 99, 235, 0.2));
  will-change: transform, opacity;
}
.hero-portal-glow {
  position: absolute;
  inset: 22% 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
  filter: blur(40px);
  opacity: 0.8;
  will-change: transform, opacity;
}
body.portal-intro-complete .hero-portal-intro {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 767px) {
  .hero-portal-stage {
    width: min(186vw, 980px);
  }
  .hero-portal-hole {
    width: 16%;
    height: 29%;
    transform: translate(-50%, -8%);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.portal-intro-active {
    overflow: auto;
  }
  .hero-portal-intro {
    display: none !important;
  }
  body.portal-intro-active .navbar,
  body.portal-intro-active .hero-marquee,
  body.portal-intro-active .hero-content,
  body.portal-intro-active .scroll-indicator {
    opacity: 1;
    pointer-events: auto;
  }
}
@keyframes broadcastSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(140%); }
}
@keyframes pressurePulse {
  0%, 100% { box-shadow: 0 18px 38px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 22px 44px rgba(0,0,0,0.26), 0 0 26px rgba(255,78,78,0.12); }
}
@keyframes takeoverStinger {
  0% { transform: translateY(12px) scale(0.985); opacity: 0.4; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}


/* ============================================================
   LIVE GAME TRACKER — DIAMOND SECTION
   ============================================================ */

.live-diamond-section {
  position: relative;
  padding: 80px 0 60px;
  background:
    linear-gradient(180deg, rgba(10,18,30,0.85) 0%, rgba(10,18,30,0.92) 50%, rgba(10,18,30,0.95) 100%),
    url('/dodgers/images/field.jpg') center/cover no-repeat;
  overflow: hidden;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
.live-diamond-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
}
body.broadcast-middle .live-diamond-section {
  background:
    linear-gradient(180deg, rgba(10,18,30,0.86) 0%, rgba(17,26,48,0.94) 50%, rgba(2,9,19,0.98) 100%),
    url('/dodgers/images/field.jpg') center/cover no-repeat;
}
body.broadcast-late .live-diamond-section {
  background:
    linear-gradient(180deg, rgba(15,8,22,0.92) 0%, rgba(20,10,30,0.96) 50%, rgba(2,9,19,1) 100%),
    url('/dodgers/images/field.jpg') center/cover no-repeat;
}

.broadcast-truck-bar {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(4,11,23,0.5), rgba(4,11,23,0.2));
  border: 1px solid rgba(255,255,255,0.08);
}
.broadcast-chip {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: left;
}
.broadcast-chip-label {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.broadcast-chip-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}
.broadcast-takeover {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(26,143,255,0.16), rgba(4,11,23,0.72)),
    radial-gradient(circle at top right, var(--opp-accent-soft), transparent 45%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 38px rgba(0,0,0,0.2);
  overflow: hidden;
  position: relative;
}
.broadcast-takeover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%);
  animation: broadcastSweep 6.5s linear infinite;
  pointer-events: none;
}
.broadcast-takeover-kicker {
  position: relative;
  z-index: 1;
  color: var(--truck-kicker);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.broadcast-takeover-title {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.broadcast-takeover-copy {
  position: relative;
  z-index: 1;
  color: rgba(240,244,255,0.74);
  font-size: 0.9rem;
}
.broadcast-takeover.live-stinger {
  animation: takeoverStinger 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.broadcast-chip-crowd {
  display: grid;
  gap: 8px;
}
.crowd-meter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.crowd-meter-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.crowd-meter-bar.hot {
  background: linear-gradient(90deg, var(--gold), var(--opp-accent));
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(240,200,102,0.25);
}

/* --- Next Game Card --- */
.ld-next-game {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 24px;
  border-radius: 18px;
  text-align: center;
}
.ld-next-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.ld-next-matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.ld-next-team-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text);
  text-transform: uppercase;
}
.ld-next-at {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}
.ld-next-countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.ld-cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ld-cd-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.ld-cd-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.ld-next-pitchers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.ld-pitcher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ld-pitcher-label {
  font-size: 0.6rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.ld-pitcher-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.ld-pitcher-vs {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- Live Wrap --- */
.ld-live-wrap { max-width: 600px; margin: 0 auto; }

/* --- Score Bar --- */
.ld-scorebar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border-radius: 14px;
  margin-bottom: 12px;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 38px rgba(0,0,0,0.24);
  background:
    linear-gradient(180deg, rgba(3,9,21,0.84), rgba(3,9,21,0.58)),
    radial-gradient(circle at top center, var(--scorebug-glow), transparent 56%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.35s ease, border-color 0.35s ease;
}
.ld-scorebar-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.ld-team-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.ld-scorebar-name {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ld-scorebar-score {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}
/* Dodgers (left) in blue */
.ld-scorebar-away .ld-scorebar-name { color: #4a90d9; }
.ld-scorebar-away .ld-scorebar-score { color: #4a90d9; }
/* Opponent (right) in white */
.ld-scorebar-home .ld-scorebar-name { color: var(--muted); }
.ld-scorebar-home .ld-scorebar-score { color: var(--opp-accent); }
.ld-scorebar-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
}
.ld-inning-indicator {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-align: center;
  white-space: nowrap;
}
.ld-score-left {
  color: #4a90d9 !important;
}
.ld-score-right {
  color: var(--text) !important;
}
body.scorebug-rival .ld-scorebar {
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 22px 44px rgba(0,0,0,0.28), 0 0 0 1px var(--opp-accent-soft);
}
body.scorebug-classic {
  --scorebug-glow: rgba(26, 143, 255, 0.24);
  --truck-kicker: var(--gold);
}
body.scorebug-rival {
  --scorebug-glow: rgba(240, 200, 102, 0.2);
  --truck-kicker: var(--opp-accent);
}
body.scorebug-octane {
  --scorebug-glow: rgba(255, 73, 73, 0.22);
  --truck-kicker: #ffb18c;
}
body.theme-giants.scorebug-rival .ld-scorebar,
body.theme-padres.scorebug-rival .ld-scorebar,
body.theme-dbacks.scorebug-rival .ld-scorebar,
body.theme-yankees.scorebug-rival .ld-scorebar {
  background:
    linear-gradient(180deg, rgba(8,10,18,0.88), rgba(3,9,21,0.62)),
    radial-gradient(circle at top center, var(--opp-accent-soft), transparent 56%);
}
.ld-hhe-row {
  display: flex;
  gap: 12px;
}
.ld-hhe-label {
  font-size: 0.6rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  width: 24px;
  text-align: center;
}
.ld-hhe-val {
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 600;
  width: 24px;
  text-align: center;
}

/* --- Inning-by-Inning Linescore --- */
.ld-linescore {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.ld-linescore-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', monospace;
  font-size: 0.75rem;
}
.ld-linescore-table th {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ld-linescore-table td {
  color: var(--text);
  font-weight: 600;
  padding: 6px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  min-width: 26px;
}
.ld-ls-team-col {
  text-align: left !important;
  font-weight: 800 !important;
  padding-right: 12px !important;
  min-width: 50px !important;
  letter-spacing: 0.05em;
}
.ld-ls-dodgers .ld-ls-team-col {
  color: #4a90d9;
}
.ld-ls-sep {
  width: 8px !important;
  min-width: 8px !important;
  border-left: 2px solid rgba(255,255,255,0.1);
}
.ld-ls-total {
  font-weight: 900 !important;
  color: var(--gold) !important;
}
.ld-ls-active {
  background: rgba(240,200,102,0.1);
  border-radius: 4px;
}
body.broadcast-middle .ld-ls-active {
  background: rgba(26,143,255,0.14);
}
body.broadcast-late .ld-ls-active {
  background: var(--opp-accent-soft);
}
body.broadcast-late .broadcast-takeover {
  background:
    linear-gradient(135deg, rgba(255,82,82,0.14), rgba(4,11,23,0.76)),
    radial-gradient(circle at top right, var(--opp-accent-soft), transparent 48%);
}
body.pressure-high .broadcast-takeover {
  animation: pressurePulse 1.7s ease-in-out infinite;
}
body.pressure-high .ld-scorebar {
  transform: translateY(-1px) scale(1.005);
  box-shadow: 0 26px 48px rgba(0,0,0,0.34), 0 0 26px rgba(255,87,87,0.14);
}
body.pressure-high .ld-inning-indicator {
  color: #ffd37c;
  text-shadow: 0 0 14px rgba(255,211,124,0.24);
}
body.pressure-critical .live-diamond-section {
  box-shadow: inset 0 0 180px rgba(166, 25, 48, 0.12);
}
body.pressure-critical .broadcast-chip-crowd,
body.pressure-critical .broadcast-takeover {
  border-color: rgba(255,110,110,0.22);
}
body.pressure-critical .ld-scorebar {
  box-shadow: 0 28px 54px rgba(0,0,0,0.38), 0 0 34px rgba(255,90,90,0.18);
}

/* --- Diamond + Count row --- */
.ld-diamond-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ld-diamond-wrap {
  width: 260px;
  height: 260px;
  position: relative;
  flex-shrink: 0;
}
/* Use bballdiamond.png as the field image */
.ld-diamond {
  width: 100%;
  height: 100%;
  position: relative;
  background: url('/dodgers/images/bballdiamond.png') center/contain no-repeat;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}
.ld-diamond-grass {
  display: none; /* replaced by the image */
}

/* Base overlay indicators with headshots */
.ld-base {
  position: absolute;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.4s ease;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ld-base-head {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
}
.ld-base.active {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(240, 200, 102, 0.8), 0 0 40px rgba(240, 200, 102, 0.4);
  background: rgba(240, 200, 102, 0.2);
}
.ld-base.active .ld-base-head {
  display: block;
}

/* Positions mapped to the bballdiamond.png layout */
.ld-base-1 {
  top: 40%;
  right: 12%;
  margin-top: -15px;
}
.ld-base-2 {
  top: 10%;
  left: 50%;
  margin-left: -15px;
}
.ld-base-3 {
  top: 40%;
  left: 12%;
  margin-top: -15px;
}
.ld-base-mound {
  top: 50%;
  left: 50%;
  margin-top: -18px;
  margin-left: -18px;
  width: 36px;
  height: 36px;
  border-color: rgba(255,255,255,0.3);
  background: rgba(139,119,101,0.3);
  cursor: pointer;
}
.ld-base-mound .ld-base-head {
  display: block;
}
.ld-base-home {
  bottom: 5%;
  left: 50%;
  margin-left: -18px;
  width: 36px;
  height: 36px;
  border-color: rgba(74,144,217,0.5);
  background: rgba(74,144,217,0.15);
  cursor: pointer;
}
.ld-base-home .ld-base-head {
  display: block;
}
/* Base name labels */
.ld-base-label {
  position: absolute;
  white-space: nowrap;
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  pointer-events: none;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ld-base .ld-base-label {
  opacity: 1;
}
.ld-base-1 .ld-base-label { top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; }
.ld-base-2 .ld-base-label { bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; }
.ld-base-3 .ld-base-label { top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; }
.ld-base-mound .ld-base-label { top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; color: var(--muted); }
.ld-base-home .ld-base-label { bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; color: #4a90d9; }
/* Clickable bases */
.ld-base { cursor: pointer; }
.ld-base:hover { transform: scale(1.15); z-index: 10; }
/* Player popup on click */
.ld-player-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: rgba(10,18,30,0.95);
  border: 1px solid rgba(74,144,217,0.3);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: popupIn 0.2s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.ld-player-popup img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(74,144,217,0.5);
  object-fit: cover;
}
.ld-player-popup .popup-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}
.ld-player-popup .popup-role {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.ld-player-popup .popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
}
.ld-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}
.ld-home-label {
  font-size: 0.45rem;
  color: var(--muted);
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Runner names next to bases */
.ld-runner-name {
  position: absolute;
  white-space: nowrap;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: rotate(-45deg);
}
.ld-base.active .ld-runner-name { opacity: 1; }
.ld-base-1 .ld-runner-name { top: 50%; left: calc(100% + 8px); transform: translateY(-50%) rotate(-45deg); white-space: nowrap; }
.ld-base-2 .ld-runner-name { bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%) rotate(-45deg); white-space: nowrap; }
.ld-base-3 .ld-runner-name { top: 50%; right: calc(100% + 8px); transform: translateY(-50%) rotate(-45deg); white-space: nowrap; text-align: right; }

/* --- Count Panel --- */
.ld-count-panel {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}
.ld-matchup {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.ld-matchup-label {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.ld-matchup-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.ld-matchup-vs {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}
.ld-matchup-batter,
.ld-matchup-pitcher {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.ld-batter-headshot,
.ld-pitcher-headshot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}
.ld-batter-headshot {
  border-color: rgba(74,144,217,0.5);
}
.ld-pitcher-headshot {
  border-color: rgba(232,64,64,0.4);
}

.ld-count-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.ld-count-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--muted);
  width: 16px;
}
.ld-dots {
  display: flex;
  gap: 6px;
}
.ld-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}
.ld-dot.ball-active {
  background: #facc15;
  border-color: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
}
.ld-dot.strike-active {
  background: #ef4444;
  border-color: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}
.ld-dot.out-active {
  background: #9ca3af;
  border-color: #9ca3af;
  box-shadow: 0 0 6px rgba(156, 163, 175, 0.4);
}

/* --- Recent Plays --- */
.ld-plays {
  padding: 16px 20px;
  border-radius: 14px;
  max-width: none;
  max-width: 520px;
  margin: 0 auto;
}
.ld-plays-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.ld-plays-feed {
  max-height: 220px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
/* Broadcast section */
.ld-broadcast {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  border-color: rgba(255,255,255,0.08);
}
.ld-broadcast-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.ld-broadcast-icon {
  font-size: 1.2rem;
}
.ld-broadcast-title {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.15em;
  flex: 1;
}
.ld-broadcast-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(74,144,217,0.4);
  background: rgba(74,144,217,0.15);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.ld-broadcast-toggle:hover {
  background: rgba(74,144,217,0.3);
  border-color: rgba(74,144,217,0.6);
  transform: scale(1.03);
}
body.broadcast-late .ld-broadcast-toggle {
  border-color: rgba(240,200,102,0.45);
  background: rgba(240,200,102,0.14);
  color: var(--gold);
}
.ld-radio-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: rgba(74,144,217,0.1);
  border: 1px solid rgba(74,144,217,0.25);
}
.ld-radio-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ld-radio-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px #ef4444; }
  50% { opacity: 0.5; box-shadow: 0 0 8px #ef4444; }
}
.ld-radio-station {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.03em;
}
.ld-radio-volume {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.ld-radio-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-light);
  cursor: pointer;
}
.ld-broadcast-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ld-broadcast-btn {
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.ld-broadcast-btn:hover {
  background: rgba(74,144,217,0.15);
  border-color: rgba(74,144,217,0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.ld-broadcast-btn.active {
  background: rgba(74,144,217,0.2);
  border-color: rgba(74,144,217,0.5);
  box-shadow: 0 0 12px rgba(74,144,217,0.15);
}
.ld-broadcast-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.05em;
}
.ld-broadcast-sub {
  font-size: 0.6rem;
  color: var(--muted);
  font-weight: 600;
}
.ld-play-item {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ld-play-item:last-child { border-bottom: none; }
.ld-play-inning {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent-light);
  white-space: nowrap;
  padding-top: 2px;
}
.ld-play-desc {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.4;
}
.ld-plays-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.ld-plays-row > .ld-pitches,
.ld-plays-row > .ld-plays {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
}
.ld-pitches-feed {
  max-height: 220px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.ld-pitch-item {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}
.ld-pitch-item:last-child { border-bottom: none; }
.ld-pitch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ld-pitch-dot.ball { background: #facc15; }
.ld-pitch-dot.strike { background: #ef4444; }
.ld-pitch-dot.foul { background: #f97316; }
.ld-pitch-dot.inplay { background: #22c55e; }
.ld-pitch-dot.other { background: var(--muted); }
.ld-pitch-count {
  font-weight: 800;
  color: var(--muted);
  font-size: 0.65rem;
  min-width: 28px;
}
.ld-pitch-type {
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.65rem;
  min-width: 60px;
}
.ld-pitch-speed {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.7rem;
  min-width: 36px;
}
.ld-pitch-call {
  color: var(--text);
  flex: 1;
}
.ld-no-plays {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
}
@media (max-width: 700px) {
  .ld-plays-row { flex-direction: column; }
  .ld-plays-row > .ld-pitches,
  .ld-plays-row > .ld-plays { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
}
/* New play flash */
.ld-play-new {
  animation: playFlash 2s ease;
  background: rgba(34,197,94,0.12);
  border-left: 3px solid #22c55e;
  padding-left: 8px;
  border-radius: 4px;
}
@keyframes playFlash {
  0% { background: rgba(34,197,94,0.35); }
  100% { background: rgba(34,197,94,0.12); }
}
/* Event type colors */
.ld-play-hr { border-left: 3px solid #f59e0b; padding-left: 8px; background: rgba(245,158,11,0.08); border-radius: 4px; }
.ld-play-hr .ld-play-desc { color: #f59e0b; font-weight: 700; }
.ld-play-hit { border-left: 3px solid #22c55e; padding-left: 8px; }
.ld-play-hit .ld-play-desc { color: #86efac; }
.ld-play-walk { border-left: 3px solid #60a5fa; padding-left: 8px; }
.ld-play-k { border-left: 3px solid #ef4444; padding-left: 8px; }
.ld-play-k .ld-play-desc { color: #fca5a5; }
.ld-play-error { border-left: 3px solid #f97316; padding-left: 8px; background: rgba(249,115,22,0.06); }

/* Mobile tweaks */
@media (max-width: 600px) {
  .navbar {
    padding: 12px 14px;
    min-height: 72px;
  }
  .nav-center-img {
    height: 36px !important;
    max-width: 180px !important;
  }
  .nav-logo-img {
    width: 30px;
    height: auto;
  }
  .nav-toggle {
    padding: 6px;
  }
  .nav-toggle span {
    width: 22px;
  }
  .broadcast-truck-bar {
    grid-template-columns: 1fr;
  }
  .broadcast-takeover {
    padding: 14px;
  }
  .ld-diamond-row { flex-direction: column; gap: 20px; }
  .ld-count-panel { max-width: 100%; }
  .ld-scorebar { padding: 12px 14px; }
  .ld-scorebar-score { font-size: 1.8rem; }
}


/* ============================================================
   SERIES CENTER
   ============================================================ */

.series-intel {
  position: relative;
  padding: 88px 0 70px;
  background:
    radial-gradient(circle at top, rgba(26, 143, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(3, 10, 20, 0.98) 0%, rgba(7, 18, 34, 0.98) 45%, rgba(2, 9, 19, 1) 100%);
  overflow: hidden;
}
.series-intel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.65), transparent 90%);
  pointer-events: none;
}
.series-intel .container {
  position: relative;
  z-index: 1;
}
.series-intel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 18px;
  margin-top: 28px;
}
.series-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.series-hero,
.series-card,
.series-trend-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}
.series-hero {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(240, 200, 102, 0.14), transparent 34%),
    linear-gradient(140deg, rgba(0, 90, 156, 0.24), rgba(255,255,255,0.04));
}
.series-hero::after {
  content: '';
  position: absolute;
  inset: auto -20% -55% 35%;
  height: 220px;
  background: radial-gradient(circle, rgba(26,143,255,0.22), transparent 68%);
  pointer-events: none;
}
.series-hero-top,
.series-probables,
.series-trend-strip,
.series-snapshot-row,
.series-upcoming-item {
  position: relative;
  z-index: 1;
}
.series-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.series-badge,
.series-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.series-badge {
  color: #fff;
  background: linear-gradient(135deg, rgba(26,143,255,0.88), rgba(0,90,156,0.88));
  border-color: rgba(255,255,255,0.18);
}
.series-clock {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}
.series-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.series-meta {
  max-width: 42rem;
  color: rgba(240, 244, 255, 0.86);
  font-size: 1rem;
  margin-bottom: 22px;
}
.series-probables {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.series-probable {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.series-probable-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.series-probable-name {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
}
.series-probable-divider {
  align-self: center;
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}
.series-trend-card,
.series-card {
  padding: 24px;
}
.series-trend-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}
.series-trend-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 16px;
}
.series-trend-pill {
  min-width: 42px;
  padding: 8px 10px;
  border-radius: 14px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.series-trend-pill.win {
  color: #9ef0b0;
  background: rgba(34, 197, 94, 0.15);
}
.series-trend-pill.loss {
  color: #ffb4b4;
  background: rgba(239, 68, 68, 0.16);
}
.series-trend-pill.neutral {
  color: var(--muted);
}
.series-trend-copy {
  color: rgba(240, 244, 255, 0.8);
}
.series-snapshot-list,
.series-upcoming-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.series-snapshot-row,
.series-upcoming-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.series-snapshot-label,
.series-upcoming-date {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.series-snapshot-value {
  text-align: right;
  font-weight: 700;
}
.series-upcoming-item {
  align-items: flex-start;
}
.series-upcoming-main {
  display: grid;
  gap: 4px;
}
.series-upcoming-matchup {
  font-weight: 800;
  font-size: 0.98rem;
}
.series-upcoming-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .series-intel-grid,
  .series-subgrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .series-hero,
  .series-card,
  .series-trend-card {
    padding: 20px;
    border-radius: 20px;
  }

  .series-probables {
    grid-template-columns: 1fr;
  }

  .series-probable-divider {
    justify-self: start;
    padding-left: 2px;
  }

  .series-snapshot-row,
  .series-upcoming-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .series-snapshot-value {
    text-align: left;
  }
}


/* ============================================================
   STARTING LINEUP SECTION
   ============================================================ */

.lineup-section {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  overflow: hidden;
}
.lineup-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
}

.lineup-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
}
.lineup-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #002d72, #005a9c);
  border-bottom: 3px solid var(--gold);
}
.lineup-la-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.lineup-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
}
.lineup-card-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.12em;
}

.lineup-list {
  padding: 8px 0;
}
.lineup-row {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 12px;
  transition: background 0.2s ease;
}
.lineup-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.lineup-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--muted);
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.lineup-headshot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.lineup-player-info {
  flex: 1;
  min-width: 0;
}
.lineup-player-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.lineup-player-meta {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}
.lineup-ops {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--gold);
  flex-shrink: 0;
  min-width: 50px;
  text-align: right;
}

@media (max-width: 600px) {
  .lineup-card { margin: 0 8px; }
  .lineup-row { padding: 8px 14px; gap: 10px; }
  .lineup-headshot { width: 38px; height: 38px; }
  .lineup-player-name { font-size: 0.82rem; }
  .lineup-ops { font-size: 0.85rem; }
}


/* ===== ROSTER HORIZONTAL SCROLL FIX ===== */
.roster-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 14px !important;
  padding-bottom: 12px;
}
.player-card-wrap {
  min-width: 170px !important;
  flex-shrink: 0 !important;
  scroll-snap-align: start;
}
/* Glowing gold border on favorites */
.player-card-wrap.is-faved .player-card-front,
.player-card-wrap.star .player-card-front {
  border: 2px solid var(--gold) !important;
  box-shadow: 0 0 12px rgba(240,200,102,0.4), 0 0 30px rgba(240,200,102,0.15) !important;
}
/* Hide scrollbar but keep functionality */
.roster-grid::-webkit-scrollbar { height: 4px; }
.roster-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 2px; }
.roster-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

/* ===== FAV GLOW FIX - targets card wrapper directly ===== */
.player-card-wrap.is-faved,
.player-card-wrap.star {
  border: 2px solid rgba(240,200,102,0.7) !important;
  border-radius: 18px !important;
  box-shadow: 0 0 15px rgba(240,200,102,0.35), 0 0 35px rgba(240,200,102,0.12) !important;
  animation: favGlow 2.5s ease-in-out infinite !important;
}
@keyframes favGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(240,200,102,0.35), 0 0 35px rgba(240,200,102,0.12); }
  50% { box-shadow: 0 0 22px rgba(240,200,102,0.5), 0 0 45px rgba(240,200,102,0.2); }
}

.player-card-wrap.spotlight-live,
.player-card-wrap.spotlight-next {
  position: relative;
  overflow: hidden;
}
.player-card-wrap.spotlight-live::before,
.player-card-wrap.spotlight-next::before {
  content: '';
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.18) 46%, rgba(26,143,255,0.28) 52%, transparent 68%);
  transform: translateX(-90%) rotate(8deg);
  animation: spotlightSweep 4.6s ease-in-out infinite;
  animation-delay: var(--spotlight-delay, 0s);
  pointer-events: none;
  z-index: 3;
}
.player-card-wrap.spotlight-live::after,
.player-card-wrap.spotlight-next::after {
  content: 'Featured';
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(4,11,23,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 4;
}
.player-card-wrap.spotlight-live::after {
  content: 'Spotlight';
}

@keyframes spotlightSweep {
  0%, 14% { transform: translateX(-90%) rotate(8deg); opacity: 0; }
  24% { opacity: 1; }
  46%, 100% { transform: translateX(90%) rotate(8deg); opacity: 0; }
}

/* ===== CARD SIZE FOR HORIZONTAL SCROLL ===== */
.player-card-wrap {
  min-width: 150px !important;
  max-width: 150px !important;
  flex-shrink: 0 !important;
}
@media (min-width: 768px) {
  .player-card-wrap {
    min-width: 180px !important;
    max-width: 180px !important;
  }
}
.player-card-front {
  padding: 16px 10px !important;
}
.player-card-front .card-headshot {
  width: 70px !important;
  height: 70px !important;
}

/* ===== PITCH BY PITCH + RECENT PLAYS SIDE BY SIDE ===== */
.live-bottom-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  align-items: start;
}
.pitch-feed, .plays-feed {
  min-width: 0;
}
.pitch-feed { overflow: hidden; }
.plays-feed { max-height: 280px; overflow-y: auto; }

/* ===== MATCHUP REORDER: pitcher top, batter bottom ===== */
.ld-matchup {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  align-items: flex-start !important;
}
.ld-matchup-vs { display: none !important; }
.ld-matchup-batter,
.ld-matchup-pitcher {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* BSO stays compact on top */
.ld-count-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  justify-content: flex-start !important;
}

/* ===== PLAYS ROW: always side by side ===== */
.ld-plays-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}
.ld-pitches-feed, .ld-plays-feed {
  max-height: 260px;
  overflow-y: auto;
  font-size: 0.8rem;
}
@media (max-width: 480px) {
  .ld-pitches-feed, .ld-plays-feed {
    max-height: 200px;
    font-size: 0.72rem;
  }
  .ld-plays-header { font-size: 0.7rem; }
}

.pregame-intro {
  display: grid !important;
}

/* ============================================================
   ONE-PAGE SECTION NAV REPLACEMENT
   ============================================================ */
.section-nav {
  position: fixed;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 8px;
  border-radius: 999px;
  background: rgba(6, 12, 24, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: inherit;
  cursor: pointer;
}

.section-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-nav-item:hover .section-nav-dot {
  background: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.25);
}

.section-nav-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(6, 12, 24, 0.92);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(240,244,255,0.92);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.section-nav-item:hover .section-nav-tooltip,
.section-nav-item:focus-visible .section-nav-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.section-nav-item.is-active .section-nav-dot {
  width: 9px;
  height: 9px;
  background: #1a8fff;
  border-color: rgba(26,143,255,0.6);
  box-shadow: 0 0 10px rgba(26,143,255,0.45), 0 0 3px rgba(26,143,255,0.7);
}

.section-nav-item:focus-visible,
.section-nav-mobile-toggle:focus-visible,
.section-nav-mobile-link:focus-visible {
  outline: 2px solid rgba(26,143,255,0.6);
  outline-offset: 3px;
}

.section-nav-mobile {
  display: none !important;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  transition: opacity 0.3s ease;
}

body.pregame-active .section-nav,
body.pregame-active .section-nav-mobile,
body.portal-intro-active .section-nav,
body.portal-intro-active .section-nav-mobile {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Small hamburger icon button — top right on mobile */
.section-nav-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(6, 12, 24, 0.7);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Hide the text labels — mobile toggle is icon-only */
.section-nav-mobile-kicker { display: none; }
.section-nav-mobile-current { display: none; }

/* 3-bar hamburger icon via pseudo-elements */
.section-nav-mobile-icon {
  width: 16px;
  height: 12px;
  position: relative;
  border: none;
  transform: none;
}

.section-nav-mobile-icon::before,
.section-nav-mobile-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: rgba(240,244,255,0.9);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.section-nav-mobile-icon::before {
  top: 0;
  box-shadow: 0 5px 0 rgba(240,244,255,0.9);
}

.section-nav-mobile-icon::after {
  bottom: 0;
}

/* X state when open */
.section-nav-mobile.is-open .section-nav-mobile-icon::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: none;
}

.section-nav-mobile.is-open .section-nav-mobile-icon::after {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* Dropdown panel — opens below the hamburger */
.section-nav-mobile-panel {
  display: grid;
  gap: 2px;
  width: min(60vw, 190px);
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(6, 12, 24, 0.92);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.section-nav-mobile.is-open .section-nav-mobile-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.section-nav-mobile-link {
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(240,244,255,0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.section-nav-mobile-link.is-active {
  background: rgba(26,143,255,0.18);
  color: #fff;
}

.section-nav-mobile-link:active {
  background: rgba(26,143,255,0.28);
}

/* Mobile hero tighter spacing */
@media (max-width: 899px) {
  .hero-content {
    top: 4svh !important;
  }
  .hero-marquee {
    top: 48px;
  }
}

/* Smaller rail on mobile */
@media (max-width: 899px) {
  .section-nav {
    right: 8px;
    gap: 5px;
    padding: 8px 5px;
  }

  .section-nav-item {
    width: 12px;
    height: 12px;
  }

  .section-nav-dot {
    width: 5px;
    height: 5px;
  }

  .section-nav-item.is-active .section-nav-dot {
    width: 7px;
    height: 7px;
  }

  .section-nav-tooltip {
    display: none;
  }
}

@media (min-width: 900px) {
  .section-nav-mobile {
    display: none !important;
  }
}
