/* 首页样式（M3 后新增） */
:root {
  --hm-bg: #070916;
  --hm-panel: rgba(16, 21, 46, .82);
  --hm-panel-deep: rgba(10, 13, 32, .92);
  --hm-line: rgba(87, 210, 255, .22);
  --hm-line-strong: rgba(87, 210, 255, .5);
  --hm-text: #e6ebff;
  --hm-muted: #8e9cc4;
  --hm-purple: #57d2ff;
  --hm-blue: #4b8bff;
  --hm-gold: #fbbf24;
  --hm-green: #4ade80;
  --hm-radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--hm-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1200px 700px at 12% -8%, rgba(14, 116, 144, .26), transparent 60%),
    radial-gradient(1000px 620px at 96% 2%, rgba(34, 211, 238, .16), transparent 55%),
    var(--hm-bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .65;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255, 255, 255, .85), transparent 60%),
    radial-gradient(1px 1px at 28% 8%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1.4px 1.4px at 43% 36%, rgba(255, 255, 255, .8), transparent 60%),
    radial-gradient(1px 1px at 61% 14%, rgba(255, 255, 255, .65), transparent 60%),
    radial-gradient(1.3px 1.3px at 78% 41%, rgba(255, 255, 255, .8), transparent 60%),
    radial-gradient(1px 1px at 88% 19%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1.2px 1.2px at 7% 58%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1px 1px at 33% 71%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(1.4px 1.4px at 55% 82%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1px 1px at 74% 66%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(1.2px 1.2px at 92% 79%, rgba(255, 255, 255, .65), transparent 60%);
  background-size: 100% 100%;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ---------- 首屏 ---------- */
.hm-hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 48px;
  overflow: hidden;
}

.hm-hero-inner {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 30px;
}

.hm-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--hm-purple);
  margin-bottom: 14px;
}

.hm-hero h1.hm-logo {
  margin: 0 0 24px;
  line-height: 0;
}

.hm-logo img {
  display: block;
  width: clamp(250px, 34vw, 430px);
  height: auto;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .45));
}

.hm-lead {
  margin: 0 0 30px;
  max-width: 520px;
  font-size: 15px;
  line-height: 2;
  color: var(--hm-muted);
}

.hm-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hm-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f7fb8, #2fb6ff);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  box-shadow: 0 14px 34px rgba(20, 130, 190, .35);
  transition: transform .18s ease, box-shadow .18s ease;
}

.hm-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(30, 160, 220, .48);
}

.hm-cta span { font-size: 16px; }

.hm-cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--hm-line-strong);
  color: #d8ddff;
  font-size: 13px;
  transition: border-color .18s ease, color .18s ease;
}

.hm-cta-ghost:hover { border-color: var(--hm-purple); color: #fff; }

.hm-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(139, 124, 246, .18);
  font-size: 12px;
  color: var(--hm-muted);
}

.hm-hero-stats b {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 600;
  color: #eef1ff;
  letter-spacing: .5px;
}

.hm-hero-stats b.gold { color: var(--hm-gold); }

.hm-hero-visual {
  position: relative;
  height: 680px;
  min-height: 560px;
}

.hm-hero-station {
  position: absolute;
  z-index: 1;
  right: -40px;
  top: 50%;
  width: min(700px, 108%);
  transform: translateY(-50%);
}

.hm-hero-station::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104%;
  height: 104%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 175, 255, .24), rgba(60, 175, 255, .06) 46%, transparent 70%);
  filter: blur(22px);
}

.hm-hero-station-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 38px 64px rgba(0, 0, 0, .7)) drop-shadow(0 0 34px rgba(60, 175, 255, .2));
}

.hm-hero-station-img.is-hidden { display: none; }

@media (min-width: 1200px) {
  .hm-hero-station { right: -80px; width: min(860px, 124%); }
}

.hm-hero-station-meta {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 2%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.hm-hero-station-kicker {
  font-size: 10px;
  letter-spacing: .24em;
  color: #79c9ff;
  opacity: .85;
}

.hm-hero-station-meta b {
  font-size: 21px;
  letter-spacing: .04em;
  color: #f2f9ff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .9);
}

.hm-hero-station-tip {
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(185, 215, 240, .75);
}

.hm-hero-astro {
  position: absolute;
  z-index: 2;
  left: 3%;
  bottom: 2%;
  width: 240px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55));
  animation: hm-float-robot 6s ease-in-out infinite reverse;
  pointer-events: none;
}

.hm-hero-astro-img {
  display: block;
  width: 100%;
  height: auto;
}

/* 面罩透明区域：有头像时填入用户头像，无头像时露出黑色面罩底图 */
.hm-hero-astro-face {
  position: absolute;
  left: 29.3%;
  top: 6.9%;
  z-index: 1;
  width: 41.2%;
  height: 38.2%;
  overflow: hidden;
  border-radius: 50%;
}

.hm-hero-astro-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-hero-astro-face img[hidden] { display: none !important; }

.hm-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  height: 46%;
  transform: translate(-46%, -46%) rotate(-18deg);
  border: 1px solid rgba(87, 210, 255, .3);
  border-radius: 50%;
  pointer-events: none;
}

.hm-orbit::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 16%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hm-gold);
  box-shadow: 0 0 14px rgba(251, 191, 36, .8);
}

@keyframes hm-float-robot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hm-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(142, 156, 196, .7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hm-scroll span { animation: hm-bounce 2s ease-in-out infinite; }

@keyframes hm-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ---------- 区块通用 ---------- */
.hm-section {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 54px 0;
}

.hm-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.hm-section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 1px;
}

.hm-section-head p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 12px;
  line-height: 1.7;
}

.hm-section-head a {
  font-size: 12px;
  color: var(--hm-purple);
  white-space: nowrap;
}

.hm-section-head a:hover { color: #c6bcff; }

/* ---------- 三张快捷卡 ---------- */
.hm-quick { padding-top: 24px; }

.hm-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 194px;
  padding: 20px 22px;
  border-radius: var(--hm-radius);
  background: var(--hm-panel);
  border: 1px solid var(--hm-line);
  transition: transform .2s ease, border-color .2s ease;
}

.hm-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 124, 246, .5);
}

.hm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--hm-muted);
  margin-bottom: 14px;
}

.hm-card-head > span:first-child {
  color: #dfe4ff;
  letter-spacing: 1px;
}

.hm-live {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, .4);
  color: var(--hm-green);
  font-size: 11px;
}

.hm-live.is-off { border-color: var(--hm-line); color: var(--hm-muted); }

/* 继续闯关卡 */
.hm-continue-body {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hm-ring {
  --pct: 0;
  position: relative;
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(var(--hm-gold) calc(var(--pct) * 1%), rgba(255, 255, 255, .08) 0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #0d1128;
}

.hm-ring span {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 600;
  color: #f2f4ff;
}

.hm-continue-copy { min-width: 0; }

.hm-chapter-label {
  font-size: 12px;
  color: var(--hm-gold);
  margin-bottom: 8px;
}

.hm-next {
  font-size: 14px;
  color: #e9edff;
  line-height: 1.5;
  margin-bottom: 8px;
}

.hm-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 12px;
  color: var(--hm-purple);
}

.hm-card-link:hover { color: #c9c1ff; }

/* 比赛卡 */
.hm-countdown {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #f2f4ff;
  margin-bottom: 4px;
}

.hm-countdown.is-gold { color: var(--hm-gold); }

.hm-contest-title {
  font-size: 14px;
  color: #dfe4ff;
  line-height: 1.5;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-contest-meta {
  font-size: 11px;
  color: var(--hm-muted);
  line-height: 1.7;
}

/* 身份卡 */
.hm-badge {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--hm-line-strong);
  color: #cfc7ff;
  font-size: 11px;
  white-space: nowrap;
}

.hm-badge.is-member {
  border-color: rgba(251, 191, 36, .5);
  color: var(--hm-gold);
}

.hm-identity-name {
  font-size: 18px;
  font-weight: 600;
  color: #f2f4ff;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-identity-desc {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--hm-muted);
}

.hm-identity-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.hm-identity-links a,
.hm-identity-links button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--hm-line-strong);
  background: rgba(87, 210, 255, .1);
  color: #dfe4ff;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.hm-identity-links a:hover,
.hm-identity-links button:hover { border-color: var(--hm-purple); color: #fff; }

/* ---------- 章节航道 ---------- */
.hm-chapters {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 124, 246, .45) transparent;
}

.hm-chapters::-webkit-scrollbar { height: 6px; }
.hm-chapters::-webkit-scrollbar-thumb {
  background: rgba(139, 124, 246, .45);
  border-radius: 999px;
}

.hm-chapter {
  flex: 0 0 196px;
  scroll-snap-align: start;
  padding: 16px;
  border-radius: 16px;
  background: var(--hm-panel);
  border: 1px solid var(--hm-line);
  transition: border-color .2s ease, transform .2s ease;
}

.hm-chapter:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 124, 246, .55);
}

.hm-chapter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hm-chapter-no {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--hm-muted);
}

.hm-chapter img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: -6px -4px -2px 0;
}

.hm-chapter-title {
  font-size: 15px;
  color: #f0f3ff;
  margin-bottom: 4px;
}

.hm-chapter-tag {
  font-size: 11px;
  color: var(--hm-purple);
  margin-bottom: 12px;
}

.hm-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin-bottom: 8px;
}

.hm-progress i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hm-purple), var(--hm-blue));
}

.hm-chapter-meta {
  font-size: 11px;
  color: var(--hm-muted);
}

.hm-chapter.is-locked {
  opacity: .5;
  cursor: default;
}

.hm-chapter.is-locked:hover { transform: none; border-color: var(--hm-line); }

.hm-locked-planet {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px dashed rgba(139, 124, 246, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-muted);
  font-size: 18px;
}

/* ---------- 比赛现场 ---------- */
.hm-spot-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  border-radius: 22px;
  border: 1px solid var(--hm-line-strong);
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(79, 70, 229, .22), transparent 60%),
    var(--hm-panel-deep);
  overflow: hidden;
}

.hm-spot-copy {
  padding: 30px 32px;
  border-right: 1px solid var(--hm-line);
}

.hm-spot-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: .5px;
}

.hm-spot-copy p {
  margin: 0 0 18px;
  color: var(--hm-muted);
  font-size: 13px;
  line-height: 1.9;
  max-width: 520px;
}

.hm-spot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hm-spot-meta span {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(139, 124, 246, .12);
  border: 1px solid var(--hm-line);
  font-size: 11px;
  color: #cfd6ff;
}

.hm-spot-meta span.is-gold {
  border-color: rgba(251, 191, 36, .45);
  color: var(--hm-gold);
}

.hm-spot-board {
  padding: 26px 28px;
  background: rgba(7, 9, 22, .35);
}

.hm-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hm-board-head h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 1px;
}

.hm-board-head span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--hm-muted);
}

.hm-board-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(139, 124, 246, .14);
  font-size: 12px;
}

.hm-board-row:last-child { border-bottom: 0; }

.hm-board-rank {
  font-size: 13px;
  color: var(--hm-muted);
}

.hm-board-row:nth-child(1) .hm-board-rank { color: var(--hm-gold); }
.hm-board-row:nth-child(2) .hm-board-rank { color: #d8d2ff; }
.hm-board-row:nth-child(3) .hm-board-rank { color: #c9b6a0; }

.hm-board-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e3e8ff;
}

.hm-board-score {
  color: var(--hm-gold);
  white-space: nowrap;
}

.hm-board-empty {
  padding: 26px 0;
  text-align: center;
  color: var(--hm-muted);
  font-size: 12px;
  line-height: 1.9;
}

/* 页脚样式见 css/site-shell.css（全站共用） */

/* ---------- 章节航道（总览航线） ---------- */
.hm-route-wrap { position: relative; }

.hm-route-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  border-radius: 50%;
  border: 1px solid var(--hm-line-strong);
  background: rgba(10, 15, 32, .78);
  color: #cfeaff;
  font-family: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease,
    transform .18s ease, box-shadow .18s ease;
}

.hm-route-nav.is-prev { left: -6px; }
.hm-route-nav.is-next { right: -6px; }

.hm-route-nav:hover:not(:disabled) {
  border-color: var(--hm-purple);
  color: #fff;
  background: rgba(20, 45, 76, .92);
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 0 20px rgba(87, 210, 255, .32);
}

.hm-route-nav:active:not(:disabled) {
  transform: scale(.93);
}

.hm-route-nav:disabled { opacity: .25; cursor: default; }
.hm-route-nav[hidden] { display: none; }

.hm-route {
  position: relative;
  height: 300px;
  margin-top: 10px;
  transition: opacity .18s ease, transform .26s cubic-bezier(.22, .8, .3, 1);
}

/* 翻页：旧一页先淡出并轻微位移，新一页再入场 */
.hm-route.is-flipping {
  opacity: 0;
  transform: translateX(calc(var(--hm-dir, 1) * -22px));
}

.hm-route-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hm-route-line .base {
  fill: none;
  stroke: rgba(87, 210, 255, .2);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: hm-route-draw 1.1s cubic-bezier(.25, .7, .25, 1) forwards;
}

.hm-route-line .glow {
  fill: none;
  stroke: rgba(87, 210, 255, .55);
  stroke-width: 2;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: hm-route-flow 3.6s linear infinite;
}

@keyframes hm-route-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes hm-route-flow {
  to { stroke-dashoffset: -36; }
}

.hm-route-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
  transform: translateX(-50%);
  text-decoration: none;
  color: var(--hm-text);
  transition: transform .25s ease;
  opacity: 0;
  animation: hm-route-node-in .5s ease forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 90ms);
}

@keyframes hm-route-node-in {
  to { opacity: 1; }
}

.hm-route-node:hover { transform: translateX(-50%) translateY(-4px); }

.hm-route-thumb {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  animation: hm-route-rise .62s cubic-bezier(.22, .8, .3, 1) both;
  animation-delay: calc(var(--i, 0) * 70ms + 90ms);
}

@keyframes hm-route-rise {
  from { opacity: 0; transform: translateY(16px) scale(.94); }
  to { opacity: 1; transform: none; }
}

.hm-route-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .6));
  transition: transform .3s ease, filter .3s ease;
}

.hm-route-node.is-current .hm-route-thumb img {
  transform: scale(1.5);
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .68)) drop-shadow(0 0 28px rgba(60, 175, 255, .34));
}

.hm-route-node.is-current .hm-route-thumb::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 152%;
  height: 152%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 175, 255, .34), transparent 66%);
  filter: blur(14px);
  z-index: 0;
  animation: hm-route-glow 3.8s ease-in-out infinite;
}

@keyframes hm-route-glow {
  0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(.92); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hm-route-no {
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: .22em;
  color: #79c9ff;
}

.hm-route-title {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 800;
  color: #f2f9ff;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
}

.hm-route-node.is-current { z-index: 2; }

.hm-route-node.is-current .hm-route-title { font-size: 20px; }

.hm-route-meta {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(190, 220, 245, .7);
  white-space: nowrap;
}

.hm-route-node.is-cleared .hm-route-meta { color: rgba(255, 214, 148, .9); }

.hm-route-node.is-locked { opacity: .48; }

.hm-route-node.is-locked .hm-route-thumb img {
  filter: grayscale(.92) brightness(.42);
}

.hm-route-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border: 1px dashed rgba(120, 200, 240, .36);
  border-radius: 50%;
  color: rgba(160, 210, 240, .55);
  font-size: 24px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hm-hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hm-hero-visual { height: 340px; min-height: 0; order: -1; }
  .hm-hero-station { width: min(420px, 92%); right: 50%; transform: translate(50%, -50%); top: 46%; }
  .hm-hero-station-meta { display: none; }
  .hm-hero-astro { left: 8%; bottom: 2%; width: 150px; }
  .hm-orbit { width: 62%; height: 40%; left: 50%; transform: translate(-50%, -46%) rotate(-18deg); }
  .hm-hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .hm-quick-grid { grid-template-columns: 1fr; }
  .hm-card { min-height: 0; }
  .hm-spot-card { grid-template-columns: 1fr; }
  .hm-spot-copy { border-right: 0; border-bottom: 1px solid var(--hm-line); }
  .hm-route { height: auto; display: flex; gap: 22px; overflow-x: auto; padding: 16px 2px 10px; scrollbar-width: thin; }
  .hm-route-line { display: none; }
  .hm-route-node { position: relative; left: auto !important; top: auto !important; transform: none; flex: 0 0 140px; }
  .hm-route-node:hover { transform: translateY(-4px); }
  .hm-route-thumb { width: 96px; height: 96px; }
  .hm-route-node.is-current .hm-route-thumb img { transform: scale(1.25); }
  .hm-route-nav { width: 34px; height: 34px; margin-top: -17px; font-size: 20px; }
  .hm-route-nav.is-prev { left: -2px; }
  .hm-route-nav.is-next { right: -2px; }
}

@media (max-width: 560px) {
  .hm-hero { min-height: calc(100vh - 104px); padding-top: 30px; }
  .hm-hero-inner, .hm-section, .hm-footer { width: calc(100% - 32px); }
  .hm-hero-stats { gap: 18px; }
  .hm-hero-stats b { font-size: 17px; }
  .hm-section { padding: 40px 0; }
  .hm-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hm-spot-copy, .hm-spot-board { padding: 22px 20px; }
  .hm-footer { flex-direction: column; align-items: flex-start; }
  .hm-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hm-hero-astro, .hm-scroll span { animation: none; }
  .hm-card, .hm-chapter, .hm-cta { transition: none; }
  .hm-route,
  .hm-route-node,
  .hm-route-thumb,
  .hm-route-line .base,
  .hm-route-line .glow,
  .hm-route-node.is-current .hm-route-thumb::before,
  .hm-route-nav { animation: none !important; transition: none !important; }
  .hm-route-node { opacity: 1; }
  .hm-route-line .base { stroke-dashoffset: 0; }
}

/* 分享落地页：老师邀请提示 */
.hm-ref {
  position: relative;
  z-index: 1;
  padding-top: 14px;
}

.hm-ref-inner {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(87, 210, 255, .16), rgba(75, 139, 255, .1));
  border: 1px solid rgba(87, 210, 255, .32);
  box-shadow: 0 10px 30px rgba(6, 18, 46, .35);
}

.hm-ref-tag {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #061426;
  background: linear-gradient(135deg, #8ce7ff, #57d2ff);
  font-weight: 700;
}

.hm-ref-text {
  flex: 1;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #cfe3ff;
}

.hm-ref-text b { color: #fff; }

.hm-ref-btn {
  flex: none;
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #4b8bff, #57d2ff);
}

.hm-ref-btn:hover { filter: brightness(1.08); }

@media (max-width: 720px) {
  .hm-ref-inner {
    width: calc(100% - 32px);
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 12px 14px;
  }
  .hm-ref-text { flex-basis: calc(100% - 70px); }
  .hm-ref-btn { margin-left: auto; }
}

