/* ==========================================================================
   FB体育官网 · 共享样式表 /assets/site.css
   夜场转播间气质：深靛蓝底，荧光青与赛场橙只落在可点击处
   ========================================================================== */

/* ---------- 1. 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,
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩体系 */
  --ink-900: #05070F;   /* 转播近黑 · 页脚与分隔 */
  --ink-800: #0A0F2C;   /* 夜场靛蓝 · 主背景 */
  --ink-700: #141726;   /* 炭黑实色 · 内容层底面 */
  --ink-600: #1B2140;   /* 抬升底面 */
  --cyan: #00E5C7;      /* 荧光青 · 主交互 */
  --orange: #FF6A2B;    /* 赛场橙 · 次交互 */
  --indigo: #7C8CFF;    /* 靛蓝浅阶 · 描边与图表 */
  --text: #E9EEFB;      /* 冷白正文 */
  --text-dim: #97A3C6;  /* 灰蓝注释 */

  --glass: rgba(0, 229, 199, 0.10);
  --glass-border: rgba(0, 229, 199, 0.22);
  --orange-wash: rgba(255, 106, 43, 0.16);
  --line: rgba(124, 140, 255, 0.18);
  --line-soft: rgba(124, 140, 255, 0.12);

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-serif: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;

  /* 尺度 */
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 72px;
  --rail-w: 56px;
  --shell-max: 1480px;
  --radius: 14px;

  /* 光源：冷蓝底上的一束暖橙 */
  --scene-light:
    radial-gradient(1100px 720px at 82% -12%, rgba(255, 106, 43, 0.13), transparent 62%),
    radial-gradient(880px 620px at 4% 6%, rgba(0, 229, 199, 0.08), transparent 64%),
    radial-gradient(1200px 900px at 50% 108%, rgba(124, 140, 255, 0.10), transparent 70%);
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-800);
  background-image: var(--scene-light);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  word-break: break-word;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: clamp(30px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3.4vw, 38px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }

strong { font-weight: 700; color: var(--text); }

::selection { background: rgba(0, 229, 199, 0.32); color: #ffffff; }

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

@media (min-width: 1080px) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--ink-900); }
  ::-webkit-scrollbar-thumb { background: rgba(124, 140, 255, 0.3); border-radius: 10px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(0, 229, 199, 0.5); }
}

/* ---------- 4. 跳至正文 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--cyan);
  color: #04141A;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 页面容器与网格 ---------- */
.page-shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-shell--narrow { max-width: 940px; }
.page-shell--wide { max-width: 1680px; }

@media (min-width: 1080px) {
  .page-shell { padding-inline-start: calc(var(--rail-w) + var(--gutter)); }
}

.stack { display: grid; gap: var(--stack-gap, 20px); }

.grid { display: grid; gap: clamp(18px, 2.6vw, 32px); grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(0, 229, 199, 0.45), rgba(124, 140, 255, 0.16) 42%, transparent);
}

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

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.btn--primary {
  background: var(--orange);
  color: #18080A;
  box-shadow: 0 12px 30px -18px rgba(255, 106, 43, 0.95);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--cyan), 0 16px 34px -20px rgba(255, 106, 43, 0.95);
}

.btn--ghost {
  background: var(--glass);
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--glass-border);
}
.btn--ghost:hover {
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.btn--quiet {
  padding-inline: 4px;
  color: var(--text-dim);
  box-shadow: inset 0 -1px 0 0 rgba(124, 140, 255, 0.4);
  border-radius: 2px;
}
.btn--quiet:hover { color: var(--cyan); box-shadow: inset 0 -1px 0 0 var(--cyan); }

/* ---------- 7. 头部：L 形版心边框 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 7, 15, 0.74);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  width: 100%;
  max-width: var(--shell-max);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 12px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cyan);
  color: #04141A;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(0, 229, 199, 0.45), 0 12px 32px -16px rgba(0, 229, 199, 0.9);
}
.brand__text { display: grid; gap: 1px; }
.brand__line {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}
.brand__tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 11.5px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

.brand--stack { gap: 10px; }
.brand--stack .brand__mark { width: 38px; height: 38px; border-radius: 11px; font-size: 15px; }
.brand--stack .brand__line { font-size: 15px; }

/* 主导航 */
.site-nav { margin-inline-start: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__item { display: block; }

.site-nav__link {
  position: relative;
  display: block;
  padding: 9px 13px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.site-nav__link:hover {
  color: var(--text);
  background: rgba(0, 229, 199, 0.07);
  box-shadow: inset 0 0 0 1px var(--glass-border);
}
.site-nav__link[aria-current="page"] {
  color: var(--cyan);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-border);
}
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  translate: -50% 0;
}

.site-nav__meta { display: none; }
.site-nav__cta { display: none; }

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

/* 移动端切换按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: var(--glass);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 160ms ease, color 160ms ease;
}
.nav-toggle:hover { color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.nav-toggle__glyph { display: grid; gap: 4px; width: 16px; }
.nav-toggle__glyph i {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle__label { line-height: 1; }

.site-header[data-open] .nav-toggle { color: var(--cyan); }
.site-header[data-open] .nav-toggle__glyph i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__glyph i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__glyph i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 8. 左侧刻度轨 ---------- */
.rail { display: none; }

@media (min-width: 1080px) {
  .rail {
    position: fixed;
    left: 0;
    top: var(--header-h);
    bottom: 0;
    z-index: 45;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px 0 26px;
    background: rgba(5, 7, 15, 0.55);
    border-right: 1px solid var(--line-soft);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
  }
  .rail__label {
    writing-mode: vertical-rl;
    font-family: var(--font-serif);
    font-size: 11px;
    letter-spacing: 0.34em;
    color: var(--text-dim);
  }
  .rail__index {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--cyan);
    font-variant-numeric: tabular-nums;
  }
  .rail__track {
    position: relative;
    flex: 1;
    width: 2px;
    margin: 6px 0;
    border-radius: 2px;
    background: rgba(233, 238, 251, 0.08);
    overflow: hidden;
  }
  .rail__fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--cyan), rgba(255, 106, 43, 0.85));
    transform-origin: top center;
    transform: scaleY(0);
  }
}

/* ---------- 9. 章节体系（4:8 非对称编辑部版式） ---------- */
.chapter { display: grid; gap: 10px; grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .chapter {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 8px 32px;
    align-items: start;
  }
}

.chapter__no {
  font-family: var(--font-mono);
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: rgba(0, 229, 199, 0.9);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) {
  .chapter__no {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(0, 229, 199, 0.7);
  }
}

.chapter__head { display: grid; gap: 10px; }
.chapter__title { font-size: clamp(24px, 3.4vw, 38px); }
.chapter__lead {
  max-width: 62ch;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- 10. 卡片 / 标签 / 数据 ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-700);
  padding: clamp(18px, 2.4vw, 28px);
}
.card--glass {
  background: var(--glass);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card__body { display: grid; gap: 10px; }
.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.tag--cyan { background: var(--glass); border-color: var(--glass-border); color: var(--cyan); }
.tag--orange { background: var(--orange-wash); border-color: rgba(255, 106, 43, 0.35); color: var(--orange); }

.stat { display: grid; gap: 2px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

/* ---------- 11. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.crumbs__item { color: var(--text-dim); transition: color 160ms ease; }
.crumbs__item:hover { color: var(--cyan); }
.crumbs__item[aria-current="page"] { color: var(--text); }
.crumbs__sep { color: rgba(124, 140, 255, 0.5); }

/* ---------- 12. 图片容器基础规则 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, var(--ink-700), var(--ink-600) 60%, rgba(255, 106, 43, 0.10));
  aspect-ratio: 16 / 10;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 14px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  background: linear-gradient(180deg, rgba(5, 7, 15, 0), rgba(5, 7, 15, 0.92));
}
.media--halftone::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(233, 238, 251, 0.18) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

/* ---------- 13. 标签页 ---------- */
.tabs { display: grid; gap: 22px; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 15, 0.5);
}

.tabs__tab {
  appearance: none;
  border: 0;
  padding: 9px 16px;
  border-radius: 10px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] {
  color: #04141A;
  background: var(--cyan);
  box-shadow: 0 10px 26px -18px rgba(0, 229, 199, 1);
}

.tabs__panels { position: relative; }
.tabs__panel { display: none; }
.tabs__panel[data-active="true"] { display: block; animation: tabs-in 180ms ease both; }

@keyframes tabs-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 14. 正文容器 ---------- */
.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 22px; margin-top: 1.8em; }
.prose h3 { font-size: 17px; margin-top: 1.6em; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(0, 229, 199, 0.10);
}
.prose blockquote {
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--cyan);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-dim);
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  margin-top: clamp(64px, 10vw, 140px);
  background: var(--ink-900);
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 14px;
}

.site-footer__inner {
  display: grid;
  gap: 40px 32px;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) var(--gutter) clamp(30px, 4vw, 48px);
}

@media (min-width: 640px) {
  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .site-footer__inner { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .site-footer__inner {
    grid-template-columns: 1.5fr repeat(3, minmax(0, 0.85fr)) 1.25fr;
    padding-inline-start: calc(var(--rail-w) + var(--gutter));
  }
}

.site-footer__brand { display: grid; gap: 14px; align-content: start; }
.site-footer__meta { color: var(--text-dim); font-size: 13.5px; line-height: 1.75; max-width: 40ch; }
.site-footer__stamp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(0, 229, 199, 0.75);
}

.site-footer__col { display: grid; gap: 0; align-content: start; }

.site-footer__heading {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text);
}

.site-footer__list { display: grid; gap: 3px; }

.site-footer__link {
  display: inline-block;
  padding-block: 4px;
  color: var(--text-dim);
  font-size: 14px;
  transition: color 160ms ease, transform 160ms ease;
}
.site-footer__link:hover { color: var(--cyan); transform: translateX(3px); }

.site-footer__contact { display: grid; gap: 0; align-content: start; }

.site-footer__facts { display: grid; gap: 12px; }
.site-footer__fact { display: grid; gap: 2px; }
.site-footer__fact dt {
  font-family: var(--font-serif);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: rgba(151, 163, 198, 0.7);
}
.site-footer__fact dd {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}

.site-footer__note {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(0, 229, 199, 0.05);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: rgba(151, 163, 198, 0.8);
}
@media (min-width: 1080px) {
  .site-footer__legal { padding-inline-start: calc(var(--rail-w) + var(--gutter)); }
}

.site-footer__copy { color: var(--text-dim); }
.site-footer__icp { color: rgba(0, 229, 199, 0.8); }
.site-footer__domain { margin-inline-start: auto; color: rgba(151, 163, 198, 0.6); }

/* ---------- 16. 移动端导航与断点 ---------- */
@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 4px;
    margin-inline-start: 0;
    padding: 20px var(--gutter) 30px;
    background: rgba(5, 7, 15, 0.97);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 44px 84px -56px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  }
  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
  }

  .site-nav__list { display: grid; gap: 2px; }
  .site-nav__link {
    padding: 13px 14px;
    font-size: 16px;
    border-radius: 12px;
  }
  .site-nav__link[aria-current="page"]::after { display: none; }
  .site-nav__link[aria-current="page"] {
    box-shadow: inset 3px 0 0 0 var(--orange), inset 0 0 0 1px var(--glass-border);
  }

  .site-nav__meta {
    display: block;
    padding: 14px 14px 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    border-top: 1px solid var(--line-soft);
    margin-top: 12px;
  }

  .site-nav__cta {
    display: inline-flex;
    margin: 16px 14px 0;
    align-self: start;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .brand__tag { display: none; }
}

@media (max-width: 520px) {
  .site-header__actions .btn--primary { display: none; }
  .brand__mark { width: 38px; height: 38px; border-radius: 11px; font-size: 15px; }
}

/* ---------- 17. 动效与无障碍偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .btn--primary:hover,
  .btn--ghost:hover,
  .site-footer__link:hover { transform: none; }

  .tabs__panel[data-active="true"] { animation: none; }

  .rail__fill { transform: scaleY(1) !important; }
}
