.page-home {
  --home-panel: rgba(16, 31, 60, .72);
  --home-panel-strong: rgba(16, 31, 60, .9);
  --home-glint: rgba(255, 107, 44, .16);
  background: var(--night);
  color: var(--bright);
  overflow-x: hidden;
}

.page-home .home-crumb {
  padding-top: clamp(20px, 4vw, 40px);
}

.page-home .home-crumb .breadcrumb__current {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--mist);
}

/* ---------- 通用章节骨架 ---------- */
.page-home .home-chapter {
  position: relative;
  padding: clamp(52px, 8vw, 112px) 0;
}

.page-home .home-chapter__head {
  max-width: 720px;
}

.page-home .home-chapter__index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--orange);
  border-left: 4px solid var(--orange);
  padding-left: 10px;
  line-height: 1;
  margin-bottom: 18px;
}

.page-home .home-chapter__title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(28px, 5.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--bright);
  margin: 0 0 18px;
}

.page-home .home-chapter__lede {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
  margin: 0;
  max-width: 62ch;
}

.page-home .rule-accent {
  width: 42px;
  height: 2px;
  background: var(--orange);
  display: block;
  margin: 18px 0 20px;
}

/* ---------- 01 开场 ---------- */
.page-home .home-open {
  padding-top: clamp(24px, 4vw, 48px);
}

.page-home .home-open__statement {
  max-width: 940px;
}

.page-home .home-open__title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(34px, 7.4vw, 88px);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0 0 16px;
  color: var(--bright);
}

.page-home .home-open__lede {
  font-size: 17px;
  line-height: 1.85;
  color: var(--mist);
  max-width: 68ch;
  margin: 0 0 14px;
}

.page-home .home-open__lede--sub {
  color: rgba(127, 160, 200, .78);
  font-size: 16px;
}

.page-home .home-open__body {
  margin-top: clamp(34px, 5vw, 64px);
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.page-home .home-toc__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--orange);
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

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

.page-home .home-toc__link {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-areas:
    "num name"
    "num desc";
  gap: 2px 12px;
  padding: 14px 4px;
  text-decoration: none;
  color: inherit;
  transition: background-color .22s ease, padding-left .22s ease;
}

.page-home .home-toc__link:hover,
.page-home .home-toc__link:focus-visible {
  background: rgba(232, 86, 15, .1);
  padding-left: 12px;
}

.page-home .home-toc__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  padding-top: 3px;
}

.page-home .home-toc__name {
  grid-area: name;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .01em;
  color: var(--bright);
}

.page-home .home-toc__desc {
  grid-area: desc;
  font-size: 14px;
  color: var(--mist);
}

.page-home .home-open__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  background: var(--deck);
  box-shadow: var(--shadow-soft);
}

.page-home .home-open__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 12% 8%, var(--home-glint), transparent 60%),
    linear-gradient(200deg, rgba(10, 20, 40, .32), rgba(10, 20, 40, .78));
  pointer-events: none;
}

.page-home .home-open__frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
}

/* ---------- 02 赛事日历 ---------- */
.page-home .home-cal__stage {
  margin-top: clamp(26px, 4vw, 44px);
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .home-cal__swipe {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  --fade: #0A1428;
}

.page-home .home-cal__track {
  display: flex;
  gap: 14px;
  padding: 0 clamp(20px, 6vw, 90px);
}

.page-home .cal-card {
  flex: 0 0 268px;
  scroll-snap-align: start;
  background: var(--home-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: border-color .22s ease, transform .22s ease;
}

.page-home .cal-card:hover {
  border-color: rgba(232, 86, 15, .55);
  transform: translateY(-3px);
}

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

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

.page-home .cal-card__time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 700;
  color: var(--orange-hi);
  letter-spacing: -.01em;
}

.page-home .cal-card__pair {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .cal-card__team {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--bright);
}

.page-home .cal-card__vs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mist);
}

.page-home .cal-card__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .cal-card__venue {
  font-size: 12px;
  color: var(--mist);
}

.page-home .home-cal__hint,
.page-home .home-teams__hint {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-home .home-cal__strip {
  margin: 0;
  position: relative;
  background: var(--deck);
  overflow: hidden;
}

.page-home .home-cal__strip img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 340px;
  object-fit: cover;
  filter: saturate(.8) brightness(.86);
}

.page-home .home-cal__strip-cap,
.page-home .home-play__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 12px clamp(20px, 6vw, 90px);
  font-size: 13px;
  color: var(--bright);
  background: linear-gradient(to top, rgba(10, 20, 40, .92), transparent);
}

/* ---------- 03 球队资料 ---------- */
.page-home .home-teams__stage {
  margin-top: clamp(26px, 4vw, 44px);
}

.page-home .home-teams__swipe {
  --fade: #0A1428;
}

.page-home .home-teams__track {
  display: flex;
  gap: 16px;
  padding: 6px clamp(20px, 6vw, 90px) 18px;
}

.page-home .team-card {
  flex: 0 0 288px;
  scroll-snap-align: start;
  background: var(--home-panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-home .team-card__fig {
  margin: 0;
  background: var(--deck);
}

.page-home .team-card__fig img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
}

.page-home .team-card__mono {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 44px;
  letter-spacing: .08em;
  color: rgba(180, 255, 61, .22);
  background:
    radial-gradient(110% 80% at 20% 10%, rgba(232, 86, 15, .22), transparent 62%),
    linear-gradient(150deg, var(--deck), var(--night));
  border-bottom: 1px solid var(--line);
}

.page-home .team-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .team-card__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--bright);
}

.page-home .team-card__home {
  margin: 0;
  font-size: 13px;
  color: var(--mist);
}

.page-home .team-card__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .data-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.page-home .data-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .data-row__key {
  font-size: 13px;
  color: var(--mist);
}

.page-home .data-row__val {
  font-size: 15px;
  color: var(--bright);
}

.page-home .data-row__val.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--orange-hi);
}

.page-home .team-card__acts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.page-home .team-card__more {
  font-size: 13px;
  color: var(--mist);
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .team-card__more:hover {
  color: var(--bright);
}

.page-home .panel-fold__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}

.page-home .panel-fold.is-open .panel-fold__panel,
.page-home [data-fold].is-open .panel-fold__panel {
  max-height: 420px;
}

.page-home .panel-fold__inner {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ---------- 暖纸过渡带 ---------- */
.page-home .home-band {
  background: var(--paper);
  color: var(--paper-ink);
  padding: clamp(30px, 5vw, 54px) 0;
  position: relative;
  overflow: hidden;
}

.page-home .home-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, transparent 46%, rgba(22, 35, 61, .07) 46.2%, transparent 47%);
  pointer-events: none;
}

.page-home .home-band__inner {
  position: relative;
  display: grid;
  gap: 10px;
}

.page-home .home-band__line {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(20px, 3.4vw, 34px);
  line-height: 1.35;
  color: var(--paper-ink);
  max-width: 46ch;
}

.page-home .home-band__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--orange);
}

/* ---------- 04 伤停记分牌 ---------- */
.page-home .home-injury__grid {
  margin-top: clamp(26px, 4vw, 44px);
  display: grid;
  gap: clamp(22px, 3.6vw, 40px);
}

.page-home .home-injury__board {
  background: var(--home-panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.page-home .home-injury__boardhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-injury__boardtitle {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--bright);
}

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

.page-home .injury-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

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

.page-home .injury-item__pos {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--bright);
}

.page-home .injury-item__note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--mist);
}

.page-home .home-injury__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.page-home .home-injury__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--bright);
}

.page-home .home-injury__legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.page-home .home-injury__legend-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.page-home .home-injury__legend-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .home-injury__legend-name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--bright);
}

.page-home .home-injury__legend-desc {
  font-size: 13px;
  color: var(--mist);
  text-align: right;
}

.page-home .home-injury__dot-amber {
  background: var(--amber);
}

.page-home .home-injury__dot-hot {
  background: var(--orange);
}

/* ---------- 05 联赛导航 ---------- */
.page-home .home-league__grid {
  margin-top: clamp(26px, 4vw, 44px);
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

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

.page-home .home-league__sub {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--orange);
}

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

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

.page-home .home-league__row:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .home-league__key {
  font-size: 15px;
  color: var(--bright);
}

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

.page-home .home-league__val.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--mist);
}

.page-home .home-league__val--lime {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--lime);
  border: 1px solid rgba(180, 255, 61, .45);
  border-radius: 999px;
  padding: 1px 9px;
}

.page-home .home-league__more {
  margin-top: clamp(24px, 3.6vw, 38px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 2px solid var(--orange);
}

.page-home .home-league__more-text {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 06 本地约赛 ---------- */
.page-home .home-play__grid {
  margin-top: clamp(26px, 4vw, 44px);
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .home-play__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.page-home .home-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.page-home .home-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .home-step__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
  border-left: 4px solid var(--orange);
  padding-left: 10px;
  line-height: 1.2;
}

.page-home .home-step__title {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--bright);
}

.page-home .home-step__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .home-play__fig {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--deck);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.page-home .home-play__fig img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.82) brightness(.85);
}

.page-home .home-play__cta {
  margin-top: clamp(24px, 3.6vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(96deg, rgba(232, 86, 15, .14), rgba(16, 31, 60, .5) 62%);
}

.page-home .home-play__cta-text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bright);
}

/* ---------- 07 关注列表 ---------- */
.page-home .home-follow__grid {
  margin-top: clamp(26px, 4vw, 44px);
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .home-follow__panel {
  background: var(--home-panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.page-home .home-follow__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-follow__toptext {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--lime);
}

.page-home .home-follow__big {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(56px, 12vw, 96px);
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--orange-hi);
}

.page-home .home-follow__unit {
  margin: 8px 0 18px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-home .home-follow__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .home-follow__sub {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  color: var(--bright);
}

.page-home .home-follow__text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 58ch;
}

.page-home .home-follow__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .home-league__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-cal__track,
  .page-home .home-teams__track {
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap;
  }
  .page-home .swipe-row {
    overflow: visible;
  }
}

@media (min-width: 960px) {
  .page-home .home-open__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }
  .page-home .home-open__frame img {
    min-height: 420px;
  }
  .page-home .home-cal__stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    align-items: stretch;
  }
  .page-home .home-cal__strip {
    display: flex;
    flex-direction: column;
  }
  .page-home .home-cal__strip img {
    max-height: none;
    flex: 1 1 auto;
  }
  .page-home .home-injury__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
  .page-home .home-league__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-play__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }
  .page-home .home-play__fig {
    position: sticky;
    top: 96px;
  }
  .page-home .home-follow__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .page-home .home-cal__track,
  .page-home .home-teams__track {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
  }
  .page-home .swipe-row {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-toc__link,
  .page-home .cal-card,
  .page-home .panel-fold__panel {
    transition: none;
  }
  .page-home .cal-card:hover {
    transform: none;
  }
}
</main>
