.page-home {
  --home-accent: #FF6B2C;
  --home-bg: #0B1B2B;
  --home-panel: #12293C;
  --home-gold: #FFC247;
  --home-border: #6E7F80;
  --home-ink: #EAF0F5;
  --home-ink-dim: #9DB3C5;
  --home-success: #4A7055;
  --home-warn: #C96F4A;
  --home-font-title: 'Archivo', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --home-font-body: 'Inter', 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --home-font-mono: 'Roboto Mono', 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  background: var(--home-bg);
  color: var(--home-ink);
  font-family: var(--home-font-body);
  line-height: 1.7;
  min-width: 320px;
  overflow-x: hidden;
}

.page-home .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-home .section {
  padding: 72px 0;
  position: relative;
}

.page-home .section--light {
  background: #F5F1E8;
  color: var(--home-bg);
}

.page-home .section-head {
  margin-bottom: 48px;
}

.page-home .section-kicker {
  font-family: var(--home-font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--home-accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.page-home .section-title {
  font-family: var(--home-font-title);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-home .section-title--dark {
  color: var(--home-bg);
}

.page-home .section-lead {
  font-size: 16px;
  color: var(--home-ink-dim);
  max-width: 560px;
}

.page-home .section--light .section-lead {
  color: #4A5A66;
}

/* 首屏框景 */
.page-home .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--home-bg);
}

.page-home .hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(4px);
  z-index: 0;
}

.page-home .hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(118deg, rgba(11, 27, 43, 0.95) 0%, rgba(11, 27, 43, 0.72) 45%, rgba(255, 107, 44, 0.22) 100%);
  z-index: 1;
}

.page-home .hero__frame {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: 520px;
  margin: 80px auto 40px;
  padding: 48px 32px;
  border: 1px solid rgba(110, 127, 128, 0.35);
  background: rgba(11, 27, 43, 0.42);
  backdrop-filter: blur(2px);
}

.page-home .hero__frame-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border-style: solid;
  border-color: var(--home-accent);
}

.page-home .hero__frame-corner--tl {
  top: -2px;
  left: -2px;
  border-width: 3px 0 0 3px;
}

.page-home .hero__frame-corner--tr {
  top: -2px;
  right: -2px;
  border-width: 3px 3px 0 0;
}

.page-home .hero__frame-corner--bl {
  bottom: -2px;
  left: -2px;
  border-width: 0 0 3px 3px;
}

.page-home .hero__frame-corner--br {
  bottom: -2px;
  right: -2px;
  border-width: 0 3px 3px 0;
}

.page-home .hero__content {
  max-width: 760px;
  position: relative;
}

.page-home .hero__index {
  font-family: var(--home-font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--home-accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.page-home .hero__title {
  font-family: var(--home-font-title);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 720px;
}

.page-home .hero__desc {
  font-size: 17px;
  color: var(--home-ink);
  opacity: 0.88;
  max-width: 560px;
  margin-bottom: 36px;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--home-font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.page-home .btn--primary {
  background: var(--home-accent);
  color: #fff;
  border: 1px solid var(--home-accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.page-home .btn--primary:hover {
  background: #e85a1f;
  transform: translateY(-2px);
}

.page-home .btn--ghost {
  background: transparent;
  color: var(--home-ink);
  border: 1px solid rgba(234, 240, 245, 0.4);
}

.page-home .btn--ghost:hover {
  border-color: var(--home-accent);
  color: var(--home-accent);
  transform: translateY(-2px);
}

.page-home .hero__meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(110, 127, 128, 0.28);
  padding-top: 28px;
}

.page-home .hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero__meta-num {
  font-family: var(--home-font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--home-gold);
}

.page-home .hero__meta-label {
  font-size: 12px;
  color: var(--home-ink-dim);
  letter-spacing: 0.08em;
}

.page-home .hero__scale {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 3;
  font-family: var(--home-font-mono);
  font-size: 10px;
  color: rgba(110, 127, 128, 0.6);
  writing-mode: vertical-rl;
  letter-spacing: 0.3em;
}

.page-home .hero__scale span {
  display: inline-block;
  position: relative;
}

.page-home .hero__scale span::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 6px;
  height: 1px;
  background: rgba(110, 127, 128, 0.6);
}

/* 工具区 */
.page-home .tool-dock {
  border-bottom: 1px solid rgba(110, 127, 128, 0.2);
}

.page-home .tool-dock__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 56px;
}

.page-home .dock-card {
  position: relative;
  background: var(--home-panel);
  border: 1px solid rgba(110, 127, 128, 0.3);
  padding: 32px;
  text-decoration: none;
  color: var(--home-ink);
  display: block;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-home .dock-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 22px;
  height: 22px;
  border-top: 3px solid var(--home-accent);
  border-left: 3px solid var(--home-accent);
}

.page-home .dock-card:hover {
  border-color: var(--home-accent);
  transform: translateY(-4px);
}

.page-home .dock-card__num {
  font-family: var(--home-font-mono);
  font-size: 13px;
  color: var(--home-accent);
  letter-spacing: 0.15em;
}

.page-home .dock-card__title {
  font-family: var(--home-font-title);
  font-size: 22px;
  font-weight: 700;
  margin: 12px 0 10px;
}

.page-home .dock-card__desc {
  font-size: 14px;
  color: var(--home-ink-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-home .dock-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--home-ink);
  font-family: var(--home-font-mono);
}

.page-home .status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.page-home .status-dot[data-status="live"] {
  background: var(--home-warn);
  box-shadow: 0 0 0 3px rgba(201, 111, 74, 0.25);
}

.page-home .status-dot[data-status="updated"] {
  background: var(--home-success);
}

/* 比分条 */
.page-home .score-strip {
  border: 1px solid rgba(110, 127, 128, 0.25);
  background: var(--home-panel);
}

.page-home .score-strip__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(110, 127, 128, 0.2);
}

.page-home .score-strip__label {
  font-family: var(--home-font-mono);
  font-size: 13px;
  color: var(--home-ink);
  letter-spacing: 0.1em;
}

.page-home .score-strip__update {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--home-font-mono);
  font-size: 12px;
  color: var(--home-ink-dim);
}

.page-home .score-strip__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(110, 127, 128, 0.25);
}

.page-home .score-card {
  background: var(--home-panel);
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 100px 1fr 72px 1fr 56px;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.page-home .score-card__league {
  font-family: var(--home-font-mono);
  font-size: 12px;
  color: var(--home-gold);
  letter-spacing: 0.08em;
  text-align: left;
}

.page-home .score-card__team {
  font-size: 14px;
  color: var(--home-ink);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .score-card__value {
  font-family: var(--home-font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--home-accent);
  letter-spacing: -0.02em;
}

.page-home .score-card__state {
  font-family: var(--home-font-mono);
  font-size: 12px;
  color: var(--home-ink-dim);
}

/* 导出区 */
.page-home .export-section {
  background: linear-gradient(180deg, var(--home-bg) 0%, var(--home-panel) 100%);
}

.page-home .export-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.page-home .export-section__content {
  align-self: start;
}

.page-home .export-section__img {
  width: 100%;
  height: auto;
  max-width: 800px;
  border: 1px solid rgba(110, 127, 128, 0.3);
}

.page-home .export-section__panel {
  background: rgba(11, 27, 43, 0.5);
  border: 1px solid rgba(110, 127, 128, 0.35);
  padding: 20px;
}

.page-home .table-frame {
  overflow-x: auto;
}

.page-home .table-frame table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.page-home .table-frame th {
  font-family: var(--home-font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--home-ink-dim);
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(110, 127, 128, 0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .table-frame td {
  font-size: 14px;
  color: var(--home-ink);
  padding: 14px 12px;
  border-bottom: 1px solid rgba(110, 127, 128, 0.12);
}

.page-home .table-frame tr:last-child td {
  border-bottom: none;
}

.page-home .table-frame td:first-child {
  color: var(--home-ink);
  font-weight: 500;
}

.page-home .table-frame td:nth-child(3) {
  font-family: var(--home-font-mono);
  font-size: 13px;
  color: var(--home-gold);
}

.page-home .table-frame td:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--home-font-mono);
  font-size: 13px;
}

.page-home .export-section__link {
  margin-top: 24px;
  width: 100%;
}

/* 收藏区 */
.page-home .favorite-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .favorite-demo {
  position: relative;
}

.page-home .favorite-demo__img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(11, 27, 43, 0.15);
}

.page-home .favorite-demo__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
}

.page-home .tag {
  display: inline-block;
  padding: 5px 12px;
  font-family: var(--home-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.page-home .tag--gold {
  background: var(--home-gold);
  color: var(--home-bg);
}

.page-home .tag--accent {
  background: var(--home-accent);
  color: #fff;
}

.page-home .favorite-section__panel {
  display: flex;
  flex-direction: column;
}

.page-home .favorite-list {
  border: 1px solid rgba(11, 27, 43, 0.15);
  background: #fff;
}

.page-home .favorite-list__item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(11, 27, 43, 0.08);
}

.page-home .favorite-list__item:last-child {
  border-bottom: none;
}

.page-home .favorite-list__mark {
  color: var(--home-gold);
}

.page-home .favorite-list__name {
  font-family: var(--home-font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--home-bg);
  line-height: 1.3;
}

.page-home .favorite-list__meta {
  font-size: 12px;
  color: var(--home-border);
  margin-top: 2px;
}

.page-home .favorite-list__score {
  text-align: right;
}

.page-home .favorite-list__num {
  font-family: var(--home-font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--home-accent);
  display: block;
  line-height: 1.2;
}

.page-home .favorite-list__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--home-font-mono);
  font-size: 12px;
  color: var(--home-warn);
}

.page-home .favorite-section__note {
  margin-top: 20px;
  font-size: 14px;
  color: #4A5A66;
  border-left: 3px solid var(--home-accent);
  padding-left: 16px;
}

/* 更新记录时间线 */
.page-home .update-section {
  background: linear-gradient(180deg, var(--home-bg) 0%, #0e2133 100%);
  position: relative;
}

.page-home .update-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 107, 44, 0) 0%, rgba(255, 107, 44, 0.3) 20%, rgba(255, 107, 44, 0.3) 80%, rgba(255, 107, 44, 0) 100%);
  transform: translateX(-50%);
}

.page-home .update-section__content {
  position: relative;
  z-index: 1;
}

.page-home .timeline {
  position: relative;
  padding-top: 24px;
}

.page-home .timeline__item {
  position: relative;
  padding: 24px 0 24px 36px;
  border-left: 2px solid rgba(255, 107, 44, 0.25);
  margin-left: 16px;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 30px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--home-accent);
  transform: rotate(45deg);
  background: var(--home-bg);
}

.page-home .timeline__num {
  font-family: var(--home-font-mono);
  font-size: 13px;
  color: var(--home-accent);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.page-home .timeline__cat {
  font-family: var(--home-font-title);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-home .timeline__desc {
  font-size: 14px;
  color: var(--home-ink-dim);
  max-width: 480px;
}

.page-home .update-section__link {
  margin-top: 32px;
}

/* 统计区 */
.page-home .stats-section {
  border-top: 1px solid rgba(110, 127, 128, 0.2);
}

.page-home .stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .stat-card {
  background: var(--home-panel);
  padding: 36px 32px;
  border: 1px solid rgba(110, 127, 128, 0.2);
  position: relative;
  overflow: hidden;
}

.page-home .stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 28px solid var(--home-accent);
  border-left: 28px solid transparent;
}

.page-home .stat-card__num {
  font-family: var(--home-font-mono);
  font-size: 44px;
  font-weight: 700;
  color: var(--home-accent);
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-home .stat-card__label {
  font-family: var(--home-font-title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-home .stat-card__desc {
  font-size: 14px;
  color: var(--home-ink-dim);
  margin-bottom: 20px;
}

.page-home .stat-card__bar {
  height: 4px;
  background: rgba(110, 127, 128, 0.2);
  position: relative;
  overflow: hidden;
}

.page-home .stat-card__bar span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--home-accent) 0%, var(--home-gold) 100%);
}

/* 覆盖区 */
.page-home .coverage-section {
  border-top: 1px solid rgba(110, 127, 128, 0.2);
}

.page-home .coverage-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .coverage-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
}

.page-home .coverage-list__item {
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(110, 127, 128, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-home .coverage-list__dot {
  width: 8px;
  height: 8px;
  background: var(--home-accent);
  flex-shrink: 0;
}

.page-home .coverage-section__img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(110, 127, 128, 0.25);
}

/* 信任说明 */
.page-home .trust-note {
  border-top: 1px solid rgba(110, 127, 128, 0.25);
  background: var(--home-panel);
}

.page-home .trust-note__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 28px;
  align-items: flex-start;
}

.page-home .trust-note__text {
  font-size: 14px;
  color: var(--home-ink-dim);
  margin: 0;
}

.page-home .trust-note__link {
  font-size: 14px;
  color: var(--home-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .trust-note__link:hover {
  border-bottom-color: var(--home-accent);
}

/* 平板及以上 */
@media (min-width: 768px) {
  .page-home .section {
    padding: 96px 0;
  }

  .page-home .hero__frame {
    padding: 64px 72px;
    margin: 100px auto 60px;
  }

  .page-home .tool-dock__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .score-strip__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .score-card {
    grid-template-columns: 80px 1fr 64px 1fr 48px;
    padding: 20px 16px;
  }

  .page-home .export-section__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }

  .page-home .export-section__panel {
    padding: 28px;
  }

  .page-home .favorite-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .page-home .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .coverage-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .page-home .trust-note__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .page-home .timeline__item {
    padding: 28px 0 28px 48px;
    margin-left: 32px;
  }
}

/* 桌面 */
@media (min-width: 1024px) {
  .page-home .section {
    padding: 120px 0;
  }

  .page-home .score-strip__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .hero__meta {
    gap: 64px;
  }

  .page-home .favorite-section__grid {
    gap: 80px;
  }

  .page-home .update-section .container {
    max-width: 900px;
  }
}
