.page-home {
  --home-block: clamp(52px, 8vw, 96px);
  --home-rule: repeating-linear-gradient(to right, var(--line-strong) 0 1px, transparent 1px 26px);
  display: block;
  position: relative;
  overflow-x: clip;
  color: var(--paper);
  background:
    radial-gradient(120% 78% at 4% 0%, rgba(47, 160, 90, .13), transparent 54%),
    radial-gradient(90% 66% at 96% 4%, rgba(226, 104, 31, .15), transparent 58%),
    var(--ink);
}

/* ---------- 通用块间距 ---------- */
.page-home .home-hero,
.page-home .home-refs,
.page-home .home-timeline,
.page-home .home-ways,
.page-home .home-squad,
.page-home .home-rhythm,
.page-home .home-partner {
  position: relative;
}

.page-home .home-refs,
.page-home .home-timeline,
.page-home .home-ways,
.page-home .home-squad,
.page-home .home-rhythm {
  padding-block: var(--home-block);
}

.page-home .home-timeline,
.page-home .home-rhythm {
  background: var(--zone);
}

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

.page-home .home-timeline::before,
.page-home .home-squad::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 8px;
  background-image: var(--home-rule);
  opacity: .55;
  pointer-events: none;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-block: clamp(20px, 4vw, 44px) clamp(36px, 6vw, 76px);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 44px);
}

.page-home .home-hero .display-title {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.16;
  margin: 12px 0 0;
  max-width: 22ch;
}

.page-home .home-hero .display-sub {
  margin: 16px 0 0;
  max-width: 46ch;
}

.page-home .hero-index {
  list-style: none;
  margin: clamp(24px, 3.6vw, 36px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .hero-index li {
  border-bottom: 1px solid var(--line);
}

.page-home .hero-index a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 4px;
  color: var(--paper);
  text-decoration: none;
  transition: background-color .22s ease, padding-inline-start .22s ease;
}

.page-home .hero-index a:hover,
.page-home .hero-index a:focus-visible {
  background: rgba(47, 160, 90, .12);
  padding-inline-start: 10px;
}

.page-home .hero-index__no {
  color: var(--orange);
  min-width: 2.2em;
}

.page-home .hero-index__label {
  font-size: 14px;
  letter-spacing: .02em;
}

.page-home .home-hero__stage {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  min-width: 0;
}

.page-home .home-hero__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(140deg, var(--zone) 0%, #16281f 48%, #2a1a0d 100%);
  margin: 0;
}

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

.page-home .home-hero__scores {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

/* ---------- 比分卡 ---------- */
.page-home .scorecard {
  position: relative;
  overflow: hidden;
  padding: 15px 18px 17px;
  border-radius: var(--r-md);
  background: linear-gradient(158deg, rgba(226, 104, 31, .18), rgba(18, 33, 28, .92) 62%);
  box-shadow: var(--shadow-lift);
}

.page-home .scorecard--foot {
  background: linear-gradient(158deg, rgba(47, 160, 90, .20), rgba(18, 33, 28, .92) 62%);
}

.page-home .scorecard::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--orange), var(--orange-deep));
}

.page-home .scorecard--foot::before {
  background: linear-gradient(to bottom, var(--grass), #1c6a3b);
}

.page-home .scorecard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .scorecard__round {
  color: var(--index);
}

.page-home .scorecard__line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 6px;
}

.page-home .scorecard__team {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--index);
}

.page-home .scorecard__colon {
  font-family: var(--font-score);
  font-size: 26px;
  font-weight: 700;
  color: var(--index);
  line-height: 1;
}

.page-home .scorecard__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--index);
}

/* ---------- 本轮裁判名单 ---------- */
.page-home .home-refs__media {
  margin: clamp(22px, 3vw, 32px) 0 0;
}

.page-home .home-refs__lede {
  margin: clamp(24px, 3vw, 34px) 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--paper);
}

.page-home .home-refs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .league-ref {
  background: var(--zone);
  border-radius: var(--r-md);
  padding: 17px 18px 14px;
  transition: transform .28s ease, background-color .28s ease;
}

.page-home .league-ref:nth-child(2n) {
  background: var(--zone-soft);
}

.page-home .league-ref:hover {
  transform: translateY(-3px);
}

.page-home .league-ref__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-home .league-ref__name {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .01em;
}

.page-home .league-ref__count {
  color: var(--whistle);
  font-size: 20px;
}

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

.page-home .refrows__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--line);
}

.page-home .refrows__row:last-child {
  border-bottom: 0;
}

.page-home .refrows__time {
  color: var(--orange);
  font-size: 15px;
  min-width: 4.2em;
}

.page-home .refrows__match {
  flex: 1 1 12em;
  min-width: 0;
  font-size: 13px;
  color: var(--paper);
}

.page-home .home-refs__more {
  margin: clamp(24px, 3vw, 34px) 0 0;
}

/* ---------- 时间轴 ---------- */
.page-home .home-timeline__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 38px);
  margin-top: clamp(24px, 3.2vw, 36px);
}

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

.page-home .tline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-home .tline::before {
  content: "";
  position: absolute;
  inset-inline-start: 8px;
  inset-block: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--grass) 55%, var(--whistle));
  opacity: .5;
}

.page-home .tline__item {
  position: relative;
  padding: 0 0 clamp(22px, 3vw, 30px) 34px;
}

.page-home .tline__item:last-child {
  padding-bottom: 0;
}

.page-home .tline__item::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--orange);
}

.page-home .tline__stamp {
  margin: 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--index);
}

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

.page-home .tline__match {
  margin: 6px 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.page-home .tline__score {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
}

.page-home .tline__dash {
  font-family: var(--font-score);
  font-size: 24px;
  color: var(--index);
  line-height: 1;
}

.page-home .tline__note {
  margin: 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.72;
  color: var(--index);
}

/* ---------- 三种查法 ---------- */
.page-home .home-ways__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: clamp(26px, 3.4vw, 38px);
}

.page-home .way {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(27, 47, 39, .95), rgba(18, 33, 28, .6));
  transition: transform .28s ease;
}

.page-home .way:hover {
  transform: translateY(-4px);
}

.page-home .way__no {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--line-strong);
  letter-spacing: .04em;
}

.page-home .way__spark {
  display: block;
  width: 72px;
  height: 28px;
  margin: 14px 0 12px;
}

.page-home .way__title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .01em;
}

.page-home .way__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--index);
}

.page-home .way__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.page-home .way__list li {
  position: relative;
  padding: 5px 0 5px 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--paper);
}

.page-home .way__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--grass);
}

.page-home .way__link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
}

.page-home .way__link:hover,
.page-home .way__link:focus-visible {
  color: var(--whistle);
  border-bottom-color: var(--whistle);
}

/* ---------- 伤停与转会 ---------- */
.page-home .home-squad__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: clamp(24px, 3.2vw, 34px);
}

.page-home .home-squad .fold {
  border-radius: var(--r-md);
  background: var(--zone);
  overflow: hidden;
}

.page-home .home-squad .fold[open] {
  background: var(--zone-soft);
}

.page-home .home-squad .fold__head {
  cursor: pointer;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .home-squad .fold__head::-webkit-details-marker {
  display: none;
}

.page-home .home-squad .fold__head::after {
  content: "＋";
  font-family: var(--font-num);
  font-size: 14px;
  color: var(--whistle);
  flex: none;
}

.page-home .home-squad .fold[open] .fold__head::after {
  content: "－";
}

.page-home .home-squad .fold__body {
  padding: 0 18px 16px;
}

.page-home .squad-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .squad-list li {
  padding: 9px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--index);
  border-bottom: 1px solid var(--line);
}

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

/* ---------- 更新节奏 ---------- */
.page-home .home-rhythm__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(24px, 3.2vw, 34px);
}

.page-home .home-rhythm__stats .stat {
  padding: 16px 16px 18px;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(226, 104, 31, .14), rgba(18, 33, 28, .7));
}

.page-home .home-rhythm__stats .stat:nth-child(2n) {
  background: linear-gradient(160deg, rgba(47, 160, 90, .16), rgba(18, 33, 28, .7));
}

.page-home .home-rhythm__stats .stat__num {
  font-size: clamp(28px, 4vw, 40px);
}

.page-home .home-rhythm__stats .stat__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--index);
}

.page-home .phase {
  list-style: none;
  margin: clamp(26px, 3.4vw, 38px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .phase__item {
  padding: 18px 18px 20px;
  border-radius: var(--r-md);
  background: rgba(18, 33, 28, .72);
  border-inline-start: 3px solid var(--orange);
}

.page-home .phase__item:nth-child(2) {
  border-inline-start-color: var(--grass);
}

.page-home .phase__item:nth-child(3) {
  border-inline-start-color: var(--whistle);
}

.page-home .phase__tag {
  display: inline-block;
  margin-bottom: 10px;
}

.page-home .phase__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
}

.page-home .phase__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--index);
}

.page-home .home-rhythm__note {
  margin-top: clamp(24px, 3.2vw, 34px);
  display: grid;
  gap: 16px;
  max-width: 82ch;
}

.page-home .home-rhythm__note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
}

/* ---------- 通栏休息点 ---------- */
.page-home .home-breath {
  margin: clamp(40px, 6vw, 72px) 0 0;
}

/* ---------- 合作区 ---------- */
.page-home .home-partner {
  padding-block: clamp(44px, 6vw, 80px) var(--home-block);
}

.page-home .home-partner__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.2vw, 34px);
  padding: clamp(24px, 3.6vw, 44px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(226, 104, 31, .22), transparent 58%),
    linear-gradient(150deg, var(--zone-soft), rgba(12, 23, 19, .92));
  box-shadow: var(--shadow-lift);
}

.page-home .home-partner__title {
  margin: 12px 0 14px;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 300;
  letter-spacing: -.01em;
}

.page-home .home-partner__text {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--index);
}

.page-home .home-partner__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.page-home .home-partner__list li {
  position: relative;
  padding: 8px 12px 8px 26px;
  border-radius: var(--r-sm);
  background: rgba(18, 33, 28, .62);
  font-size: 13px;
  line-height: 1.6;
}

.page-home .home-partner__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--whistle);
}

.page-home .home-partner__meta {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--index);
  letter-spacing: .02em;
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .home-hero__scores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 900px) {
  .page-home .home-refs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
  }

  .page-home .home-refs__grid .league-ref:nth-child(2n) {
    transform: translateY(22px);
  }

  .page-home .home-refs__grid .league-ref:nth-child(2n):hover {
    transform: translateY(18px);
  }

  .page-home .home-ways__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
  }

  .page-home .home-ways__list .way:nth-child(2) {
    margin-top: 34px;
  }

  .page-home .home-ways__list .way:nth-child(3) {
    margin-top: 68px;
  }

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

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

@media (min-width: 1024px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
  }

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

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

@media (min-width: 1280px) {
  .page-home .home-hero__rail {
    position: sticky;
    top: calc(var(--strip-h) + var(--frame-h) + 24px);
  }
}

/* ---------- 无障碍与减弱动效 ---------- */
.page-home [data-stat-note] {
  cursor: help;
  border-bottom: 1px dotted var(--line-strong);
}

.page-home .hero-index a:focus-visible,
.page-home .way__link:focus-visible,
.page-home .home-squad .fold__head:focus-visible {
  outline: 2px solid var(--whistle);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .league-ref,
  .page-home .way,
  .page-home .hero-index a {
    transition: none;
  }

  .page-home .league-ref:hover,
  .page-home .way:hover,
  .page-home .home-refs__grid .league-ref:nth-child(2n):hover {
    transform: none;
  }
}
</main>
