/* ===========================================================
   合乐看台 · 共享样式表 /assets/site.css
   夜场看台：深靛蓝底盘 · 荧光青柠绿数据高亮 · 暖橙看台灯带
   =========================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ink-900: #0B1230;
  --ink-800: #11151C;
  --ink-700: #151B29;
  --lime: #C6FF3D;
  --lime-soft: rgba(198, 255, 61, .10);
  --lime-line: rgba(198, 255, 61, .45);
  --orange: #FF7A3D;
  --orange-soft: rgba(255, 122, 61, .10);
  --paper: #F4F1E8;
  --mist: #8B93A7;
  --steel: #2E4A7D;
  --cyan: #3DD6C4;
  --crimson: #8C2F39;
  --olive: #2A3A1F;

  --font-display: "Barlow Condensed", "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Inter", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --rail-w: 238px;
  --gutter: clamp(1.1rem, 5vw, 3.25rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --line: 1px solid rgba(46, 74, 125, .55);
  --line-strong: 1px solid var(--steel);
}

/* ---------- 2. 重置与基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--ink-900);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { width: 100%; border-collapse: collapse; }
dd { margin: 0; }

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

body {
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .005em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 84% -10%, rgba(61, 214, 196, .10), transparent 68%),
    radial-gradient(760px 520px at 6% 106%, rgba(255, 122, 61, .09), transparent 70%),
    linear-gradient(180deg, #0B1230 0%, #0B1230 52%, #0A0F27 100%);
}

main { display: block; }

#main-content { scroll-margin-top: 84px; }

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 6.4vw, 4.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.15; }
h4 { font-size: 1.06rem; line-height: 1.3; }
h5 { font-size: .95rem; line-height: 1.35; }

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: #C9D1E2;
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime); flex: none; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.mist { color: var(--mist); }
.stat {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.05;
  color: var(--lime);
  letter-spacing: -.01em;
}
.hl { color: var(--lime); font-weight: 700; }
.hl-orange { color: var(--orange); font-weight: 700; }

/* ---------- 4. 布局容器与区块 ---------- */
.wrap {
  width: min(1180px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding-block: clamp(2.25rem, 5.5vw, 4.5rem); }
.section--dark { background: var(--ink-800); }
.section--edge { border-top: var(--line); border-bottom: var(--line); }
.section--olive { background: var(--olive); }

.grid { display: grid; gap: clamp(.9rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 158px), 1fr)); }

.cut { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }

.divider { height: 1px; background: rgba(46, 74, 125, .55); border: 0; }

/* ---------- 5. 跳至正文 ---------- */
.skip-link {
  position: fixed;
  top: -4.5rem;
  left: .75rem;
  z-index: 120;
  padding: .6rem 1rem;
  background: var(--lime);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: .75rem; }

/* ---------- 6. 页头框架 ---------- */
.site-rail {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 18, 48, .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--steel);
}

.rail__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: .6rem var(--gutter);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  flex: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  background: var(--lime);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.brand:hover .brand__mark { background: var(--paper); transform: translateY(-1px); }
.brand__text { display: flex; flex-direction: column; gap: .1rem; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: .02em;
  color: var(--paper);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
}

/* 移动端按钮 */
.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .48rem .72rem;
  background: transparent;
  border: 1px solid var(--steel);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); background: var(--lime-soft); }
.nav-toggle__bars { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 16px; }
.nav-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .24s var(--ease); }
.site-rail[data-open] .nav-toggle__bars span:first-child { transform: translateY(3px) rotate(45deg); }
.site-rail[data-open] .nav-toggle__bars span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* 折叠面板 */
.rail__panel { display: none; }
.site-rail[data-open] .rail__panel {
  display: flex;
  flex: 1 0 100%;
  flex-direction: column;
  gap: .85rem;
  padding-block: .7rem .5rem;
  animation: panel-in .2s var(--ease);
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* 归档状态 */
.rail__status {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .66rem;
  line-height: 1.6;
  letter-spacing: .05em;
  color: var(--mist);
}
.pulse {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 255, 61, .16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- 7. 导航 ---------- */
.nav__list { display: flex; flex-direction: column; gap: 2px; }

.nav__link {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .78rem .7rem;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .01em;
  border-left: 2px solid transparent;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.nav__num {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--steel);
  transition: color .18s var(--ease);
}
.nav__label { position: relative; }
.nav__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width .22s var(--ease);
}
.nav__link:hover { color: var(--lime); background: var(--lime-soft); border-left-color: var(--lime); }
.nav__link:hover .nav__num { color: var(--lime); }
.nav__link:hover .nav__label::after { width: 100%; }

.nav__link[aria-current="page"] {
  color: var(--lime);
  border-left-color: var(--lime);
  background: linear-gradient(90deg, rgba(198, 255, 61, .12), transparent 78%);
  font-weight: 700;
}
.nav__link[aria-current="page"] .nav__num { color: var(--lime); }
.nav__link[aria-current="page"] .nav__label::after { width: 100%; }

.rail__cta { justify-content: center; }

/* ---------- 8. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .68rem 1.1rem;
  border: 1px solid var(--steel);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { border-color: var(--lime); color: var(--lime); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--lime); border-color: var(--lime); color: var(--ink-900); }
.btn--primary:hover { background: #D8FF7C; border-color: #D8FF7C; color: var(--ink-900); }

.btn--ghost:hover { background: var(--lime-soft); }

.btn--orange { border-color: rgba(255, 122, 61, .7); color: var(--orange); }
.btn--orange:hover { background: var(--orange); border-color: var(--orange); color: var(--ink-900); }

/* ---------- 9. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .24rem .55rem;
  border: 1px solid var(--steel);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.tag--lime { color: var(--lime); border-color: var(--lime-line); background: var(--lime-soft); }
.tag--orange { color: var(--orange); border-color: rgba(255, 122, 61, .5); background: var(--orange-soft); }
.tag--steel { color: #A9B6CE; border-color: var(--steel); background: rgba(46, 74, 125, .22); }

/* ---------- 10. 面包屑 ---------- */
.crumbs {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.crumbs__item { display: flex; align-items: center; gap: .5rem; color: var(--mist); }
.crumbs__item + .crumbs__item::before { content: "/"; color: var(--steel); }
.crumbs__link { color: var(--mist); transition: color .18s var(--ease); }
.crumbs__link:hover { color: var(--lime); }
.crumbs__item [aria-current="page"] { color: var(--lime); }

/* ---------- 11. 卡片 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  background: var(--ink-800);
  border: var(--line);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  background: linear-gradient(225deg, rgba(46, 74, 125, .95) 0 50%, transparent 50%);
  transition: background .2s var(--ease);
}
.card:hover { border-color: var(--lime-line); background: #131A29; }
.card:hover::after { background: linear-gradient(225deg, var(--lime) 0 50%, transparent 50%); }

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
}
.card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.18;
  color: var(--paper);
}
.card__meta {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .05em;
  color: var(--mist);
}

/* ---------- 12. 图片容器 ---------- */
.figure {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-700);
  border: var(--line);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06);
}
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--1x1 { aspect-ratio: 1 / 1; }
.figure--wide { aspect-ratio: 21 / 9; }

.figure__cap {
  padding: .5rem .8rem;
  border-top: 1px solid rgba(46, 74, 125, .5);
  background: var(--ink-800);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--mist);
}

.img-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: repeating-linear-gradient(135deg, #131A2C 0 12px, #0F1626 12px 24px);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---------- 13. 正文排版 ---------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.05rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(61, 214, 196, .45);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.prose a:hover { color: var(--lime); border-bottom-color: var(--lime); }
.prose ul { display: grid; gap: .55rem; }
.prose ul li { position: relative; padding-left: 1.25rem; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 9px;
  height: 2px;
  background: var(--lime);
}
.prose strong { color: var(--paper); font-weight: 700; }
.prose blockquote {
  padding: .9rem 1.1rem;
  border-left: 3px solid var(--lime);
  background: var(--ink-800);
  color: #C9D1E2;
}
.prose code {
  padding: .12em .4em;
  background: rgba(46, 74, 125, .3);
  font-family: var(--font-mono);
  font-size: .88em;
  color: var(--lime);
}

/* ---------- 14. 阅读进度与显现 ---------- */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
}

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

/* ---------- 15. 页脚 ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(3rem, 7vw, 6rem);
  background: var(--ink-800);
  border-top: 1px solid var(--steel);
  font-size: .9rem;
}
.site-foot__rule {
  height: 6px;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(46, 74, 125, .95) 10px 22px);
}

.site-foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 2.6rem);
  padding-block: clamp(2rem, 5vw, 3.2rem);
}
@media (min-width: 640px) {
  .site-foot__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .site-foot__grid { grid-template-columns: 1.1fr 2.1fr 1.3fr; }
}

.site-foot__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--paper);
}
.site-foot__desc { margin-top: .6rem; color: var(--mist); font-size: .84rem; line-height: 1.65; max-width: 26ch; }
.site-foot__origin {
  margin-top: .7rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
}

.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
}

.site-foot__title {
  margin-bottom: .85rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
}
.site-foot__list { display: grid; gap: .5rem; }
.site-foot__list a {
  position: relative;
  display: inline-block;
  color: #B9C1D2;
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.site-foot__list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width .2s var(--ease);
}
.site-foot__list a:hover { color: var(--lime); padding-left: .95rem; }
.site-foot__list a:hover::before { width: .62rem; }

.site-foot__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .45rem .9rem;
  font-size: .84rem;
}
.site-foot__dl dt {
  padding-top: .3em;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
}
.site-foot__dl dd { color: #C7CEDD; word-break: break-word; }

.site-foot__note {
  margin-top: .85rem;
  padding-left: .8rem;
  border-left: 2px solid rgba(255, 122, 61, .6);
  font-size: .76rem;
  line-height: 1.7;
  color: var(--mist);
  max-width: 40ch;
}

.site-foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: 1.1rem 1.6rem;
  border-top: 1px solid rgba(46, 74, 125, .5);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--mist);
}
.site-foot__copy { max-width: none; }
.site-foot__icp { color: var(--steel); }

/* ---------- 16. 平板：横向滑动导航 ---------- */
@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .rail__panel { display: flex; }

  .site-rail[data-open] .rail__panel {
    flex: 1 0 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem;
    padding-block: .7rem 0;
    animation: none;
  }

  .rail__status { flex: 1 1 100%; }

  .nav { flex: 1 1 auto; min-width: 0; }
  .nav__list {
    flex-direction: row;
    gap: .15rem;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 2px;
  }
  .nav__link {
    white-space: nowrap;
    padding: .55rem .7rem;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  .nav__link:hover,
  .nav__link[aria-current="page"] {
    border-left-color: transparent;
    border-bottom-color: var(--lime);
  }
  .nav__link[aria-current="page"] { background: linear-gradient(180deg, transparent 40%, rgba(198, 255, 61, .12)); }

  .rail__cta { flex: none; }

  #main-content { scroll-margin-top: 96px; }
}

/* ---------- 17. 桌面：左侧框架式看台支柱 ---------- */
@media (min-width: 1100px) {
  body { padding-left: var(--rail-w); }

  .site-rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    border-right: 1px solid var(--steel);
    border-bottom: 0;
    background: linear-gradient(180deg, #0B1230 0%, #11151C 58%, #0C1329 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .rail__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    height: 100%;
    padding: 1.4rem 1.25rem 1.5rem;
    overflow-y: auto;
  }

  .site-rail[data-open] .rail__panel,
  .rail__panel {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-block: 0;
  }

  .brand { padding-bottom: .2rem; }

  .rail__status {
    flex: none;
    padding-left: .7rem;
    padding-block: .55rem;
    border-left: 2px solid var(--steel);
    font-size: .64rem;
  }

  .nav { flex: 1 1 auto; }
  .nav__list { flex-direction: column; overflow: visible; gap: 2px; padding-bottom: 0; }
  .nav__link {
    border-left: 2px solid transparent;
    border-bottom: 0;
    padding: .72rem .7rem;
    white-space: normal;
  }
  .nav__link:hover,
  .nav__link[aria-current="page"] {
    border-bottom-color: transparent;
    border-left-color: var(--lime);
  }
  .nav__link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(198, 255, 61, .14), transparent 80%);
  }

  .rail__cta { width: 100%; flex: none; }

  #main-content { scroll-margin-top: 0; }
}

/* ---------- 18. 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
  .pulse { animation: none; }
}
