/* ============================================================
   page: home
   ============================================================ */

.page-home .hero {
  padding: 20px 0 8px;
}

.page-home .hero__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "num"
    "plate"
    "feed";
}

.page-home .hero__block {
  min-width: 0;
  position: relative;
}

.page-home .hero__block--head { grid-area: head; }
.page-home .hero__block--num { grid-area: num; }
.page-home .hero__block--plate { grid-area: plate; }
.page-home .hero__block--feed { grid-area: feed; }

/* ---- 首屏标题块 ---- */
.page-home .hero__crumb {
  margin: 0 0 12px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .hero__title {
  margin: 0 0 16px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(31px, 7.4vw, 52px);
  line-height: 1.08;
  letter-spacing: .012em;
  color: var(--white);
  max-width: 17em;
}

.page-home .hero__lead {
  margin: 0 0 22px;
  max-width: 36em;
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.78;
  color: var(--steel);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- 号码卡片 ---- */
.page-home .hero__block--num {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 18px 4px 18px 4px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(95, 227, 207, .14) 0%, rgba(95, 227, 207, 0) 58%),
    linear-gradient(155deg, var(--deep-mid) 0%, var(--ink) 100%);
}

.page-home .num-card__tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .num-card__num {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(46px, 12vw, 70px);
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--white);
}

.page-home .num-card__label {
  font-size: 13px;
  line-height: 1.65;
  color: var(--violet);
}

/* ---- 名单动态 ---- */
.page-home .hero__block--feed {
  padding: 14px 2px 4px;
  border-top: 1px solid var(--line-strong);
}

.page-home .feed-card__title {
  margin: 0 0 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--violet);
}

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

.page-home .feed-card__list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--steel);
}

.page-home .feed-card__list li:last-child { border-bottom: 0; }

.page-home .feed-card__list b {
  font-weight: 600;
  color: var(--white);
}

/* ---- 通用图片框 ---- */
.page-home .shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px 20px 4px 20px;
  background: var(--ink);
}

.page-home .shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .shot--wide { aspect-ratio: 16 / 10; }
.page-home .shot--tall { aspect-ratio: 1 / 1; }
.page-home .shot--panorama { aspect-ratio: 21 / 9; }

.page-home .shot__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--cyan);
  background: rgba(7, 18, 31, .74);
  border-radius: 2px;
}

/* ---- 区块基础 ---- */
.page-home .section__head {
  max-width: 46em;
  margin: 0 0 30px;
}

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

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

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

/* ---- 01 档案总览 ---- */
.page-home .scale-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .scale-grid > .stat {
  padding: 22px 16px 24px;
  background: var(--deep);
}

.page-home .scale-grid .stat__value {
  display: block;
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 7vw, 50px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--white);
}

.page-home .scale-grid .stat:nth-child(3) .stat__value { color: var(--cyan); }

.page-home .scale-grid .stat__label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--violet);
}

/* ---- 02 号码变更时间轴 ---- */
.page-home .timeline-layout {
  display: grid;
  gap: 30px;
}

.page-home .timeline-intro .section__title { margin-bottom: 0; }

.page-home .timeline-col {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.page-home .timeline-shot { margin: 0; }

.page-home .timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .timeline__node {
  position: relative;
  padding: 0 0 26px 22px;
  border-left: 1px solid var(--line-strong);
}

.page-home .timeline__node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--deep);
  border: 1px solid var(--cyan);
  transform: translate(-50%, -50%);
}

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

.page-home .timeline__when {
  margin: 0 0 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--violet);
}

.page-home .timeline__trigger {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.35;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: color .2s var(--ease);
}

.page-home .timeline__trigger:hover { color: var(--cyan); }

.page-home .timeline__trigger .collapse__sign {
  flex: none;
  color: var(--cyan);
  transition: transform .25s var(--ease);
}

.page-home .timeline__trigger[aria-expanded="true"] .collapse__sign {
  transform: rotate(45deg);
}

.page-home .timeline__trigger[aria-expanded="false"] {
  color: var(--steel);
}

.page-home .timeline .collapse__panel {
  padding-top: 12px;
}

.page-home .timeline__meta {
  margin: 0;
  display: grid;
  gap: 7px;
}

.page-home .timeline__meta > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.page-home .timeline__meta dt {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--violet);
}

.page-home .timeline__meta dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--steel);
}

/* ---- 03 赛季曲线 ---- */
.page-home .curve-layout {
  display: grid;
  gap: 28px;
}

.page-home .curve-copy .section__title { margin-bottom: 14px; }

.page-home .curve-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .curve-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--steel);
}

.page-home .curve-legend__dot {
  width: 18px;
  height: 2px;
  border-radius: 2px;
}

.page-home .curve-legend__dot--pass { background: var(--cyan); }
.page-home .curve-legend__dot--odd { background: var(--lava); }

.page-home .curve-figure {
  margin: 0;
  min-width: 0;
  padding: 14px 10px 6px;
  border: 1px solid var(--line);
  border-radius: 4px 20px 4px 20px;
  background:
    linear-gradient(180deg, rgba(18, 58, 90, .5) 0%, rgba(7, 18, 31, .9) 100%);
}

.page-home .curve-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.page-home .curve-grid line {
  stroke: var(--line);
  stroke-width: 1;
}

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

.page-home .curve-line--pass { stroke: var(--cyan); }
.page-home .curve-line--odd { stroke: var(--lava); }

.page-home .curve-point {
  cursor: help;
  outline: none;
}

.page-home .curve-hit { fill: transparent; }

.page-home .curve-point circle {
  fill: var(--deep);
  stroke: var(--white);
  stroke-width: 1.5;
  transition: fill .18s var(--ease), r .18s var(--ease);
}

.page-home .curve-point:hover circle,
.page-home .curve-point:focus circle {
  fill: var(--cyan);
  r: 7;
}

.page-home .curve-tip {
  opacity: 0;
  fill: var(--white);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .04em;
  transition: opacity .18s var(--ease);
  pointer-events: none;
}

.page-home .curve-point:hover .curve-tip,
.page-home .curve-point:focus .curve-tip { opacity: 1; }

.page-home .curve-axis text {
  fill: var(--violet);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .1em;
}

.page-home .curve-figure__cap {
  margin: 4px 0 0;
  padding: 0 4px 6px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--violet);
}

.page-home .curve-shot { margin: 30px 0 0; }

/* ---- 04 定位球指标 ---- */
.page-home .metric-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.page-home .metric {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 16px 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}

.page-home .metric:hover {
  background: rgba(95, 227, 207, .07);
}

.page-home .metric__idx {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--violet);
}

.page-home .metric__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}

.page-home .metric__val {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cyan);
}

.page-home .metric__season {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--violet);
}

/* ---- 05 跨联赛名单对照台 ---- */
.page-home .roster-layout {
  display: grid;
  gap: 28px;
}

.page-home .roster-copy .section__title { margin-bottom: 14px; }

.page-home .roster-note {
  margin: 0;
  max-width: 42ch;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  line-height: 1.9;
  color: var(--violet);
}

.page-home .roster-scroll {
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 4px 20px 4px 20px;
  background: linear-gradient(180deg, rgba(18, 58, 90, .42) 0%, rgba(7, 18, 31, .92) 100%);
}

.page-home .roster-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-family: var(--ff-body);
  font-size: 13.5px;
}

.page-home .roster-table__cap {
  padding: 14px 16px 6px;
  text-align: left;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-home .roster-table th,
.page-home .roster-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.page-home .roster-table thead th {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.page-home .roster-table tbody th {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.page-home .roster-table td.u-mono {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.page-home .roster-table tbody tr {
  transition: background .18s var(--ease);
}

.page-home .roster-table tbody tr:hover {
  background: rgba(95, 227, 207, .06);
}

.page-home .roster-table tbody tr:last-child th,
.page-home .roster-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .roster-shot { margin: 30px 0 0; }

/* ---- 06 复盘动态 ---- */
.page-home .review-list {
  border-top: 1px solid var(--line);
}

.page-home .review-item {
  display: grid;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .review-item__when {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-home .review-item__title {
  margin: 0 0 8px;
  font-family: var(--ff-head);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--white);
}

.page-home .review-item__desc {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .review-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .chip {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--steel);
}

/* ---- 07 起步路径 ---- */
.page-home .paths {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .path {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px 20px 26px;
  background: var(--deep);
  border-left: 2px solid transparent;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}

.page-home .path:hover {
  background: rgba(18, 58, 90, .55);
  border-left-color: var(--lava);
}

.page-home .path__who {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--lava);
}

.page-home .path__title {
  margin: 0;
  font-family: var(--ff-head);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .02em;
  color: var(--white);
}

.page-home .path__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .path__link {
  justify-self: start;
  margin-top: 4px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(95, 227, 207, .4);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .path__link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ---- 窄屏细节 ---- */
@media (max-width: 420px) {
  .page-home .scale-grid { grid-template-columns: minmax(0, 1fr); }
  .page-home .metric-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .page-home .timeline__meta > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .page-home .shot--panorama { aspect-ratio: 16 / 10; }
}

/* ---- 平板 ---- */
@media (min-width: 720px) {
  .page-home .scale-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .scale-grid > .stat {
    padding: 26px 20px 28px;
  }

  .page-home .review-item {
    grid-template-columns: 118px minmax(0, 1fr) auto;
    align-items: start;
    gap: 26px;
  }

  .page-home .review-item__tags {
    justify-content: flex-end;
    max-width: 190px;
  }

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

/* ---- 桌面 ---- */
@media (min-width: 900px) {
  .page-home .hero {
    padding: 46px 0 12px;
  }

  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr) minmax(0, .76fr);
    grid-template-areas:
      "head head num"
      "plate plate feed";
    gap: 20px 22px;
  }

  .page-home .hero__block--head {
    padding-right: 48px;
  }

  .page-home .hero__block--plate {
    aspect-ratio: 16 / 9;
  }

  .page-home .hero__block--feed {
    align-self: end;
    padding-top: 18px;
  }

  .page-home .timeline-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .timeline-intro {
    position: sticky;
    top: 96px;
  }

  .page-home .curve-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .curve-figure {
    padding: 20px 16px 10px;
  }

  .page-home .roster-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .section__head {
    margin-bottom: 36px;
  }

  .page-home .shot--wide { aspect-ratio: 16 / 9; }
}

@media (min-width: 1180px) {
  .page-home .hero__title {
    font-size: 54px;
  }

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

/* ---- 动效降级 ---- */
@media (prefers-reduced-motion: reduce) {
  .page-home .hero__block,
  .page-home .path,
  .page-home .metric,
  .page-home .roster-table tbody tr,
  .page-home .curve-point circle,
  .page-home .curve-tip,
  .page-home .path__link {
    transition: none !important;
  }
}
