.page-home {
  --home-line: rgba(23, 43, 61, 0.62);
  --home-soft: rgba(12, 25, 38, 0.86);
  --home-cyan-soft: rgba(55, 245, 212, 0.12);
  --home-amber-soft: rgba(255, 179, 71, 0.14);
}

.page-home .hero {
  padding-block: clamp(18px, 4vw, 46px);
}

/* ---------- 框景首屏 ---------- */
.page-home .hero-frame {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3.6vw, 46px) clamp(16px, 3.2vw, 40px) clamp(22px, 3.8vw, 44px);
  border: 1px solid var(--steel);
  border-radius: var(--radius-l);
  background:
    radial-gradient(88% 72% at 86% -6%, var(--home-cyan-soft), transparent 62%),
    radial-gradient(70% 60% at 4% 106%, var(--home-amber-soft), transparent 60%),
    repeating-linear-gradient(90deg, var(--home-line) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(0deg, var(--home-line) 0 1px, transparent 1px 104px),
    linear-gradient(168deg, #0a1725 0%, #050b12 72%);
}

.page-home .hero-frame::before,
.page-home .hero-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.page-home .hero-frame::before {
  top: 12px;
  left: 12px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.page-home .hero-frame::after {
  right: 12px;
  bottom: 12px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
}

.page-home .hero-ticks {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 9px;
  background: repeating-linear-gradient(90deg, var(--steel) 0 1px, transparent 1px 13px);
  opacity: 0.85;
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(22px, 3.2vw, 38px);
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  z-index: 1;
}

.page-home .hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(16px, 2vw, 24px);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--mist);
}

.page-home .hero-title {
  margin: 0 0 clamp(14px, 1.8vw, 22px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 11vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.018em;
  color: var(--paper);
}

.page-home .hero-title em {
  font-style: normal;
  color: var(--cyan);
}

.page-home .hero-lead {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.82;
  color: var(--mist);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 2.6vw, 28px);
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: clamp(14px, 2vw, 20px) 0 0;
  list-style: none;
  border-top: 1px solid var(--steel);
}

.page-home .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1;
  color: var(--amber);
  letter-spacing: 0.01em;
}

.page-home .stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--mist);
}

/* ---------- 赛程看板 ---------- */
.page-home .board {
  border: 1px solid var(--steel);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, #0d1c29 0%, #08121c 100%);
  box-shadow: 12px 12px 0 -4px rgba(23, 43, 61, 0.5);
  overflow: hidden;
}

.page-home .board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
}

.page-home .board-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .board-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .board-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.16);
}

.page-home .board-visual {
  margin: 12px 16px 4px;
  aspect-ratio: 16 / 8;
  border: 1px solid var(--steel);
  border-radius: var(--radius-s);
}

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

.page-home .board-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 0;
}

.page-home .board-filters .filter-btn {
  font-size: 12px;
  padding: 5px 12px;
}

.page-home .board-filters .filter-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.04em;
}

.page-home .board-filters .filter-reset {
  font-family: var(--font-mono);
  font-size: 11px;
}

.page-home .fixture-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 16px;
  display: grid;
  gap: 8px;
}

.page-home .fixture {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 10px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 43, 61, 0.95);
  border-radius: var(--radius-s);
  background: rgba(5, 11, 18, 0.55);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.page-home .fixture:hover,
.page-home .fixture:focus-within {
  border-color: rgba(55, 245, 212, 0.42);
  background: rgba(12, 25, 38, 0.92);
}

.page-home .fixture-stage {
  flex: none;
  padding: 2px 8px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  border: 1px solid rgba(55, 245, 212, 0.45);
  border-radius: var(--cap);
}

.page-home .fixture-body {
  flex: 1 1 150px;
  min-width: 0;
}

.page-home .fixture-body h3 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .fixture-body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .fixture-heat {
  flex: none;
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--amber);
  align-self: center;
}

.page-home .board-empty {
  margin: 10px 16px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .board-foot {
  margin: 12px 16px 16px;
  padding-top: 10px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
  border-top: 1px dashed rgba(23, 43, 61, 0.95);
}

/* ---------- 通用章节头 ---------- */
.page-home .section-head {
  max-width: 62ch;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .section-head h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(27px, 4.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .section-head .lead {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 入口矩阵 ---------- */
.page-home .entries-visual {
  margin: 0 0 clamp(20px, 3vw, 32px);
  border: 1px solid var(--steel);
  border-radius: var(--radius-l);
}

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

.page-home .entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.page-home .entry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--steel);
  border-radius: var(--radius-l);
  background: linear-gradient(172deg, #0c1926 0%, #08131e 100%);
  box-shadow: 10px 10px 0 -3px rgba(23, 43, 61, 0.42);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(55, 245, 212, 0.55);
  box-shadow: 14px 14px 0 -3px rgba(15, 175, 155, 0.28);
}

.page-home .entry-card .paper-tag {
  align-self: flex-start;
}

.page-home .entry-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .entry-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .entry-link {
  margin-top: auto;
  padding-top: 6px;
  align-self: flex-start;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .entry-link::after {
  content: " →";
}

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

/* ---------- 看点分层 ---------- */
.page-home .layers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}

.page-home .layer-card {
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid var(--steel);
  border-radius: var(--radius-l);
  background: var(--panel);
}

.page-home .layer-b {
  background: linear-gradient(204deg, #0e1e2c 0%, #08131e 100%);
}

.page-home .layer-card figure {
  margin: 0 0 16px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-s);
  aspect-ratio: 4 / 3;
}

.page-home .layer-b figure {
  aspect-ratio: 12 / 5;
}

.page-home .layer-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .layer-card h3 {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.14;
  color: var(--paper);
}

.page-home .layer-card p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--mist);
}

.page-home .layer-link {
  display: inline-block;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(55, 245, 212, 0.35);
  padding-bottom: 2px;
}

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

.page-home .layer-link-amber {
  color: var(--amber);
  border-bottom-color: rgba(255, 179, 71, 0.42);
}

.page-home .layer-link-amber:hover,
.page-home .layer-link-amber:focus-visible {
  border-bottom-color: var(--amber);
}

.page-home .timeline {
  list-style: none;
  margin: clamp(24px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--steel);
}

.page-home .timeline li {
  padding: 14px 0 14px;
  border-bottom: 1px solid var(--steel);
}

.page-home .tl-year {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  color: var(--amber);
}

.page-home .tl-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .tl-current .tl-year {
  color: var(--cyan);
}

/* ---------- 更新与纠错 ---------- */
.page-home .update-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}

.page-home .update-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--steel);
}

.page-home .update-item {
  padding: clamp(14px, 2vw, 22px);
  background: var(--panel);
}

.page-home .update-item p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .update-item .stat-num {
  font-size: clamp(19px, 2.6vw, 26px);
}

.page-home .fix-card {
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid rgba(255, 179, 71, 0.42);
  border-radius: var(--radius-l);
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(255, 179, 71, 0.12), transparent 68%),
    linear-gradient(180deg, #0d1c29 0%, #08131e 100%);
}

.page-home .fix-card h3 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--paper);
}

.page-home .fix-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .trust-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: clamp(18px, 2.8vw, 30px);
}

.page-home .trust-card {
  padding: 16px 18px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-s);
  background: rgba(12, 25, 38, 0.62);
}

.page-home .trust-card h3 {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .trust-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .cta-band {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: clamp(22px, 3.4vw, 40px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--steel);
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 140% at 100% 0%, var(--home-cyan-soft), transparent 62%),
    linear-gradient(160deg, #0c1926 0%, #050b18 100%);
}

.page-home .cta-band p {
  margin: 0;
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

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

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

  .page-home .entry-card:nth-child(even) {
    margin-top: 26px;
  }

  .page-home .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 14px;
    border-top: none;
  }

  .page-home .timeline li {
    border-top: 2px solid var(--steel);
    border-bottom: none;
    padding: 14px 0 0;
  }

  .page-home .tl-current {
    border-top-color: var(--cyan) !important;
  }

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

  .page-home .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 980px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: start;
  }

  .page-home .board {
    margin-top: 6px;
  }

  .page-home .layers-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .page-home .layer-b {
    margin-top: clamp(24px, 4vw, 54px);
  }

  .page-home .update-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .fixture {
    transition: none;
  }

  .page-home .entry-card:hover,
  .page-home .entry-card:focus-within {
    transform: none;
  }
}
