/* ==========================================================================
   FH体育 共享站点样式 /assets/site.css
   基调：夜场观赛数据台 —— 深墨绿底、荧光青数据线、热橙关键数字
   ========================================================================== */

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

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

body { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
table { border-collapse: collapse; border-spacing: 0; }

/* 2. 变量 ------------------------------------------------------------------ */
:root {
  --fh-ink: #06110D;
  --fh-forest: #0B3D2E;
  --fh-forest-2: #10543E;
  --fh-cyan: #00E5C7;
  --fh-cyan-soft: #7BF3E3;
  --fh-orange: #FF6B35;
  --fh-orange-soft: #FFB199;
  --fh-text: #F2F7F4;
  --fh-muted: #9DB5AC;
  --fh-line: #1B2A24;

  --fh-display: "Oswald", "Barlow Condensed", "Arial Narrow", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --fh-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, "Courier New", monospace;
  --fh-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fh-fs-12: 0.75rem;
  --fh-fs-14: 0.875rem;
  --fh-fs-16: 1rem;
  --fh-fs-20: 1.25rem;
  --fh-fs-28: 1.75rem;
  --fh-fs-44: 2.75rem;
  --fh-fs-72: 4.5rem;
  --fh-fs-120: 7.5rem;

  --fh-radius: 18px;
  --fh-radius-sm: 10px;
  --fh-max: 1280px;
  --fh-rail-w: 90px;
  --fh-bar-h: 76px;
  --fh-chapter: 120px;
  --fh-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

/* 3. 基础排版 -------------------------------------------------------------- */
body {
  background-color: var(--fh-ink);
  background-image:
    linear-gradient(rgba(0, 229, 199, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 199, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  color: var(--fh-text);
  font-family: var(--fh-body);
  font-size: var(--fh-fs-16);
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--fh-display);
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.08;
}

h1 { font-size: clamp(2rem, 5.4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p { line-height: 1.75; }

strong { color: var(--fh-cyan-soft); }

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

:focus-visible {
  outline: 2px solid var(--fh-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.fh-sr-only {
  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;
}

.fh-display {
  font-family: var(--fh-display);
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fh-mono,
.fh-num {
  font-family: var(--fh-mono);
  font-variant-numeric: tabular-nums;
}

.fh-num { text-align: right; }

/* 4. 容器与网格 ------------------------------------------------------------ */
.fh-container {
  width: 100%;
  max-width: var(--fh-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.fh-col-3 { grid-column: span 3; }
.fh-col-4 { grid-column: span 4; }
.fh-col-5 { grid-column: span 5; }
.fh-col-6 { grid-column: span 6; }
.fh-col-7 { grid-column: span 7; }
.fh-col-8 { grid-column: span 8; }
.fh-col-12 { grid-column: span 12; }

.fh-prose {
  max-width: 68ch;
  font-size: var(--fh-fs-16);
  line-height: 1.75;
  color: var(--fh-text);
}

.fh-prose p { margin-bottom: 1em; }
.fh-prose p:last-child { margin-bottom: 0; }

/* 5. 章节三件套 ------------------------------------------------------------ */
.fh-section {
  position: relative;
  padding-top: var(--fh-chapter);
}

.fh-section__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 22px;
}

.fh-section__no {
  font-family: var(--fh-mono);
  font-size: var(--fh-fs-14);
  letter-spacing: 0.14em;
  color: var(--fh-cyan);
  flex: 0 0 auto;
}

.fh-section__title {
  margin: 0;
  flex: 0 0 auto;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  color: var(--fh-text);
}

.fh-section__ribbon {
  flex: 1 1 60px;
  min-width: 60px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--fh-cyan), rgba(0, 229, 199, 0));
}

.fh-section__lead {
  max-width: 62ch;
  margin-top: 0.6em;
  font-size: var(--fh-fs-16);
  color: var(--fh-muted);
}

/* 6. 按钮 ------------------------------------------------------------------ */
.fh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--fh-cyan);
  border-radius: 999px;
  background: transparent;
  color: var(--fh-cyan);
  font-size: var(--fh-fs-14);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.fh-btn:hover {
  background: rgba(0, 229, 199, 0.14);
  transform: translateY(-1px);
}

.fh-btn--ghost {
  border-color: rgba(0, 229, 199, 0.55);
  background: rgba(0, 229, 199, 0.06);
  color: var(--fh-cyan-soft);
}

.fh-btn--ghost:hover {
  border-color: var(--fh-cyan);
  background: rgba(0, 229, 199, 0.16);
  color: var(--fh-text);
}

.fh-btn--solid {
  border-color: var(--fh-orange);
  background: var(--fh-orange);
  color: #1A0A02;
}

.fh-btn--solid:hover {
  border-color: var(--fh-orange-soft);
  background: var(--fh-orange-soft);
  color: #1A0A02;
}

.fh-btn--sm {
  padding: 8px 15px;
  font-size: var(--fh-fs-12);
}

/* 7. 标签 ------------------------------------------------------------------ */
.fh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--fh-line);
  border-radius: 999px;
  background: rgba(16, 84, 62, 0.65);
  color: var(--fh-cyan-soft);
  font-size: var(--fh-fs-12);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.fh-chip--cyan {
  border-color: rgba(0, 229, 199, 0.5);
  color: var(--fh-cyan);
}

.fh-chip--orange {
  border-color: rgba(255, 107, 53, 0.5);
  background: rgba(255, 107, 53, 0.14);
  color: var(--fh-orange-soft);
}

/* 8. 卡片与说明牌 ---------------------------------------------------------- */
.fh-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  background: linear-gradient(160deg, rgba(16, 84, 62, 0.85), rgba(11, 61, 46, 0.55));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.fh-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 199, 0.5);
  box-shadow: var(--fh-shadow);
}

.fh-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.fh-card__title {
  margin: 0;
  font-family: var(--fh-display);
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--fh-fs-20);
  color: var(--fh-text);
}

.fh-card__body {
  margin: 0;
  font-size: var(--fh-fs-14);
  line-height: 1.75;
  color: var(--fh-muted);
}

.fh-card__meta {
  display: block;
  margin-top: 14px;
  font-family: var(--fh-mono);
  font-size: var(--fh-fs-12);
  color: var(--fh-muted);
}

/* 9. 大号数据 -------------------------------------------------------------- */
.fh-data {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fh-data__value {
  font-family: var(--fh-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fh-text);
}

.fh-data--xl .fh-data__value { font-size: clamp(4.5rem, 11vw, 7.5rem); }
.fh-data--warm .fh-data__value { color: var(--fh-orange); }

.fh-data__unit {
  font-family: var(--fh-mono);
  font-size: var(--fh-fs-14);
  color: var(--fh-cyan);
}

.fh-data__label {
  font-size: var(--fh-fs-12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fh-muted);
}

/* 10. 数据条 --------------------------------------------------------------- */
.fh-bar {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) minmax(120px, 3fr) auto;
  align-items: center;
  gap: 12px;
  font-size: var(--fh-fs-14);
  color: var(--fh-muted);
}

.fh-bar__label {
  font-size: var(--fh-fs-12);
  letter-spacing: 0.08em;
  color: var(--fh-muted);
  white-space: nowrap;
}

.fh-bar__track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(27, 42, 36, 0.9);
  overflow: hidden;
}

.fh-bar__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fh-cyan), #0BB79C);
  transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.fh-bar__fill--warm {
  background: linear-gradient(90deg, var(--fh-orange), var(--fh-orange-soft));
}

/* 11. 表格 ---------------------------------------------------------------- */
.fh-table__wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  background: rgba(6, 17, 13, 0.5);
}

.fh-table {
  width: 100%;
  min-width: 560px;
  font-size: var(--fh-fs-14);
}

.fh-table th,
.fh-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--fh-line);
  vertical-align: top;
}

.fh-table thead th {
  font-family: var(--fh-mono);
  font-size: var(--fh-fs-12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fh-cyan-soft);
  background: rgba(16, 84, 62, 0.5);
}

.fh-table tbody tr:nth-child(even) { background: rgba(16, 84, 62, 0.28); }
.fh-table tbody tr:hover { background: rgba(0, 229, 199, 0.08); }
.fh-table tbody tr:last-child td { border-bottom: 0; }

/* 12. 折叠面板 ------------------------------------------------------------- */
.fh-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fh-accordion__item {
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius-sm);
  background: rgba(11, 61, 46, 0.55);
  overflow: hidden;
}

.fh-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: var(--fh-fs-16);
  color: var(--fh-text);
  list-style: none;
}

.fh-accordion__summary::-webkit-details-marker { display: none; }

.fh-accordion__summary::after {
  content: "+";
  font-family: var(--fh-mono);
  font-size: var(--fh-fs-20);
  line-height: 1;
  color: var(--fh-cyan);
}

.fh-accordion__item[open] .fh-accordion__summary::after { content: "–"; }
.fh-accordion__item[open] .fh-accordion__summary { border-bottom: 1px solid var(--fh-line); }

.fh-accordion__body {
  padding: 14px 18px 18px;
  font-size: var(--fh-fs-14);
  line-height: 1.75;
  color: var(--fh-muted);
}

/* 13. 面包屑 -------------------------------------------------------------- */
.fh-breadcrumb {
  font-size: var(--fh-fs-12);
  color: var(--fh-muted);
}

.fh-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.fh-breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.fh-breadcrumb__item + .fh-breadcrumb__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--fh-line);
}

.fh-breadcrumb__link {
  color: var(--fh-cyan);
  text-decoration: none;
}

.fh-breadcrumb__link:hover { text-decoration: underline; }

/* 14. 图片容器 ------------------------------------------------------------ */
.fh-figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.fh-figure__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(0, 229, 199, 0.18), transparent 60%),
    linear-gradient(135deg, var(--fh-forest), var(--fh-ink));
}

.fh-figure__media img,
.fh-figure__media svg,
.fh-figure__media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fh-figure--wide .fh-figure__media { aspect-ratio: 21 / 9; }
.fh-figure--portrait .fh-figure__media { aspect-ratio: 3 / 4; }

.fh-figure__caption {
  font-size: var(--fh-fs-12);
  line-height: 1.7;
  color: var(--fh-muted);
}

/* 15. 说明与图例 ---------------------------------------------------------- */
.fh-note {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--fh-cyan);
  font-size: var(--fh-fs-12);
  line-height: 1.7;
  color: var(--fh-muted);
}

.fh-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: var(--fh-fs-12);
  color: var(--fh-muted);
}

.fh-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fh-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fh-cyan);
}

.fh-legend__dot--orange { background: var(--fh-orange); }

/* 16. 滚动显现 ------------------------------------------------------------ */
.fh-js .fh-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--fh-delay, 0ms);
}

.fh-js .fh-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 17. 头部框架 ------------------------------------------------------------ */
.fh-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--fh-cyan);
  color: #04130F;
  font-size: var(--fh-fs-14);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 12px 0;
}

.fh-skip:focus {
  left: 0;
}

.fh-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(6, 17, 13, 0.97), rgba(11, 61, 46, 0.9));
  border-bottom: 1px solid var(--fh-line);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}

.fh-header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--fh-cyan), var(--fh-orange));
  pointer-events: none;
}

.fh-header__frame {
  display: grid;
  grid-template-columns: var(--fh-rail-w) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.fh-header__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px 12px 0;
}

.fh-header__rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 199, 0.45), transparent);
}

.fh-rail__label {
  font-family: var(--fh-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fh-cyan-soft);
}

.fh-rail__ticks {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fh-rail__tick {
  display: block;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--fh-line);
}

.fh-rail__tick--on {
  width: 22px;
  background: linear-gradient(90deg, var(--fh-cyan), var(--fh-orange));
}

.fh-header__bar {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  min-height: var(--fh-bar-h);
  padding: 10px 0 10px 22px;
}

.fh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--fh-text);
}

.fh-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fh-cyan), #0BB79C);
  color: #04130F;
  font-family: var(--fh-mono);
  font-size: var(--fh-fs-14);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(0, 229, 199, 0.4), 0 10px 26px rgba(0, 229, 199, 0.22);
}

.fh-brand__text {
  display: flex;
  flex-direction: column;
  font-family: var(--fh-display);
  font-stretch: condensed;
  font-size: var(--fh-fs-20);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
}

.fh-brand__line {
  font-family: var(--fh-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--fh-muted);
}

.fh-header__meta {
  flex: 0 1 auto;
  padding-left: clamp(12px, 1.8vw, 26px);
  border-left: 1px solid var(--fh-line);
  font-size: var(--fh-fs-12);
  line-height: 1.5;
  color: var(--fh-muted);
}

.fh-header__version {
  font-family: var(--fh-mono);
  letter-spacing: 0.02em;
}

.fh-nav { margin-left: auto; }

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

.fh-nav__item { display: block; }

.fh-nav__link {
  display: block;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--fh-text);
  font-size: var(--fh-fs-14);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.fh-nav__link:hover {
  color: var(--fh-cyan);
  border-color: rgba(0, 229, 199, 0.45);
}

.fh-nav__link[aria-current="page"] {
  border-color: var(--fh-cyan);
  background: var(--fh-cyan);
  color: #04130F;
  font-weight: 700;
}

.fh-header__cta { flex: 0 0 auto; }

.fh-nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(0, 229, 199, 0.45);
  border-radius: 999px;
  background: rgba(11, 61, 46, 0.7);
  color: var(--fh-text);
  font-size: var(--fh-fs-12);
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.fh-nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--fh-cyan);
}

.fh-nav-toggle__bars::before,
.fh-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--fh-cyan);
  transition: transform 0.2s ease, top 0.2s ease;
}

.fh-nav-toggle__bars::before { top: -5px; }
.fh-nav-toggle__bars::after { top: 5px; }

.fh-nav-toggle__text { line-height: 1; }

.fh-header[data-open="true"] .fh-nav-toggle__bars { background: transparent; }
.fh-header[data-open="true"] .fh-nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.fh-header[data-open="true"] .fh-nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 18. 页脚 ---------------------------------------------------------------- */
.fh-footer {
  position: relative;
  z-index: 1;
  margin-top: var(--fh-chapter);
  border-top: 1px solid rgba(0, 229, 199, 0.35);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(0, 229, 199, 0.1), transparent 62%),
    linear-gradient(180deg, var(--fh-forest) 0%, var(--fh-ink) 70%);
}

.fh-footer__inner {
  width: 100%;
  max-width: var(--fh-max);
  margin: 0 auto;
  padding: 64px 24px 28px;
}

.fh-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.75fr)) minmax(0, 1.35fr);
  gap: 36px 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 229, 199, 0.16);
}

.fh-footer__brand { min-width: 0; }

.fh-footer__logo {
  margin-bottom: 12px;
  font-family: var(--fh-display);
  font-stretch: condensed;
  font-size: var(--fh-fs-28);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-text);
}

.fh-footer__desc {
  max-width: 34ch;
  font-size: var(--fh-fs-14);
  line-height: 1.7;
  color: var(--fh-muted);
}

.fh-footer__col { min-width: 0; }

.fh-footer__col-title {
  margin-bottom: 14px;
  font-family: var(--fh-mono);
  font-size: var(--fh-fs-12);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fh-cyan-soft);
}

.fh-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fh-footer__link {
  font-size: var(--fh-fs-14);
  color: var(--fh-text);
  opacity: 0.85;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.fh-footer__link:hover {
  color: var(--fh-cyan);
  opacity: 1;
}

.fh-footer__contact { min-width: 0; }

.fh-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fh-footer__contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--fh-fs-14);
  color: var(--fh-text);
  word-break: break-word;
}

.fh-footer__contact-key {
  font-family: var(--fh-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fh-muted);
}

.fh-footer__note {
  margin-top: 14px;
  font-size: var(--fh-fs-12);
  line-height: 1.7;
  color: var(--fh-muted);
}

.fh-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 26px;
}

.fh-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--fh-fs-12);
  line-height: 1.8;
  color: var(--fh-muted);
}

.fh-footer__icp {
  font-family: var(--fh-mono);
  letter-spacing: 0.04em;
  color: var(--fh-cyan-soft);
}

.fh-footer__version {
  font-family: var(--fh-mono);
  font-size: var(--fh-fs-12);
  line-height: 1.8;
  text-align: right;
  color: var(--fh-muted);
}

/* 19. 响应式 -------------------------------------------------------------- */
@media (max-width: 1279px) {
  .fh-header__meta { display: none; }
  .fh-nav__link { padding: 8px 10px; font-size: var(--fh-fs-12); }
}

@media (max-width: 1023px) {
  :root { --fh-chapter: 76px; }

  .fh-header__frame {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 18px;
  }

  .fh-header__rail { display: none; }

  .fh-header__bar {
    min-height: 64px;
    gap: 12px;
    padding: 8px 0;
  }

  .fh-header__cta { display: none; }

  .fh-nav-toggle {
    display: inline-flex;
    order: 3;
    margin-left: auto;
  }

  .fh-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 18px 18px 26px;
    background: linear-gradient(180deg, var(--fh-forest) 0%, var(--fh-ink) 100%);
    border-bottom: 1px solid rgba(0, 229, 199, 0.4);
    box-shadow: 0 26px 44px rgba(0, 0, 0, 0.55);
  }

  .fh-header[data-open="true"] .fh-nav { display: block; }

  .fh-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .fh-nav__link {
    padding: 13px 14px;
    border-radius: 12px;
    font-size: var(--fh-fs-16);
    border-color: rgba(27, 42, 36, 0.9);
    background: rgba(6, 17, 13, 0.35);
  }

  .fh-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fh-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .fh-grid { gap: 18px; }

  .fh-col-3,
  .fh-col-4,
  .fh-col-5,
  .fh-col-6,
  .fh-col-7,
  .fh-col-8 { grid-column: span 12; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }

  .fh-container { padding: 0 18px; }
  .fh-footer__inner { padding: 48px 18px 24px; }
  .fh-footer__top { grid-template-columns: minmax(0, 1fr); }
  .fh-footer__version { text-align: left; }
  .fh-card { padding: 20px; }
  .fh-bar { grid-template-columns: minmax(60px, 1fr) minmax(90px, 2fr); }
  .fh-bar__fill--warm + span { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .fh-brand__line { display: none; }
  .fh-brand__text { font-size: var(--fh-fs-16); }
  .fh-brand__mark { width: 34px; height: 34px; border-radius: 10px; }
}

/* 20. 可访问性与减弱动效 -------------------------------------------------- */
@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;
  }

  .fh-js .fh-reveal {
    opacity: 1;
    transform: none;
  }

  .fh-card:hover { transform: none; }
  .fh-btn:hover { transform: none; }
  .fh-header__progress { transition: none; }
  .fh-bar__fill { transition: none; }
}
