.page-home {
  --hm-gap: clamp(18px, 2.6vw, 34px);
  --hm-pad-block: clamp(56px, 8vw, 118px);
  background: var(--ink-900);
  color: var(--text);
  overflow-x: hidden;
}

.page-home .hm-zone {
  padding-block: var(--hm-pad-block);
  position: relative;
}

.page-home img {
  max-width: 100%;
}

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

/* ------------------------------------------------------------------
   章节浮标
------------------------------------------------------------------ */
.page-home .chapter-rail {
  display: none;
}

@media (min-width: 1440px) {
  .page-home .chapter-rail {
    display: block;
    position: fixed;
    left: clamp(20px, 3vw, 46px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    padding: 20px 16px;
    border-radius: 24px;
    border: 1px solid rgba(245, 248, 251, .12);
    background: linear-gradient(150deg, rgba(20, 72, 111, .72), rgba(5, 25, 44, .88));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}

.page-home .chapter-rail .rail-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .chapter-rail a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: .78rem;
  line-height: 1.3;
  color: rgba(245, 248, 251, .46);
  transition: color .22s var(--ease), transform .22s var(--ease);
}

.page-home .chapter-rail a .mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(245, 248, 251, .34);
  transition: color .22s var(--ease);
}

.page-home .chapter-rail a:hover,
.page-home .chapter-rail a.is-active {
  color: var(--orange);
  transform: translateX(2px);
}

.page-home .chapter-rail a:hover .mono,
.page-home .chapter-rail a.is-active .mono {
  color: var(--orange);
}

/* ------------------------------------------------------------------
   首屏
------------------------------------------------------------------ */
.page-home .hm-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(96px, 11vw, 156px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  top: -28%;
  right: -12%;
  width: 78vw;
  height: 78vw;
  max-width: 880px;
  max-height: 880px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 106, 0, .2), transparent 66%);
  pointer-events: none;
}

.page-home .hm-hero > .shell {
  position: relative;
  z-index: 1;
}

.page-home .hm-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: .8rem;
  color: rgba(245, 248, 251, .5);
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-home .hm-crumb [aria-current="page"] {
  color: rgba(245, 248, 251, .86);
}

.page-home .hm-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 56px);
}

@media (min-width: 900px) {
  .page-home .hm-hero-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

.page-home .hm-hero-lead .eyebrow {
  color: var(--orange-2);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.page-home .hm-hero-lead h1 {
  font-size: var(--step-hero);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--paper);
  margin: 0 0 20px;
}

.page-home .hm-hero-lead .lede {
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(245, 248, 251, .72);
  margin: 0;
}

.page-home .hm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
}

.page-home .hm-hero-side {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

.page-home .hm-map {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: linear-gradient(150deg, rgba(20, 72, 111, .5), rgba(5, 25, 44, .76));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(16px, 2.4vw, 26px);
}

.page-home .hm-map-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 248, 251, .55);
}

.page-home .hm-map-title .mono {
  font-family: var(--font-mono);
  color: var(--orange);
  letter-spacing: .18em;
}

.page-home .hm-map-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .hm-map-list li + li {
  border-top: 1px solid rgba(245, 248, 251, .09);
}

.page-home .hm-map-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 4px;
  text-decoration: none;
  color: var(--paper);
  transition: transform .22s var(--ease), color .22s var(--ease);
}

.page-home .hm-map-list a:hover {
  transform: translateX(6px);
  color: var(--orange-2);
}

.page-home .hm-map-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--orange);
}

.page-home .hm-map-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-home .hm-map-label {
  font-size: 1rem;
  font-weight: 700;
}

.page-home .hm-map-note {
  font-size: .8rem;
  color: rgba(245, 248, 251, .5);
}

.page-home .hm-hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .hm-ticker {
  list-style: none;
  margin: clamp(30px, 4vw, 48px) 0 0;
  padding: 1px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--radius-md);
  background: rgba(245, 248, 251, .12);
  overflow: hidden;
}

@media (min-width: 760px) {
  .page-home .hm-ticker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .hm-ticker li {
  background: rgba(5, 25, 44, .92);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hm-ticker .mono {
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2.8vw, 1.95rem);
  letter-spacing: .04em;
  color: var(--orange);
  line-height: 1.1;
}

.page-home .hm-ticker span:last-child {
  font-size: .8rem;
  color: rgba(245, 248, 251, .6);
}

/* ------------------------------------------------------------------
   章节公共头
------------------------------------------------------------------ */
.page-home .hm-head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 3.6vw, 44px);
}

.page-home .hm-head h2 {
  font-size: var(--step-section);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 10px 0 14px;
}

.page-home .hm-head .lede {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.page-home .zone--deep .hm-head .lede,
.page-home .zone--jade .hm-head .lede,
.page-home .zone--indigo .hm-head .lede,
.page-home .zone--wine .hm-head .lede {
  color: rgba(245, 248, 251, .72);
}

.page-home .hm-head .eyebrow {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0;
}

/* ------------------------------------------------------------------
   积分榜速览
------------------------------------------------------------------ */
.page-home .hm-rank-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: clamp(26px, 3.6vw, 44px);
}

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

@media (min-width: 880px) {
  .page-home .hm-rank-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
  .page-home .hm-rank-card--b { margin-top: 48px; }
  .page-home .hm-rank-card--c { margin-top: 20px; }
}

.page-home .hm-rank-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(18px, 2.2vw, 26px);
  box-shadow: 0 22px 46px -34px rgba(5, 25, 44, .55);
}

.page-home .hm-rank-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .hm-rank-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-home .hm-rank-rows li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.page-home .hm-rank-rows li:last-child {
  border-bottom: 0;
}

.page-home .hm-rank-pos {
  font-family: var(--font-mono);
  font-size: 1.18rem;
  letter-spacing: .04em;
  color: var(--ink-800);
}

.page-home .hm-rank-rows li:first-child .hm-rank-pos {
  color: var(--orange);
}

.page-home .hm-rank-tag {
  font-size: .84rem;
  color: var(--muted);
}

.page-home .hm-rank-tag--up {
  color: var(--orange);
  font-weight: 600;
}

.page-home .hm-rank-tag--down {
  color: var(--ink-700);
}

.page-home .hm-rank-pts {
  font-family: var(--font-mono);
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--ink-800);
}

.page-home .hm-spark {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 16px;
  color: var(--orange);
}

.page-home .hm-rank-card--b .hm-spark { color: var(--orange-2); }
.page-home .hm-rank-card--c .hm-spark { color: var(--ink-700); }

/* ------------------------------------------------------------------
   便捷访问
------------------------------------------------------------------ */
.page-home .hm-access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
}

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

.page-home .hm-access-media .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .hm-access-body .eyebrow {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--neon);
  margin: 0 0 10px;
}

.page-home .hm-access-body h2 {
  font-size: var(--step-section);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--paper);
  margin: 0 0 16px;
}

.page-home .hm-access-body .lede {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(245, 248, 251, .74);
}

.page-home .hm-steps {
  list-style: none;
  margin: clamp(24px, 3.2vw, 34px) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .hm-steps li {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 248, 251, .16);
  background: rgba(245, 248, 251, .06);
}

.page-home .hm-step-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--neon);
  padding-top: 2px;
}

.page-home .hm-steps h3 {
  margin: 0 0 5px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .hm-steps p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(245, 248, 251, .7);
}

.page-home .hm-access-btn {
  margin-top: clamp(22px, 3vw, 30px);
}

/* ------------------------------------------------------------------
   赛前前瞻
------------------------------------------------------------------ */
.page-home .hm-dim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hm-gap);
}

@media (min-width: 640px) {
  .page-home .hm-dim-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .page-home .hm-dim-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .hm-dim {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #FFFFFF;
  overflow: hidden;
}

.page-home .hm-dim::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
}

.page-home .hm-dim--a::before { background: var(--orange); }
.page-home .hm-dim--b::before { background: var(--neon); }
.page-home .hm-dim--c::before { background: var(--orange-2); }
.page-home .hm-dim--d::before { background: var(--ink-700); }

@media (min-width: 1040px) {
  .page-home .hm-dim--b { margin-top: 26px; }
  .page-home .hm-dim--d { margin-top: 44px; }
}

.page-home .hm-dim h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-home .hm-dim p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .hm-tagband-wrap {
  margin-top: clamp(30px, 4vw, 48px);
}

.page-home .hm-tagband-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  font-size: .95rem;
  color: var(--muted);
}

.page-home .hm-tagband-title .mono {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  letter-spacing: .04em;
  color: var(--orange);
}

.page-home .hm-tagband {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: clamp(16px, 2.2vw, 24px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(11, 46, 79, .06), rgba(255, 106, 0, .06));
}

.page-home .hm-tag {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-family: var(--font-mono);
  letter-spacing: .04em;
  color: var(--ink-800);
  background: #FFFFFF;
  border: 1px solid var(--line);
}

.page-home .hm-tag:nth-child(3n) {
  border-color: rgba(255, 106, 0, .5);
  color: var(--orange);
}

.page-home .hm-tag:nth-child(4n) {
  border-color: rgba(59, 232, 160, .55);
  color: var(--jade);
}

/* ------------------------------------------------------------------
   访问异常
------------------------------------------------------------------ */
.page-home .hm-fix-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
}

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

.page-home .hm-fix-body .eyebrow {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin: 0 0 10px;
}

.page-home .hm-fix-body h2 {
  font-size: var(--step-section);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.14;
  color: var(--paper);
  margin: 0 0 20px;
}

.page-home .hm-fix-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(245, 248, 251, .14);
}

.page-home .hm-fix-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(245, 248, 251, .14);
}

.page-home .hm-fix-idx {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--orange);
  padding-top: 4px;
}

.page-home .hm-fix-list h3 {
  margin: 0 0 5px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .hm-fix-list p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.72;
  color: rgba(245, 248, 251, .7);
}

.page-home .hm-fix-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 30px);
}

.page-home .hm-fix-note {
  font-size: .84rem;
  color: rgba(245, 248, 251, .58);
  max-width: 34ch;
}

.page-home .hm-fix-media .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ------------------------------------------------------------------
   更新节奏
------------------------------------------------------------------ */
.page-home .hm-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding: 1px;
  border-radius: var(--radius-md);
  background: rgba(245, 248, 251, .12);
  overflow: hidden;
}

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

.page-home .hm-tl-item {
  position: relative;
  background: rgba(5, 25, 44, .92);
  padding: clamp(18px, 2.4vw, 26px);
}

.page-home .hm-tl-item::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 106, 0, 0));
}

.page-home .hm-tl-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--neon);
  margin-bottom: 10px;
}

.page-home .hm-tl-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--paper);
}

.page-home .hm-tl-item p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(245, 248, 251, .66);
}

.page-home .hm-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(26px, 3.4vw, 40px);
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 248, 251, .14);
  background: linear-gradient(120deg, rgba(20, 72, 111, .5), rgba(5, 25, 44, .7));
}

.page-home .hm-partners-main {
  margin: 0;
  flex: 1 1 420px;
  font-size: .98rem;
  line-height: 1.75;
  color: rgba(245, 248, 251, .8);
}

.page-home .hm-partners-btn {
  flex: none;
}

/* ------------------------------------------------------------------
   更多栏目
------------------------------------------------------------------ */
.page-home .hm-more-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 760px) {
  .page-home .hm-more-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .page-home .hm-more-card:nth-child(1) { grid-column: span 4; }
  .page-home .hm-more-card:nth-child(2) { grid-column: span 2; }
  .page-home .hm-more-card:nth-child(3) { grid-column: span 2; }
  .page-home .hm-more-card:nth-child(4) { grid-column: span 2; }
  .page-home .hm-more-card:nth-child(5) { grid-column: span 2; }
}

.page-home .hm-more-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #FFFFFF;
  text-decoration: none;
  color: var(--text);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.page-home .hm-more-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 24px 50px -34px rgba(5, 25, 44, .6);
}

.page-home .hm-more-card .mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--orange);
}

.page-home .hm-more-card h3 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-home .hm-more-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   动效降级
------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
