/* ==========================================================================
   麻将胡了主站 · 共享样式 /assets/site.css
   编辑部规则手册：细线、刻度、等宽数字、牌墙式分区
   ========================================================================== */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption, blockquote, dl, dd, hr {
  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; }

table { border-collapse: collapse; }

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

a:hover { text-decoration: underline; text-underline-offset: 0.22em; }

.rail__link:hover,
.drawer__link:hover,
.site-foot__link:hover,
.rail__brand:hover,
.mobilebar__brand:hover,
.skip-link:hover,
.rail__meta:hover,
.drawer__meta:hover { text-decoration: none; }

main { display: block; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩体系 */
  --ivory: #F6F1E4;
  --paper: #EDE3CD;
  --ink: #17130E;
  --brown: #3B2E23;
  --bamboo: #4E7A5C;
  --bamboo-soft: #DCE7DE;
  --cinnabar: #B23A2E;
  --deepgreen: #1E3A2B;
  --gold: #A9821C;
  --mist: #8B8172;

  --line: rgba(23, 19, 14, 0.16);
  --line-strong: rgba(23, 19, 14, 0.34);
  --line-light: rgba(246, 241, 228, 0.16);

  /* 尺度 */
  --rail-w: 88px;
  --topbar-h: 58px;
  --shell-max: 1440px;

  /* 字族 */
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", STSong, SimSun, Georgia, serif;
  --sans: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", "Noto Sans Mono CJK SC", monospace;
  --kaiti: "Kaiti SC", STKaiti, KaiTi, "楷体", var(--serif);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
  padding-left: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; }

p { max-width: 34em; }

strong { font-weight: 600; }

::selection { background: rgba(178, 58, 46, 0.22); color: var(--ink); }

/* 焦点反馈：朱砂红外描边 */
:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 1px;
}

.rail :focus-visible,
.drawer :focus-visible,
.site-foot :focus-visible,
.section--ink :focus-visible,
.section--deep :focus-visible,
.mobilebar :focus-visible { outline-color: var(--gold); }

/* ---------- 4. 工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--gold);
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: top 0.16s var(--ease);
}

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

/* ---------- 5. 容器与网格 ---------- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 64px);
}

.wrap--tight { max-width: 980px; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 1.6vw, 24px);
  row-gap: clamp(20px, 3vw, 36px);
}

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

/* ---------- 6. 侧边轨道导航 ---------- */
.site-head { display: contents; }

.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--ivory);
  border-right: 1px solid rgba(246, 241, 228, 0.14);
}

.rail__brand {
  display: block;
  padding: 20px 12px 16px;
  border-bottom: 1px solid rgba(246, 241, 228, 0.14);
}

.rail__mark {
  display: block;
  font-family: var(--kaiti);
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: var(--ivory);
}

.rail__sub {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: rgba(246, 241, 228, 0.5);
}

.rail__tagline {
  margin: 0;
  padding: 14px 12px;
  max-width: none;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--gold);
  border-bottom: 1px solid rgba(246, 241, 228, 0.14);
}

.rail__nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 8px 0;
  overflow-y: auto;
}

.rail__link {
  position: relative;
  display: block;
  padding: 9px 10px 9px 13px;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(246, 241, 228, 0.7);
  border-left: 2px solid transparent;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.rail__link:hover {
  color: var(--ivory);
  background: rgba(246, 241, 228, 0.07);
  border-left-color: var(--gold);
}

.rail__link[aria-current="page"] {
  color: var(--ivory);
  background: rgba(178, 58, 46, 0.24);
  border-left-color: var(--cinnabar);
}

.rail__num {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.rail__link[aria-current="page"] .rail__num { color: var(--ivory); }

.rail__totop {
  display: block;
  width: calc(100% - 24px);
  margin: 6px 12px 10px;
  padding: 8px 4px;
  background: transparent;
  color: rgba(246, 241, 228, 0.72);
  border: 1px solid rgba(246, 241, 228, 0.26);
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.rail__totop:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.rail__totop[hidden] { display: none; }

.rail__foot {
  display: grid;
  gap: 7px;
  padding: 13px 12px 16px;
  border-top: 1px solid rgba(246, 241, 228, 0.14);
}

.rail__meta {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 228, 0.48);
}

a.rail__meta:hover { color: var(--gold); }

/* 滚动进度 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: 2px;
  z-index: 80;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cinnabar);
}

/* ---------- 7. 移动端顶栏与抽屉 ---------- */
.mobilebar { display: none; }

.mobilebar__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mobilebar__mark {
  font-family: var(--kaiti);
  font-size: 19px;
  letter-spacing: 0.1em;
  color: var(--ivory);
}

.mobilebar__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.mobilebar__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(246, 241, 228, 0.32);
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.mobilebar__toggle:hover { border-color: var(--gold); }

.mobilebar__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.mobilebar__bars i {
  display: block;
  height: 1px;
  background: var(--ivory);
}

.mobilebar__toggle[aria-expanded="true"] {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
}

.drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--topbar-h);
  bottom: 0;
  z-index: 74;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--ink);
  color: var(--ivory);
  border-top: 1px solid rgba(246, 241, 228, 0.14);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.2s var(--ease), visibility 0.2s var(--ease);
}

.drawer[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

.drawer__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 20px;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: rgba(246, 241, 228, 0.78);
  border-bottom: 1px solid rgba(246, 241, 228, 0.1);
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.drawer__link:hover {
  color: var(--ivory);
  background: rgba(246, 241, 228, 0.06);
}

.drawer__link[aria-current="page"] {
  color: var(--ivory);
  background: rgba(178, 58, 46, 0.24);
  box-shadow: inset 3px 0 0 var(--cinnabar);
}

.drawer__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.drawer__foot {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding: 18px 20px 26px;
  border-top: 1px solid rgba(246, 241, 228, 0.12);
}

.drawer__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 228, 0.5);
}

a.drawer__meta:hover { color: var(--gold); }

html.is-nav-open { overflow: hidden; }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.35em;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
              border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.btn:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: var(--ivory);
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #1B1509;
}

.btn--gold:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: var(--ivory);
}

/* ---------- 9. 索引、标签与文字组件 ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  color: var(--brown);
  text-transform: uppercase;
}

.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.85;
  color: var(--brown);
  max-width: 34em;
}

.note {
  font-size: 13px;
  line-height: 1.78;
  color: var(--brown);
  max-width: 32em;
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.link {
  color: var(--cinnabar);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.link:hover { color: var(--ink); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 2px 8px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.tag--sh { color: var(--bamboo); background: rgba(78, 122, 92, 0.08); }
.tag--cd { color: #33604A; background: var(--bamboo-soft); }
.tag--gd { color: var(--deepgreen); background: rgba(30, 58, 43, 0.1); }
.tag--warn { color: var(--cinnabar); background: rgba(178, 58, 46, 0.08); }
.tag--gold { color: var(--gold); background: rgba(169, 130, 28, 0.12); }

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55em;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brown);
}

.breadcrumb li { display: flex; align-items: center; gap: 0.55em; }

.breadcrumb li + li::before {
  content: "/";
  color: var(--mist);
}

.breadcrumb a:hover {
  color: var(--cinnabar);
  text-decoration: none;
}

/* ---------- 10. 分区底色 ---------- */
.section { padding-block: clamp(44px, 6vw, 88px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--ivory); }
.section--deep { background: var(--deepgreen); color: var(--ivory); }

.section--ink .note,
.section--deep .note,
.section--ink .lede,
.section--deep .lede { color: rgba(246, 241, 228, 0.72); }

.section--ink .eyebrow,
.section--deep .eyebrow { color: var(--gold); }

/* ---------- 11. 框景容器 ---------- */
.frame {
  position: relative;
  padding: clamp(26px, 3.4vw, 48px) clamp(20px, 3vw, 42px);
  background: var(--ivory);
  border: 1px solid var(--ink);
}

.frame::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: -1px;
  width: 6px;
  background-image: repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 10px);
  opacity: 0.4;
  pointer-events: none;
}

.frame::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: -1px;
  height: 6px;
  background-image: repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px 10px);
  opacity: 0.4;
  pointer-events: none;
}

.frame--tight { padding: clamp(18px, 2.4vw, 30px); }

.section--ink .frame,
.section--deep .frame {
  background: transparent;
  border-color: rgba(246, 241, 228, 0.34);
}

.section--ink .frame::before,
.section--deep .frame::before {
  background-image: repeating-linear-gradient(to bottom, rgba(246, 241, 228, 0.8) 0 1px, transparent 1px 10px);
}

.section--ink .frame::after,
.section--deep .frame::after {
  background-image: repeating-linear-gradient(to right, rgba(246, 241, 228, 0.8) 0 1px, transparent 1px 10px);
}

/* ---------- 12. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.media__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(45deg, rgba(23, 19, 14, 0.06) 0 1px, transparent 1px 9px);
}

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

.media--wide .media__frame { aspect-ratio: 16 / 9; }
.media--tall .media__frame { aspect-ratio: 3 / 4; }
.media--square .media__frame { aspect-ratio: 1 / 1; }

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

.media__cap {
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: var(--ivory);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--brown);
}

.section--ink .media,
.section--deep .media { border-color: rgba(246, 241, 228, 0.24); }

.section--ink .media__cap,
.section--deep .media__cap {
  background: transparent;
  color: rgba(246, 241, 228, 0.7);
  border-top-color: rgba(246, 241, 228, 0.24);
}

/* ---------- 13. 账本表格 ---------- */
.ledger {
  width: 100%;
  font-size: 14.5px;
}

.ledger caption {
  padding-bottom: 10px;
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brown);
}

.ledger th,
.ledger td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ledger thead th {
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.ledger tbody tr:nth-child(even) { background: rgba(220, 231, 222, 0.45); }

.ledger tbody tr:hover { background: rgba(169, 130, 28, 0.12); }

.ledger__num {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ---------- 14. 折叠面板 ---------- */
.fold {
  border: 1px solid var(--line);
  background: var(--ivory);
}

.fold + .fold { margin-top: -1px; }

.fold__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.fold__summary::-webkit-details-marker { display: none; }

.fold__summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 15px;
  color: var(--cinnabar);
}

.fold[open] .fold__summary { border-bottom: 1px solid var(--line); }

.fold[open] .fold__summary::after { content: "–"; }

.fold__summary:hover { background: var(--bamboo-soft); }

.fold__body {
  padding: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--brown);
}

/* ---------- 15. 页脚 ---------- */
.site-foot {
  background: var(--deepgreen);
  color: rgba(246, 241, 228, 0.82);
  border-top: 3px solid var(--gold);
}

.site-foot__inner {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) minmax(0, 2.2fr) minmax(220px, 1.2fr);
  gap: clamp(28px, 4vw, 52px);
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 74px) clamp(20px, 4vw, 58px) clamp(28px, 4vw, 46px);
}

.site-foot__mark {
  font-family: var(--kaiti);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: var(--ivory);
  max-width: none;
}

.site-foot__mark span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.site-foot__sub {
  margin-top: 12px;
  max-width: 20em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ivory);
}

.site-foot__desc {
  margin-top: 10px;
  max-width: 22em;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(246, 241, 228, 0.6);
}

.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 28px;
}

.site-foot__title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(246, 241, 228, 0.2);
}

.site-foot__list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.site-foot__link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246, 241, 228, 0.8);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.site-foot__link:hover {
  color: var(--ivory);
  border-bottom-color: var(--cinnabar);
}

.site-foot__contact { display: grid; gap: 8px; align-content: start; }

.site-foot__contact .site-foot__title { margin-bottom: 4px; }

.site-foot__line {
  max-width: 26em;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(246, 241, 228, 0.8);
  word-break: break-word;
}

.site-foot__line--muted { color: rgba(246, 241, 228, 0.55); }

.site-foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  margin: 0;
  padding: 16px clamp(20px, 4vw, 58px) 22px;
  border-top: 1px solid rgba(246, 241, 228, 0.16);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 228, 0.5);
}

.site-foot__baseitem { max-width: none; margin: 0; }

/* ---------- 16. 响应式 ---------- */
@media (min-width: 961px) {
  body { padding-left: var(--rail-w); }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .col-4 { grid-column: span 6; }
  .col-8 { grid-column: span 12; }
}

@media (max-width: 960px) {
  body { padding-top: var(--topbar-h); }

  .rail { display: none; }

  .scroll-progress { left: 0; }

  .mobilebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-h);
    z-index: 75;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    background: var(--ink);
    color: var(--ivory);
    border-bottom: 1px solid rgba(246, 241, 228, 0.16);
  }

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

  .site-foot__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

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

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

  p, .note, .lede { max-width: none; }

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

  .site-foot__base { gap: 6px 18px; }

  .grid { row-gap: 24px; }
}

/* ---------- 17. 动效降级 ---------- */
@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;
  }

  .btn:hover { transform: none; }
}
