/* ==========================================================================
   740 SPORT · 线娱乐 — 共享外壳样式 /assets/site.css
   设计语言：赛道遥测台 · 刊头报头 + 刻度导航轨 + 堆叠画板 + 玻璃层
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  /* 色板 */
  --carbon: #0B0F14;
  --panel: #151B23;
  --blue: #1C69D4;
  --blue-soft: #3D86EE;
  --orange: #FF6B1A;
  --silver: #C7CED6;
  --neon: #58F5A6;
  --mist: #F5F7FA;
  --ice-a: #DCEBFF;
  --ice-b: #7FB6FF;

  /* 语义色 */
  --ink: #0B0F14;
  --ink-soft: #3A4450;
  --on-dark: #F5F7FA;
  --on-dark-soft: #C7CED6;

  --line: rgba(199, 206, 214, .18);
  --line-soft: rgba(199, 206, 214, .1);
  --line-strong: rgba(199, 206, 214, .38);
  --line-ink: rgba(11, 15, 20, .14);

  /* 渐变 */
  --grad-ice: linear-gradient(135deg, rgba(220, 235, 255, .95), rgba(127, 182, 255, .5));
  --grad-speed: linear-gradient(100deg, var(--blue), var(--ice-b) 45%, var(--orange));
  --grad-carbon: linear-gradient(180deg, #0B0F14 0%, #151B23 100%);

  /* 字体 */
  --font-display: "DIN Alternate", "DIN Condensed", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, "Roboto Mono", "Courier New", monospace;

  /* 尺度 */
  --w-max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap: clamp(16px, 2.4vw, 28px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-1: 0 18px 40px -28px rgba(11, 15, 20, .55);
}

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

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

body {
  margin: 0;
  background-color: var(--mist);
  background-image:
    linear-gradient(rgba(11, 15, 20, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 15, 20, .022) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, p, ul, ol, figure, dl, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--ice-b);
  outline-offset: 3px;
  border-radius: 2px;
}
.panel--solid :focus-visible,
.prose :focus-visible,
.stage--ice :focus-visible { outline-color: var(--blue); }

/* ---------- 3. 基础排版 ---------- */
.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.03;
  letter-spacing: -.015em;
  color: inherit;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue);
}

.v-anno {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .32em;
  color: rgba(199, 206, 214, .6);
}

.data-figure {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--blue);
}
.data-figure__unit {
  font-family: var(--font-mono);
  font-size: .42em;
  letter-spacing: .14em;
  color: var(--ink-soft);
  margin-left: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--line-ink);
  border-radius: 2px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.chip--live { background: var(--neon); border-color: var(--neon); color: var(--carbon); }
.chip--accent { background: var(--orange); border-color: var(--orange); color: var(--carbon); }

.rule {
  height: 1px;
  border: 0;
  margin: clamp(20px, 3vw, 34px) 0;
  background:
    repeating-linear-gradient(90deg, var(--line-ink) 0 1px, transparent 1px 10px),
    linear-gradient(90deg, var(--line-ink), transparent 70%);
  background-size: 100% 4px, 100% 1px;
  background-repeat: no-repeat;
  background-position: left top, left center;
}

/* ---------- 4. 容器与画板 ---------- */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.stage {
  position: relative;
  padding: clamp(30px, 4.6vw, 64px) 0;
}
.stage--dark {
  background: var(--grad-carbon);
  background-image:
    radial-gradient(120% 90% at 50% 0%, rgba(28, 105, 212, .22), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 10px),
    var(--grad-carbon);
  color: var(--on-dark-soft);
}
.stage--ice {
  background: linear-gradient(180deg, var(--mist) 0%, #EAF3FF 62%, var(--mist) 100%);
  color: var(--ink);
}

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--rail { grid-template-columns: minmax(0, 1fr) minmax(240px, 310px); align-items: start; }

/* ---------- 5. 面板 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--on-dark-soft);
  box-shadow: var(--shadow-1);
}
.panel::before,
.panel::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--silver);
  opacity: .5;
  pointer-events: none;
}
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

.panel--glass {
  background: var(--grad-ice);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, .55);
  color: var(--ink);
}

.panel--solid {
  background: var(--mist);
  border-color: var(--line-ink);
  color: var(--ink);
}
.panel--solid::before,
.panel--solid::after { border-color: var(--ink-soft); opacity: .35; }

.panel--dark {
  background: var(--carbon);
  border-color: var(--line-strong);
  color: var(--on-dark-soft);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .18s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 32%, rgba(255, 255, 255, .3), transparent 68%);
  transform: translateX(-130%);
  transition: transform .55s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: rgba(127, 182, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--primary:hover { background: var(--blue-soft); transform: translateY(-1px); }

.btn--orange {
  background: var(--orange);
  color: var(--carbon);
  border-color: rgba(255, 107, 26, .6);
}
.btn--orange:hover { background: #FF8138; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ice-b); color: #fff; }

.btn--sm { padding: 8px 14px; font-size: 13px; }

/* ---------- 7. 刊头 / 遥测带 ---------- */
.masthead {
  position: relative;
  color: var(--silver);
  background: var(--grad-carbon);
  border-bottom: 1px solid var(--line-strong);
  isolation: isolate;
}
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(28, 105, 212, .3), transparent 62%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 9px);
  pointer-events: none;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  background: rgba(199, 206, 214, .12);
  pointer-events: none;
}
.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--blue), var(--ice-b) 55%, var(--orange));
  transition: transform .12s linear;
}

.telemetry-strip {
  background: rgba(11, 15, 20, .72);
  border-bottom: 1px solid var(--line-soft);
}
.telemetry-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 7px var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(199, 206, 214, .72);
}
.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.telemetry-item--ghost { color: rgba(199, 206, 214, .46); }
.telemetry-item--apple { color: var(--silver); }
.telemetry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(88, 245, 166, .16);
  animation: pulse 2.6s ease-in-out infinite;
}
.telemetry-cta {
  margin-left: auto;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 26, .45);
  padding-bottom: 1px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.telemetry-cta:hover { color: #FF9A5C; border-bottom-color: #FF9A5C; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ---------- 8. 报头 ---------- */
.masthead__inner {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  max-width: var(--w-max);
  margin: 0 auto;
  padding: clamp(14px, 2.4vw, 26px) var(--gutter) clamp(12px, 2vw, 20px);
}

.masthead__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-self: start;
  padding-left: 10px;
  border-left: 2px solid var(--orange);
}
.masthead__meta-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: rgba(199, 206, 214, .55);
}
.masthead__meta-v {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--silver);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  justify-self: center;
  text-align: center;
  text-decoration: none;
  color: var(--on-dark);
}
.brand-lockup__eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(199, 206, 214, .62);
}
.brand-lockup__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(22px, 3.6vw, 38px);
  line-height: 1.04;
  letter-spacing: .01em;
  color: var(--mist);
  transition: color .2s var(--ease);
}
.brand-lockup__name em {
  font-family: var(--font-mono);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.03em;
  padding: 0 .06em;
  background: linear-gradient(100deg, var(--ice-b), var(--blue) 55%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.brand-lockup__tag {
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(199, 206, 214, .66);
}
.brand-lockup:hover .brand-lockup__name { color: #fff; }

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--ice-b); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- 9. 刻度导航轨 ---------- */
.nav-rail {
  position: relative;
  background: rgba(11, 15, 20, .9);
  border-top: 1px solid rgba(199, 206, 214, .14);
}
.nav-rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, rgba(199, 206, 214, .32) 0 1px, transparent 1px 26px);
  opacity: .6;
  pointer-events: none;
}
.nav-rail__inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
.nav-list__item { position: relative; }
.nav-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 9px;
  background: var(--line);
  transform: translateY(-50%);
}
.nav-list__item:first-child::before { display: none; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 15px 16px;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--silver);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.nav-link__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(199, 206, 214, .42);
  transition: color .18s var(--ease);
}
.nav-link__label { line-height: 1.2; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--ease);
}
.nav-link:hover { color: var(--mist); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover .nav-link__index { color: var(--blue); }
.nav-link[aria-current="page"] { color: #fff; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] .nav-link__index { color: var(--orange); }

/* ---------- 10. 页脚 ---------- */
.site-foot {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4.4vw, 52px) 0 0;
  background: linear-gradient(180deg, #0B0F14 0%, #070A0E 55%, #0B0F14 100%);
  border-top: 1px solid var(--line-strong);
  color: var(--silver);
}
.site-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--ice-b) 42%, var(--orange));
  opacity: .9;
}
.foot-anno {
  position: absolute;
  top: 42px;
  right: calc(var(--gutter) - 6px);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .42em;
  color: rgba(199, 206, 214, .26);
  pointer-events: none;
}

.foot-scale {
  height: 6px;
  margin-bottom: clamp(20px, 3vw, 30px);
  background: repeating-linear-gradient(90deg, rgba(199, 206, 214, .28) 0 1px, transparent 1px 26px);
  opacity: .65;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(24px, 3vw, 38px);
}

.foot-col__title {
  position: relative;
  margin-bottom: 14px;
  padding-left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(199, 206, 214, .55);
}
.foot-col__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  background: var(--blue);
}

.foot-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: .01em;
  color: var(--mist);
}
.foot-brand__sep { margin: 0 .42em; color: var(--orange); }
.foot-desc {
  max-width: 34ch;
  margin: 10px 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(199, 206, 214, .74);
}

.foot-links { display: flex; flex-direction: column; gap: 9px; }
.foot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--silver);
  text-decoration: none;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.foot-link::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--line-strong);
  transition: width .2s var(--ease), background-color .2s var(--ease);
}
.foot-link:hover { color: #fff; transform: translateX(2px); }
.foot-link:hover::before { width: 18px; background: var(--orange); }
.foot-link[aria-current="page"] { color: #fff; }
.foot-link[aria-current="page"]::before { width: 18px; background: var(--orange); }

.foot-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.foot-contact__line { display: flex; gap: 10px; align-items: baseline; }
.foot-contact__k {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: rgba(199, 206, 214, .5);
}
.foot-contact__v { color: var(--mist); word-break: break-word; }
.foot-note {
  margin-top: 14px;
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(199, 206, 214, .62);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(199, 206, 214, .16);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(199, 206, 214, .58);
}
.foot-icp { color: rgba(199, 206, 214, .58); }
.foot-coords { color: rgba(88, 245, 166, .78); }

/* ---------- 11. 面包屑 / 正文 / 媒体框 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(11, 15, 20, .3);
}
.breadcrumb a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .18s var(--ease), color .18s var(--ease); }
.breadcrumb a:hover { color: var(--blue); border-bottom-color: var(--blue); }

.prose { max-width: 66ch; font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  margin-top: 1.9em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  color: var(--ink);
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.prose ul, .prose ol { padding-left: 1.25em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote {
  padding: 12px 18px;
  border-left: 2px solid var(--orange);
  background: rgba(220, 235, 255, .5);
  color: var(--ink);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(28, 105, 212, .5), transparent 62%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 12px),
    linear-gradient(160deg, #0B0F14 0%, #151B23 58%, #1C2531 100%);
}
.media-frame--wide { aspect-ratio: 16 / 7; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}
.media-frame__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--carbon);
  background: var(--neon);
  border-radius: 2px;
}
.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--silver);
  background: linear-gradient(0deg, rgba(11, 15, 20, .88), rgba(11, 15, 20, 0));
}

/* ---------- 12. 筛选条 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-ink);
  background: rgba(21, 27, 35, .04);
}
.filter-bar__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-soft);
}
.filter-btn {
  padding: 7px 12px;
  border: 1px solid var(--line-ink);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn[aria-pressed="true"],
.filter-btn.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--carbon);
}

/* ---------- 13. 显现与跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 2px;
  background: var(--orange);
  color: var(--carbon);
  font-weight: 700;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-col--contact { grid-column: 1 / -1; }
  .foot-anno { display: none; }
}

@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--rail { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 880px) {
  .telemetry-item--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-rail { display: none; }
  .nav-rail[data-open] { display: block; animation: navIn .22s var(--ease) both; }
  .nav-rail__inner { padding: 8px var(--gutter) 14px; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list__item::before { display: none; }
  .nav-link {
    justify-content: space-between;
    padding: 14px 2px;
    font-size: 15px;
    border-bottom: 1px solid rgba(199, 206, 214, .1);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--orange); }
  .nav-link[aria-current="page"] .nav-link__index { color: var(--orange); }
  .masthead__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 14px;
  }
  .masthead__meta { display: none; }
  .brand-lockup { justify-self: start; align-items: flex-start; text-align: left; }
  .masthead__actions { justify-self: end; }
}

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

@media (max-width: 720px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-col--brand { grid-column: 1 / -1; }
  .foot-base { justify-content: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .telemetry-item--apple { display: none; }
  .telemetry-strip__inner { gap: 8px 12px; font-size: 10px; letter-spacing: .1em; }
  .masthead__actions .btn--primary { display: none; }
  .brand-lockup__tag { font-size: 11px; letter-spacing: .1em; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .filter-bar__count { margin-left: 0; width: 100%; }
}

/* ---------- 15. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .telemetry-dot { animation: none; }
  .scroll-meter__bar { transition: none; }
  .btn:hover { transform: none; }
  .btn::after { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .nav-rail[data-open] { animation: none; }
}
