/* ==================== 首页 page-home ==================== */

.page-home {
  background: var(--ink-green);
  color: var(--warm-white);
  overflow-x: hidden;
}

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

/* ---------- 首屏 ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 13vw, 140px) 0 clamp(52px, 9vw, 104px);
  background: var(--ink-green);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.7) brightness(0.72);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 82% 10%, rgba(205, 255, 61, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(10, 31, 22, 0.5) 0%, rgba(10, 31, 22, 0.92) 68%, var(--ink-green) 100%);
}

.page-home .hero__watermark {
  position: absolute;
  right: -1.5vw;
  top: clamp(36px, 8vw, 86px);
  z-index: 2;
  font-size: clamp(9rem, 33vw, 23rem);
  line-height: 0.76;
  font-weight: 700;
  color: rgba(205, 255, 61, 0.07);
  -webkit-text-stroke: 1px rgba(205, 255, 61, 0.16);
  pointer-events: none;
  user-select: none;
}

.page-home .hero__inner {
  position: relative;
  z-index: 3;
}

.page-home .home-crumb {
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: 0.1em;
  color: var(--slate);
}

.page-home .home-crumb__here {
  color: var(--volt);
}

.page-home .home-crumb__sep {
  margin: 0 10px;
  color: rgba(245, 243, 234, 0.3);
}

.page-home .hero__title {
  margin: 0 0 22px;
  max-width: 15ch;
  font-size: clamp(2.5rem, 8.4vw, 5.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--warm-white);
}

.page-home .hero__lede {
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: 34em;
  font-size: var(--fs-18);
  line-height: 1.75;
  color: rgba(245, 243, 234, 0.86);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(36px, 6vw, 60px) 0 0;
  border: 1px solid rgba(245, 243, 234, 0.12);
  border-radius: var(--radius);
  background: rgba(245, 243, 234, 0.12);
  overflow: hidden;
}

.page-home .hero__stat {
  padding: 16px 18px;
  background: rgba(10, 31, 22, 0.72);
}

.page-home .hero__stat-label {
  font-size: var(--fs-13);
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-home .hero__stat-value {
  margin: 6px 0 0;
  font-size: var(--fs-24);
  font-weight: 700;
  color: var(--volt);
}

@media (min-width: 760px) {
  .page-home .hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 章节通用 ---------- */

.page-home .sec-head {
  max-width: 48rem;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.page-home .sec-head__title {
  margin: 0 0 14px;
  font-size: var(--fs-32);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.page-home .sec-head__note {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.75;
  color: var(--slate);
}

.page-home .section--light {
  color: var(--charcoal);
}

.page-home .section--light .sec-head__note {
  color: #46574c;
}

.page-home .section--light .section-flag__num {
  color: var(--turf-deep);
}

/* ---------- 01 本轮时间轴 ---------- */

.page-home .round-sec {
  background: var(--ink-green);
}

.page-home .round-switch {
  position: relative;
}

.page-home .round-switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .round-switch__bar {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid rgba(245, 243, 234, 0.14);
  border-radius: 999px;
  background: rgba(18, 52, 36, 0.72);
  backdrop-filter: blur(8px);
}

.page-home .round-switch__tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-15);
  color: var(--slate);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .round-switch__tab:hover {
  color: var(--warm-white);
}

.page-home #round-14:checked ~ .round-switch__bar .round-switch__tab[for="round-14"],
.page-home #round-13:checked ~ .round-switch__bar .round-switch__tab[for="round-13"],
.page-home #round-12:checked ~ .round-switch__bar .round-switch__tab[for="round-12"] {
  background: var(--volt);
  color: var(--charcoal);
  font-weight: 700;
}

.page-home .round-switch__input:focus-visible ~ .round-switch__bar .round-switch__tab {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

.page-home .round-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

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

.page-home .round-rail__label {
  margin: 0 0 12px;
  font-size: var(--fs-13);
  letter-spacing: 0.16em;
  color: var(--volt);
}

.page-home .round-rail__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-home .round-rail__list li {
  padding: 8px 12px;
  border-left: 2px solid var(--turf);
  background: linear-gradient(90deg, rgba(30, 107, 67, 0.3), transparent);
  font-size: var(--fs-15);
  color: var(--warm-white);
}

.page-home .round-rail__fig {
  margin: 0 0 20px;
}

.page-home .round-rail__note {
  margin: 0;
  font-size: var(--fs-15);
  line-height: 1.7;
  color: var(--slate);
}

.page-home .round-rail__note a {
  color: var(--volt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.page-home #round-14:checked ~ .round-grid .timeline--14,
.page-home #round-13:checked ~ .round-grid .timeline--13,
.page-home #round-12:checked ~ .round-grid .timeline--12 {
  display: block;
}

.page-home .tl-item {
  position: relative;
  padding: 0 0 28px 32px;
}

.page-home .tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  bottom: 0;
  width: 1px;
  background: rgba(245, 243, 234, 0.14);
}

.page-home .tl-item__dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 4px rgba(205, 255, 61, 0.14);
}

.page-home .tl-item__time {
  margin: 0;
  font-size: var(--fs-13);
  letter-spacing: 0.08em;
  color: var(--volt-soft);
}

.page-home .tl-item__title {
  margin: 5px 0 10px;
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--warm-white);
}

.page-home .tl-item__states {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .state-tag {
  padding: 3px 11px;
  border: 1px solid rgba(205, 255, 61, 0.24);
  border-radius: 999px;
  background: rgba(205, 255, 61, 0.06);
  font-size: var(--fs-13);
  color: var(--volt-soft);
}

/* ---------- 02 专栏精选 ---------- */

.page-home .feature-sec {
  background: var(--warm-white);
}

.page-home .feature-grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

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

.page-home .feature {
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid rgba(20, 23, 15, 0.1);
  border-radius: var(--radius);
  background: #fffdf6;
  box-shadow: 0 20px 44px -36px rgba(20, 23, 15, 0.75);
}

.page-home .feature--major {
  border-top: 4px solid var(--turf);
}

.page-home .feature--minor {
  border-top: 4px solid var(--turf-deep);
}

.page-home .feature__kicker {
  margin: 0 0 12px;
  font-size: var(--fs-13);
  letter-spacing: 0.1em;
  color: var(--turf-deep);
}

.page-home .feature__title {
  margin: 0 0 14px;
  font-size: var(--fs-24);
  font-weight: 800;
  line-height: 1.3;
  color: var(--charcoal);
}

.page-home .feature--major .feature__title {
  font-size: var(--fs-32);
}

.page-home .feature__text {
  margin: 0 0 20px;
  font-size: var(--fs-18);
  line-height: 1.75;
  color: #3b4a41;
}

.page-home .feature__link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--turf);
  font-size: var(--fs-15);
  font-weight: 700;
  color: var(--turf-deep);
  text-decoration: none;
}

.page-home .feature__link:hover,
.page-home .feature__link:focus-visible {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.page-home .mini-tl {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .mini-tl__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: var(--fs-15);
  color: #46574c;
}

.page-home .mini-tl__t {
  font-weight: 700;
  color: var(--turf-deep);
}

/* ---------- 03 两场对照 ---------- */

.page-home .compare-sec {
  background: var(--night-pitch);
}

.page-home .compare {
  position: relative;
}

.page-home .compare__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .compare__bar {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid rgba(245, 243, 234, 0.14);
  border-radius: 999px;
  background: rgba(10, 31, 22, 0.72);
}

.page-home .compare__tab {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: var(--fs-15);
  color: var(--slate);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .compare__tab:hover {
  color: var(--warm-white);
}

.page-home #view-brief:checked ~ .compare__bar .compare__tab[for="view-brief"],
.page-home #view-data:checked ~ .compare__bar .compare__tab[for="view-data"] {
  background: var(--volt);
  color: var(--charcoal);
  font-weight: 700;
}

.page-home .compare__input:focus-visible ~ .compare__bar .compare__tab {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

.page-home .compare__panels {
  display: block;
}

.page-home .compare__panel {
  display: none;
  gap: clamp(16px, 3vw, 26px);
}

.page-home #view-brief:checked ~ .compare__panels .compare__panel--brief,
.page-home #view-data:checked ~ .compare__panels .compare__panel--data {
  display: grid;
}

@media (min-width: 820px) {
  .page-home .compare__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-home .cmp-col {
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(6px);
}

.page-home .cmp-col__head {
  margin: 0 0 14px;
  font-size: var(--fs-13);
  letter-spacing: 0.14em;
  color: var(--volt-soft);
}

.page-home .cmp-col p {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.75;
  color: var(--warm-white);
}

.page-home .cmp-stats {
  margin: 0;
  display: grid;
  gap: 14px;
}

.page-home .cmp-stat {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.page-home .cmp-stat dt {
  font-size: var(--fs-15);
  color: var(--slate);
}

.page-home .cmp-stat dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-home .cmp-stat__num {
  min-width: 3.6em;
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--volt);
}

.page-home .cmp-stat__bar {
  flex: 1 1 auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(245, 243, 234, 0.1);
  overflow: hidden;
}

.page-home .cmp-stat__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--turf), var(--volt));
}

/* ---------- 04 数据下载 ---------- */

.page-home .data-sec {
  position: relative;
  background: var(--ink-green);
}

.page-home .data-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  pointer-events: none;
  background: linear-gradient(102deg, transparent 0 42%, rgba(205, 255, 61, 0.08) 42% 100%);
}

.page-home .data-grid {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: clamp(30px, 4.5vw, 48px);
}

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

.page-home .data-grid__fig {
  margin: 0;
}

.page-home .data-grid__body {
  display: grid;
  gap: 22px;
  align-content: start;
}

.page-home .field-groups {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .field-groups li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 243, 234, 0.08);
  font-size: var(--fs-15);
  line-height: 1.65;
  color: var(--warm-white);
}

.page-home .field-groups__num {
  font-weight: 700;
  color: var(--volt);
}

.page-home .data-notes {
  margin: 0;
  font-size: var(--fs-15);
  line-height: 1.75;
  color: var(--slate);
}

.page-home .format-switch {
  position: relative;
  padding-top: clamp(24px, 3.5vw, 36px);
  border-top: 1px solid rgba(245, 243, 234, 0.12);
}

.page-home .format-switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .format-switch__bar {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 18px;
  border: 1px solid rgba(245, 243, 234, 0.14);
  border-radius: 999px;
  background: rgba(18, 52, 36, 0.6);
}

.page-home .format-switch__tab {
  padding: 7px 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: 0.08em;
  color: var(--slate);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .format-switch__tab:hover {
  color: var(--warm-white);
}

.page-home #fmt-csv:checked ~ .format-switch__bar .format-switch__tab[for="fmt-csv"],
.page-home #fmt-xlsx:checked ~ .format-switch__bar .format-switch__tab[for="fmt-xlsx"],
.page-home #fmt-json:checked ~ .format-switch__bar .format-switch__tab[for="fmt-json"] {
  background: var(--volt);
  color: var(--charcoal);
  font-weight: 700;
}

.page-home .format-switch__input:focus-visible ~ .format-switch__bar .format-switch__tab {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

.page-home .format-switch__panel {
  display: none;
  max-width: 42em;
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.75;
  color: var(--warm-white);
}

.page-home #fmt-csv:checked ~ .format-switch__panels .format-switch__panel--csv,
.page-home #fmt-xlsx:checked ~ .format-switch__panels .format-switch__panel--xlsx,
.page-home #fmt-json:checked ~ .format-switch__panels .format-switch__panel--json {
  display: block;
}

/* ---------- 05 球队提醒 ---------- */

.page-home .alerts-sec {
  position: relative;
  overflow: hidden;
  background: var(--night-pitch);
}

.page-home .alerts-sec__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .alerts-sec__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .alerts-sec::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 31, 22, 0.9) 0%, rgba(10, 31, 22, 0.74) 48%, rgba(10, 31, 22, 0.96) 100%);
}

.page-home .alerts-sec__inner {
  position: relative;
  z-index: 2;
}

.page-home .team-chips {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .team-chip {
  display: inline-flex;
  cursor: pointer;
}

.page-home .team-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .team-chip span {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(245, 243, 234, 0.22);
  border-radius: 999px;
  background: rgba(10, 31, 22, 0.6);
  font-size: var(--fs-15);
  color: var(--warm-white);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .team-chip input:checked + span {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--charcoal);
  font-weight: 700;
}

.page-home .team-chip input:focus-visible + span {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

.page-home .alerts-sec__foot {
  max-width: 34em;
  margin: 0 0 22px;
  font-size: var(--fs-15);
  line-height: 1.75;
  color: rgba(245, 243, 234, 0.76);
}

/* ---------- 06 短问题 ---------- */

.page-home .qa-sec {
  background: var(--ink-green);
}

.page-home .qa-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 1px;
  border-radius: var(--radius);
  background: rgba(245, 243, 234, 0.1);
  overflow: hidden;
}

.page-home .qa-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: var(--night-pitch);
  font-size: var(--fs-18);
  color: var(--warm-white);
  text-decoration: none;
  transition: background 0.2s ease;
}

.page-home .qa-item:hover,
.page-home .qa-item:focus-visible {
  background: rgba(30, 107, 67, 0.44);
}

.page-home .qa-item__q {
  line-height: 1.6;
}

.page-home .qa-item__arrow {
  flex: none;
  font-family: var(--font-mono);
  color: var(--volt);
}

.page-home .qa-more {
  margin: 0;
  font-size: var(--fs-15);
  line-height: 1.75;
  color: var(--slate);
}

.page-home .qa-more a {
  color: var(--volt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 窄屏收尾 ---------- */

@media (max-width: 599px) {
  .page-home .hero__watermark {
    right: -6vw;
    font-size: 9rem;
  }

  .page-home .round-switch__bar,
  .page-home .compare__bar,
  .page-home .format-switch__bar {
    max-width: 100%;
    flex-wrap: wrap;
    border-radius: 14px;
  }

  .page-home .round-switch__tab,
  .page-home .compare__tab,
  .page-home .format-switch__tab {
    flex: 1 1 auto;
    text-align: center;
  }

  .page-home .qa-item {
    align-items: flex-start;
    padding: 16px 18px;
  }

  .page-home .field-groups li,
  .page-home .cmp-stat {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .page-home .cmp-stat {
    grid-template-columns: 80px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .round-switch__tab,
  .page-home .compare__tab,
  .page-home .format-switch__tab,
  .page-home .team-chip span,
  .page-home .qa-item {
    transition: none;
  }
}
