.page-home {
  --home-cut: 22px;
  --home-edge: clamp(20px, 3vw, 34px);
  display: block;
  background: var(--navy);
  color: var(--cool);
  overflow-x: hidden;
  overflow-x: clip;
}

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

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  padding-block: clamp(26px, 4.5vw, 52px) clamp(44px, 6vw, 78px);
}

.page-home .hero-home__copy {
  min-width: 0;
}

.page-home .hero-context {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.page-home .hero-context__text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-home .hero-home h1 {
  font-size: clamp(38px, 8.5vw, 66px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--cool);
}

.page-home .hero-home .lede {
  max-width: 46ch;
  color: rgba(233, 239, 245, 0.78);
}

.page-home .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.page-home .hero-home__visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--navy-deep);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .hero-home__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(1.1) contrast(1.05);
}

.page-home .hero-home__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 44px);
  pointer-events: none;
}

.page-home .hero-home__visual::after {
  content: "";
  position: absolute;
  inset: -20% -45%;
  z-index: 2;
  background: linear-gradient(74deg, transparent 42%, rgba(233, 239, 245, 0.14) 50%, transparent 58%);
  transform: translateX(-130%);
  animation: home-scan 8s var(--ease) infinite;
  pointer-events: none;
}

.page-home .hero-home__tactics {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  pointer-events: none;
}

.page-home .hero-hud {
  position: absolute;
  z-index: 3;
  left: clamp(16px, 4vw, 38px);
  bottom: clamp(16px, 4vw, 30px);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: rgba(5, 14, 25, 0.82);
  border-left: 2px solid var(--flare);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-home .hero-hud__label {
  font-size: 13px;
  color: var(--cool);
}

@keyframes home-scan {
  0% { transform: translateX(-130%); opacity: 0; }
  3% { opacity: 1; }
  20% { transform: translateX(130%); opacity: 0; }
  100% { transform: translateX(130%); opacity: 0; }
}

/* ---------- 赛程带 ---------- */
.page-home .fixture-strip {
  display: grid;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 30px);
}

.page-home .fixture {
  position: relative;
  padding: 16px 18px 16px 20px;
  background: linear-gradient(158deg, var(--board), rgba(15, 42, 68, 0.5));
  border-left: 2px solid var(--pitch);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .fixture:hover,
.page-home .fixture:focus-within {
  transform: translateX(4px);
  background: linear-gradient(158deg, var(--board), rgba(22, 164, 106, 0.18));
}

.page-home .fixture__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.page-home .fixture__title {
  font-size: 15px;
  line-height: 1.55;
  color: var(--cool);
  margin-bottom: 8px;
}

.page-home .fixture__flow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--steel);
}

.page-home .fixture__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s var(--ease), opacity 0.35s var(--ease), margin-top 0.35s var(--ease);
}

.page-home .fixture:hover .fixture__links,
.page-home .fixture:focus-within .fixture__links {
  max-height: 64px;
  opacity: 1;
  margin-top: 14px;
}

/* ---------- 三段更新 ---------- */
.page-home .phases {
  background: var(--mist);
  color: var(--ink);
}

.page-home .phases .section-title {
  color: var(--ink);
}

.page-home .phases .lede {
  color: rgba(11, 26, 43, 0.72);
}

.page-home .phases .eyebrow {
  color: var(--pitch-deep);
}

.page-home .phases .section-head {
  margin-bottom: clamp(26px, 3.6vw, 42px);
}

.page-home .phases__grid {
  display: grid;
  gap: 1px;
  background: rgba(11, 26, 43, 0.12);
  border-top: 1px solid rgba(11, 26, 43, 0.12);
}

.page-home .phase {
  background: var(--mist);
  padding: clamp(22px, 3vw, 32px) clamp(18px, 2.6vw, 28px);
  position: relative;
}

.page-home .phase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background: var(--flare);
}

.page-home .phase__time {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--pitch-deep);
  margin-bottom: 12px;
}

.page-home .phase__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}

.page-home .phase__text {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(11, 26, 43, 0.74);
}

.page-home .phases__note {
  margin-top: clamp(20px, 3vw, 30px);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(11, 26, 43, 0.66);
}

.page-home .phases__note a {
  color: var(--pitch-deep);
  border-bottom: 1px solid rgba(12, 107, 69, 0.4);
}

/* ---------- 战报索引 ---------- */
.page-home .section-head {
  margin-bottom: clamp(26px, 3.8vw, 46px);
  max-width: 68ch;
}

.page-home .section-head--split {
  max-width: none;
  display: grid;
  gap: 22px;
}

.page-home .section-head--split .section-title {
  margin-bottom: 10px;
}

.page-home .reports__more {
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .filter-empty {
  margin-top: 18px;
  font-size: 14px;
  color: var(--steel);
}

/* ---------- 集锦轨道 ---------- */
.page-home .clips .section-head {
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .clips .rail {
  padding-inline: var(--gutter);
  padding-bottom: 8px;
}

.page-home .clip-card {
  flex: 0 0 auto;
  width: min(62vw, 208px);
  display: block;
  text-decoration: none;
  color: var(--cool);
}

.page-home .clip-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .clip-card__title {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.page-home .clip-card__meta {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.page-home .clip-card:hover .clip-card__title,
.page-home .clip-card:focus-visible .clip-card__title {
  color: var(--pitch);
}

.page-home .clip-card--hoop .media {
  background:
    conic-gradient(from 210deg at 72% 26%, rgba(255, 90, 44, 0.42), transparent 58%),
    linear-gradient(158deg, var(--board), var(--navy-deep));
}

.page-home .clip-card--cup .media {
  background:
    repeating-linear-gradient(102deg, rgba(22, 164, 106, 0.22) 0 2px, transparent 2px 22px),
    linear-gradient(158deg, var(--pitch-deep), var(--navy-deep));
}

.page-home .clip-card--volley .media {
  background:
    radial-gradient(circle at 30% 78%, rgba(255, 176, 32, 0.35), transparent 62%),
    linear-gradient(158deg, var(--board), var(--navy-deep));
}

.page-home .clip-card--racket .media {
  background:
    linear-gradient(38deg, rgba(233, 239, 245, 0.12) 0 18%, transparent 18%),
    linear-gradient(158deg, var(--navy-deep), var(--board));
}

/* ---------- 数据面板 ---------- */
.page-home .board-panel {
  position: relative;
  isolation: isolate;
  background: var(--navy-deep);
  overflow: hidden;
}

.page-home .board-panel__bg {
  position: absolute;
  inset: 0;
}

.page-home .board-panel__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-home .board-panel__inner {
  position: relative;
  z-index: 1;
}

.page-home .board-panel__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .board-panel__sub {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.page-home .matrix {
  border-top: 1px solid var(--line-soft);
}

.page-home .matrix > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--pitch);
}

.page-home .matrix > summary::-webkit-details-marker {
  display: none;
}

.page-home .matrix > summary::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--amber);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.page-home .matrix__body {
  padding: 4px 0 12px;
}

.page-home .matrix__legend,
.page-home .matrix__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .matrix__legend {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.page-home .matrix__label {
  font-size: 14px;
  color: rgba(233, 239, 245, 0.78);
}

.page-home .matrix__cell {
  display: grid;
  gap: 6px;
}

.page-home .matrix__val {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cool);
}

.page-home .matrix__row--edge .matrix__val {
  color: var(--flare);
}

/* ---------- 栏目导览 ---------- */
.page-home .channels__grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 40px);
}

.page-home .channels__visual {
  margin: 0;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  background: var(--board);
}

.page-home .channels__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .channels__visual figcaption {
  padding: 14px 16px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

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

.page-home .channel-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--cool);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.page-home .channel-item:hover,
.page-home .channel-item:focus-visible {
  color: var(--pitch);
  padding-left: 8px;
}

.page-home .channel-item__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .channel-item__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--steel);
}

.page-home .channel-item__arrow {
  font-family: var(--font-mono);
  color: var(--flare);
}

/* ---------- 联系 ---------- */
.page-home .contact-home__grid {
  display: grid;
  gap: clamp(26px, 3.6vw, 44px);
}

.page-home .contact-home__list {
  display: grid;
  align-content: start;
}

.page-home .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.page-home .contact-item__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
  min-width: 72px;
}

.page-home .contact-item__val {
  font-size: 15px;
  color: var(--cool);
  word-break: break-all;
}

.page-home .contact-home__note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .phases__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .matrix__legend,
  .page-home .matrix__row {
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: center;
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .page-home .section-head--split {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-home .board-panel__grid {
    grid-template-columns: 5fr 7fr;
  }

  .page-home .channels__grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-home .contact-home__grid {
    grid-template-columns: 6fr 6fr;
    align-items: start;
  }

  .page-home .clip-card {
    width: 232px;
  }
}

@media (min-width: 980px) {
  .page-home .hero-home {
    grid-template-columns: minmax(320px, 34fr) 66fr;
    align-items: stretch;
  }

  .page-home .hero-home__visual {
    min-height: 540px;
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 979.98px) {
  .page-home .fixture__links {
    max-height: none;
    opacity: 1;
    margin-top: 14px;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-home__visual::after {
    animation: none;
    opacity: 0;
  }

  .page-home .fixture,
  .page-home .fixture__links,
  .page-home .channel-item {
    transition: none;
  }
}
