.page-home {
  --home-radius: 18px;
  --home-edge: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
  display: block;
}

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: clamp(20px, 3vw, 34px);
}

.page-home .home-hero {
  padding: clamp(16px, 2.4vw, 26px) 0 clamp(32px, 5vw, 64px);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

/* ---------- 首屏主块 ---------- */
.page-home .hero-main {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  padding: clamp(24px, 5vw, 56px);
  clip-path: var(--home-edge);
  border-radius: var(--home-radius);
  background: linear-gradient(165deg, #0d2a47 0%, #04101f 88%);
}

.page-home .hero-main__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .hero-main__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .hero-main__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 47, 0.3) 0%, rgba(4, 16, 31, 0.95) 70%),
    repeating-linear-gradient(114deg, rgba(43, 228, 197, 0.09) 0 1px, transparent 1px 48px);
}

.page-home .hero-main h1 {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 7.4vw, 78px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--paper);
}

.page-home .hero-main h1 .hl {
  display: inline-block;
  font-style: normal;
  color: var(--cyan);
  border-bottom: 3px solid var(--shot);
  padding-bottom: 2px;
}

.page-home .hero-main__lead {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
  color: rgba(244, 235, 221, 0.82);
}

.page-home .hero-main__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .hero-signals {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
}

.page-home .hero-signal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.page-home .hero-signal__k {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .hero-signal__v {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 235, 221, 0.9);
}

/* ---------- 首屏拼贴小块 ---------- */
.page-home .hero-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--home-radius);
  background: rgba(13, 42, 71, 0.55);
  backdrop-filter: blur(8px);
}

.page-home .tile-tag {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--volt);
}

.page-home .tile-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.24;
  color: var(--paper);
}

.page-home .tile-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 235, 221, 0.75);
}

.page-home .tile-text--strong {
  color: rgba(244, 235, 221, 0.95);
}

.page-home .tile-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 228, 197, 0.45);
  padding-bottom: 2px;
}

.page-home .tile-link:hover,
.page-home .tile-link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.page-home .tile-heat {
  background:
    radial-gradient(circle at 78% 12%, rgba(217, 58, 47, 0.55), transparent 62%),
    linear-gradient(150deg, rgba(255, 122, 61, 0.35), rgba(13, 42, 71, 0.75));
  border-color: rgba(255, 122, 61, 0.45);
  justify-content: flex-end;
}

.page-home .tile-stat {
  margin: 0;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(52px, 8vw, 76px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.page-home .tile-stat__unit {
  font-size: 0.32em;
  margin-left: 4px;
  color: rgba(244, 235, 221, 0.8);
}

.page-home .tile-schedule {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: end;
}

.page-home .schedule-media {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 18px));
}

.page-home .schedule-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 2 / 1;
}

/* ---------- 通用区块 ---------- */
.page-home .home-section {
  padding: clamp(44px, 7vw, 92px) 0;
}

.page-home .section-head {
  display: grid;
  gap: 14px;
  max-width: 60ch;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.page-home .section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4.4vw, 48px);
  line-height: 1.1;
  color: var(--paper);
}

.page-home .section-head p {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: rgba(244, 235, 221, 0.76);
}

/* ---------- 赛程区：暖纸实色层 ---------- */
.page-home .schedule-block {
  padding: clamp(22px, 4vw, 48px);
  border-radius: 24px;
  background: var(--paper);
  color: var(--graphite);
}

.page-home .schedule-block .section-head h2 {
  color: var(--graphite);
}

.page-home .schedule-block .section-head p {
  color: rgba(18, 20, 23, 0.72);
}

.page-home .schedule-block .eyebrow {
  color: #0f7a6b;
}

.page-home .home-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.page-home .schedule-block .chip {
  padding: 8px 14px;
  border: 1px solid rgba(18, 20, 23, 0.18);
  border-radius: 999px;
  background: rgba(18, 20, 23, 0.04);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.page-home .schedule-block .chip[data-active="true"] {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--paper);
}

.page-home .track-rail {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding-bottom: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .track-item {
  flex: 0 0 min(310px, 84vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(18, 20, 23, 0.12);
  border-left: 4px solid var(--cyan);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.page-home .track-item[data-filter-item="football"] { border-left-color: var(--shot); }
.page-home .track-item[data-filter-item="basketball"] { border-left-color: var(--volt); }
.page-home .track-item[data-filter-item="tennis"] { border-left-color: #0f7a6b; }
.page-home .track-item[data-filter-item="multi"] { border-left-color: var(--heat); }

.page-home .track-item__league {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(18, 20, 23, 0.6);
}

.page-home .track-item__match {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  color: var(--graphite);
}

.page-home .track-item__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(18, 20, 23, 0.68);
}

.page-home .track-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(18, 20, 23, 0.16);
}

.page-home .track-item__note {
  font-size: 12px;
  color: rgba(18, 20, 23, 0.55);
}

/* ---------- 收藏切换（本地演示） ---------- */
.page-home .fav {
  position: relative;
  flex: none;
}

.page-home .fav__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .fav__label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid rgba(18, 20, 23, 0.2);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(18, 20, 23, 0.7);
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .fav__mark {
  color: rgba(18, 20, 23, 0.35);
  transition: color 180ms var(--ease);
}

.page-home .fav__text--on {
  display: none;
}

.page-home .fav__input:checked + .fav__label {
  background: var(--gold);
  border-color: #d9a234;
  color: #3a2a06;
}

.page-home .fav__input:checked + .fav__label .fav__mark {
  color: #8a5a00;
}

.page-home .fav__input:checked + .fav__label .fav__text {
  display: none;
}

.page-home .fav__input:checked + .fav__label .fav__text--on {
  display: inline;
}

.page-home .fav__input:focus-visible + .fav__label {
  outline: 2px solid var(--ink-2);
  outline-offset: 2px;
}

.page-home .schedule-foot {
  margin: 22px 0 0;
}

.page-home .schedule-block .btn--quiet {
  background: var(--graphite);
  color: var(--paper);
  border-color: var(--graphite);
}

/* ---------- 射门区 ---------- */
.page-home .shot-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.page-home .shot-media {
  margin: 0;
}

.page-home .shot-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 7;
  border-radius: 16px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 34px));
}

.page-home .shot-media__caption {
  margin-top: 12px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(244, 235, 221, 0.55);
}

.page-home .shot-copy h2 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(25px, 4vw, 44px);
  line-height: 1.12;
  color: var(--paper);
}

.page-home .shot-copy > p {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: rgba(244, 235, 221, 0.78);
}

.page-home .shot-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
}

.page-home .shot-stat__num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  color: var(--shot);
}

.page-home .shot-stat__unit {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: rgba(244, 235, 221, 0.7);
}

.page-home .shot-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0 0 22px;
  padding: 0;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
}

.page-home .shot-metrics li {
  padding: 12px 14px;
  background: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(244, 235, 221, 0.86);
}

.page-home .refresh-states {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}

.page-home .refresh-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12.5px;
  color: rgba(244, 235, 221, 0.85);
}

.page-home .refresh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 235, 221, 0.4);
}

.page-home .refresh-state--live .refresh-dot {
  background: var(--cyan);
  animation: homePulse 1.9s ease-in-out infinite;
}

.page-home .refresh-state--done .refresh-dot {
  background: var(--volt);
}

.page-home .refresh-state--retry .refresh-dot {
  background: var(--heat);
}

.page-home .shot-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(244, 235, 221, 0.62);
}

@keyframes homePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43, 228, 197, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(43, 228, 197, 0); }
}

/* ---------- 收藏区 ---------- */
.page-home .fav-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.page-home .fav-copy h2 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(25px, 4vw, 44px);
  line-height: 1.12;
  color: var(--paper);
}

.page-home .fav-copy > p {
  margin: 0 0 20px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: rgba(244, 235, 221, 0.78);
}

.page-home .fav-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
}

.page-home .fav-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(244, 235, 221, 0.72);
}

.page-home .fav-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .fav-points strong {
  color: var(--paper);
  font-weight: 600;
}

.page-home .fav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .fav-media {
  margin: 0;
}

.page-home .fav-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
}

.page-home .fav-media__caption {
  margin-top: 12px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(244, 235, 221, 0.55);
}

/* ---------- 更新节拍 ---------- */
.page-home .beat-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
}

.page-home .beat-cell {
  padding: clamp(20px, 3vw, 32px);
  background: var(--ink-2);
}

.page-home .beat-num {
  margin: 0 0 8px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}

.page-home .beat-unit {
  font-size: 0.45em;
  margin-left: 3px;
}

.page-home .beat-label {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 235, 221, 0.68);
}

/* ---------- 本地服务 ---------- */
.page-home .local-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 56px);
}

.page-home .local-head h2 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(25px, 4vw, 44px);
  line-height: 1.14;
  color: var(--paper);
}

.page-home .local-head p {
  margin: 0 0 22px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: rgba(244, 235, 221, 0.78);
}

.page-home .local-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.page-home .local-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .local-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .local-year {
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--shot);
}

.page-home .local-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .local-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 235, 221, 0.68);
}

/* ---------- 收束 ---------- */
.page-home .close-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(105deg, rgba(13, 42, 71, 0.95), rgba(4, 16, 31, 0.98)),
    repeating-linear-gradient(70deg, rgba(43, 228, 197, 0.06) 0 1px, transparent 1px 40px);
}

.page-home .close-copy h2 {
  margin: 12px 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.8vw, 40px);
  line-height: 1.14;
  color: var(--paper);
}

.page-home .close-copy p {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 235, 221, 0.76);
}

.page-home .close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 断点 ---------- */
@media (min-width: 600px) {
  .page-home .hero-signals {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .page-home .tile-schedule {
    grid-template-columns: 1fr 150px;
  }

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

@media (min-width: 900px) {
  .page-home .beat-band {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .shot-layout,
  .page-home .fav-layout,
  .page-home .local-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .page-home .fav-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .page-home .local-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .page-home .close-band {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "main main main main main main main ver ver ver heat heat"
      "main main main main main main main sch sch sch sch sch";
    grid-auto-rows: minmax(0, auto);
  }

  .page-home .hero-main { grid-area: main; }
  .page-home .tile-version { grid-area: ver; }
  .page-home .tile-heat { grid-area: heat; }
  .page-home .tile-schedule { grid-area: sch; }

  .page-home .tile-heat {
    align-items: flex-end;
    text-align: right;
  }

  .page-home .tile-heat .tile-text {
    font-size: 12.5px;
  }

  .page-home .track-item {
    flex-basis: 290px;
  }
}

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

  .page-home .chip,
  .page-home .fav__label,
  .page-home .fav__mark {
    transition: none;
  }
}
<<<END>>>
