.page-home {
  --home-gap: clamp(14px, 2vw, 22px);
  --home-radius: var(--r-lg);
  background: var(--ink-900);
  color: var(--white);
}

/* ---------- 首屏 ---------- */
.page-home .home-stage {
  position: relative;
  isolation: isolate;
  padding: clamp(20px, 4vw, 44px) 0 clamp(46px, 6vw, 84px);
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(53, 224, 200, 0.14), transparent 58%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-home .stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.26;
  filter: saturate(0.4) contrast(1.08) brightness(0.72);
  z-index: -2;
}

.page-home .home-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(85% 70% at 50% 15%, #000 0%, transparent 78%);
  mask-image: radial-gradient(85% 70% at 50% 15%, #000 0%, transparent 78%);
}

.page-home .stage-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .stage-col {
  min-width: 0;
}

.page-home .stage-col--index {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home h1 {
  margin: 0;
  font-size: clamp(30px, 8.4vw, 46px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-home .stage-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--slate);
  max-width: 46ch;
}

/* 轮次刻度尺 */
.page-home .round-tabs-wrap {
  margin-top: 6px;
}

.page-home .round-tabs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.page-home .round-tabs {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 0 0 6px;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-home .round-tabs::-webkit-scrollbar {
  display: none;
}

.page-home .tab {
  position: relative;
  flex: 0 0 auto;
  padding: 18px 12px 8px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 240ms var(--ease), background-color 240ms var(--ease);
}

.page-home .tab::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transform: translate(-50%, -50%);
  transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

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

.page-home .tab.is-active {
  color: var(--white);
  background: rgba(53, 224, 200, 0.12);
}

.page-home .tab.is-active::before {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(53, 224, 200, 0.9);
}

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

/* 小屏赛事入口条 */
.page-home .enter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--home-gap);
  padding: 12px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(53, 224, 200, 0.5);
  background: rgba(11, 16, 48, 0.9);
  color: var(--white);
  text-decoration: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}

.page-home .enter-bar:hover {
  border-color: var(--cyan);
}

.page-home .enter-bar:active {
  transform: scale(0.98);
}

.page-home .enter-bar-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-home .enter-bar-round {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .enter-bar-arrow {
  color: var(--orange);
  font-family: var(--font-mono);
}

/* ---------- 数据卡 ---------- */
.page-home .data-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(16px, 2.4vw, 24px);
}

.page-home .data-card .card-title {
  font-size: clamp(19px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-home .data-card .card-meta {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home [data-tabpanel] {
  display: block;
}

.page-home [data-js="on"] [data-tabpanel] {
  display: none;
}

.page-home [data-js="on"] [data-tabpanel].is-active {
  display: block;
}

.page-home .metric-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--cyan);
}

.page-home .metric--orange {
  border-left-color: var(--orange);
}

.page-home .data-value {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 7vw, 44px);
  font-weight: 700;
  line-height: 1;
}

.page-home .data-value--cyan {
  color: var(--cyan);
}

.page-home .data-value--orange {
  color: var(--orange);
}

.page-home .data-unit {
  font-size: 0.42em;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-home .axis-chart {
  padding: 12px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
}

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

.page-home .chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.page-home .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .legend-swatch {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan);
}

.page-home .legend-swatch--orange {
  background: var(--orange);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

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

.page-home .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.42) contrast(1.06) brightness(0.82);
}

.page-home .data-figure {
  margin: 0;
}

/* 字段折叠 */
.page-home .field-list {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding: 0;
}

.page-home .field-item {
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
}

.page-home .field-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.page-home .field-summary::-webkit-details-marker {
  display: none;
}

.page-home .field-summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--cyan);
}

.page-home .field-item[open] .field-summary::after {
  content: "–";
}

.page-home .field-hint {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-home .field-body {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--slate);
}

/* ---------- 右栏速读 ---------- */
.page-home .stage-col--brief {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .brief-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 2.2vw, 20px);
}

.page-home .brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page-home .brief-head .card-title {
  margin: 0;
  font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 800;
}

.page-home .export-menu {
  position: relative;
}

.page-home .export-trigger {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  list-style: none;
  transition: transform 120ms var(--ease), background-color 200ms var(--ease);
}

.page-home .export-trigger::-webkit-details-marker {
  display: none;
}

.page-home .export-trigger:hover {
  background: var(--amber);
}

.page-home .export-trigger:active {
  transform: scale(0.97);
}

.page-home .export-body {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 9;
  width: min(290px, 76vw);
  padding: 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 138, 61, 0.4);
  background: var(--ink-800);
  box-shadow: var(--shadow-glass);
  font-size: 14px;
  line-height: 1.75;
  color: var(--amber);
}

.page-home .export-body p {
  margin: 0 0 8px;
}

.page-home .export-body .btn {
  margin-top: 4px;
}

.page-home .brief-item {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
  font-size: 15px;
  line-height: 1.78;
  color: var(--paper);
}

.page-home .brief-card .btn--primary {
  align-self: flex-start;
}

/* ---------- 章节通用 ---------- */
.page-home .home-catalog,
.page-home .home-briefs,
.page-home .home-cadence,
.page-home .home-join {
  padding: clamp(44px, 6vw, 88px) 0;
  position: relative;
}

.page-home .home-briefs {
  background: linear-gradient(180deg, rgba(20, 27, 60, 0) 0%, rgba(20, 27, 60, 0.85) 40%, rgba(20, 27, 60, 0) 100%);
}

.page-home .section-head {
  max-width: 720px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-home .sec-num {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-home .sec-title {
  margin: 0 0 10px;
  font-size: clamp(23px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-home .sec-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--slate);
}

.page-home .bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

/* ---------- 01 轮次目录 ---------- */
.page-home .catalog-media {
  height: 100%;
  min-height: 240px;
}

.page-home .round-rail {
  list-style: none;
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0 0 0 24px;
}

.page-home .round-rail::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(53, 224, 200, 0.12) 100%);
}

.page-home .round-node {
  position: relative;
  padding-bottom: 2px;
}

.page-home .round-node::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--ink-900);
}

.page-home .round-node-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .round-node-body h3 {
  margin: 4px 0 4px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.page-home .round-node-body p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate);
}

/* ---------- 02 战报摘要 ---------- */
.page-home .brief-list {
  display: grid;
  gap: 12px;
}

.page-home .brief-row {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--cyan);
}

.page-home .brief-row:nth-child(2) {
  border-left-color: var(--orange);
}

.page-home .brief-scene {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .brief-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--paper);
}

.page-home .brief-more {
  margin: 16px 0 0;
}

.page-home .brief-media-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 03 更新节奏 ---------- */
.page-home .cadence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .cadence-card {
  padding: 20px;
  border-radius: var(--home-radius);
  background: var(--glass);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
}

.page-home .cadence-card--orange {
  border-top-color: var(--orange);
}

.page-home .cadence-card h3 {
  margin: 10px 0 8px;
  font-size: 19px;
  font-weight: 800;
}

.page-home .cadence-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: var(--slate);
}

.page-home .cadence-team {
  margin-top: var(--home-gap);
  padding: 18px 20px;
  border-radius: var(--home-radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.page-home .cadence-team p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}

.page-home .cadence-team strong {
  color: var(--white);
  font-weight: 800;
}

/* ---------- 04 注册引导 ---------- */
.page-home .join-card {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 44px);
  color: var(--ink);
}

.page-home .join-card > .label {
  color: rgba(26, 26, 34, 0.6);
}

.page-home .join-card h2 {
  margin: 0;
  font-size: clamp(22px, 3.6vw, 34px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.page-home .join-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.page-home .join-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink);
}

.page-home .join-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 11px;
  height: 2px;
  background: var(--cyan-deep);
}

.page-home .join-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(26, 26, 34, 0.72);
}

.page-home .join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .join-card .btn--primary {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.page-home .join-card .btn--ghost {
  border-color: rgba(26, 26, 34, 0.3);
  color: var(--ink);
}

/* ---------- 断点 ---------- */
@media (min-width: 560px) {
  .page-home .metric-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

  .page-home .bento > .b-6 {
    grid-column: span 6;
  }

  .page-home .bento > .b-4 {
    grid-column: span 4;
  }

  .page-home .bento > .b-8 {
    grid-column: span 8;
  }

  .page-home .catalog-media {
    min-height: 320px;
  }
}

@media (min-width: 980px) {
  .page-home .home-stage {
    padding: clamp(28px, 3.4vw, 48px) 0 clamp(64px, 6vw, 96px);
  }

  .page-home .stage-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: clamp(18px, 2vw, 28px);
  }

  .page-home .stage-col--index {
    grid-column: span 4;
  }

  .page-home .stage-col--data {
    grid-column: span 5;
    padding-top: 32px;
  }

  .page-home .stage-col--brief {
    grid-column: span 3;
    padding-top: 66px;
  }

  .page-home .enter-bar {
    position: static;
    border-radius: var(--r-md);
  }

  .page-home h1 {
    font-size: clamp(38px, 3.4vw, 48px);
  }

  .page-home .stage-lede {
    font-size: 16.5px;
  }

  .page-home .round-node-body h3 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .tab,
  .page-home .enter-bar,
  .page-home .export-trigger {
    transition: none;
  }

  .page-home .enter-bar:active,
  .page-home .export-trigger:active {
    transform: none;
  }
}
