/* ===== 首页专属样式 · 作用域 .page-home ===== */
.page-home {
  --home-pad: clamp(18px, 4vw, 56px);
  --home-gap: clamp(16px, 2.4vw, 28px);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
}

.page-home p { margin: 0; }

.page-home h1,
.page-home h2,
.page-home h3 {
  margin: 0;
  font-weight: 300;
}

.page-home > section {
  padding: clamp(52px, 8vw, 112px) var(--home-pad);
}

.page-home .section-label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aqua);
}

.page-home .section-title {
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .lede {
  margin-top: 18px;
  max-width: 62ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: var(--mist);
}

.page-home .sect-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

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

.page-home .hero {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: 0;
}

.page-home .hero__frame {
  position: relative;
  padding: clamp(44px, 6vw, 76px) clamp(20px, 4.5vw, 64px) clamp(36px, 5vw, 64px);
  border: 1px solid var(--line);
  background:
    radial-gradient(130% 100% at 92% 4%, rgba(43, 224, 200, 0.2) 0%, rgba(43, 224, 200, 0) 58%),
    linear-gradient(165deg, var(--ink) 0%, var(--ink-deep) 100%);
  isolation: isolate;
}

.page-home .hero__frame::before,
.page-home .hero__frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px);
  pointer-events: none;
  z-index: 3;
}
.page-home .hero__frame::before { top: 0; }
.page-home .hero__frame::after { bottom: 0; }

.page-home .hero__tick {
  position: absolute;
  z-index: 4;
  padding: 3px 9px;
  background: var(--ink-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .hero__tick--tl { top: -9px; left: clamp(14px, 4vw, 48px); color: var(--aqua); }
.page-home .hero__tick--tr { top: -9px; right: clamp(14px, 4vw, 48px); }
.page-home .hero__tick--bl { bottom: -9px; left: clamp(14px, 4vw, 48px); }
.page-home .hero__tick--br { bottom: -9px; right: clamp(14px, 4vw, 48px); color: var(--orange); }

.page-home .hero__media {
  position: absolute;
  inset: 0 0 0 38%;
  margin: 0;
  z-index: 0;
  opacity: 0.34;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 48%);
}

.page-home .hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero__eyebrow,
.page-home .hero__title,
.page-home .hero__lede,
.page-home .hero__actions {
  position: relative;
  z-index: 1;
}

.page-home .hero__eyebrow {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--lime);
}

.page-home .hero__title {
  font-size: clamp(42px, 9vw, 108px);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
}

.page-home .hero__lede {
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 46ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.5vw, 40px);
}

/* 今日刻度带 */
.page-home .daybelt {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  background: var(--stand);
}

.page-home .daybelt__head {
  padding: 18px clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}

.page-home .daybelt__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--aqua);
}

.page-home .daybelt__note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--mist);
}

.page-home .daybelt__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .daybelt__item {
  flex: 1 0 150px;
  padding: 20px 18px;
  border-left: 1px solid var(--line);
}
.page-home .daybelt__item:first-child { border-left: none; }

.page-home .daybelt__time {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.page-home .daybelt__meta {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--mist);
}

/* ---------- 章节目录 ---------- */

.page-home .toc {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-deep);
}

.page-home .toc__list {
  display: flex;
  margin: 0;
  padding: 0 var(--home-pad);
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .toc__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .toc__link:hover,
.page-home .toc__link:focus-visible {
  color: var(--white);
  border-bottom-color: var(--aqua);
}

.page-home .toc__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--board);
  filter: brightness(2.2);
}

/* ---------- 赛程主控区 ---------- */

.page-home .league {
  background: var(--ink);
}

.page-home .league-rail {
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--home-pad) * -1) clamp(22px, 3vw, 34px);
  padding: 0 var(--home-pad);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .league-rail__item {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--stand);
}

.page-home .league-rail__item--more {
  border-color: var(--aqua);
  color: var(--aqua);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12px;
}

.page-home .board {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .board__head {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

/* 赛程表 */
.page-home .fixtures {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .fixture {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 14px;
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-home .fixture:hover {
  background: var(--board);
  box-shadow: inset 3px 0 0 0 var(--aqua);
}

.page-home .fixture__when {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--aqua);
}

.page-home .fixture__league {
  font-size: 14px;
  color: var(--white);
}

.page-home .fixture__tag {
  justify-self: end;
  padding: 3px 9px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.page-home .fixture__tag--soon {
  border-color: var(--orange);
  color: var(--orange);
}

/* 射手榜 */
.page-home .board__col--scorers {
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--line);
  background: var(--stand);
}

.page-home .scorers__note {
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--mist);
}

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

.page-home .scorer {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.page-home .scorers--rest .scorer:last-child,
.page-home .scorers .scorer:last-child { border-bottom: none; }

.page-home .scorer__rank {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--lime);
}

.page-home .scorer__league {
  font-size: 14px;
  color: var(--white);
}

.page-home .scorer__goals {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--aqua);
}

.page-home .scorers__more {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.page-home .scorers__summary {
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--orange);
  list-style: none;
}
.page-home .scorers__summary::-webkit-details-marker { display: none; }
.page-home .scorers__summary::before {
  content: "+ ";
  font-family: var(--font-mono);
}
.page-home .scorers__more[open] .scorers__summary::before { content: "– "; }

.page-home .scorers--rest { margin-top: 10px; }

/* 通栏影像 */
.page-home .stadium-band {
  position: relative;
  height: clamp(140px, 22vw, 300px);
  margin: clamp(30px, 4.5vw, 60px) calc(var(--home-pad) * -1) 0;
  overflow: hidden;
}

.page-home .stadium-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.88);
}

.page-home .stadium-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 30, 0.9) 0%, rgba(8, 15, 30, 0.15) 45%, rgba(8, 15, 30, 0.9) 100%);
}

/* ---------- 赛季数据大字条 ---------- */

.page-home .scale {
  background: var(--stand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .scale__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 44px);
}

.page-home .scale__item {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-home .scale__num {
  font-family: var(--font-mono);
  font-size: clamp(52px, 10vw, 108px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--aqua);
}

.page-home .scale__num span {
  margin-left: 0.1em;
  font-size: 0.36em;
  color: var(--lime);
}

.page-home .scale__cap {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 战报速览 ---------- */

.page-home .reports {
  background: var(--ink);
}

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

.page-home .report {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--stand) 0%, var(--ink-deep) 100%);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: box-shadow 0.24s var(--ease), background-color 0.24s var(--ease);
}

.page-home .report:hover {
  box-shadow: inset 0 0 0 1px var(--aqua), inset 0 0 26px rgba(43, 224, 200, 0.14);
}

.page-home .report__media {
  margin: 0 0 20px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.page-home .report__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.page-home .report__no {
  position: absolute;
  top: 18px;
  right: 22px;
  padding: 3px 9px;
  border: 1px solid var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .report__media + .report__body .report__no {
  position: static;
  display: inline-block;
  margin-bottom: 14px;
}

.page-home .report__score {
  font-family: var(--font-mono);
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--lime);
}

.page-home .report__title {
  margin-top: 14px;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
}

.page-home .report__meta {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .reports__more {
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- 赛前前瞻 ---------- */

.page-home .preview {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
}

.page-home .preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.page-home .preview__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .preview__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.85;
}

.page-home .preview__p {
  margin-top: 18px;
  max-width: 58ch;
  font-size: clamp(15px, 1.4vw, 16px);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .preview__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .preview__point {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.page-home .preview__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--aqua);
}

.page-home .preview__cap {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .preview__more {
  margin-top: clamp(24px, 3vw, 36px);
}

/* ---------- 面板与反馈 ---------- */

.page-home .panel {
  background: var(--ink);
}

.page-home .panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.page-home .panel__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .panel__fact {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.page-home .panel__num {
  min-width: 62px;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-home .panel__cap {
  font-size: 14px;
  color: var(--mist);
}

/* ---------- 收尾行动区 ---------- */

.page-home .closing {
  background:
    radial-gradient(120% 130% at 8% 0%, rgba(43, 224, 200, 0.16) 0%, rgba(43, 224, 200, 0) 55%),
    var(--ink-deep);
  border-top: 1px solid var(--line);
}

.page-home .closing__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(28px, 4vw, 48px);
}

.page-home .closing__link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 6px 16px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  background: rgba(16, 32, 58, 0.6);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: box-shadow 0.24s var(--ease), background-color 0.24s var(--ease);
}

.page-home .closing__link:hover,
.page-home .closing__link:focus-visible {
  box-shadow: inset 0 0 0 1px var(--aqua);
  background: rgba(28, 51, 80, 0.75);
}

.page-home .closing__num {
  grid-row: 1 / 3;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .closing__name {
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-home .closing__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 响应式 ---------- */

@media (min-width: 700px) {
  .page-home .daybelt {
    grid-template-columns: minmax(170px, 210px) 1fr;
  }

  .page-home .daybelt__head {
    border-bottom: none;
    border-right: 1px solid var(--line);
  }

  .page-home .fixture {
    grid-template-columns: 150px 1fr auto;
    padding: 15px 16px;
  }

  .page-home .fixture__when {
    grid-column: auto;
  }

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

  .page-home .scale__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .closing__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .page-home .board {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .preview__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(36px, 5vw, 72px);
  }

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

@media (min-width: 1120px) {
  .page-home .reports__grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .page-home .report--lead { grid-column: span 7; }
  .page-home .report--b { grid-column: span 5; }
  .page-home .report--c { grid-column: span 5; }
  .page-home .report--d { grid-column: span 7; }
}

@media (max-width: 560px) {
  .page-home .hero__tick--tr,
  .page-home .hero__tick--bl {
    display: none;
  }

  .page-home .hero__media {
    inset: 0;
    opacity: 0.24;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  }

  .page-home .hero__title {
    font-size: clamp(38px, 12vw, 62px);
  }

  .page-home .panel__num {
    min-width: 50px;
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .report,
  .page-home .toc__link,
  .page-home .closing__link,
  .page-home .fixture {
    transition: none;
  }
}
