/* =========================================================
   雅博体育 · 共享样式 /assets/site.css
   冰面竞技场 × 数据仪表盘
   ========================================================= */

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

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

body { margin: 0; }

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

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

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

button, input, select, textarea { font: inherit; color: inherit; }

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

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

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-950: #07111F;
  --blue-900: #0B2748;
  --ice-100: #EAF6FF;
  --aurora-400: #2DE2C4;
  --orange-500: #FF6A2A;
  --orange-400: #FF8A55;
  --lime-400: #B6FF3B;
  --slate-600: #5B7288;
  --paper-0: #FFFFFF;
  --red-signal: #FF4D5A;

  --ice-70: rgba(234, 246, 255, 0.72);
  --ice-50: rgba(234, 246, 255, 0.50);
  --ice-16: rgba(234, 246, 255, 0.16);
  --ice-10: rgba(234, 246, 255, 0.10);
  --ink-08: rgba(7, 17, 31, 0.08);
  --ink-14: rgba(7, 17, 31, 0.14);
  --ink-70: rgba(7, 17, 31, 0.72);
  --aurora-24: rgba(45, 226, 196, 0.24);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-cond: "Barlow Condensed", "Roboto Condensed", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, "Courier New", monospace;

  --shell: 1180px;
  --gutter: clamp(18px, 4vw, 44px);
  --cut-notch: 22px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --dur: 0.28s;
  --z-header: 60;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ice-100);
  background-color: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--aurora-400); color: var(--ink-950); }

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

#main-content:focus-visible { outline-offset: -4px; }

h1, h2, h3 { font-weight: 700; line-height: 1.18; }

h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: 0.02em;
  color: var(--paper-0);
}

h2 {
  font-family: var(--font-cond);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.02em;
  color: var(--paper-0);
}

h3 {
  font-family: var(--font-sans);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: var(--paper-0);
}

strong { font-weight: 600; color: var(--paper-0); }

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

.section { padding-block: clamp(44px, 7vw, 92px); }

.section--paper {
  background-color: var(--paper-0);
  color: var(--ink-950);
}

.section--paper h1,
.section--paper h2,
.section--paper h3,
.section--paper strong { color: var(--ink-950); }

.section--paper .eyebrow { color: var(--blue-900); }
.section--paper .prose { color: var(--ink-70); }
.section--paper .section-index { color: var(--slate-600); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 11px 18px;
  border-radius: 2px;
  background-color: var(--lime-400);
  color: var(--ink-950);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  transform: translateY(-180%);
  transition: transform var(--dur) var(--ease);
}

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

/* ---------- 6. 页头 ---------- */
.site-header {
  position: relative;
  z-index: var(--z-header);
  background-color: var(--ink-950);
  color: var(--ice-100);
  border-bottom: var(--ice-10) solid 1px;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    var(--aurora-400) 18%,
    var(--lime-400) 48%,
    var(--orange-500) 72%,
    transparent 100%
  );
  opacity: 0.8;
  pointer-events: none;
}

/* 6.1 顶部刻度条 */
.header-rail {
  background-color: var(--blue-900);
  border-bottom: var(--ice-10) solid 1px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1;
}

.header-rail__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 40px;
  padding-block: 5px;
}

.rail-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-block: 4px;
  color: var(--ice-50);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.rail-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.rail-link:hover { color: var(--aurora-400); }
.rail-link:hover::after { transform: scaleX(1); }

.rail-link--solid {
  padding: 7px 14px;
  background-color: var(--orange-500);
  color: var(--ink-950);
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.rail-link--solid::after { display: none; }

.rail-link--solid:hover {
  background-color: var(--orange-400);
  color: var(--ink-950);
  transform: translateY(-1px);
}

.rail-scale {
  flex: 1 1 auto;
  min-width: 24px;
  height: 1px;
  margin-inline: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--ice-16) 0,
    var(--ice-16) 1px,
    transparent 1px,
    transparent 8px
  );
}

/* 6.2 居中报头 */
.masthead {
  position: relative;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(120% 170% at 50% -55%, rgba(45, 226, 196, 0.18), transparent 62%),
    linear-gradient(180deg, rgba(11, 39, 72, 0.55), transparent 78%);
  border-bottom: var(--ice-10) solid 1px;
}

.masthead__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(20px, 3.2vw, 32px) clamp(16px, 2.6vw, 26px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4.6vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: var(--paper-0);
  transition: color var(--dur) var(--ease), text-shadow var(--dur) var(--ease);
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--aurora-400);
}

.brand:hover .brand__name,
.brand:focus-visible .brand__name {
  color: var(--aurora-400);
  text-shadow: 0 0 24px rgba(45, 226, 196, 0.35);
}

/* 6.3 移动目录按钮 */
.nav-toggle {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: var(--ice-16) solid 1px;
  background-color: rgba(11, 39, 72, 0.62);
  color: var(--ice-100);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--aurora-400);
  color: var(--aurora-400);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
  transition: transform var(--dur) var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.site-header[data-open] .nav-toggle__bars::before { transform: translateY(4.25px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { transform: translateY(-4.25px) rotate(-45deg); }

.nav-toggle__text { text-transform: uppercase; }

/* 6.4 主栏目轨道 */
.site-nav {
  background-color: var(--ink-950);
  border-bottom: var(--ice-10) solid 1px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 4px clamp(6px, 2vw, 26px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav-list__item { display: flex; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 16px 6px 15px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ice-70);
  transition: color var(--dur) var(--ease);
}

.nav-link__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--slate-600);
  transition: color var(--dur) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 8px;
  height: 2px;
  background-color: var(--aurora-400);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s var(--ease);
}

.nav-link:hover { color: var(--paper-0); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover .nav-link__num { color: var(--lime-400); }

.nav-link[aria-current="page"] { color: var(--paper-0); }

.nav-link[aria-current="page"] .nav-link__num { color: var(--lime-400); }

.nav-link[aria-current="page"]::after {
  background-color: var(--orange-500);
  transform: scaleX(1);
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 7vw, 88px);
  background-color: var(--ink-950);
  background-image:
    radial-gradient(90% 120% at 12% 0%, rgba(11, 39, 72, 0.75), transparent 60%),
    radial-gradient(70% 110% at 88% 0%, rgba(45, 226, 196, 0.10), transparent 62%);
  color: var(--ice-100);
  border-top: var(--ice-10) solid 1px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background-image: linear-gradient(
    90deg,
    var(--orange-500) 0%,
    var(--aurora-400) 38%,
    var(--lime-400) 66%,
    transparent 100%
  );
  opacity: 0.85;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(38px, 6vw, 68px) clamp(26px, 4vw, 40px);
}

.footer-brand__name {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper-0);
  transition: color var(--dur) var(--ease);
}

.footer-brand__name:hover { color: var(--aurora-400); }

.footer-brand__tag {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--aurora-400);
}

.footer-brand__note {
  margin-top: 18px;
  max-width: 24em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ice-50);
}

.footer-col { display: block; }

.footer-col__title {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 14px;
  padding-bottom: 13px;
  border-bottom: var(--ice-10) solid 1px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ice-100);
}

.footer-col__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--lime-400);
}

.footer-col__list {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-col__link {
  display: inline-block;
  color: var(--ice-70);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer-col__link:hover,
.footer-col__link:focus-visible {
  color: var(--paper-0);
  transform: translateX(4px);
}

/* 7.1 联系条 */
.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 18px 40px;
  align-items: start;
  padding-block: 22px;
  border-top: var(--ice-10) solid 1px;
  border-bottom: var(--ice-10) solid 1px;
  font-size: 13.5px;
}

.footer-contact__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}

.footer-contact__item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.footer-contact__item--wide { flex-basis: 100%; }

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

.footer-contact__value { color: var(--ice-100); }

.footer-contact__note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ice-50);
}

/* 7.2 底部元信息 */
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  padding-block: 20px 34px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--slate-600);
}

.footer-meta__copy { color: var(--ice-50); }

.footer-meta__icp { color: var(--slate-600); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-legal__link {
  color: var(--ice-70);
  transition: color var(--dur) var(--ease);
}

.footer-legal__link:hover,
.footer-legal__link:focus-visible { color: var(--aurora-400); }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn--primary {
  background-color: var(--orange-500);
  color: var(--ink-950);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--orange-400);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--ice-16);
  color: var(--ice-100);
  background-color: transparent;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--aurora-400);
  color: var(--aurora-400);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumbs {
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate-600);
}

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

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

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

.breadcrumbs__link {
  color: var(--ice-50);
  transition: color var(--dur) var(--ease);
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible { color: var(--aurora-400); }

.breadcrumbs__current { color: var(--ice-100); }

/* ---------- 10. 文本块与装饰 ---------- */
.prose {
  max-width: 38em;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ice-70);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2,
.prose h3 { margin-top: 1.8em; }

.prose a {
  color: var(--aurora-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--aurora-400);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background-color: currentColor;
}

.section-index {
  font-family: var(--font-mono);
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--slate-600);
}

/* ---------- 11. 面板与切角 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background-color: var(--blue-900);
  border: var(--ice-10) solid 1px;
}

.cut-panel {
  clip-path: polygon(
    var(--cut-notch) 0,
    100% 0,
    100% calc(100% - var(--cut-notch)),
    calc(100% - var(--cut-notch)) 100%,
    0 100%,
    0 var(--cut-notch)
  );
}

/* ---------- 12. 图片容器 ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background-color: var(--blue-900);
  border: var(--ice-10) solid 1px;
}

.figure__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background-image:
    linear-gradient(135deg, rgba(45, 226, 196, 0.16), transparent 58%),
    linear-gradient(180deg, var(--blue-900), var(--ink-950));
}

.figure__media > img,
.figure__media > picture,
.figure__media > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__caption {
  padding: 12px 16px;
  border-top: var(--ice-10) solid 1px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ice-50);
}

.figure--cut .figure__media {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--cut-notch)),
    calc(100% - var(--cut-notch)) 100%,
    0 100%
  );
}

.figure--wide .figure__media { aspect-ratio: 16 / 9; }
.figure--tall .figure__media { aspect-ratio: 3 / 4; }
.figure--square .figure__media { aspect-ratio: 1 / 1; }

/* ---------- 13. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: var(--ice-16) solid 1px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ice-70);
}

.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: currentColor;
}

.tag--live {
  border-color: rgba(182, 255, 59, 0.5);
  color: var(--lime-400);
}

.tag--hot {
  border-color: rgba(255, 106, 42, 0.55);
  color: var(--orange-500);
}

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

.filter-btn {
  padding: 9px 16px;
  border: var(--ice-16) solid 1px;
  background-color: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ice-70);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.filter-btn:hover {
  border-color: var(--aurora-400);
  color: var(--aurora-400);
  transform: translateY(-1px);
}

.filter-btn[aria-pressed="true"] {
  background-color: var(--aurora-400);
  border-color: var(--aurora-400);
  color: var(--ink-950);
  font-weight: 600;
}

.filter-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate-600);
}

/* ---------- 15. 滚动进度轨（JS 注入） ---------- */
.scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
  background-color: transparent;
}

.scroll-rail__bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background-image: linear-gradient(90deg, var(--aurora-400), var(--lime-400) 70%, var(--orange-500));
}

/* ---------- 16. 滚动显现（JS 协议） ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.has-js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1040px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    border-top: var(--ice-10) solid 1px;
  }

  .site-header[data-open] .site-nav {
    display: block;
    animation: nav-in 0.24s var(--ease) both;
  }

  .nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .nav-list__item {
    border-bottom: var(--ice-10) solid 1px;
  }

  .nav-list__item:last-child { border-bottom: 0; }

  .nav-link {
    width: 100%;
    padding: 15px 2px;
    gap: 12px;
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .nav-link::after {
    left: 0;
    right: auto;
    bottom: 6px;
    width: 28px;
  }

  .nav-link__num { min-width: 2.4em; }
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-brand { grid-column: auto; }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-legal { gap: 6px 16px; }

  .header-rail { font-size: 10px; letter-spacing: 0.1em; }
  .header-rail__inner { gap: 10px; min-height: 36px; }
  .rail-link--solid { padding: 6px 11px; }

  .brand__name { letter-spacing: 0.12em; text-indent: 0.12em; }
  .brand__tag { letter-spacing: 0.28em; text-indent: 0.28em; font-size: 9px; }

  .nav-toggle { padding: 9px 10px; font-size: 9px; }
}

@media (max-width: 380px) {
  .rail-link:not(.rail-link--solid) { display: none; }
}

/* ---------- 18. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-rail { display: none; }

  .rail-link--solid:hover,
  .btn--primary:hover,
  .filter-btn:hover,
  .footer-col__link:hover { transform: none; }
}
