.page-home {
  --hero-min-height: 620px;
  --card-glass: rgba(27, 42, 58, 0.74);
  --glow-green: 0 0 26px rgba(57, 255, 20, 0.28);
  --diagonal-green: linear-gradient(118deg, rgba(57,255,20,0.10) 0%, rgba(57,255,20,0.02) 42%, transparent 70%);
  overflow-x: clip;
}

/* ===== 首屏框景 ===== */
.page-home .hero-frame {
  position: relative;
  display: flex;
  min-height: var(--hero-min-height);
  border: 1px solid var(--border-glass);
  background: var(--bg);
  margin: 0;
  padding: 0;
}
.page-home .hero-zone {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-home .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
}
.page-home .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.72) 44%, rgba(13,27,42,0.38) 100%),
    linear-gradient(0deg, rgba(13,27,42,0.65) 0%, transparent 40%);
}
.page-home .hero-field-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
  pointer-events: none;
}
.page-home .hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  padding-top: 36px;
  padding-bottom: 36px;
}
.page-home .hero-block {
  max-width: 560px;
}
.page-home .hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-home .hero-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--green);
  display: inline-block;
}
.page-home .hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 2px;
  color: var(--heading);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-home .hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.page-home .hero-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}
.page-home .hero-jump a {
  color: var(--steel);
  font-size: 13px;
  text-decoration: none;
  font-family: var(--font-mono);
  transition: color 0.2s ease;
}
.page-home .hero-jump a:hover {
  color: var(--green);
}

/* ===== 实时窗口 ===== */
.page-home .live-window {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  border: 1px solid rgba(57,255,20,0.25);
  background: var(--card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card), var(--glow-green);
}
.page-home .live-window-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.page-home .live-minute {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--orange);
  font-weight: 700;
}
.page-home .live-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}
.page-home .live-team {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.page-home .live-team-name {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-home .live-team-tag {
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 1px;
}
.page-home .live-num {
  font-size: 44px;
  line-height: 1;
  min-width: 40px;
  text-align: center;
  animation: home-live-pulse 2.4s ease-in-out infinite;
}
.page-home .score-sep {
  font-size: 22px;
  color: var(--steel);
  font-family: var(--font-mono);
}
@keyframes home-live-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(57,255,20,0); }
  50% { text-shadow: 0 0 18px rgba(57,255,20,0.55); }
}
.page-home .live-stat + .live-stat {
  margin-top: 14px;
}
.page-home .stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
  font-size: 13px;
}
.page-home .stat-name {
  color: var(--steel);
}
.page-home .stat-nums {
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 700;
}
.page-home .stat-track {
  height: 6px;
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}
.page-home .stat-fill {
  height: 100%;
  display: block;
}
.page-home .stat-fill-pos {
  background: var(--green);
}
.page-home .stat-fill-neg {
  background: var(--orange);
  opacity: 0.7;
}
.page-home .live-window-foot {
  border-top: 1px solid var(--border-glass);
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.page-home .foot-note {
  font-size: 12px;
  color: var(--steel);
}
.page-home .mini-compare {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.page-home .mini-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  background: rgba(57,255,20,0.10);
  border: 1px solid rgba(57,255,20,0.28);
  border-radius: 2px;
  padding: 3px 8px;
}

/* ===== 章节通用 ===== */
.page-home .section-space {
  padding-top: 56px;
  padding-bottom: 56px;
  position: relative;
}
.page-home .chapter-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}
.page-home .chapter-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--green);
  flex-shrink: 0;
}
.page-home .chapter-title {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.2;
  color: var(--heading);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.page-home .chapter-sub {
  color: var(--steel);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== 01 实时焦点 ===== */
.page-home .live-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--diagonal-green);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}
.page-home .live-scene .container {
  position: relative;
  z-index: 1;
}
.page-home .match-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}
.page-home .match-card {
  padding: 18px;
}
.page-home .match-sport {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.page-home .match-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}
.page-home .match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1.4;
  color: var(--heading);
  text-transform: uppercase;
}
.page-home .match-score {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--green);
  white-space: nowrap;
}
.page-home .match-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.page-home .match-stats span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
}

/* ===== 主客场对照 ===== */
.page-home .home-away-card {
  padding: 20px;
}
.page-home .home-away-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.page-home .home-away-head h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--heading);
  margin: 0;
}
.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .match-filter {
  margin-bottom: 18px;
}
.page-home .mini-filter {
  margin-bottom: 0;
}
.page-home .filter-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1;
  padding: 9px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.page-home .filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
}
.page-home .filter-btn.is-active,
.page-home .filter-btn[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: var(--bg);
  font-weight: 700;
}
.page-home .ha-grid {
  display: grid;
  gap: 14px;
}
.page-home .ha-card {
  padding: 18px;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  border-radius: 2px;
}
.page-home .ha-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  color: var(--heading);
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(224,225,221,0.14);
}
.page-home .ha-team {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 13px;
}
.page-home .ha-card dl {
  margin: 0;
  display: grid;
  gap: 9px;
}
.page-home .ha-card .field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.page-home .ha-card dt {
  color: var(--steel);
}
.page-home .ha-card dd {
  margin: 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 700;
}
.page-home .ha-footnote {
  margin-top: 14px;
  font-size: 12px;
  color: var(--steel);
}

/* ===== 02 安卓适配 ===== */
.page-home .android-scene {
  background: linear-gradient(180deg, rgba(27,42,58,0.55) 0%, rgba(13,27,42,0.0) 100%);
}
.page-home .android-scene::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
  background: linear-gradient(225deg, rgba(255,107,53,0.10) 0%, transparent 60%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.page-home .android-scene .container {
  position: relative;
  z-index: 1;
}
.page-home .android-grid {
  display: grid;
  gap: 26px;
  align-items: start;
}
.page-home .android-visual {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.page-home .android-phone {
  max-width: 170px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid var(--orange);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.page-home .android-content {
  min-width: 0;
}
.page-home .android-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 14px;
}
.page-home .android-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13px;
}
.page-home .android-table th,
.page-home .android-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}
.page-home .android-table th {
  background: rgba(13,27,42,0.8);
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.page-home .android-table td {
  color: var(--text);
}
.page-home .status-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--moss);
  border: 1px solid rgba(106,141,115,0.45);
  padding: 3px 8px;
  border-radius: 2px;
}
.page-home .android-note {
  font-size: 13px;
  color: var(--steel);
  margin-bottom: 18px;
}

/* ===== 03 数据速览 ===== */
.page-home .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.page-home .stat-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 150px;
}
.page-home .stat-num {
  font-size: 38px;
  line-height: 1;
}
.page-home .stat-suffix {
  font-size: 20px;
  color: var(--green);
  margin-left: 2px;
}
.page-home .stat-label {
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.page-home .stat-desc {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}
.page-home .viz-card {
  grid-column: 1 / -1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-home .viz-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-glass);
}
.page-home .viz-text h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--heading);
  margin-bottom: 6px;
}
.page-home .viz-text p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}
.page-home .stats-note {
  grid-column: 1 / -1;
  padding: 16px 18px;
  background: rgba(106,141,115,0.12);
  border-left: 3px solid var(--moss);
  align-self: start;
}
.page-home .stats-note strong {
  display: block;
  color: var(--moss);
  font-family: var(--font-heading);
  margin-bottom: 6px;
  font-size: 14px;
  text-transform: uppercase;
}
.page-home .stats-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
}

/* ===== 04 会员中心与帮助中心 ===== */
.page-home .support-scene {
  background: linear-gradient(180deg, transparent 0%, rgba(27,42,58,0.5) 100%);
}
.page-home .support-grid {
  display: grid;
  gap: 16px;
}
.page-home .support-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.page-home .support-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.page-home .support-icon {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255,107,53,0.45);
  flex-shrink: 0;
}
.page-home .support-symbol {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  border-radius: 4px;
}
.page-home .support-head h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--heading);
  margin-bottom: 4px;
}
.page-home .support-head p {
  font-size: 13px;
  color: var(--steel);
  margin: 0;
}
.page-home .support-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  flex-grow: 1;
}
.page-home .support-desc a {
  color: var(--green);
  text-decoration: none;
}

/* ===== 05 最新动态 ===== */
.page-home .news-grid {
  display: grid;
  gap: 14px;
}
.page-home .news-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-home .news-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.4;
  color: var(--heading);
  margin: 4px 0 6px;
}
.page-home .news-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-home .news-card h3 a:hover {
  color: var(--green);
}
.page-home .news-card p {
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.page-home .news-more {
  margin-top: 22px;
  text-align: center;
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-home .match-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .match-card:last-child {
    grid-column: span 2;
  }
  .page-home .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .news-card:last-child {
    grid-column: span 2;
  }
  .page-home .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .page-home .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .page-home .hero-block {
    flex: 1 1 45%;
  }
  .page-home .hero-window {
    flex: 0 1 440px;
    margin: 0;
  }
  .page-home .hero-title {
    font-size: 42px;
  }
  .page-home .match-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .match-card:last-child {
    grid-column: auto;
  }
  .page-home .ha-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .android-grid {
    grid-template-columns: 220px 1fr;
    gap: 30px;
  }
  .page-home .stats-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .page-home .stat-card:nth-child(-n+4) {
    grid-column: span 3;
    grid-row: auto;
  }
  .page-home .viz-card {
    grid-column: span 8;
  }
  .page-home .stats-note {
    grid-column: span 4;
  }
  .page-home .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .news-card:last-child {
    grid-column: auto;
  }
}

@media (min-width: 1024px) {
  .page-home .section-space {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .page-home .hero-title {
    font-size: 52px;
  }
  .page-home .hero-sub {
    font-size: 16px;
  }
  .page-home .android-grid {
    grid-template-columns: 260px 1fr;
  }
  .page-home .android-phone {
    max-width: 200px;
  }
  .page-home .stats-grid {
    grid-auto-rows: minmax(150px, auto);
  }
  .page-home .support-card {
    flex-direction: row;
    align-items: center;
  }
}
