/* ==========================================================================
   凤凰体育看台 · 共享基础样式 /assets/site.css
   框架：深墨底 + 数据网格 + 框景刻度 + Bento 模块 + 纸色阅读面板
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --ink: #121212;
  --panel: #1D1D1F;
  --paper: #F3E9DC;
  --white: #F7F4EF;
  --mist: #A6A6AB;
  --orange: #E8491D;
  --orange-bright: #F0572A;
  --orange-deep: #7A2A12;
  --cyan: #00D5C8;
  --cyan-ink: #062A28;
  --gold: #F5A623;
  --steel: #2E4A4A;

  --line: rgba(247, 244, 239, 0.14);
  --line-strong: rgba(247, 244, 239, 0.3);
  --line-paper: rgba(18, 18, 18, 0.16);
  --line-cyan: rgba(0, 213, 200, 0.5);
  --line-orange: rgba(232, 73, 29, 0.55);

  --font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1280px;
  --gutter: 40px;
  --header-h: 76px;
  --radius: 6px;

  --shadow-1: 0 1px 0 rgba(247, 244, 239, 0.06), 0 14px 34px -22px rgba(0, 0, 0, 0.92);
  --shadow-lift: 0 2px 0 rgba(247, 244, 239, 0.08), 0 22px 46px -24px rgba(0, 0, 0, 0.98);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(0, 213, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 213, 200, 0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

img, svg, picture, video { max-width: 100%; }

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

button { font: inherit; color: inherit; }

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

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

#main-content {
  display: block;
  padding-top: var(--header-h);
}

/* ---------- 3. 跳转链 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--cyan-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

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

/* ---------- 5. 头部 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 130;
  background: transparent;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.site-header[data-scrolled="true"] {
  background: rgba(18, 18, 18, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 20px 44px -36px #000;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-ruler {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 14px);
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 0.24s var(--ease);
}
.site-header[data-scrolled="true"] .header-ruler { opacity: 0.3; }

.header-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--gold) 80%, var(--cyan) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.site-header__inner {
  position: relative;
  z-index: 134;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

/* 品牌锁定 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  border-radius: 4px;
}

.brand__glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 70% 100%, 0 100%);
  transition: background-color 0.16s var(--ease);
}
.brand:hover .brand__glyph { background: var(--orange-bright); }

.brand__glyph::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 5px;
  height: 5px;
  background: var(--gold);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.brand__desc {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

/* 主导航 */
.site-nav {
  margin-left: auto;
  z-index: 138;
}

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

.site-nav__item { display: block; }

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
  transition: color 0.16s var(--ease);
}

.site-nav__label { display: inline; }

.site-nav__link:hover {
  background: rgba(247, 244, 239, 0.06);
  border-color: var(--line);
}
.site-nav__link:hover .site-nav__index { color: var(--cyan); }

.site-nav__link[aria-current="page"] {
  color: var(--cyan);
  border-color: var(--line-cyan);
  background: rgba(0, 213, 200, 0.08);
}
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--cyan); }

/* 头部动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
  flex: 0 0 auto;
}

/* 汉堡 / 抽屉开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

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

/* 抽屉遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 136;
  background: rgba(6, 8, 8, 0.74);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}
.site-header[data-nav-open="true"] .nav-scrim {
  opacity: 1;
  visibility: visible;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background-color 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--orange-bright);
  box-shadow: 0 14px 30px -18px rgba(232, 73, 29, 0.9);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--cyan {
  background: var(--cyan);
  color: var(--cyan-ink);
}
.btn--cyan:hover { background: #2AE3D7; }

.btn--sm { padding: 10px 15px; font-size: 13px; }
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- 7. 分区与阅读面板 ---------- */
.section {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0;
}
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--panel { background: var(--panel); }

.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section--paper .index-tag { color: var(--orange-deep); }

.page-panel {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-paper);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 56px);
}

.prose {
  max-width: 72ch;
  color: var(--ink);
}
.prose p { margin-bottom: 1em; }
.prose h2,
.prose h3 { color: var(--ink); margin: 1.4em 0 0.5em; }
.prose ul { list-style: none; }
.prose li { position: relative; padding-left: 18px; margin-bottom: 0.6em; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  background: var(--orange);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ---------- 8. 索引标签 ---------- */
.index-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.index-tag::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* ---------- 9. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}
.grid--bento { grid-template-columns: repeat(12, 1fr); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 10. 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-orange);
  box-shadow: var(--shadow-lift);
}

.card--paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-paper);
}
.card--paper:hover { border-color: rgba(232, 73, 29, 0.6); }

.card--accent {
  background: var(--orange);
  color: var(--ink);
  border-color: transparent;
}

.card--quiet {
  background: transparent;
  box-shadow: none;
  border-style: dashed;
}

/* 四角刻度 */
.corner-marks { position: relative; }
.corner-marks::before,
.corner-marks::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--cyan);
  opacity: 0.75;
  pointer-events: none;
}
.corner-marks::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}
.corner-marks::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

/* ---------- 11. 媒体容器（页面阶段放图） ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-frame img,
.media-frame picture,
.media-frame svg,
.media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(232, 73, 29, 0.34), rgba(0, 213, 200, 0.18));
  mix-blend-mode: multiply;
}

.media-frame__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 244, 239, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 239, 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(18, 18, 18, 0.8));
}

.media-frame__placeholder {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(18, 18, 18, 0.1) 0 8px, transparent 8px 16px);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--paper {
  background: #D9CEBC;
  border-color: var(--line-paper);
}

/* ---------- 12. 数据读数 ---------- */
.stat { display: grid; gap: 6px; }

.stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.stat__value--gold { color: var(--gold); }
.stat__value--cyan { color: var(--cyan); }

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

.section--paper .stat__value,
.card--paper .stat__value { color: var(--ink); }
.section--paper .stat__label,
.card--paper .stat__label { color: var(--steel); }

.data-band {
  display: flex;
  flex-wrap: wrap;
  background: rgba(29, 29, 31, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-band__cell {
  flex: 1 1 140px;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.data-band__cell:last-child { border-right: 0; }

/* ---------- 13. 标签 / 筛选 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.tag:hover {
  color: var(--cyan);
  border-color: var(--line-cyan);
}
.tag[aria-pressed="true"],
.tag.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--cyan-ink);
}

/* ---------- 14. 可展开内容组 ---------- */
.accordion { border-top: 1px solid var(--line); }

.accordion__item { border-bottom: 1px solid var(--line); }

.accordion__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  background: none;
  border: 0;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: color 0.16s var(--ease);
}
.accordion__trigger:hover { color: var(--cyan); }

.accordion__label { flex: 1 1 auto; }

.accordion__sign {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}
.accordion__sign::before,
.accordion__sign::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}
.accordion__sign::before { left: 0; top: 6px; width: 14px; height: 2px; }
.accordion__sign::after { left: 6px; top: 0; width: 2px; height: 14px; }

.accordion__trigger[aria-expanded="true"] .accordion__sign::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion__panel { padding: 0 4px 20px; }

.accordion__body {
  max-width: 68ch;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.75;
}
.accordion__body p { margin-bottom: 12px; }
.accordion__body p:last-child { margin-bottom: 0; }

.section--paper .accordion { border-top-color: var(--line-paper); }
.section--paper .accordion__item { border-bottom-color: var(--line-paper); }
.section--paper .accordion__body { color: var(--steel); }

/* ---------- 15. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

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

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line-strong);
}

.breadcrumb__link {
  color: var(--mist);
  transition: color 0.16s var(--ease);
}
.breadcrumb__link:hover { color: var(--cyan); }

.breadcrumb__current { color: var(--white); }
.section--paper .breadcrumb__current { color: var(--ink); }
.section--paper .breadcrumb__link { color: var(--steel); }

/* ---------- 16. 滚动显现 ---------- */
.js-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 64px 0 28px;
  background: var(--ink);
  border-top: 1px solid var(--line);
  color: var(--white);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0 140px, var(--gold) 140px 180px, var(--cyan) 180px 220px);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(52vw, 620px);
  height: 140px;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(247, 244, 239, 0.055) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(247, 244, 239, 0.055) 0 1px, transparent 1px 26px);
  opacity: 0.9;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 34px 24px;
}

.footer-brand { grid-column: span 4; }

.footer-brand__lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand__glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 70% 100%, 0 100%);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.footer-brand__note {
  max-width: 36ch;
  margin-bottom: 16px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

.footer-brand__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.footer-brand__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.footer-col { grid-column: span 2; }

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}
.footer-col__title::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--cyan);
  transform: rotate(45deg);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links__item { display: block; }

.footer-links__link {
  display: inline-block;
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.16s var(--ease), transform 0.16s var(--ease);
}
.footer-links__link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-contact { grid-column: span 2; }

.footer-contact__list {
  display: grid;
  gap: 12px;
}

.footer-contact__row {
  display: grid;
  gap: 2px;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer-contact__value {
  color: var(--white);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-contact__note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--mist);
  font-size: 12px;
  line-height: 1.7;
}

.footer-closing {
  position: relative;
  z-index: 1;
  margin: 52px auto 0;
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
}

.footer-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.footer-meta__copy { margin: 0; }
.footer-meta__icp { margin: 0; }

.footer-top {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  transition: color 0.16s var(--ease);
}
.footer-top::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
}
.footer-top:hover { color: var(--cyan); }

/* ---------- 18. 平板 ---------- */
@media (max-width: 1180px) {
  .site-nav__link { padding: 8px 8px; font-size: 13px; }
  .brand__desc { display: none; }
  .header-actions { margin-left: 8px; }
}

/* ---------- 19. 移动导航断点 ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 138;
    width: min(86vw, 360px);
    margin: 0;
    padding: calc(var(--header-h) + 22px) 24px 40px;
    background: var(--panel);
    border-left: 1px solid var(--line);
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform 0.3s var(--ease);
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  }
  .site-nav[data-open="true"] { transform: translateX(0); }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__link {
    width: 100%;
    gap: 12px;
    padding: 15px 10px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
    white-space: normal;
  }
  .site-nav__link:hover,
  .site-nav__link[aria-current="page"] {
    background: rgba(0, 213, 200, 0.08);
    border-radius: 4px;
  }

  .footer-brand { grid-column: span 6; }
  .footer-col { grid-column: span 2; }
  .footer-contact { grid-column: span 6; }
}

/* ---------- 20. 手机 ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .brand__name { font-size: 15px; }
  .header-actions .btn--sm { padding: 9px 12px; font-size: 12px; }
}

@media (max-width: 620px) {
  .header-actions .btn--primary { display: none; }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .footer-brand,
  .footer-col,
  .footer-contact { grid-column: 1 / -1; }

  .footer-closing { margin-top: 40px; }

  .footer-meta { gap: 8px 16px; font-size: 11px; }
  .footer-top { margin-left: 0; }
}

/* ---------- 21. 可访问性 ---------- */
@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;
    scroll-behavior: auto !important;
  }

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

  .btn:hover,
  .card:hover,
  .footer-links__link:hover { transform: none; }
}
