.page-home {
  --home-rule: 1px solid var(--line);
  --home-rule-strong: 1px solid var(--line-2);
  --home-rule-ink: 1px solid rgba(26, 20, 16, 0.18);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.7;
}

.page-home a {
  color: inherit;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

.page-home .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- HERO ---------- */

.page-home .home-hero {
  position: relative;
  padding: 56px 0 48px;
  border-bottom: var(--home-rule);
  isolation: isolate;
}

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

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

.page-home .home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 21, 51, 0.5) 0%, rgba(11, 21, 51, 0.9) 58%, var(--bg) 100%),
    repeating-linear-gradient(90deg, rgba(230, 234, 242, 0.055) 0 1px, transparent 1px 108px);
}

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

.page-home .home-kicker {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home h1#home-title {
  margin: 14px 0 0;
  max-width: 17ch;
  font-size: clamp(30px, 6.4vw, 52px);
  font-weight: 900;
  line-height: 1.16;
  color: var(--fg);
}

.page-home .home-lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 17px;
  color: rgba(230, 234, 242, 0.86);
}

.page-home .home-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  max-width: 660px;
  background: var(--line);
  border: var(--home-rule);
}

.page-home .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 14px 16px;
  background: rgba(20, 34, 74, 0.76);
}

.page-home .hero-stat--live {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .hero-stat-num {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
}

.page-home .hero-stat--live .hero-stat-num {
  color: var(--cyan);
}

.page-home .hero-stat-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .home-hero-actions {
  margin-top: 26px;
}

/* ---------- 通用小节抬头 ---------- */

.page-home .home-head {
  max-width: 72ch;
}

.page-home .home-section-note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 今日赛场索引 ---------- */

.page-home .home-index .segmented {
  margin-top: 26px;
}

.page-home .home-tablist {
  position: relative;
  display: flex;
  gap: 2px;
  border-bottom: var(--home-rule);
}

.page-home .home-tab {
  flex: 0 0 auto;
  padding: 12px 20px;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  cursor: pointer;
}

.page-home .home-tab[aria-selected="true"] {
  color: var(--cyan);
}

.page-home .home-tab:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-home .fx-list {
  border-bottom: var(--home-rule);
}

.page-home .fx-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "main score"
    "meta meta";
  gap: 8px 16px;
  align-items: center;
  padding: 14px 4px;
  border-top: var(--home-rule);
  transition: background 160ms ease;
}

.page-home .fx-row:first-child {
  border-top: 0;
}

.page-home .fx-row:hover {
  background: rgba(79, 227, 208, 0.05);
}

.page-home .fx-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-home .fx-league {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .fx-pair {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  overflow-wrap: anywhere;
}

.page-home .fx-pair em {
  margin: 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .fx-score {
  grid-area: score;
  text-align: right;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--fg);
}

.page-home .fx-score .fx-colon {
  margin: 0 2px;
  font-weight: 400;
  color: var(--muted);
}

.page-home .fx-meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-home .fx-time {
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 780px) {
  .page-home .fx-row {
    grid-template-columns: minmax(0, 1fr) 110px 210px;
    grid-template-areas: "main score meta";
    gap: 0 24px;
    padding: 18px 4px;
  }

  .page-home .fx-meta {
    justify-content: flex-end;
  }
}

/* ---------- 入球与失球分布 ---------- */

.page-home .dist-grid {
  align-items: start;
  row-gap: 36px;
}

.page-home .dist-chart {
  margin-top: 26px;
  border-top: var(--home-rule-strong);
}

.page-home .dist-row {
  display: grid;
  grid-template-columns: minmax(72px, 92px) minmax(0, 1fr) 68px;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: var(--home-rule);
}

.page-home .dist-team {
  font-size: 14px;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .dist-track {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-home .dist-bar {
  display: block;
  height: 8px;
  background: var(--cyan);
}

.page-home .dist-bar--out {
  background: var(--orange);
}

.page-home .dist-row:nth-child(1) .dist-bar--in { width: 100%; }
.page-home .dist-row:nth-child(1) .dist-bar--out { width: 55%; }

.page-home .dist-row:nth-child(2) .dist-bar--in { width: 82%; }
.page-home .dist-row:nth-child(2) .dist-bar--out { width: 66%; }

.page-home .dist-row:nth-child(3) .dist-bar--in { width: 71%; }
.page-home .dist-row:nth-child(3) .dist-bar--out { width: 79%; }

.page-home .dist-row:nth-child(4) .dist-bar--in { width: 63%; }
.page-home .dist-row:nth-child(4) .dist-bar--out { width: 87%; }

.page-home .dist-row:nth-child(5) .dist-bar--in { width: 53%; }
.page-home .dist-row:nth-child(5) .dist-bar--out { width: 95%; }

.page-home .dist-num {
  font-size: 12px;
  text-align: right;
  color: var(--muted);
}

.page-home .home-dist-figure {
  margin: 26px 0 0;
}

.page-home .home-dist-figure .figure-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: var(--home-rule);
}

/* ---------- 联赛排名速览 ---------- */

.page-home .st-table {
  margin-top: 26px;
  border-top: var(--home-rule-strong);
}

.page-home .st-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 44px 48px;
  align-items: center;
  gap: 8px;
  padding: 13px 4px;
  border-bottom: var(--home-rule);
  font-size: 14px;
}

.page-home .st-row--head {
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .st-rank {
  color: var(--muted);
}

.page-home .st-row:not(.st-row--head) .st-rank {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
}

.page-home .st-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg);
}

.page-home .st-extra,
.page-home .st-pl-gd {
  display: none;
}

.page-home .st-pts {
  text-align: right;
  font-weight: 700;
  color: var(--fg);
}

.page-home .st-trend {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}

.page-home .st-row--up {
  box-shadow: inset 3px 0 0 var(--green);
}

.page-home .st-row--down {
  box-shadow: inset 3px 0 0 var(--red);
}

.page-home .home-standings-cta {
  margin-top: 24px;
}

@media (min-width: 700px) {
  .page-home .st-row {
    grid-template-columns: 44px minmax(0, 1fr) 130px 90px 90px;
    gap: 16px;
    padding: 14px 6px;
  }

  .page-home .st-extra {
    display: block;
    text-align: right;
    color: var(--muted);
  }

  .page-home .st-pts {
    text-align: right;
  }
}

/* ---------- 战报与关注栏 ---------- */

.page-home .reports-grid {
  align-items: start;
  row-gap: 36px;
}

.page-home .rp-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--home-rule-strong);
}

.page-home .rp-item {
  padding: 18px 4px;
  border-bottom: var(--home-rule);
}

.page-home .rp-item .timestamp {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .rp-title {
  margin: 8px 0 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--fg);
}

.page-home .rp-desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(230, 234, 242, 0.78);
}

.page-home .rp-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 9px;
  border: var(--home-rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .home-report-figure {
  margin: 26px 0 0;
}

.page-home .home-report-figure .figure-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: var(--home-rule);
}

.page-home .watch-box {
  margin-top: 24px;
  padding: 22px 20px;
  background: var(--panel);
  border: var(--home-rule);
}

.page-home .watch-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.page-home .watch-box p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(230, 234, 242, 0.78);
}

.page-home .watch-link {
  margin-top: 16px;
}

/* ---------- 换设备后一步回到赛场（奶油纸插页） ---------- */

.page-home .home-switch-paper {
  padding: 30px 22px 26px;
  border: 1px solid rgba(26, 20, 16, 0.24);
}

.page-home .switch-grid {
  row-gap: 26px;
}

.page-home .switch-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #8a5a2b;
}

.page-home .switch-title {
  margin: 12px 0 0;
  max-width: 20ch;
  font-size: clamp(22px, 3.6vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--paper-ink);
}

.page-home .switch-desc {
  margin: 14px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(26, 20, 16, 0.82);
}

.page-home .switch-link-wrap {
  margin: 18px 0 0;
}

.page-home .switch-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}

.page-home .switch-link:hover {
  color: #7a3a0c;
}

.page-home .switch-steps {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--home-rule-ink);
}

.page-home .switch-steps li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: var(--home-rule-ink);
}

.page-home .switch-steps .step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #a8440f;
}

.page-home .switch-steps .step-text {
  font-size: 14px;
  color: rgba(26, 20, 16, 0.88);
}

/* ---------- 数据节奏 ---------- */

.page-home .rhythm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 26px;
  background: var(--line);
  border: var(--home-rule);
}

.page-home .rhythm-card {
  padding: 24px 20px;
  background: var(--bg);
}

.page-home .rhythm-title {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.page-home .rhythm-card .pulse-dot + .rhythm-title {
  margin-top: 14px;
}

.page-home .rhythm-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(230, 234, 242, 0.78);
}

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

/* ---------- 信任区 ---------- */

.page-home .home-trust {
  position: relative;
  padding: 60px 0;
  border-top: var(--home-rule);
  overflow: hidden;
}

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

.page-home .home-trust-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.page-home .home-trust-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 21, 51, 0.95) 0%, rgba(11, 21, 51, 0.72) 58%, rgba(11, 21, 51, 0.95) 100%);
}

.page-home .home-trust-inner {
  position: relative;
  z-index: 1;
}

.page-home .home-trust-title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(22px, 3.8vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--fg);
}

.page-home .home-trust-desc {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(230, 234, 242, 0.8);
}

.page-home .trust-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: var(--home-rule);
}

.page-home .trust-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .trust-stat .mono {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cyan);
}

.page-home .trust-stat-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .home-trust-link {
  margin-top: 26px;
}

/* ---------- 延伸路径 ---------- */

.page-home .home-paths {
  border-top: var(--home-rule);
}

.page-home .home-paths-title {
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--fg);
}

.page-home .path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 22px;
  background: var(--line);
  border: var(--home-rule);
}

.page-home .home-paths .path-item {
  display: block;
  padding: 22px 20px;
  background: var(--bg);
  text-decoration: none;
  transition: background 160ms ease;
}

.page-home .home-paths .path-item:hover {
  background: var(--panel);
}

.page-home .home-paths .path-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.page-home .home-paths .path-desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

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

/* ---------- 刷新脉冲 ---------- */

@media (prefers-reduced-motion: no-preference) {
  .page-home .pulse-dot {
    animation: home-pulse 2.2s ease-out infinite;
  }
}

@keyframes home-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 227, 208, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(79, 227, 208, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 227, 208, 0);
  }
}

/* ---------- 桌面细化 ---------- */

@media (min-width: 980px) {
  .page-home .home-hero {
    padding: 72px 0 64px;
  }

  .page-home .home-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 760px;
  }

  .page-home .dist-grid {
    row-gap: 0;
  }

  .page-home .home-switch-paper {
    padding: 40px 36px 34px;
  }

  .page-home .home-trust {
    padding: 76px 0;
  }
}
<<<END>>>
