.page-home {
  position: relative;
  display: block;
  --ph-sec: clamp(46px, 6vw, 92px);
  --ph-card: clamp(18px, 2vw, 26px);
  --ph-gap: clamp(16px, 2.2vw, 28px);
}

.page-home .eyebrow {
  margin: 0;
}

.page-home .section-head {
  display: grid;
  gap: 10px;
  max-width: 48em;
  margin-bottom: clamp(22px, 3vw, 38px);
}

.page-home .section-title {
  margin: 0;
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--white);
}

.page-home .section-sub {
  margin: 0;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(72% 62% at 10% 0%, rgba(46, 123, 255, .20), transparent 68%),
    radial-gradient(56% 52% at 94% 16%, rgba(125, 255, 176, .10), transparent 70%),
    radial-gradient(46% 46% at 58% 104%, rgba(255, 122, 24, .10), transparent 72%);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 46px);
  align-items: center;
  padding-block: clamp(28px, 4.4vw, 60px) clamp(34px, 5vw, 72px);
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: clamp(32px, 4vw, 62px);
  }
}

.page-home .hero-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.page-home .hero-title {
  margin: 16px 0 0;
  font-size: clamp(31px, 5.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -.028em;
  font-weight: 800;
  color: var(--white);
  overflow-wrap: break-word;
}

.page-home .hero-lede {
  margin: 18px 0 0;
  max-width: 33em;
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.8;
  color: var(--text);
}

.page-home .hero-actions,
.page-home .sub-actions,
.page-home .season-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero-chip {
  margin-top: 22px;
}

.page-home .hero-visual {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.page-home .hero-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.page-home .hero-frame img,
.page-home .entry-figure img,
.page-home .rhythm-figure img,
.page-home .sub-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .page-home .hero-frame {
    grid-area: 1 / 1;
  }

  .page-home .score-card {
    grid-area: 1 / 1;
    align-self: end;
    justify-self: start;
    width: min(324px, 74%);
    margin: 0 0 22px 22px;
    z-index: 2;
  }
}

/* ---------- 比分卡 ---------- */
.page-home .score-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, #0B2A1F 0%, #05170F 100%);
  padding: 18px 20px 20px;
  box-shadow: 0 30px 66px -42px rgba(0, 0, 0, .95);
}

.page-home .score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .score-league {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}

.page-home .score-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--red);
}

.page-home .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 59, 71, .16);
  animation: ph-pulse 2.4s var(--ease) infinite;
}

@keyframes ph-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.68); }
}

.page-home .score-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 10px;
  padding: 16px 0 14px;
}

.page-home .score-side {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.page-home .score-side--away {
  justify-items: end;
  text-align: right;
}

.page-home .score-team {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
}

.page-home .score-num {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.page-home .score-colon {
  font-family: var(--ff-mono);
  font-size: 24px;
  line-height: 1.6;
  color: var(--mint);
  opacity: .75;
}

.page-home .score-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 双入口 ---------- */
.page-home .entries,
.page-home .index-map,
.page-home .rhythm,
.page-home .speed,
.page-home .subscribe,
.page-home .season {
  padding-block: var(--ph-sec);
  border-top: 1px solid var(--line);
}

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

@media (min-width: 860px) {
  .page-home .entry-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page-home .entry-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: var(--ph-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-home .entry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 255, 176, .38);
}

.page-home .entry-card--v4 {
  border-radius: var(--r-md) var(--r-lg) var(--r-md) var(--r-lg);
  background: linear-gradient(152deg, #0A2B45 0%, #0B2A1F 100%);
}

.page-home .entry-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.page-home .entry-title {
  margin: 0;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.3;
  letter-spacing: -.015em;
  font-weight: 800;
  color: var(--white);
}

.page-home .entry-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text);
}

.page-home .entry-cta {
  justify-self: start;
  margin-top: 4px;
}

.page-home .case-stack {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .case-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(5, 23, 15, .5);
  font-size: 13.5px;
  color: var(--text);
}

.page-home .case-row .num {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--mint);
}

.page-home .case-row span:last-child {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---------- 十二类索引 ---------- */
.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.page-home .filter-btn {
  font: inherit;
  font-size: 13px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.page-home .filter-btn:hover {
  color: var(--text);
  border-color: rgba(46, 123, 255, .6);
}

.page-home .filter-btn.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

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

@media (min-width: 620px) {
  .page-home .cat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .page-home .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-home .cat-item {
  display: block;
  min-width: 0;
}

.page-home .cat-link {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 156px;
  padding: 20px 20px 22px;
  background: var(--ink);
  color: inherit;
  text-decoration: none;
  transition: background .2s var(--ease);
}

.page-home .cat-link:hover,
.page-home .cat-link:focus-visible {
  background: var(--panel);
}

.page-home .cat-idx {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--mint);
}

.page-home .cat-name {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--white);
}

.page-home .cat-desc {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--muted);
}

.page-home .cat-go {
  align-self: end;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--blue);
}

/* ---------- 一天节奏 ---------- */
.page-home .rhythm-figure {
  margin: 0 0 clamp(26px, 3vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.6vw, 34px);
}

@media (min-width: 820px) {
  .page-home .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-home .tl-node {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-home .tl-node::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: ph-pulse 2.4s var(--ease) infinite;
}

.page-home .tl-node:nth-child(2)::before {
  animation-delay: .8s;
  background: var(--blue);
}

.page-home .tl-node:nth-child(3)::before {
  animation-delay: 1.6s;
  background: var(--orange);
}

.page-home .tl-time {
  display: block;
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--orange);
}

.page-home .tl-title {
  margin: 8px 0 7px;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.page-home .tl-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 0.8 秒 ---------- */
.page-home .speed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 52px);
}

@media (min-width: 900px) {
  .page-home .speed-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
}

.page-home .speed-main {
  min-width: 0;
}

.page-home .bar-list {
  display: grid;
  gap: 20px;
}

.page-home .bar-row {
  display: grid;
  gap: 9px;
}

.page-home .bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.page-home .bar-value {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--text);
}

.page-home .bar-track {
  height: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  overflow: hidden;
}

.page-home .bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transform-origin: left center;
  animation: ph-grow .9s var(--ease) both;
}

.page-home .bar-fill--old {
  width: 100%;
  background: linear-gradient(90deg, #17453A 0%, #2E7BFF 100%);
}

.page-home .bar-fill--new {
  width: 60%;
  background: linear-gradient(90deg, #7DFFB0 0%, #FF7A18 100%);
  animation-delay: .12s;
}

@keyframes ph-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.page-home .speed-aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-home .delta-badge {
  display: grid;
  gap: 6px;
  padding: 20px 24px 22px;
  border: 1px solid rgba(255, 122, 24, .42);
  border-radius: var(--r-lg);
  background: rgba(255, 122, 24, .07);
}

.page-home .delta-num {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-home .delta-label {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

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

.page-home .speed-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .speed-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 123, 255, .16);
}

/* ---------- 订阅与收藏 ---------- */
.page-home .sub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .sub-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.page-home .sub-copy {
  min-width: 0;
}

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

.page-home .sub-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.74;
  color: var(--text);
}

.page-home .sub-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(125, 255, 176, .14);
}

.page-home .sub-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

@media (min-width: 900px) {
  .page-home .sub-media {
    justify-self: end;
    max-width: 420px;
    width: 100%;
  }
}

/* ---------- 2026 赛季 ---------- */
.page-home .month-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 720px) {
  .page-home .month-strip {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.page-home .month-cell {
  display: grid;
  grid-template-rows: auto 56px;
  align-items: end;
  gap: 8px;
  padding: 10px 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.page-home .month-cell:hover {
  border-color: rgba(125, 255, 176, .42);
  background: rgba(11, 42, 31, .95);
}

.page-home .month-name {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .06em;
  text-align: center;
  color: var(--muted);
}

.page-home .month-bar {
  display: block;
  width: 100%;
  border-radius: 5px 5px 2px 2px;
  align-self: end;
  animation: ph-rise .7s var(--ease) both;
}

.page-home .month-cell--l .month-bar {
  height: 20px;
  background: linear-gradient(180deg, rgba(46, 123, 255, .5) 0%, rgba(46, 123, 255, .08) 100%);
}

.page-home .month-cell--m .month-bar {
  height: 34px;
  background: linear-gradient(180deg, rgba(125, 255, 176, .62) 0%, rgba(125, 255, 176, .1) 100%);
}

.page-home .month-cell--h .month-bar {
  height: 50px;
  background: linear-gradient(180deg, #FF7A18 0%, rgba(255, 122, 24, .14) 100%);
}

@keyframes ph-rise {
  from { transform: scaleY(.15); opacity: .3; }
  to { transform: scaleY(1); opacity: 1; }
}

.page-home .season-note {
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  max-width: 52em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .season-actions {
  margin-top: 24px;
}

/* ---------- 窄屏兜底 ---------- */
@media (max-width: 520px) {
  .page-home .hero-title {
    font-size: 30px;
  }

  .page-home .cat-link {
    min-height: 0;
    padding: 18px 18px 20px;
  }

  .page-home .month-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .score-card {
    padding: 16px 16px 18px;
  }

  .page-home .speed-aside,
  .page-home .sub-copy,
  .page-home .speed-main {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .live-dot,
  .page-home .tl-node::before,
  .page-home .bar-fill,
  .page-home .month-bar {
    animation: none;
  }

  .page-home .entry-card:hover {
    transform: none;
  }
}
