/* Estep Sports Network — Design System */

/* === CSS Custom Properties === */
:root {
  --brand-primary: #C6011F;
  --brand-secondary: #000000;
  --brand-accent: #FFFFFF;
  --bg-page: #F8F8F8;
  --bg-surface: #FFFFFF;
  --bg-section: #F0F0F0;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --border-color: #E0E0E0;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-container: 1200px;
  --max-article: 720px;
  --header-height: 60px;
}

/* === Reset === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Base === */
html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Container === */
.container {
  max-width: var(--max-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand-primary);
  color: var(--brand-accent);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--max-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo:hover {
  text-decoration: none;
}

.logo-text {
  font-size: 1.33rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.logo-img {
  max-height: 36px;
  width: auto;
}

/* === Navigation === */
.site-nav {
  display: none;
}

.site-nav a {
  color: var(--brand-accent);
  text-decoration: none;
  font-size: 0.833rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  opacity: 0.9;
  transition: opacity 0.15s ease-out;
}

.site-nav a:hover {
  opacity: 1;
  text-decoration: none;
}

/* Hamburger button */
.menu-toggle {
  background: none;
  border: none;
  color: var(--brand-accent);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile slide-out menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--brand-secondary);
  z-index: 200;
  transition: right 0.25s ease-out;
  padding: var(--header-height) 0 2rem;
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  color: var(--brand-accent);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.mobile-nav-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  color: var(--brand-accent);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* === Main Content === */
.site-main {
  flex: 1;
  padding: 2rem 0;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 2.22rem;
  font-weight: 700;
}

h2 {
  font-size: 1.33rem;
  font-weight: 600;
}

h3 {
  font-size: 1.11rem;
  font-weight: 600;
}

/* === Article Card === */
.article-card {
  background: var(--bg-surface);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-card a {
  color: inherit;
  text-decoration: none;
}

.article-card a:hover {
  text-decoration: none;
}

.card-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-section);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: var(--brand-accent);
  font-size: 2rem;
  font-weight: 800;
  opacity: 0.8;
}

.card-body {
  padding: 1rem;
}

.card-category {
  display: inline-block;
  font-size: 0.667rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--brand-primary);
  color: var(--brand-accent);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  transition: color 0.15s ease-out;
}

.article-card:hover .card-title {
  color: var(--brand-primary);
}

.card-meta {
  font-size: 0.778rem;
  color: var(--text-secondary);
}

.card-excerpt {
  font-size: 0.889rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* === Hero / Featured Card === */
.hero-card {
  background: var(--bg-surface);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-card .card-image {
  aspect-ratio: 16 / 9;
}

.hero-card .card-body {
  padding: 1.5rem;
}

.hero-card .card-title {
  font-size: 1.33rem;
  font-weight: 700;
}

.hero-card .card-excerpt {
  margin-top: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-card .card-meta {
  margin-top: 0.5rem;
}

/* === Article Grid === */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* === Section Heading === */
.section-heading {
  font-size: 1.11rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-primary);
}

/* === Category Tabs === */
.category-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.category-tab {
  padding: 0.75rem 1rem;
  font-size: 0.833rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}

.category-tab:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.category-tab.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

/* === Article Page === */
.article-page {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-breadcrumb {
  font-size: 0.778rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.article-breadcrumb a {
  color: var(--text-secondary);
}

.article-breadcrumb a:hover {
  color: var(--brand-primary);
}

.article-headline {
  font-size: 2.22rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.article-byline {
  font-size: 0.778rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.article-byline .author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.article-byline .separator {
  color: var(--border-color);
}

.article-hero-image {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-caption {
  font-size: 0.778rem;
  color: var(--text-secondary);
  font-style: italic;
  padding: 0.5rem 0;
}

/* Article body content */
.article-body p {
  margin-bottom: 1.25em;
}

.article-body h2 {
  font-size: 1.33rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.article-body h3 {
  font-size: 1.11rem;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.article-body blockquote {
  border-left: 4px solid var(--brand-primary);
  padding-left: 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}

.article-body li {
  margin-bottom: 0.35em;
}

.article-body a {
  color: var(--brand-primary);
  text-decoration: underline;
}

.article-body img {
  border-radius: 8px;
  margin: 1.5em 0;
}

/* Article tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.article-tag {
  font-size: 0.722rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-section);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  text-decoration: none;
}

.article-tag:hover {
  color: var(--brand-primary);
  text-decoration: none;
}

/* Share buttons */
.share-buttons {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}

.share-btn:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

.share-copied {
  font-size: 0.778rem;
  color: var(--brand-primary);
  font-weight: 600;
  display: none;
  align-items: center;
  padding: 0 0.5rem;
}

.share-copied.visible {
  display: flex;
}

/* Related articles */
.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.related-articles .section-heading {
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* === Category Page === */
.category-header {
  margin-bottom: 2rem;
}

.category-header h1 {
  margin-bottom: 0.5rem;
}

.category-description {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* === Error Page === */
.error-page {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--border-color);
  line-height: 1;
}

.error-message {
  font-size: 1.33rem;
  color: var(--text-primary);
  margin-top: 1rem;
}

.error-detail {
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

.error-home-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background: var(--brand-primary);
  color: var(--brand-accent);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: opacity 0.15s ease-out;
}

.error-home-link:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* === Footer === */
.site-footer {
  background: var(--brand-secondary);
  color: var(--brand-accent);
  padding: 2.5rem 0;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-size: 1.11rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--brand-accent);
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.833rem;
  transition: opacity 0.15s ease-out;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--brand-accent);
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.833rem;
  transition: opacity 0.15s ease-out;
}

.footer-social a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-copyright {
  font-size: 0.778rem;
  opacity: 0.6;
}

.footer-network {
  font-size: 0.722rem;
  opacity: 0.5;
}

/* === Accessibility === */
:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  .article-card,
  .mobile-nav,
  .nav-overlay,
  .share-btn,
  a {
    transition: none;
  }

  .article-card:hover {
    transform: none;
  }
}

/* === Responsive: Tablet (768px) === */
@media (min-width: 768px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .menu-toggle {
    display: none;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* === Responsive: Desktop (1024px) === */
@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
  }

  .hero-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
  }
}

/* === Responsive: Wide (1440px) === */
@media (min-width: 1440px) {
  .container {
    padding: 0 2rem;
  }

  .header-inner {
    padding: 0 2rem;
  }

  .footer-inner {
    padding: 0 2rem;
  }
}

/* === Responsive: Small Mobile === */
@media (max-width: 374px) {
  html {
    font-size: 16px;
  }

  .article-headline {
    font-size: 1.75rem;
  }
}

/* ================================================================
   STANDINGS PAGE
   ================================================================ */

.standings-header {
  margin-bottom: 1.5rem;
}

.standings-header h1 {
  margin-bottom: 0.25rem;
}

.standings-season {
  color: var(--text-secondary);
  font-size: 0.889rem;
}

.standings-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.standings-tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.833rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}

.standings-tab:hover {
  color: var(--text-primary);
}

.standings-tab.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

.standings-division {
  margin-bottom: 2rem;
}

.division-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.standings-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.833rem;
}

.standings-table th,
.standings-table td {
  padding: 0.5rem 0.75rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.standings-table th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.722rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-section);
}

.standings-table .team-col {
  text-align: left;
  min-width: 140px;
}

.brand-team-row {
  background: rgba(198, 1, 31, 0.06);
}

.brand-team-row td {
  border-bottom-color: var(--brand-primary);
}

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: table-cell;
  }
}

/* ================================================================
   SCHEDULE PAGE
   ================================================================ */

.schedule-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.schedule-month-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.month-nav-btn {
  font-size: 0.833rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: background 0.15s ease-out;
}

.month-nav-btn:hover {
  background: var(--bg-section);
  text-decoration: none;
}

.month-label {
  font-size: 1.11rem;
  font-weight: 700;
  min-width: 160px;
  text-align: center;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule-game {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.schedule-game:first-child {
  border-top: 1px solid var(--border-color);
}

.schedule-today {
  background: rgba(198, 1, 31, 0.04);
  border-left: 3px solid var(--brand-primary);
}

.schedule-live {
  background: rgba(198, 1, 31, 0.06);
}

.game-date {
  font-size: 0.778rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.game-matchup {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.game-teams {
  font-size: 0.889rem;
  font-weight: 600;
}

.game-at {
  color: var(--text-secondary);
  margin: 0 0.25rem;
  font-weight: 400;
}

.game-loser {
  opacity: 0.6;
}

.game-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.833rem;
}

.game-score {
  font-weight: 700;
}

.game-status {
  font-size: 0.722rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.game-status.final {
  color: var(--text-secondary);
}

.game-status.live {
  color: #D32F2F;
}

.game-time {
  font-size: 0.833rem;
  color: var(--text-secondary);
}

.game-links {
  display: flex;
  gap: 0.5rem;
}

.game-link {
  font-size: 0.722rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  text-decoration: none;
}

.live-link {
  background: var(--brand-primary);
  color: var(--brand-accent);
}

.recap-link {
  background: var(--bg-section);
  color: var(--text-primary);
}

.game-venue {
  grid-column: 1 / -1;
  font-size: 0.722rem;
  color: var(--text-secondary);
  padding-top: 0.25rem;
  display: none;
}

.schedule-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .schedule-game {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.75rem;
  }

  .game-links {
    margin-top: 0.25rem;
  }
}

@media (min-width: 768px) {
  .schedule-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .game-venue {
    display: block;
  }
}

/* ================================================================
   LIVE BLOG PAGE
   ================================================================ */

.live-blog-header {
  text-align: center;
  margin-bottom: 2rem;
}

.live-badge,
.final-badge {
  display: inline-block;
  font-size: 0.722rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.live-badge {
  background: #D32F2F;
  color: #fff;
  animation: pulse-live 2s ease-in-out infinite;
}

.final-badge {
  background: var(--bg-section);
  color: var(--text-secondary);
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.game-scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-surface);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.scoreboard-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 100px;
}

.scoreboard-team .team-name {
  font-size: 0.889rem;
  font-weight: 700;
}

.scoreboard-team .team-score {
  font-size: 2.22rem;
  font-weight: 800;
  line-height: 1;
}

.scoreboard-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-secondary);
}

.inning-display {
  font-size: 0.778rem;
  font-weight: 600;
  text-transform: uppercase;
}

.recap-banner {
  text-align: center;
  padding: 1rem;
  background: var(--bg-section);
  border-radius: 6px;
  margin-bottom: 2rem;
  font-weight: 600;
}

.recap-banner a {
  color: var(--brand-primary);
  text-decoration: underline;
}

.live-blog-updates {
  max-width: var(--max-article);
  margin: 0 auto;
}

.live-update {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.live-update:last-child {
  border-bottom: none;
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.update-time {
  font-size: 0.778rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.update-inning {
  font-size: 0.722rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(198, 1, 31, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.update-type-badge {
  font-size: 0.667rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  background: var(--bg-section);
  color: var(--text-secondary);
}

.update-badge-scoring_play,
.update-badge-home_run {
  background: rgba(198, 1, 31, 0.1);
  color: var(--brand-primary);
}

.update-headline {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.update-body {
  font-size: 0.889rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.update-score {
  font-size: 0.778rem;
  font-weight: 700;
  margin-top: 0.35rem;
  color: var(--text-primary);
}

.updates-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

/* ================================================================
   BOX SCORE
   ================================================================ */

.box-score {
  margin: 2rem 0;
}

.box-score-section {
  margin-bottom: 1.5rem;
}

.box-score-heading {
  font-size: 0.889rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.box-score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.778rem;
}

.box-score-table th,
.box-score-table td {
  padding: 0.4rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.box-score-table th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.667rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-section);
}

.box-score-table .team-col,
.box-score-table .player-col {
  text-align: left;
  white-space: nowrap;
}

.box-score-table .player-col {
  min-width: 120px;
}

.box-score-table .total-col {
  font-weight: 600;
  background: var(--bg-section);
}

.linescore-table td,
.linescore-table th {
  min-width: 28px;
}

.player-pos {
  font-size: 0.667rem;
  color: var(--text-secondary);
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  .live-badge {
    animation: none;
  }
}
