/* ==========================================================================
   博万赛场 · 共享样式表 /assets/site.css
   赛场数据台 × 积分交易大厅：深墨蓝底、极细边界、Bento 网格、编号章节
   ========================================================================== */

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

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

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

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

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

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

a { color: inherit; }

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ---------- 2. 变量 ---------- */
:root {
  --bg: #0A1A2A;
  --bg-deep: #071320;
  --panel: #10263A;
  --panel-hi: #16324C;
  --line: #1E3B54;
  --line-soft: rgba(30, 59, 84, .62);

  --green: #12C48B;
  --gold: #F2B31C;
  --orange: #FF8A3D;
  --cyan: #38C6E0;
  --red: #FF5C6C;

  --text: #E8F1F8;
  --muted: #9BB0C4;
  --white: #FFFFFF;

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 2px;
  --w-max: 1280px;
  --pad-x: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .01em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--white);
}

h1 { font-size: clamp(30px, 4.4vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 28px); }
h3 { font-size: clamp(19px, 2.2vw, 21px); }
h4 { font-size: 17px; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

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

::selection {
  background: rgba(18, 196, 139, .32);
  color: var(--white);
}

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

/* 等宽数字：兑率、差额、额度、档位编号 */
.num,
.panel__value,
.stat__num,
.gear-tick__num,
.chapter-bar__num,
.section__num,
.data-ribbon__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.01em;
}

/* ---------- 4. 布局容器与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background-color: var(--line);
  border: 1px solid var(--line);
}

.grid > * {
  min-width: 0;
  background-color: var(--panel);
}

.col-3, .col-4, .col-6, .col-8, .col-12 { grid-column: span 12; }

@media (min-width: 720px) {
  .col-3 { grid-column: span 6; }
  .col-4 { grid-column: span 6; }
  .col-6 { grid-column: span 12; }
  .col-8 { grid-column: span 12; }
}

@media (min-width: 1024px) {
  .col-3 { grid-column: span 3; }
  .col-4 { grid-column: span 4; }
  .col-6 { grid-column: span 6; }
  .col-8 { grid-column: span 8; }
  .col-12 { grid-column: span 12; }
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.is-hidden { display: none !important; }

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

/* ---------- 5. 章节骨架 ---------- */
.section { padding-block: clamp(44px, 6vw, 88px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.section__num {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  opacity: .92;
}

.section__title {
  font-size: clamp(22px, 2.8vw, 28px);
  letter-spacing: -.01em;
}

.section__note {
  margin-left: auto;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}

.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
}

.annotation {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .annotation--rotate {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: .3em;
  }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}

.btn--primary {
  background-color: var(--green);
  color: #04160F;
  border-color: var(--green);
  box-shadow: 0 8px 24px -12px rgba(18, 196, 139, .8);
}

.btn--primary:hover { background-color: #17dc9c; border-color: #17dc9c; transform: translateY(-1px); }

.btn--ghost {
  background-color: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover { color: var(--green); border-color: var(--green); transform: translateY(-1px); }

.btn--quiet {
  padding-inline: 4px;
  color: var(--cyan);
  border-bottom: 1px solid rgba(56, 198, 224, .4);
  border-radius: 0;
}

.btn--quiet:hover { color: var(--white); border-bottom-color: var(--white); }

/* ---------- 7. 面包屑 ---------- */
.breadcrumb {
  padding-block: 18px 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.breadcrumb__link {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.breadcrumb__link:hover { color: var(--cyan); }

/* ---------- 8. 刊头 ---------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 10px 20px;
  background: var(--green);
  color: #04160F;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 0;
  outline-offset: 0;
}

.read-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: rgba(30, 59, 84, .5);
  z-index: 120;
  pointer-events: none;
}

.read-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.masthead {
  position: relative;
  z-index: 60;
  background: linear-gradient(180deg, #0D2337 0%, #0A1A2A 100%);
  border-bottom: 1px solid var(--line);
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(30, 59, 84, .38) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 59, 84, .38) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 88%);
}

.masthead__inner {
  position: relative;
  max-width: var(--w-max);
  margin-inline: auto;
  padding: clamp(22px, 3.4vw, 38px) var(--pad-x) 0;
}

.masthead__utility {
  position: absolute;
  top: clamp(10px, 1.6vw, 18px);
  right: var(--pad-x);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  background-color: rgba(16, 38, 58, .8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.masthead__utility:hover,
.masthead__utility[aria-expanded="true"] {
  color: var(--green);
  border-color: var(--green);
}

.masthead__utility-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  flex: none;
}

.masthead__brand { text-align: center; }

.masthead__logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.masthead__logo::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 12px auto;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.masthead__mark {
  display: block;
  font-size: clamp(26px, 4.6vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .16em;
  text-indent: .16em;
  color: var(--white);
  text-shadow: 0 0 40px rgba(18, 196, 139, .18);
}

.masthead__sub {
  display: block;
  font-size: 12px;
  letter-spacing: .4em;
  text-indent: .4em;
  color: var(--muted);
}

.masthead__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 18px auto 16px;
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.masthead__toggle[aria-expanded="true"] {
  color: var(--green);
  border-color: var(--green);
}

.masthead__toggle-bar {
  display: block;
  width: 15px;
  height: 1.5px;
  background: currentColor;
}

/* 主导航 */
.nav { display: block; }

.nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}

.nav__item + .nav__item { border-left: 1px solid var(--line); }

.nav__link {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.nav__link:hover {
  color: var(--green);
  background-color: rgba(18, 196, 139, .06);
}

.nav__link[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* 档位刻度带 */
.gear-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px var(--pad-x);
  border-top: 1px solid var(--line);
  background-color: rgba(16, 38, 58, .58);
  overflow-x: auto;
  scrollbar-width: thin;
}

.gear-strip[hidden] { display: none; }

.gear-strip__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--gold);
}

.gear-strip__note {
  flex: none;
  font-size: 12px;
  color: var(--muted);
}

.gear-strip__ticks {
  display: flex;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

.gear-tick {
  flex: 1 1 0;
  min-width: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  transition: transform .18s var(--ease);
}

.gear-tick__bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background-color: var(--line);
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}

.gear-tick__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  transition: color .18s var(--ease);
}

.gear-tick:hover .gear-tick__bar { background-color: var(--gold); }

.gear-tick.is-active { transform: translateY(-1px); }
.gear-tick.is-active .gear-tick__bar {
  background-color: var(--green);
  box-shadow: 0 0 10px rgba(18, 196, 139, .7);
}
.gear-tick.is-active .gear-tick__num { color: var(--green); }

/* 编号章节条 */
.chapter-bar {
  border-top: 1px solid var(--line);
  background-color: rgba(7, 19, 32, .6);
}

.chapter-bar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.chapter-bar__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 16px;
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}

.chapter-bar__link:hover {
  color: var(--text);
  background-color: rgba(18, 196, 139, .07);
  border-bottom-color: var(--green);
}

.chapter-bar__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold);
}

.chapter-bar__label { letter-spacing: .06em; }

/* ---------- 9. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0C2136 0%, var(--bg-deep) 100%);
}

.site-footer__inner {
  max-width: var(--w-max);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--pad-x) 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
}

@media (min-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1080px) {
  .site-footer__grid { grid-template-columns: 1.5fr .85fr .85fr 1.3fr; }
}

.site-footer__mark {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer__tagline {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 10px;
}

.site-footer__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(155, 176, 196, .7);
}

.site-footer__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--gold);
  margin-bottom: 14px;
}

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

.site-footer__link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.site-footer__link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.site-footer__contact-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14px;
  margin: 0;
}

.site-footer__contact-row:last-child { border-bottom: 0; }

.site-footer__contact-key {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
  padding-top: 2px;
}

.site-footer__contact-val {
  color: var(--text);
  word-break: break-word;
}

.site-footer__legal {
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.site-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding: 20px 0 28px;
  font-size: 12.5px;
  color: var(--muted);
}

.site-footer__copy { margin: 0; font-family: var(--font-mono); letter-spacing: .06em; }
.site-footer__icp { margin: 0; }
.site-footer__icp:last-child { margin-left: auto; max-width: 46ch; line-height: 1.7; }

@media (max-width: 720px) {
  .site-footer__icp:last-child { margin-left: 0; }
}

/* ---------- 10. 内容与数据组件 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background-color: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.panel--focus {
  background:
    radial-gradient(130% 150% at 8% 0%, rgba(18, 196, 139, .16), transparent 58%),
    var(--panel);
}

.panel--gold {
  background:
    radial-gradient(130% 150% at 92% 0%, rgba(242, 179, 28, .16), transparent 58%),
    var(--panel);
}

.panel__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 12px;
}

.panel__value {
  display: block;
  font-size: clamp(36px, 6vw, 82px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.panel__value--gold { color: var(--gold); }
.panel__value--green { color: var(--green); }
.panel__value--cyan { color: var(--cyan); }

.panel__text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__num {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.stat__label {
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  white-space: nowrap;
}

.tag--day { color: var(--orange); background-color: rgba(255, 138, 61, .1); }
.tag--week { color: var(--cyan); background-color: rgba(56, 198, 224, .1); }
.tag--pos { color: var(--green); background-color: rgba(18, 196, 139, .12); }
.tag--neg { color: var(--red); background-color: rgba(255, 92, 108, .12); }

.data-ribbon {
  border: 1px solid var(--line);
  background-color: var(--panel);
  overflow: hidden;
}

.data-ribbon__track {
  display: flex;
  gap: 1px;
  background-color: var(--line);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.data-ribbon__item {
  flex: 0 0 clamp(190px, 26vw, 260px);
  scroll-snap-align: start;
  padding: 18px 20px;
  background-color: var(--panel);
  transition: background-color .2s var(--ease);
}

.data-ribbon__item:hover { background-color: var(--panel-hi); }

.data-ribbon__head {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 10px;
}

.data-ribbon__value {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 14px 0;
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.legend__swatch {
  width: 14px;
  height: 14px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 2px;
}

.legend__swatch--green { background-color: var(--green); }
.legend__swatch--gold { background-color: var(--gold); }
.legend__swatch--orange { background-color: var(--orange); }
.legend__swatch--cyan { background-color: var(--cyan); }
.legend__swatch--red { background-color: var(--red); }

/* ---------- 11. 响应式图片容器 ---------- */
.figure { display: block; margin: 0; }

.figure__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(18, 196, 139, .1), transparent 46%),
    linear-gradient(315deg, rgba(242, 179, 28, .1), transparent 46%),
    var(--panel);
}

.figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.figure__caption {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 12. 显现动效 ---------- */
.will-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}

.will-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 13. 移动端与平板 ---------- */
@media (max-width: 860px) {
  .masthead__inner { padding-top: 22px; }

  .masthead__utility {
    top: 14px;
    padding: 6px 10px;
    letter-spacing: .08em;
  }

  .masthead__toggle { display: inline-flex; }

  .nav {
    display: none;
    border-top: 1px solid var(--line);
    background-color: #0C2136;
  }

  .nav[data-open] {
    display: block;
    animation: navDrop .2s var(--ease) both;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__item + .nav__item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .nav__link {
    padding: 15px 20px;
    font-size: 15.5px;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }

  .nav__link[aria-current="page"] {
    border-bottom: 0;
    border-left-color: var(--green);
    background-color: rgba(18, 196, 139, .07);
  }

  .gear-strip { flex-wrap: wrap; gap: 10px 14px; }
  .gear-strip__ticks { flex: 1 1 100%; min-width: 420px; }
}

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

@media (max-width: 560px) {
  body { font-size: 16px; }

  .section__note { margin-left: 0; max-width: none; }

  .masthead__sub { letter-spacing: .3em; text-indent: .3em; font-size: 11px; }

  .chapter-bar__list { justify-content: flex-start; }

  .chapter-bar__link { padding: 10px 12px; }

  .site-footer__contact-row { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 14. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .will-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .read-progress { display: none; }
}

/* ---------- 15. 打印 ---------- */
@media print {
  .masthead__utility,
  .masthead__toggle,
  .read-progress { display: none !important; }
}
