.page-home {
  background: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

.page-home section[id] {
  scroll-margin-top: 76px;
}

.page-home .container {
  max-width: var(--content-max);
}

.page-home .mono {
  font-family: var(--font-data);
}

/* ===================== HERO ===================== */
.page-home .hero-splash {
  position: relative;
  min-height: calc(100vh - var(--header-height, 60px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-data);
  border-bottom: var(--border-thick) solid var(--border-color);
  overflow: hidden;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.page-home .hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 20, 40, 0.94) 0%, rgba(10, 20, 40, 0.78) 45%, rgba(19, 33, 58, 0.55) 100%);
}

.page-home .hero-scanline {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    115deg,
    transparent 0px,
    transparent 32px,
    rgba(197, 255, 62, 0.06) 33px,
    transparent 34px,
    transparent 66px
  );
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 96px 20px 48px;
}

.page-home .hero-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  color: var(--text-aux);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-live);
}

.page-home .hero-live .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-live);
  animation: home-dot-pulse 1.6s ease-in-out infinite;
}

@keyframes home-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 255, 62, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(197, 255, 62, 0); }
}

.page-home .hero-kicker {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-live);
  border-left: 4px solid var(--accent-live);
  padding-left: 12px;
  margin: 0 0 16px;
}

.page-home .hero-title {
  font-size: clamp(34px, 8vw, 88px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 10em;
  margin: 0 0 18px;
  text-wrap: balance;
}

.page-home .hero-lead {
  color: var(--text-aux);
  font-size: 16px;
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 44px;
}

.page-home .hero-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
}

.page-home .hero-index-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(19, 33, 58, 0.82);
  border: 2px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  min-width: 0;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.page-home .hero-index-card:nth-child(5) {
  grid-column: 1 / -1;
}

.page-home .hero-index-card:hover,
.page-home .hero-index-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent-live);
  box-shadow: var(--shadow-card);
}

.page-home .hero-index-num {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--accent-live);
  letter-spacing: 0.08em;
}

.page-home .hero-index-name {
  font-size: 18px;
  font-weight: 800;
}

.page-home .hero-index-meta {
  font-size: 12px;
  color: var(--text-aux);
}

/* Score marquee */
.page-home .score-flow {
  position: relative;
  z-index: 2;
  border-top: 2px solid var(--border-color);
  background: rgba(10, 20, 40, 0.9);
  overflow: hidden;
  white-space: nowrap;
}

.page-home .score-flow .marquee-track {
  display: inline-flex;
  gap: 16px;
  padding: 10px 24px;
  animation: home-score-run 24s linear infinite;
  will-change: transform;
}

@keyframes home-score-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.page-home .score-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-aux);
  padding: 6px 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-data);
  font-family: var(--font-data);
}

.page-home .score-chip b {
  color: var(--text-main);
  font-weight: 700;
}

.page-home .score-chip em {
  color: var(--accent-live);
  font-style: normal;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .score-flow .marquee-track,
  .page-home .hero-live .status-dot {
    animation: none;
  }
}

/* ===================== SECTION LAYOUT ===================== */
.page-home .section-block {
  position: relative;
  padding: 60px 0;
  border-bottom: 2px solid var(--border-color);
}

.page-home .section-kicker {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent-live);
  display: block;
  margin-bottom: 8px;
}

.page-home .section-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-wrap: balance;
}

.page-home .section-lead {
  color: var(--text-aux);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 24px;
}

.page-home .aux-text {
  color: var(--text-aux);
  font-size: 13px;
  line-height: 1.7;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.page-home .btn--live {
  border-color: var(--accent-live);
  background: var(--accent-live);
  color: var(--bg-primary);
}

.page-home .btn--injury {
  border-color: var(--accent-injury);
  background: var(--accent-injury);
  color: var(--bg-primary);
}

.page-home .btn--ghost {
  border-color: var(--border-color);
  color: var(--text-aux);
}

.page-home .btn:hover,
.page-home .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ===================== LIVE SCORE ===================== */
.page-home .live-layout {
  display: grid;
  gap: 28px;
}

.page-home .live-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .live-intro .aux-text {
  margin-top: 16px;
}

.page-home .live-cards {
  display: grid;
  gap: 18px;
}

.page-home .live-primer {
  overflow: hidden;
}

.page-home .live-primer .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
}

.page-home .live-cover {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-home .live-primer .card-body {
  padding: 18px;
}

.page-home .live-compare .card-body {
  padding: 18px;
}

.page-home .data-block--simple {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  background: var(--bg-data);
  border: 1px solid var(--border-color);
  font-family: var(--font-data);
  font-size: 13px;
}

.page-home .data-block--simple div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.page-home .data-block--simple dt {
  color: var(--text-aux);
}

.page-home .data-block--simple dd {
  color: var(--accent-live);
  font-weight: 700;
  margin: 0;
}

.page-home .link-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .link-list a {
  color: var(--accent-live);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .link-list a:hover,
.page-home .link-list a:focus-visible {
  border-bottom-color: var(--accent-live);
}

/* ===================== LEGACY ===================== */
.page-home .legacy-layout {
  display: grid;
  gap: 28px;
}

.page-home .legacy-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 8px;
  background: var(--bg-data);
  border: 2px solid var(--border-color);
  min-height: 180px;
}

.page-home .legacy-phone {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  object-fit: contain;
}

.page-home .legacy-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-injury);
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  letter-spacing: 0.06em;
  animation: home-legacy-pulse 2.4s ease-in-out infinite;
}

@keyframes home-legacy-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 61, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255, 107, 61, 0); }
}

.page-home .legacy-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .legacy-features {
  display: grid;
  gap: 12px;
  margin: 8px 0 24px;
}

.page-home .feature-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.6;
}

.page-home .feature-num {
  font-family: var(--font-data);
  color: var(--accent-injury);
  font-size: 13px;
  flex-shrink: 0;
}

/* ===================== INJURY ===================== */
.page-home .injury-head {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.page-home .injury-summary {
  color: var(--text-aux);
  line-height: 1.8;
  font-size: 15px;
  max-width: 640px;
}

.page-home .injury-timeline {
  position: relative;
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .injury-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-injury) 0%, var(--border-color) 100%);
}

.page-home .injury-entry {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.page-home .injury-entry::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 26px;
  background: var(--bg-primary);
  border: 2px solid var(--accent-injury);
  border-radius: 50%;
}

.page-home .entry-round {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--accent-injury);
  letter-spacing: 0.08em;
  grid-column: 2;
}

.page-home .entry-card {
  grid-column: 2;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  padding: 16px;
}

.page-home .entry-card .tag {
  margin-bottom: 8px;
}

.page-home .entry-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.35;
}

.page-home .entry-card p {
  color: var(--text-aux);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 10px;
}

.page-home .entry-meta {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text-aux);
}

.page-home .injury-more {
  text-align: center;
}

/* ===================== LEAGUE ===================== */
.page-home .league-head {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .league-summary {
  color: var(--text-aux);
  line-height: 1.8;
  font-size: 15px;
  max-width: 640px;
}

.page-home .league-alphabet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.page-home .alpha-key {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 10px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.page-home .alpha-key:hover,
.page-home .alpha-key:focus-visible {
  border-color: var(--accent-live);
}

.page-home .alpha-key[data-active] {
  background: var(--accent-live);
  color: var(--bg-primary);
  border-color: var(--accent-live);
}

.page-home .league-figure {
  margin: 0 0 20px;
}

.page-home .league-map {
  width: 100%;
  max-width: 800px;
  height: auto;
  border: 2px solid var(--border-color);
  display: block;
  object-fit: cover;
}

.page-home .league-figure figcaption {
  font-size: 12px;
  color: var(--text-aux);
  margin-top: 8px;
  font-family: var(--font-data);
}

.page-home .league-letter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 22px;
}

.page-home .letter-cell {
  display: grid;
  place-items: center;
  min-height: 44px;
  background: var(--bg-data);
  border: 1px solid var(--border-color);
  color: var(--text-aux);
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
}

.page-home .league-panels {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .league-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  padding: 18px;
}

.page-home .league-panel.is-hidden {
  display: none;
}

.page-home .league-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-home .stat-num {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-live);
  font-family: var(--font-data);
}

.page-home .stat-label {
  font-size: 12px;
  color: var(--text-aux);
  margin-top: 4px;
}

.page-home .league-detail p {
  color: var(--text-aux);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 8px;
}

.page-home .panel-meta {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--accent-live);
}

.page-home .league-note {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 0;
  border-top: 1px solid var(--border-color);
}

.page-home .league-total {
  color: var(--text-aux);
  font-size: 14px;
}

.page-home .league-total strong {
  color: var(--text-main);
  font-family: var(--font-data);
}

/* ===================== WATCHLIST ===================== */
.page-home .watch-layout {
  display: grid;
  gap: 28px;
}

.page-home .watch-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .watch-steps {
  display: grid;
  gap: 16px;
  margin: 8px 0 24px;
}

.page-home .step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-home .step-num {
  font-family: var(--font-data);
  font-size: 22px;
  font-weight: 900;
  color: var(--accent-live);
  line-height: 1;
  flex-shrink: 0;
  border: 2px solid var(--border-color);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.page-home .step-item h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 4px;
}

.page-home .step-item p {
  color: var(--text-aux);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.page-home .watch-preview .preview-card {
  overflow: hidden;
}

.page-home .watch-preview .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
}

.page-home .watch-preview .card-body {
  padding: 18px;
}

.page-home .watch-items {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .watch-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--bg-data);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
}

.page-home .watch-item-name {
  font-size: 15px;
  font-weight: 700;
}

.page-home .watch-item-status {
  flex-shrink: 0;
}

.page-home .watch-footnote {
  margin: 0;
  font-size: 12px;
}

/* ===================== EXPLORE ===================== */
.page-home .explore-section {
  padding-bottom: 48px;
}

.page-home .explore-head {
  margin-bottom: 28px;
}

.page-home .explore-grid {
  display: grid;
  gap: 12px;
}

.page-home .explore-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.page-home .explore-card:hover,
.page-home .explore-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-live);
  box-shadow: var(--shadow-card);
}

.page-home .explore-num {
  font-family: var(--font-data);
  color: var(--accent-live);
  font-size: 14px;
}

.page-home .explore-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.page-home .explore-card p {
  color: var(--text-aux);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ===================== RESPONSIVE ===================== */
@media (min-width: 768px) {
  .page-home .hero-inner {
    padding: 110px 32px 56px;
  }

  .page-home .hero-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .hero-index-card:nth-child(5) {
    grid-column: auto;
  }

  .page-home .hero-title {
    font-size: clamp(52px, 9vw, 96px);
  }

  .page-home .section-block {
    padding: 80px 0;
  }

  .page-home .live-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 40px;
  }

  .page-home .live-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .page-home .legacy-layout {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 40px;
  }

  .page-home .legacy-visual {
    min-height: 220px;
  }

  .page-home .injury-head,
  .page-home .league-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .page-home .injury-entry {
    grid-template-columns: 24px 140px 1fr;
    gap: 16px;
  }

  .page-home .injury-timeline::before {
    left: 11px;
  }

  .page-home .injury-entry::before {
    margin-top: 30px;
  }

  .page-home .entry-round {
    grid-column: 2;
    padding-top: 4px;
  }

  .page-home .entry-card {
    grid-column: 3;
  }

  .page-home .league-alphabet {
    grid-template-columns: repeat(6, 1fr);
  }

  .page-home .league-letter-grid {
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
  }

  .page-home .league-panels {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .league-note {
    flex-direction: row;
  }

  .page-home .watch-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

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

@media (min-width: 1080px) {
  .page-home .hero-inner {
    padding: 120px 48px 72px;
  }

  .page-home .hero-index {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .section-block {
    padding: 96px 0;
  }

  .page-home .explore-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
