.page-home {
  --home-gold: #C9A227;
  --home-deep: #006633;
  --home-gradient: linear-gradient(135deg, #00843D 0%, #C9A227 100%);
  overflow-x: hidden;
  background: var(--c-bg);
}

/* ---------- 01 首屏 · 框景 ---------- */
.page-home .home-hero {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: var(--space-3) 0 var(--space-5);
  position: relative;
  overflow: hidden;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-home .hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-top: var(--space-2);
}
.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding-bottom: var(--space-3);
}
.page-home .breadcrumbs {
  color: rgba(255,255,255,.7);
}
.page-home .breadcrumbs a {
  color: rgba(255,255,255,.72);
}
.page-home .breadcrumb-current {
  color: var(--home-gold);
}
.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--home-gold);
  margin: 0;
}
.page-home .hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-brand);
  animation: home-pulse 1.6s ease-in-out infinite;
}
.page-home .hero-headline h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  transform: skewX(var(--skew));
  margin: 0 0 var(--space-3);
  color: var(--c-paper);
}
.page-home .hero-lead {
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.82);
  margin: 0 0 var(--space-4);
}
.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.page-home .home-hero .btn--ghost {
  border-color: rgba(255,255,255,.55);
  color: var(--c-paper);
}
.page-home .home-hero .btn--ghost:hover {
  border-color: var(--c-brand);
  color: var(--c-paper);
}
.page-home .hero-framed {
  position: relative;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.04);
  padding: var(--space-2);
}
.page-home .hero-frame-scale {
  position: absolute;
  top: var(--space-2);
  bottom: var(--space-2);
  left: -12px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--c-brand) 0 6px, transparent 6px 12px);
  opacity: .8;
}
.page-home .hero-frame-inner {
  position: relative;
  overflow: hidden;
  background: var(--c-ink);
  border: 1px solid rgba(255,255,255,.18);
}
.page-home .hero-frame-inner::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 44px;
  height: 44px;
  border-right: 4px solid var(--c-brand);
  border-bottom: 4px solid var(--c-brand);
  pointer-events: none;
  z-index: 3;
}
.page-home .hero-frame-inner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.page-home .hero-score-panel {
  position: absolute;
  left: var(--space-2);
  right: var(--space-2);
  bottom: var(--space-2);
  background: rgba(255,255,255,.94);
  color: var(--c-ink);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--c-line);
  z-index: 2;
}
.page-home .hero-score-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: .8125rem;
}
.page-home .hero-score-league {
  color: var(--c-muted);
}
.page-home .hero-score-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-2);
}
.page-home .hero-club {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-home .hero-club strong {
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
}
.page-home .hero-club span {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--c-muted);
}
.page-home .hero-club:last-child {
  text-align: right;
}
.page-home .hero-score-num {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 1.9rem;
  line-height: 1;
}
.page-home .hero-score-num .data-score {
  font-size: 2rem;
  color: var(--c-ink);
}
.page-home .hero-score-colon {
  color: var(--c-brand);
  font-family: var(--font-mono);
}
.page-home .hero-score-foot {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: .8125rem;
  margin-top: var(--space-2);
}
.page-home .hero-frame-note {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  justify-content: space-between;
  padding: var(--space-2) var(--space-1) 0;
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
}

/* ---------- 02 实时比分概览 ---------- */
.page-home .home-scores {
  background: var(--c-paper);
  border-top: 2px solid var(--c-ink);
  position: relative;
  overflow: hidden;
  padding: var(--space-5) 0;
}
.page-home .home-scores-inner {
  position: relative;
  z-index: 1;
}
.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
  border-bottom: 2px solid var(--c-ink);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
}
.page-home .scores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.page-home .score-card {
  position: relative;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.page-home .score-card::before,
.page-home .score-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--c-brand);
  border-style: solid;
}
.page-home .score-card::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.page-home .score-card::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}
.page-home .score-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.page-home .score-league {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--c-muted);
}
.page-home .score-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.page-home .score-club {
  display: flex;
  flex-direction: column;
}
.page-home .score-club:last-child {
  text-align: right;
}
.page-home .club-name {
  font-weight: 700;
  font-size: 1rem;
}
.page-home .club-short {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--c-muted);
}
.page-home .score-num {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.page-home .score-num .data-score {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--c-ink);
}
.page-home .score-colon {
  color: var(--c-brand);
  font-family: var(--font-mono);
  font-size: 1rem;
}
.page-home .score-foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  border-top: 1px solid var(--c-line);
  padding-top: var(--space-2);
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: .8125rem;
}
.page-home .scores-tip {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: .875rem;
  color: var(--c-muted);
  border-left: 3px solid var(--c-brand);
  padding-left: var(--space-2);
}
.page-home .scores-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  z-index: 0;
  opacity: .66;
  overflow: hidden;
}
.page-home .scores-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--c-paper) 4%, transparent);
}
.page-home .scores-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 03 旧版资料入口 ---------- */
.page-home .home-legacy {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  padding: var(--space-5) 0;
}
.page-home .legacy-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.page-home .legacy-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--home-gradient);
}
.page-home .legacy-copy p {
  line-height: 1.8;
  margin: 0 0 var(--space-3);
}
.page-home .legacy-copy .btn {
  margin-right: var(--space-2);
}
.page-home .legacy-route-title {
  font-size: 1rem;
  margin: 0 0 var(--space-2);
  font-family: var(--font-mono);
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.page-home .legacy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .legacy-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-2);
  align-items: baseline;
  padding: var(--space-2) 0;
  border-top: 1px solid var(--c-line);
}
.page-home .legacy-steps li:last-child {
  border-bottom: 1px solid var(--c-line);
}
.page-home .legacy-steps li span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--c-brand);
}

/* ---------- 04 功能亮点 ---------- */
.page-home .home-features {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  padding: var(--space-5) 0;
  position: relative;
  overflow: hidden;
}
.page-home .home-features::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 100% 0, var(--c-brand-light), transparent 70%);
  pointer-events: none;
}
.page-home .features-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}
.page-home .features-list {
  display: grid;
  gap: 0;
}
.page-home .feature-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-2) var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--c-line);
}
.page-home .feature-item:first-child {
  border-top: 1px solid var(--c-line);
}
.page-home .feature-index {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-brand);
}
.page-home .feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 var(--space-1);
}
.page-home .feature-content p {
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0;
}
.page-home .features-visual {
  margin: 0;
  background: var(--c-ink);
  border: 1px solid var(--c-ink);
  overflow: hidden;
}
.page-home .features-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 2 / 3;
  filter: saturate(.85) contrast(1.05);
}
.page-home .features-visual figcaption {
  padding: var(--space-2) var(--space-3);
  background: var(--c-ink);
  color: rgba(255,255,255,.75);
  font-family: var(--font-mono);
  font-size: .8125rem;
}
.page-home .features-quote {
  margin: 0;
  padding: var(--space-3);
  border-left: 4px solid var(--c-brand);
  background: var(--c-bg);
  color: var(--c-text);
}
.page-home .features-quote p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 var(--space-1);
}
.page-home .features-quote footer {
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: .8125rem;
}

/* ---------- 05 最新战报摘要 ---------- */
.page-home .home-reports {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  padding: var(--space-5) 0;
}
.page-home .reports-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.page-home .report-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.page-home .report-card--featured {
  display: grid;
  grid-template-columns: 1fr;
}
.page-home .report-media {
  position: relative;
  overflow: hidden;
}
.page-home .report-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  display: block;
}
.page-home .report-content {
  padding: var(--space-3);
}
.page-home .report-kicker {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-2);
}
.page-home .report-cat {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--c-muted);
}
.page-home .report-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 0 0 var(--space-2);
}
.page-home .report-excerpt {
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0 0 var(--space-3);
}
.page-home .report-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  padding: var(--space-2);
  background: var(--c-brand-light);
}
.page-home .report-stat-grid--two {
  grid-template-columns: repeat(2, 1fr);
}
.page-home .report-stat-grid div {
  display: flex;
  flex-direction: column;
}
.page-home .report-stat-grid dt {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--c-muted);
}
.page-home .report-stat-grid dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-ink);
}
.page-home .report-bar {
  display: flex;
  gap: 4px;
  height: 8px;
  background: var(--c-line);
  overflow: hidden;
  margin-bottom: var(--space-3);
}
.page-home .report-bar .bar {
  display: block;
  height: 8px;
}
.page-home .bar--62 {
  width: 62%;
}
.page-home .bar--38 {
  width: 38%;
}
.page-home .report-bars-mini {
  display: flex;
  gap: 4px;
  height: 6px;
  margin-bottom: var(--space-3);
}
.page-home .bar-mini {
  display: block;
  height: 6px;
}
.page-home .bar-mini--home {
  background: var(--c-brand);
}
.page-home .bar-mini--away {
  background: var(--home-gold);
}
.page-home .bar-mini--55 {
  width: 55%;
}
.page-home .bar-mini--45 {
  width: 45%;
}
.page-home .report-link {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-brand);
  text-decoration: none;
  border-bottom: 2px solid var(--c-brand-light);
  transition: border-color .2s;
}
.page-home .report-link:hover {
  border-bottom-color: var(--c-brand);
}

/* ---------- 06 账号体系 ---------- */
.page-home .home-account {
  background: linear-gradient(135deg, #006633 0%, #00843D 52%, #0A6B45 100%);
  color: var(--c-paper);
  padding: var(--space-5) 0;
  border-top: 2px solid var(--c-ink);
}
.page-home .section-head--light {
  border-bottom-color: rgba(255,255,255,.4);
}
.page-home .section-head--light .chapter-index {
  color: var(--home-gold);
}
.page-home .section-head--light .chapter-title {
  color: var(--c-paper);
}
.page-home .section-head--light .chapter-note {
  color: rgba(255,255,255,.75);
}
.page-home .account-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.page-home .account-stat {
  border: 1px solid rgba(255,255,255,.4);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: rgba(255,255,255,.08);
}
.page-home .account-stat-value {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fff;
}
.page-home .account-stat-label {
  font-family: var(--font-mono);
  font-size: .9375rem;
  color: rgba(255,255,255,.8);
  margin-top: var(--space-2);
}
.page-home .account-body p {
  font-size: 1.125rem;
  line-height: 1.85;
  margin: 0 0 var(--space-3);
}
.page-home .account-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.page-home .home-account .btn--primary {
  box-shadow: inset 0 0 0 2px var(--c-paper);
}
.page-home .home-account .btn--ghost {
  border-color: rgba(255,255,255,.7);
  color: var(--c-paper);
}
.page-home .home-account .btn--ghost:hover {
  border-color: var(--c-brand-light);
}

/* ---------- 动效与桌面布局 ---------- */
.page-home .badge--live {
  animation: home-live-blink 1.6s ease-in-out infinite;
}
@keyframes home-live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .62; }
}
@keyframes home-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,132,61,.65); }
  70% { box-shadow: 0 0 0 8px rgba(0,132,61,0); }
}

@media (min-width: 900px) {
  .page-home .hero-shell {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--space-5);
    align-items: end;
    padding-top: var(--space-4);
  }
  .page-home .hero-meta {
    grid-column: 1 / -1;
  }
  .page-home .hero-headline {
    grid-column: 1;
  }
  .page-home .hero-framed {
    grid-column: 2;
    grid-row: 2;
  }
  .page-home .hero-headline h1 {
    margin-bottom: var(--space-4);
  }

  .page-home .scores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .score-card--featured {
    grid-column: 1 / -1;
  }
  .page-home .score-card--featured .score-main {
    justify-items: center;
  }
  .page-home .score-card--featured .score-num .data-score {
    font-size: 2.4rem;
  }

  .page-home .legacy-panel {
    grid-template-columns: 1.2fr .8fr;
    gap: var(--space-5);
  }

  .page-home .features-layout {
    grid-template-columns: 1.4fr .6fr .5fr;
    align-items: start;
  }
  .page-home .features-list {
    grid-column: 1;
  }
  .page-home .features-visual {
    grid-column: 2;
  }
  .page-home .features-quote {
    grid-column: 3;
    margin-top: var(--space-6);
  }

  .page-home .report-card--featured {
    grid-template-columns: 1.1fr 1fr;
  }

  .page-home .account-panel {
    grid-template-columns: .8fr 1.2fr;
    margin-top: var(--space-5);
  }
}
