.page-home .home-context {
  padding-top: 20px;
}
.page-home .home-context-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-home .home-context-line .mono {
  color: var(--mint);
  letter-spacing: 0.16em;
}
.page-home .home-context-sep {
  color: var(--line);
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 84px) 0 clamp(36px, 6vw, 72px);
  isolation: isolate;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -26%;
  width: 68%;
  height: 150%;
  background: linear-gradient(135deg, rgba(43, 255, 198, 0.09), rgba(43, 255, 198, 0) 62%);
  transform: skewX(-14deg);
  pointer-events: none;
  z-index: -1;
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line), rgba(30, 48, 84, 0));
}
.page-home .hero-lines {
  position: absolute;
  top: 4%;
  right: -8%;
  width: min(680px, 82%);
  height: auto;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}
.page-home .hero-lines path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}
.page-home .hero-lines circle {
  fill: none;
  stroke: var(--mint);
  stroke-width: 1;
  opacity: 0.55;
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.page-home .hero-title {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 13vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}
.page-home .hero-title span {
  display: block;
  color: var(--mint);
}
.page-home .hero-lead {
  max-width: 46ch;
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .hero-nav-label {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lava-soft);
}
.page-home .hero-anchors {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.page-home .hero-anchors a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: padding-left 0.24s ease, border-color 0.24s ease;
}
.page-home .hero-anchor-idx {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.24s ease;
}
.page-home .hero-anchor-label {
  font-size: 16px;
  line-height: 1.35;
}
.page-home .hero-anchor-meta {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.page-home .hero-anchors a:hover,
.page-home .hero-anchors a:focus-visible {
  padding-left: 6px;
  border-bottom-color: var(--mint-deep);
}
.page-home .hero-anchors a:hover .hero-anchor-idx,
.page-home .hero-anchors a:focus-visible .hero-anchor-idx {
  color: var(--mint);
}

.page-home .hero-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel), 0 0 0 1px rgba(43, 255, 198, 0.08);
}
.page-home .hero-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 78%;
  height: 120%;
  background: radial-gradient(ellipse at 70% 30%, rgba(43, 255, 198, 0.16), rgba(43, 255, 198, 0) 68%);
  animation: home-glow 6.4s ease-in-out infinite;
  pointer-events: none;
}
.page-home .hero-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  pointer-events: none;
}
.page-home .hero-card-body {
  position: relative;
  padding: clamp(20px, 4vw, 32px);
}
.page-home .hero-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.page-home .hero-card-head .eyebrow {
  margin: 0;
}
.page-home .hero-batch {
  margin: 16px 0 8px;
  font-size: clamp(38px, 9vw, 62px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--mint);
  cursor: copy;
}
.page-home .hero-batch.is-copied {
  color: var(--lava);
}
.page-home .hero-card-note {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.page-home .hero-card-rows {
  margin: 0 0 20px;
  border-top: 1px solid var(--line);
}
.page-home .hero-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.page-home .hero-card-row dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.page-home .hero-card-row dd {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.page-home .hero-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@keyframes home-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.page-home .home-install .install-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .install-step {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}
.page-home .install-step-idx {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--lava);
}
.page-home .install-step h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.page-home .install-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}
.page-home .install-step-tip {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px !important;
  color: var(--lava-soft) !important;
}
.page-home .install-fallback {
  max-width: 68ch;
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.page-home .install-fallback a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-versions {
  position: relative;
  overflow: hidden;
}
.page-home .ver-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}
.page-home .home-versions .section-head,
.page-home .home-versions .ver-list,
.page-home .home-versions .ver-actions {
  position: relative;
  z-index: 1;
}
.page-home .ver-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 1px solid var(--line);
}
.page-home .ver-item {
  position: relative;
  padding-bottom: 26px;
}
.page-home .ver-item:last-child {
  padding-bottom: 0;
}
.page-home .ver-dot {
  position: absolute;
  left: -27px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--mint);
}
.page-home .ver-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.page-home .ver-batch {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--mint);
  cursor: copy;
}
.page-home .ver-batch.is-copied {
  color: var(--lava);
}
.page-home .ver-note {
  margin: 8px 0 6px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
}
.page-home .ver-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.page-home .ver-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.page-home .ver-hint {
  font-size: 12.5px;
  color: var(--muted);
}

.page-home .home-data .data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.page-home .data-figure {
  margin: 0;
}
.page-home .data-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .data-panel {
  padding: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
.page-home .data-panel .panel-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-home .score-list {
  padding: 6px 18px 14px;
}
.page-home .score-row {
  display: grid;
  grid-template-columns: 44px 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.page-home .score-row:last-child {
  border-bottom: 0;
}
.page-home .score-league {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.page-home .score-num {
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.page-home .score-track {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--ink);
}
.page-home .score-fill {
  display: block;
  height: 100%;
}
.page-home .score-fill--home {
  background: var(--mint);
}
.page-home .score-fill--away {
  background: var(--lava);
}
.page-home .dist {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: end;
  height: 150px;
  padding: 20px 18px 12px;
}
.page-home .dist-col {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 100%;
}
.page-home .dist-bar {
  display: block;
  width: calc(50% - 3px);
  min-height: 5px;
  border-radius: 2px 2px 0 0;
}
.page-home .dist-bar--home {
  background: linear-gradient(180deg, var(--mint), var(--mint-deep));
}
.page-home .dist-bar--away {
  background: linear-gradient(180deg, var(--lava-soft), var(--lava));
}
.page-home .dist-label {
  flex: 0 0 100%;
  margin-top: 6px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.page-home .data-panel-note {
  margin: 0;
  padding: 12px 18px 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.page-home .data-leagues {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.page-home .data-leagues-lead {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.page-home .league-switch {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--layer);
}
.page-home .league-switch summary {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.page-home .league-switch summary::-webkit-details-marker {
  display: none;
}
.page-home .league-switch summary::after {
  content: " +";
  color: var(--mint);
}
.page-home .league-switch[open] summary::after {
  content: " −";
}
.page-home .league-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0 16px 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.page-home .league-list li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .follow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}
.page-home .follow-copy .sec-title {
  margin: 12px 0 14px;
}
.page-home .follow-lead {
  max-width: 60ch;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.page-home .follow-points {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.page-home .follow-points li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}
.page-home .follow-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 1px;
  background: var(--mint);
}
.page-home .follow-figure {
  margin: 0;
}

.page-home .home-support {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.page-home .support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.page-home .support-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 16px;
  background: var(--panel);
}
.page-home .support-stat .stat-value {
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--mint);
}
.page-home .support-stat .stat-label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.page-home .support-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}
.page-home .support-line {
  flex: 1 1 320px;
  max-width: 62ch;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}
.page-home .support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 720px) {
  .page-home .home-context {
    padding-top: 26px;
  }
  .page-home .install-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .data-panels {
    grid-template-columns: 1fr;
  }
  .page-home .support-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(32px, 4vw, 60px);
  }
  .page-home .hero-card {
    position: sticky;
    top: 24px;
  }
  .page-home .home-install .install-steps {
    gap: 18px;
  }
  .page-home .home-versions .ver-list {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
  }
  .page-home .home-data .data-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
  .page-home .follow-grid {
    grid-template-columns: 6fr 6fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .page-home .data-leagues {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-card::before {
    animation: none;
    opacity: 0.7;
  }
  .page-home .hero-anchors a {
    transition: none;
  }
}
</page_css>
