.page-home {
  --home-rule: 1px solid var(--line);
  --home-block: clamp(52px, 7vw, 104px);
  background: var(--ink-900);
  color: var(--text);
  overflow-x: clip;
}

.page-home h1,
.page-home .section-title,
.page-home .collage-title,
.page-home .chain-step-title {
  font-family: var(--font-display);
  color: var(--text);
}

/* ============ 首屏 ============ */
.page-home .hero {
  position: relative;
  isolation: isolate;
  border-bottom: var(--home-rule);
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.72) contrast(1.05);
}

.page-home .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 26, 22, 0.6) 0%, rgba(7, 26, 22, 0.9) 56%, var(--ink-900) 100%),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(31, 74, 63, 0.34) 95px 96px);
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(36px, 6vw, 86px) clamp(30px, 4vw, 58px);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.6vw, 46px);
}

@media (min-width: 920px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(188px, 232px) minmax(0, 1fr);
    align-items: start;
  }
}

.page-home .hero-rail {
  align-self: start;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

@media (min-width: 920px) {
  .page-home .hero-rail {
    position: sticky;
    top: 112px;
  }
}

.page-home .hero-rail-index {
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .rail-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(10, 33, 28, 0.86);
  font-size: 13px;
  transition: background 0.3s var(--ease);
}

.page-home .rail-item:hover {
  background: var(--ink-700);
}

.page-home .rail-item--focus {
  background: rgba(20, 56, 47, 0.92);
}

.page-home .rail-day {
  font-weight: 500;
  color: var(--text);
}

.page-home .rail-item--focus .rail-day {
  color: var(--orange);
}

.page-home .rail-count {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text-muted);
}

.page-home .rail-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-faint);
}

.page-home .hero-context {
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--cyan-dim);
}

.page-home h1 {
  margin: 0;
  font-weight: 200;
  font-size: clamp(33px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.page-home .hero-lead {
  margin: 22px 0 0;
  max-width: 64ch;
  font-size: clamp(14.5px, 1.1vw, 16px);
  line-height: 1.85;
  color: var(--text-muted);
}

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

/* ---- 横向比分带 ---- */
.page-home .score-rail {
  position: relative;
  z-index: 2;
  border-top: var(--home-rule);
  background: linear-gradient(180deg, rgba(14, 42, 35, 0.94), rgba(7, 26, 22, 0.98));
}

.page-home .score-rail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-block: 15px 0;
}

.page-home .score-rail-title {
  margin: 0;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .score-rail-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-faint);
}

.page-home .score-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-block: 12px 0;
}

@media (min-width: 880px) {
  .page-home .score-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }
}

.page-home .score-item {
  position: relative;
  scroll-snap-align: start;
  padding: 18px clamp(14px, 2vw, 24px) 20px;
  border-top: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

@media (min-width: 880px) {
  .page-home .score-item {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .page-home .score-item:first-child {
    border-left: 0;
  }
}

.page-home .score-item:hover,
.page-home .score-item:focus-within {
  background: var(--ink-700);
}

.page-home .score-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.page-home .score-item:hover::after,
.page-home .score-item:focus-within::after {
  transform: scaleX(1);
}

.page-home .score-item--focus::after {
  transform: scaleX(1);
  background: var(--orange);
}

.page-home .score-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--text-faint);
}

.page-home .score-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 500;
  color: var(--text);
}

.page-home .score-num {
  font-family: var(--font-data);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-home .score-sep {
  color: var(--text-faint);
  font-weight: 400;
}

.page-home .score-detail {
  margin: 0;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text-muted);
}

/* ============ 拼贴入口 ============ */
.page-home .collage-section,
.page-home .chain-section,
.page-home .local-section,
.page-home .trust-section {
  padding-block: var(--home-block);
}

.page-home .collage-section,
.page-home .chain-section,
.page-home .local-section {
  border-bottom: var(--home-rule);
}

.page-home .collage {
  display: grid;
  gap: 1px;
  margin-top: clamp(28px, 4vw, 52px);
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .page-home .collage {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
  }

  .page-home .collage-card--wide {
    grid-column: 1;
    grid-row: 1 / 3;
  }
}

.page-home .collage-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
  background: var(--ink-850);
  transition: background 0.3s var(--ease);
}

.page-home .collage-card:hover,
.page-home .collage-card:focus-within {
  background: var(--ink-800);
}

.page-home .collage-card .media-frame {
  margin: 0 0 2px;
}

.page-home .collage-index {
  margin: 0;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .collage-title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.28;
}

.page-home .collage-card--wide .collage-title {
  font-weight: 200;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.18;
}

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

.page-home .collage-stats {
  display: grid;
  gap: 14px;
  margin: 4px 0 0;
  padding-top: 18px;
  border-top: var(--home-rule);
}

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

.page-home .collage-stats > div {
  display: grid;
  gap: 6px;
}

.page-home .collage-stats dt {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.page-home .collage-stats dd {
  margin: 0;
  font-family: var(--font-data);
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--cyan);
}

.page-home .collage-list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .collage-list li {
  position: relative;
  padding-left: 18px;
}

.page-home .collage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--cyan-dim);
}

.page-home .collage-card .accordion {
  margin-top: auto;
  border-top: var(--home-rule);
  padding-top: 14px;
}

/* ============ 动作链 ============ */
.page-home .chain-section {
  background: linear-gradient(180deg, var(--ink-900), var(--ink-850) 45%, var(--ink-900));
}

.page-home .chain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
}

@media (min-width: 900px) {
  .page-home .chain-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    align-items: start;
  }
}

.page-home .chain-list {
  list-style: none;
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: var(--home-rule);
}

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

.page-home .chain-step {
  display: grid;
  gap: 8px;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--ink-900);
  transition: background 0.3s var(--ease);
}

.page-home .chain-step:hover,
.page-home .chain-step:focus-within {
  background: var(--ink-800);
}

.page-home .chain-num {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  transition: color 0.3s var(--ease);
}

.page-home .chain-step:hover .chain-num {
  color: var(--orange);
}

.page-home .chain-step-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.2;
}

.page-home .chain-step-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
}

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

.page-home .chain-figure figcaption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-faint);
}

/* ============ 辽宁本地 ============ */
.page-home .local-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

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

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

.page-home .local-figure figcaption {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-faint);
}

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

.page-home .local-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: var(--home-rule);
}

.page-home .local-list li {
  position: relative;
  padding: 12px 14px 12px 26px;
  background: var(--ink-850);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .local-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 1.35em;
  width: 6px;
  height: 6px;
  background: var(--cyan);
}

.page-home .local-link {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-dim);
  padding-bottom: 3px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .local-link:hover,
.page-home .local-link:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

/* ============ 官方入口与客服 ============ */
.page-home .trust-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 44px);
  padding: clamp(24px, 3.6vw, 48px);
  background: var(--ink-850);
  border: 1px solid var(--line);
}

@media (min-width: 860px) {
  .page-home .trust-panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }
}

.page-home .trust-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(31, 74, 63, 0.3) 119px 120px);
}

.page-home .trust-copy,
.page-home .trust-support {
  position: relative;
  z-index: 1;
}

.page-home .trust-copy .section-title {
  margin-bottom: 0;
}

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

.page-home .trust-support-title {
  margin: 0 0 16px;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .trust-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .trust-contact {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: var(--ink-800);
  transition: background 0.3s var(--ease);
}

.page-home .trust-contact:hover {
  background: var(--ink-700);
}

.page-home .trust-key {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

.page-home .trust-value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}

.page-home .trust-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-muted);
}

.page-home .trust-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-dim);
}

.page-home .trust-note a:hover,
.page-home .trust-note a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

/* ============ 通用收尾 ============ */
.page-home .section-title {
  margin: 0;
  font-weight: 200;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.16;
}

.page-home .section-title strong {
  font-weight: 700;
  color: var(--cyan);
}

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