.page-home {
  --home-hairline: rgba(11, 31, 25, 0.12);
  --home-hairline-dark: rgba(243, 237, 225, 0.16);
  --home-shadow: 0 26px 60px -34px rgba(11, 31, 25, 0.5);
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
}

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

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(120% 90% at 88% 2%, rgba(200, 164, 82, 0.2), transparent 58%),
    linear-gradient(165deg, var(--ink-deep) 0%, var(--ink-table) 62%, #0d2b22 100%);
  color: var(--paper);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  left: -14%;
  right: -10%;
  bottom: -26%;
  height: 68%;
  background: linear-gradient(118deg, rgba(46, 94, 126, 0.4), rgba(200, 164, 82, 0.12) 58%, transparent 82%);
  clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(243, 237, 225, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243, 237, 225, 0.07) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 80%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 80%);
  pointer-events: none;
}

.page-home .home-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-home .hero-context {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 clamp(1rem, 3vw, 1.75rem);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .hero-context::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(200, 164, 82, 0.55), transparent);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.page-home .hero-copy h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.6vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 20ch;
}

.page-home .hero-copy .lede {
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  max-width: 48ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.85;
  color: rgba(243, 237, 225, 0.82);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .hero-media {
  position: relative;
  margin: 0;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 8% 100%);
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.48));
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

/* ---------- 查证面板 ---------- */

.page-home .lookup {
  margin-top: clamp(2rem, 5vw, 3.25rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid var(--home-hairline-dark);
  border-radius: 6px;
  background: rgba(243, 237, 225, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-home .lookup-title {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-home .lookup-cells {
  display: grid;
  grid-template-columns: 1fr;
}

.page-home .lookup-cell {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-top: 1px solid var(--home-hairline-dark);
}

.page-home .lookup-cell:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .lookup-key {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--blue-soft);
}

.page-home .lookup-val {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(243, 237, 225, 0.8);
}

.page-home .lookup-media {
  margin: 0;
}

.page-home .lookup-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.88);
}

/* ---------- 赛季轴 ---------- */

.page-home .season-axis {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: clamp(1rem, 3vw, 1.5rem);
  border-top: 1px solid var(--home-hairline-dark);
}

.page-home .axis-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.page-home .axis-title {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-home .axis-note {
  font-size: 0.8125rem;
  color: rgba(243, 237, 225, 0.58);
}

.page-home .season-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.page-home .season-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 1rem 0.85rem 1.05rem;
  border-left: 2px solid var(--blue-soft);
  border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, rgba(243, 237, 225, 0.07), transparent 78%);
}

.page-home .season-item.is-active {
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(200, 164, 82, 0.2), transparent 78%);
}

.page-home .si-code {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .si-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--paper);
}

.page-home .si-state {
  font-size: 0.8125rem;
  color: rgba(243, 237, 225, 0.6);
}

/* ---------- 通用区块 ---------- */

.page-home .section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.page-home .section-head {
  max-width: 64ch;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.page-home .section-title {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.2;
  color: var(--ink-deep);
}

.page-home .section-note {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding-bottom: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .scope .arrow-link,
.page-home .trace-note .arrow-link {
  color: var(--blue);
}

.page-home .scope .arrow-link:hover,
.page-home .trace-note .arrow-link:hover {
  color: var(--cinnabar);
}

.page-home .lookup .arrow-link:hover {
  color: var(--paper);
}

/* ---------- 四类信息目录 ---------- */

.page-home .scope {
  background: var(--paper);
}

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

.page-home .catalog-item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.55rem 1rem;
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-top: 1px solid var(--home-hairline);
}

.page-home .catalog-item:last-child {
  border-bottom: 1px solid var(--home-hairline);
}

.page-home .cat-idx {
  grid-column: 1;
  padding-top: 0.3rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--cinnabar);
}

.page-home .cat-main,
.page-home .cat-detail {
  grid-column: 2;
}

.page-home .cat-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--ink-deep);
}

.page-home .cat-lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .cat-detail p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 归档概览 ---------- */

.page-home .coverage {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}

.page-home .coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.page-home .console {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: linear-gradient(150deg, var(--ink-deep), var(--ink-table));
  color: var(--paper);
}

.page-home .console::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(243, 237, 225, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243, 237, 225, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-home .console > * {
  position: relative;
}

.page-home .console-head {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

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

.page-home .season-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--home-hairline-dark);
}

.page-home .sr-code {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .sr-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--paper);
}

.page-home .sr-state {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(243, 237, 225, 0.86);
}

.page-home .sr-detail {
  width: 100%;
  padding-left: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(243, 237, 225, 0.5);
}

.page-home .dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--blue-soft);
}

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

.page-home .coverage-media {
  margin: 0;
}

.page-home .coverage-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

.page-home .figure-row {
  list-style: none;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--home-hairline);
  border: 1px solid var(--home-hairline);
  border-radius: 4px;
  overflow: hidden;
}

.page-home .figure-row li {
  display: grid;
  gap: 0.25rem;
  padding: clamp(1rem, 2.6vw, 1.5rem);
  background: var(--white);
}

.page-home .figure-num {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-table);
}

.page-home .figure-label {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---------- 判罚回溯 ---------- */

.page-home .trace {
  background: var(--paper);
}

.page-home .trace-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

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

.page-home .trace-steps li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.3rem 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--home-hairline);
}

.page-home .trace-steps li:last-child {
  border-bottom: 1px solid var(--home-hairline);
}

.page-home .step-idx {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 0.15rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--cinnabar);
}

.page-home .trace-steps h3 {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-deep);
}

.page-home .trace-steps p {
  grid-column: 2;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .trace-aside {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.page-home .trace-media {
  margin: 0;
}

.page-home .trace-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

.page-home .trace-note {
  padding: clamp(1rem, 2.6vw, 1.35rem);
  border-radius: 4px;
  border: 1px solid var(--home-hairline);
}

.page-home .trace-note p {
  margin: 0 0 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .trace-accordion {
  margin-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--home-hairline);
}

.page-home .acc-item {
  border-bottom: 1px solid var(--home-hairline);
}

.page-home .acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink-deep);
}

.page-home .acc-panel-inner {
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .acc-panel-inner p {
  margin: 0;
}

/* ---------- 联系核对 ---------- */

.page-home .contact-entry {
  background: var(--paper-warm);
}

.page-home .cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border-radius: 6px;
  padding: clamp(1.75rem, 5vw, 3rem);
  background: linear-gradient(150deg, var(--ink-deep), var(--ink-table) 68%, #103028);
  color: var(--paper);
}

.page-home .cta-band::after {
  content: "";
  position: absolute;
  top: -45%;
  right: -12%;
  width: 46%;
  height: 190%;
  background: linear-gradient(120deg, rgba(179, 58, 43, 0.38), transparent 72%);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .cta-copy,
.page-home .cta-actions {
  position: relative;
}

.page-home .cta-copy h2 {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  line-height: 1.25;
  color: var(--paper);
}

.page-home .cta-copy p {
  margin: 0;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(243, 237, 225, 0.8);
}

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

.page-home .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: start;
}

.page-home .extend-links {
  list-style: none;
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--home-hairline);
  border: 1px solid var(--home-hairline);
  border-radius: 4px;
  overflow: hidden;
}

.page-home .extend-links a {
  display: block;
  padding: 1rem 1.15rem;
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--blue);
  text-decoration: none;
  line-height: 1.7;
}

.page-home .extend-links a:hover {
  background: var(--paper);
  color: var(--cinnabar);
}

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

@media (min-width: 640px) {
  .page-home .season-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-home .lookup-cell {
    border-top: 1px solid var(--home-hairline-dark);
    padding-top: 1rem;
  }

  .page-home .lookup-cell:first-child {
    border-top: 1px solid var(--home-hairline-dark);
    padding-top: 1rem;
  }
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .lookup {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .lookup-title {
    grid-column: 1 / -1;
  }

  .page-home .lookup-cells {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-home .lookup-cell {
    border-top: 1px solid var(--home-hairline-dark);
    padding: 1rem 0;
  }

  .page-home .lookup-cell:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .page-home .catalog-item {
    grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr);
    gap: 0 1.75rem;
    align-items: start;
  }

  .page-home .cat-idx {
    padding-top: 0.4rem;
  }

  .page-home .cat-main {
    grid-column: 2;
  }

  .page-home .cat-detail {
    grid-column: 3;
  }

  .page-home .cta-band {
    grid-template-columns: minmax(0, 1.7fr) auto;
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .page-home .coverage-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .page-home .trace-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }

  .page-home .season-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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