/* ==========================================================================
   华体育赛事 · 共享样式 /assets/site.css
   高原赛场研究板：钴蓝 × 经幡朱红 × 酥油茶金 × 青稞绿
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body, h1, h2, h3, h4, h5, p, dl, dd, dt, figure, blockquote, ul, ol { margin: 0; }

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

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }

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

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

table { border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  --ht-blue: #0B4F9E;
  --ht-blue-deep: #06335F;
  --ht-red: #D7263D;
  --ht-gold: #E8A33D;
  --ht-green: #2E7D5B;
  --ht-sky: #6FB3E0;
  --ht-snow: #F7F9FC;
  --ht-ink: #1E2A3A;
  --ht-mist: #8A9BB0;
  --ht-orange: #F26B38;

  --ht-line: rgba(11, 79, 158, 0.16);
  --ht-line-strong: rgba(11, 79, 158, 0.32);
  --ht-line-light: rgba(111, 179, 224, 0.26);

  --ht-font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ht-font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --ht-font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ht-font-mono: "Roboto Mono", "JetBrains Mono", "DIN Alternate", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ht-wrap: 1240px;
  --ht-rail: 1340px;
  --ht-gutter: clamp(18px, 4vw, 48px);
  --ht-slant: 56px;
  --ht-radius: 2px;

  --ht-shadow-island: 0 16px 34px -22px rgba(6, 51, 95, 0.55);
  --ht-shadow-island-stuck: 0 22px 44px -20px rgba(6, 51, 95, 0.6);
}

/* ---------- 3. Base typography ---------- */
body {
  font-family: var(--ht-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ht-ink);
  background-color: var(--ht-snow);
  background-image:
    radial-gradient(1100px 460px at 88% -8%, rgba(111, 179, 224, 0.30), transparent 62%),
    radial-gradient(760px 400px at -8% 6%, rgba(232, 163, 61, 0.16), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ht-font-head);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

p { text-wrap: pretty; }

#main-content { display: block; scroll-margin-top: 96px; }

/* ---------- 4. Focus / a11y / motion ---------- */
:where(a, button, [tabindex], summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--ht-orange);
  outline-offset: 2px;
  border-radius: var(--ht-radius);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 5. Layout primitives ---------- */
.ht-container {
  width: 100%;
  max-width: var(--ht-wrap);
  margin-inline: auto;
  padding-inline: var(--ht-gutter);
}

.ht-section { padding-block: clamp(46px, 7vw, 108px); }
.ht-section + .ht-section { padding-top: 0; }

.ht-rule {
  border: 0;
  border-top: 1px solid var(--ht-line);
  margin: 0;
}

.ht-grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.ht-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ht-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ht-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ht-grid--split { grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.85fr); }
.ht-grid--aside { grid-template-columns: minmax(0, 236px) minmax(0, 1fr); }

/* ---------- 6. Editorial type ---------- */
.ht-eyebrow {
  display: inline-block;
  font-family: var(--ht-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ht-red);
  text-transform: uppercase;
}

.ht-title {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ht-ink);
}

.ht-title--xl { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.04; }

.ht-title--serif {
  font-family: var(--ht-font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0;
}

.ht-lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: #33445a;
}

.ht-note {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--ht-mist);
}

.ht-num {
  font-family: var(--ht-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.ht-score {
  font-family: var(--ht-font-mono);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ht-ink);
}

.ht-score--live { color: var(--ht-red); }

/* ---------- 7. Buttons ---------- */
.ht-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--ht-radius);
  font-family: var(--ht-font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.ht-btn--sm { padding: 9px 16px; font-size: 14px; }

.ht-btn--primary { background: var(--ht-blue); color: var(--ht-snow); }
.ht-btn--primary:hover { background: var(--ht-red); transform: translateY(-1px); }

.ht-btn--red { background: var(--ht-red); color: var(--ht-snow); }
.ht-btn--red:hover { background: var(--ht-blue); transform: translateY(-1px); }

.ht-btn--outline {
  background: transparent;
  color: var(--ht-snow);
  border-color: var(--ht-line-light);
}
.ht-btn--outline:hover { background: var(--ht-snow); color: var(--ht-blue-deep); border-color: var(--ht-snow); }

.ht-btn--ghost {
  background: transparent;
  color: var(--ht-blue);
  border-color: var(--ht-line-strong);
}
.ht-btn--ghost:hover { background: var(--ht-blue); color: var(--ht-snow); border-color: var(--ht-blue); }

/* ---------- 8. Surfaces ---------- */
.ht-panel {
  padding: clamp(20px, 3vw, 36px);
  background: var(--ht-snow);
  border: 1px solid var(--ht-line);
  border-radius: var(--ht-radius);
}

.ht-panel--deep {
  background: var(--ht-blue-deep);
  color: var(--ht-snow);
  border-color: rgba(111, 179, 224, 0.35);
}
.ht-panel--deep .ht-note { color: rgba(247, 249, 252, 0.68); }

.ht-panel--sky {
  background: linear-gradient(142deg, rgba(111, 179, 224, 0.30), rgba(247, 249, 252, 0) 68%);
  border-color: var(--ht-line-light);
}

.ht-panel--accent {
  border-left: 3px solid var(--ht-red);
  background: linear-gradient(180deg, rgba(215, 38, 61, 0.06), rgba(247, 249, 252, 0));
}

.ht-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: var(--ht-radius);
  font-family: var(--ht-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ht-blue);
  line-height: 1.5;
}

.ht-badge--gold { color: #A96B12; border-color: rgba(232, 163, 61, 0.7); background: rgba(232, 163, 61, 0.12); }
.ht-badge--green { color: var(--ht-green); border-color: rgba(46, 125, 91, 0.5); background: rgba(46, 125, 91, 0.1); }
.ht-badge--red { color: var(--ht-red); border-color: rgba(215, 38, 61, 0.5); background: rgba(215, 38, 61, 0.1); }
.ht-badge--sky { color: #2A6FA8; border-color: rgba(111, 179, 224, 0.7); background: rgba(111, 179, 224, 0.16); }

/* ---------- 9. Media base ---------- */
.ht-media {
  position: relative;
  overflow: hidden;
  background: var(--ht-blue-deep);
  border: 1px solid var(--ht-line);
  border-radius: var(--ht-radius);
}

.ht-media > img,
.ht-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ht-media:hover > img { transform: scale(1.03); }

.ht-media--wide { aspect-ratio: 16 / 9; }
.ht-media--tall { aspect-ratio: 3 / 4; }
.ht-media--square { aspect-ratio: 1 / 1; }
.ht-media--band { aspect-ratio: 21 / 9; }

.ht-media__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  background: rgba(6, 51, 95, 0.82);
  color: var(--ht-snow);
  font-family: var(--ht-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ---------- 10. Data table ---------- */
.ht-table__wrap { overflow-x: auto; border: 1px solid var(--ht-line); }

.ht-table {
  width: 100%;
  min-width: 520px;
  font-size: 15px;
}

.ht-table th,
.ht-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ht-line);
  white-space: nowrap;
}

.ht-table th {
  font-family: var(--ht-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ht-blue);
  background: rgba(111, 179, 224, 0.12);
}

.ht-table td { color: var(--ht-ink); }
.ht-table tr:last-child td { border-bottom: 0; }
.ht-table tbody tr:hover td { background: rgba(232, 163, 61, 0.10); }

.ht-table--deep { background: var(--ht-blue-deep); color: var(--ht-snow); }
.ht-table--deep th { background: rgba(111, 179, 224, 0.16); color: var(--ht-sky); }
.ht-table--deep td { color: var(--ht-snow); border-color: rgba(111, 179, 224, 0.22); }

/* ---------- 11. Chips / filter ---------- */
.ht-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ht-chip {
  padding: 7px 15px;
  border: 1px solid var(--ht-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ht-blue);
  font-family: var(--ht-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ht-chip:hover { border-color: var(--ht-orange); color: var(--ht-orange); }
.ht-chip[aria-pressed="true"] { background: var(--ht-blue); border-color: var(--ht-blue); color: var(--ht-snow); }

[data-filter-item][hidden] { display: none !important; }
[data-filter-empty] { font-size: 14px; color: var(--ht-mist); }

/* ---------- 12. Disclosure ---------- */
.ht-disclosure {
  border-top: 1px solid var(--ht-line);
}

.ht-disclosure:last-of-type { border-bottom: 1px solid var(--ht-line); }

.ht-disclosure__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 4px;
  font-family: var(--ht-font-head);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 800;
  text-align: left;
  color: var(--ht-ink);
  cursor: pointer;
  transition: color 0.2s ease, padding-left 0.25s ease;
}

.ht-disclosure__trigger:hover { color: var(--ht-blue); padding-left: 10px; }

.ht-disclosure__icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid var(--ht-line-strong);
  border-radius: var(--ht-radius);
}
.ht-disclosure__icon::before,
.ht-disclosure__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 1.5px;
  background: var(--ht-blue);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ht-disclosure__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.ht-disclosure[data-open] .ht-disclosure__icon { border-color: var(--ht-red); }
.ht-disclosure[data-open] .ht-disclosure__icon::before,
.ht-disclosure[data-open] .ht-disclosure__icon::after { background: var(--ht-red); }
.ht-disclosure[data-open] .ht-disclosure__icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(0deg); }

.ht-disclosure__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.36s ease, visibility 0s linear 0.36s;
}

.ht-disclosure[data-open] .ht-disclosure__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.36s ease, visibility 0s linear 0s;
}

.ht-disclosure__body {
  overflow: hidden;
  padding-inline: 4px;
  font-size: 16px;
  color: #33445a;
}

.ht-disclosure[data-open] .ht-disclosure__body { padding-bottom: 22px; }

/* ---------- 13. Breadcrumb ---------- */
.ht-breadcrumb { padding-block: 18px; }

.ht-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--ht-font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ht-mist);
}

.ht-breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }

.ht-breadcrumb__item + .ht-breadcrumb__item::before {
  content: "/";
  color: var(--ht-line-strong);
}

.ht-breadcrumb__link {
  color: var(--ht-blue);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.ht-breadcrumb__link:hover { color: var(--ht-red); border-bottom-color: var(--ht-red); }

/* ---------- 14. Reveal ---------- */
.ht-js .ht-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.7, 0.28, 1);
}
.ht-js .ht-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ht-js .ht-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   15. 头部：悬浮胶囊浮岛
   ========================================================================== */
.ht-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding-top: clamp(10px, 1.8vw, 20px);
  transition: padding-top 0.3s ease;
}

.ht-header.is-stuck { padding-top: 6px; }

.ht-header__rail {
  width: 100%;
  max-width: var(--ht-rail);
  margin-inline: auto;
  padding-inline: clamp(14px, 3vw, 32px);
}

.ht-header__island {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 8px 10px 8px 12px;
  background: rgba(247, 249, 252, 0.86);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid var(--ht-line-strong);
  border-radius: 999px;
  box-shadow: var(--ht-shadow-island);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.ht-header.is-stuck .ht-header__island {
  background: rgba(247, 249, 252, 0.95);
  box-shadow: var(--ht-shadow-island-stuck);
}

.ht-header__island::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -1px;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--ht-red), var(--ht-gold));
}

/* 品牌 */
.ht-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 4px 6px 4px 4px;
}

.ht-brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--ht-blue);
  color: var(--ht-snow);
  font-family: var(--ht-font-head);
  font-size: 18px;
  font-weight: 900;
  border-radius: var(--ht-radius);
  overflow: hidden;
}

.ht-brand__mark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-bottom: 12px solid var(--ht-red);
}

.ht-brand__text { display: flex; flex-direction: column; line-height: 1.1; }

.ht-brand__name {
  font-family: var(--ht-font-head);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ht-ink);
}

.ht-brand__slogan {
  font-family: var(--ht-font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ht-red);
}

/* 导航 */
.ht-nav { margin-left: auto; }

.ht-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ht-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: var(--ht-font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #33445a;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ht-nav__link:hover { background: rgba(111, 179, 224, 0.22); color: var(--ht-blue); }

.ht-nav__link[aria-current="page"] {
  background: rgba(215, 38, 61, 0.09);
  color: var(--ht-red);
  font-weight: 800;
}

.ht-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  background: var(--ht-gold);
  transform: translateX(-50%);
}

.ht-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.ht-nav + .ht-header__actions { margin-left: 0; }

/* 移动按钮 */
.ht-navtoggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--ht-line-strong);
  border-radius: 999px;
  color: var(--ht-blue);
  cursor: pointer;
}

.ht-navtoggle__box { display: grid; gap: 3px; width: 18px; }

.ht-navtoggle__bar {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.ht-navtoggle__label {
  font-family: var(--ht-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ht-navtoggle[aria-expanded="true"] { color: var(--ht-red); border-color: var(--ht-red); }
.ht-navtoggle[aria-expanded="true"] .ht-navtoggle__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.ht-navtoggle[aria-expanded="true"] .ht-navtoggle__bar:nth-child(2) { opacity: 0; }
.ht-navtoggle[aria-expanded="true"] .ht-navtoggle__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 顶部进度细线 */
.ht-header__progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  pointer-events: none;
  background: rgba(11, 79, 158, 0.10);
}

.ht-header__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--ht-blue), var(--ht-red) 56%, var(--ht-gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
}

/* Skip link */
.ht-skip {
  position: absolute;
  left: clamp(14px, 3vw, 32px);
  top: 8px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--ht-ink);
  color: var(--ht-snow);
  font-size: 14px;
  border-radius: var(--ht-radius);
  transform: translateY(-180%);
  transition: transform 0.22s ease;
}

.ht-skip:focus { transform: none; }

/* ==========================================================================
   16. 页脚：深钴蓝斜切 + 经幡阵列
   ========================================================================== */
.ht-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 150px);
  padding-block: calc(var(--ht-slant) + clamp(34px, 5vw, 68px)) clamp(24px, 3vw, 40px);
  background: var(--ht-blue-deep);
  color: var(--ht-snow);
  clip-path: polygon(0 var(--ht-slant), 100% 0, 100% 100%, 0 100%);
  isolation: isolate;
}

.ht-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(111, 179, 224, 0.10) 0 1px, transparent 1px 12.5%),
    repeating-linear-gradient(0deg, rgba(111, 179, 224, 0.07) 0 1px, transparent 1px 88px);
  pointer-events: none;
}

.ht-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(760px 320px at 82% 6%, rgba(215, 38, 61, 0.28), transparent 66%);
  pointer-events: none;
}

.ht-footer__inner { position: relative; z-index: 1; }

/* 经幡细条 */
.ht-footer__flagline {
  display: flex;
  gap: 0;
  height: 6px;
  margin-bottom: clamp(26px, 4vw, 46px);
  transform: skewY(-1.4deg);
}

.ht-flag {
  flex: 1;
  transform-origin: top center;
  animation: ht-flag-sway 5.5s ease-in-out infinite;
}

.ht-flag--blue { background: var(--ht-blue); }
.ht-flag--red { background: var(--ht-red); animation-delay: 0.35s; }
.ht-flag--gold { background: var(--ht-gold); animation-delay: 0.7s; }
.ht-flag--green { background: var(--ht-green); animation-delay: 1.05s; }
.ht-flag--sky { background: var(--ht-sky); animation-delay: 1.4s; }
.ht-flag--orange { background: var(--ht-orange); animation-delay: 1.75s; }
.ht-flag--deep { background: #0A4A88; animation-delay: 2.1s; }

@keyframes ht-flag-sway {
  0%, 100% { transform: scaleY(1) rotate(0deg); }
  50% { transform: scaleY(0.78) rotate(-0.8deg); }
}

/* 页脚栅格 */
.ht-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr));
  gap: clamp(24px, 3.4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 52px);
  border-bottom: 1px solid rgba(111, 179, 224, 0.24);
}

.ht-footer__wordmark {
  font-family: var(--ht-font-head);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.ht-footer__slogan {
  margin-top: 4px;
  font-family: var(--ht-font-serif);
  font-size: 1rem;
  letter-spacing: 0.34em;
  color: var(--ht-gold);
}

.ht-footer__blurb {
  max-width: 40ch;
  margin-block: 14px 20px;
  font-size: 15px;
  color: rgba(247, 249, 252, 0.74);
}

.ht-footer__title {
  position: relative;
  margin-bottom: 14px;
  padding-left: 12px;
  font-family: var(--ht-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ht-sky);
}

.ht-footer__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 12px;
  background: var(--ht-red);
}

.ht-footer__list { display: grid; gap: 10px; }

.ht-footer__link {
  display: inline-block;
  font-size: 15px;
  color: rgba(247, 249, 252, 0.78);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ht-footer__link:hover { color: var(--ht-snow); border-bottom-color: var(--ht-red); }

/* 联系方式 */
.ht-footer__contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(26px, 3.6vw, 44px);
  border-bottom: 1px solid rgba(111, 179, 224, 0.24);
}

.ht-contact { display: grid; gap: 12px; }

.ht-contact__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.ht-contact__key {
  font-family: var(--ht-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ht-mist);
}

.ht-contact__val {
  font-size: 15px;
  color: var(--ht-snow);
  word-break: break-word;
}

.ht-footer__note {
  align-self: end;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 249, 252, 0.6);
}

/* 底栏 */
.ht-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 3vw, 40px);
  padding-top: clamp(18px, 2.4vw, 28px);
}

.ht-footer__icp,
.ht-footer__copy {
  font-family: var(--ht-font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(247, 249, 252, 0.62);
}

.ht-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
}

.ht-footer__legal .ht-footer__link { font-size: 13px; }

/* ---------- 17. 返回顶部（JS 注入） ---------- */
.ht-top {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--ht-blue-deep);
  color: var(--ht-snow);
  border: 1px solid rgba(111, 179, 224, 0.5);
  border-radius: var(--ht-radius);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease, background-color 0.22s ease;
}

.ht-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.ht-top:hover { background: var(--ht-red); border-color: var(--ht-red); }

.ht-top__glyph {
  font-family: var(--ht-font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

/* ==========================================================================
   18. 响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .ht-footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.9fr)); }
  .ht-footer__contact { grid-template-columns: 1fr; }
  .ht-footer__note { max-width: 60ch; }
}

@media (max-width: 980px) {
  body { font-size: 16px; }

  .ht-navtoggle { display: inline-flex; }

  .ht-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 10px;
    background: var(--ht-snow);
    border: 1px solid var(--ht-line-strong);
    border-radius: 6px;
    box-shadow: 0 26px 48px -26px rgba(6, 51, 95, 0.6);
  }

  .ht-header[data-open] .ht-nav { display: block; }

  .ht-nav__list { flex-direction: column; align-items: stretch; gap: 0; }

  .ht-nav__item + .ht-nav__item { border-top: 1px solid var(--ht-line); }

  .ht-nav__link {
    display: block;
    padding: 14px 14px;
    border-radius: var(--ht-radius);
    font-size: 16px;
  }

  .ht-nav__link[aria-current="page"]::before {
    left: 0;
    bottom: 50%;
    width: 4px;
    height: 16px;
    transform: translateY(50%);
  }

  .ht-nav__link[aria-current="page"] { padding-left: 20px; }

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

  .ht-grid--4 > *:nth-child(n + 4) { display: revert; }
}

@media (max-width: 860px) {
  .ht-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ht-footer__brand { grid-column: 1 / -1; }
  .ht-footer__legal { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
  .ht-header__cta { display: none; }
  .ht-brand__slogan { letter-spacing: 0.12em; }
  .ht-footer__top { grid-template-columns: minmax(0, 1fr); }
  .ht-contact__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ht-footer__bottom { flex-direction: column; align-items: flex-start; }
  .ht-flag { animation: none; }
}
