.page-home {
  --hp-slant: clamp(28px, 5vw, 64px);
  --hp-body: color-mix(in srgb, var(--paper) 84%, transparent);
  --hp-dim: color-mix(in srgb, var(--paper) 60%, transparent);
  --hp-ink-soft: color-mix(in srgb, var(--ink) 76%, var(--paper));
  position: relative;
  background: var(--night-green);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 页面上下文 */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-home .home-context__tag {
  color: var(--fluoro);
}

.page-home .home-context__sep {
  color: var(--line);
}

/* 通用小件 */
.page-home .eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-home .eyebrow--fluoro {
  color: var(--fluoro);
}

.page-home .chapter-no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--fluoro);
  text-transform: uppercase;
}

.page-home .sec-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 48em;
}

.page-home .sec-head--tight {
  margin-bottom: clamp(24px, 4vw, 42px);
}

.page-home .sec-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .sec-sub {
  margin: 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--hp-body);
}

.page-home .note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  padding-left: 12px;
  border-left: 2px solid var(--line-soft);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-decoration: none;
  border: 1px solid var(--line-hard);
  border-radius: 0;
  transition: background var(--step) linear, color var(--step) linear, border-color var(--step) linear;
}

.page-home .btn--primary {
  background: var(--fluoro);
  border-color: var(--fluoro);
  color: var(--ink);
  font-weight: 700;
}

.page-home .btn--primary:hover,
.page-home .btn--primary:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.page-home .btn--ghost {
  background: transparent;
  color: var(--paper);
}

.page-home .btn--ghost:hover,
.page-home .btn--ghost:focus-visible {
  border-color: var(--fluoro);
  color: var(--fluoro);
}

/* 首屏 */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 8vw, 96px) 0 clamp(60px, 9vw, 132px);
  background: var(--night-green);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  filter: saturate(.55) contrast(1.15);
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 78% 10%, rgba(230, 255, 59, .1), transparent 62%),
    linear-gradient(180deg, rgba(7, 19, 14, .68) 0%, rgba(7, 19, 14, .9) 56%, var(--night-green) 100%);
}

.page-home .hero__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: .55;
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
}

.page-home .display {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .lede {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--hp-body);
}

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

.page-home .hero__code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--fluoro);
}

.page-home .hero__login {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  background: var(--stand-green);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--fluoro);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.page-home .hero__login-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  color: var(--paper);
}

.page-home .hero__login-lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--hp-body);
}

.page-home .switch {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .switch__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--data-blue);
}

.page-home .switch__sum::-webkit-details-marker {
  display: none;
}

.page-home .switch__sum::after {
  content: "+";
  font-size: 15px;
  line-height: 1;
  color: var(--fluoro);
}

.page-home .switch[open] .switch__sum::after {
  content: "–";
}

.page-home .switch p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--hp-body);
}

.page-home .switch a {
  color: var(--data-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .hero__login-note {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--muted);
}

/* 射手榜 */
.page-home .standings {
  position: relative;
  margin-top: 0;
  padding: clamp(64px, 10vw, 132px) 0 clamp(56px, 9vw, 112px);
  background: var(--stand-green);
  clip-path: polygon(0 var(--hp-slant), 100% 0, 100% 100%, 0 100%);
}

.page-home .board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .chip {
  appearance: none;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  cursor: pointer;
  transition: color var(--step) linear, border-color var(--step) linear, background var(--step) linear;
}

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

.page-home .chip[aria-pressed="true"] {
  background: var(--fluoro);
  border-color: var(--fluoro);
  color: var(--ink);
  font-weight: 700;
}

.page-home .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  background: var(--night-green);
}

.page-home .data-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
}

.page-home .data-table thead th {
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--data-blue);
  background: rgba(77, 155, 255, .08);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

.page-home .data-table tbody td {
  padding: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

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

.page-home .data-table tbody tr:hover {
  background: var(--fluoro-ghost);
}

.page-home .data-table .col-rank,
.page-home .data-table thead th.col-rank {
  width: 62px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--fluoro);
}

.page-home .data-table tbody .col-rank {
  font-size: 17px;
  font-weight: 700;
}

.page-home .data-table th.num,
.page-home .data-table td.num {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.page-home .data-table td.num {
  font-size: 18px;
  font-weight: 700;
}

.page-home .board__figure {
  margin: 0;
  background: var(--night-green);
  border: 1px solid var(--line-soft);
}

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

.page-home .media__caption {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
}

/* 四条主线 */
.page-home .routes {
  padding: clamp(56px, 9vw, 116px) 0;
  background: var(--night-green);
}

.page-home .routes__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-home .routes__item {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 22px;
  background: var(--night-green);
}

.page-home .routes__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--fluoro);
}

.page-home .routes__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .routes__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--hp-body);
}

.page-home .routes__link {
  justify-self: start;
  margin-top: 4px;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--data-blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

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

/* 赛季时间线 */
.page-home .timeline {
  padding: clamp(56px, 9vw, 118px) 0;
  background: var(--paper);
  color: var(--ink);
}

.page-home .timeline .sec-title {
  color: var(--ink);
}

.page-home .timeline .sec-sub {
  color: var(--hp-ink-soft);
}

.page-home .timeline__list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .timeline__list::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 40px;
  width: 1px;
  background: color-mix(in srgb, var(--ink) 26%, transparent);
}

.page-home .timeline__item {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 0 0 36px 46px;
}

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

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 11px;
  height: 11px;
  background: var(--ink);
}

.page-home .timeline__phase {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.2;
  color: var(--ink);
}

.page-home .timeline__when {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: color-mix(in srgb, var(--board-orange) 80%, var(--ink));
}

.page-home .timeline__body {
  margin: 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--hp-ink-soft);
}

/* 陪看片段 */
.page-home .watchalong {
  padding: clamp(56px, 9vw, 120px) 0;
  background: var(--night-green);
}

.page-home .watchalong__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.page-home .watchalong__media {
  margin: 0;
  background: var(--stand-green);
  border: 1px solid var(--line-soft);
}

.page-home .watchalong__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .watchalong__copy .sec-title {
  margin-bottom: 16px;
}

.page-home .watchalong__copy .sec-sub {
  margin-bottom: 0;
}

.page-home .watchalong__notes {
  display: grid;
  gap: 1px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-home .watchalong__note {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: var(--stand-green);
  transition: background var(--step) linear;
}

.page-home .watchalong__note:hover,
.page-home .watchalong__note:focus-visible {
  background: color-mix(in srgb, var(--fluoro) 7%, var(--stand-green));
  outline: 1px solid var(--line-hard);
  outline-offset: -1px;
}

.page-home .watchalong__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--fluoro);
}

.page-home .watchalong__txt {
  font-size: 14px;
  line-height: 1.68;
  color: var(--hp-body);
}

.page-home .watchalong__extra {
  max-height: 0;
  margin-top: 0;
  padding-left: 10px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  border-left: 2px solid var(--board-orange);
  transition: max-height 220ms ease, margin-top 220ms ease;
}

.page-home .watchalong__note:hover .watchalong__extra,
.page-home .watchalong__note:focus-visible .watchalong__extra {
  max-height: 140px;
  margin-top: 8px;
}

/* 收束 */
.page-home .kickoff {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 124px) 0 clamp(72px, 10vw, 128px);
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hp-slant)), 0 100%);
}

.page-home .kickoff__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .kickoff__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
  filter: saturate(.4) contrast(1.1);
}

.page-home .kickoff__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 10, .74) 0%, rgba(5, 8, 10, .95) 100%);
}

.page-home .kickoff > .shell {
  position: relative;
  z-index: 2;
}

.page-home .kickoff__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-home .kickoff__steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  padding: 20px 22px;
  background: var(--ink);
}

.page-home .kickoff__no {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--fluoro);
}

.page-home .kickoff__act {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.2;
  color: var(--paper);
}

.page-home .kickoff__txt {
  grid-column: 2;
  grid-row: 2;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hp-body);
}

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

.page-home .kickoff__meta {
  margin: 0 0 28px;
  max-width: 42em;
  font-size: 14px;
  line-height: 1.78;
  color: var(--hp-body);
}

.page-home .kickoff__meta a {
  color: var(--data-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .kickoff__meta a:hover,
.page-home .kickoff__meta a:focus-visible {
  color: var(--fluoro);
}

.page-home .kickoff__slogan {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--fluoro);
}

/* 响应式 */
@media (min-width: 700px) {
  .page-home .routes__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .kickoff__steps li {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 8px;
    padding: 26px 22px;
  }

  .page-home .kickoff__no {
    grid-column: 1;
    grid-row: 1;
    font-size: 24px;
  }

  .page-home .kickoff__act {
    grid-column: 1;
    grid-row: 2;
    font-size: 21px;
  }

  .page-home .kickoff__txt {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (min-width: 900px) {
  .page-home .board {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  }

  .page-home .timeline__list {
    max-width: 62em;
  }
}

@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr);
    align-items: end;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  .page-home .btn,
  .page-home .chip,
  .page-home .routes__link,
  .page-home .watchalong__note,
  .page-home .watchalong__extra {
    transition: none;
  }
}
