.page-home {
  --home-max: 1400px;
  --ring-size: 148px;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 191, 255, 0.08), transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(57, 255, 136, 0.06), transparent 45%),
    var(--bg);
  color: var(--ink);
  overflow: clip;
}

.page-home .home-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 14, 23, 0.8);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
}

.page-home .breadcrumb a {
  color: var(--electric);
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  color: var(--neon);
}

.page-home .breadcrumb span[aria-current="page"] {
  color: var(--muted);
}

.page-home .home-sync strong {
  color: var(--neon);
  font-weight: 700;
}

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 7vh, 5.5rem) clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  min-height: min(760px, 94vh);
}

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

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 14, 23, 0.98) 0%, rgba(10, 14, 23, 0.88) 45%, rgba(10, 14, 23, 0.62) 78%, rgba(10, 14, 23, 0.55) 100%),
    radial-gradient(circle at 78% 30%, rgba(0, 191, 255, 0.2) 0%, transparent 55%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}

.page-home .hero-inner {
  width: 100%;
  max-width: var(--home-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

.page-home .hero-copy .eyebrow {
  color: var(--electric);
}

.page-home .hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.35rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0.85rem 0 1.4rem;
  text-wrap: balance;
}

.page-home .hero-lead {
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 1.75rem;
  border-left: 3px solid var(--neon);
  padding-left: 1rem;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .home-dashboard {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.page-home .dash-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 1.1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .dash-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.page-home .possession-ring {
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  background: conic-gradient(
    var(--neon) 0%,
    var(--neon) 63%,
    rgba(255, 255, 255, 0.08) 63%,
    rgba(255, 255, 255, 0.08) 100%
  );
  display: grid;
  place-items: center;
  margin: 0.5rem auto;
}

.page-home .ring-inner {
  width: calc(var(--ring-size) - 30px);
  height: calc(var(--ring-size) - 30px);
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.page-home .ring-value {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--neon);
  line-height: 1;
}

.page-home .ring-unit {
  font-size: 1rem;
  color: var(--muted);
}

.page-home .ring-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.page-home .shot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.page-home .shot-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  display: flex;
  flex-direction: column;
}

.page-home .shot-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
}

.page-home .shot-text {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.page-home .dash-particle {
  position: absolute;
  right: -0.75rem;
  bottom: -0.9rem;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(0, 191, 255, 0.35);
  opacity: 0.9;
  box-shadow: 0 0 0 6px rgba(0, 191, 255, 0.08);
  z-index: 3;
}

.page-home .home-stats-triplet {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.page-home .home-stats-triplet div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.page-home .home-stats-triplet strong {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  color: var(--neon);
  line-height: 1.1;
}

.page-home .home-stats-triplet span {
  font-size: 0.82rem;
  color: var(--muted);
}

.page-home .home-ticker,
.page-home .home-reports,
.page-home .home-lineups,
.page-home .home-timeline,
.page-home .home-bookmark {
  max-width: var(--home-max);
  margin-right: auto;
  margin-left: auto;
  padding: clamp(2.75rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  width: 100%;
}

.page-home .home-ticker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.page-home .ticker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.page-home .ticker-heading h2,
.page-home .reports-heading h2,
.page-home .lineups-head h2,
.page-home .timeline-head h2,
.page-home .bookmark-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  margin: 0.35rem 0 0;
}

.page-home .ticker-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-home .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neon);
  background: rgba(57, 255, 136, 0.1);
  border: 1px solid rgba(57, 255, 136, 0.3);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}

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

.page-home .ticker-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-home .ticker-viewport {
  overflow: hidden;
  max-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.page-home .ticker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  animation: home-ticker-roll 28s linear infinite;
  will-change: transform;
}

.page-home .ticker-viewport:hover .ticker-list,
.page-home .ticker-viewport:focus-within .ticker-list {
  animation-play-state: paused;
}

.page-home .ticker-item {
  display: grid;
  grid-template-columns: 5.8em 1fr;
  gap: 0.15rem 0.75rem;
  align-items: baseline;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  background: linear-gradient(90deg, rgba(0, 191, 255, 0.06) 0%, transparent 40%);
}

.page-home .ticker-item:nth-child(odd) {
  background: transparent;
}

.page-home .ticker-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--electric);
  white-space: nowrap;
}

.page-home .ticker-match {
  color: var(--ink);
  font-weight: 600;
}

.page-home .ticker-meta {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
}

.page-home .ticker-side {
  background: var(--glass);
  border-left: 2px solid var(--electric);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.page-home .ticker-side p {
  margin: 0 0 0.6rem;
}

.page-home .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--electric);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: border-color 0.2s ease;
}

.page-home .link-arrow:hover {
  border-bottom-color: var(--electric);
}

.page-home .home-reports {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 191, 255, 0.06), transparent 35%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015) 100%);
}

.page-home .reports-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.page-home .reports-heading h2,
.page-home .timeline-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.page-home .reports-desc,
.page-home .lineups-desc,
.page-home .timeline-desc,
.page-home .bookmark-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 62ch;
  margin: 0.6rem 0 0;
}

.page-home .reports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-home .report-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-home .report-card:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 255, 136, 0.35);
}

.page-home .report-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .report-featured img {
  aspect-ratio: 4 / 3;
}

.page-home .report-body {
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.page-home .report-round {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.page-home .report-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

.page-home .report-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
  margin: 0.6rem 0 0;
}

.page-home .report-metrics > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.page-home .report-metrics dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.page-home .report-metrics dd {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0;
}

.page-home .report-footer {
  margin-top: auto;
}

.page-home .home-lineups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 100%, rgba(57, 255, 136, 0.06), transparent 30%),
    transparent;
}

.page-home .lineups-head h2,
.page-home .bookmark-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-home .lineup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .lineup-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.4;
}

.page-home .lineup-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.page-home .tag-update i {
  background: var(--neon);
  box-shadow: 0 0 8px rgba(57, 255, 136, 0.6);
}

.page-home .tag-injury i {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 179, 2, 0.5);
}

.page-home .home-timeline {
  border-bottom: 1px solid var(--line);
}

.page-home .timeline-head {
  margin-bottom: 2rem;
}

.page-home .timeline-head .link-arrow {
  margin-top: 0.75rem;
}

.page-home .timeline-desc {
  margin-bottom: 0.4rem;
}

.page-home .timeline-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-home .timeline-col {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.page-home .timeline-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.page-home .timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.page-home .timeline-list li {
  display: grid;
  grid-template-columns: 3.8em 1fr;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.92rem;
  position: relative;
}

.page-home .timeline-list li::before {
  content: "";
  position: absolute;
  left: 2.3em;
  top: 1.2em;
  width: 1px;
  height: 1.4em;
  background: var(--line);
}

.page-home .timeline-list li:last-child::before {
  display: none;
}

.page-home .tl-time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon);
  font-weight: 700;
}

.page-home .timeline-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.page-home .vs-line {
  width: 32%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
}

.page-home .timeline-slider {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .timeline-slider label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.page-home .timeline-slider input[type="range"] {
  flex: 1 1 220px;
  max-width: 480px;
  accent-color: var(--electric);
}

.page-home .home-bookmark {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.page-home .bookmark-desc .inline-link {
  color: var(--electric);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 191, 255, 0.4);
}

.page-home .bookmark-desc .inline-link:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

.page-home .bookmark-panel {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: linear-gradient(135deg, rgba(57, 255, 136, 0.07), transparent 55%), var(--surface);
  border: 1px solid rgba(57, 255, 136, 0.28);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.page-home .bookmark-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .bookmark-check input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--neon);
  flex: none;
}

.page-home .bookmark-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .page-home .home-dashboard {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 720px) {
  .page-home .ticker-item {
    grid-template-columns: 6.5em 1.4fr 1fr;
    align-items: center;
  }

  .page-home .ticker-meta {
    grid-column: auto;
    justify-self: end;
  }
}

@media (min-width: 820px) {
  .page-home .reports-grid {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    align-items: stretch;
  }

  .page-home .home-lineups {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .page-home .lineup-tags {
    justify-content: flex-end;
  }

  .page-home .timeline-compare {
    grid-template-columns: 1fr 4.5rem 1fr;
    align-items: stretch;
  }

  .page-home .timeline-vs {
    flex-direction: column;
  }

  .page-home .vs-line {
    width: 1px;
    height: 40%;
    background: linear-gradient(180deg, transparent, var(--electric), transparent);
  }
}

@media (min-width: 960px) {
  .page-home .hero-inner {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .page-home .reports-head {
    grid-template-columns: 1fr 1.2fr auto;
    align-items: end;
  }

  .page-home .reports-head .reports-desc {
    margin: 0;
  }

  .page-home .reports-head .link-arrow {
    justify-self: end;
  }

  .page-home .home-ticker {
    grid-template-columns: 1fr 2.5fr;
    align-items: start;
  }

  .page-home .home-bookmark {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ticker-list,
  .page-home .live-dot {
    animation: none;
  }

  .page-home .report-card {
    transition: none;
  }
}

@keyframes home-ticker-roll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes home-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}
