.page-home {
  --home-line: rgba(155, 174, 194, .22);
  --home-line-soft: rgba(155, 174, 194, .12);
  --home-glow: rgba(56, 242, 208, .3);
  --home-ink-soft: #46505c;
  background: var(--night);
  color: var(--snow);
  overflow-x: hidden;
}

.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-home a {
  color: inherit;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-top: clamp(12px, 2vw, 24px);
}

.page-home .home-hero__frame {
  position: relative;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 80% -12%, rgba(56, 242, 208, .12), transparent 62%),
    radial-gradient(90% 70% at 0% 110%, rgba(255, 138, 61, .1), transparent 60%),
    linear-gradient(180deg, rgba(18, 38, 60, .9), rgba(10, 22, 38, .6));
  overflow: hidden;
}

.page-home .home-hero__intro {
  margin-top: clamp(14px, 2vw, 24px);
  max-width: 34em;
}

.page-home .home-hero__title {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 7.2vw, 74px);
  line-height: .98;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.page-home .home-hero__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 34px);
}

.page-home .home-hero__stats {
  list-style: none;
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: clamp(16px, 2vw, 22px) 0 0;
  border-top: 1px solid var(--home-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

.page-home .home-hero__stats .stat {
  display: grid;
  gap: 4px;
}

.page-home .home-hero__stats .stat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--cyan);
  line-height: 1;
}

.page-home .home-hero__stats .stat-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--mist);
}

/* ---------- 主队卡 ---------- */
.page-home .home-team {
  display: flex;
  flex-direction: column;
  background: var(--plateau);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .home-team__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.page-home .home-team__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
}

.page-home .home-team__badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.page-home .home-team__body {
  padding: 16px 16px 18px;
  display: grid;
  gap: 8px;
}

.page-home .home-team__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-home .home-team__name {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--cyan);
}

.page-home .home-team__facts {
  margin: 0;
  display: grid;
  gap: 8px;
}

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

.page-home .home-team__facts dt {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .home-team__facts dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
  color: var(--snow);
}

.page-home .home-score {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .home-team__cta {
  margin-top: 14px;
  justify-self: start;
}

/* 球队切换 */
.page-home .team-switch {
  position: relative;
}

.page-home .team-switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .team-switch__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 12px;
}

.page-home .team-switch__tabs label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hair-strong);
  color: var(--mist);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.page-home .team-switch__tabs label:hover {
  color: var(--snow);
  border-color: var(--home-glow);
}

.page-home .team-switch__input:focus-visible ~ .team-switch__tabs label {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .team-switch__input:nth-of-type(1):checked ~ .team-switch__tabs label[for="pick-a"],
.page-home .team-switch__input:nth-of-type(2):checked ~ .team-switch__tabs label[for="pick-b"],
.page-home .team-switch__input:nth-of-type(3):checked ~ .team-switch__tabs label[for="pick-c"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--night);
}

.page-home .team-switch__panel {
  display: none;
}

.page-home .team-switch__input:nth-of-type(1):checked ~ .team-switch__panels .team-switch__panel:nth-child(1),
.page-home .team-switch__input:nth-of-type(2):checked ~ .team-switch__panels .team-switch__panel:nth-child(2),
.page-home .team-switch__input:nth-of-type(3):checked ~ .team-switch__panels .team-switch__panel:nth-child(3) {
  display: block;
}

/* ---------- 赛程板 ---------- */
.page-home .home-board {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.6vw, 30px);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #0e1f33, #0a1626 62%);
}

.page-home .home-board__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
  filter: saturate(.45) contrast(1.05);
}

.page-home .home-board > *:not(.home-board__bg) {
  position: relative;
  z-index: 1;
}

.page-home .home-board__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.page-home .home-board__ridge {
  width: 108px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--mist);
  opacity: .55;
}

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

.page-home .home-timeline__item {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px 14px 14px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(28, 58, 87, .5), rgba(10, 22, 38, .3));
  transition: border-color .2s ease, transform .2s ease;
}

.page-home .home-timeline__item::after {
  content: "";
  display: none;
}

.page-home .home-timeline__item:hover {
  border-color: var(--home-glow);
  transform: translateY(-2px);
}

.page-home .home-timeline__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mist);
  box-shadow: 0 0 0 3px rgba(155, 174, 194, .12);
}

.page-home .home-timeline__item.is-current .home-timeline__dot {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 242, 208, .18), 0 0 14px var(--home-glow);
  animation: home-pulse 2s ease-in-out infinite;
}

@keyframes home-pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(56, 242, 208, .08), 0 0 18px var(--home-glow);
  }
}

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

.page-home .home-timeline__match {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--snow);
}

.page-home .home-timeline__note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 章节通用头 ---------- */
.page-home .home-head {
  max-width: 40em;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .home-head .lede {
  margin-top: 12px;
}

/* ---------- Bento 栏目 ---------- */
.page-home .home-bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 152px;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-lg);
  background: var(--plateau);
  color: var(--snow);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}

.page-home .home-tile:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.page-home .home-tile:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-color: var(--cyan);
}

.page-home .home-tile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  z-index: 0;
}

.page-home .home-tile--lead {
  min-height: 232px;
  justify-content: flex-end;
  background: linear-gradient(160deg, #16304a, #0c1a2b);
}

.page-home .home-tile--lead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 22, 38, .18), rgba(10, 22, 38, .94));
}

.page-home .home-tile > span {
  position: relative;
  z-index: 1;
}

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

.page-home .home-tile--lead .home-tile__name {
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--cyan);
}

.page-home .home-tile__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
}

.page-home .home-tile__desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .home-tile__go {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-home .home-tile--f {
  min-height: 132px;
}

/* ---------- 主队一页到位 ---------- */
.page-home .home-anatomy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
}

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

.page-home .home-anatomy__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  padding: 18px 0;
  border-top: 1px solid var(--home-line);
}

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

.page-home .home-anatomy__no {
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--yellow);
}

.page-home .home-anatomy__h {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-home .home-anatomy__p {
  grid-column: 2;
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 节奏时间轴 ---------- */
.page-home .home-cadence {
  background:
    linear-gradient(180deg, rgba(18, 38, 60, .88), rgba(10, 22, 38, .92));
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

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

.page-home .home-cadence__step {
  position: relative;
  padding: 6px 0 14px 22px;
  border-left: 1px solid var(--home-line);
}

.page-home .home-cadence__step::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glacier);
  border: 1px solid var(--home-line);
}

.page-home .home-cadence__step.is-final::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--home-glow);
}

.page-home .home-cadence__time {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--cyan);
}

.page-home .home-cadence__label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--snow);
}

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

/* ---------- 资料与帮助 ---------- */
.page-home .home-paths__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-path {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-lg);
  background: var(--plateau);
}

.page-home .home-path__h {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
}

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

.page-home .home-path__list {
  list-style: none;
  margin: 4px 0 6px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-home .home-path__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.6;
}

.page-home .home-path__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-home .home-path .btn {
  align-self: flex-start;
  margin-top: auto;
}

.page-home .home-path--paper {
  color: var(--ink);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(0, 0, 0, .02));
}

.page-home .home-path--paper .index-note {
  color: var(--home-ink-soft);
}

.page-home .home-path--paper .home-path__desc,
.page-home .home-path--paper .home-path__list li {
  color: var(--home-ink-soft);
}

.page-home .home-path--paper .home-path__list li::before {
  background: var(--orange);
}

.page-home .home-path--paper .btn--ghost {
  border-color: rgba(16, 24, 32, .32);
  color: var(--ink);
}

.page-home .home-path--paper .btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------- 使用场景 ---------- */
.page-home .home-scene__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .home-scene__media {
  overflow: hidden;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-lg);
  background: var(--plateau);
  aspect-ratio: 4 / 3;
}

.page-home .home-scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) contrast(1.05);
}

.page-home .home-scene__body .section-title {
  margin-bottom: 18px;
}

.page-home .home-scene__item {
  padding: 14px 0;
  border-top: 1px solid var(--home-line);
}

.page-home .home-scene__h {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
}

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

.page-home .home-scene__cta {
  margin-top: 18px;
}

/* ---------- 收尾 ---------- */
.page-home .home-outro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: clamp(24px, 3vw, 40px);
}

.page-home .home-outro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.page-home .home-outro__contact {
  padding: 18px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  background: rgba(18, 38, 60, .55);
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-home .home-outro__line {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--snow);
  word-break: break-word;
}

.page-home .home-outro__line a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-outro__mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}

.page-home .home-footnote {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--home-line);
  color: var(--mist);
}

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

  .page-home .home-tile--lead {
    grid-column: span 2;
  }

  .page-home .home-tile--f {
    grid-column: span 2;
  }

  .page-home .home-paths__grid {
    gap: 20px;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(258px, 32%) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
  }

  .page-home .home-team__media {
    aspect-ratio: 3 / 4;
  }

  .page-home .home-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 24px;
  }

  .page-home .home-anatomy__grid {
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    align-items: start;
  }

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

  .page-home .home-scene__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
  }

  .page-home .home-outro__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1040px) {
  .page-home .home-bento__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .home-tile--a {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 100%;
  }

  .page-home .home-tile--b {
    grid-column: span 5;
  }

  .page-home .home-tile--c {
    grid-column: span 5;
  }

  .page-home .home-tile--d {
    grid-column: span 4;
  }

  .page-home .home-tile--e {
    grid-column: span 4;
  }

  .page-home .home-tile--f {
    grid-column: span 4;
    min-height: 160px;
  }

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

  .page-home .home-timeline__item::after {
    display: block;
    position: absolute;
    top: 22px;
    right: -14px;
    width: 12px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--mist) 0 3px, transparent 3px 6px);
    opacity: .45;
  }

  .page-home .home-timeline__item:last-child::after {
    display: none;
  }

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

  .page-home .home-cadence__step {
    padding: 26px 22px 8px 0;
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }

  .page-home .home-cadence__step::before {
    left: 0;
    top: -4.5px;
  }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-tile,
  .page-home .home-timeline__item,
  .page-home .team-switch__tabs label {
    transition: none;
  }

  .page-home .home-timeline__item.is-current .home-timeline__dot {
    animation: none;
  }

  .page-home .home-tile:hover,
  .page-home .home-timeline__item:hover {
    transform: none;
  }
}
