.page-home {
  --home-pad: clamp(1.1rem, 4vw, 3rem);
  --home-max: 1240px;
  --home-gap: clamp(1.5rem, 3.5vw, 3rem);
  --home-block: clamp(2.6rem, 6vw, 5.2rem);
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

.page-home .band {
  width: min(100% - var(--home-pad) * 2, var(--home-max));
  margin-inline: auto;
  min-width: 0;
}

.page-home .band > *,
.page-home .hero-inner > * {
  min-width: 0;
}

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

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
  padding-block: clamp(1.6rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.6rem);
}

.page-home .hero-visual {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -1;
}

.page-home .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(69, 217, 124, 0.42), transparent 56%),
    radial-gradient(circle at 8% 92%, rgba(243, 182, 63, 0.2), transparent 52%),
    linear-gradient(168deg, rgba(11, 46, 35, 0.95) 0%, rgba(11, 46, 35, 0.82) 46%, rgba(16, 22, 20, 0.97) 100%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--home-pad) * 2, var(--home-max));
  margin-inline: auto;
  display: grid;
  gap: var(--home-gap);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .hero-brand .breadcrumb {
  color: rgba(246, 248, 244, 0.6);
  font-size: 0.76rem;
  margin-bottom: 1.1rem;
}

.page-home .hero-brand .eyebrow {
  color: var(--kiwi-bright);
  letter-spacing: 0.16em;
  margin: 0 0 0.7rem;
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}

.page-home .hero-title em {
  font-style: normal;
  color: var(--kiwi-bright);
  box-shadow: inset 0 -0.16em 0 rgba(243, 182, 63, 0.55);
}

.page-home .hero-lede {
  margin: 1.1rem 0 0;
  max-width: 34em;
  font-size: clamp(0.97rem, 1.6vw, 1.06rem);
  line-height: 1.85;
  color: rgba(246, 248, 244, 0.84);
}

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

.page-home .hero-status {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(246, 248, 244, 0.68);
}

.page-home .hero-status li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* 首屏索引 */

.page-home .hero-index {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.4rem);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.page-home .hero-index-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(246, 248, 244, 0.58);
}

.page-home .hero-index-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.page-home .hero-index-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.68rem 0.7rem;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.page-home .hero-index-list a:hover,
.page-home .hero-index-list a:focus-visible {
  background: rgba(69, 217, 124, 0.18);
  transform: translateX(3px);
}

.page-home .idx-no {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
}

.page-home .idx-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.page-home .idx-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(246, 248, 244, 0.56);
}

/* 日期滑轨 */

.page-home .hero-rail {
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(1rem, 2vw, 1.4rem);
}

.page-home .hero-rail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
}

.page-home .hero-rail-head h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(246, 248, 244, 0.9);
}

.page-home .hero-rail-head p {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(246, 248, 244, 0.5);
}

.page-home .rail-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0 0 0.4rem;
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-home .rail-list > li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.page-home .rail-list .date-chip {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 10rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(246, 248, 244, 0.78);
}

.page-home .rail-list .date-chip.is-on {
  background: var(--kiwi);
  border-color: var(--kiwi);
  color: #04241a;
}

.page-home .rail-list .date-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kiwi-bright);
}

.page-home .rail-list .date-chip.is-on .date-chip-dot {
  background: #04241a;
}

.page-home .rail-list .date-chip-label {
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .rail-list .date-chip-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.72;
}

.page-home .rail-visual {
  margin: 0.9rem 0 0;
  height: clamp(84px, 13vw, 148px);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.page-home .rail-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

/* ---------- 数据剖面 ---------- */

.page-home .slice {
  background: var(--pale);
  padding-block: var(--home-block);
}

.page-home .slice-head {
  max-width: 46rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

.page-home .slice-head .eyebrow {
  color: var(--turf);
}

.page-home .slice-lede {
  margin: 0.9rem 0 0;
  max-width: 38em;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(16, 22, 20, 0.72);
}

.page-home .slice-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .slice-stats {
  display: grid;
  gap: 0.8rem;
}

.page-home .stat {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: #fff;
}

.page-home .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--deep);
  line-height: 1.1;
}

.page-home .stat-label {
  font-size: 0.84rem;
  color: rgba(16, 22, 20, 0.62);
}

.page-home .stat--gold {
  background: linear-gradient(135deg, #fff6e0, #fdeccb);
}

.page-home .stat--gold .stat-value {
  color: #8a5c00;
}

.page-home .slice-figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--turf);
}

.page-home .slice-figure img {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 200px;
  object-fit: cover;
}

.page-home .slice-figure figcaption {
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
  line-height: 1.65;
  background: rgba(11, 46, 35, 0.92);
  color: rgba(246, 248, 244, 0.78);
}

.page-home .slice-chart {
  margin-top: clamp(1rem, 2.5vw, 1.6rem);
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border-radius: var(--radius-lg);
  background: #fff;
}

.page-home .slice-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .slice-chart text {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: rgba(16, 22, 20, 0.58);
}

.page-home .bar-goal {
  fill: var(--kiwi);
}

.page-home .bar-lost {
  fill: var(--gold);
}

.page-home .chart-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0.9rem 0 0;
  padding: 0;
  font-size: 0.8rem;
  color: rgba(16, 22, 20, 0.66);
}

.page-home .chart-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.page-home .legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.page-home .legend-dot--goal {
  background: var(--kiwi);
}

.page-home .legend-dot--lost {
  background: var(--gold);
}

/* ---------- 射手榜单 ---------- */

.page-home .rank {
  background: var(--paper);
  padding-block: var(--home-block);
}

.page-home .rank-shell {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .rank-copy .eyebrow {
  color: var(--turf);
}

.page-home .rank-copy p {
  margin: 0.9rem 0 1.5rem;
  max-width: 30em;
  line-height: 1.85;
  color: rgba(16, 22, 20, 0.72);
}

.page-home .rank-panel {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
}

.page-home .rank-filters {
  display: grid;
  gap: 0.75rem;
}

.page-home .filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.page-home .filter-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(246, 248, 244, 0.5);
  margin-right: 0.25rem;
  min-width: 2.2rem;
}

.page-home .filter-chip {
  font-size: 0.8rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 248, 244, 0.22);
  color: rgba(246, 248, 244, 0.78);
}

.page-home .filter-chip.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: #2a1c00;
  font-weight: 700;
}

.page-home .rank-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.78rem;
  color: rgba(246, 248, 244, 0.62);
}

.page-home .rank-rows {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.page-home .rank-rows li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.8rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(246, 248, 244, 0.12);
  font-size: 0.88rem;
}

.page-home .rank-rows li:last-child {
  border-bottom: 0;
}

.page-home .rank-no {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gold);
}

.page-home .rank-key {
  font-weight: 700;
  color: #fff;
}

.page-home .rank-val {
  flex: 1 1 11rem;
  color: rgba(246, 248, 244, 0.68);
  line-height: 1.6;
}

/* ---------- 赛前十分钟 ---------- */

.page-home .kickoff {
  background: linear-gradient(150deg, var(--turf) 0%, var(--deep) 52%, #061c15 100%);
  color: var(--paper);
  padding-block: var(--home-block);
}

.page-home .kickoff-shell {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .kickoff-copy .eyebrow {
  color: var(--gold);
}

.page-home .kickoff .h-section {
  color: #fff;
}

.page-home .kickoff-copy p {
  margin: 0.9rem 0 1.5rem;
  max-width: 30em;
  line-height: 1.85;
  color: rgba(246, 248, 244, 0.82);
}

.page-home .kickoff-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.page-home .kickoff-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-home .k-step-no {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--kiwi-bright);
}

.page-home .kickoff-steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.page-home .kickoff-steps p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(246, 248, 244, 0.74);
}

/* ---------- 经典版与会员 ---------- */

.page-home .legacy {
  background: var(--paper);
  padding-block: var(--home-block);
}

.page-home .legacy-head .eyebrow {
  color: var(--turf);
}

.page-home .legacy-head p {
  margin: 0.9rem 0 0;
  max-width: 34em;
  line-height: 1.8;
  color: rgba(16, 22, 20, 0.7);
}

.page-home .legacy-split {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .legacy-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border-radius: var(--radius-lg);
}

.page-home .legacy-card--old {
  background: var(--deep);
  color: var(--paper);
}

.page-home .legacy-card--member {
  background: var(--pale);
  color: var(--ink);
}

.page-home .legacy-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(69, 217, 124, 0.2);
  color: var(--kiwi-bright);
}

.page-home .legacy-tag--gold {
  background: var(--gold);
  color: #33210a;
}

.page-home .legacy-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.page-home .legacy-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.78;
}

.page-home .legacy-card--old p {
  color: rgba(246, 248, 244, 0.78);
}

.page-home .legacy-card--member p {
  color: rgba(16, 22, 20, 0.7);
}

.page-home .legacy-figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
}

.page-home .legacy-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  opacity: 0.85;
}

.page-home .legacy-formats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.87rem;
  line-height: 1.6;
  color: rgba(16, 22, 20, 0.72);
}

.page-home .fmt {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--turf);
  margin-right: 0.45rem;
}

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

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

.page-home .cadence {
  background: var(--pale);
  padding-block: var(--home-block);
}

.page-home .cadence-grid {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: minmax(0, 1fr);
}

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

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

.page-home .cadence-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(16, 22, 20, 0.14);
}

.page-home .cadence-key {
  flex: 0 0 auto;
  min-width: 9rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--deep);
}

.page-home .cadence-val {
  flex: 1 1 12rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(16, 22, 20, 0.72);
}

.page-home .cadence-side {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  align-self: start;
}

.page-home .cadence-side h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.page-home .cadence-side p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(16, 22, 20, 0.7);
}

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

/* ---------- 三级归档 ---------- */

.page-home .archive {
  background: var(--deep);
  color: var(--paper);
  padding-block: var(--home-block);
}

.page-home .archive-head .eyebrow {
  color: var(--kiwi-bright);
}

.page-home .archive .h-section {
  color: #fff;
}

.page-home .archive-head p {
  margin: 0.9rem 0 0;
  max-width: 36em;
  line-height: 1.8;
  color: rgba(246, 248, 244, 0.72);
}

.page-home .archive-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  background: rgba(246, 248, 244, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .archive-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  background: var(--deep);
  color: inherit;
  text-decoration: none;
  transition: background 220ms var(--ease);
}

.page-home .archive-item:hover,
.page-home .archive-item:focus-visible {
  background: #12402f;
}

.page-home .archive-no {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
}

.page-home .archive-item h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
}

.page-home .archive-item p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.72;
  color: rgba(246, 248, 244, 0.72);
}

.page-home .archive-go {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--kiwi-bright);
}

.page-home .archive-item:hover .archive-go,
.page-home .archive-item:focus-visible .archive-go {
  color: var(--gold);
}

/* ---------- 响应式 ---------- */

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

@media (min-width: 820px) {
  .page-home .legacy-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

@media (min-width: 860px) {
  .page-home .slice-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: stretch;
  }
}

@media (min-width: 900px) {
  .page-home .rank-shell {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .page-home .kickoff-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

@media (min-width: 920px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .page-home .hero-rail {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .page-home .hero-title {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .page-home .rail-list .date-chip {
    min-width: 8.6rem;
  }

  .page-home .cadence-key {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-index-list a,
  .page-home .archive-item {
    transition: none;
  }

  .page-home .hero-index-list a:hover,
  .page-home .hero-index-list a:focus-visible {
    transform: none;
  }
}
