.page-home {
  --home-gutter: 20px;
  --home-ease: var(--ease);
  position: relative;
  background: var(--bg-0);
  color: var(--text);
  overflow-x: clip;
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 820px;
  background:
    radial-gradient(720px 420px at 80% 6%, rgba(34, 224, 214, 0.15), transparent 68%),
    radial-gradient(540px 380px at 4% 46%, rgba(255, 122, 41, 0.10), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-home section,
.page-home .home-outro,
.page-home .home-ctx {
  position: relative;
  z-index: 1;
}

/* ---------- 上下文条 ---------- */

.page-home .home-ctx {
  border-bottom: 1px solid var(--line);
  background: rgba(14, 23, 48, 0.72);
}

.page-home .home-ctx__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-ctx__line {
  margin: 0;
  letter-spacing: 0.02em;
}

.page-home .home-ctx__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mist);
}

.page-home .home-ctx__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 224, 214, 0.16);
}

/* ---------- 首屏 ---------- */

.page-home .home-hero {
  padding: 30px 0 52px;
}

.page-home .home-hero__inner {
  display: grid;
  gap: 32px;
}

.page-home .home-hero__eyebrow {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-size: clamp(34px, 7.6vw, 60px);
  line-height: 1.06;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.025em;
}

.page-home .home-hero__lead {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 16.5px;
  line-height: 1.85;
  color: #cdd8f0;
}

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

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

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

.page-home .home-hero__num {
  font-family: var(--font-data);
  font-size: clamp(22px, 4.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .home-hero__num small {
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--mist);
}

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

.page-home .home-hero__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--bg-1);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-home .home-hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 27, 0.12) 0%, rgba(7, 12, 27, 0.84) 60%, rgba(7, 12, 27, 0.97) 100%);
}

.page-home .home-hero__board {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  gap: 16px;
  padding: 20px;
}

.page-home .home-hero__board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .home-hero__score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.page-home .home-hero__team {
  display: grid;
  gap: 9px;
}

.page-home .home-hero__team-name {
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .home-hero__team-bar {
  position: relative;
  display: block;
  height: 4px;
  border-radius: 999px;
  background: var(--bg-2);
  overflow: hidden;
}

.page-home .home-hero__team-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--fill, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--mist));
}

.page-home .home-hero__team:last-child {
  text-align: right;
}

.page-home .home-hero__team:last-child .home-hero__team-bar::after {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, var(--orange), rgba(255, 122, 41, 0.35));
}

.page-home .home-hero__digits {
  font-size: clamp(30px, 6.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  text-shadow: 0 0 26px rgba(34, 224, 214, 0.28);
  white-space: nowrap;
}

.page-home .home-hero__digits span {
  margin: 0 5px;
  color: var(--cyan);
}

.page-home .home-hero__board-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 通用小标题 ---------- */

.page-home .home-head {
  max-width: 640px;
  margin-bottom: 26px;
}

.page-home .home-head--tight {
  margin-bottom: 22px;
}

.page-home .home-head h2 {
  margin: 12px 0 0;
  font-size: clamp(24px, 4.6vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.018em;
}

.page-home .home-head__sub {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 三条入口 ---------- */

.page-home .home-routes {
  padding: 6px 0 54px;
}

.page-home .home-routes__banner {
  position: relative;
  height: 172px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.page-home .home-routes__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.page-home .home-routes__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(7, 12, 27, 0.94) 4%, rgba(7, 12, 27, 0.42) 58%, rgba(7, 12, 27, 0.78) 100%);
}

.page-home .home-routes__banner-text {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 2;
  margin: 0;
  font-size: clamp(19px, 3.8vw, 27px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.012em;
}

.page-home .home-routes__grid {
  display: grid;
  gap: 16px;
}

.page-home .home-route {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, var(--bg-1), rgba(14, 23, 48, 0.5));
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.page-home .home-route--lead {
  background:
    linear-gradient(180deg, rgba(34, 224, 214, 0.09), rgba(14, 23, 48, 0.6) 62%),
    var(--bg-1);
}

.page-home .home-route:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-2);
}

.page-home .home-route:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px var(--bg-0), 0 0 0 4px var(--cyan);
}

.page-home .home-route__k {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .home-route h3 {
  margin: 0;
  font-size: 18.5px;
  line-height: 1.45;
  font-weight: 700;
}

.page-home .home-route p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .home-route__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.page-home .home-route__link::after {
  content: " →";
  font-family: var(--font-data);
}

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

/* ---------- 回合回看 ---------- */

.page-home .home-replay {
  padding: 6px 0 54px;
}

.page-home .home-replay__rail {
  display: flex;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-replay__rail::-webkit-scrollbar {
  height: 4px;
}

.page-home .home-replay__rail::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.page-home .home-replay__node {
  display: grid;
  gap: 5px;
  flex: 0 0 auto;
  min-width: 196px;
  scroll-snap-align: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg-1);
  color: inherit;
  text-decoration: none;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.page-home .home-replay__node:hover,
.page-home .home-replay__node:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cyan);
  border-left-color: var(--cyan);
  background: var(--bg-2);
}

.page-home .home-replay__node .mono {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .home-replay__node strong {
  font-size: 15px;
  font-weight: 700;
}

.page-home .home-replay__node em {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-replay__turns {
  display: grid;
  gap: 14px;
}

.page-home .home-replay__turn {
  scroll-margin-top: 120px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(14, 23, 48, 0.55);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.page-home .home-replay__turn:target {
  border-color: var(--cyan);
  background: linear-gradient(160deg, rgba(34, 224, 214, 0.13), rgba(14, 23, 48, 0.7) 58%);
}

.page-home .home-replay__stamp {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .home-replay__turn h3 {
  margin: 8px 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.page-home .home-replay__turn p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 数据对照 ---------- */

.page-home .home-data {
  padding: 6px 0 54px;
}

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

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

.page-home .home-data__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.page-home .home-data__cap {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-data__body p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: #cdd8f0;
}

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

.page-home .home-dim li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-dim__key {
  font-family: var(--font-data);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-home .home-dim__val {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-dim__val strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.page-home .home-data__tablewrap {
  margin-top: 26px;
}

.page-home .home-data__table {
  min-width: 580px;
}

.page-home .home-data__caption {
  padding-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-align: left;
  color: var(--mist);
}

/* ---------- 更新节奏 ---------- */

.page-home .home-pulse {
  margin-bottom: 54px;
  padding: 38px 0 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(200deg, rgba(22, 34, 74, 0.85), rgba(7, 12, 27, 0.45) 70%),
    var(--bg-0);
}

.page-home .home-pulse__list {
  list-style: none;
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .home-pulse__item {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 20px;
  background: var(--bg-1);
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.page-home .home-pulse__item.is-visible {
  background: linear-gradient(180deg, rgba(34, 224, 214, 0.07), var(--bg-1) 70%);
  box-shadow: inset 0 0 0 1px rgba(34, 224, 214, 0.22);
}

.page-home .home-pulse__item .tag {
  justify-self: start;
}

.page-home .home-pulse__item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.page-home .home-pulse__item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 多端体验 ---------- */

.page-home .home-multi {
  padding: 6px 0 60px;
}

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

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

.page-home .home-multi__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.page-home .home-multi__copy h2 {
  margin: 12px 0 0;
  font-size: clamp(24px, 4.6vw, 34px);
  line-height: 1.22;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.018em;
}

.page-home .home-multi__copy p {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: #cdd8f0;
}

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

.page-home .home-multi__points li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-multi__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 11px;
  height: 2px;
  background: var(--cyan);
}

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

/* ---------- 收尾条 ---------- */

.page-home .home-outro {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 122, 41, 0.10), rgba(7, 12, 27, 0) 62%);
}

.page-home .home-outro__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 26px 0 36px;
}

.page-home .home-outro p {
  margin: 0;
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-outro__link {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--orange);
  transition: color var(--t-fast) var(--ease);
}

.page-home .home-outro__link:hover,
.page-home .home-outro__link:focus-visible {
  color: var(--orange);
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-home .home-hero__board {
    padding: 26px;
  }

  .page-home .home-routes__banner-text {
    left: 26px;
    right: 26px;
  }
}

@media (min-width: 860px) {
  .page-home .home-routes__grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 18px;
  }

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

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

@media (min-width: 960px) {
  .page-home {
    --home-gutter: 32px;
  }

  .page-home .home-hero {
    padding: 56px 0 84px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 46px;
    align-items: end;
  }

  .page-home .home-hero__panel {
    min-height: 470px;
  }

  .page-home .home-routes__banner {
    height: 224px;
  }

  .page-home .home-data__split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 42px;
    align-items: start;
  }

  .page-home .home-multi__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 46px;
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .page-home .home-hero__inner {
    gap: 60px;
  }

  .page-home .home-routes__banner-text {
    left: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-route,
  .page-home .home-replay__node,
  .page-home .home-pulse__item,
  .page-home .home-outro__link {
    transition: none;
  }

  .page-home .home-route:hover,
  .page-home .home-route:focus-within,
  .page-home .home-replay__node:hover,
  .page-home .home-replay__node:focus-visible {
    transform: none;
  }
}

.page-home {
  --fill: currentColor;
}
