.page-home {
  --home-block: clamp(3.4rem, 7vw, 6rem);
  --home-gap: clamp(1.1rem, 2.6vw, 1.9rem);
  display: block;
  padding-bottom: var(--home-block);
}

.page-home .section-head {
  max-width: 40rem;
}

.page-home .tally {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  display: grid;
  gap: var(--home-gap);
  align-items: stretch;
  padding-block: clamp(1.6rem, 4vw, 3.2rem) var(--home-block);
}

.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.page-home .hero-copy h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 6.4vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0;
}

.page-home .hero-lede {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--mist);
  max-width: 34rem;
  margin: 0;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .hero-facts {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  display: grid;
  gap: 0.9rem;
  border-top: 1px solid var(--line);
}

.page-home .hero-facts__item {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.page-home .hero-facts__num {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--white);
}

.page-home .hero-facts__label {
  font-size: 0.86rem;
  color: var(--mist);
  line-height: 1.5;
}

.page-home .hero-console {
  position: relative;
  min-height: 22rem;
  border-radius: var(--r-lg) var(--r-lg) 8px var(--r-lg);
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.page-home .hero-console__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.85);
}

.page-home .hero-console::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 80% 12%, rgba(255, 90, 31, 0.34), transparent 62%),
    linear-gradient(190deg, rgba(11, 14, 19, 0.1) 8%, rgba(46, 26, 18, 0.86) 88%);
  z-index: 1;
}

.page-home .hero-console__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(233, 237, 242, 0.16);
  z-index: 2;
}

.page-home .hero-console__arc {
  stroke: var(--flame);
  opacity: 0.7;
}

.page-home .hero-console__readout {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: clamp(1.2rem, 3.4vw, 2rem);
}

.page-home .hero-console__round {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ember-soft);
  font-family: var(--font-mono);
}

.page-home .readout-block {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  background: rgba(11, 14, 19, 0.62);
  border-left: 3px solid var(--flame);
  backdrop-filter: blur(6px);
}

.page-home .readout-block--cyan {
  border-left-color: var(--cyan);
}

.page-home .readout-label {
  font-size: 0.85rem;
  color: var(--mist);
}

.page-home .readout-colon {
  color: var(--mist);
  padding-inline: 0.1em;
}

/* ---------- 本月更新发布台 ---------- */
.page-home .update-desk {
  display: grid;
  gap: var(--home-gap);
  padding: clamp(1.4rem, 3.4vw, 2.6rem);
  background: linear-gradient(165deg, var(--ink-800) 0%, var(--ink-900) 68%);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.page-home .update-desk .section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4.4vw, 2.3rem);
  line-height: 1.25;
  color: var(--white);
  margin: 0.35rem 0 0.9rem;
}

.page-home .update-body .prose {
  color: var(--mist);
  line-height: 1.85;
  max-width: 34rem;
  margin: 0 0 1.4rem;
}

.page-home .update-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.page-home .update-item {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.6rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.page-home .update-item__no {
  font-size: 0.95rem;
  color: var(--ember);
}

.page-home .update-item__title {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: var(--white);
  font-weight: 600;
}

.page-home .update-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .update-foot {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.page-home .update-foot__note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--mist);
}

.page-home .update-media {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.page-home .update-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-md) var(--r-md) 6px var(--r-md);
  border: 1px solid var(--ink-700);
}

.page-home .update-media figcaption {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--mist);
  font-family: var(--font-mono);
}

/* ---------- 三条主路径 ---------- */
.page-home .routes {
  padding-block: var(--home-block) 0;
}

.page-home .route-grid {
  margin-top: 2rem;
  display: grid;
  gap: var(--home-gap);
}

.page-home .route-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  transition: transform var(--dur) ease, border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.page-home .route-card:hover,
.page-home .route-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--flame);
  box-shadow: 0 22px 44px -30px rgba(255, 90, 31, 0.6);
}

.page-home .route-card__index {
  font-size: 0.9rem;
  color: var(--mist);
  letter-spacing: 0.08em;
}

.page-home .route-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  color: var(--white);
}

.page-home .route-card__text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .route-card__list {
  margin: 0.2rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .route-card__link {
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--ember);
  font-size: 0.9rem;
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.page-home .route-card__link:hover {
  color: var(--ember-soft);
}

/* ---------- 六类比赛数据 ---------- */
.page-home .metrics {
  padding-block: var(--home-block) 0;
}

.page-home .metrics .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.6rem 0 1.8rem;
}

.page-home .metric-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--home-gap);
}

.page-home [data-filter-item][hidden] {
  display: none;
}

.page-home .metric-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.1rem, 2.8vw, 1.6rem);
  background: linear-gradient(200deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md) var(--r-md) var(--r-md) 6px;
  overflow: hidden;
  transition: border-color var(--dur) ease, transform var(--dur) ease;
}

.page-home .metric-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--flame), transparent 78%);
  opacity: 0.5;
  transition: opacity var(--dur) ease;
}

.page-home .metric-card:hover::before {
  opacity: 1;
}

.page-home .metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.page-home .metric-card__name {
  margin: 0;
  font-size: 1.1rem;
  color: var(--white);
  font-family: var(--font-serif);
}

.page-home .metric-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .metric-card__scene {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.78;
  color: var(--ember-soft);
}

.page-home .metric-card__tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.24rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
  border: 1px solid rgba(55, 194, 214, 0.34);
  border-radius: var(--r-pill);
}

.page-home .metric-band {
  margin: 2.4rem 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ink-700);
  background: var(--char);
}

.page-home .metric-band img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  opacity: 0.82;
}

.page-home .metric-band figcaption {
  padding: 0.9rem 1.2rem 1.1rem;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 逐轮战报 ---------- */
.page-home .reports {
  padding-block: var(--home-block) 0;
}

.page-home .report-grid {
  margin-top: 2rem;
  display: grid;
  gap: var(--home-gap);
}

.page-home .report-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur) ease, box-shadow var(--dur) ease, border-color var(--dur) ease;
}

.page-home .report-card:hover,
.page-home .report-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 90, 31, 0.5);
  box-shadow: 0 26px 52px -34px rgba(255, 90, 31, 0.55);
}

.page-home .report-card__media {
  margin: 0;
}

.page-home .report-card__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .report-card__body {
  padding: clamp(1.1rem, 2.8vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.page-home .report-card__round {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  font-family: var(--font-mono);
  color: var(--mist);
}

.page-home .report-score {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
}

.page-home .report-score .tally {
  font-size: 1.65rem;
}

.page-home .report-detail {
  margin: 0;
  display: grid;
  gap: 0.4rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--dur) ease, opacity var(--dur) ease;
}

.page-home .report-card:hover .report-detail,
.page-home .report-card:focus-within .report-detail {
  max-height: 6rem;
  opacity: 1;
}

.page-home .report-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0.75rem;
  border-radius: var(--r-sm);
  background: rgba(30, 39, 51, 0.7);
}

.page-home .report-row dt {
  font-size: 0.82rem;
  color: var(--mist);
}

.page-home .report-row dd {
  margin: 0;
  font-size: 1rem;
  color: var(--white);
}

.page-home .report-card__link {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--ember);
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.page-home .report-card__link:hover {
  color: var(--ember-soft);
}

/* ---------- 更新节奏与常见疑问 ---------- */
.page-home .cadence {
  padding-block: var(--home-block) 0;
}

.page-home .cadence-grid {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
}

.page-home .cadence-copy .section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4.4vw, 2.2rem);
  line-height: 1.26;
  color: var(--white);
  margin: 0.35rem 0 1rem;
}

.page-home .cadence-copy .prose {
  color: var(--mist);
  line-height: 1.85;
  margin: 0 0 1rem;
  max-width: 34rem;
}

.page-home .cadence-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.page-home .faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-home .faq-item {
  padding: 0.9rem 1.1rem;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  transition: border-color var(--dur) ease;
}

.page-home .faq-item[open] {
  border-color: rgba(255, 90, 31, 0.42);
}

.page-home .faq-q {
  cursor: pointer;
  font-size: 0.98rem;
  color: var(--white);
  font-weight: 500;
  list-style: none;
}

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

.page-home .faq-q::after {
  content: "＋";
  float: right;
  color: var(--ember);
  font-family: var(--font-mono);
}

.page-home .faq-item[open] .faq-q::after {
  content: "－";
}

.page-home .faq-a {
  margin: 0.7rem 0 0;
  font-size: 0.89rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .faq-more {
  align-self: flex-start;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--cyan);
  text-decoration: none;
}

.page-home .faq-more:hover {
  color: var(--cyan-soft);
}

.page-home a:focus-visible,
.page-home summary:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 2px;
  box-shadow: inset 0 0 0 2px rgba(55, 194, 214, 0.5);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .page-home .hero-facts__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

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

  .page-home .route-card--tall {
    grid-row: span 2;
  }

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

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

  .page-home .report-card--lead {
    grid-row: span 2;
  }
}

@media (min-width: 1000px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
  }

  .page-home .hero-console {
    min-height: 34rem;
  }

  .page-home .update-desk {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: start;
  }

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

  .page-home .route-card--tall {
    margin-top: 0;
  }

  .page-home .route-card:not(.route-card--tall) {
    margin-top: 2.2rem;
  }

  .page-home .route-card--short {
    margin-top: 3.6rem;
  }

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

  .page-home .metric-card:nth-child(2n) {
    margin-top: 1.4rem;
  }

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

  .page-home .report-card--lead {
    grid-row: auto;
  }

  .page-home .report-card:nth-child(2) {
    margin-top: 2rem;
  }

  .page-home .cadence-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
  }
}

@media (max-width: 899px) {
  .page-home .report-detail {
    max-height: 6rem;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .route-card,
  .page-home .metric-card,
  .page-home .report-card,
  .page-home .report-detail {
    transition: none;
  }

  .page-home .route-card:hover,
  .page-home .report-card:hover {
    transform: none;
  }

  .page-home .report-detail {
    max-height: 6rem;
    opacity: 1;
  }
}
