/* ==========================================================================
   E尊国服务 · 共享样式 /assets/site.css
   入口地图 · 命令栏 + 测绘纸网格 + 序号标注系统
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 108px;
}

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

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

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

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

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

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- 2. 设计变量 ---------- */
:root {
  --paper: #F6F1E6;
  --ink: #221F1B;
  --navy: #0E2A47;
  --navy-2: #1B4468;
  --orange: #F04E1B;
  --orange-soft: #FCE3D6;
  --grey: #D5D9DD;
  --mint: #CBE6E4;
  --green: #1F7A5C;
  --white: #FFFFFF;
  --ink-soft: #4A453E;

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

  --edge: 2px solid var(--ink);
  --edge-dark: 2px solid rgba(246, 241, 230, 0.22);
  --shadow-1: 4px 4px 0 0 var(--ink);
  --shadow-2: 6px 6px 0 0 var(--ink);
  --radius: 6px;
  --wrap: 1280px;
  --gap: 20px;
}

/* ---------- 3. 中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(34, 31, 27, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 31, 27, 0.055) 1px, transparent 1px);
  background-size: 8px 8px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#main-content { display: block; scroll-margin-top: 108px; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.22; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 4.4vw, 44px); }
h2 { font-size: clamp(23px, 3vw, 32px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { max-width: 38em; }

.display {
  font-size: clamp(38px, 6.2vw, 78px);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.mono,
time,
.data {
  font-family: var(--font-mono);
  font-size: 0.78em;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -140px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--orange);
  color: var(--ink);
  border: var(--edge);
  box-shadow: var(--shadow-1);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.14s ease;
}
.skip-link:focus,
.skip-link:focus-visible { top: 12px; }

/* ---------- 5. 按钮 ---------- */
.btn {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-edge: var(--ink);
  --btn-shadow: var(--shadow-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--btn-edge);
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: box-shadow 0.14s ease, transform 0.14s ease,
    border-color 0.14s ease, background-color 0.14s ease;
}
.btn:hover { --btn-shadow: var(--shadow-2); transform: translate(-1px, -1px); }
.btn:active { transform: translate(1px, 1px); --btn-shadow: 2px 2px 0 0 var(--ink); }
.btn--solid { --btn-bg: var(--orange); --btn-fg: var(--ink); --btn-edge: var(--ink); }
.btn--solid:hover { --btn-bg: #FF6535; }
.btn--sm { font-size: 13px; padding: 8px 12px; }

/* ---------- 6. 命令栏头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  color: var(--paper);
  border-top: 4px solid var(--orange);
  border-bottom: 2px solid var(--ink);
  --shadow-1: 4px 4px 0 0 #04121F;
  --shadow-2: 6px 6px 0 0 #04121F;
}

.cmdbar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  max-width: 1320px;
  margin-inline: auto;
  padding: 10px 16px;
}

.cmdbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}
.brand__mark {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__dot { color: var(--orange); margin: 0 2px; }
.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: rgba(246, 241, 230, 0.62);
  white-space: nowrap;
}

.cmdbar__current {
  display: none;
  padding: 3px 8px;
  border: 2px solid var(--orange);
  background: var(--orange-soft);
  color: #8A2A08;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* 移动端展开按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  padding: 8px 12px;
  border: 2px solid rgba(246, 241, 230, 0.28);
  background: transparent;
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}
.nav-toggle:hover { border-color: var(--orange); background: rgba(240, 78, 27, 0.12); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--orange);
  transition: transform 0.14s ease, opacity 0.14s ease;
}
.site-header[data-open="true"] .nav-toggle__bars i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.site-header[data-open="true"] .nav-toggle__bars i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* 导航 */
.primary-nav {
  display: none;
  grid-column: 1 / -1;
  border-top: var(--edge-dark);
  margin-top: 8px;
  padding-top: 8px;
}
.site-header[data-open="true"] .primary-nav { display: block; }

.primary-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 10px;
  border: 2px solid transparent;
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.14s ease, color 0.14s ease,
    border-color 0.14s ease;
}
.nav-link__index {
  flex: none;
  min-width: 1.9em;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--orange);
}
.nav-link__label { white-space: nowrap; }
.nav-link:hover { background: var(--navy-2); }
.nav-link:hover .nav-link__index { color: var(--orange-soft); }
.nav-link[aria-current="page"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.nav-link[aria-current="page"] .nav-link__index { color: var(--ink); opacity: 0.72; }

/* 右侧状态与入口 */
.cmdbar__meta {
  display: none;
  align-items: center;
  gap: 12px;
}
.site-header[data-open="true"] .cmdbar__meta {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-bottom: 6px;
}

.status {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 2px solid rgba(246, 241, 230, 0.22);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}
.status:hover,
.status:focus-visible {
  border-color: var(--orange);
  background: rgba(240, 78, 27, 0.14);
}
.status__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 78, 27, 0.22);
}
.status__pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: max-content;
  max-width: 240px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  border: var(--edge);
  box-shadow: 4px 4px 0 0 var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s;
}
.status:hover .status__pop,
.status:focus-visible .status__pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 滚动进度 */
.progress {
  height: 2px;
  background: rgba(246, 241, 230, 0.12);
  overflow: hidden;
}
.progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--orange);
  transition: width 0.1s linear;
}

/* ---------- 7. 桌面命令栏 ---------- */
@media (min-width: 1200px) {
  .cmdbar__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
    padding: 10px 28px;
  }
  .nav-toggle { display: none; }
  .cmdbar__current { display: inline-block; }
  .primary-nav {
    display: block;
    grid-column: auto;
    justify-self: center;
    border-top: 0;
    margin: 0;
    padding: 0;
  }
  .primary-nav__list { flex-direction: row; gap: 2px; }
  .nav-link { padding: 8px 10px; font-size: 14px; }
  .cmdbar__meta {
    display: flex;
    grid-column: auto;
    justify-content: flex-end;
    padding-bottom: 0;
  }
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  background-color: var(--navy);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 6px 6px;
  color: var(--paper);
  border-top: 4px solid var(--orange);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1320px;
  margin-inline: auto;
  padding: 44px 20px 34px;
}

.footer__col { display: grid; align-content: start; }
.footer__col--brand { gap: 0; }

.footer__mark {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.footer__claim {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange-soft);
}
.footer__note {
  margin-top: 8px;
  max-width: 24em;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(246, 241, 230, 0.66);
}

.footer__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(246, 241, 230, 0.55);
}

.footer__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__link {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.14s ease, border-color 0.14s ease;
}
.footer__link:hover { color: var(--white); border-bottom-color: var(--orange); }
.footer__link[aria-current="page"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
  font-weight: 600;
}

.footer__meta {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.6;
}
.footer__meta li {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.footer__meta-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 230, 0.5);
}
.footer__email {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--orange-soft);
  word-break: break-all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 14px;
  padding: 7px 12px;
  border: 2px solid rgba(246, 241, 230, 0.34);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.14s ease, color 0.14s ease,
    background-color 0.14s ease;
}
.copy-btn:hover {
  border-color: var(--orange);
  color: var(--orange-soft);
  background: rgba(240, 78, 27, 0.12);
}

.copy-hint {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--mint);
}
.copy-hint[hidden] { display: none; }

.footer__legal {
  margin-top: 16px;
  max-width: 30em;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(246, 241, 230, 0.55);
}

.footer__list--legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid rgba(246, 241, 230, 0.16);
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: 1320px;
  margin-inline: auto;
  padding: 16px 20px 28px;
  border-top: 2px solid rgba(246, 241, 230, 0.16);
}
.footer__fine {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(246, 241, 230, 0.55);
}

@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1.15fr 0.85fr 1fr;
    gap: 44px;
    padding: 64px 28px 44px;
  }
  .footer__bar { padding: 18px 28px 32px; }
}

/* ---------- 9. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: 44px; }
.section--tight { padding-block: 28px; }

.section__head {
  display: grid;
  gap: 10px;
  max-width: 62ch;
  margin-bottom: 26px;
}
.section__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orange);
}
.section__title {
  font-size: clamp(23px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.section__lede {
  max-width: 36em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

@media (min-width: 760px) {
  .wrap { padding-inline: 28px; }
}
@media (min-width: 900px) {
  .section { padding-block: 68px; }
  .section--tight { padding-block: 36px; }
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  padding-block: 14px;
  border-bottom: 2px solid var(--grey);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(34, 31, 27, 0.62);
}
.breadcrumb__link {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--grey);
  transition: color 0.14s ease, border-color 0.14s ease;
}
.breadcrumb__link:hover { color: var(--orange); border-bottom-color: var(--orange); }
.breadcrumb__sep { color: rgba(34, 31, 27, 0.3); }
.breadcrumb__current { color: var(--ink); font-weight: 600; }

/* ---------- 11. 正文 ---------- */
.prose {
  display: grid;
  gap: 16px;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.8;
}
.prose h2 { margin-top: 10px; font-size: clamp(21px, 2.6vw, 27px); }
.prose h3 { margin-top: 6px; font-size: 19px; }
.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  padding-left: 1.4em;
}
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--orange); }
.prose blockquote {
  padding: 12px 16px;
  border-left: 4px solid var(--orange);
  background: var(--orange-soft);
  color: var(--ink);
  font-size: 16px;
}

.note {
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  background: var(--orange-soft);
  color: #3A2419;
  font-size: 15px;
  line-height: 1.72;
}

/* ---------- 12. 网格与面板 ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--asym { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

.panel {
  display: block;
  padding: 20px;
  background: var(--white);
  border: var(--edge);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.14s ease, border-color 0.14s ease,
    transform 0.14s ease, background-color 0.14s ease;
}
.panel--paper { background: var(--paper); }
.panel--mint { background: var(--mint); }
.panel--navy {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--ink);
  --shadow-1: 4px 4px 0 0 #04121F;
  --shadow-2: 6px 6px 0 0 #04121F;
}
a.panel:hover,
a.panel:focus-visible {
  border-color: var(--orange);
  box-shadow: var(--shadow-2);
  transform: translate(-1px, -1px);
}
.panel__head { display: grid; gap: 6px; margin-bottom: 10px; }
.panel__title { font-size: 18px; font-weight: 700; line-height: 1.35; }
.panel__text { font-size: 15px; line-height: 1.72; color: var(--ink-soft); }
.panel--navy .panel__text { color: rgba(246, 241, 230, 0.76); }

/* ---------- 13. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.tag--orange { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.tag--mint { background: var(--mint); }
.tag--green { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---------- 14. 步骤条 ---------- */
.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  background: var(--white);
  border: var(--edge);
  box-shadow: var(--shadow-1);
}
.step__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.step__body { display: grid; gap: 4px; }
.step__title { font-size: 15px; font-weight: 700; line-height: 1.45; }
.step__text { font-size: 14px; line-height: 1.68; color: var(--ink-soft); }

/* ---------- 15. 粘性索引 ---------- */
.toc {
  display: grid;
  gap: 8px;
  align-self: start;
  padding: 16px;
  background: var(--white);
  border: var(--edge);
  box-shadow: var(--shadow-1);
}
.toc__title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(34, 31, 27, 0.55);
}
.toc__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.5;
}
.toc a {
  display: block;
  padding: 5px 8px;
  border-left: 2px solid var(--grey);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.14s ease, color 0.14s ease,
    background-color 0.14s ease;
}
.toc a:hover { border-left-color: var(--orange); color: var(--orange); }
.toc a[data-active="true"],
.toc a[aria-current] {
  border-left-color: var(--orange);
  background: var(--orange-soft);
  color: #8A2A08;
  font-weight: 600;
}
@media (min-width: 980px) {
  .toc { position: sticky; top: 112px; }
}

/* ---------- 16. 图片容器 ---------- */
.figure {
  margin: 0;
  background: var(--white);
  border: var(--edge);
  box-shadow: var(--shadow-1);
}
.figure__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--mint);
  background-image:
    linear-gradient(to right, rgba(14, 42, 71, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 42, 71, 0.1) 1px, transparent 1px);
  background-size: 12px 12px;
}
.figure__frame--wide { aspect-ratio: 21 / 9; }
.figure__frame--tall { aspect-ratio: 4 / 5; }
.figure__frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__mark {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.figure__caption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px;
  border-top: var(--edge);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.figure__index {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

/* ---------- 17. 动效显现 ---------- */
[data-reveal="pending"] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
[data-reveal="done"] {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ---------- 18. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .btn:hover,
  a.panel:hover,
  a.panel:focus-visible { transform: none; }
  [data-reveal="pending"],
  [data-reveal="done"] { opacity: 1; transform: none; }
  .status__pop { transform: none; }
  .progress__bar { transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
