.page-home {
  --ph-radius: 22px;
  --ph-line: rgba(147, 164, 196, .18);
  --ph-line-soft: rgba(147, 164, 196, .10);
  --ph-paper-line: rgba(36, 30, 27, .14);
  position: relative;
  overflow-x: hidden;
  background: var(--ink-blue-base);
  color: var(--pure-white);
  padding-top: calc(var(--topline-h) + var(--mbar-h) + 22px);
  padding-bottom: 68px;
}

.page-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 560px;
  pointer-events: none;
  background:
    radial-gradient(120% 78% at 80% 0%, rgba(53, 240, 208, .10), transparent 62%),
    radial-gradient(96% 70% at 8% 4%, rgba(138, 108, 255, .10), transparent 66%);
}

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

/* ---------- 面包屑 ---------- */
.page-home .home-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--steel-text);
}

.page-home .home-crumbs .crumbs__sep {
  color: var(--electric-violet);
}

/* ---------- 首屏 ---------- */
.page-home .home-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 34px;
}

.page-home .home-lead__main .label {
  display: block;
  margin-bottom: 12px;
  color: var(--fluoro-cyan);
}

.page-home .home-lead h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 7vw, 46px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--pure-white);
}

.page-home .home-lead__intro {
  max-width: 62ch;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--steel-text);
}

/* 排名板 */
.page-home .rank-board {
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: linear-gradient(160deg, var(--midnight-panel), rgba(18, 30, 54, .5));
  overflow: hidden;
}

.page-home .rank-head,
.page-home .data-row.rank-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 52px 46px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.page-home .rank-head {
  height: 38px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-text);
  border-bottom: 1px solid var(--ph-line);
}

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

.page-home .data-row.rank-row {
  min-height: 52px;
  border-bottom: 1px solid var(--ph-line-soft);
  transition: background .18s ease-out, transform .18s ease-out;
}

.page-home .rank-list .rank-row:last-child {
  border-bottom: 0;
}

.page-home .data-row.rank-row:hover,
.page-home .data-row.rank-row:focus-within {
  background: rgba(53, 240, 208, .07);
}

.page-home .data-row.rank-row.rank-row--top {
  background: linear-gradient(90deg, rgba(53, 240, 208, .16), rgba(53, 240, 208, 0) 72%);
}

.page-home .data-row__rank {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--steel-text);
}

.page-home .rank-row--top .data-row__rank {
  color: var(--fluoro-cyan);
}

.page-home .data-row__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--pure-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .rank-move {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  color: var(--steel-text);
}

.page-home .rank-move--up {
  color: var(--fluoro-cyan);
}

.page-home .rank-move--down {
  color: var(--signal-orange);
}

.page-home .rank-gd {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--steel-text);
  text-align: right;
}

.page-home .rank-gd--high {
  color: var(--fluoro-cyan);
}

.page-home .data-row__val.rank-pts {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--pure-white);
  text-align: right;
}

/* 净胜球走势 */
.page-home .gd-figure {
  margin: 22px 0 0;
  padding: 16px 16px 12px;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: rgba(18, 30, 54, .55);
}

.page-home .gd-figure svg {
  display: block;
  width: 100%;
  height: 92px;
}

.page-home .gd-grid {
  stroke: rgba(147, 164, 196, .16);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.page-home .gd-line {
  fill: none;
  stroke: var(--fluoro-cyan);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .gd-dot {
  fill: var(--ink-blue-base);
  stroke: var(--fluoro-cyan);
  stroke-width: 2;
}

.page-home .gd-dot--lead {
  fill: var(--fluoro-cyan);
  stroke: var(--fluoro-cyan);
  animation: ph-pulse 1.6s ease-in-out infinite;
}

@keyframes ph-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.page-home .figure-caption {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel-text);
}

/* 首屏右侧 */
.page-home .home-lead__aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .figure-frame {
  border-radius: var(--ph-radius);
  overflow: hidden;
  background: var(--midnight-panel);
  border: 1px solid var(--ph-line);
}

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

.page-home .home-lead__figure {
  aspect-ratio: 16 / 10;
}

.page-home .snap-card {
  padding: 18px;
  border-radius: var(--ph-radius);
  border: 1px solid var(--ph-line);
  background: var(--midnight-panel);
}

.page-home .snap-card__title {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fluoro-cyan);
}

.page-home .snap-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .snap-list li {
  display: grid;
  gap: 4px;
}

.page-home .snap-list__k {
  font-size: 12px;
  color: var(--steel-text);
}

.page-home .snap-list__v {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pure-white);
}

.page-home .snap-flag {
  margin: 14px 0 0;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 122, 47, .5);
  background: rgba(255, 122, 47, .12);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--signal-orange);
}

/* ---------- 章节导航条 ---------- */
.page-home .home-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 0 40px;
  border-top: 1px solid var(--ph-line);
}

.page-home .home-toc__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ph-line);
  background: rgba(18, 30, 54, .6);
  color: var(--pure-white);
  text-decoration: none;
  font-size: 13.5px;
  transition: border-color .18s ease-out, background .18s ease-out, transform .18s ease-out;
}

.page-home .home-toc__item:hover,
.page-home .home-toc__item:focus-visible {
  border-color: var(--electric-violet);
  background: rgba(138, 108, 255, .14);
  transform: translateY(-2px);
}

.page-home .home-toc__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--fluoro-cyan);
}

/* ---------- 通用章节 ---------- */
.page-home .home-sec {
  margin-bottom: 26px;
  padding: 30px 20px;
  border-radius: var(--ph-radius);
}

.page-home .home-sec--dark {
  border: 1px solid var(--ph-line);
  background: linear-gradient(170deg, var(--midnight-panel) 0%, rgba(11, 18, 32, .92) 100%);
}

.page-home .home-sec--paper {
  background: var(--cream-paper);
  color: var(--deep-brown-black);
  border: 1px solid var(--warm-paper-line);
}

.page-home .chapter-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.page-home .chapter-no {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--fluoro-cyan);
}

.page-home .home-sec--paper .chapter-no {
  color: var(--signal-orange);
}

.page-home .chapter-head__text h2 {
  margin: 6px 0 0;
  font-size: clamp(22px, 4.6vw, 34px);
  line-height: 1.24;
  font-weight: 800;
  color: var(--pure-white);
}

.page-home .home-sec--paper .chapter-head__text h2 {
  color: var(--deep-brown-black);
}

.page-home .label--dark {
  color: rgba(36, 30, 27, .62);
}

.page-home .home-sec__lead {
  max-width: 66ch;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--steel-text);
}

.page-home .home-sec--paper .home-sec__lead {
  color: rgba(36, 30, 27, .74);
}

.page-home .home-sec__foot {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel-text);
}

.page-home .home-sec__figure {
  margin: 0 0 26px;
  aspect-ratio: 21 / 9;
}

/* ---------- 战报卡片 ---------- */
.page-home .report-cards {
  margin-bottom: 26px;
}

.page-home .report-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ph-paper-line);
  background: rgba(255, 255, 255, .58);
}

.page-home .report-card__round {
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(36, 30, 27, .6);
}

.page-home .report-card__score {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--deep-brown-black);
}

.page-home .report-card__score span {
  color: var(--signal-orange);
  padding: 0 2px;
}

.page-home .report-card__teams {
  margin: 10px 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-brown-black);
}

.page-home .report-card__teams em {
  font-style: normal;
  margin: 0 6px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(53, 240, 208, .3);
  font-size: 12px;
}

.page-home .report-card__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(36, 30, 27, .74);
}

/* ---------- 伤停面板 ---------- */
.page-home .injury-panel {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 122, 47, .38);
  background: rgba(255, 122, 47, .08);
}

.page-home .injury-panel__title {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal-orange);
}

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

.page-home .injury-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.page-home .injury-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  min-width: 52px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--signal-orange);
  color: #2A1405;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: help;
  outline: none;
}

.page-home .injury-pill::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 230px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--electric-violet);
  background: var(--ink-blue-base);
  color: var(--pure-white);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .18s ease-out, transform .18s ease-out, visibility .18s;
  pointer-events: none;
  z-index: 6;
}

.page-home .injury-pill:hover::after,
.page-home .injury-pill:focus::after,
.page-home .injury-pill:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-home .injury-pill:focus-visible {
  box-shadow: 0 0 0 3px rgba(138, 108, 255, .55);
}

.page-home .injury-item__team {
  font-weight: 700;
  color: var(--deep-brown-black);
}

.page-home .injury-item__desc {
  color: rgba(36, 30, 27, .72);
}

/* ---------- 赛程快照 ---------- */
.page-home .snap-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .snap-layout__figure {
  margin: 0;
  aspect-ratio: 3 / 2;
}

.page-home .schedule-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .schedule-rail::-webkit-scrollbar {
  height: 6px;
}

.page-home .schedule-rail::-webkit-scrollbar-thumb {
  background: rgba(53, 240, 208, .35);
  border-radius: var(--radius-pill);
}

.page-home .schedule-day {
  flex: 0 0 82%;
  min-width: 250px;
  scroll-snap-align: start;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ph-line);
  background: rgba(11, 18, 32, .7);
}

.page-home .schedule-day__name {
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pure-white);
}

.page-home .schedule-day__name span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--steel-text);
}

.page-home .schedule-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .schedule-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 4px 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ph-line-soft);
}

.page-home .schedule-list .schedule-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .schedule-item__time {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--fluoro-cyan);
  grid-row: span 2;
}

.page-home .schedule-item__match {
  font-size: 14px;
  font-weight: 600;
  color: var(--pure-white);
}

.page-home .schedule-item__match em {
  font-style: normal;
  margin: 0 4px;
  color: var(--steel-text);
}

.page-home .schedule-item__venue {
  grid-column: 2;
  font-size: 12.5px;
  color: var(--steel-text);
}

.page-home .schedule-item .pill {
  grid-column: 2;
  justify-self: start;
  margin-top: 4px;
}

.page-home .pill--signal {
  color: var(--signal-orange);
}

/* ---------- 大屏版 ---------- */
.page-home .bigscreen-layout {
  align-items: center;
  gap: 26px;
}

.page-home .bigscreen-copy p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(36, 30, 27, .78);
}

.page-home .spec-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--warm-paper-line);
}

.page-home .spec-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .5);
  border-bottom: 1px solid var(--warm-paper-line);
}

.page-home .spec-list li:last-child {
  border-bottom: 0;
}

.page-home .spec-list__k {
  font-size: 12.5px;
  letter-spacing: .08em;
  color: rgba(36, 30, 27, .6);
}

.page-home .spec-list__v {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-brown-black);
}

.page-home .bigscreen-figure {
  margin: 0;
  aspect-ratio: 3 / 2;
}

/* ---------- 核对步骤 ---------- */
.page-home .step-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: ph-step;
  display: grid;
  gap: 14px;
}

.page-home .step-item {
  counter-increment: ph-step;
  position: relative;
  padding: 18px 18px 18px 62px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ph-line);
  background: rgba(18, 30, 54, .62);
  transition: border-color .18s ease-out, transform .18s ease-out;
}

.page-home .step-item:hover {
  border-color: rgba(53, 240, 208, .5);
  transform: translateY(-2px);
}

.page-home .step-item::before {
  content: counter(ph-step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--fluoro-cyan);
}

.page-home .step-item__body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--pure-white);
}

.page-home .step-item__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--steel-text);
}

.page-home .step-item__link {
  margin-top: 10px;
}

.page-home .step-item__link a {
  display: inline-block;
  color: var(--fluoro-cyan);
  text-decoration: none;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(53, 240, 208, .45);
  padding-bottom: 2px;
  transition: border-color .18s ease-out, color .18s ease-out;
}

.page-home .step-item__link a:hover,
.page-home .step-item__link a:focus-visible {
  color: var(--electric-violet);
  border-color: var(--electric-violet);
}

/* ---------- 数据条 ---------- */
.page-home .home-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 26px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--ph-line);
  background: var(--ph-line-soft);
}

.page-home .home-figures__item {
  display: grid;
  gap: 6px;
  padding: 18px 16px;
  background: var(--ink-blue-base);
}

.page-home .home-figures__item .stat__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--pure-white);
}

.page-home .home-figures__item .stat__num--cyan {
  color: var(--fluoro-cyan);
}

.page-home .home-figures__item .stat__label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--steel-text);
}

/* ---------- 出口按钮 ---------- */
.page-home .home-exits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-exits .btn {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-sec {
    padding: 38px 32px;
  }

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

  .page-home .schedule-day {
    flex: 0 0 46%;
  }

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

@media (min-width: 900px) {
  .page-home {
    padding-top: calc(var(--topline-h) + 48px);
  }

  .page-home .home-lead {
    grid-template-columns: 8fr 4fr;
    gap: 34px;
    align-items: start;
  }

  .page-home .home-lead__aside {
    position: sticky;
    top: calc(var(--topline-h) + 24px);
  }

  .page-home .snap-layout {
    grid-template-columns: 4fr 8fr;
    align-items: start;
  }

  .page-home .bigscreen-layout {
    gap: 34px;
  }

  .page-home .schedule-day {
    flex: 0 0 78%;
  }
}

@media (min-width: 1140px) {
  .page-home .home-sec {
    padding: 46px 44px;
  }

  .page-home .schedule-day {
    flex: 0 0 62%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .gd-dot--lead {
    animation: none;
  }

  .page-home .home-toc__item:hover,
  .page-home .home-toc__item:focus-visible,
  .page-home .step-item:hover {
    transform: none;
  }
}
