.page-home {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.page-home h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 10px 0 0;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
  margin: 0;
}

/* ---------- 首屏：主题声明 + 轮次索引 ---------- */
.page-home .board-hero {
  position: relative;
  padding: calc(var(--header-h) + 28px) 0 clamp(36px, 5vw, 64px);
  background:
    repeating-linear-gradient(90deg, rgba(213, 230, 224, 0.055) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, rgba(11, 38, 32, 0.55) 0%, var(--bg) 78%);
}

.page-home .board-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.page-home .board-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: rgba(100, 244, 210, 0.07);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .board-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 7.6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
}

.page-home .board-lede {
  max-width: 48ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.page-home .board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .board-meter {
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.page-home .board-meter__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.page-home .board-meter .axis,
.page-home .board-meter .tick {
  stroke: var(--line);
}

.page-home .board-meter .key {
  stroke: var(--orange);
}

.page-home .board-meter .key-label {
  fill: var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-home .board-meter__caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .round-rail {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.page-home .round-rail__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(0.65) contrast(1.1);
}

.page-home .round-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 38, 32, 0.5) 0%, rgba(7, 26, 23, 0.94) 62%);
  pointer-events: none;
}

.page-home .round-rail__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}

.page-home .round-rail__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .round-rail__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .round-rail__count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.page-home .round-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .round-item + .round-item {
  border-top: 1px solid var(--line-soft);
}

.page-home .round-item a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 8px;
  text-decoration: none;
  color: inherit;
  transition: background 180ms var(--ease);
}

.page-home .round-item a:hover,
.page-home .round-item a:focus-visible {
  background: rgba(100, 244, 210, 0.08);
}

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

.page-home .round-item__no {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.page-home .round-item__name {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.page-home .round-item--live .round-item__name {
  color: var(--text);
}

.page-home .round-rail__note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 通用切换控件 ---------- */
.page-home .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-home .tab {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 10px 18px;
  cursor: pointer;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .tab:hover {
  color: var(--text);
  border-color: var(--cyan);
}

.page-home .tab[aria-selected="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg);
}

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

/* ---------- 近期战绩 ---------- */
.page-home .form-band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 84px) 0;
}

.page-home .form-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.page-home .form-band__text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.page-home .form-band__figure {
  margin: 24px 0 0;
}

.page-home .form-band__figure img,
.page-home .dual__figure img,
.page-home .archive__aside img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.page-home .form-band__figure img,
.page-home .dual__figure img {
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-home .media-caption {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  font-family: var(--font-mono);
}

.page-home .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.page-home .form-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-home .form-table th,
.page-home .form-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

.page-home .form-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(100, 244, 210, 0.07);
}

.page-home .form-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .form-table tbody tr:hover {
  background: rgba(100, 244, 210, 0.05);
}

.page-home .form-table .num {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.03em;
}

.page-home .result {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
}

.page-home .result--win {
  color: var(--cyan);
}

.page-home .result--draw {
  color: var(--gold);
}

.page-home .result--loss {
  color: var(--muted);
}

.page-home .form-summary {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 双端分工 ---------- */
.page-home .dual {
  padding: clamp(44px, 6vw, 84px) 0;
}

.page-home .dual__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-home .dual__text {
  margin: 16px 0 22px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.page-home .dual__tabs {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.page-home .dual-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .dual-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.page-home .dual-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .dual-list__no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  padding-top: 4px;
}

.page-home .dual__link {
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-home .dual__link a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}

.page-home .dual__link a:hover,
.page-home .dual__link a:focus-visible {
  border-bottom-color: var(--cyan);
}

.page-home .dual__figure {
  margin: 0;
}

/* ---------- 第12轮时间轴 ---------- */
.page-home .round-archive {
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 88px) 0;
}

.page-home .archive__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.page-home .archive__text {
  margin: 16px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.page-home .archive__timeline {
  list-style: none;
  margin: 30px 0 0;
  padding: 0 0 0 20px;
  border-left: 1px solid var(--line);
}

.page-home .archive__timeline .timeline-item {
  position: relative;
  padding-bottom: 26px;
}

.page-home .archive__timeline .timeline-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .archive__timeline .timeline-item[data-state="live"]::before {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.18);
}

.page-home .ti-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .ti-round {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.page-home .ti-text {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .archive__more {
  margin-top: 8px;
}

.page-home .archive__aside {
  position: relative;
}

.page-home .archive__aside img {
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.page-home .archive__callout {
  margin-top: -34px;
  margin-left: clamp(0px, 3vw, 24px);
  position: relative;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(11, 38, 32, 0.94);
  box-shadow: var(--shadow);
}

.page-home .archive__callout p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 入口区 ---------- */
.page-home .entry {
  padding: clamp(44px, 6vw, 88px) 0 clamp(52px, 7vw, 96px);
}

.page-home .entry__text {
  margin: 16px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.page-home .entry__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.page-home .entry__stats .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-home .entry__stats .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
  color: var(--orange);
}

.page-home .entry__stats .stat-label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .entry__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.page-home .entry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

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

.page-home .entry-card__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .entry-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .entry-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .entry-card__go {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--orange);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-home .entry__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .page-home .board-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 4vw, 56px);
  }

  .page-home .form-band__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
  }

  .page-home .dual__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .archive__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .round-rail {
    position: sticky;
    top: calc(var(--header-h-scrolled) + 20px);
  }
}

@media (min-width: 1440px) {
  .page-home .board-lede {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
