/* ==========================================================================
   亚娱真人会馆 — 共享样式表 /assets/site.css
   墨海蓝基底 · 瓷奶油纸张 · 琥珀金导视 · 青瓷绿状态 · 暖橙提示
   ========================================================================== */

/* ---------- 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, ul, ol, li, figure, blockquote, dl, dd, fieldset { margin: 0; }

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

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

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

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

table { border-collapse: collapse; width: 100%; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 品牌色 */
  --ink: #0E1B2C;
  --ink-2: #172A42;
  --cream: #F3EDE1;
  --paper: #FCFAF5;
  --brown: #241C15;
  --amber: #C8952F;
  --celadon: #4E7F6E;
  --ember: #E1753A;
  --mist: #9AAEC1;
  --seal: #A63A2A;

  /* 线条与阴影 */
  --line: rgba(36, 28, 21, .16);
  --line-strong: rgba(36, 28, 21, .34);
  --line-ink: rgba(154, 174, 193, .26);
  --line-amber: rgba(200, 149, 47, .5);
  --shadow-1: 2px 2px 0 rgba(36, 28, 21, .13);
  --shadow-2: 2px 2px 0 rgba(36, 28, 21, .2), 0 8px 20px rgba(14, 27, 44, .1);
  --shadow-ink: 0 10px 26px rgba(14, 27, 44, .3);

  /* 字体 */
  --font-display: "Source Han Serif SC Heavy", "Noto Serif SC", "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  /* 尺寸 */
  --w-max: 1180px;
  --w-wide: 1320px;
  --rail: 220px;
  --header-h: 84px;
  --header-h-solid: 64px;

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 180ms;
  --dur-fast: 120ms;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.24;
  color: var(--brown);
  text-wrap: balance;
}

h1 { font-size: clamp(30px, 4.6vw, 44px); }
h2 { font-size: clamp(25px, 3.4vw, 34px); }
h3 { font-size: clamp(21px, 2.4vw, 26px); }
h4 { font-size: clamp(18px, 1.8vw, 20px); }

p { text-wrap: pretty; }

strong, b { font-weight: 700; }

small { font-size: 13px; }

::selection { background: rgba(200, 149, 47, .32); color: var(--brown); }

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

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 14px;
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  background: var(--amber);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 2px;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus { top: 14px; }

/* ---------- 5. 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--paper);
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    rgba(14, 27, 44, .97) 0%,
    rgba(14, 27, 44, .88) 54%,
    rgba(14, 27, 44, .42) 82%,
    rgba(14, 27, 44, 0) 100%
  );
  transition:
    height var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.site-header.is-solid {
  height: var(--header-h-solid);
  background-image: none;
  background-color: var(--ink);
  box-shadow: 0 1px 0 var(--line-amber), var(--shadow-ink);
}

.site-header__inner {
  width: 100%;
  max-width: var(--w-wide);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.4vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  position: relative;
}

/* 品牌 */
.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
  border-radius: 3px;
}

.brand__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--amber);
  border-radius: 2px;
  background: rgba(200, 149, 47, .1);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.18; min-width: 0; }

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--paper);
  white-space: nowrap;
}

.brand__tagline {
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--mist);
  white-space: nowrap;
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line-ink);
  border-radius: 2px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.nav-toggle:hover { border-color: var(--amber); background: rgba(200, 149, 47, .12); }

.nav-toggle__bars { display: flex; flex-direction: column; gap: 4px; width: 18px; }

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: var(--amber);
  border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle__label { line-height: 1; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.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(-5.5px) rotate(-45deg); }

/* 导航 */
.site-nav { display: block; margin-left: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.1vw, 16px);
}

.site-nav__list a {
  position: relative;
  display: block;
  padding: 8px 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(252, 250, 245, .82);
  border-radius: 2px;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms var(--ease);
}

.site-nav__list a:hover { color: var(--paper); background: rgba(200, 149, 47, .12); }
.site-nav__list a:hover::after { transform: scaleX(1); }

.site-nav__list a[aria-current="page"] { color: var(--amber); font-weight: 700; }
.site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__foot { display: none; }

/* 入口状态胶囊 */
.status-capsule {
  position: relative;
  flex: 0 0 auto;
  margin-left: 10px;
}

.status-capsule__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid var(--line-amber);
  border-radius: 999px;
  background: rgba(200, 149, 47, .1);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.3;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.status-capsule__btn:hover { border-color: var(--amber); background: rgba(200, 149, 47, .22); }

.status-capsule__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--celadon);
  box-shadow: 0 0 0 3px rgba(78, 127, 110, .26);
}

.status-capsule__route { font-weight: 700; letter-spacing: .02em; }

.status-capsule__meta { color: var(--mist); font-size: 12px; }

.status-capsule__panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(310px, 82vw);
  padding: 16px 18px;
  background: var(--paper);
  color: var(--brown);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2);
}

.status-capsule[data-open] .status-capsule__panel { display: block; }

.status-capsule__panel-title {
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--seal);
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.status-capsule__list { margin-top: 8px; }

.status-capsule__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 2px;
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}

.status-capsule__list li:last-child { border-bottom: 0; }

.status-capsule__name { font-weight: 600; }

.status-capsule__lag {
  color: var(--celadon);
  font-weight: 700;
  font-size: 13px;
}

.status-capsule__panel-note {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(36, 28, 21, .62);
}

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(200, 149, 47, .16);
  overflow: hidden;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 8vw, 104px);
  background: var(--ink);
  color: var(--paper);
}

.site-footer__band {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--amber) 0%,
    var(--amber) 21%,
    var(--seal) 21%,
    var(--seal) 27%,
    var(--celadon) 27%,
    var(--celadon) 100%
  );
}

.site-footer__inner {
  max-width: var(--w-wide);
  margin-inline: auto;
  padding: clamp(42px, 6vw, 72px) clamp(20px, 4vw, 40px) clamp(26px, 3.4vw, 40px);
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.8vw, 42px);
}

.footer-brand { min-width: 0; }

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--paper);
}

.footer-brand__note {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--mist);
  max-width: 30ch;
}

.footer-brand__region {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-ink);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--amber);
}

.footer-col { min-width: 0; }

.footer-col__title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--mist);
  margin-bottom: 14px;
}

.footer-list li + li { margin-top: 9px; }

.footer-list a,
.footer-list__meta {
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(243, 237, 225, .8);
  word-break: break-word;
}

.footer-list a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.footer-list a:hover { color: var(--amber); border-bottom-color: var(--amber); }

.footer-list__meta { font-variant-numeric: tabular-nums; }

.site-footer__base {
  max-width: var(--w-wide);
  margin-inline: auto;
  padding: 18px clamp(20px, 4vw, 40px) 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  border-top: 1px solid var(--line-ink);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--mist);
}

.site-footer__icp { font-variant-numeric: tabular-nums; }

/* ---------- 7. 容器与栅格 ---------- */
.wrap {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.wrap--wide { max-width: var(--w-wide); }

.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stack > * + * { margin-top: clamp(16px, 2vw, 24px); }

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

.surface-cream { background: var(--cream); }
.surface-paper { background: var(--paper); }
.surface-ink { background: var(--ink); color: var(--paper); }
.surface-ink h1,
.surface-ink h2,
.surface-ink h3,
.surface-ink h4 { color: var(--paper); }

/* 侧轨 + 正文双栏骨架 */
.layout {
  width: 100%;
  max-width: var(--w-wide);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: clamp(22px, 3.6vw, 56px);
  align-items: start;
}

.rail {
  position: sticky;
  top: calc(var(--header-h-solid) + 22px);
  padding: 18px 0 22px;
  border-top: 2px solid var(--ink);
}

.rail__list { margin-top: 14px; }

.rail__item + .rail__item { margin-top: 2px; }

.rail__link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: 9px 8px;
  border-left: 2px solid transparent;
  font-size: 14.5px;
  color: rgba(36, 28, 21, .74);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.rail__link:hover {
  color: var(--brown);
  border-left-color: var(--amber);
  background: rgba(200, 149, 47, .1);
}

.rail__link[aria-current="page"] {
  color: var(--brown);
  font-weight: 700;
  border-left-color: var(--amber);
}

.rail__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

/* ---------- 8. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.3;
  transition:
    transform 160ms var(--ease),
    box-shadow 160ms var(--ease),
    background-color 160ms var(--ease),
    color 160ms var(--ease),
    border-color 160ms var(--ease);
}

.btn--primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(200, 149, 47, .26);
}

.btn--outline {
  background: transparent;
  color: var(--brown);
}

.btn--outline:hover {
  transform: translateY(-2px);
  border-color: var(--amber);
  box-shadow: var(--shadow-1);
}

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

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

.breadcrumbs {
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(36, 28, 21, .6);
}

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }

.breadcrumbs li { display: flex; align-items: center; }

.breadcrumbs li + li::before {
  content: "／";
  margin: 0 7px;
  color: var(--amber);
}

.breadcrumbs a { border-bottom: 1px solid transparent; transition: border-color var(--dur-fast) var(--ease); }
.breadcrumbs a:hover { border-bottom-color: var(--amber); }

.paper-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  padding: clamp(20px, 2.4vw, 28px);
  transition:
    transform 160ms var(--ease),
    box-shadow 160ms var(--ease),
    border-color 160ms var(--ease);
}

.paper-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--amber);
}

.paper-stack { position: relative; isolation: isolate; }

.paper-stack::before,
.paper-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  z-index: -1;
}

.paper-stack::before { transform: translate(4px, 4px); }
.paper-stack::after { transform: translate(8px, 8px); }

.band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(28px, 4vw, 48px) 0;
}

.band--ink { background: var(--ink-2); }

.band h2,
.band h3 { color: var(--paper); }

.notice {
  position: relative;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--ember);
}

.notice__label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--ember);
  margin-bottom: 6px;
}

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.8em; margin-bottom: .6em; }
.prose ul, .prose ol { margin-top: .9em; padding-left: 1.3em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--brown); border-bottom: 1px solid var(--amber); }
.prose a:hover { color: var(--amber); }

.rule-text {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(36, 28, 21, .78);
  max-width: 62ch;
}

.surface-ink .rule-text,
.band .rule-text { color: var(--mist); }

.num {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 900;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.stamp {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--seal);
  border-radius: 2px;
  color: var(--seal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.6;
  transform: rotate(-1.5deg);
}

.dot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.dot-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--celadon);
  box-shadow: 0 0 0 3px rgba(78, 127, 110, .24);
}

.dot-status--alert::before { background: var(--ember); box-shadow: 0 0 0 3px rgba(225, 117, 58, .24); }

/* 图片容器基础规则 */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

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

.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }

.media--plate {
  background-image:
    repeating-linear-gradient(135deg, rgba(200, 149, 47, .16) 0 10px, rgba(200, 149, 47, 0) 10px 22px),
    linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 100%);
}

.media__caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(36, 28, 21, .62);
}

.surface-ink .media__caption,
.band .media__caption { color: var(--mist); }

/* 进入视口显现 */
[data-reveal] { opacity: 1; transform: none; }

html.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

html.reveal-on [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1080px) {
  :root { --rail: 190px; }
}

@media (max-width: 960px) {
  .site-header__inner { gap: 10px; }

  .nav-toggle { display: inline-flex; margin-left: auto; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    padding: 14px clamp(18px, 4vw, 30px) 22px;
    background: var(--ink);
    border-top: 1px solid var(--line-amber);
    border-bottom: 1px solid var(--line-ink);
    box-shadow: 0 18px 30px rgba(14, 27, 44, .34);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }

  .site-nav[data-open] { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__list a {
    padding: 13px 10px;
    font-size: 16px;
    border-bottom: 1px solid rgba(154, 174, 193, .14);
    border-radius: 0;
  }

  .site-nav__list a::after { left: 10px; right: auto; width: 22px; bottom: 6px; }

  .site-nav__foot {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(154, 174, 193, .3);
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--mist);
  }

  .status-capsule { margin-left: 0; }

  .layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  .rail {
    position: static;
    padding: 14px 0 0;
  }

  .rail__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
  }

  .rail__item + .rail__item { margin-top: 0; }

  .rail__link {
    grid-template-columns: auto auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .rail__link:hover,
  .rail__link[aria-current="page"] { border-color: var(--amber); }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .brand__tagline { display: none; }

  .status-capsule__btn { padding: 8px; min-height: 36px; }
  .status-capsule__route,
  .status-capsule__meta { display: none; }

  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; --header-h-solid: 60px; }

  .brand__mark { width: 34px; height: 34px; font-size: 17px; }
  .brand__name { font-size: 17px; }

  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }

  .site-footer__base { flex-direction: column; align-items: flex-start; }
}

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

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

  html.reveal-on [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
