.page-home {
  --home-edge: clamp(16px, 4vw, 40px);
  --home-section-gap: 72px;
  display: block;
  background: var(--ink-void);
  color: var(--mist-white);
  overflow-x: clip;
  font-family: var(--font-sans);
}

.page-home .container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--home-edge);
}

.page-home .mono {
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

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

.page-home .home-hero {
  position: relative;
  padding-block: 48px 56px;
  border-bottom: 2px solid var(--ink-graphite);
  background-color: var(--ink-void);
  background-image:
    repeating-linear-gradient(90deg, rgba(241, 244, 247, .035) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(241, 244, 247, .035) 0 1px, transparent 1px 72px);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(10, 12, 16, .35) 0 2px, transparent 2px 5px);
  opacity: .5;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.page-home .home-hero__title {
  margin: 12px 0 0;
  font-size: clamp(30px, 7.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -.02em;
  transform: skewX(-5deg);
  transform-origin: left bottom;
}

.page-home .home-hero__title br {
  display: none;
}

.page-home .home-hero__lead {
  margin: 20px 0 0;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist-white);
  opacity: .88;
}

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

.page-home .home-hero__panel {
  display: grid;
  gap: 20px;
}

.page-home .home-hero__media {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink-graphite);
  box-shadow: var(--shadow-hard);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 7% 100%, 0 100%);
  background: var(--ink-carbon);
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(.76) contrast(1.12) saturate(.9);
}

.page-home .home-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  border: 2px solid var(--ink-graphite);
  background: var(--ink-graphite);
}

.page-home .home-stat {
  background: var(--ink-carbon);
  padding: 14px 12px;
  display: grid;
  gap: 4px;
}

.page-home .home-stat__num {
  font-size: 26px;
  font-weight: 700;
  color: var(--cyan-neon);
  line-height: 1;
}

.page-home .home-stat__label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--steel-blue);
}

/* 首屏分段切换 */

.page-home .home-tabs {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.page-home .home-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--ink-graphite);
}

.page-home .home-tab {
  appearance: none;
  border: 2px solid var(--ink-graphite);
  border-bottom: none;
  background: var(--ink-carbon);
  color: var(--steel-blue);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 12px 26px;
  margin-right: -2px;
  cursor: pointer;
  transform: skewX(-6deg);
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}

.page-home .home-tab[aria-selected="true"] {
  background: var(--red-track);
  color: var(--mist-white);
  border-color: var(--red-track);
}

.page-home .home-tab:hover {
  color: var(--mist-white);
}

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

.page-home .home-tabpanel {
  border: 2px solid var(--ink-graphite);
  border-top: none;
  background: var(--ink-carbon);
  padding: 22px 20px;
  display: grid;
  gap: 14px;
}

.page-home .home-tabpanel[hidden] {
  display: none;
}

.page-home .home-tabpanel__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist-white);
  opacity: .9;
}

.page-home .home-tabpanel__link {
  justify-self: start;
  color: var(--cyan-neon);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 3px solid var(--red-track);
  padding-bottom: 3px;
}

.page-home .home-tabpanel__link:hover {
  color: var(--orange-electric);
}

/* ---------- 通用区块 ---------- */

.page-home .home-section {
  padding-block: var(--home-section-gap);
}

.page-home .home-section--band {
  background: var(--ink-carbon);
  border-block: 2px solid var(--ink-graphite);
}

.page-home .home-section__head {
  max-width: 62ch;
  margin-bottom: 32px;
}

.page-home .home-section__head .kicker {
  margin-bottom: 10px;
}

.page-home .home-section__head .h-1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.18;
  transform: skewX(-4deg);
  transform-origin: left bottom;
}

.page-home .home-section__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel-blue);
}

.page-home .home-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel-blue);
  border-left: 3px solid var(--red-track);
  padding-left: 14px;
}

/* ---------- 赛程表 ---------- */

.page-home .home-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink-graphite);
  box-shadow: var(--shadow-hard);
  background: var(--ink-carbon);
  -webkit-overflow-scrolling: touch;
}

.page-home .home-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-home .home-table__caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--steel-blue);
  border-bottom: 2px solid var(--ink-graphite);
}

.page-home .home-table th,
.page-home .home-table td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--ink-graphite);
  vertical-align: middle;
}

.page-home .home-table thead th {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--steel-blue);
  background: var(--ink-void);
  font-weight: 700;
}

.page-home .home-table tbody tr {
  border-left: 3px solid transparent;
  transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}

.page-home .home-table tbody tr:hover,
.page-home .home-table tbody tr:focus-within {
  background: var(--ink-carbon);
  border-left-color: var(--red-track);
}

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

.page-home .home-table__round {
  display: inline-block;
  min-width: 2.4em;
  font-size: 17px;
  font-weight: 700;
  color: var(--cyan-neon);
}

.page-home .home-table a {
  color: var(--mist-white);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--ink-graphite);
}

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

.page-home .home-flag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid currentColor;
}

.page-home .home-flag--done {
  color: var(--steel-blue);
}

.page-home .home-flag--next {
  color: var(--orange-electric);
}

/* ---------- 战绩对照台 ---------- */

.page-home .home-compare-grid {
  display: grid;
  gap: 36px;
}

.page-home .home-compare {
  display: grid;
  gap: 20px;
}

.page-home .home-compare__side {
  border: 2px solid var(--ink-graphite);
  background: var(--ink-void);
  box-shadow: var(--shadow-hard);
}

.page-home .home-compare__side--current {
  border-color: var(--cyan-neon);
  box-shadow: 6px 6px 0 var(--red-deep);
}

.page-home .home-compare__sidehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 2px solid var(--ink-graphite);
}

.page-home .home-compare__side--current .home-compare__sidehead {
  border-bottom-color: var(--cyan-neon);
}

.page-home .home-compare__label {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--steel-blue);
}

.page-home .home-compare__side--current .home-compare__label {
  color: var(--cyan-neon);
}

.page-home .home-spark {
  flex: none;
  width: 120px;
  height: 36px;
}

.page-home .home-spark polyline {
  fill: none;
  stroke: var(--cyan-neon);
  stroke-width: 2;
  stroke-linejoin: round;
}

.page-home .home-spark circle {
  fill: var(--cyan-neon);
}

.page-home .home-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .home-compare__table th,
.page-home .home-compare__table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--ink-graphite);
}

.page-home .home-compare__table thead th {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--steel-blue);
  font-weight: 700;
}

.page-home .home-compare__table tbody td:not(:first-child) {
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

.page-home .home-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.page-home .home-delta {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--orange-electric);
  color: var(--ink-void);
  font-size: 12px;
  font-weight: 700;
}

.page-home .home-compare__spine {
  height: 2px;
  background: var(--cyan-neon);
}

.page-home .home-compare__aside {
  margin: 0;
  border: 2px solid var(--ink-graphite);
  background: var(--ink-void);
  box-shadow: var(--shadow-hard);
}

.page-home .home-compare__aside img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: brightness(.72) contrast(1.15) saturate(.85);
}

.page-home .home-compare__aside figcaption {
  padding: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel-blue);
  border-top: 2px solid var(--ink-graphite);
}

/* ---------- 集锦分类 ---------- */

.page-home .home-clips {
  display: grid;
  gap: 24px;
}

.page-home .home-clips__media {
  margin: 0;
  border: 2px solid var(--ink-graphite);
  box-shadow: var(--shadow-hard);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 8% 100%, 0 100%);
  overflow: hidden;
  background: var(--ink-carbon);
}

.page-home .home-clips__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  filter: brightness(.7) contrast(1.14) saturate(.9);
}

.page-home .home-clips__wall {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.page-home .home-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 2px solid var(--ink-graphite);
  background: var(--ink-carbon);
  color: var(--mist-white);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 4px 4px 0 var(--ink-graphite);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}

.page-home .home-chip__num {
  font-size: 13px;
  color: var(--cyan-neon);
}

.page-home .home-chip:hover,
.page-home .home-chip:focus-visible {
  transform: translate(-3px, -3px);
  border-color: var(--cyan-neon);
  box-shadow: 6px 6px 0 var(--red-deep);
  color: var(--cyan-neon);
}

.page-home .home-clips__note {
  flex: 1 1 100%;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel-blue);
}

/* ---------- 三步入口 ---------- */

.page-home .home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: home-step;
}

.page-home .home-step {
  position: relative;
  border: 2px solid var(--ink-graphite);
  background: var(--ink-void);
  padding: 22px 20px 24px;
  box-shadow: var(--shadow-hard);
}

.page-home .home-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--red-track);
}

.page-home .home-step__num {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan-neon);
}

.page-home .home-step .h-3 {
  margin: 12px 0 8px;
  font-size: 18px;
  transform: skewX(-4deg);
}

.page-home .home-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel-blue);
}

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

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

.page-home .home-cadence__copy .kicker {
  margin-bottom: 10px;
}

.page-home .home-cadence__copy .h-1 {
  margin: 0 0 16px;
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.18;
  transform: skewX(-4deg);
  transform-origin: left bottom;
}

.page-home .home-cadence__copy p {
  margin: 0 0 16px;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist-white);
  opacity: .88;
}

.page-home .home-cadence__copy a {
  color: var(--cyan-neon);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid var(--red-track);
  padding-bottom: 2px;
}

.page-home .home-cadence__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  background: var(--ink-graphite);
  border: 2px solid var(--ink-graphite);
  align-content: start;
}

.page-home .home-cadence__list li {
  background: var(--ink-carbon);
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel-blue);
}

.page-home .home-cadence__list .mono {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--orange-electric);
  margin-bottom: 4px;
}

/* ---------- 华南访问 ---------- */

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

.page-home .home-region__copy .kicker {
  margin-bottom: 10px;
}

.page-home .home-region__copy .h-1 {
  margin: 0 0 16px;
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.18;
  transform: skewX(-4deg);
  transform-origin: left bottom;
}

.page-home .home-region__copy p {
  margin: 0 0 16px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist-white);
  opacity: .88;
}

.page-home .home-region__link {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 18px;
  border: 2px solid var(--cyan-neon);
  color: var(--cyan-neon);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--red-deep);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}

.page-home .home-region__link:hover,
.page-home .home-region__link:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--red-deep);
}

.page-home .home-region__media {
  margin: 0;
  border: 2px solid var(--ink-graphite);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  background: var(--ink-void);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 96%);
}

.page-home .home-region__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 11;
  object-fit: cover;
  filter: brightness(.7) contrast(1.18) saturate(.85);
}

/* ---------- 更新状态条 ---------- */

.page-home .home-update-strip {
  border-top: 2px solid var(--ink-graphite);
  background: var(--ink-carbon);
}

.page-home .home-update-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding-block: 24px;
}

.page-home .home-update-strip__label {
  font-size: 13px;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--red-track);
  text-transform: uppercase;
}

.page-home .home-update-strip__num {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan-neon);
}

.page-home .home-update-strip__text {
  font-size: 14px;
  color: var(--steel-blue);
}

.page-home .home-update-strip__link {
  margin-left: auto;
  color: var(--mist-white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 3px solid var(--orange-electric);
  padding-bottom: 2px;
}

.page-home .home-update-strip__link:hover {
  color: var(--orange-electric);
}

/* ---------- 窄屏适配 ---------- */

@media (max-width: 560px) {
  .page-home {
    --home-section-gap: 56px;
  }

  .page-home .home-hero__title {
    font-size: clamp(28px, 8.6vw, 36px);
    transform: none;
  }

  .page-home .home-hero__title br {
    display: inline;
  }

  .page-home .home-hero__actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-home .home-tab {
    flex: 1 1 auto;
    padding: 11px 14px;
    transform: none;
    text-align: center;
  }

  .page-home .home-section__head .h-1,
  .page-home .home-cadence__copy .h-1,
  .page-home .home-region__copy .h-1 {
    transform: none;
  }

  .page-home .home-update-strip__link {
    margin-left: 0;
  }
}

@media (min-width: 760px) {
  .page-home .home-compare {
    grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
    align-items: start;
    gap: 0;
  }

  .page-home .home-compare__side {
    box-shadow: none;
  }

  .page-home .home-compare__side:first-child {
    box-shadow: 6px 6px 0 var(--ink-graphite);
  }

  .page-home .home-compare__side--current {
    box-shadow: 6px 6px 0 var(--red-deep);
  }

  .page-home .home-compare__spine {
    width: 2px;
    height: 100%;
    background: var(--cyan-neon);
  }

  .page-home .home-clips {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 32px;
  }

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

  .page-home .home-steps li + li::after {
    content: "";
    position: absolute;
    left: -22px;
    top: 44px;
    width: 22px;
    height: 2px;
    background: var(--ink-graphite);
  }
}

@media (min-width: 900px) {
  .page-home {
    --home-section-gap: 96px;
  }

  .page-home .home-hero {
    padding-block: 72px 80px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .home-hero__title br {
    display: inline;
  }

  .page-home .home-hero__lead {
    font-size: 17px;
  }

  .page-home .home-hero__panel {
    gap: 24px;
  }

  .page-home .home-hero__media {
    clip-path: polygon(0 0, 100% 0, 100% 88%, 10% 100%, 0 100%);
  }

  .page-home .home-tabs {
    margin-top: 56px;
  }

  .page-home .home-tabpanel {
    padding: 26px 28px;
  }

  .page-home .home-compare-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .home-cadence {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .home-region {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 52px;
    align-items: center;
  }

  .page-home .home-region__media {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 94%);
  }
}

@media (min-width: 1180px) {
  .page-home .home-hero__title {
    font-size: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-tab,
  .page-home .home-chip,
  .page-home .home-region__link,
  .page-home .home-table tbody tr {
    transition: none;
  }

  .page-home .home-chip:hover,
  .page-home .home-chip:focus-visible,
  .page-home .home-region__link:hover,
  .page-home .home-region__link:focus-visible {
    transform: none;
  }
}
