.page-home {
  background: var(--warm-paper);
  overflow-x: hidden;
}

/* ===== 首屏 ===== */
.page-home .home-hero {
  background: var(--navy);
  color: var(--warm-paper);
  position: relative;
  overflow: hidden;
  padding: 40px 0 64px;
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  background: conic-gradient(from 90deg, var(--violet), var(--signal-orange), transparent 70%);
  opacity: 0.2;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
  pointer-events: none;
}
.page-home .home-hero__grid {
  display: grid;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.page-home .home-hero .breadcrumb {
  margin-bottom: 24px;
  font-size: 13px;
}
.page-home .home-hero .breadcrumb a {
  color: var(--data-cyan);
  text-decoration: none;
}
.page-home .home-hero .breadcrumb span[aria-hidden="true"] {
  margin: 0 8px;
  color: rgba(245, 241, 232, 0.4);
}
.page-home .home-hero .section-label {
  color: var(--signal-orange);
}
.page-home .home-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 5.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
  max-width: 12em;
}
.page-home .home-hero__lead {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.88);
  max-width: 56ch;
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.page-home .home-hero__actions .btn--ghost {
  color: var(--warm-paper);
  border-color: rgba(245, 241, 232, 0.5);
}
.page-home .home-hero__actions .btn--ghost:hover {
  border-color: var(--signal-orange);
  color: var(--signal-orange);
}
.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(245, 241, 232, 0.18);
}
.page-home .home-stat {
  margin: 0;
}
.page-home .home-stat dt {
  font-size: 26px;
}
.page-home .home-stat dd {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(245, 241, 232, 0.65);
}
.page-home .home-hero__visual {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(245, 241, 232, 0.14);
  background: rgba(17, 34, 64, 0.6);
  overflow: hidden;
}
.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.page-home .home-heatmap {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}
.page-home .home-heatmap text {
  font-family: var(--font-body);
}

/* ===== 适配清单 ===== */
.page-home .home-adapt {
  background: var(--warm-paper);
  padding: 64px 0;
  position: relative;
}
.page-home .home-adapt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--signal-orange), var(--teal), var(--violet));
}
.page-home .home-adapt__inner {
  display: grid;
  gap: 44px;
}
.page-home .home-adapt h2,
.page-home .home-directory h2,
.page-home .home-latest h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
  margin: 12px 0 16px;
  color: var(--ink-navy);
}
.page-home .home-adapt__lead,
.page-home .home-directory__lead,
.page-home .home-shot__lead,
.page-home .home-record__lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 62ch;
}
.page-home .home-adapt__points {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.page-home .home-adapt__points li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: var(--ink-navy);
  border-bottom: 1px dashed var(--line-warm);
}
.page-home .home-adapt__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  background: var(--signal-orange);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.page-home .home-adapt__img {
  width: 100%;
  height: auto;
  max-width: 720px;
  margin-top: 8px;
  border: 1px solid var(--line-warm);
}
.page-home .home-adapt__check {
  background: var(--navy);
  color: var(--warm-paper);
  padding: 30px 22px;
  position: relative;
  overflow: hidden;
}
.page-home .home-adapt__check::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--violet), transparent 70%);
  opacity: 0.3;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}
.page-home .home-adapt__check h3 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: 18px;
  position: relative;
  z-index: 1;
}
.page-home .home-adapt__table {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(245, 241, 232, 0.16);
}
.page-home .home-adapt__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
  font-size: 13px;
}
.page-home .home-adapt__row:last-child {
  border-bottom: 0;
}
.page-home .home-adapt__row--head {
  display: none;
}
.page-home .home-adapt__row span[data-label]::before {
  content: attr(data-label);
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(245, 241, 232, 0.55);
  margin-bottom: 2px;
}
.page-home .home-adapt__note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(245, 241, 232, 0.6);
  position: relative;
  z-index: 1;
}

/* 环境切换模拟 */
.page-home .home-adapt__sim {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.page-home .home-adapt__sim-title {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: rgba(245, 241, 232, 0.85);
}
.page-home .home-adapt__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.page-home .home-adapt__sim-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.page-home .home-adapt__sim-label {
  padding: 6px 14px;
  border: 1px solid rgba(245, 241, 232, 0.3);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
}
.page-home .home-adapt__sim-label:hover {
  border-color: var(--signal-orange);
}
.page-home .home-adapt__sim-panel {
  display: none;
  padding: 12px 14px;
  background: rgba(17, 34, 64, 0.6);
  border-left: 3px solid var(--teal);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.85);
}
.page-home .home-adapt__sim-panel[data-panel="webview"] {
  border-left-color: var(--signal-orange);
}
.page-home .home-adapt__sim-panel p {
  margin: 0;
}
.page-home #env-standard:checked ~ .home-adapt__sim-controls label[for="env-standard"],
.page-home #env-webview:checked ~ .home-adapt__sim-controls label[for="env-webview"] {
  background: var(--signal-orange);
  border-color: var(--signal-orange);
  color: var(--warm-paper);
}
.page-home #env-standard:checked ~ .home-adapt__sim-panels [data-panel="standard"],
.page-home #env-webview:checked ~ .home-adapt__sim-panels [data-panel="webview"] {
  display: block;
}

/* ===== 赛制目录 ===== */
.page-home .home-directory {
  background: var(--warm-paper-deep);
  padding: 64px 0;
}
.page-home .home-directory .container {
  max-width: 920px;
}
.page-home .home-directory__lead {
  margin-bottom: 0;
}
.page-home .home-directory__list {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}
.page-home .home-directory__item {
  background: var(--warm-paper);
  border: 1px solid var(--line-warm);
  border-left: 4px solid var(--signal-orange);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.page-home .home-directory__item[open] {
  border-left-color: var(--teal);
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.08);
}
.page-home .home-directory__item summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}
.page-home .home-directory__item summary::-webkit-details-marker {
  display: none;
}
.page-home .home-directory__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-navy);
  flex: 1 1 140px;
}
.page-home .home-directory__count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
}
.page-home .home-directory__detail {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-muted);
  border-top: 1px dashed var(--line-warm);
}
.page-home .home-directory__detail p {
  margin: 14px 0;
}

/* ===== 射门统计面板 ===== */
.page-home .home-shot {
  background: var(--navy);
  color: var(--warm-paper);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.page-home .home-shot__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, transparent 55%, rgba(138, 43, 226, 0.14) 100%),
    radial-gradient(circle at 85% 20%, rgba(0, 201, 167, 0.12), transparent 45%);
  pointer-events: none;
}
.page-home .home-shot__inner {
  display: grid;
  gap: 44px;
  position: relative;
  z-index: 1;
}
.page-home .home-shot .section-label {
  color: var(--signal-orange);
}
.page-home .home-shot h2,
.page-home .home-record h2 {
  color: var(--warm-paper);
}
.page-home .home-shot__lead {
  color: rgba(245, 241, 232, 0.75);
}
.page-home .home-shot__dims {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.page-home .home-shot__dim {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(17, 34, 64, 0.7);
  border: 1px solid rgba(245, 241, 232, 0.12);
  font-size: 14px;
}
.page-home .home-shot__dim-name {
  font-family: var(--font-head);
  font-weight: 600;
}
.page-home .home-shot__chart {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.page-home .home-shot__chart svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}
.page-home .home-shot__chart text {
  font-family: var(--font-body);
}

/* ===== 周末观赛记录 ===== */
.page-home .home-record {
  background: var(--navy);
  color: var(--warm-paper);
  padding: 64px 0 80px;
  position: relative;
}
.page-home .home-record::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--signal-orange) 60%, transparent);
}
.page-home .home-record__inner {
  display: grid;
  gap: 40px;
}
.page-home .home-record .section-label {
  color: var(--signal-orange);
}
.page-home .home-record__lead {
  color: rgba(245, 241, 232, 0.75);
}
.page-home .home-record__steps {
  display: grid;
  gap: 16px;
}
.page-home .home-record__step {
  background: var(--navy-soft);
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-top: 3px solid var(--signal-orange);
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
}
.page-home .home-record__step:nth-child(2) {
  border-top-color: var(--teal);
}
.page-home .home-record__step:nth-child(3) {
  border-top-color: var(--violet);
}
.page-home .home-record__step-num {
  grid-row: span 2;
  font-size: 32px;
  color: var(--signal-orange);
  line-height: 1;
}
.page-home .home-record__step:nth-child(2) .home-record__step-num {
  color: var(--teal);
}
.page-home .home-record__step:nth-child(3) .home-record__step-num {
  color: var(--violet);
}
.page-home .home-record__step h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
}
.page-home .home-record__step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.7);
}

/* ===== 最新内容索引 ===== */
.page-home .home-latest {
  background: var(--warm-paper);
  padding: 72px 0 64px;
}
.page-home .home-latest__grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.page-home .home-latest__card {
  background: var(--warm-paper);
  border: 1px solid var(--line-warm);
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.page-home .home-latest__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 25, 47, 0.12);
  border-color: var(--signal-orange);
}
.page-home .home-latest__cover {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--line-warm);
}
.page-home .home-latest__cover--solid {
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--warm-paper);
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
  font-size: 14px;
  position: relative;
}
.page-home .home-latest__cover-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--signal-orange);
  border: 1px solid rgba(245, 241, 232, 0.2);
  padding: 3px 8px;
}
.page-home .home-latest__cover-note {
  font-size: 13px;
  color: rgba(245, 241, 232, 0.7);
}
.page-home .home-latest__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.page-home .home-latest__card h3 {
  margin: 16px 20px 8px;
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink-navy);
}
.page-home .home-latest__card p {
  margin: 0 20px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ===== 底部纹理 ===== */
.page-home .home-texture {
  background: var(--navy);
  overflow: hidden;
  line-height: 0;
}
.page-home .home-texture img {
  width: 100%;
  height: auto;
  min-height: 120px;
  object-fit: cover;
  opacity: 0.5;
}

/* ===== 桌面端 ===== */
@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 64px 0 80px;
  }
  .page-home .home-hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
    min-height: 620px;
  }
  .page-home .home-hero__lead {
    font-size: 17px;
  }
  .page-home .home-hero__stats {
    padding-top: 30px;
  }
  .page-home .home-stat dt {
    font-size: 36px;
  }
  .page-home .home-hero__visual {
    min-height: 520px;
  }

  .page-home .home-adapt {
    padding: 88px 0;
  }
  .page-home .home-adapt__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
  }
  .page-home .home-adapt__row {
    grid-template-columns: 1fr 110px 140px;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
  }
  .page-home .home-adapt__row--head {
    display: grid;
    grid-template-columns: 1fr 110px 140px;
    background: rgba(255, 107, 53, 0.15);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(245, 241, 232, 0.7);
  }
  .page-home .home-adapt__row span[data-label]::before {
    display: none;
  }
  .page-home .home-adapt__check {
    padding: 36px 30px;
  }

  .page-home .home-directory {
    padding: 88px 0;
  }
  .page-home .home-directory__list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .page-home .home-directory__item summary {
    padding: 20px 24px;
  }

  .page-home .home-shot {
    padding: 96px 0;
  }
  .page-home .home-shot__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
  }
  .page-home .home-shot__dims {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-record {
    padding: 80px 0 96px;
  }
  .page-home .home-record__inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
    align-items: center;
  }
  .page-home .home-record__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-left: -12px;
    margin-right: -12px;
  }
  .page-home .home-record__step {
    margin: 0 12px;
    height: 100%;
  }

  .page-home .home-latest {
    padding: 88px 0 80px;
  }
  .page-home .home-latest__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1100px) {
  .page-home .home-latest__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
