.page-home {
  --hp-line: rgba(169, 194, 208, 0.16);
  --hp-grid: rgba(169, 194, 208, 0.06);
  position: relative;
  overflow-x: clip;
  padding-bottom: clamp(48px, 8vw, 96px);
  color: var(--paper);
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(49, 242, 210, 0.10), transparent 62%),
    radial-gradient(900px 520px at -6% 38%, rgba(255, 107, 61, 0.07), transparent 66%),
    var(--ink);
}

.page-home .home-crumb {
  padding-top: clamp(14px, 2.6vw, 26px);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(22px, 3.6vw, 44px) 0 clamp(36px, 6vw, 72px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 18% 0;
  background-image:
    linear-gradient(var(--hp-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hp-grid) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
  mask-image: linear-gradient(180deg, #000, transparent 88%);
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.page-home .hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(33px, 6.4vw, 66px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.page-home .hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.page-home .hero__lead {
  margin: 18px 0 0;
  max-width: 54ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.78;
  color: var(--mist);
}

.page-home .hero__visual {
  position: relative;
  margin: 0;
  background: var(--ink-2);
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}

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

.page-home .hero__badge {
  position: absolute;
  left: 14px;
  bottom: 16px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(8, 24, 38, 0.84);
  border: 1px solid var(--line-cyan);
}

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

/* ---------- 检索控制台 ---------- */
.page-home .console {
  position: relative;
  margin-top: clamp(22px, 3vw, 34px);
  padding: clamp(16px, 2.2vw, 24px);
  background: linear-gradient(158deg, var(--ink-2), rgba(16, 43, 64, 0.7));
  border: 1px solid var(--hp-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .console::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 5px;
  background: var(--cyan);
  transform: skewY(-12deg);
  transform-origin: top left;
}

.page-home .console__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-left: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.page-home .console__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
  padding-left: 10px;
}

.page-home .console__label {
  min-width: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.page-home .day-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.page-home .day-strip a {
  font-size: 13px;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px dashed var(--hp-line);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .day-strip a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .chip-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
}

.page-home .chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist);
  border: 1px solid var(--hp-line);
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .chip:hover {
  color: var(--paper);
  border-color: var(--line-cyan);
}

.page-home .chip-input:checked + .chip {
  color: #06202a;
  font-weight: 700;
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .chip-input:focus-visible + .chip {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .console-preview {
  margin-top: 16px;
  padding-top: 14px;
  padding-left: 10px;
  border-top: 1px solid var(--hp-line);
}

.page-home .console-preview__hint {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.page-home .console-preview__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.page-home #hp-foot:checked ~ .console-preview .console-preview__list--foot,
.page-home #hp-basket:checked ~ .console-preview .console-preview__list--basket,
.page-home #hp-ice:checked ~ .console-preview .console-preview__list--ice,
.page-home #hp-track:checked ~ .console-preview .console-preview__list--track {
  display: grid;
}

.page-home .result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ice);
  text-decoration: none;
  background: rgba(220, 239, 242, 0.05);
  border-left: 2px solid var(--orange);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.page-home .result-row:hover {
  color: var(--paper);
  background: rgba(49, 242, 210, 0.12);
}

.page-home .result-row__time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
  white-space: nowrap;
}

/* ---------- 主体两栏 ---------- */
.page-home .home-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.page-home .toc {
  display: none;
}

.page-home .toc__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.page-home .toc ol {
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .toc a {
  display: block;
  padding: 7px 10px;
  font-size: 13.5px;
  color: var(--mist);
  text-decoration: none;
  border-left: 2px solid var(--hp-line);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-home .toc a:hover {
  color: var(--paper);
  border-left-color: var(--cyan);
}

.page-home .toc a[aria-current="true"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: rgba(49, 242, 210, 0.08);
}

.page-home .block {
  padding: clamp(34px, 5vw, 66px) 0;
  border-top: 1px solid var(--hp-line);
}

.page-home .home-flow > .block:first-child {
  border-top: 0;
  padding-top: clamp(20px, 3vw, 34px);
}

.page-home .block__head {
  max-width: 62ch;
}

.page-home .block__head h2,
.page-home .recap__body h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 3.7vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.page-home .block__head p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 赛程轨道 ---------- */
.page-home .rail__rule {
  height: 2px;
  margin-top: clamp(22px, 3vw, 34px);
  background: linear-gradient(90deg, var(--cyan), rgba(255, 107, 61, 0.9) 58%, transparent);
}

.page-home .rail__track {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 0 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .rail-card {
  position: relative;
  flex: 0 0 min(76vw, 262px);
  padding: 20px 18px 20px;
  scroll-snap-align: start;
  background: linear-gradient(155deg, var(--ink-2), rgba(23, 60, 70, 0.52));
  border: 1px solid var(--hp-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-home .rail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--orange);
}

.page-home .rail-card__round {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .rail-card__round span {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .rail-card h3 {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--paper);
}

.page-home .rail-card p {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--steel);
}

.page-home .rail-card__link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-decoration: none;
}

.page-home .rail-card__link:hover {
  color: var(--paper);
}

.page-home .rail__figure,
.page-home .watch__figure,
.page-home .recap__visual {
  position: relative;
  margin: 0;
}

.page-home .rail__figure {
  margin-top: clamp(20px, 3vw, 30px);
}

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

.page-home .rail__figure img {
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
}

.page-home .rail__caption,
.page-home .watch__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel);
}

/* ---------- 赛后复盘 ---------- */
.page-home .recap-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 38px);
  padding: clamp(22px, 3.4vw, 40px);
  background: linear-gradient(150deg, var(--ink-2) 0%, rgba(23, 60, 70, 0.86) 58%, rgba(255, 107, 61, 0.16) 100%);
  border: 1px solid var(--hp-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

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

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

.page-home .recap-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ice);
}

.page-home .recap-points li strong {
  color: var(--paper);
  font-weight: 600;
}

.page-home .recap-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.page-home .recap-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--steel);
}

.page-home .recap-meta b {
  font-weight: 700;
  color: var(--yellow);
}

.page-home .recap__actions {
  margin-top: 22px;
}

.page-home .recap__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
}

/* ---------- 关注列表 ---------- */
.page-home .watch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .watch-group {
  padding: 16px;
  background: rgba(220, 239, 242, 0.04);
  border: 1px dashed var(--hp-line);
}

.page-home .watch-group__name {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .watch-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .watch-group li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ice);
  border-bottom: 1px solid var(--hp-line);
}

.page-home .watch-group li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .watch-group small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  white-space: nowrap;
}

.page-home .watch-facts {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.page-home .watch-facts li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.68;
  color: var(--mist);
}

.page-home .watch-facts b {
  flex: 0 0 auto;
  min-width: 58px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--orange);
}

.page-home .watch__figure {
  margin-top: clamp(22px, 3vw, 32px);
}

/* ---------- 更新节奏 ---------- */
.page-home .tempo__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(24px, 3vw, 36px);
}

.page-home .tempo-cell {
  padding: 18px 16px 20px;
  background: linear-gradient(180deg, rgba(49, 242, 210, 0.07), transparent 72%);
  border-top: 2px solid var(--orange);
}

.page-home .tempo-cell__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.page-home .tempo-cell__unit {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--steel);
}

.page-home .tempo-cell__label {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .tempo__note {
  margin: clamp(20px, 3vw, 30px) 0 0;
  max-width: 68ch;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ice);
  border-left: 2px solid var(--line-cyan);
}

/* ---------- 服务入口 ---------- */
.page-home .gateway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .gateway {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  color: inherit;
  text-decoration: none;
  background: var(--ink-2);
  border: 1px solid var(--hp-line);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .gateway:hover {
  background: rgba(49, 242, 210, 0.07);
  border-color: var(--line-cyan);
  transform: translateY(-2px);
}

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

.page-home .gateway__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--paper);
}

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

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

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

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

@media (min-width: 860px) {
  .page-home .recap-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }

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

@media (min-width: 1000px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.9fr);
  }

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

  .page-home .rail-card {
    flex: 0 0 268px;
  }
}

@media (min-width: 1080px) {
  .page-home .home-layout {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: clamp(28px, 3.4vw, 56px);
  }

  .page-home .toc {
    display: block;
    position: sticky;
    top: 96px;
    padding-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
