.page-home {
  display: block;
}

/* 首屏 */
.page-home .hero {
  position: relative;
  padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 6vw, 76px);
}
.page-home .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.page-home .hero-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.page-home .hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
  max-width: 22ch;
}
.page-home .hero-lede {
  color: var(--text-soft);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  max-width: 40ch;
  margin: 0 0 10px;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 30px;
}
.page-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.page-home .stat-item {
  margin: 0;
}
.page-home .stat-num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  color: var(--text);
  margin: 0 0 6px;
}
.page-home .stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* 首屏视觉与时间轴 */
.page-home .hero-visual {
  position: relative;
  display: grid;
}
.page-home .hero-visual-bg {
  position: relative;
  width: 100%;
  height: clamp(190px, 46vw, 250px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: brightness(0.5) saturate(0.9) contrast(1.05);
}
.page-home .hero-timeline {
  position: relative;
  z-index: 2;
  margin: -48px auto 0;
  width: calc(100% - 26px);
  padding: 22px clamp(16px, 2vw, 24px) 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 224, 200, 0.24);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}
.page-home .hero-timeline::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background-image:
    repeating-linear-gradient(135deg, var(--red) 0 5px, transparent 5px 11px),
    repeating-linear-gradient(45deg, var(--gold) 0 4px, transparent 4px 13px);
  opacity: 0.85;
}
.page-home .timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.page-home .timeline-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.04em;
  margin: 0;
}
.page-home .timeline-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.page-home .dot-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 59, 78, 0.16);
  animation: home-pulse 2.4s ease-in-out infinite;
}
@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.page-home .region-switch .segmented-list,
.page-home .view-switch .segmented-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.page-home .segmented-btn {
  font-size: 12px;
}
.page-home .timeline-track {
  padding-top: 10px;
}
.page-home .match-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  position: relative;
}
.page-home .match-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--line));
}
.page-home .match-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 8px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 12.5px;
}
.page-home .match-row:last-child {
  border-bottom: 0;
}
.page-home .match-row::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: 1px solid var(--line);
  transform: translateY(-50%);
}
.page-home .match-row.is-live::before {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 59, 78, 0.16);
}
.page-home .match-time {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}
.page-home .match-side {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .match-vs {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--muted);
}
.page-home .match-row .tag {
  grid-column: 1 / -1;
  justify-self: start;
  font-size: 11px;
}
.page-home .view-switch {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.page-home .view-switch-label {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.page-home .align-demo {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
}
.page-home .side-chip {
  font-family: var(--font-data);
  padding: 2px 8px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
}
.page-home .side-chip--home {
  color: var(--cyan);
  border-color: rgba(34, 224, 200, 0.42);
}
.page-home .side-chip--away {
  color: var(--gold);
  border-color: rgba(245, 166, 35, 0.42);
}

/* 档案与直播合流 */
.page-home .profile {
  position: relative;
}
.page-home .profile-grid {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}
.page-home .profile-figure,
.page-home .sync-figure {
  margin: 0;
}
.page-home .profile-figure img,
.page-home .sync-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.page-home .profile-copy h2,
.page-home .sync-copy h2,
.page-home .section-head h2,
.page-home .rhythm-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 12px 0 16px;
  max-width: 24ch;
}
.page-home .path-list {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-home .path-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}
.page-home .path-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 2px;
  background: var(--cyan);
}

/* 权益同步 */
.page-home .sync-grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.page-home .step-list {
  list-style: none;
  margin: 26px 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.page-home .step-item {
  position: relative;
  padding: 18px 18px 18px 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(18, 22, 29, 0.92), rgba(11, 14, 20, 0.72));
}
.page-home .step-num {
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: var(--font-data);
  font-size: 26px;
  line-height: 1;
  color: var(--red);
}
.page-home .step-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.page-home .step-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.page-home .sync-foot {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}

/* 收藏页预览 */
.page-home .collection-band {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(245, 166, 35, 0.09), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
}
.page-home .section-head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3vw, 38px);
}
.page-home .collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.page-home .collection-card {
  position: relative;
  padding: 28px 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.page-home .collection-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
}
.page-home .collection-card:nth-child(1)::before {
  background-image:
    repeating-linear-gradient(135deg, var(--red) 0 5px, transparent 5px 11px),
    repeating-linear-gradient(45deg, var(--gold) 0 4px, transparent 4px 13px);
}
.page-home .collection-card:nth-child(2)::before {
  background-image:
    repeating-linear-gradient(135deg, var(--cyan) 0 5px, transparent 5px 11px),
    repeating-linear-gradient(45deg, var(--red) 0 4px, transparent 4px 13px);
}
.page-home .collection-card:nth-child(3)::before {
  background-image:
    repeating-linear-gradient(135deg, var(--gold) 0 5px, transparent 5px 11px),
    repeating-linear-gradient(45deg, var(--cyan) 0 4px, transparent 4px 13px);
}
.page-home .collection-card:nth-child(4)::before {
  background-image:
    repeating-linear-gradient(135deg, var(--cyan) 0 5px, transparent 5px 11px),
    repeating-linear-gradient(45deg, var(--gold) 0 4px, transparent 4px 13px);
}
.page-home .collection-card h3 {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
}
.page-home .collection-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.page-home .collection-note {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* 更新节奏与求助 */
.page-home .rhythm-grid {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
}
.page-home .rhythm-list {
  margin: 20px 0 26px;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}
.page-home .rhythm-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.page-home .rhythm-item dt {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
}
.page-home .rhythm-item dd {
  margin: 0;
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  color: var(--cyan);
}
.page-home .rhythm-item:nth-child(2) dd {
  color: var(--text);
}
.page-home .rhythm-item:nth-child(3) dd {
  color: var(--gold);
}
.page-home .help-panel {
  padding: 26px clamp(18px, 2vw, 26px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 224, 200, 0.22);
}
.page-home .help-panel h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
}
.page-home .help-panel p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}
.page-home .help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 地域横幅 */
.page-home .region-banner {
  position: relative;
  margin-top: clamp(40px, 6vw, 84px);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.page-home .region-banner img {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: cover;
  filter: brightness(0.5) saturate(0.85);
}
.page-home .banner-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.15), rgba(7, 9, 13, 0.94));
}
.page-home .banner-copy {
  width: 100%;
  padding-bottom: clamp(24px, 4vw, 46px);
}
.page-home .banner-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 12px 0 14px;
  max-width: 26ch;
}
.page-home .banner-copy p {
  margin: 0 0 22px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

/* 回到顶部 */
.page-home .back-to-top {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(34, 224, 200, 0.35);
  background: rgba(15, 43, 46, 0.72);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
}
.page-home .back-to-top:hover {
  border-color: var(--cyan);
}

/* 响应式 */
@media (min-width: 640px) {
  .page-home .match-row {
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
    font-size: 13.5px;
    gap: 6px 12px;
  }
  .page-home .match-row .tag {
    grid-column: auto;
    justify-self: end;
  }
  .page-home .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-home .hero-visual {
    display: block;
    min-height: 540px;
  }
  .page-home .hero-visual-bg {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .page-home .hero-timeline {
    position: absolute;
    left: clamp(18px, 4%, 44px);
    bottom: -30px;
    margin: 0;
    width: min(88%, 520px);
  }
}

@media (min-width: 920px) {
  .page-home .profile-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .page-home .sync-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .page-home .rhythm-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .page-home .profile-figure {
    margin-top: 32px;
  }
}

@media (min-width: 1000px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  }
}

@media (min-width: 1024px) {
  .page-home .collection-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .collection-card:nth-child(2),
  .page-home .collection-card:nth-child(4) {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .dot-live {
    animation: none;
  }
}
