.page-home {
  --home-gap: clamp(24px, 4vw, 56px);
  --home-notch: 16px;
  --home-angle: 12deg;
  display: block;
}

.page-home__crumb {
  padding-top: 18px;
}

.page-home .section {
  padding: clamp(56px, 8vw, 112px) 0;
}

.page-home .section__head {
  max-width: 640px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .section__head p {
  margin: 12px 0 0;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.75;
}

/* ============ 首屏封面 ============ */
.page-home .hero-cover {
  position: relative;
  padding: 32px var(--gutter) 0;
  background:
    radial-gradient(120% 92% at 86% 0%, rgba(27, 111, 209, 0.18) 0%, rgba(27, 111, 209, 0) 60%),
    linear-gradient(168deg, var(--dawn) 0%, var(--cloud) 48%, #ffffff 100%);
  overflow: hidden;
}

.page-home .hero-cover__contour {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 62%;
  color: rgba(10, 90, 102, 0.14);
  pointer-events: none;
}

.page-home .hero-cover__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  align-items: end;
}

.page-home .hero-cover__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}

.page-home .hero-cover__stamp {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--deep);
}

.page-home .hero-cover__title {
  margin: 0;
  max-width: 15em;
  color: var(--ink);
}

.page-home .hero-cover__lede {
  margin: 22px 0 0;
  max-width: 34em;
  color: var(--gray);
}

.page-home .hero-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.page-home .hero-cover__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(92, 107, 120, 0.25);
}

.page-home .hero-cover__fact dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gray);
}

.page-home .hero-cover__fact dd {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .hero-cover__fact .mono {
  font-size: 24px;
  color: var(--deep);
}

.page-home .hero-cover__media {
  position: relative;
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-notch)), calc(100% - var(--home-notch)) 100%, 0 100%);
}

.page-home .hero-cover__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .hero-cover__segments {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-bottom: 26px;
}

.page-home .hero-cover__seg-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hero-cover__seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 6px 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(92, 107, 120, 0.22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.page-home .hero-cover__seg.is-done {
  color: var(--deep);
  border-color: rgba(15, 163, 163, 0.4);
  background: rgba(15, 163, 163, 0.1);
}

.page-home .hero-cover__seg.is-current {
  color: var(--ink);
  font-weight: 700;
  border-color: var(--gold);
  background: rgba(242, 169, 59, 0.22);
}

.page-home .hero-cover__seg-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.page-home .hero-cover__seg-link:hover,
.page-home .hero-cover__seg-link:focus-visible {
  color: var(--deep);
}

.page-home .hero-cover__rule {
  display: block;
  height: 3px;
  width: min(100%, 640px);
  background: linear-gradient(90deg, var(--gold) 0 22%, var(--lake) 22% 58%, rgba(27, 111, 209, 0.3) 58% 100%);
  transform: skewY(-0.6deg);
}

/* ============ 常用入口台 ============ */
.page-home .entry-deck {
  background: var(--cloud);
}

.page-home .entry-deck__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .entry-card {
  position: relative;
  display: block;
  padding: 26px 24px 24px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(92, 107, 120, 0.18);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-notch)), calc(100% - var(--home-notch)) 100%, 0 100%);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 163, 163, 0.55);
  box-shadow: 0 14px 30px rgba(10, 90, 102, 0.12);
  outline: none;
}

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

.page-home .entry-card--lead {
  background: linear-gradient(152deg, var(--deep) 0%, var(--sky-deep) 100%);
  border-color: transparent;
  color: #fff;
}

.page-home .entry-card__idx {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gray);
}

.page-home .entry-card--lead .entry-card__idx {
  color: var(--gold);
}

.page-home .entry-card__title {
  margin: 14px 0 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .entry-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

.page-home .entry-card--lead .entry-card__desc {
  color: rgba(255, 255, 255, 0.86);
}

.page-home .entry-card__path {
  display: block;
  margin-top: 16px;
  padding-top: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--lake);
  border-top: 1px dashed rgba(92, 107, 120, 0.32);
}

.page-home .entry-card--lead .entry-card__path {
  color: var(--gold);
  border-top-color: rgba(242, 169, 59, 0.45);
}

/* ============ 当季重点场次 ============ */
.page-home .fixtures {
  background: #fff;
}

.page-home .fixtures__note {
  margin: 12px 0 0;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.75;
}

.page-home .fixtures__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .fixture {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--dawn);
  border-left: 3px solid var(--lake);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-notch)), calc(100% - var(--home-notch)) 100%, 0 100%);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .fixture:hover,
.page-home .fixture:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(20, 26, 31, 0.1);
}

.page-home .fixture--lead {
  padding: 0;
  border-left: 0;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.page-home .fixture__bg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.72;
}

.page-home .fixture__body {
  position: relative;
  padding: 26px 24px 26px;
  background: linear-gradient(180deg, rgba(10, 90, 102, 0.9) 0%, var(--ink) 100%);
  border-left: 4px solid var(--gold);
}

.page-home .fixture__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gray);
}

.page-home .fixture--lead .fixture__meta {
  color: var(--gold);
}

.page-home .fixture__teams {
  margin: 12px 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .fixture--lead .fixture__teams {
  font-size: clamp(28px, 4vw, 38px);
  color: #fff;
}

.page-home .fixture__vs {
  font-size: 0.6em;
  color: var(--gold);
  letter-spacing: 0.1em;
  vertical-align: middle;
}

.page-home .fixture__time {
  margin: 0;
  font-size: 15px;
  color: var(--deep);
}

.page-home .fixture--lead .fixture__time {
  color: rgba(255, 255, 255, 0.82);
}

.page-home .fixture__rate {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--gray);
}

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

.page-home .fixture__meters {
  margin-top: 20px;
}

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

.page-home .fixture__meter-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .fixture__meter .meter {
  flex: 1 1 140px;
  min-width: 120px;
}

.page-home .fixture__meter-num {
  font-size: 15px;
  color: var(--gold);
}

.page-home .fixture--lead .btn {
  margin-top: 22px;
}

/* ============ 榜单与走势 ============ */
.page-home .board {
  background: var(--cloud);
}

.page-home .board__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .board__head {
  margin-bottom: 20px;
}

.page-home .board__note {
  margin: 12px 0 0;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
}

.page-home .board__table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid rgba(92, 107, 120, 0.18);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-notch)), calc(100% - var(--home-notch)) 100%, 0 100%);
}

.page-home .board__table,
.page-home .board__trend {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-home .board__table th,
.page-home .board__table td,
.page-home .board__trend th,
.page-home .board__trend td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(92, 107, 120, 0.16);
  white-space: nowrap;
}

.page-home .board__table thead th,
.page-home .board__trend thead th {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gray);
  background: var(--dawn);
  font-weight: 600;
}

.page-home .board__table tbody tr:last-child td,
.page-home .board__trend tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .board__table tbody tr:hover {
  background: rgba(15, 163, 163, 0.07);
}

.page-home .board__rank {
  color: var(--gold);
  font-weight: 700;
}

.page-home .board__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .board__media {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-notch)), calc(100% - var(--home-notch)) 100%, 0 100%);
}

.page-home .board__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-home .board__sub {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.page-home .board__trend {
  background: #fff;
  border: 1px solid rgba(92, 107, 120, 0.18);
}

.page-home .board__trend tbody tr:nth-child(5) {
  background: rgba(242, 169, 59, 0.14);
}

.page-home .board__hint {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
  padding-left: 14px;
  border-left: 3px solid var(--lake);
}

/* ============ 家庭观赛与案例 ============ */
.page-home .family {
  background: #fff;
}

.page-home .family__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  align-items: start;
}

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

.page-home .family__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-notch)), calc(100% - var(--home-notch)) 100%, 0 100%);
}

.page-home .family__lede {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .family__steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-home .family__step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--dawn);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-home .family__step-idx {
  font-size: 14px;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.08em;
}

.page-home .family__step-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .family__note {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .family__note .mono {
  color: var(--deep);
  font-weight: 700;
}

.page-home .family__copy .btn {
  margin-top: 26px;
}

/* ============ 站点信息条 ============ */
.page-home .station {
  background: linear-gradient(150deg, var(--deep) 0%, #073F49 100%);
  color: #fff;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.page-home .station__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.page-home .station__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
}

.page-home .station__desc {
  margin: 16px 0 0;
  max-width: 42em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .station__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0;
}

.page-home .station__fact {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--lake);
}

.page-home .station__fact dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.page-home .station__fact dd {
  margin: 8px 0 0;
  font-size: 15px;
  color: #fff;
}

.page-home .station__fact dd.mono {
  color: var(--gold);
}

.page-home .station__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .station__actions .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.page-home .station__actions .btn--ghost:hover,
.page-home .station__actions .btn--ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============ 响应式 ============ */
@media (max-width: 600px) {
  .page-home .hero-cover__facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-home .hero-cover__fact {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .page-home .hero-cover__fact dd {
    margin: 0;
  }

  .page-home .family__step {
    grid-template-columns: 36px 1fr;
    padding: 14px;
  }
}

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

  .page-home .fixtures__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .station__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-home .hero-cover__media img {
    aspect-ratio: 4 / 5;
  }

  .page-home .entry-deck__grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
  }

  .page-home .fixtures__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    grid-template-rows: auto auto auto;
    gap: 20px 24px;
  }

  .page-home .fixture--lead {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .page-home .fixtures__grid .fixture:not(.fixture--lead) {
    grid-column: 2;
  }

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

  .page-home .family__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 4vw, 64px);
  }

  .page-home .station__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }

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

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

@media (hover: hover) and (pointer: fine) {
  .page-home .entry-card__path {
    max-height: 0;
    padding-top: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease), padding-top var(--dur) var(--ease), margin-top var(--dur) var(--ease);
  }

  .page-home .entry-card:hover .entry-card__path,
  .page-home .entry-card:focus-visible .entry-card__path {
    max-height: 72px;
    padding-top: 12px;
    margin-top: 16px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .fixture,
  .page-home .entry-card__path {
    transition: none;
  }
}
