/* ===========================================================
   HAHA 体育平台 · 共享站点样式 /assets/site.css
   夜场靛蓝底 · 夜灯绿轴 · 电子比分橙强调 · 荧光黄标记 · 暖纸档案条
   =========================================================== */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --hh-ink: #0B1230;
  --hh-slate: #16204A;
  --hh-turf: #0A3A2C;
  --hh-green: #16D07F;
  --hh-orange: #FF6B1A;
  --hh-yellow: #E8FF4D;
  --hh-paper: #F4EDE0;
  --hh-black: #14161F;
  --hh-steel: #5A6279;
  --hh-frost: #F7F9FF;
  --hh-mist: #9AA4C0;

  --hh-line-dark: rgba(154, 164, 192, .22);
  --hh-line-light: rgba(20, 22, 31, .14);

  --hh-font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --hh-font-narrow: "Archivo Narrow", "Oswald", "Arial Narrow", system-ui, "Noto Sans SC", sans-serif;
  --hh-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --hh-max: 1280px;
  --hh-gutter: clamp(16px, 4vw, 40px);
  --hh-radius: 4px;
  --hh-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  min-height: 100vh;
  background: var(--hh-ink);
  color: var(--hh-frost);
  font-family: var(--hh-font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) { body { font-size: 17px; } }

h1, h2, h3, h4 {
  font-family: var(--hh-font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.01em;
}

b, strong { font-weight: 700; }

::selection { background: var(--hh-yellow); color: var(--hh-ink); }

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

[id] { scroll-margin-top: 112px; }

/* ---------- 4. 容器与网格 ---------- */
.hh-container {
  width: 100%;
  max-width: var(--hh-max);
  margin-inline: auto;
  padding-inline: var(--hh-gutter);
}

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

.hh-span-4 { grid-column: span 4; }
.hh-span-5 { grid-column: span 5; }
.hh-span-6 { grid-column: span 6; }
.hh-span-7 { grid-column: span 7; }
.hh-span-8 { grid-column: span 8; }
.hh-span-12 { grid-column: span 12; }

@media (max-width: 1024px) {
  .hh-grid { gap: 20px; }
  .hh-span-4, .hh-span-5, .hh-span-6, .hh-span-7, .hh-span-8 { grid-column: span 6; }
}

@media (max-width: 640px) {
  .hh-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hh-span-4, .hh-span-5, .hh-span-6, .hh-span-7, .hh-span-8, .hh-span-12 { grid-column: 1 / -1; }
}

/* ---------- 5. 分区节奏 ---------- */
.hh-section { padding-block: clamp(48px, 7vw, 104px); }
.hh-section--tight { padding-block: clamp(32px, 4vw, 64px); }
.hh-section--paper { background: var(--hh-paper); color: var(--hh-black); }
.hh-section--slate { background: var(--hh-slate); }

.hh-divider { height: 1px; border: 0; background: var(--hh-line-dark); }

.hh-slice {
  height: clamp(28px, 4vw, 56px);
  background: var(--hh-turf);
  clip-path: polygon(0 100%, 0 34%, 100% 0, 100% 100%);
}

/* ---------- 6. 排版工具 ---------- */
.hh-display {
  font-family: var(--hh-font-display);
  font-weight: 900;
  font-size: clamp(46px, 9vw, 132px);
  line-height: .94;
  letter-spacing: -.02em;
}

.hh-display__latin {
  display: block;
  font-family: var(--hh-font-narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(22px, 3.4vw, 46px);
  color: var(--hh-green);
}

.hh-title {
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.015em;
}

.hh-eyebrow {
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hh-green);
}

.hh-lead {
  max-width: 34em;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--hh-mist);
}

.hh-section--paper .hh-lead { color: var(--hh-steel); }

.hh-prose { max-width: 34em; font-size: 17px; line-height: 1.75; }
.hh-prose p + p { margin-top: 1em; }

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

.hh-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--hh-steel);
}

.hh-note--light { color: var(--hh-mist); }

.hh-visually-hidden {
  position: absolute;
  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;
}

/* ---------- 7. 通用按钮 / 标签 / 胶囊 ---------- */
.hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--hh-radius);
  font-family: var(--hh-font-narrow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color .16s var(--hh-ease), color .16s var(--hh-ease),
              border-color .16s var(--hh-ease), transform .16s var(--hh-ease);
}

.hh-btn--primary { background: var(--hh-orange); color: #1A0A00; }
.hh-btn--primary:hover { background: var(--hh-yellow); transform: translateY(-2px); }

.hh-btn--ghost { border-color: var(--hh-line-dark); color: var(--hh-frost); }
.hh-btn--ghost:hover { border-color: var(--hh-green); color: var(--hh-green); transform: translateY(-2px); }

.hh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--hh-line-dark);
  border-radius: 999px;
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--hh-mist);
  transition: color .16s var(--hh-ease), border-color .16s var(--hh-ease), background-color .16s var(--hh-ease);
}

.hh-chip:hover { color: var(--hh-frost); border-color: var(--hh-green); }
.hh-chip.is-active,
.hh-chip[aria-pressed="true"] {
  background: var(--hh-orange);
  border-color: var(--hh-orange);
  color: #1A0A00;
}

.hh-tag {
  display: inline-block;
  padding-left: 8px;
  border-left: 2px solid var(--hh-green);
  font-family: var(--hh-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hh-green);
}

/* ---------- 8. 卡片 / 比分牌 / 数据项 ---------- */
.hh-card {
  padding: clamp(16px, 2vw, 24px);
  background: var(--hh-slate);
  border: 1px solid var(--hh-line-dark);
  border-radius: var(--hh-radius);
  transition: transform .16s var(--hh-ease), border-color .16s var(--hh-ease), background-color .16s var(--hh-ease);
}

.hh-card:hover { transform: translateY(-3px); border-color: var(--hh-green); }

.hh-card--paper {
  background: var(--hh-paper);
  color: var(--hh-black);
  border-color: var(--hh-line-light);
}

.hh-plate {
  display: grid;
  gap: 8px;
  padding: 16px 20px;
  background: var(--hh-black);
  border: 1px solid rgba(22, 208, 127, .35);
  border-radius: var(--hh-radius);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 26, .12);
}

.hh-plate__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.hh-plate__num {
  font-family: var(--hh-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1;
  color: var(--hh-orange);
}

.hh-plate__label {
  font-family: var(--hh-font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hh-mist);
}

.hh-plate__meta { font-size: 12px; color: var(--hh-steel); }

.hh-stat { display: flex; flex-direction: column; gap: 2px; }

.hh-stat__value {
  font-family: var(--hh-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.1;
  color: var(--hh-frost);
}

.hh-section--paper .hh-stat__value { color: var(--hh-black); }

.hh-stat__label {
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--hh-steel);
}

/* ---------- 9. 轮次时间轴 / 号码阵列 / 面包屑 ---------- */
.hh-rail {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 24px;
}

.hh-rail::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--hh-green), rgba(22, 208, 127, .1));
}

.hh-rail__node { position: relative; }

.hh-rail__node::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hh-ink);
  border: 2px solid var(--hh-green);
}

.hh-rail__node.is-current::before {
  background: var(--hh-orange);
  border-color: var(--hh-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 26, .18);
}

.hh-rail__node.is-muted { opacity: .45; }

.hh-numgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 6px;
}

.hh-numgrid__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--hh-slate);
  border: 1px solid var(--hh-line-dark);
  border-radius: var(--hh-radius);
  font-family: var(--hh-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--hh-frost);
  transition: transform .16s var(--hh-ease), border-color .16s var(--hh-ease), color .16s var(--hh-ease);
}

.hh-numgrid__cell:hover {
  transform: translateY(-2px);
  border-color: var(--hh-yellow);
  color: var(--hh-yellow);
}

.hh-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--hh-mist);
}

.hh-crumb__item + .hh-crumb__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--hh-steel);
}

.hh-crumb a:hover { color: var(--hh-green); }

/* ---------- 10. 图片容器（供页面阶段放图） ---------- */
.hh-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--hh-radius);
  background: linear-gradient(140deg, var(--hh-slate), var(--hh-turf));
  isolation: isolate;
}

.hh-media > img,
.hh-media > picture > img,
.hh-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-media--16x9 { aspect-ratio: 16 / 9; }
.hh-media--21x9 { aspect-ratio: 21 / 9; }
.hh-media--4x3 { aspect-ratio: 4 / 3; }
.hh-media--1x1 { aspect-ratio: 1 / 1; }

.hh-media__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(11, 18, 48, .26) 0 2px, rgba(11, 18, 48, 0) 2px 5px);
}

.hh-media__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border: 1px solid rgba(22, 208, 127, .4);
  border-radius: 3px;
  background: rgba(11, 18, 48, .78);
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--hh-green);
}

.hh-media__tick {
  position: absolute;
  right: 12px;
  top: 12px;
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--hh-yellow);
}

/* ---------- 11. 显现（JS 可选启用） ---------- */
[data-reveal-armed] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .32s var(--hh-ease), transform .32s var(--hh-ease);
}

[data-reveal-in] {
  opacity: 1;
  transform: none;
}

/* ---------- 12. 页头 ---------- */
.hh-masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--hh-ink);
  color: var(--hh-frost);
  border-bottom: 1px solid var(--hh-slate);
}

.hh-masthead::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(247, 249, 255, .022) 0 1px, rgba(247, 249, 255, 0) 1px 3px);
}

.hh-skip {
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--hh-radius);
  background: var(--hh-yellow);
  color: var(--hh-ink);
  font-family: var(--hh-font-narrow);
  font-size: 14px;
  letter-spacing: .08em;
  transform: translateY(-180%);
  transition: transform .16s var(--hh-ease);
}

.hh-skip:focus { transform: translateY(0); }

.hh-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  pointer-events: none;
}

.hh-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--hh-green), var(--hh-yellow) 62%, var(--hh-orange));
}

/* 计时条 */
.hh-seasonbar {
  background: linear-gradient(90deg, var(--hh-turf), var(--hh-ink) 46%);
  border-bottom: 1px solid var(--hh-line-dark);
}

.hh-seasonbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 34px;
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--hh-mist);
  transition: height .16s var(--hh-ease);
}

.hh-seasonbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hh-seasonbar__item .hh-mono { color: var(--hh-frost); }
.hh-seasonbar__item--mid { color: var(--hh-green); }
.hh-seasonbar__item--end { margin-left: auto; color: var(--hh-mist); }

.hh-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hh-green);
  box-shadow: 0 0 0 3px rgba(22, 208, 127, .18);
}

/* 命令栏 */
.hh-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  min-height: 64px;
  transition: min-height .16s var(--hh-ease);
}

.hh-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
}

.hh-brand__mark {
  font-family: var(--hh-font-narrow);
  font-weight: 700;
  font-size: 27px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hh-frost);
  border-bottom: 3px solid var(--hh-orange);
  padding-bottom: 3px;
}

.hh-brand__mark--dark {
  color: var(--hh-black);
  border-bottom-color: var(--hh-turf);
}

.hh-brand__note {
  font-family: var(--hh-font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--hh-mist);
}

.hh-nav { flex: 1 1 auto; min-width: 0; }

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

.hh-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 11px;
  font-size: 14px;
  color: var(--hh-mist);
  transition: color .16s var(--hh-ease), transform .16s var(--hh-ease);
}

.hh-nav__link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--hh-yellow);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .16s var(--hh-ease);
}

.hh-nav__link:hover { color: var(--hh-frost); transform: translateY(-2px); }
.hh-nav__link:hover::after { transform: scaleX(1); }

.hh-nav__link[aria-current="page"] { color: var(--hh-green); }
.hh-nav__link[aria-current="page"]::after {
  background: var(--hh-green);
  transform: scaleX(1);
}

.hh-nav__index {
  font-family: var(--hh-font-mono);
  font-size: 10.5px;
  color: var(--hh-steel);
  transition: color .16s var(--hh-ease);
}

.hh-nav__link:hover .hh-nav__index,
.hh-nav__link[aria-current="page"] .hh-nav__index { color: var(--hh-yellow); }

/* 右侧工具区 */
.hh-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.hh-cmd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--hh-slate);
  border-radius: var(--hh-radius);
  background: rgba(22, 208, 127, .06);
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--hh-mist);
  transition: border-color .16s var(--hh-ease), color .16s var(--hh-ease), transform .16s var(--hh-ease);
}

.hh-cmd:hover { border-color: var(--hh-green); color: var(--hh-frost); transform: translateY(-2px); }

.hh-cmd__key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--hh-line-dark);
  border-radius: 3px;
  color: var(--hh-yellow);
  font-size: 12px;
}

.hh-round {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 7px 12px;
  border: 1px solid var(--hh-slate);
  border-radius: var(--hh-radius);
  background: var(--hh-slate);
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--hh-mist);
  transition: border-color .16s var(--hh-ease), transform .16s var(--hh-ease);
}

.hh-round:hover { border-color: var(--hh-orange); transform: translateY(-2px); }

.hh-round__num {
  font-size: 19px;
  line-height: 1;
  color: var(--hh-orange);
}

.hh-round__label { font-size: 11px; letter-spacing: .12em; }

.hh-navtoggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--hh-slate);
  border-radius: var(--hh-radius);
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--hh-frost);
}

.hh-navtoggle__bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color .16s var(--hh-ease);
}

.hh-navtoggle__bars::before,
.hh-navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .16s var(--hh-ease), top .16s var(--hh-ease);
}

.hh-navtoggle__bars::before { top: -6px; }
.hh-navtoggle__bars::after { top: 6px; }

.hh-masthead[data-open] .hh-navtoggle__bars { background: transparent; }
.hh-masthead[data-open] .hh-navtoggle__bars::before { top: 0; transform: rotate(45deg); }
.hh-masthead[data-open] .hh-navtoggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 滚动收起 */
.hh-masthead[data-condensed] .hh-seasonbar__inner { height: 28px; }
.hh-masthead[data-condensed] .hh-seasonbar__item--mid,
.hh-masthead[data-condensed] .hh-seasonbar__item--end { display: none; }
.hh-masthead[data-condensed] .hh-bar__inner { min-height: 56px; }

/* 命令索引面板 */
.hh-command {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(56px, 12vh, 140px) 16px 24px;
  overflow: auto;
  background: rgba(11, 18, 48, .92);
  backdrop-filter: blur(6px);
}

.hh-command__panel {
  width: min(740px, 100%);
  padding: 20px;
  background: var(--hh-ink);
  border: 1px solid var(--hh-slate);
  border-top: 3px solid var(--hh-green);
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
}

.hh-command__hint {
  margin-bottom: 14px;
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--hh-mist);
}

.hh-command__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px;
}

.hh-command__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: var(--hh-radius);
  font-size: 15px;
  color: var(--hh-frost);
  transition: background-color .16s var(--hh-ease), border-color .16s var(--hh-ease);
}

.hh-command__link:hover,
.hh-command__link.is-active {
  background: var(--hh-slate);
  border-color: var(--hh-green);
}

.hh-command__index {
  font-family: var(--hh-font-mono);
  font-size: 12px;
  color: var(--hh-green);
}

.hh-command__close {
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid var(--hh-line-dark);
  border-radius: var(--hh-radius);
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--hh-mist);
  transition: border-color .16s var(--hh-ease), color .16s var(--hh-ease);
}

.hh-command__close:hover { border-color: var(--hh-yellow); color: var(--hh-yellow); }

/* ---------- 13. 页脚：浅色档案条 ---------- */
.hh-foot {
  background: var(--hh-paper);
  color: var(--hh-black);
  border-top: 1px solid var(--hh-line-light);
}

.hh-foot__rim {
  height: 4px;
  background: linear-gradient(90deg, var(--hh-green) 0 34%, var(--hh-orange) 34% 67%, var(--hh-yellow) 67% 100%);
}

.hh-foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 34px 0 22px;
  border-bottom: 1px solid var(--hh-line-light);
}

.hh-foot__brand {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.hh-foot__tag {
  font-size: 13.5px;
  color: var(--hh-steel);
}

.hh-foot__meta {
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--hh-turf);
}

.hh-foot__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  padding: 28px 0 32px;
}

.hh-foot__head {
  margin-bottom: 12px;
  font-family: var(--hh-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hh-turf);
}

.hh-foot__list {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #2A2E3A;
}

.hh-foot__list a {
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--hh-ease), border-color .16s var(--hh-ease);
}

.hh-foot__list a:hover {
  color: var(--hh-turf);
  border-bottom-color: var(--hh-orange);
}

.hh-foot__list--plain { gap: 6px; }

.hh-foot__item {
  font-family: var(--hh-font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--hh-steel);
}

.hh-foot__item--text {
  font-family: var(--hh-font-display);
  font-size: 13.5px;
  letter-spacing: 0;
}

.hh-foot__note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--hh-steel);
}

.hh-foot__icp {
  margin-top: 12px;
  font-family: var(--hh-font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--hh-steel);
}

.hh-foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px 0 34px;
  border-top: 1px solid var(--hh-line-light);
  font-size: 12px;
  color: var(--hh-steel);
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1200px) {
  .hh-cmd__label { display: none; }
  .hh-cmd { padding: 8px 10px; }
}

@media (max-width: 1024px) {
  .hh-navtoggle { display: inline-flex; }
  .hh-round { display: none; }

  .hh-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    max-height: calc(100vh - 96px);
    overflow: auto;
    padding: 10px var(--hh-gutter) 22px;
    background: var(--hh-ink);
    border-top: 1px solid var(--hh-slate);
    border-bottom: 1px solid var(--hh-slate);
  }

  .hh-masthead[data-open] .hh-nav { display: block; }

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

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

  .hh-nav__link {
    width: 100%;
    padding: 15px 4px;
    font-size: 16.5px;
  }

  .hh-nav__link::after { display: none; }
  .hh-nav__link[aria-current="page"] { padding-left: 12px; border-left: 3px solid var(--hh-green); }
}

@media (max-width: 900px) {
  .hh-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hh-brand__note { display: none; }
  .hh-foot__cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hh-foot__base { flex-direction: column; }
  .hh-seasonbar__item--end { display: none; }
  .hh-tools__cta { padding: 0 13px; font-size: 13px; }
}

@media (max-width: 420px) {
  .hh-seasonbar__item--mid { display: none; }
}

/* ---------- 15. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .hh-nav__link:hover,
  .hh-cmd:hover,
  .hh-round:hover,
  .hh-btn:hover,
  .hh-card:hover,
  .hh-numgrid__cell:hover { transform: none; }

  .hh-progress__bar { transition: none; }
}
