.page-home {
  --home-axis: 210px;
  --home-gap: clamp(1.25rem, 3.2vw, 2.75rem);
}

/* ---------- 框景首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(1rem, 3vw, 2rem) var(--gutter) clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(53, 242, 208, 0.12), transparent 62%),
    radial-gradient(90% 70% at 4% 108%, rgba(242, 199, 110, 0.08), transparent 66%);
}

.page-home .hero-frame {
  position: relative;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(11, 36, 56, 0.72), rgba(6, 24, 38, 0.32) 68%);
  box-shadow: inset 0 1px 0 rgba(216, 230, 234, 0.06);
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(90deg, rgba(242, 199, 110, 0.4) 0 1px, transparent 1px 24px);
  pointer-events: none;
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56px;
  height: 56px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  pointer-events: none;
}

.page-home .hero-copy {
  position: relative;
  z-index: 1;
}

.page-home .hero-title {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7.4vw, 4.4rem);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--mist);
}

.page-home .hero-lead {
  margin: clamp(0.9rem, 2.2vw, 1.3rem) 0 0;
  max-width: 33em;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(216, 230, 234, 0.78);
}

.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.1rem, 2.6vw, 1.6rem);
}

.page-home .hero-ticks {
  list-style: none;
  margin: clamp(1.25rem, 3vw, 2rem) 0 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);
}

.page-home .hero-ticks li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.7rem 0.85rem;
  background: rgba(6, 24, 38, 0.62);
}

.page-home .tick-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.page-home .tick-label {
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  color: rgba(216, 230, 234, 0.66);
}

.page-home .hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-700);
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--mist);
  background: linear-gradient(to top, rgba(2, 7, 12, 0.92), transparent);
}

/* ---------- 长卷与左侧轮次轴 ---------- */
.page-home .deck {
  display: grid;
  gap: var(--home-gap);
  padding: 0 var(--gutter) clamp(2.5rem, 6vw, 5rem);
}

.page-home .axis {
  align-self: start;
}

.page-home .axis-title {
  color: var(--gold);
}

.page-home .axis-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0 0 0.8rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line-soft);
  scrollbar-width: none;
}

.page-home .axis-list::-webkit-scrollbar {
  display: none;
}

.page-home .axis-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.82rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .axis-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
}

.page-home .axis-list a:hover,
.page-home .axis-list a:focus-visible {
  color: var(--cyan);
  border-color: var(--line-strong);
  background: var(--cyan-dim);
}

.page-home .axis-note {
  margin: 0.7rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(216, 230, 234, 0.5);
}

/* ---------- 章节 ---------- */
.page-home .chapter {
  padding-block: clamp(2rem, 5vw, 3.75rem);
  border-top: 1px solid var(--line-soft);
}

.page-home .chapter:first-child {
  border-top: 0;
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.page-home .chapter-head .index-label {
  color: var(--gold);
}

.page-home .chapter-head h2 {
  margin: 0.55rem 0 0;
  max-width: 20em;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--mist);
}

.page-home .chapter-lead {
  margin: 0.9rem 0 0;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(216, 230, 234, 0.76);
}

.page-home .panel-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(216, 230, 234, 0.6);
}

.page-home .media-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-700);
}

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

.page-home .media-frame--tall img {
  aspect-ratio: 4 / 5;
}

/* ---------- 01 联赛区间 ---------- */
.page-home .chapter-split {
  display: grid;
  gap: clamp(1.1rem, 3vw, 1.75rem);
  margin-top: clamp(1.4rem, 3vw, 2.25rem);
}

.page-home .league-band {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 58, 86, 0.55), rgba(6, 24, 38, 0.5));
}

.page-home .band-row {
  display: grid;
  gap: 0.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--line-soft);
}

.page-home .band-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .band-name {
  font-size: 0.95rem;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.page-home .band-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(216, 230, 234, 0.1);
  overflow: hidden;
}

.page-home .band-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.page-home .band-row:nth-of-type(1) .band-fill { width: 94%; }
.page-home .band-row:nth-of-type(2) .band-fill { width: 78%; }
.page-home .band-row:nth-of-type(3) .band-fill { width: 66%; }

.page-home .band-range {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(216, 230, 234, 0.6);
}

.page-home .band-foot {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(216, 230, 234, 0.6);
}

.page-home .chapter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

/* ---------- 02 赛程导出 ---------- */
.page-home .export-panel {
  margin-top: clamp(1.4rem, 3vw, 2.25rem);
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .chip-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.7rem 0 0;
  padding: 0;
}

.page-home .chip {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.page-home .export-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 1.25rem 0 0;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-home .export-stats > div {
  padding: 0.85rem 1rem;
  background: rgba(6, 24, 38, 0.62);
}

.page-home .export-stats dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(216, 230, 234, 0.58);
}

.page-home .export-stats dd {
  margin: 0.32rem 0 0;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--gold);
}

.page-home .export-note {
  margin: 1.15rem 0 0;
  max-width: 40em;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(216, 230, 234, 0.66);
}

/* ---------- 03 iOS 双视图 ---------- */
.page-home .view-pair {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.4rem, 3vw, 2.25rem);
}

.page-home .view-card {
  padding: clamp(1.1rem, 2.6vw, 1.6rem);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(18, 58, 86, 0.42);
}

.page-home .view-card--alt {
  border-top-color: var(--coral);
}

.page-home .view-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .view-card h3 {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.page-home .view-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-home .view-list li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(216, 230, 234, 0.8);
}

.page-home .view-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  transform: translateY(-2px);
}

.page-home .view-card--alt .view-list li::before {
  background: var(--coral);
}

.page-home .view-use {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line-soft);
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(216, 230, 234, 0.6);
}

/* ---------- 04 轮次归档拼贴 ---------- */
.page-home .collage {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(1.4rem, 3vw, 2.25rem);
}

.page-home .collage-card {
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 36, 56, 0.5);
}

.page-home .collage-card h3 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.page-home .collage-card p {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(216, 230, 234, 0.74);
}

.page-home .collage-card--video .media-frame img {
  aspect-ratio: 16 / 9;
}

.page-home .collage-card--column .media-frame img {
  aspect-ratio: 3 / 2;
}

.page-home .collage-card--column {
  background: rgba(6, 24, 38, 0.66);
  border-color: var(--line-soft);
}

.page-home .archive-stats {
  list-style: none;
  margin: clamp(1.3rem, 3vw, 2rem) 0 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);
}

.page-home .archive-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.9rem 1rem;
  background: rgba(6, 24, 38, 0.58);
}

.page-home .archive-stats b {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .archive-stats span {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: rgba(216, 230, 234, 0.6);
}

/* ---------- 05 服务与联系 ---------- */
.page-home .service-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.4rem, 3vw, 2.25rem);
}

.page-home .service-card--paper {
  position: relative;
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  border: 1px solid rgba(243, 231, 211, 0.55);
  border-radius: var(--radius);
  background: var(--paper);
  color: #0b2438;
}

.page-home .service-card--paper::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 26px;
  height: 26px;
  border-right: 1px solid rgba(11, 36, 56, 0.35);
  border-bottom: 1px solid rgba(11, 36, 56, 0.35);
}

.page-home .service-card--dark {
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 58, 86, 0.72), rgba(6, 24, 38, 0.62));
}

.page-home .service-grid h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .service-card--paper h3 {
  color: #061826;
}

.page-home .service-card--dark h3 {
  color: var(--mist);
}

.page-home .service-text {
  margin: 0.7rem 0 0;
  max-width: 30em;
  font-size: 0.92rem;
  line-height: 1.75;
}

.page-home .service-card--paper .service-text {
  color: rgba(11, 36, 56, 0.78);
}

.page-home .service-card--dark .service-text {
  color: rgba(216, 230, 234, 0.74);
}

.page-home .service-card--dark .btn {
  margin-top: 1.1rem;
}

.page-home .contact-list {
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.7rem;
  font-size: 0.93rem;
}

.page-home .contact-list dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(11, 36, 56, 0.58);
}

.page-home .contact-list dd {
  margin: 0.16rem 0 0;
  color: #0b2438;
  word-break: break-word;
}

.page-home .service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.75rem;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  padding-top: 1.15rem;
  border-top: 1px dashed var(--line-soft);
  font-size: 0.92rem;
}

.page-home .service-links a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 242, 208, 0.35);
  padding-bottom: 2px;
}

.page-home .service-links a:hover,
.page-home .service-links a:focus-visible {
  color: var(--gold);
  border-bottom-color: rgba(242, 199, 110, 0.5);
}

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

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

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

  .page-home .band-row {
    grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.4rem 0.9rem;
  }
}

@media (min-width: 760px) {
  .page-home .view-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .service-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

@media (min-width: 900px) {
  .page-home .hero-frame {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
    padding: clamp(1.75rem, 3.2vw, 2.75rem);
  }

  .page-home .hero-media img {
    aspect-ratio: 4 / 3;
  }

  .page-home .chapter-split {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .page-home .chapter-split .media-frame--tall {
    height: 100%;
  }

  .page-home .chapter-split .media-frame--tall img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 320px;
  }
}

@media (min-width: 960px) {
  .page-home .deck {
    grid-template-columns: var(--home-axis) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .page-home .axis {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .page-home .axis-list {
    flex-direction: column;
    gap: 0;
    overflow: visible;
    padding: 0;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .page-home .axis-list a {
    width: 100%;
    margin-left: -1px;
    padding: 0.7rem 0.9rem;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    font-size: 0.9rem;
  }

  .page-home .axis-list a:hover,
  .page-home .axis-list a:focus-visible {
    background: linear-gradient(90deg, var(--cyan-dim), transparent);
    border-left-color: var(--cyan);
  }
}

@media (min-width: 1000px) {
  .page-home .collage {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }

  .page-home .collage-card--column {
    margin-top: clamp(1.5rem, 4vw, 3.25rem);
  }
}
