/* ============================================================
   欧宝赛场 · 共享样式 /assets/site.css
   reset → 变量 → 中文排版 → 头部轨道 → 页脚 → 通用组件
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { 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; text-decoration: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* ---------- 令牌 ---------- */
:root {
  --night: #0A1F33;
  --brand: #1B5BD6;
  --brand-soft: #4C8DFF;
  --orange: #FF6A2B;
  --amber: #F2A03D;
  --green: #12A67A;
  --pine: #0E6B5C;
  --indigo: #4B2E63;
  --wine: #7A2E3E;
  --paper: #F5F7FA;
  --white: #FFFFFF;

  --ink: #0A1F33;
  --ink-soft: #4A5F73;
  --ink-mute: #7C8FA3;
  --line: rgba(10, 31, 51, 0.12);
  --line-strong: rgba(10, 31, 51, 0.26);
  --on-dark: #F5F7FA;
  --on-dark-soft: rgba(245, 247, 250, 0.62);

  --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', ui-monospace, monospace;

  --radius-panel: 28px;
  --radius-card: 18px;
  --radius-pill: 999px;

  --rail-w: 240px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --shell-w: 1180px;
}

/* ---------- 布局外壳 ---------- */
html { --rail-w: 240px; }
@media (min-width: 768px) and (max-width: 1199px) { html { --rail-w: 88px; } }
@media (max-width: 767px) { html { --rail-w: 0px; } }
html[data-rail="collapsed"] { --rail-w: 88px; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  padding-left: var(--rail-w);
  transition: padding-left 0.24s var(--ease);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 767px) {
  body { padding-top: 64px; }
}

[id] { scroll-margin-top: 96px; }

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

/* ---------- 中文排版 ---------- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; }
h1 { font-size: 38px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
.h-xl { font-size: clamp(38px, 5.2vw, 72px); font-weight: 900; line-height: 1.06; letter-spacing: -0.03em; }
.h-l  { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; line-height: 1.14; letter-spacing: -0.02em; }
.h-m  { font-size: 22px; font-weight: 700; line-height: 1.3; }
.num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; background: var(--orange); border-radius: 2px;
}

.prose { max-width: 68ch; font-size: 17px; line-height: 1.85; color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose li + li { margin-top: 0.4em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }

/* ---------- 容器与栅格 ---------- */
.wrap {
  width: min(var(--shell-w), 100% - 56px);
  margin-inline: auto;
}
.section { padding: 72px 0; }
.section--dark {
  background-color: var(--night); color: var(--on-dark);
}
.section--pine { background-color: var(--pine); color: var(--white); }
.section--indigo { background-color: var(--indigo); color: var(--white); }
.section--wine { background-color: var(--wine); color: var(--white); }

.stack { display: grid; gap: 20px; }
.stack--tight { gap: 10px; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

@media (max-width: 899px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding: 48px 0; }
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 20px; border-radius: var(--radius-pill);
  background: var(--orange); color: var(--night);
  font-size: 14px; font-weight: 700;
  transform: translateY(-220%);
  transition: transform 0.16s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ============================================================
   头部：侧边轨道
   ============================================================ */
.site-head { position: static; }

/* --- 移动端顶部条 --- */
.topbar { display: none; }

/* --- 轨道 --- */
.rail {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--rail-w);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--night);
  background-image:
    radial-gradient(170px 170px at 118% 4%, rgba(27, 91, 214, 0.55), transparent 70%),
    radial-gradient(240px 240px at -25% 98%, rgba(255, 106, 43, 0.18), transparent 72%);
  color: var(--on-dark);
  transition: width 0.24s var(--ease), transform 0.24s var(--ease);
}

.rail__head { flex: none; display: flex; align-items: flex-start; gap: 8px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.brand__glyph {
  position: relative; flex: none;
  width: 36px; height: 36px; border-radius: 12px;
  background-image: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 58%, var(--orange) 100%);
}
.brand__glyph::after {
  content: ""; position: absolute; inset: 11px 9px 11px 13px;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  border-radius: 1px;
}
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-size: 16px; font-weight: 800; letter-spacing: 0.05em; color: var(--white); line-height: 1.2; }
.brand__tag { margin-top: 4px; font-size: 11px; line-height: 1.35; color: var(--on-dark-soft); }

.rail__collapse, .rail__close {
  display: none; flex: none;
  align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(245, 247, 250, 0.24);
  color: var(--on-dark);
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.rail__collapse { width: 32px; height: 32px; }
.rail__collapse-icon { width: 10px; height: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(1px, -1px); }
.rail__collapse-text { display: none; }
.rail__close { width: 34px; height: 34px; font-size: 20px; line-height: 1; }
.rail__collapse:hover, .rail__close:hover { background: rgba(76, 141, 255, 0.22); border-color: var(--brand-soft); }

@media (min-width: 1200px) { .rail__collapse { display: inline-flex; } }
@media (max-width: 767px) { .rail__close { display: inline-flex; } }

/* --- 栏目列表 --- */
.railnav { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 0; }
.railnav__list { display: grid; gap: 4px; }
.railnav__item { min-width: 0; }
.railnav__link {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px 11px 18px;
  border-radius: 14px;
  font-size: 14px; font-weight: 500;
  color: rgba(245, 247, 250, 0.72);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.railnav__link:hover { background: rgba(76, 141, 255, 0.16); color: var(--white); }
.railnav__no {
  flex: none; min-width: 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(245, 247, 250, 0.38);
  transition: color 0.16s var(--ease);
}
.railnav__label { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.railnav__link[aria-current="page"] {
  background: rgba(27, 91, 214, 0.34);
  color: var(--white);
  font-weight: 600;
}
.railnav__link[aria-current="page"]::before {
  content: "";
  position: absolute; inset-inline-start: 0; top: 50%;
  width: 3px; height: 20px; border-radius: 0 3px 3px 0;
  background: var(--orange);
  translate: 0 -50%;
}
.railnav__link[aria-current="page"] .railnav__no { color: var(--orange); }

/* --- 底部：快捷入口 + CTA --- */
.rail__foot { flex: none; display: grid; gap: 10px; }

.quick { display: grid; gap: 0; }
.quick__toggle {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(245, 247, 250, 0.16);
  color: rgba(245, 247, 250, 0.76);
  font-size: 13px; font-weight: 500;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background 0.16s var(--ease);
}
.quick__toggle:hover { border-color: rgba(255, 106, 43, 0.66); color: var(--white); }
.quick__mark {
  flex: none; width: 8px; height: 8px; border-radius: 2px;
  background: var(--orange); transform: rotate(45deg);
}
.quick__label { flex: 1 1 auto; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.quick__panel {
  display: grid; gap: 2px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.22s ease-out, opacity 0.18s ease-out, margin-top 0.22s ease-out;
}
.quick[data-open] .quick__panel { max-height: 260px; opacity: 1; margin-top: 8px; }
.quick__link {
  display: block;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12.5px; line-height: 1.4;
  color: var(--on-dark-soft);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.quick__link:hover { background: rgba(76, 141, 255, 0.2); color: var(--white); }

.rail__cta { width: 100%; justify-content: center; font-size: 13px; padding: 11px 14px; }
.rail__cta-short { display: none; }

/* --- 移动端抽屉 --- */
.rail-scrim {
  position: fixed; inset: 0; z-index: 65;
  background: rgba(10, 31, 51, 0.58);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.site-head[data-open] .rail-scrim { opacity: 1; pointer-events: auto; }
@media (min-width: 768px) { .rail-scrim { display: none; } }

@media (max-width: 767px) {
  .topbar {
    display: flex; align-items: center; justify-content: space-between;
    position: fixed; inset-block-start: 0; inset-inline: 0;
    height: 64px; padding: 0 16px; z-index: 60;
    background-color: var(--night);
    background-image: radial-gradient(180px 90px at 92% 0%, rgba(27, 91, 214, 0.6), transparent 72%);
    color: var(--white);
    border-bottom: 1px solid rgba(76, 141, 255, 0.22);
  }
  .topbar__brand { display: flex; align-items: center; gap: 10px; }
  .brand__glyph { width: 30px; height: 30px; border-radius: 10px; }
  .brand__glyph::after { inset: 9px 7px 9px 11px; }
  .topbar__word { font-size: 15px; font-weight: 800; letter-spacing: 0.06em; }

  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: var(--radius-pill);
    border: 1px solid rgba(245, 247, 250, 0.28);
    color: var(--white); font-size: 13px; font-weight: 600;
    transition: background 0.16s var(--ease), border-color 0.16s var(--ease);
  }
  .nav-toggle:hover { background: rgba(76, 141, 255, 0.24); border-color: var(--brand-soft); }
  .nav-toggle__bars { position: relative; width: 14px; height: 2px; background: currentColor; border-radius: 2px; }
  .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; position: absolute; left: 0; width: 14px; height: 2px;
    background: currentColor; border-radius: 2px;
  }
  .nav-toggle__bars::before { top: -5px; }
  .nav-toggle__bars::after { top: 5px; }

  .rail {
    width: min(84vw, 320px);
    padding: 20px 16px 26px;
    transform: translateX(-100%);
    box-shadow: 24px 0 60px -30px rgba(10, 31, 51, 0.9);
  }
  .site-head[data-open] .rail { transform: translateX(0); }
  .rail__collapse { display: none; }
}

/* --- 折叠 / 图标条状态 --- */
@media (min-width: 768px) {
  html[data-rail="collapsed"] .brand__text,
  html[data-rail="collapsed"] .railnav__label,
  html[data-rail="collapsed"] .quick__label,
  html[data-rail="collapsed"] .rail__cta-full { display: none; }
  html[data-rail="collapsed"] .rail__head { flex-direction: column; align-items: center; gap: 12px; }
  html[data-rail="collapsed"] .brand { flex: none; justify-content: center; }
  html[data-rail="collapsed"] .railnav__link { justify-content: center; padding: 12px 0; }
  html[data-rail="collapsed"] .railnav__no { transition: color 0.16s var(--ease); }
  html[data-rail="collapsed"] .quick__toggle { justify-content: center; padding: 10px 0; }
  html[data-rail="collapsed"] .quick__panel { display: none; }
  html[data-rail="collapsed"] .rail__cta { padding: 11px 0; font-size: 12px; }
  html[data-rail="collapsed"] .rail__cta-short { display: inline; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .brand__text, .railnav__label, .quick__label, .rail__cta-full { display: none; }
  .rail__head { flex-direction: column; align-items: center; gap: 12px; }
  .brand { flex: none; justify-content: center; }
  .railnav__link { justify-content: center; padding: 12px 0; }
  .quick__toggle { justify-content: center; padding: 10px 0; }
  .quick__panel { display: none; }
  .rail__cta { padding: 11px 0; font-size: 12px; }
  .rail__cta-short { display: inline; }
}

/* ============================================================
   页脚
   ============================================================ */
.site-foot {
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  background-color: var(--night);
  color: var(--on-dark-soft);
}
.site-foot::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(76, 141, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 141, 255, 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  opacity: 0.6;
}
.site-foot::after {
  content: "";
  position: absolute; inset-block-start: 0; inset-inline-start: 0;
  width: 100%; height: 3px;
  background-image: linear-gradient(90deg, var(--brand) 0%, var(--brand-soft) 46%, var(--orange) 100%);
}

.site-foot__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 2.4fr;
  gap: 48px;
  width: min(var(--shell-w), 100% - 56px);
  margin-inline: auto;
  padding: 64px 0 40px;
}

.foot-id__name {
  display: inline-block;
  font-size: 22px; font-weight: 900; letter-spacing: 0.06em;
  color: var(--white);
}
.foot-id__claim { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--on-dark-soft); }
.foot-id__meta {
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: rgba(255, 106, 43, 0.9);
}
.foot-id__contact { margin-top: 22px; display: grid; gap: 7px; font-size: 12.5px; line-height: 1.6; }
.foot-id__contact li { color: rgba(245, 247, 250, 0.5); }
.foot-id__contact li:first-child { font-family: var(--font-mono); color: rgba(245, 247, 250, 0.72); }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.foot-col__title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  color: rgba(255, 106, 43, 0.94);
  margin-bottom: 14px;
}
.foot-col__list { display: grid; gap: 9px; }
.foot-col__list a {
  font-size: 14px;
  color: rgba(245, 247, 250, 0.7);
  transition: color 0.16s var(--ease), padding-inline-start 0.16s var(--ease);
}
.foot-col__list a:hover { color: var(--white); padding-inline-start: 4px; }

.site-foot__strip {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  width: min(var(--shell-w), 100% - 56px);
  margin-inline: auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(245, 247, 250, 0.14);
  font-size: 12px;
  color: rgba(245, 247, 250, 0.5);
}
.foot-strip__left { font-family: var(--font-mono); letter-spacing: 0.02em; }
.foot-strip__right { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-strip__item { white-space: nowrap; }
.foot-strip__item + .foot-strip__item::before {
  content: ""; display: inline-block;
  width: 4px; height: 4px; margin-inline-end: 12px; vertical-align: middle;
  border-radius: 50%; background: rgba(255, 106, 43, 0.8);
}

@media (max-width: 899px) {
  .site-foot__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 48px 0 32px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .site-foot__strip { flex-direction: column; align-items: flex-start; }
  .site-foot__inner, .site-foot__strip { width: calc(100% - 36px); }
}

/* ============================================================
   通用组件
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  line-height: 1.2;
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
              border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.btn--brand { background: var(--brand); color: var(--white); }
.btn--brand:hover { background: var(--brand-soft); transform: translateY(-2px); }
.btn--cta { background: var(--orange); color: var(--night); }
.btn--cta:hover { background: var(--amber); transform: translateY(-2px); }
.btn--quiet { border-color: rgba(245, 247, 250, 0.34); color: var(--white); }
.btn--quiet:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.btn--line { border-color: var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--brand); border-color: var(--brand); color: var(--white); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(242, 160, 61, 0.2);
  color: #8A4E05;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.tag--green { background: rgba(18, 166, 122, 0.16); color: #0A6B4E; }
.tag--blue { background: rgba(27, 91, 214, 0.12); color: var(--brand); }

.card {
  position: relative;
  display: block;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
              border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand), 0 22px 44px -32px rgba(10, 31, 51, 0.6);
}
.card--dark { background: var(--night); border-color: rgba(76, 141, 255, 0.24); color: var(--on-dark); }
.card--dark:hover { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-mute);
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--ink-soft); transition: color 0.16s var(--ease); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

.media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-card);
  background-color: var(--night);
  background-image:
    radial-gradient(120% 110% at 88% 6%, rgba(76, 141, 255, 0.55), transparent 62%),
    linear-gradient(150deg, var(--night) 0%, #10345A 46%, var(--brand) 100%);
}
.media::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(205deg, #000 0%, transparent 66%);
  mask-image: linear-gradient(205deg, #000 0%, transparent 66%);
}
.media::after {
  content: "";
  position: absolute; z-index: 1; pointer-events: none;
  inset-inline-end: -22%; inset-block-end: -58%;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(255, 106, 43, 0.5);
}
.media__img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.media__label {
  position: absolute; z-index: 2;
  inset-inline-start: 16px; inset-block-end: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(10, 31, 51, 0.76);
  color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x4 { aspect-ratio: 3 / 4; }

/* 滚动进度条（由 site.js 注入） */
.scroll-meter {
  position: fixed; inset-block-start: 0; inset-inline-start: var(--rail-w); inset-inline-end: 0;
  height: 3px; z-index: 90;
  pointer-events: none;
  background: rgba(10, 31, 51, 0.08);
}
.scroll-meter__fill {
  display: block; height: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--brand) 0%, var(--brand-soft) 52%, var(--orange) 100%);
  transition: transform 0.12s linear;
}
@media (max-width: 767px) {
  .scroll-meter { inset-inline-start: 0; inset-block-start: 64px; }
}

/* ---------- 降级：减少动态 ---------- */
@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;
  }
  .card:hover, .btn:hover, .foot-col__list a:hover { transform: none; padding-inline-start: 0; }
}
