.page-home {
  background: var(--cream-paper);
  color: var(--slate-ink);
}

/* ---------- 上下文条 ---------- */
.page-home .home-ctx {
  background: var(--cream-paper);
  border-bottom: 1px solid var(--line);
}
.page-home .home-ctx__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.6;
}
.page-home .home-ctx__line,
.page-home .home-ctx__league {
  margin: 0;
}
.page-home .home-ctx__line { color: var(--ink-pitch); }
.page-home .home-ctx__league { color: var(--slate-ink); }

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.6vw, 58px) 0 clamp(34px, 5vw, 64px);
  background: var(--ink-pitch);
  color: var(--cream-paper);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 320px at 10% -12%, rgba(33, 230, 193, .18), transparent 70%),
    radial-gradient(560px 280px at 94% 2%, rgba(255, 122, 47, .13), transparent 72%);
}
.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
}
.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: end;
}
.page-home .home-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--cold-white);
}
.page-home .home-hero__lede {
  margin: 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted-cyan);
}
.page-home .home-hero__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-tile {
  padding: 14px 16px;
  border: 1px solid var(--line-light);
  background: rgba(20, 69, 58, .55);
  box-shadow: var(--shadow-paper);
}
.page-home .home-tile--orange {
  border-color: rgba(255, 122, 47, .5);
  background: rgba(255, 122, 47, .1);
}
.page-home .home-tile__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted-cyan);
}
.page-home .home-tile__value {
  margin: 6px 0 2px;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--cold-white);
}
.page-home .home-tile--orange .home-tile__value { color: var(--signal-orange); }
.page-home .home-tile__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-cyan);
}

/* ---------- 比分跑道 ---------- */
.page-home .runway {
  position: relative;
  margin-top: clamp(26px, 4vw, 48px);
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--line-light);
  background: linear-gradient(180deg, rgba(33, 230, 193, .08), rgba(14, 42, 36, 0) 58%);
}
.page-home .runway__visual {
  margin: 0 0 clamp(12px, 1.8vw, 18px);
}
.page-home .runway__visual img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .runway__trace {
  display: block;
  width: 100%;
  height: 38px;
  margin: -6px 0 10px;
  color: var(--pulse-cyan);
  opacity: .5;
}
.page-home .runway__trace polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 6 8;
}
.page-home .runway__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.page-home .fixture {
  padding: 14px 16px 12px;
  border: 1px solid var(--line-light);
  background: rgba(9, 32, 27, .74);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.page-home .fixture:hover {
  border-color: rgba(33, 230, 193, .55);
  background: rgba(20, 69, 58, .82);
}
.page-home .fixture__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.page-home .fixture__phase {
  margin-left: auto;
  letter-spacing: .04em;
  color: var(--pulse-cyan);
}
.page-home .fixture__scoreline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
}
.page-home .fixture__team {
  font-size: 14px;
  line-height: 1.4;
  color: var(--cream-paper);
}
.page-home .fixture__team--away { text-align: right; }
.page-home .fixture__score {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  white-space: nowrap;
  color: var(--cold-white);
}
.page-home .fixture__meta {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted-cyan);
  transition: opacity .22s var(--ease), color .22s var(--ease);
}

/* ---------- 排名区间 ---------- */
.page-home .home-zones {
  padding: clamp(40px, 6vw, 84px) 0;
  background: var(--cream-paper);
}
.page-home .chapter-no {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--muted-cyan);
}
.page-home .home-zones .chapter-no,
.page-home .home-reports .chapter-no {
  color: var(--panel-teal);
  opacity: .6;
}
.page-home .chapter-head__body .eyebrow { margin-bottom: 10px; }
.page-home .home-zones h2,
.page-home .home-reports h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink-pitch);
}
.page-home .home-scorers h2,
.page-home .home-update h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--cold-white);
}
.page-home .chapter-head__body > p:not(.eyebrow) {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
}
.page-home .home-zones .chapter-head__body > p:not(.eyebrow),
.page-home .home-reports .chapter-head__body > p:not(.eyebrow) {
  color: var(--slate-ink);
}
.page-home .home-scorers .chapter-head__body > p:not(.eyebrow),
.page-home .home-update .chapter-head__body > p:not(.eyebrow) {
  color: var(--muted-cyan);
}
.page-home .home-zones__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 40px);
  margin-top: clamp(24px, 3.4vw, 44px);
}
.page-home .home-zones__visual {
  margin: 0;
}
.page-home .home-zones__visual img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .league-switch {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.page-home .league-switch__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.page-home .league-switch__panel {
  padding-top: 18px;
}
.page-home .zone-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .zone-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-areas:
    "pos name"
    "pos desc";
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
  padding: 14px 18px;
  background: var(--cold-white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted-cyan);
  box-shadow: var(--shadow-paper);
}
.page-home .zone-item--up { border-left-color: var(--pulse-cyan); }
.page-home .zone-item--mid { border-left-color: var(--muted-cyan); }
.page-home .zone-item--down { border-left-color: var(--signal-orange); }
.page-home .zone-item__pos {
  grid-area: pos;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-pitch);
}
.page-home .zone-item__name {
  grid-area: name;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-pitch);
}
.page-home .zone-item__desc {
  grid-area: desc;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-ink);
}

/* ---------- 射手榜与案例合集 ---------- */
.page-home .home-scorers {
  padding: clamp(40px, 6vw, 84px) 0;
  background: var(--panel-teal);
  color: var(--cream-paper);
}
.page-home .home-scorers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 40px);
  margin-top: clamp(24px, 3.4vw, 44px);
}
.page-home .scorer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .scorer-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line-light);
  border-left: 3px solid rgba(169, 196, 188, .5);
  background: rgba(9, 32, 27, .45);
}
.page-home .scorer-row--top {
  border-left-color: var(--signal-orange);
}
.page-home .scorer-row__pos {
  font-size: 13px;
  color: var(--muted-cyan);
}
.page-home .scorer-row__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--cold-white);
}
.page-home .scorer-row__club {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-cyan);
}
.page-home .scorer-row__goals {
  font-size: 24px;
  font-weight: 500;
  color: var(--pulse-cyan);
}
.page-home .scorer-row--top .scorer-row__goals { color: var(--signal-orange); }
.page-home .scorer-row__sub {
  min-width: 52px;
  text-align: right;
  font-size: 12px;
  color: var(--muted-cyan);
}
.page-home .home-scorers__foot {
  margin: 18px 0 16px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted-cyan);
}
.page-home .home-scorers__side .media-frame {
  margin: 0;
}
.page-home .home-scorers__side img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .home-collection {
  margin-top: 16px;
  padding: 18px 20px;
  background: var(--cold-white);
  color: var(--slate-ink);
}
.page-home .home-collection h3 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink-pitch);
}
.page-home .home-collection > p:not(.eyebrow) {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--slate-ink);
}

/* ---------- 战报速览 ---------- */
.page-home .home-reports {
  padding: clamp(40px, 6vw, 84px) 0;
  background: var(--cream-paper);
}
.page-home .home-reports__visual {
  margin: clamp(22px, 3vw, 36px) 0 clamp(20px, 2.6vw, 30px);
}
.page-home .home-reports__visual img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .report-list {
  display: grid;
  gap: 10px;
}
.page-home .report {
  background: var(--cold-white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pulse-cyan);
  box-shadow: var(--shadow-paper);
}
.page-home .report__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "tag cue"
    "title cue";
  gap: 8px 18px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}
.page-home .report__summary::-webkit-details-marker { display: none; }
.page-home .report__summary::marker { content: ""; }
.page-home .report__tag {
  grid-area: tag;
  justify-self: start;
}
.page-home .report__title {
  grid-area: title;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-pitch);
}
.page-home .report__cue {
  grid-area: cue;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  color: var(--slate-ink);
}
.page-home .report__cue-close { display: none; }
.page-home .report[open] .report__cue-open { display: none; }
.page-home .report[open] .report__cue-close { display: inline; }
.page-home .report__cue::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 14px;
  line-height: 1;
  color: var(--ink-pitch);
  border: 1px solid var(--line);
  transition: background-color .24s var(--ease), border-color .24s var(--ease);
}
.page-home .report[open] .report__cue::after {
  content: "−";
  background: var(--pulse-cyan);
  border-color: var(--pulse-cyan);
}
.page-home .report__body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--line-soft);
}
.page-home .report__body > p {
  margin: 14px 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate-ink);
}
.page-home .report__body .timeline {
  margin: 0;
}
.page-home .report__body .timeline__text {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--slate-ink);
}

/* ---------- 覆盖与更新 ---------- */
.page-home .home-update {
  padding: clamp(40px, 6vw, 84px) 0 clamp(34px, 5vw, 62px);
  background: var(--ink-pitch);
  color: var(--cream-paper);
}
.page-home .update-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(24px, 3.4vw, 40px) 0 clamp(24px, 3vw, 34px);
  padding: 0;
  list-style: none;
}
.page-home .stat-item {
  padding: 16px 18px;
  border: 1px solid var(--line-light);
  background: rgba(20, 69, 58, .5);
}
.page-home .stat-item .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--pulse-cyan);
}
.page-home .stat-item--orange .stat__value { color: var(--signal-orange); }
.page-home .stat-item .stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted-cyan);
}
.page-home .home-update__note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 44px;
  max-width: 78ch;
}
.page-home .home-update__note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--cream-paper);
}
.page-home .home-update__note a {
  color: var(--pulse-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-home .home-update__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* ---------- 断点 ---------- */
@media (min-width: 780px) {
  .page-home .runway__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .update-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }
  .page-home .home-update__note {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-update__links {
    grid-column: 1 / -1;
  }
  .page-home .scorer-row:nth-child(2) { margin-left: 18px; }
  .page-home .scorer-row:nth-child(3) { margin-left: 36px; }
  .page-home .scorer-row:nth-child(4) { margin-left: 54px; }
  .page-home .scorer-row:nth-child(5) { margin-left: 72px; }
}

@media (min-width: 960px) {
  .page-home .home-zones__grid {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: clamp(32px, 4.4vw, 64px);
    align-items: start;
  }
  .page-home .home-zones__visual {
    position: sticky;
    top: 104px;
  }
  .page-home .home-scorers__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(32px, 4.4vw, 64px);
    align-items: start;
  }
}

@media (max-width: 959px) {
  .page-home .home-zones__visual img {
    max-height: 380px;
    object-fit: cover;
  }
}

@media (max-width: 560px) {
  .page-home .zone-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "pos"
      "name"
      "desc";
    row-gap: 4px;
  }
  .page-home .scorer-row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-areas:
      "pos name goals"
      "pos sub sub";
    row-gap: 4px;
  }
  .page-home .scorer-row__pos { grid-area: pos; }
  .page-home .scorer-row__name { grid-area: name; }
  .page-home .scorer-row__goals { grid-area: goals; }
  .page-home .scorer-row__sub {
    grid-area: sub;
    text-align: left;
    min-width: 0;
  }
  .page-home .report__summary {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "tag"
      "title"
      "cue";
    gap: 8px;
  }
  .page-home .report__cue { justify-self: start; }
}

@media (hover: hover) {
  .page-home .fixture__meta { opacity: .38; }
  .page-home .fixture:hover .fixture__meta,
  .page-home .fixture:focus-within .fixture__meta {
    opacity: 1;
    color: var(--pulse-cyan);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .fixture,
  .page-home .fixture__meta,
  .page-home .report__cue::after {
    transition: none;
  }
}
