.page-home {
  --hp-radius: 14px;
  --hp-gap: clamp(14px, 2.2vw, 24px);
  --hp-card-bg: linear-gradient(180deg, rgba(53, 242, 208, 0.07), rgba(14, 20, 28, 0) 58%);
  display: block;
}

.page-home a:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

/* ---------- 首屏 ---------- */
.page-home .hp-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 6vw, 76px) clamp(34px, 6vw, 88px);
  background:
    radial-gradient(115% 85% at 84% -6%, rgba(53, 242, 208, 0.14), transparent 62%),
    radial-gradient(90% 70% at 4% 104%, rgba(139, 92, 246, 0.16), transparent 60%),
    var(--void);
}

.page-home .hp-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.95) contrast(1.05);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.25) 78%, transparent);
  pointer-events: none;
}

.page-home .hp-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(22px, 3.4vw, 44px);
}

.page-home .hp-rail {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .hp-rail::-webkit-scrollbar {
  display: none;
}

.page-home .hp-rail__item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--cool);
  white-space: nowrap;
}

.page-home .hp-rail__no {
  font-size: 11px;
  color: var(--cool);
  opacity: 0.75;
}

.page-home .hp-rail__item.is-past {
  color: #7d8b9c;
}

.page-home .hp-rail__item.is-now {
  color: var(--neon);
  border-color: var(--neon-deep);
  background: var(--glass);
}

.page-home .hp-rail__item.is-now .hp-rail__no {
  color: var(--neon);
  opacity: 1;
}

.page-home .hp-hero__body {
  max-width: 860px;
}

.page-home .hp-hero__title {
  margin: 14px 0 0;
  font-size: clamp(34px, 6.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.page-home .hp-hero__lede {
  max-width: 60ch;
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  color: var(--cool);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
}

.page-home .hp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 30px);
}

.page-home .hp-coords {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
  border-radius: var(--hp-radius);
  overflow: hidden;
}

.page-home .hp-coord {
  background: var(--panel);
}

.page-home .hp-coord__link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 100%;
  padding: 18px 16px 20px;
  color: inherit;
  text-decoration: none;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .hp-coord__link:hover,
.page-home .hp-coord__link:focus-visible {
  background: #111a24;
  box-shadow: inset 0 0 0 1px var(--neon-deep);
}

.page-home .hp-coord__no {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--neon);
}

.page-home .hp-coord__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
}

.page-home .hp-coord__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--cool);
}

/* ---------- 通用节标题 ---------- */
.page-home .hp-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.page-home .hp-head__title {
  margin: 0;
  font-size: clamp(25px, 4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.page-home .hp-head__lede {
  max-width: 64ch;
  margin: 0;
  color: var(--cool);
  line-height: 1.8;
}

/* ---------- 赛季时间轴 ---------- */
.page-home .hp-timeline {
  background: linear-gradient(180deg, rgba(14, 20, 28, 0.7), transparent 40%);
}

.page-home .hp-tl {
  display: grid;
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

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

.page-home .hp-tl__node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}

.page-home .hp-tl__node.is-past::before {
  background: #46586b;
}

.page-home .hp-tl__node.is-now::before {
  background: var(--neon);
  box-shadow: 0 0 14px var(--neon);
}

.page-home .hp-tl__no {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cool);
}

.page-home .hp-tl__title {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .hp-tl__node.is-now .hp-tl__title {
  color: var(--neon);
}

.page-home .hp-tl__desc {
  max-width: 42ch;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--cool);
}

/* ---------- 换设备同步 ---------- */
.page-home .hp-sync__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-home .hp-sync__figure {
  margin: 0;
  justify-self: start;
  width: 100%;
  max-width: 300px;
  border: 1px solid var(--line);
  border-radius: var(--hp-radius);
  overflow: hidden;
  background: var(--panel);
}

.page-home .hp-sync__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .hp-sync__caption {
  padding: 12px 14px 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--cool);
  border-top: 1px solid var(--line);
}

.page-home .hp-steps {
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-radius: var(--hp-radius);
  overflow: hidden;
}

.page-home .hp-step {
  display: flex;
  gap: 14px;
  padding: 16px 16px 18px;
  background: var(--panel);
}

.page-home .hp-step__no {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--neon);
  padding-top: 2px;
}

.page-home .hp-step__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.page-home .hp-step__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--cool);
}

.page-home .hp-sync__note {
  margin: clamp(18px, 2.6vw, 24px) 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--neon-deep);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--cool);
}

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

/* ---------- 数据卡片 ---------- */
.page-home .hp-split {
  display: grid;
  gap: clamp(20px, 3.4vw, 40px);
  align-items: end;
}

.page-home .hp-split__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--hp-radius);
  overflow: hidden;
  background: var(--panel);
}

.page-home .hp-split__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .hp-split__caption {
  padding: 11px 14px 13px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--cool);
}

.page-home .hp-cards {
  display: grid;
  gap: var(--hp-gap);
  margin-top: clamp(26px, 4vw, 44px);
}

.page-home .hp-card {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--hp-radius);
  background: var(--hp-card-bg), var(--panel);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.page-home .hp-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-deep);
  box-shadow: 0 14px 34px -22px rgba(53, 242, 208, 0.7);
}

.page-home .hp-card__title {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .hp-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--cool);
}

.page-home .hp-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.page-home .hp-card__stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hp-card__stats dt {
  font-size: 12px;
  color: var(--cool);
}

.page-home .hp-card__stats dd {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  color: var(--neon);
}

.page-home .hp-card__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--neon-deep);
  padding-bottom: 3px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .hp-card__link:hover,
.page-home .hp-card__link:focus-visible {
  color: var(--neon);
  border-color: var(--neon);
}

/* ---------- 关键团战横向轨道 ---------- */
.page-home .hp-replay {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.09), transparent 55%);
  border-top: 1px solid var(--line);
}

.page-home .hp-replay__figure {
  margin: clamp(22px, 3.4vw, 32px) 0 0;
  border: 1px solid var(--line);
  border-radius: var(--hp-radius);
  overflow: hidden;
  background: var(--panel);
}

.page-home .hp-replay__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .hp-replay__caption {
  padding: 11px 14px 13px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--cool);
}

.page-home .hp-rail-x {
  display: flex;
  gap: var(--hp-gap);
  margin: clamp(22px, 3.4vw, 32px) 0 0;
  padding: 4px 0 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.page-home .hp-rail-x::-webkit-scrollbar {
  height: 4px;
}

.page-home .hp-rail-x::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.page-home .hp-xcard {
  flex: 0 0 min(82vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--neon-deep);
  border-radius: var(--hp-radius);
  background: var(--panel);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .hp-xcard:hover,
.page-home .hp-xcard:focus-within {
  border-left-color: var(--lava);
  background: #101923;
}

.page-home .hp-xcard__no {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--cool);
}

.page-home .hp-xcard__time {
  font-size: 22px;
  line-height: 1.1;
  color: var(--lava);
}

.page-home .hp-xcard__title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
  color: var(--text);
}

.page-home .hp-xcard__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--cool);
}

.page-home .hp-replay__cta {
  margin-top: 6px;
}

/* ---------- 品牌服务 ---------- */
.page-home .hp-brand {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(139, 92, 246, 0.2), transparent 62%),
    radial-gradient(70% 90% at 0% 100%, rgba(53, 242, 208, 0.1), transparent 60%),
    var(--void);
}

.page-home .hp-brand__inner {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .hp-brand__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

.page-home .hp-service {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 16px;
  background: var(--panel);
  font-size: 14.5px;
  color: var(--text);
}

.page-home .hp-service__no {
  font-size: 11.5px;
  color: var(--neon);
}

.page-home .hp-brand__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 24px 0 0;
}

.page-home .hp-brand__stats div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.page-home .hp-brand__stats dt {
  font-size: 12px;
  line-height: 1.6;
  color: var(--cool);
}

.page-home .hp-brand__stats dd {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.1;
  color: var(--neon);
}

.page-home .hp-unit {
  margin-left: 3px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--cool);
}

.page-home .hp-brand__note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--cool);
}

/* ---------- 断点 ---------- */
@media (min-width: 600px) {
  .page-home .hp-coords {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 860px) {
  .page-home .hp-hero__inner {
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .hp-rail {
    flex-direction: column;
    gap: 0;
    padding: 4px 0 0;
    overflow: visible;
    border-left: 1px solid var(--line);
  }

  .page-home .hp-rail__item {
    position: relative;
    border: 0;
    border-radius: 0;
    padding: 11px 0 11px 18px;
    font-size: 13px;
    white-space: normal;
  }

  .page-home .hp-rail__item::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 17px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line);
  }

  .page-home .hp-rail__item.is-past::before {
    background: #46586b;
  }

  .page-home .hp-rail__item.is-now::before {
    background: var(--neon);
    box-shadow: 0 0 14px var(--neon);
  }

  .page-home .hp-rail__item.is-now {
    background: none;
  }

  .page-home .hp-tl {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .page-home .hp-tl__node {
    border-left: 0;
    padding: 26px 20px 0 0;
  }

  .page-home .hp-tl__node::before {
    left: 0;
    top: -4px;
  }

  .page-home .hp-sync__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .hp-sync__figure {
    max-width: none;
  }

  .page-home .hp-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .hp-cards {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .hp-card--wide {
    grid-column: span 7;
  }

  .page-home .hp-card--narrow {
    grid-column: span 5;
  }

  .page-home .hp-brand__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .page-home .hp-xcard {
    flex: 0 0 300px;
  }
}

@media (min-width: 1080px) {
  .page-home .hp-coords {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hp-card,
  .page-home .hp-xcard,
  .page-home .hp-coord__link,
  .page-home .hp-card__link {
    transition: none;
  }

  .page-home .hp-card:hover {
    transform: none;
  }
}
