/* ===== 首页 page-home 专属样式 ===== */
.page-home {
  --page-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home a:focus-visible,
.page-home button:focus-visible,
.page-home summary:focus-visible,
.page-home input:focus-visible {
  outline: 2px solid var(--stk-neon);
  outline-offset: 2px;
}

.page-home .home-kicker {
  margin: 0 0 8px;
  font-family: var(--stk-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stk-neon);
}

/* ---------- 首屏封面 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 72px) 0 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 212, 255, 0.16), transparent 38%),
    radial-gradient(circle at 8% 88%, rgba(0, 255, 156, 0.08), transparent 30%),
    var(--stk-bg);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 55, 102, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 55, 102, 0.5) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 56px);
}

.page-home .home-hero__issueno {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stk-line);
  font-family: var(--stk-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--stk-muted);
}

.page-home .home-hero__issueno-vol {
  color: var(--stk-neon);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-family: var(--page-serif);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--stk-ink);
}

.page-home .home-hero__title-sub {
  display: block;
  margin-top: 12px;
  font-family: var(--stk-font);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--stk-neon);
}

.page-home .home-hero__lede {
  max-width: 34em;
  margin: 0 0 24px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.85;
  color: var(--stk-muted);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.page-home .home-hero__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--stk-ice);
  font-weight: 600;
  text-decoration: none;
}

.page-home .home-hero__more span {
  transition: transform 0.2s ease;
}

.page-home .home-hero__more:hover span {
  transform: translateX(4px);
}

.page-home .home-hero__goal {
  margin: 22px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--stk-orange);
  background: rgba(17, 26, 61, 0.72);
  font-size: 13px;
  line-height: 1.6;
  color: var(--stk-muted);
}

.page-home .home-hero__side {
  display: grid;
  gap: var(--stk-gap);
}

.page-home .home-hero__panel {
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--stk-line);
  border-left: 3px solid var(--stk-neon);
  background: var(--stk-bg-raised);
}

.page-home .home-hero__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--stk-ink);
}

.page-home .home-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--stk-mono);
  font-size: 12px;
  color: var(--stk-orange);
}

.page-home .home-hero__live i {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: var(--stk-orange);
  border-radius: 50%;
}

.page-home .home-hero__podium {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-hero__podium li {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--stk-line);
}

.page-home .home-hero__podium li:last-child {
  border-bottom: 0;
}

.page-home .home-hero__rank {
  font-family: var(--stk-mono);
  font-size: 13px;
  color: var(--stk-ice);
}

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

.page-home .home-hero__podium b {
  font-family: var(--stk-mono);
  font-size: 18px;
  color: var(--stk-neon);
}

.page-home .home-hero__spark {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
}

.page-home .home-hero__media {
  position: relative;
  margin: 0;
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--stk-line);
}

.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--stk-neon) 0%, var(--stk-ice) 100%);
}

/* ---------- 实时比分滚动条 ---------- */
.page-home .home-ticker {
  position: relative;
  margin-top: clamp(32px, 5vw, 64px);
  padding: 32px 0 40px;
  border-top: 1px solid var(--stk-line);
  border-bottom: 1px solid var(--stk-line);
  background: rgba(17, 26, 61, 0.55);
}

.page-home .home-ticker__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 10px 20px;
  margin-bottom: 20px;
}

.page-home .home-ticker__title {
  margin: 0;
  font-family: var(--page-serif);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--stk-ink);
}

.page-home .home-ticker__note {
  margin: 0;
  font-size: 13px;
  color: var(--stk-muted);
}

.page-home .home-ticker__viewport {
  overflow: hidden;
  padding: 4px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.page-home .home-ticker__track {
  display: flex;
  width: max-content;
  gap: 12px;
  margin: 0;
  padding: 4px 8px;
  list-style: none;
  animation: home-ticker-roll 48s linear infinite;
  will-change: transform;
}

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

.page-home .ticker-card__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--stk-bg-raised);
  border: 1px solid var(--stk-line);
  border-top: 2px solid var(--stk-neon);
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

.page-home .ticker-card__summary::-webkit-details-marker {
  display: none;
}

.page-home .ticker-card__zone {
  font-family: var(--stk-mono);
  font-size: 12px;
  padding: 2px 6px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--stk-ice);
}

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

.page-home .ticker-card__score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--stk-mono);
  font-size: 18px;
  color: var(--stk-neon);
}

.page-home .ticker-card__score b {
  font-weight: 700;
}

.page-home .ticker-card__score i {
  font-style: normal;
  color: var(--stk-muted);
}

.page-home .ticker-card__flag {
  margin-left: 4px;
  font-family: var(--stk-mono);
  font-size: 12px;
  color: var(--stk-muted);
}

.page-home .ticker-card__flag--live {
  color: var(--stk-orange);
}

.page-home .ticker-card__detail {
  padding: 10px 16px;
  border: 1px solid var(--stk-line);
  border-top: 0;
  background: var(--stk-bg);
  font-size: 13px;
  line-height: 1.6;
  color: var(--stk-muted);
}

/* ---------- 热门联赛入口 ---------- */
.page-home .home-leagues {
  padding: clamp(40px, 6vw, 72px) 0;
}

.page-home .home-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 10px 24px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .home-section-head h2 {
  margin: 0;
  font-family: var(--page-serif);
  font-size: clamp(26px, 3.4vw, 42px);
  color: var(--stk-ink);
}

.page-home .home-section-head__desc {
  max-width: 28em;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--stk-muted);
}

.page-home .home-leagues__body {
  display: grid;
  gap: var(--stk-gap);
  padding-top: 4px;
}

.page-home .home-leagues__table {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--stk-line);
}

.page-home .home-leagues__head,
.page-home .home-leagues__row {
  display: grid;
  grid-template-columns: 3rem 1fr 3.4rem 3.4rem;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--stk-line);
}

.page-home .home-leagues__head {
  font-family: var(--stk-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--stk-muted);
  background: rgba(17, 26, 61, 0.5);
}

.page-home .home-leagues__pos {
  font-family: var(--stk-mono);
  color: var(--stk-ice);
}

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

.page-home .home-leagues__played {
  font-family: var(--stk-mono);
  font-size: 13px;
  color: var(--stk-muted);
}

.page-home .home-leagues__pts {
  font-family: var(--stk-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--stk-neon);
}

.page-home .home-leagues__row:hover {
  background: rgba(0, 255, 156, 0.06);
}

.page-home .home-leagues__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 16px;
}

.page-home .home-leagues__link {
  color: var(--stk-ice);
  font-weight: 600;
  text-decoration: none;
}

.page-home .home-leagues__figure {
  margin: 0;
}

.page-home .home-leagues__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--stk-line);
}

/* ---------- 帮助中心检索 ---------- */
.page-home .home-help {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--stk-line);
  border-bottom: 1px solid var(--stk-line);
  background: var(--stk-bg-raised);
}

.page-home .home-help__inner {
  display: grid;
  gap: var(--stk-gap);
}

.page-home .home-help h2 {
  margin: 0 0 12px;
  font-family: var(--page-serif);
  font-size: clamp(26px, 3.4vw, 42px);
  color: var(--stk-ink);
}

.page-home .home-help__desc {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--stk-muted);
}

.page-home .home-help__points {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .home-help__points li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 14px;
  color: var(--stk-ink);
}

.page-home .home-help__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  background: var(--stk-neon);
}

.page-home .home-help__search {
  align-self: start;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--stk-line);
  border-top: 3px solid var(--stk-neon);
  background: rgba(11, 16, 38, 0.65);
}

.page-home .home-help__label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--stk-ink);
}

.page-home .home-help__input {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--stk-line);
  background: var(--stk-bg);
  color: var(--stk-ink);
  font-family: var(--stk-font);
  font-size: 15px;
}

.page-home .home-help__input::placeholder {
  color: var(--stk-muted);
}

.page-home .home-help__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.page-home .home-help__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid var(--stk-neon);
  color: var(--stk-neon);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .home-help__go:hover {
  background: var(--stk-neon);
  color: #0B1026;
}

/* ---------- 赛事订阅入口 ---------- */
.page-home .home-subscribe {
  padding: clamp(40px, 6vw, 72px) 0;
}

.page-home .home-subscribe__inner {
  display: grid;
  gap: var(--stk-gap);
}

.page-home .home-subscribe h2 {
  margin: 0 0 14px;
  font-family: var(--page-serif);
  font-size: clamp(26px, 3.4vw, 42px);
  color: var(--stk-ink);
}

.page-home .home-subscribe__desc {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--stk-muted);
}

.page-home .home-subscribe__list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .home-subscribe__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--stk-line);
  font-size: 14px;
  color: var(--stk-ink);
}

.page-home .home-subscribe__list svg {
  flex: 0 0 auto;
  margin-top: 3px;
}

.page-home .home-subscribe__cta {
  margin-top: 4px;
}

.page-home .home-subscribe__disclaimer {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--stk-muted);
}

.page-home .home-subscribe__figure {
  margin: 0;
}

.page-home .home-subscribe__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border: 1px solid var(--stk-line);
}

.page-home .home-subscribe__figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--stk-muted);
}

/* ---------- 核心数据摘要 ---------- */
.page-home .home-stats {
  padding: clamp(40px, 6vw, 72px) 0;
  background:
    linear-gradient(rgba(0, 255, 156, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 156, 0.04) 1px, transparent 1px),
    var(--stk-bg);
  background-size: 28px 28px;
  border-top: 1px solid var(--stk-line);
}

.page-home .home-stats__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 10px 24px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-home .home-stats__head h2 {
  margin: 0;
  font-family: var(--page-serif);
  font-size: clamp(26px, 3.4vw, 42px);
  color: var(--stk-ink);
}

.page-home .home-stats__intro {
  max-width: 30em;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--stk-muted);
}

.page-home .home-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.page-home .home-stats__item {
  padding: 20px 18px;
  background: var(--stk-bg-raised);
  border: 1px solid var(--stk-line);
  border-top: 3px solid var(--stk-neon);
}

.page-home .home-stats__item dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--stk-muted);
}

.page-home .home-stats__num {
  margin: 10px 0 8px;
  font-family: var(--stk-mono);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  color: var(--stk-neon);
}

.page-home .home-stats__num span {
  font-size: 0.5em;
  color: var(--stk-ink);
}

.page-home .home-stats__label {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--stk-muted);
}

.page-home .home-stats__figure {
  margin: clamp(24px, 4vw, 44px) 0 0;
}

.page-home .home-stats__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border: 1px solid var(--stk-line);
}

.page-home .home-stats__figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--stk-muted);
}

/* ---------- 响应式：平板与桌面 ---------- */
@media (min-width: 860px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .home-hero__side {
    grid-template-columns: 1fr;
  }

  .page-home .home-leagues__body {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
  }

  .page-home .home-help__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-subscribe__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__side {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: start;
  }

  .page-home .home-stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--stk-gap);
  }

  .page-home .home-stats__item {
    padding: 26px 22px;
  }
}

/* ---------- 减弱动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-ticker__track {
    animation: none;
  }

  .page-home .home-hero__more span {
    transition: none;
  }

  .page-home .home-help__go {
    transition: none;
  }
}
