.page-home {
  --home-shell: min(100% - 28px, 1180px);
  --home-gap: 20px;
  display: block;
}

.page-home .crumbs-now {
  color: var(--mist);
}

/* ============ 1. 框景首屏 ============ */
.page-home .fx-hero {
  padding: 4px 0 40px;
}

.page-home .fx-hero__frame {
  position: relative;
  width: var(--home-shell);
  margin: 0 auto;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--hair-strong);
  background: var(--night);
  isolation: isolate;
}

.page-home .fx-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  z-index: -2;
}

.page-home .fx-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 26, 21, 0.32) 0%, rgba(6, 26, 21, 0.78) 55%, rgba(6, 26, 21, 0.95) 100%);
}

.page-home .fx-hero__tick {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 0 solid var(--lime);
  pointer-events: none;
}

.page-home .fx-hero__tick--tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.page-home .fx-hero__tick--tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; }
.page-home .fx-hero__tick--bl { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; }
.page-home .fx-hero__tick--br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }

.page-home .fx-hero__inner {
  padding: 64px 20px 18px;
}

.page-home .fx-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-transform: uppercase;
}

.page-home .fx-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 7.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 20ch;
}

.page-home .fx-hero__lede {
  margin: 0 0 26px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .scoreboard {
  border-top: 1px solid var(--hair);
  padding-top: 16px;
  margin-bottom: 22px;
}

.page-home .scoreboard__meta {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .scoreboard__num {
  margin: 6px 0 4px;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(64px, 21vw, 138px);
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.page-home .scoreboard__side {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
}

.page-home .fx-hero__actions,
.page-home .note-plate__links,
.page-home .column-peek__links,
.page-home .closing-band__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.page-home .fx-hero__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--hair);
  background: var(--glass);
  backdrop-filter: blur(6px);
}

.page-home .fx-hero__progress-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .fx-hero__bar {
  flex: 1;
  min-width: 60px;
  height: 4px;
  background: rgba(241, 233, 216, 0.14);
  display: block;
}

.page-home .fx-hero__fill {
  display: block;
  height: 100%;
  width: 80%;
  background: linear-gradient(90deg, var(--lime), var(--amber));
}

.page-home .fx-hero__progress-num {
  font-size: 13px;
  color: var(--lime);
  white-space: nowrap;
}

/* ============ 2. 底栏第二格演示 ============ */
.page-home .cell-demo {
  background: var(--canvas);
  padding: 48px 0;
}

.page-home .cell-demo__grid {
  display: grid;
  gap: 28px;
}

.page-home .cell-demo__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.page-home .phone {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 9 / 17;
  border: 1px solid var(--hair-strong);
  border-radius: 22px;
  background: var(--night);
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
}

.page-home .phone__notch {
  width: 62px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 2px;
  background: rgba(241, 233, 216, 0.18);
}

.page-home .phone__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 4px;
}

.page-home .phone__lines span {
  display: block;
  height: 8px;
  background: rgba(241, 233, 216, 0.09);
}

.page-home .phone__lines span:nth-child(1) { width: 88%; background: rgba(200, 242, 78, 0.22); }
.page-home .phone__lines span:nth-child(2) { width: 64%; }
.page-home .phone__lines span:nth-child(3) { width: 76%; }

.page-home .phone__tabs {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 4px;
  border-top: 1px solid var(--hair-soft);
  padding-top: 8px;
}

.page-home .phone__tab {
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--mist);
  text-align: center;
  padding: 8px 2px;
  border: 1px solid transparent;
  line-height: 1.2;
}

.page-home .phone__tab--on {
  background: var(--lime);
  color: var(--night);
  font-weight: 700;
  border-color: var(--lime);
}

.page-home .cell-demo__caption {
  margin: 0;
  max-width: 30ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  text-align: center;
}

.page-home .cell-demo__notes {
  display: grid;
  gap: 18px;
}

.page-home .note-plate {
  position: relative;
  padding: 20px 18px 18px;
  background: var(--canvas);
  border-left: 3px solid var(--amber);
}

.page-home .note-plate::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: var(--glass);
  z-index: -1;
}

.page-home .note-plate {
  z-index: 1;
}

.page-home .note-plate__title {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .note-plate__text {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .note-plate__links {
  margin-top: 2px;
}

/* ============ 3. 近三轮进失球 ============ */
.page-home .flow-block {
  padding: 48px 0;
}

.page-home .flow-block__grid {
  display: grid;
  gap: 26px;
}

.page-home .flow-block__round {
  margin: 0 0 14px;
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.page-home .flow-tally {
  margin: 0 0 16px;
  border-top: 1px solid var(--hair);
}

.page-home .flow-tally__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--hair-soft);
}

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

.page-home .flow-tally dd {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
}

.page-home .flow-tally__row--key dd {
  color: var(--amber);
  font-size: 26px;
}

.page-home .flow-block__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--cream);
}

.page-home .flow-block__chart {
  background: rgba(6, 26, 21, 0.42);
  border: 1px solid var(--hair);
  padding: 16px 14px 14px;
}

.page-home .flow-chart__plot {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .plot-line {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.page-home .plot-line--for { stroke: var(--lime); }
.page-home .plot-line--aga { stroke: var(--mist); stroke-dasharray: 5 4; }
.page-home .plot-dot--for { fill: var(--lime); }
.page-home .plot-dot--aga { fill: var(--mist); }
.page-home .plot-base { stroke: var(--hair-soft); stroke-width: 1; }
.page-home .plot-bar--pos { fill: var(--lime); }
.page-home .plot-bar--neg { fill: var(--clay); }

.page-home .plot-label {
  font-family: var(--font-num);
  font-size: 11px;
  fill: var(--mist);
}

.page-home .flow-legend {
  list-style: none;
  margin: 6px 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.page-home .flow-legend__item {
  font-size: 12px;
  color: var(--mist);
  padding-left: 16px;
  position: relative;
}

.page-home .flow-legend__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 2px;
}

.page-home .flow-legend__item--for::before { background: var(--lime); }
.page-home .flow-legend__item--aga::before { background: var(--mist); }
.page-home .flow-legend__item--bar::before { height: 8px; top: 0.28em; background: var(--clay); }

.page-home .flow-detail {
  border-top: 1px solid var(--hair-soft);
  padding-top: 10px;
}

.page-home .flow-detail__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 5px 0;
  font-size: 13px;
  color: var(--cream);
}

.page-home .flow-detail__k {
  color: var(--lime);
  font-size: 13px;
}

.page-home .flow-block__figure {
  margin: 0;
}

.page-home .flow-block__cta {
  margin: 26px 0 0;
}

/* ============ 4. 专栏抢先读 ============ */
.page-home .column-peek {
  padding: 48px 0;
}

.page-home .column-peek__layout {
  display: grid;
  gap: 28px;
}

.page-home .column-peek__issue {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--clay);
  text-transform: uppercase;
}

.page-home .column-peek__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 6.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .column-peek__byline {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(23, 18, 14, 0.16);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(23, 18, 14, 0.72);
}

.page-home .column-peek__text {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
}

.page-home .column-peek__text.drop-cap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 3.1em;
  line-height: 0.86;
  padding: 4px 10px 0 0;
  color: var(--clay);
}

.page-home .column-peek__side {
  background: rgba(23, 18, 14, 0.05);
  border-top: 3px solid var(--clay);
  padding: 18px 16px;
}

.page-home .column-peek__side .plate__label {
  margin: 0 0 12px;
}

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

.page-home .column-peek__list li {
  padding: 9px 0;
  border-bottom: 1px dashed rgba(23, 18, 14, 0.18);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(23, 18, 14, 0.86);
}

.page-home .column-peek__list li:last-child {
  border-bottom: 0;
}

/* ============ 5. 赛季时间轴 ============ */
.page-home .season-band {
  background: var(--night);
  padding: 0 0 48px;
}

.page-home .season-band__figure {
  margin: 0 0 32px;
}

.page-home .season-rail {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.page-home .season-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
}

.page-home .season-rail__item {
  scroll-snap-align: start;
  flex: 0 0 78%;
  min-width: 240px;
  background: var(--canvas);
  border-top: 3px solid rgba(159, 179, 168, 0.4);
  padding: 18px 16px 16px;
}

.page-home .season-rail__item--done {
  border-top-color: var(--lime);
}

.page-home .season-rail__item--now {
  border-top-color: var(--amber);
  background: var(--turf);
}

.page-home .season-rail__round {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lime);
}

.page-home .season-rail__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--cream);
}

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

.page-home .season-rail__state {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid var(--hair-strong);
  color: var(--mist);
}

.page-home .season-rail__item--done .season-rail__state {
  border-color: rgba(200, 242, 78, 0.5);
  color: var(--lime);
}

.page-home .season-rail__item--now .season-rail__state {
  border-color: var(--amber);
  color: var(--amber);
}

.page-home .season-band__cta {
  margin: 22px 0 0;
}

/* ============ 6. 图片带与站务入口 ============ */
.page-home .closing-band {
  background: var(--turf);
  padding: 48px 0;
}

.page-home .closing-band__grid {
  display: grid;
  gap: 26px;
}

.page-home .closing-band__figure {
  margin: 0;
}

.page-home .closing-band__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 6vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 22ch;
}

.page-home .closing-band__text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.76;
  color: rgba(241, 233, 216, 0.82);
}

/* ============ 响应式 ============ */
@media (min-width: 700px) {
  .page-home {
    --home-shell: min(100% - 56px, 1180px);
    --home-gap: 28px;
  }

  .page-home .fx-hero__inner {
    padding: 80px 40px 24px;
  }

  .page-home .cell-demo,
  .page-home .flow-block,
  .page-home .column-peek,
  .page-home .closing-band {
    padding: 68px 0;
  }

  .page-home .cell-demo__grid {
    grid-template-columns: 280px 1fr;
    align-items: start;
    gap: 36px;
  }

  .page-home .flow-block__grid {
    grid-template-columns: minmax(180px, 1fr) minmax(260px, 1.6fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .flow-block__figure {
    grid-column: 1 / -1;
  }

  .page-home .column-peek__layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.9fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .season-rail__item {
    flex-basis: 44%;
  }

  .page-home .closing-band__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .page-home .fx-hero__frame {
    min-height: min(84vh, 760px);
  }

  .page-home .fx-hero__inner {
    padding: 96px 56px 30px;
  }

  .page-home .fx-hero__lede {
    font-size: 17px;
  }

  .page-home .cell-demo__grid {
    grid-template-columns: 320px 1fr;
    gap: 48px;
  }

  .page-home .note-plate {
    padding: 24px 24px 22px;
  }

  .page-home .flow-block__grid {
    grid-template-columns: minmax(200px, 0.85fr) minmax(320px, 1.5fr) minmax(240px, 0.95fr);
    align-items: start;
  }

  .page-home .flow-block__figure {
    grid-column: auto;
  }

  .page-home .season-rail {
    overflow: visible;
    scroll-snap-type: none;
  }

  .page-home .season-rail__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    position: relative;
  }

  .page-home .season-rail__item {
    flex: none;
    min-width: 0;
    background: transparent;
    border-top: 2px solid var(--hair-soft);
    padding: 20px 16px 16px 0;
  }

  .page-home .season-rail__item--done { border-top-color: var(--lime); }
  .page-home .season-rail__item--now { border-top-color: var(--amber); background: rgba(242, 166, 59, 0.08); }

  .page-home .season-rail__item + .season-rail__item {
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .fx-hero__fill,
  .page-home .phone__tab {
    transition: none;
  }
}
