.page-home {
  --home-block-gap: clamp(52px, 7.5vw, 96px);
  --home-card-pad: clamp(18px, 2.4vw, 26px);
  color: var(--text);
}

/* ---------- 顶部轮次条 ---------- */
.page-home .home-ribbon {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(96deg, rgba(31, 224, 122, .10), rgba(0, 214, 208, .05) 46%, rgba(255, 61, 139, .09));
}
.page-home .home-ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding: 13px 0;
  font-size: 13px;
  color: var(--text-soft);
}
.page-home .home-ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.page-home .home-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 224, 122, .16);
  animation: home-pulse 2.4s ease-in-out infinite;
}
.page-home .home-ribbon-link {
  margin-left: auto;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 214, 208, .4);
  padding-bottom: 2px;
}
.page-home .home-ribbon-link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}
@keyframes home-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .42; transform: scale(.78); }
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6.5vw, 84px) 0 clamp(46px, 7.5vw, 92px);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(880px 520px at 78% 10%, rgba(0, 214, 208, .15), transparent 62%),
    radial-gradient(660px 460px at 8% 92%, rgba(255, 61, 139, .11), transparent 60%);
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: repeating-linear-gradient(112deg, rgba(147, 167, 159, .05) 0 1px, transparent 1px 118px);
}
.page-home .home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 5vw, 54px);
  align-items: start;
}
.page-home .home-hero-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 214, 208, .07);
  color: var(--cyan);
  font-size: 12.5px;
  letter-spacing: .1em;
}
.page-home .home-hero-title {
  margin: 0 0 20px;
  max-width: 15em;
  font-size: clamp(29px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--cream);
  transform: skewX(-2deg);
  transform-origin: left bottom;
}
.page-home .home-hero-lede {
  max-width: 34em;
  color: var(--text-soft);
}
.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}
.page-home .home-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--line-soft);
  overflow: hidden;
}
.page-home .home-hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 16px;
  background: var(--panel-deep);
}
.page-home .home-hero-stats .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(19px, 3.4vw, 26px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--green);
  white-space: nowrap;
}
.page-home .home-hero-stats .stat:nth-child(2n) .stat-value {
  color: var(--cyan);
}
.page-home .home-hero-stats .stat-label {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--text-dim);
}

.page-home .home-hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-deep);
  box-shadow: var(--shadow-2);
  aspect-ratio: 6 / 7;
}
.page-home .home-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}
.page-home .home-hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-home .home-hero-anno {
  position: absolute;
  right: 10px;
  bottom: 18px;
  color: var(--stone);
}

/* ---------- 区块骨架 ---------- */
.page-home .home-block {
  position: relative;
  padding: var(--home-block-gap) 0;
  border-top: 1px solid var(--line-soft);
}
.page-home .home-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: clamp(26px, 3.6vw, 44px);
}
.page-home .home-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(52px, 10vw, 96px);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 106, 74, .68);
  transform: rotate(-3deg);
  transform-origin: left center;
}
.page-home .home-head-title {
  margin: 0 0 10px;
  font-size: clamp(23px, 3.9vw, 38px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--cream);
  transform: skewX(-2deg);
  transform-origin: left bottom;
}
.page-home .home-head-note {
  margin: 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
}

/* ---------- 01 四条线 ---------- */
.page-home .home-lines-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.page-home .home-line-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--home-card-pad);
  border-radius: var(--radius);
  background: var(--panel-deep);
  transition: border-color .28s ease, transform .28s ease;
}
.page-home .home-line-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
}
.page-home .home-line-tag {
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--clay);
}
.page-home .home-line-card .card-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--cream);
}
.page-home .home-line-card .card-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-soft);
}
.page-home .home-line-snap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}
.page-home .home-line-snap .num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}
.page-home .home-line-snap-label {
  font-size: 12.5px;
  color: var(--text-dim);
}
.page-home .home-line-link {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 214, 208, .38);
  padding-bottom: 2px;
}
.page-home .home-line-link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---------- 02 位次滑轨 ---------- */
.page-home .home-rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-deep);
  overflow: hidden;
}
.page-home .home-rank-row {
  display: grid;
  grid-template-columns: 26px minmax(48px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  transition: background .24s ease;
}
.page-home .home-rank-row:last-child {
  border-bottom: 0;
}
.page-home .home-rank-row:hover {
  background: var(--panel-mid);
}
.page-home .home-rank-pos {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--stone);
}
.page-home .home-rank-name {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.page-home .home-rank-name:hover {
  color: var(--green);
}
.page-home .home-rank-track {
  min-width: 0;
}
.page-home .home-rank-pts {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  min-width: 2.2em;
  text-align: right;
}
.page-home .home-rank-trend {
  display: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  min-width: 2.2em;
  text-align: right;
}
.page-home .home-rank-trend--up { color: var(--green); }
.page-home .home-rank-trend--down { color: var(--magenta); }
.page-home .home-rank-trend--flat { color: var(--stone); }
.page-home .home-rank-row:first-child .rank-bar-fill { background: linear-gradient(90deg, var(--cyan), var(--green)); }
.page-home .home-ranks-figure {
  margin: clamp(26px, 3.6vw, 40px) 0 0;
}

/* ---------- 03 射门热区 ---------- */
.page-home .home-heat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 40px);
  align-items: start;
}
.page-home .home-heat-figure {
  margin: 0;
}
.page-home .home-heat-body {
  min-width: 0;
}
.page-home .seg-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.page-home .seg-tab {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 9px 22px;
  cursor: pointer;
  transition: color .24s ease, border-color .24s ease, background .24s ease;
}
.page-home .seg-tab:hover {
  color: var(--green);
  border-color: var(--green);
}
.page-home .seg-tab[aria-selected="true"] {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
}
.page-home .home-heat-panel {
  padding: var(--home-card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-deep);
}
.page-home .home-heat-panel[hidden] {
  display: none;
}
.page-home .home-heat-map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  background: rgba(17, 32, 27, .7);
}
.page-home .home-heat-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 22px 0 0;
  padding: 0;
}
.page-home .home-heat-facts > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}
.page-home .home-heat-facts dt {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-dim);
}
.page-home .home-heat-facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  white-space: nowrap;
}
.page-home .home-heat-panel:nth-of-type(2) .home-heat-facts dd {
  color: var(--orange);
}
.page-home .home-heat-note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-soft);
}
.page-home .home-heat-note .num {
  font-family: var(--font-mono);
  color: var(--magenta);
}

/* ---------- 04 轮次时间轴 ---------- */
.page-home .home-rounds-figure {
  margin: 0 0 clamp(24px, 3.4vw, 38px);
}
.page-home .home-rounds-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 26px 0 20px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  -webkit-overflow-scrolling: touch;
}
.page-home .home-rounds-scroll:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.page-home .home-round-list {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 0 4px;
  list-style: none;
  min-width: max-content;
  position: relative;
}
.page-home .home-round-list::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 15px;
  height: 1px;
  background: linear-gradient(90deg, var(--stone), var(--line-soft));
  opacity: .5;
}
.page-home .home-round {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: var(--ink);
  color: var(--stone);
  font-size: 11px;
}
.page-home .home-round .num {
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.page-home .home-round.is-done {
  border-color: rgba(0, 214, 208, .45);
  color: var(--cyan);
  background: var(--panel-deep);
}
.page-home .home-round.is-now {
  border-color: var(--green);
  color: var(--ink);
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(31, 224, 122, .18);
  animation: home-now-pulse 2s ease-in-out infinite;
}
@keyframes home-now-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(31, 224, 122, .18); }
  50% { box-shadow: 0 0 0 11px rgba(31, 224, 122, .05); }
}
.page-home .home-rounds-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--line-soft);
  overflow: hidden;
}
.page-home .home-rounds-fact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 15px 17px;
  background: var(--panel-deep);
}
.page-home .home-rounds-fact-label {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text-dim);
}
.page-home .home-rounds-fact-value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
}
.page-home .home-rounds-fact-value .num {
  font-family: var(--font-mono);
  color: var(--green);
}

/* ---------- 05 更新节奏 ---------- */
.page-home .home-cadence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.page-home .home-cadence-card {
  padding: var(--home-card-pad);
  border-radius: var(--radius);
}
.page-home .home-cadence-step {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .01em;
}
.page-home .home-cadence-card .card-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--cream);
}
.page-home .home-cadence-card .card-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-soft);
}
.page-home .home-cadence-team {
  margin: clamp(24px, 3.2vw, 36px) 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--clay);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-soft);
}
.page-home .home-cadence-team a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 214, 208, .38);
}
.page-home .home-cadence-team a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---------- 06 入口 ---------- */
.page-home .home-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.page-home .home-start-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--home-card-pad);
  border-radius: var(--radius);
  background: var(--panel-deep);
  transition: border-color .28s ease, transform .28s ease;
}
.page-home .home-start-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
}
.page-home .home-start-card .card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--cream);
}
.page-home .home-start-card .card-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-soft);
}
.page-home .home-start-link {
  align-self: flex-start;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 224, 122, .4);
  padding-bottom: 2px;
}
.page-home .home-start-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.page-home .home-start-foot {
  margin: clamp(24px, 3.2vw, 34px) 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-dim);
}
.page-home .home-start-foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 214, 208, .38);
}
.page-home .home-start-foot a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 640px) {
  .page-home .home-head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 22px;
  }
  .page-home .home-num {
    font-size: clamp(64px, 8vw, 104px);
  }
  .page-home .home-lines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-cadence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-ribbon-link {
    margin-left: auto;
  }
  .page-home .home-rank-row {
    grid-template-columns: 30px minmax(56px, auto) minmax(0, 1fr) auto 2.6em;
    gap: 14px;
    padding: 10px 18px;
  }
  .page-home .home-rank-trend {
    display: block;
  }
  .page-home .home-rounds-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(38px, 4.6vw, 64px);
  }
  .page-home .home-hero-visual {
    margin-top: -30px;
  }
  .page-home .home-lines-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .home-heat-grid {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(26px, 3.4vw, 46px);
  }
  .page-home .home-heat-figure {
    position: sticky;
    top: 96px;
  }
  .page-home .home-cadence-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .home-start-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-rounds-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .home-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-dot,
  .page-home .home-round.is-now {
    animation: none;
  }
  .page-home .home-line-card,
  .page-home .home-start-card,
  .page-home .home-rank-row {
    transition: none;
  }
  .page-home .home-line-card:hover,
  .page-home .home-start-card:hover {
    transform: none;
  }
}
