/* =========================================================
   /assets/site.css — 华体会体育中文主站 共享样式
   夜间赛场指挥中心：战术网格 / 记分牌 / 框景窗口
   ========================================================= */

/* ---------- 1. 变量 ---------- */
:root {
  --ink: #0B1F1A;
  --carbon: #121417;
  --paper: #F3EBDD;
  --lime: #B6FF3B;
  --orange: #FF7A2F;
  --teal: #144D3F;
  --moss: #7C9187;
  --steel: #A9B5AF;
  --sand: #D8C9A8;
  --ice: #F7FAF5;

  --line: rgba(247, 250, 245, 0.14);
  --line-strong: rgba(247, 250, 245, 0.26);
  --line-dark: rgba(18, 20, 23, 0.14);

  --shell: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 14px;
  --radius-sm: 2px;

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

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

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

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

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

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

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

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

::selection { background: var(--lime); color: var(--carbon); }

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

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--ice);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(247, 250, 245, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 250, 245, 0.032) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- 4. 工具类 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-220%);
  background: var(--lime);
  color: var(--carbon);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s var(--ease);
}

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

.display-xl {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7.2vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.015em;
}

.display-l {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(15.5px, 1.4vw, 18.5px);
  line-height: 1.78;
  color: var(--steel);
  max-width: 62ch;
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.index-label::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--lime);
}

.mono { font-family: var(--font-mono); }

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

/* ---------- 5. 章节 ---------- */
.section { padding-block: clamp(44px, 6vw, 92px); }

.section--paper {
  background: var(--paper);
  color: var(--carbon);
}

.section--paper .lead { color: #3E4A44; }

.section--paper :focus-visible { outline-color: var(--teal); }

.section--deep { background: var(--ink); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.06;
  letter-spacing: 0.005em;
}

.section-head__aside {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--moss);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn--accent {
  background: var(--orange);
  color: #1A0C04;
}

.btn--accent:hover {
  background: #FF9358;
  transform: translateY(-1px);
}

.btn--lime {
  background: var(--lime);
  color: var(--carbon);
}

.btn--lime:hover {
  background: #C9FF6E;
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ice);
}

.btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn--sm {
  padding: 9px 14px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

/* ---------- 7. 网格与分屏 ---------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
}

/* 左栏索引 */
.rail {
  position: sticky;
  top: 118px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 31, 26, 0.6);
}

.rail__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
}

.rail__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rail__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--steel);
  border-bottom: 1px solid rgba(247, 250, 245, 0.08);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.rail__link:last-child { border-bottom: 0; }

.rail__link:hover {
  color: var(--lime);
  padding-left: 4px;
}

/* 框景窗口 */
.frame {
  position: relative;
  padding: clamp(16px, 2.4vw, 32px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--lime);
}

.frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.frame::after {
  right: -1px;
  bottom: -1px;
  border-top: 0;
  border-left: 0;
}

/* ---------- 8. 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 77, 63, 0.3);
  transition: border-color 0.24s var(--ease), background-color 0.24s var(--ease),
    transform 0.24s var(--ease);
}

.card:hover {
  border-color: rgba(182, 255, 59, 0.5);
  transform: translateY(-2px);
}

.card--paper {
  background: var(--paper);
  color: var(--carbon);
  border-color: var(--line-dark);
}

.card--paper:hover { border-color: var(--teal); }

.card__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--lime);
}

.card--paper .card__index { color: #2C6B58; }

.card__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.16;
}

.card__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--steel);
}

.card--paper .card__text { color: #45514B; }

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--moss);
}

.card--paper .card__foot { border-top-color: var(--line-dark); }

/* ---------- 9. 标签 / 数字 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(182, 255, 59, 0.32);
  border-radius: 99px;
  background: rgba(182, 255, 59, 0.14);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--orange {
  background: rgba(255, 122, 47, 0.16);
  border-color: rgba(255, 122, 47, 0.4);
  color: #FFB48A;
}

.tag--neutral {
  background: rgba(247, 250, 245, 0.07);
  border-color: var(--line-strong);
  color: var(--steel);
}

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

.stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
}

/* ---------- 10. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--teal), var(--ink) 78%);
}

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

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

.media__frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(182, 255, 59, 0.34);
  border-radius: 8px;
  pointer-events: none;
}

.media__frame::before,
.media__frame::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--lime);
}

.media__frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.media__frame::after {
  right: -1px;
  bottom: -1px;
  border-top: 0;
  border-left: 0;
}

.media__cap {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: rgba(11, 31, 26, 0.82);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.media__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 18px 18px 14px;
  background: linear-gradient(to top, rgba(11, 31, 26, 0.94), rgba(11, 31, 26, 0));
  color: var(--ice);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- 11. 对比条 ---------- */
.scorebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scorebar__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scorebar__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.scorebar__track {
  height: 10px;
  border-radius: 99px;
  background: rgba(247, 250, 245, 0.1);
  overflow: hidden;
}

.scorebar__fill {
  display: block;
  height: 100%;
  width: var(--val, 50%);
  border-radius: 99px;
  background: var(--lime);
  transition: width 0.32s var(--ease);
}

.scorebar__fill--alt { background: var(--orange); }

/* ---------- 12. 主题筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.filter-chip:hover {
  border-color: var(--lime);
  color: var(--ice);
}

.filter-chip[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--carbon);
  font-weight: 700;
}

[data-filter-hidden="true"] { display: none !important; }

.filter-empty {
  display: none;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
}

.filter-empty[data-filter-hidden="false"] { display: block; }

/* ---------- 13. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--moss);
}

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

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: var(--moss);
}

.breadcrumbs__item a { color: var(--steel); transition: color 0.2s var(--ease); }

.breadcrumbs__item a:hover { color: var(--lime); }

.breadcrumbs__item[aria-current="page"] { color: var(--sand); }

/* ---------- 14. 长文排版 ---------- */
.prose {
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.85;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.2;
  margin: 1.8em 0 0.5em;
}

.prose h3 {
  margin: 1.5em 0 0.4em;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
}

.prose p { margin: 0 0 1em; }

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin: 0 0 1.2em;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

.prose a {
  border-bottom: 1px solid currentColor;
  transition: color 0.2s var(--ease);
}

.prose a:hover { color: #2C6B58; }

/* ---------- 15. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--carbon);
  color: var(--ice);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.9);
  transition: background-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.site-header[data-scrolled] {
  background: #0D1013;
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.95);
}

.site-header__meta {
  background: var(--ink);
  border-bottom: 1px solid rgba(247, 250, 245, 0.08);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  padding-block: 7px;
}

.meta-row__label,
.meta-row__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.meta-row__label { color: var(--sand); }

.meta-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(182, 255, 59, 0.16);
}

.site-header__main { position: relative; }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand__num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  background: var(--lime);
  color: var(--carbon);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 88% 100%, 0 100%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--ice);
}

.brand__suffix {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--moss);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0px, 0.6vw, 6px);
}

.site-nav__item { position: relative; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--steel);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}

.site-nav__link:hover { color: var(--ice); }
.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: var(--ice);
  font-weight: 700;
}

.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 14px;
  margin-top: -7px;
  background: var(--orange);
}

.site-nav__cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--lime);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-header[data-open] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }

.site-header[data-open] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

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

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.scroll-meter__fill {
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--lime), var(--orange));
}

/* ---------- 16. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 112px);
  background: var(--carbon);
  color: var(--ice);
  border-top: 2px solid var(--lime);
}

.footer-plate {
  background: var(--ink);
  border-bottom: 1px solid rgba(247, 250, 245, 0.1);
}

.footer-plate__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 18px;
  padding-block: 10px;
}

.footer-plate__tag,
.footer-plate__mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

.footer-plate__tag { color: var(--sand); }
.footer-plate__mono { color: var(--moss); }

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(34px, 5vw, 64px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 36ch;
}

.footer-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--lime);
  color: var(--carbon);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 88% 100%, 0 100%);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.footer-brand__line {
  font-size: 14px;
  line-height: 1.8;
  color: var(--steel);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-heading::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--lime);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--steel);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-link::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  background: var(--moss);
  transition: background-color 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--ice);
  transform: translateX(3px);
}

.footer-link:hover::before { background: var(--orange); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(124, 145, 135, 0.35);
}

.footer-contact__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
}

.footer-contact__value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ice);
  word-break: break-word;
}

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

.footer-contact__note {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--moss);
}

.copy-btn {
  padding: 3px 8px;
  border: 1px solid rgba(182, 255, 59, 0.4);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--lime);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.copy-btn:hover {
  background: var(--lime);
  color: var(--carbon);
}

.copy-btn[data-copied] {
  background: var(--orange);
  border-color: var(--orange);
  color: #180C04;
}

.footer-legal {
  background: var(--ink);
  border-top: 1px solid rgba(247, 250, 245, 0.1);
}

.footer-legal__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 16px;
}

.footer-legal__copy,
.footer-legal__icp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--moss);
}

.footer-legal__mono { color: var(--steel); }

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-legal__links a {
  font-size: 12.5px;
  color: var(--steel);
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-legal__links a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* ---------- 17. 动效状态 ---------- */
[data-reveal-state="pending"] {
  opacity: 0;
  transform: translateY(16px);
}

[data-reveal-state="shown"] {
  opacity: 1;
  transform: none;
  transition: opacity 0.36s var(--ease), transform 0.36s var(--ease);
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    background: #0D1013;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -28px rgba(0, 0, 0, 0.9);
  }

  .site-header[data-open] .site-nav { display: flex; }

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

  .site-nav__item + .site-nav__item {
    border-top: 1px solid rgba(247, 250, 245, 0.08);
  }

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

  .site-nav__link::after {
    left: 4px;
    right: auto;
    bottom: 9px;
    width: 24px;
  }

  .site-nav__link[aria-current="page"]::before { left: -12px; }

  .site-nav__cta {
    width: 100%;
    margin-top: 16px;
  }

  .rail {
    position: static;
  }

  .rail__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 16px;
  }

  .rail__link {
    border-bottom: 0;
    padding: 6px 0;
  }
}

@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .span-3, .span-4, .span-6, .span-9, .span-12 { grid-column: span 6; }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .footer-brand { max-width: none; }
}

@media (max-width: 620px) {
  .meta-row__status { display: none; }

  .header-row { padding-block: 10px; }

  .brand__num {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .footer-main { grid-template-columns: 1fr; }

  .footer-legal__row { flex-direction: column; align-items: flex-start; }

  .media--wide { aspect-ratio: 16 / 10; }
}

/* ---------- 19. 减少动态 ---------- */
@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;
  }

  [data-reveal-state="pending"] {
    opacity: 1;
    transform: none;
  }
}
