/* =========================================================
   浩瀚体育 · 中文官方站  共享外壳样式  /assets/site.css
   深空蓝基底 · 活力橙节奏 · 玻璃层与实色层并置
   ========================================================= */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

/* ---------- 2. Tokens ---------- */
:root {
  --hh-void: #050B1A;
  --hh-deep: #0A1633;
  --hh-orbit: #13224A;
  --hh-glass: rgba(255, 255, 255, .08);
  --hh-glass-line: rgba(255, 255, 255, .14);
  --hh-orange: #FF6A1A;
  --hh-yellow: #FFD24A;
  --hh-teal: #22D3B8;
  --hh-ice: #F2F6FF;
  --hh-mist: #8FA0C4;
  --hh-alert: #FF4D5E;

  --f-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --f-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --hh-rail-w: 88px;
  --hh-top-h: 58px;
  --hh-dock-h: 64px;
  --hh-gutter: 22px;
  --hh-max: 1320px;
  --hh-radius: 14px;
  --hh-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  background-color: var(--hh-void);
  color: var(--hh-ice);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1180px 620px at 80% -12%, rgba(255, 106, 26, .16), transparent 62%),
    radial-gradient(900px 520px at 4% 6%, rgba(34, 211, 184, .10), transparent 58%),
    linear-gradient(180deg, #050B1A 0%, #071027 48%, #050B1A 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(rgba(143, 160, 196, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 160, 196, .075) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 76%);
}

::selection { background: var(--hh-orange); color: #0A1020; }

:focus-visible {
  outline: 2px solid var(--hh-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.hh-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. 头部外壳 ---------- */
.hh-head { position: relative; z-index: 100; }

.hh-skip {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--hh-orange);
  color: #08101F;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: transform .2s var(--hh-ease);
}
.hh-skip:focus { transform: translateY(0); }

.hh-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 140;
  background: rgba(255, 255, 255, .05);
  pointer-events: none;
}
.hh-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--hh-teal), var(--hh-orange) 68%, var(--hh-yellow));
  transition: width .12s linear;
}

/* 桌面端左侧轨道 */
.hh-rail {
  display: none;
}

.hh-rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 4px 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hh-rail__mark,
.hh-topbar__mark,
.hh-foot__mark {
  display: grid;
  place-items: center;
  color: #050B1A;
  font-family: var(--f-mono);
  font-weight: 700;
  letter-spacing: -.04em;
  background: conic-gradient(from 210deg, #FF6A1A, #FFD24A 45%, #22D3B8 78%, #FF6A1A);
  box-shadow: 0 6px 20px rgba(255, 106, 26, .32);
}
.hh-rail__mark { width: 38px; height: 38px; font-size: 14px; border-radius: 12px 4px 12px 4px; transform: rotate(-6deg); }

.hh-rail__word {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--hh-ice);
}

.hh-rail__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 0;
}

.hh-navlist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.hh-navlink {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 2px 10px;
  border-radius: 10px;
  color: var(--hh-mist);
  transition: color .18s ease, background-color .18s ease;
}
.hh-navlink::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 3px;
  height: 26px;
  border-radius: 0 3px 3px 0;
  background: var(--hh-orange);
  transform: translateY(-50%) scaleY(0);
  transition: transform .2s var(--hh-ease);
}
.hh-navlink__idx {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  opacity: .75;
}
.hh-navlink__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}
.hh-navlink:hover { color: var(--hh-ice); background: rgba(255, 255, 255, .06); }
.hh-navlink:hover::before { transform: translateY(-50%) scaleY(.5); }
.hh-navlink[aria-current="page"] { color: var(--hh-ice); background: rgba(255, 106, 26, .15); }
.hh-navlink[aria-current="page"]::before { transform: translateY(-50%) scaleY(1); }
.hh-navlink[aria-current="page"] .hh-navlink__idx { color: var(--hh-orange); opacity: 1; }

.hh-rail__utils {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hh-util {
  display: block;
  width: 100%;
  padding: 5px 4px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--hh-mist);
  font-size: 10.5px;
  line-height: 1.35;
  text-align: center;
  letter-spacing: .04em;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.hh-util:hover {
  color: var(--hh-ice);
  background: var(--hh-glass);
  border-color: var(--hh-glass-line);
}
.hh-util--wide {
  width: auto;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: .06em;
}

.hh-rail__cta {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 6px;
  border-radius: 10px;
  background: var(--hh-orange);
  color: #0A1020;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 8px 22px rgba(255, 106, 26, .26);
  transition: transform .18s var(--hh-ease), box-shadow .18s ease;
}
.hh-rail__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 106, 26, .36); }

/* 移动端顶部条 */
.hh-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hh-top-h);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 0 16px;
  background: rgba(10, 22, 51, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hh-topbar__brand { display: flex; align-items: center; gap: 10px; }
.hh-topbar__mark { width: 30px; height: 30px; font-size: 12px; border-radius: 9px 3px 9px 3px; transform: rotate(-6deg); }
.hh-topbar__text { display: flex; flex-direction: column; line-height: 1.15; }
.hh-topbar__name { font-family: var(--f-display); font-weight: 900; font-size: 14px; letter-spacing: .06em; color: var(--hh-ice); }
.hh-topbar__sub { font-family: var(--f-mono); font-size: 9px; letter-spacing: .18em; color: var(--hh-mist); }

.hh-burger {
  position: relative;
  width: 44px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.hh-burger__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--hh-ice);
  transition: background-color .2s ease;
}
.hh-burger__bars::before,
.hh-burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--hh-ice);
  transition: transform .22s var(--hh-ease);
}
.hh-burger__bars::before { top: -6px; }
.hh-burger__bars::after { top: 6px; }
.hh-burger[aria-expanded="true"] .hh-burger__bars { background: transparent; }
.hh-burger[aria-expanded="true"] .hh-burger__bars::before { transform: translateY(6px) rotate(45deg); }
.hh-burger[aria-expanded="true"] .hh-burger__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 抽屉与遮罩 */
.hh-scrim {
  position: fixed;
  inset: 0;
  z-index: 125;
  background: rgba(5, 11, 26, .74);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s ease, visibility .26s ease;
}
.hh-scrim[data-open="true"] { opacity: 1; visibility: visible; }

.hh-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 130;
  width: min(84vw, 340px);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 20px 26px;
  background: linear-gradient(180deg, #0C1B3E 0%, #070F24 100%);
  border-right: 1px solid rgba(255, 255, 255, .10);
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(-104%);
  transition: transform .3s var(--hh-ease), visibility .3s ease;
}
.hh-drawer[data-open="true"] { visibility: visible; transform: translateX(0); }

.hh-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.hh-drawer__title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--hh-mist);
}
.hh-drawer__close {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--hh-ice);
  font-size: 14px;
}
.hh-drawer__nav { padding-top: 12px; }
.hh-drawer__nav .hh-navlink {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: 10px;
}
.hh-drawer__nav .hh-navlink::before { left: 0; height: 58%; }
.hh-drawer__nav .hh-navlink__idx { font-size: 11px; }
.hh-drawer__nav .hh-navlink__label { font-size: 15.5px; font-weight: 700; }

.hh-drawer__utils {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .10);
}
.hh-drawer__cta { margin-top: auto; justify-content: center; }

/* 底部悬浮快捷条 */
.hh-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 110;
  display: flex;
  align-items: stretch;
  background: rgba(10, 22, 51, .92);
  border-top: 1px solid rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.hh-dock__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 4px 10px;
  color: var(--hh-mist);
  font-size: 11px;
  letter-spacing: .06em;
  transition: color .18s ease, background-color .18s ease;
}
.hh-dock__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .75;
}
.hh-dock__item[aria-current="page"] { color: var(--hh-orange); background: rgba(255, 106, 26, .12); }

/* ---------- 5. 通用排版与组件 ---------- */
.hh-shell {
  width: 100%;
  max-width: var(--hh-max);
  margin: 0 auto;
  padding: 0 var(--hh-gutter);
}

.hh-num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.02em;
}

.hh-h1 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--hh-ice);
}
.hh-h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(23px, 3vw, 36px);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--hh-ice);
}
.hh-h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--hh-ice);
}
.hh-lede {
  font-size: 16.5px;
  line-height: 1.8;
  color: #C6D3EE;
  max-width: 62ch;
}
.hh-p {
  font-size: 15.5px;
  line-height: 1.78;
  color: #B9C6E4;
  max-width: 68ch;
}

.hh-section { padding: 72px 0; }

.hh-coord {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hh-coord__idx {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--hh-orange);
}
.hh-coord__rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 106, 26, .55), rgba(143, 160, 196, .12));
}

.hh-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--hh-orange);
  color: #0A1020;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .18s var(--hh-ease), background-color .18s ease, border-color .18s ease, color .18s ease;
}
.hh-btn:hover { transform: translateY(-2px); }
.hh-btn--ghost {
  background: var(--hh-glass);
  border-color: var(--hh-glass-line);
  color: var(--hh-ice);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hh-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--hh-mist);
}
.hh-crumbs a { color: var(--hh-mist); transition: color .18s ease; }
.hh-crumbs a:hover { color: var(--hh-orange); }
.hh-crumbs__sep { color: rgba(143, 160, 196, .5); }
.hh-crumbs [aria-current="page"] { color: var(--hh-ice); }

.hh-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  background: var(--hh-glass);
  border: 1px solid var(--hh-glass-line);
  color: #C6D3EE;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hh-tag--orange { color: var(--hh-orange); border-color: rgba(255, 106, 26, .42); background: rgba(255, 106, 26, .12); }
.hh-tag--teal { color: var(--hh-teal); border-color: rgba(34, 211, 184, .38); background: rgba(34, 211, 184, .10); }
.hh-tag--yellow { color: var(--hh-yellow); border-color: rgba(255, 210, 74, .38); background: rgba(255, 210, 74, .10); }

.hh-card {
  padding: 22px;
  border-radius: var(--hh-radius);
  border: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(160deg, rgba(19, 34, 74, .94), rgba(10, 22, 51, .88));
  transition: transform .2s var(--hh-ease), border-color .2s ease, box-shadow .2s ease;
}
.hh-card--hover:hover {
  transform: translateY(-4px) rotate(-2deg);
  border-color: var(--hh-orange);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
}
.hh-glass {
  border-radius: var(--hh-radius);
  background: var(--hh-glass);
  border: 1px solid var(--hh-glass-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hh-grid { display: grid; gap: 20px; }
.hh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hh-grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* 图片容器基座 */
.hh-figure {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(140deg, #13224A 0%, #0A1633 58%, #050B1A 100%);
}
.hh-figure::before {
  content: "";
  display: block;
  padding-top: var(--hh-figure-ratio, 62.5%);
}
.hh-figure > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hh-figure__grid {
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    linear-gradient(rgba(143, 160, 196, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 160, 196, .12) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hh-figure__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 16px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: #C9D6F0;
  background: linear-gradient(180deg, rgba(5, 11, 26, 0), rgba(5, 11, 26, .88));
}
.hh-figure--wide { --hh-figure-ratio: 42%; }
.hh-figure--tall { --hh-figure-ratio: 118%; }

/* 显现动画 */
.hh-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .26s var(--hh-ease), transform .26s var(--hh-ease);
}
.hh-js [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

/* ---------- 6. 页脚 ---------- */
.hh-foot {
  position: relative;
  margin-top: 88px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(180deg, rgba(19, 34, 74, .58), rgba(5, 11, 26, .94));
}

.hh-foot__inner {
  width: 100%;
  max-width: var(--hh-max);
  margin: 0 auto;
  padding: 48px var(--hh-gutter) 28px;
}

.hh-foot__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hh-foot__id { display: flex; align-items: center; gap: 14px; }
.hh-foot__mark { width: 42px; height: 42px; font-size: 15px; border-radius: 13px 4px 13px 4px; transform: rotate(-6deg); }
.hh-foot__brand {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: .04em;
  color: var(--hh-ice);
}
.hh-foot__desc {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--hh-mist);
}
.hh-foot__stamp {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--hh-mist);
}

.hh-foot__coords {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hh-foot__col { padding: 24px 18px; }
.hh-foot__col:first-child { padding-left: 0; }
.hh-foot__col + .hh-foot__col { border-left: 1px solid rgba(255, 255, 255, .07); }
.hh-foot__coltitle {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--hh-ice);
}
.hh-foot__idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--hh-orange);
}
.hh-foot__list { display: flex; flex-direction: column; gap: 7px; }
.hh-foot__link {
  display: inline-block;
  font-size: 13.5px;
  color: var(--hh-mist);
  transition: color .18s ease, transform .18s var(--hh-ease);
}
.hh-foot__link:hover { color: var(--hh-ice); transform: translateX(3px); }

.hh-foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
}
.hh-foot__contact {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--hh-mist);
}
.hh-foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--hh-mist);
}
.hh-foot__dot { color: rgba(143, 160, 196, .5); }

.hh-totop {
  position: fixed;
  right: 16px;
  bottom: calc(var(--hh-dock-h) + 16px);
  z-index: 105;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(19, 34, 74, .88);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--hh-ice);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s var(--hh-ease), visibility .22s ease, border-color .18s ease;
}
.hh-totop[data-visible="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.hh-totop:hover { border-color: var(--hh-orange); }

/* ---------- 7. 响应式 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--hh-rail-w); }

  .hh-rail {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 115;
    width: var(--hh-rail-w);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 8px 16px;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(180deg, rgba(19, 34, 74, .94), rgba(10, 22, 51, .90));
    border-right: 1px solid rgba(255, 255, 255, .10);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    scrollbar-width: thin;
  }
  .hh-rail::after {
    content: "";
    position: absolute;
    top: 18px; bottom: 18px; right: 5px;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(143, 160, 196, .34) 0 1px, transparent 1px 14px);
    pointer-events: none;
  }

  .hh-topbar,
  .hh-drawer,
  .hh-scrim,
  .hh-dock { display: none; }

  .hh-totop { right: 24px; bottom: 26px; }

  .hh-section { padding: 96px 0; }
  .hh-foot { margin-top: 120px; }
}

@media (max-width: 1023px) {
  body {
    padding-top: var(--hh-top-h);
    padding-bottom: calc(var(--hh-dock-h) + 10px);
  }
  .hh-grid--4,
  .hh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hh-foot__coords { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hh-foot__col { padding: 20px 14px; }
  .hh-foot__col:nth-child(odd) { padding-left: 0; }
  .hh-foot__col:nth-child(3) { border-left: 0; }

  .hh-foot__base { justify-content: flex-start; }
}

@media (max-width: 639px) {
  :root { --hh-gutter: 16px; }

  .hh-grid--2,
  .hh-grid--3,
  .hh-grid--4 { grid-template-columns: minmax(0, 1fr); }

  .hh-section { padding: 52px 0; }
  .hh-card { padding: 18px; }

  .hh-foot__coords { grid-template-columns: minmax(0, 1fr); }
  .hh-foot__col {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
  }
  .hh-foot__col:first-child { border-top: 0; }
  .hh-foot__bar { align-items: flex-start; }
  .hh-foot__brand { font-size: 18px; }
}

/* ---------- 8. 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hh-js [data-reveal] { opacity: 1; transform: none; transition: none; }

  .hh-card--hover:hover,
  .hh-btn:hover,
  .hh-rail__cta:hover { transform: none; }

  .hh-foot__link:hover { transform: none; }

  .hh-progress__fill { transition: none; }
  .hh-drawer,
  .hh-scrim,
  .hh-totop,
  .hh-navlink::before { transition: none; }
}
