.page-home {
  --home-rail-w: 156px;
  --home-gap: 34px;
  --home-edge: clamp(16px, 4vw, 40px);
  display: block;
  background: var(--c-black);
  color: var(--c-cream);
  overflow-x: hidden;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home .home-frame {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--home-edge);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.page-home .home-flow {
  min-width: 0;
}

/* ---------- 章节目录 ---------- */
.page-home .home-toc {
  display: none;
}

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

.page-home .home-toc__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border-left: 1px solid var(--line-gold);
}

.page-home .home-toc__link {
  display: block;
  margin-left: -1px;
  padding: 9px 0 9px 14px;
  border-left: 2px solid transparent;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-ash);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-toc__link:hover,
.page-home .home-toc__link:focus-visible,
.page-home .home-toc__link[aria-current="true"] {
  color: var(--c-lava);
  border-left-color: var(--c-lava);
}

@media (min-width: 1080px) {
  .page-home .home-frame {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    gap: var(--home-gap);
  }

  .page-home .home-toc {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 28px);
    align-self: start;
    padding-top: 96px;
  }
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding: 30px 0 0;
}

.page-home .home-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 6px 13px;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  background: rgba(255, 90, 31, 0.07);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-gold);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  color: var(--c-paper);
  line-height: 1.04;
  letter-spacing: 0.05em;
}

.page-home .home-hero__title-em {
  display: block;
  margin-top: 10px;
  font-size: 0.44em;
  letter-spacing: 0.13em;
  color: var(--c-lava);
}

.page-home .home-hero__lede {
  max-width: 50ch;
  margin: 0 0 18px;
  color: rgba(242, 233, 220, 0.78);
  font-size: 17px;
  line-height: 1.85;
}

.page-home .home-hero__crumb {
  margin-bottom: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-ash);
}

/* ---------- 拼贴 ---------- */
.page-home .collage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .collage__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--c-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .collage__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.page-home .collage__hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 26px 22px 24px;
  background: linear-gradient(to top, rgba(14, 15, 18, 0.97) 34%, rgba(14, 15, 18, 0) 100%);
}

.page-home .collage__hero-title {
  margin: 6px 0 8px;
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  letter-spacing: 0.05em;
  color: var(--c-paper);
  line-height: 1.25;
}

.page-home .collage__hero-text {
  margin: 0 0 16px;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(242, 233, 220, 0.72);
}

.page-home .collage__entries {
  padding: 22px 20px;
  border-radius: 3px;
}

.page-home .entry-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
}

.page-home .entry-list__item {
  background: var(--c-deep);
}

.page-home .entry-list__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.page-home .entry-list__link:hover,
.page-home .entry-list__link:focus-visible {
  background: rgba(255, 90, 31, 0.11);
  padding-left: 18px;
}

.page-home .entry-list__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-lava);
  letter-spacing: 0.1em;
}

.page-home .entry-list__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.page-home .entry-list__text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-paper);
}

.page-home .entry-list__text em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--c-ash);
}

.page-home .entry-list__arrow {
  color: var(--c-gold);
  font-size: 14px;
}

.page-home .collage__app {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  border-radius: 3px;
}

.page-home .collage__app-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  opacity: 0.86;
}

.page-home .collage__app-body {
  padding: 20px 18px 20px 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .collage__app-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--c-paper);
}

.page-home .collage__app-text {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-ash);
}

.page-home .collage__app-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

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

.page-home .ticker-list__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--c-deep);
}

.page-home .ticker-list__num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  color: var(--c-lava);
  letter-spacing: 0.02em;
}

.page-home .ticker-list__unit {
  font-size: 0.5em;
  margin-left: 3px;
  color: var(--c-lava-2);
}

.page-home .ticker-list__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-ash);
}

@media (min-width: 760px) {
  .page-home .collage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .collage__hero {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    min-height: 420px;
  }

  .page-home .collage__entries {
    grid-column: 8 / 13;
    grid-row: 1;
  }

  .page-home .collage__app {
    grid-column: 8 / 13;
    grid-row: 2;
  }

  .page-home .collage__ticker {
    grid-column: 1 / 13;
    grid-row: 3;
  }

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

/* ---------- 通用章节头 ---------- */
.page-home .section {
  padding: 54px 0 0;
}

.page-home .section-band {
  display: grid;
  gap: 7px;
  padding: 0 0 16px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--c-gold);
}

.page-home .home-sec__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--c-paper);
}

.page-home .home-sec__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-ash);
}

/* ---------- 第二栏 双入口 ---------- */
.page-home .dual-entry {
  gap: 16px;
}

.page-home .dual-entry__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px;
  border-radius: 3px;
}

.page-home .dual-entry__title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--c-paper);
}

.page-home .dual-entry__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(242, 233, 220, 0.76);
}

.page-home .dual-entry__visual {
  margin: 0;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--line-gold);
}

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

.page-home .dual-entry__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .dual-entry__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242, 233, 220, 0.82);
}

.page-home .dual-entry__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 2px;
  background: var(--c-lava);
}

.page-home .dual-entry__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.page-home .dual-entry__sub-link {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--c-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 139, 255, 0.45);
  padding-bottom: 2px;
}

.page-home .dual-entry__sub-link:hover,
.page-home .dual-entry__sub-link:focus-visible {
  color: var(--c-lava-2);
  border-bottom-color: var(--c-lava-2);
}

/* ---------- 选手数据速览 ---------- */
.page-home .stats-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-home .duration-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 20px;
}

.page-home .duration-tabs__item {
  padding: 9px 14px;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  background: var(--c-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-cream);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .duration-tabs__item:hover {
  border-color: var(--c-lava-2);
}

.page-home .duration-tabs__item.is-active {
  background: var(--c-lava);
  border-color: var(--c-lava);
  color: var(--c-black);
  font-weight: 700;
}

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

.page-home .dim-row__item {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 13px 16px;
  background: var(--c-deep);
  outline: none;
  transition: background 0.2s ease;
}

.page-home .dim-row__item:hover,
.page-home .dim-row__item:focus-visible {
  background: rgba(61, 139, 255, 0.1);
}

.page-home .dim-row__name {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--c-blue);
}

.page-home .dim-row__desc {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--c-ash);
}

.page-home .dim-row__bubble {
  position: absolute;
  left: 12px;
  bottom: calc(100% + 8px);
  z-index: 3;
  padding: 6px 10px;
  border-radius: 2px;
  background: var(--c-lava);
  color: var(--c-black);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.page-home .dim-row__item:hover .dim-row__bubble,
.page-home .dim-row__item:focus-within .dim-row__bubble,
.page-home .dim-row__item:focus-visible .dim-row__bubble {
  opacity: 1;
  transform: translateY(0);
}

.page-home .stats-strip__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ash);
}

.page-home .stats-strip__note a {
  color: var(--c-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 139, 255, 0.45);
}

.page-home .stats-strip__note a:hover,
.page-home .stats-strip__note a:focus-visible {
  color: var(--c-lava-2);
  border-bottom-color: var(--c-lava-2);
}

.page-home .stats-strip__figure {
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
  background: var(--c-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-home .stats-strip__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  opacity: 0.92;
}

.page-home .stats-strip__figure figcaption {
  padding: 12px 16px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-ash);
}

@media (min-width: 880px) {
  .page-home .stats-strip {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 30px;
  }
}

/* ---------- 回放周次 ---------- */
.page-home .week-rail {
  list-style: none;
  margin: 34px 0 26px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.page-home .week-rail__item {
  position: relative;
  padding-top: 14px;
  border-top: 3px solid rgba(201, 162, 39, 0.55);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--c-ash);
}

.page-home .week-rail__item.is-current {
  border-top-color: var(--c-lava);
  color: var(--c-lava);
  font-weight: 700;
}

.page-home .week-rail__item.is-current::after {
  content: "本周";
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 2px;
  background: var(--c-lava);
  color: var(--c-black);
  font-size: 10px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.page-home .home-replay__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 4px;
  border-top: 1px dashed var(--line-gold);
}

.page-home .home-replay__foot p {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242, 233, 220, 0.78);
}

@media (min-width: 720px) {
  .page-home .week-rail {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 8px;
  }
}

/* ---------- 火马纪事 ---------- */
.page-home .home-stories {
  margin-top: 52px;
  padding: 46px 22px 52px;
  background: var(--c-paper);
  color: var(--c-paper-ink);
  border-radius: 3px;
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%, 0 26px);
}

.page-home .home-stories .section-band {
  border-bottom-color: rgba(26, 28, 34, 0.16);
}

.page-home .home-stories .section-index {
  color: var(--c-lava);
}

.page-home .home-stories .home-sec__title {
  color: var(--c-paper-ink);
}

.page-home .home-stories .home-sec__sub {
  color: #4C5059;
}

.page-home .story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .story-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  border: 1px solid rgba(26, 28, 34, 0.14);
  border-radius: 3px;
  background: #FFFCF6;
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .story-card:hover,
.page-home .story-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--c-lava);
  box-shadow: 0 10px 26px rgba(14, 15, 18, 0.12);
}

.page-home .story-card__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--c-red);
}

.page-home .story-card__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--c-paper-ink);
}

.page-home .story-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: #4C5059;
}

.page-home .story-card__more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-lava);
}

@media (min-width: 860px) {
  .page-home .home-stories {
    padding: 52px 34px 58px;
  }

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

/* ---------- 收束 ---------- */
.page-home .home-coverage {
  padding: 58px 0 68px;
}

.page-home .coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .coverage-grid__text {
  display: grid;
  gap: 14px;
}

.page-home .coverage-grid__text p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(242, 233, 220, 0.8);
}

.page-home .coverage-grid__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-home .coverage-grid__link {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--c-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 139, 255, 0.45);
  padding-bottom: 2px;
}

.page-home .coverage-grid__link:hover,
.page-home .coverage-grid__link:focus-visible {
  color: var(--c-lava-2);
  border-bottom-color: var(--c-lava-2);
}

.page-home .home-coverage .divider-rail {
  margin-top: 42px;
}

@media (min-width: 900px) {
  .page-home .coverage-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 40px;
  }
}

/* ---------- 首屏与整卷的窄屏细节 ---------- */
@media (max-width: 480px) {
  .page-home .collage__app {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .collage__app-img {
    min-height: 150px;
    max-height: 190px;
  }

  .page-home .collage__app-body {
    padding: 16px 18px 20px;
  }

  .page-home .ticker-list__item {
    padding: 14px 14px;
  }

  .page-home .home-hero__title-em {
    font-size: 0.5em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-list__link,
  .page-home .story-card,
  .page-home .dim-row__bubble,
  .page-home .duration-tabs__item {
    transition: none;
  }

  .page-home .story-card:hover,
  .page-home .story-card:focus-visible {
    transform: none;
  }
}
