.page-home {
  --home-glow-cyan: rgba(61, 240, 208, .16);
  --home-glow-amber: rgba(255, 162, 75, .14);
  display: block;
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
}

.page-home .breadcrumb {
  width: var(--shell-wide);
  margin: 1.25rem auto 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--muted);
}

.page-home .breadcrumb__sep {
  color: var(--line);
}

/* ---------- 首屏框景 ---------- */
.page-home .hero {
  width: var(--shell-wide);
  margin: 1rem auto 0;
}

.page-home .hero__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4.5vw, 3.25rem);
  background:
    radial-gradient(110% 80% at 6% -12%, var(--home-glow-cyan), transparent 62%),
    radial-gradient(90% 72% at 102% 112%, var(--home-glow-amber), transparent 60%),
    linear-gradient(165deg, #0B2C3B 0%, #061726 58%, #1B1638 100%);
}

.page-home .hero__frame::before,
.page-home .hero__frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 2;
  pointer-events: none;
  opacity: .7;
}

.page-home .hero__frame::before {
  top: 12px;
  left: 12px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
  border-top-left-radius: 6px;
}

.page-home .hero__frame::after {
  right: 12px;
  bottom: 12px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  border-bottom-right-radius: 6px;
}

.page-home .hero__scale {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  z-index: 2;
  opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(61, 240, 208, .55) 0 1px, transparent 1px 14px);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: .3;
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.page-home .hero__main .lede {
  max-width: 46ch;
  margin: 1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--text);
}

.page-home .display-title {
  margin: .5rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--text);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.page-home .pill-cta {
  display: inline-flex;
  align-items: center;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background:
    linear-gradient(#061726, #061726) padding-box,
    linear-gradient(100deg, var(--amber), var(--cyan)) border-box;
  color: var(--amber);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}

.page-home .pill-cta:hover,
.page-home .pill-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 162, 75, .25);
  color: var(--mint);
}

.page-home .hero__focus {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.page-home .hero__focus-time {
  display: block;
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .hero__focus-text {
  display: block;
  margin-top: .18rem;
  font-size: .84rem;
  color: var(--muted);
}

.page-home .hero__rail {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.page-home .hero__rail-label {
  margin: 0 0 .9rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-home .hero__rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .8rem;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--text);
}

.page-home .hero__rail-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}

.page-home .hero__note {
  margin: 1.1rem 0 0;
  font-size: .78rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: .45rem;
  border-radius: 50%;
}

.page-home .dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(61, 240, 208, .8);
}

.page-home .dot--amber {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(255, 162, 75, .75);
}

.page-home .dot--coral {
  background: var(--coral);
  box-shadow: 0 0 10px rgba(255, 110, 110, .75);
}

/* ---------- 章节基座 ---------- */
.page-home .section {
  width: var(--shell-wide);
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3.6vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(11, 44, 59, .45), rgba(6, 23, 38, .78));
}

.page-home .section--teal {
  background: linear-gradient(160deg, #0B2C3B 0%, #061726 78%);
}

.page-home .section--indigo {
  background: linear-gradient(160deg, #1B1638 0%, #061726 82%);
}

.page-home .section--wine {
  background: linear-gradient(160deg, #3A1B2A 0%, #061726 84%);
}

.page-home .section-head {
  max-width: 66ch;
}

.page-home .eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .section-title {
  margin: .4rem 0 .8rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-home .prose {
  margin: 0;
  font-size: .96rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .card-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}

.page-home .section-foot {
  margin: 1.5rem 0 0;
  font-size: .86rem;
  color: var(--muted);
}

.page-home .link-inline {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 240, 208, .35);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .link-inline:hover,
.page-home .link-inline:focus-visible {
  color: var(--mint);
  border-color: var(--mint);
}

/* ---------- 今日焦点时间线 ---------- */
.page-home .timeline-jump {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  margin: 1.5rem 0 1rem;
  padding-bottom: .35rem;
}

.page-home .timeline-jump a {
  flex: none;
  padding: .35rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
  font-size: .8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .timeline-jump a:hover,
.page-home .timeline-jump a:focus-visible {
  color: var(--cyan);
  border-color: rgba(61, 240, 208, .5);
}

.page-home .timeline-scroll {
  overflow-x: auto;
  padding-bottom: .75rem;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(228px, 1fr);
  gap: 1.25rem;
}

.page-home .timeline__item {
  position: relative;
  padding: 1.4rem .25rem 0;
  border-top: 1px dashed var(--line);
  scroll-margin-top: 120px;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(61, 240, 208, .8);
}

.page-home .timeline__item:nth-child(3)::before,
.page-home .timeline__item:nth-child(6)::before {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(255, 162, 75, .75);
}

.page-home .timeline__item:nth-child(4)::before {
  background: var(--coral);
  box-shadow: 0 0 10px rgba(255, 110, 110, .75);
}

.page-home .timeline__time {
  margin: 0 0 .5rem;
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  letter-spacing: .05em;
  color: var(--text);
}

.page-home .timeline__meta {
  margin: .5rem 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .rank-move {
  display: inline-block;
  margin: .75rem 0 0;
  padding: .22rem .65rem;
  border-radius: var(--r-pill);
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
  font-weight: 700;
}

.page-home .rank-move--up {
  color: var(--cyan);
  background: rgba(61, 240, 208, .13);
}

.page-home .rank-move--down {
  color: var(--coral);
  background: rgba(255, 110, 110, .13);
}

.page-home .rank-move--flat {
  color: var(--muted);
  background: rgba(157, 180, 196, .13);
}

/* ---------- 图片容器 ---------- */
.page-home .media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgba(6, 23, 38, .6);
}

.page-home .media-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .6rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(4, 16, 28, .92));
  font-size: .78rem;
  line-height: 1.5;
  color: var(--muted);
}

.page-home .league-banner {
  margin: 1.75rem 0 2rem;
}

.page-home .league-banner img {
  aspect-ratio: 1200 / 560;
}

/* ---------- 分类标签切换 ---------- */
.page-home .tablist {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  padding-bottom: .35rem;
}

.page-home .tab {
  flex: none;
  padding: .6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(6, 23, 38, .75);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.page-home .tab:hover {
  color: var(--mint);
  border-color: rgba(61, 240, 208, .45);
}

.page-home .tab[aria-selected="true"] {
  color: #04101C;
  border-color: transparent;
  background: linear-gradient(100deg, var(--cyan), var(--mint));
}

.page-home .tab:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.page-home .tabpanel {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgba(6, 23, 38, .55);
}

.page-home .tabpanel + .tabpanel {
  margin-top: 1rem;
}

.page-home .tabpanel.is-entering {
  animation: home-fade .16s var(--ease) both;
}

@keyframes home-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-home .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}

.page-home .chip {
  display: inline-flex;
  align-items: center;
  padding: .4rem .95rem;
  border: 1px solid rgba(61, 240, 208, .28);
  border-radius: var(--r-pill);
  background: rgba(61, 240, 208, .08);
  color: var(--text);
  font-size: .82rem;
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .chip:hover,
.page-home .chip:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: var(--mint);
}

/* ---------- 规模数字 ---------- */
.page-home .stat-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home .stat {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgba(6, 23, 38, .62);
}

.page-home .stat__value {
  display: block;
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .stat__label {
  display: block;
  margin-top: .3rem;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 排名变动速览 ---------- */
.page-home .ranking__grid {
  display: grid;
  gap: 2rem;
}

.page-home .rank-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.page-home .rank-row {
  padding: .95rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgba(6, 23, 38, .6);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}

.page-home .rank-row:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 240, 208, .45);
}

.page-home .rank-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-home .rank-row__league {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}

.page-home .rank-row__head .rank-move {
  margin: 0;
  flex: none;
}

.page-home .rank-row__meta {
  margin: .6rem 0 0;
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
  color: var(--muted);
}

.page-home .data-bar {
  height: 8px;
  margin-top: .7rem;
  border-radius: var(--r-pill);
  background: rgba(30, 60, 82, .7);
  overflow: hidden;
}

.page-home .data-bar__fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  transition: width .24s var(--ease);
}

.page-home .rank-row--down .data-bar__fill {
  background: linear-gradient(90deg, var(--coral), var(--amber));
}

.page-home .ranking__figure img {
  aspect-ratio: 9 / 7;
}

/* ---------- 手机端路径 ---------- */
.page-home .mobile-path__grid {
  display: grid;
  gap: 2rem;
}

.page-home .mobile-path__figure img {
  aspect-ratio: 5 / 7;
}

.page-home .mobile-path__body .section-title {
  margin-top: .4rem;
}

.page-home .steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.page-home .steps__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgba(6, 23, 38, .55);
}

.page-home .steps__num {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-numeric);
  font-weight: 700;
  color: #04101C;
  background: linear-gradient(120deg, var(--amber), var(--cyan));
}

.page-home .steps__item p {
  margin: .4rem 0 0;
  font-size: .88rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .mobile-path__note {
  margin: 1.25rem 0 1.5rem;
  font-size: .84rem;
  line-height: 1.7;
  color: var(--mint);
}

/* ---------- 常见问题 ---------- */
.page-home .faq-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.page-home .faq-item {
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgba(6, 23, 38, .6);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}

.page-home .faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 162, 75, .45);
}

.page-home .faq-item p {
  margin: .6rem 0 .9rem;
  font-size: .88rem;
  line-height: 1.76;
  color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 3rem;
  }

  .page-home .hero__main {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .hero__rail {
    grid-column: 1;
    grid-row: 1;
    border-top: 0;
    border-right: 1px solid var(--line);
    padding: .35rem 2rem 0 0;
  }

  .page-home .ranking__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
    gap: 3rem;
  }

  .page-home .mobile-path__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    align-items: start;
    gap: 3rem;
  }

  .page-home .faq-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .timeline {
    grid-auto-columns: minmax(210px, 1fr);
  }
}

@media (min-width: 1180px) {
  .page-home .timeline {
    grid-auto-flow: row;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .page-home .timeline-scroll {
    overflow-x: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .pill-cta,
  .page-home .chip,
  .page-home .rank-row,
  .page-home .faq-item,
  .page-home .data-bar__fill {
    transition: none;
  }

  .page-home .pill-cta:hover,
  .page-home .chip:hover,
  .page-home .rank-row:hover,
  .page-home .faq-item:hover {
    transform: none;
  }

  .page-home .tabpanel.is-entering {
    animation: none;
  }
}
