/* ============================================================
   首页 · page-home
   ============================================================ */

.page-home {
  --home-edge: 1px solid var(--line);
  --home-pad: clamp(48px, 7vw, 88px);
  background: var(--night);
  color: var(--white);
  overflow-x: hidden;
}

/* ---------- 通用区块 ---------- */
.page-home .section {
  padding: var(--home-pad) 0;
  border-bottom: var(--home-edge);
}

.page-home .section:last-of-type {
  border-bottom: 0;
}

.page-home .section-head {
  margin-bottom: clamp(26px, 4vw, 44px);
  max-width: 46em;
}

.page-home .section-title {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.18;
  font-size: clamp(24px, 3.2vw, 38px);
  margin: 10px 0 0;
  color: var(--white);
}

.page-home .section-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green);
  margin: 0;
}

/* ============================================================
   首屏
   ============================================================ */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 6vw, 76px) 0 clamp(28px, 4vw, 44px);
  border-bottom: var(--home-edge);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

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

.page-home .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(46, 107, 230, 0.32) 0%, rgba(46, 107, 230, 0) 58%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.52) 0%, rgba(10, 18, 32, 0.9) 56%, #0A1220 100%);
}

.page-home .hero-ghost {
  position: absolute;
  right: -3%;
  top: 2%;
  z-index: 0;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(150px, 28vw, 380px);
  line-height: 0.76;
  letter-spacing: -0.05em;
  color: rgba(46, 107, 230, 0.13);
  pointer-events: none;
  user-select: none;
}

.page-home .hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: end;
}

@media (min-width: 960px) {
  .page-home .hero-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
  .page-home .hero-index {
    grid-column: 1 / -1;
  }
}

.page-home .hero-crumb {
  margin-bottom: 18px;
}

.page-home .hero-crumb,
.page-home .hero-crumb a {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.page-home .hero-crumb a:hover,
.page-home .hero-crumb a:focus-visible {
  color: var(--green);
}

.page-home .hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  max-width: 15em;
  color: var(--white);
}

.page-home .hero-lede {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

/* ---------- 记分牌 ---------- */
.page-home .scoreboard {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 30, 51, 0.97) 0%, rgba(10, 18, 32, 0.97) 100%);
  border: var(--home-edge);
  border-top: 3px solid var(--green);
  padding: clamp(16px, 2.2vw, 24px);
}

.page-home .scoreboard::before,
.page-home .scoreboard::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(18, 183, 106, 0.5);
  pointer-events: none;
}

.page-home .scoreboard::before {
  top: 6px;
  left: 6px;
  border-right: 0;
  border-bottom: 0;
}

.page-home .scoreboard::after {
  bottom: 6px;
  right: 6px;
  border-left: 0;
  border-top: 0;
}

.page-home .sb-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: var(--home-edge);
}

.page-home .sb-round {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--white);
}

.page-home .sb-state {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green);
}

.page-home .sb-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 20px 0 18px;
}

.page-home .sb-team {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .sb-team.is-away {
  align-items: flex-end;
  text-align: right;
}

.page-home .sb-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--white);
}

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

.page-home .sb-score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.page-home .sb-score .num {
  color: var(--orange);
}

.page-home .sb-score i {
  font-style: normal;
  font-size: 0.55em;
  color: var(--muted);
}

.page-home .sb-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: var(--home-edge);
}

.page-home .sb-stat {
  display: grid;
  gap: 6px;
  padding: 12px 10px;
  background: rgba(10, 18, 32, 0.9);
}

.page-home .sb-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .sb-v {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.page-home .sb-v b {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.page-home .sb-v i {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}

.page-home .sb-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.page-home .sb-dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--amber);
}

/* ---------- 首屏索引 ---------- */
.page-home .hero-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: var(--home-edge);
}

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

@media (min-width: 960px) {
  .page-home .hero-index {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .hero-index a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 18px;
  background: rgba(10, 18, 32, 0.84);
  text-decoration: none;
  color: var(--white);
  transition: background-color 0.24s ease, color 0.24s ease;
}

.page-home .hero-index a:hover,
.page-home .hero-index a:focus-visible {
  background: var(--panel);
  color: var(--green);
}

.page-home .hi-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green);
  flex: none;
}

.page-home .hi-label {
  font-size: 14px;
  line-height: 1.5;
  min-width: 0;
}

.page-home .hi-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

/* ============================================================
   01 赛季进度
   ============================================================ */
.page-home .league-switch {
  position: relative;
}

.page-home .lg-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-home .lg-bar {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: var(--home-edge);
  border-bottom: 0;
}

.page-home .lg-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(10, 18, 32, 0.9);
  border-top: 3px solid transparent;
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
  text-align: center;
}

.page-home .lg-tab:hover {
  color: var(--white);
}

.page-home #lg-csl:checked ~ .lg-bar .lg-tab-csl {
  color: var(--white);
  background: var(--panel);
  border-top-color: var(--green);
}

.page-home #lg-acl:checked ~ .lg-bar .lg-tab-acl {
  color: var(--white);
  background: var(--panel);
  border-top-color: var(--blue);
}

.page-home .lg-input:focus-visible ~ .lg-bar .lg-tab {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}

.page-home .lg-panel {
  display: none;
  border: var(--home-edge);
  background: rgba(17, 30, 51, 0.5);
  padding: clamp(18px, 2.6vw, 28px);
}

.page-home #lg-csl:checked ~ .lg-panels .lg-panel-csl,
.page-home #lg-acl:checked ~ .lg-panels .lg-panel-acl {
  display: block;
}

.page-home .lg-panel-acl {
  border-top: 2px solid var(--blue);
}

.page-home .lg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
}

@media (min-width: 820px) {
  .page-home .lg-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }
}

.page-home .lg-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: var(--home-edge);
  margin: 0;
}

.page-home .fact {
  background: rgba(10, 18, 32, 0.92);
  padding: 14px 14px 15px;
  display: grid;
  gap: 8px;
}

.page-home .fact dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .fact dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--white);
  font-family: var(--font-head);
}

.page-home .fact dd b {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--green);
  margin-right: 2px;
}

.page-home .lg-panel-acl .fact dd b {
  color: var(--blue);
}

.page-home .fact dd span {
  color: var(--muted);
  font-size: 13px;
}

.page-home .lg-rail {
  min-width: 0;
}

.page-home .rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: var(--home-edge);
}

.page-home .rail-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--white);
}

.page-home .rail-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.page-home .rail-legend i {
  width: 10px;
  height: 10px;
  margin-left: 8px;
  display: inline-block;
}

.page-home .rail-legend i:first-child {
  margin-left: 0;
}

.page-home .lg-done {
  background: var(--green);
}

.page-home .lg-now {
  background: transparent;
  border: 1px solid var(--blue);
}

.page-home .lg-next {
  background: transparent;
  border: 1px solid var(--line);
}

.page-home .rail-track {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
  gap: 4px;
}

.page-home .rail-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: rgba(10, 18, 32, 0.9);
  border: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .rail-cell.is-done {
  color: #04140C;
  background: var(--green);
  border-color: var(--green);
}

.page-home .lg-panel-acl .rail-cell.is-done {
  color: #EAF1FF;
  background: var(--blue-deep);
  border-color: var(--blue);
}

.page-home .rail-cell.is-current {
  color: var(--green);
  background: rgba(18, 183, 106, 0.12);
  border-color: var(--green);
  animation: home-rail-pulse 2.6s ease-in-out infinite;
}

.page-home .lg-panel-acl .rail-cell.is-current {
  color: #9CC0FF;
  background: rgba(46, 107, 230, 0.16);
  border-color: var(--blue);
  animation-name: home-rail-pulse-blue;
}

@keyframes home-rail-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.68; }
}

@keyframes home-rail-pulse-blue {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.66; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .rail-cell.is-current {
    animation: none;
  }
}

.page-home .rail-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============================================================
   02 核心指标
   ============================================================ */
.page-home .metrics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 40px);
}

@media (min-width: 900px) {
  .page-home .metrics-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: start;
  }
}

.page-home .metric-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: var(--home-edge);
}

.page-home .metric {
  background: rgba(17, 30, 51, 0.62);
  padding: clamp(18px, 2.4vw, 26px);
}

.page-home .metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .metric-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.01em;
}

.page-home .metric-trend {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 3px 8px;
  border: 1px solid var(--line);
}

.page-home .metric-trend i {
  font-style: normal;
  margin-right: 4px;
  font-size: 10px;
}

.page-home .metric-trend.is-up {
  color: var(--orange);
  border-color: rgba(255, 90, 43, 0.4);
}

.page-home .metric-trend.is-down {
  color: var(--blue);
  border-color: rgba(46, 107, 230, 0.45);
}

.page-home .metric-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.page-home .metric-now {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 52px);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.page-home .metric-unit {
  font-size: 13px;
  color: var(--muted);
}

.page-home .metric-avg {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.page-home .metric-avg b {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.page-home .metric-bar {
  margin-top: 14px;
  height: 6px;
  background: rgba(36, 53, 79, 0.8);
  overflow: hidden;
}

.page-home .metric-bar i {
  display: block;
  height: 100%;
  width: 84%;
  background: linear-gradient(90deg, var(--green-deep), var(--green));
}

.page-home .metric-bar.is-alt i {
  width: 66%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
}

.page-home .metric-bar.is-warm i {
  width: 76%;
  background: linear-gradient(90deg, #8C2A12, var(--orange));
}

.page-home .metric-sub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 14px 0 0;
  background: var(--line);
  border: var(--home-edge);
}

.page-home .metric-sub > div {
  background: rgba(10, 18, 32, 0.9);
  padding: 10px 10px 12px;
  display: grid;
  gap: 6px;
}

.page-home .metric-sub dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .metric-sub dd {
  margin: 0;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.page-home .metric-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 36em;
}

.page-home .metrics-figure {
  margin: 0;
  border: var(--home-edge);
  background: rgba(17, 30, 51, 0.5);
  padding: 12px;
}

.page-home .metrics-figure .media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .metrics-figure .media-caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============================================================
   03 榜单与走势
   ============================================================ */
.page-home .board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 28px);
}

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

.page-home .board-panel {
  border-top: 2px solid var(--green);
}

.page-home .board-panel:last-child {
  border-top-color: var(--blue);
}

.page-home .board-caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-bottom: 10px;
}

.page-home .data-table td:first-child {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--muted);
}

.page-home .data-table tbody tr:first-child td {
  color: var(--orange);
}

.page-home .panel-foot a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 183, 106, 0.4);
}

.page-home .panel-foot a:hover,
.page-home .panel-foot a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white);
}

.page-home .odds-chart {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .odds-grid line {
  stroke: var(--line);
  stroke-width: 1;
}

.page-home .odds-area {
  fill: rgba(46, 107, 230, 0.16);
  stroke: none;
}

.page-home .odds-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linejoin: round;
}

.page-home .odds-nodes circle {
  fill: var(--night);
  stroke: var(--amber);
  stroke-width: 2;
}

.page-home .odds-axis text {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-anchor: middle;
}

.page-home .odds-values text {
  fill: var(--orange);
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
}

.page-home .heat-figure {
  margin: clamp(26px, 3.6vw, 42px) 0 0;
  border: var(--home-edge);
  background: rgba(17, 30, 51, 0.5);
  padding: 12px;
}

.page-home .heat-figure .media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .heat-figure .media-caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============================================================
   04 订阅
   ============================================================ */
.page-home .section-subscribe {
  padding-bottom: clamp(56px, 8vw, 104px);
}

.page-home .subscribe-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: var(--home-edge);
  border-left: 3px solid var(--green);
  padding: clamp(26px, 4vw, 52px);
}

.page-home .subscribe-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.5);
}

.page-home .subscribe-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 32, 0.96) 0%, rgba(10, 18, 32, 0.82) 58%, rgba(10, 18, 32, 0.7) 100%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.9) 0%, rgba(10, 18, 32, 0.96) 100%);
}

.page-home .subscribe-inner {
  position: relative;
  z-index: 1;
  max-width: 46em;
}

.page-home .subscribe-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 12px 0 0;
  color: var(--white);
}

.page-home .subscribe-lede {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .subscribe-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: var(--home-edge);
}

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

.page-home .subscribe-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(10, 18, 32, 0.86);
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
}

.page-home .subscribe-points .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green);
  flex: none;
}

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

.page-home .subscribe-note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .subscribe-note a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 183, 106, 0.4);
}

.page-home .subscribe-note a:hover,
.page-home .subscribe-note a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ============================================================
   返回顶部
   ============================================================ */
.page-home .back-to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 20;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.page-home .back-to-top.is-visible {
  display: inline-flex;
}

.page-home .back-to-top:hover,
.page-home .back-to-top:focus-visible {
  background: var(--blue-deep);
  border-left-color: var(--amber);
}

.page-home .btt-chapter {
  color: var(--green);
  max-width: 12em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .page-home .hero-ghost {
    font-size: clamp(110px, 34vw, 200px);
    right: -6%;
  }
  .page-home .metric-avg {
    margin-left: 0;
    width: 100%;
  }
  .page-home .sb-stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-home .btt-chapter {
    display: none;
  }
}
