.page-home {
  --home-hero-min: 620px;
  --home-card-pad: 1.8rem;
  isolation: isolate;
}

/* ========== Hero 首屏 ========== */
.page-home .home-hero {
  position: relative;
  min-height: var(--home-hero-min);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 12vw, 7rem) 0 3rem;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(217, 180, 91, 0.14), transparent 56%),
    linear-gradient(158deg, #0b2f22 0%, #061a13 76%);
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  opacity: 0.26;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 1;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-bright) 50%, var(--gold) 70%, transparent 100%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.4rem;
  width: 100%;
}

.page-home .home-hero__content {
  max-width: 40em;
}

.page-home .home-hero__kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  border-left: 3px solid var(--gold);
  padding-left: 0.9rem;
  margin: 0 0 1.6rem;
}

.page-home .home-hero__title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .home-hero__lead {
  margin: 0 0 2rem;
  max-width: 30em;
  color: var(--mist);
  line-height: 1.75;
  font-size: clamp(1rem, 1vw, 1.125rem);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-home .home-hero__panel {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 58, 44, 0.94), rgba(6, 26, 19, 0.88));
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 2rem 1.5rem;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .home-hero__panel-label {
  margin: 0 0 0.8rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .home-hero__round {
  margin: 0 0 0.6rem;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}

.page-home .home-hero__round-before,
.page-home .home-hero__round-after {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--cream);
  font-weight: 600;
}

.page-home .home-hero__round-before {
  margin-right: 0.35rem;
}

.page-home .home-hero__round-after {
  margin-left: 0.35rem;
}

.page-home .home-hero__round-num {
  font-size: inherit;
  line-height: 1;
}

.page-home .home-hero__panel-meta {
  margin: 0 0 0.8rem;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9375rem;
}

.page-home .home-hero__panel-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--mist);
  line-height: 1.6;
}

/* ========== 当前轮次索引 ========== */
.page-home .home-index {
  position: relative;
  background: var(--bg-pitch);
}

.page-home .home-index::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.page-home .home-index__context {
  margin: 1.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-home .home-index__context-label {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  background: rgba(217, 180, 91, 0.14);
  color: var(--gold);
  border-radius: var(--radius);
  font-weight: 600;
}

.page-home .home-index__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 1.8rem;
}

.page-home .home-index__intro p {
  margin: 0;
  color: var(--mist);
  line-height: 1.75;
}

.page-home .home-index__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}

.page-home .home-index__stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.page-home .home-index__stat-num {
  font-family: var(--font-num);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.page-home .home-index__stat-label {
  font-size: 0.8125rem;
  color: var(--mist);
}

.page-home .home-index__card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-jade), var(--bg-forest));
  padding: var(--home-card-pad);
  align-self: start;
}

.page-home .home-index__round-list {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
}

.page-home .home-index__round-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(91, 127, 109, 0.4);
  font-size: 0.9375rem;
  color: var(--cream);
}

.page-home .home-index__round-tag {
  background: rgba(217, 180, 91, 0.16);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

.page-home .home-index__hover-num {
  opacity: 0;
  transition: opacity 0.2s ease;
  margin: 0.4rem 0 1.2rem;
  font-size: 0.9375rem;
  color: var(--gold-bright);
  font-family: var(--font-num);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.page-home .home-index__card:hover .home-index__hover-num,
.page-home .home-index__card:focus-within .home-index__hover-num {
  opacity: 1;
}

.page-home .home-index__card:focus-within {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

/* ========== 射门统计 ========== */
.page-home .home-shooting {
  background: linear-gradient(180deg, var(--bg-forest), var(--bg-pitch));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-shooting__layout {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.page-home .home-shooting__chart {
  background: rgba(6, 26, 19, 0.5);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.8rem 1.5rem;
}

.page-home .home-shooting__intro {
  margin: 0 0 1.2rem;
  font-weight: 600;
  color: var(--cream);
  font-size: 0.9375rem;
}

.page-home .home-shooting__svg {
  width: 100%;
  height: auto;
  display: block;
  font-variant-numeric: tabular-nums;
}

.page-home .home-shooting__svg-label {
  fill: var(--mist);
  font-size: 15px;
  font-weight: 500;
}

.page-home .home-shooting__svg-num {
  fill: var(--gold-bright);
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-num);
}

.page-home .home-shooting__rect--gold {
  fill: var(--gold);
}

.page-home .home-shooting__rect--mist {
  fill: var(--mist);
}

.page-home .home-shooting__rect--line {
  fill: var(--line);
}

.page-home .home-shooting__note {
  margin: 1.2rem 0 1rem;
  color: var(--mist);
  font-size: 0.875rem;
  line-height: 1.6;
}

.page-home .home-shooting__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}

.page-home .home-shooting__media-caption {
  margin: 0.8rem 0 0;
  color: var(--mist);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ========== 赛事前瞻更新时间 ========== */
.page-home .home-schedule {
  position: relative;
  background: var(--bg-pitch);
}

.page-home .home-schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--line) 85%, transparent);
}

.page-home .home-schedule__layout {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.page-home .home-schedule__timeline {
  background: linear-gradient(160deg, rgba(15, 58, 44, 0.7), rgba(6, 26, 19, 0.9));
  border: 1px solid var(--line);
  padding: 1.8rem 1.5rem;
}

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

.page-home .home-schedule__line {
  stroke: var(--gold);
  stroke-dasharray: 6 5;
  stroke-linecap: round;
}

.page-home .home-schedule__node {
  fill: var(--gold);
}

.page-home .home-schedule__node--bright {
  fill: var(--gold-bright);
}

.page-home .home-schedule__node--red {
  fill: var(--red);
}

.page-home .home-schedule__svg-text {
  fill: var(--mist);
  font-size: 13px;
  font-weight: 500;
}

.page-home .home-schedule__svg-text--gold {
  fill: var(--gold-bright);
  font-weight: 700;
  font-size: 15px;
}

.page-home .home-schedule__rules {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}

.page-home .home-schedule__rule {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: start;
}

.page-home .home-schedule__rule-day {
  font-family: var(--font-num);
  font-weight: 800;
  color: var(--gold-bright);
  font-size: 1.35rem;
  line-height: 1;
  padding-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}

.page-home .home-schedule__rule-text {
  margin: 0;
  color: var(--mist);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.page-home .home-schedule__archive img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  margin-bottom: 0.8rem;
}

.page-home .home-schedule__caption {
  margin: 0 0 1.2rem;
  color: var(--mist);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ========== 华人版赛前前瞻 ========== */
.page-home .home-preview {
  background: linear-gradient(150deg, var(--bg-jade), var(--bg-forest));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-preview__switch {
  margin-top: 2rem;
}

.page-home .home-preview__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .home-preview__toggle {
  display: inline-flex;
  background: var(--bg-pitch);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.3rem;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.page-home .home-preview__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--cream);
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-preview__tab:hover {
  background: rgba(217, 180, 91, 0.12);
}

.page-home .home-preview__radio:focus-visible ~ .home-preview__toggle {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.page-home #venue-home:checked ~ .home-preview__toggle .home-preview__tab--home,
.page-home #venue-away:checked ~ .home-preview__toggle .home-preview__tab--away {
  background: var(--gold);
  color: var(--bg-pitch);
  border-color: var(--gold-bright);
}

.page-home .home-preview__panel {
  display: none;
  background: rgba(6, 26, 19, 0.55);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.8rem 1.5rem;
  margin-bottom: 1.8rem;
}

.page-home #venue-home:checked ~ .home-preview__panel--home {
  display: block;
}

.page-home #venue-home:checked ~ .home-preview__panel--away,
.page-home #venue-away:checked ~ .home-preview__panel--home {
  display: none;
}

.page-home #venue-away:checked ~ .home-preview__panel--away {
  display: block;
}

.page-home .home-preview__data {
  display: grid;
  gap: 1.1rem;
}

.page-home .home-preview__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(91, 127, 109, 0.4);
}

.page-home .home-preview__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .home-preview__item-label {
  grid-column: 1;
  color: var(--mist);
  font-size: 0.875rem;
}

.page-home .home-preview__item-num {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 0.8;
  font-variant-numeric: tabular-nums;
}

.page-home .home-preview__item-values {
  grid-column: 1 / -1;
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--cream);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.page-home .home-preview__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.page-home .home-preview__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(91, 127, 109, 0.5);
}

.page-home .home-preview__foot p {
  margin: 0;
  color: var(--mist);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 32em;
}

.page-home .home-preview__foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ========== 底部门户直通条 ========== */
.page-home .home-direct {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(217, 180, 91, 0.16), transparent 58%),
    linear-gradient(180deg, var(--bg-pitch), var(--bg-forest));
  border-top: 1px solid var(--line);
}

.page-home .home-direct::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold-bright) 50%, var(--gold) 75%, transparent);
}

.page-home .home-direct__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-home .home-direct__kicker {
  margin: 0 0 0.6rem;
  color: var(--mist);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .home-direct__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.1;
}

.page-home .home-direct__text {
  max-width: 34em;
  margin: 0 0 2rem;
  color: var(--mist);
  line-height: 1.75;
  font-size: clamp(1rem, 1vw, 1.125rem);
}

.page-home .home-direct__btn {
  min-width: 220px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-home .home-direct__btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ========== 响应式布局 ========== */
@media (min-width: 768px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
  }

  .page-home .home-hero__panel {
    padding: 2.4rem 2rem;
  }

  .page-home .home-hero__title {
    font-size: clamp(2.6rem, 5.5vw, 5.4rem);
  }

  .page-home .home-index__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    margin-top: 2.5rem;
  }

  .page-home .home-shooting__layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }

  .page-home .home-schedule__layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 3rem;
  }

  .page-home .home-schedule__timeline {
    padding: 2rem 1.8rem;
  }

  .page-home .home-preview__panel {
    padding: 2rem 1.8rem;
  }

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

  .page-home .home-preview__toggle {
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
  }

  .page-home .home-preview__panel {
    grid-column: 1;
    margin-bottom: 1rem;
  }

  .page-home .home-preview__media {
    grid-column: 2;
    grid-row: 2 / 4;
  }

  .page-home .home-preview__media img {
    margin-bottom: 0;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
  }

  .page-home .home-preview__foot {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .page-home .home-index__grid {
    gap: 3.5rem;
  }

  .page-home .home-index__card {
    padding: 2.2rem 2rem;
  }

  .page-home .home-shooting__layout {
    gap: 4rem;
  }

  .page-home .home-schedule__layout {
    gap: 4rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .page-home .home-index__hover-num {
    opacity: 1;
  }
}
