/* 回声 / echo.css — 构建产物，不要手改。
   源文件在 css/：tokens.css → base.css → type.css → components.css → instrument.css → print.css
   改完重跑 node tools/blog.mjs build。 */

/* ---- css/tokens.css ---- */
/* ==========================================================================
   回声 / tokens.css — 唯一的颜色、字号、间距、动效出处
   换气质只改这里。其它 CSS 不许写死颜色与字号。
   ========================================================================== */

:root {
  color-scheme: light;

  /* ── 版面 ───────────────────────────────────────────────────────── */
  --maxw: 1240px;               /* 整页最大宽度 */
  --measure: 33em;              /* 正文一行 33 个汉字 */
  --rail: 84px;                 /* 左侧：测深索＋刻度 */
  --panel: 216px;               /* 右侧：仪表 */
  --gutter: clamp(16px, 3vw, 40px);
  --top: clamp(18px, 3.4vw, 40px);
  --bottom: clamp(40px, 7vw, 104px);
  --gap: clamp(20px, 2.6vw, 36px);
  --band-h: 56px;              /* ≤1024px 贴顶仪表带的实际高度；scroll-padding-top 与它对齐 */
  --band-h-sm: 32px;           /* ≤640px 贴顶仪表带的实际高度 */
  --tap: 24px;                 /* 最小触控目标（WCAG 2.5.8 AA） */
  --tap-lg: 44px;              /* 推荐触控目标 */

  /* ── 字 ─────────────────────────────────────────────────────────── */
  /* 正文：系统宋体。不下载中文字体（一整份要几 MB，会拖慢第一屏）。 */
  --f-cjk: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
  --f-kai: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-h1: clamp(30px, .8vw + 26px, 42px);
  --fs-h2: clamp(21px, .35vw + 19.5px, 25px);
  --fs-h3: clamp(17px, .2vw + 16.4px, 18.5px);
  --fs-brand: clamp(24px, 2.4vw, 30px);
  --fs-tagline: clamp(19px, 1.4vw, 23px);
  --fs-word: clamp(26px, 2.6vw, 34px);
  --fs-sonar: clamp(20px, 2.2vw, 26px);
  --fs-lead: clamp(17.5px, .25vw + 17px, 19px);
  --fs-body: clamp(16.5px, .22vw + 16px, 17.5px);
  --fs-meta: 13px;
  --fs-small: 12.5px;
  --fs-tiny: 12px;
  --fs-read: 19px;              /* 仪表读数 */
  --fs-read-sm: 15px;
  --fs-num: clamp(28px, 4vw, 40px);

  --lh-body: 1.95;              /* 中文正文的行距 */
  --lh-lead: 1.85;
  --lh-head: 1.28;
  --tr-body: .012em;
  --tr-head: .01em;
  --tr-label: .2em;             /* 拉丁小标签的字距 */
  --tr-latin: .16em;

  /* ── 颜色：昼版（0–102 m，还有太阳）──────────────────────────────── */
  --paper: #e9eeee;             /* 海面光下的白，偏冷 */
  --paper-2: #dfe7e8;
  --paper-3: #d2dcdd;
  --ink: #0b1a20;               /* 墨：近黑的深海军蓝 */
  --ink-2: #3c5259;
  --ink-3: #4e6268;
  --rule: rgba(11, 26, 32, .16);
  --rule-2: rgba(11, 26, 32, .48);   /* 控件/图表边界：对 paper 3.10:1，过 WCAG 1.4.11 的 3:1 */
  --shade: rgba(11, 26, 32, .04);
  --signal: #0a6672;            /* 信号色：海水的青，压暗到能读（≥5.3:1） */
  --signal-2: #0b8291;
  --brass: #6f5730;             /* 铜：仪表环、金饰 */
  --mark: #8a2f24;              /* 朱：只给"此刻"的那一个记号 */

  /* ── 颜色：夜版（102 m 以下，无光层）────────────────────────────── */
  /* 由 [data-stage="night"] 覆盖，见下。 */

  /* ── 水色（插画、图、剖面共用）──────────────────────────────────── */
  --deep: #061820;
  --mid: #14506e;
  --shallow: #4f9fb4;
  --cyan: #5fd3e4;
  --bone: #f3f5f1;

  /* ── 动效：水不弹 ───────────────────────────────────────────────── */
  --ease: cubic-bezier(.2, .55, .2, 1);
  --t-fast: 140ms;
  --t-mid: 320ms;

  /* ── 尺规 ───────────────────────────────────────────────────────── */
  --hair: 1px;
  --rad: 0;                     /* 没有圆角；只有表盘的 2px */
  --rad-dial: 2px;
}

/* 夜：无光层。不是"深色主题"，是光没了以后剩下的颜色。
   每一组前景/背景都过 ≥ 7:1（正文）与 ≥ 4.5:1（小字）。 */
[data-stage="night"] {
  color-scheme: dark;
  --paper: #05141a;
  --paper-2: #0a1f27;
  --paper-3: #102a34;
  --ink: #dcebee;
  --ink-2: #a3bac0;
  --ink-3: #849ea5;
  --rule: rgba(220, 235, 238, .17);
  --rule-2: rgba(220, 235, 238, .48); /* 夜版：对 paper 4.26:1 */
  --shade: rgba(220, 235, 238, .04);
  --signal: #6fe0f2;
  --signal-2: #9ceaf6;
  --brass: #c8a469;
  --mark: #e07a5f;
}

/* 强制开灯 / 熄灯：只改状态（data-stage），不改调色板。
   调色板只有两套——昼 :root、夜 [data-stage="night"]；灯的开关由 js/depth.js
   折进 data-stage（灯亮 → night，灯灭 → day，自动 → 由深度决定），
   这样就不存在第二份颜色定义，也不会出现「灯灭了还是旧颜色」这种事。 */

/* 系统偏好：夜里来的人，先给夜版；但「光」仍然由深度决定。 */
@media (prefers-contrast: more) {
  :root { --ink-2: #2c3e44; --ink-3: #405257; --rule: rgba(11,26,32,.28); }
  [data-stage="night"] { --ink-2: #c3d6da; --ink-3: #a8bdc2; --rule: rgba(220,235,238,.28); }
}

/* ---- css/base.css ---- */
/* ==========================================================================
   回声 / base.css — 纸、水、版面骨架、页头页脚
   只做结构和全局规矩；文章内部在 type.css，零件在 components.css。
   ========================================================================== */

/* 数字与拉丁：自托管的 IBM Plex Mono（只装 latin 子集，9 KB × 2）。
   中文字形不走这里，退回系统宋体。 */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ≤1024px：仪表变成贴顶细带（sticky）。滚动时它会盖住顶部一条，
   给锚点/聚焦留出补偿，键盘与 #hash 跳转不会被带遮住。 */
@media (max-width: 1024px) {
  html { scroll-padding-top: calc(var(--band-h) + 8px); }
}
/* ≤640px：带更薄，补偿同步收小 */
@media (max-width: 640px) {
  html { scroll-padding-top: calc(var(--band-h-sm) + 8px); }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-cjk);
  font-size: var(--fs-body);
  line-height: 1.7;
  letter-spacing: var(--tr-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;          /* 只在真有东西溢出时兜底；不是用来遮烂版面的 */
}

/* 中文正文里的拉丁与数字：等宽、略小、贴基线 */
.mono, code, kbd, samp, .num, .read dd, .card__no, .card__depth, .card__date,
.sounding__list dd, .kicker, .brand__latin, .sect__title span, .colophon dt, .colophon dd {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0;
}

/* 单位：小一号、细一档、颜色退一层（限定在读数与单位元素，不剥夺正文原生 <i> 斜体） */
.read dd i,
.now__readout dd i,
.card__depth i,
.colophon__log dd i,
.sounding__list dd i,
.dive__meta i,
em.unit { font-style: normal; }

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: var(--rule-2);
  transition: text-decoration-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
a:hover { text-decoration-color: currentColor; }

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

::selection { background: var(--signal); color: var(--paper); }

hr { border: 0; border-top: var(--hair) solid var(--rule); margin: 2.2em 0; }

/* ── 跳到正文 ───────────────────────────────────────────────────── */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  padding: .7em 1em;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-meta);
  text-decoration: none;
}
.skip:focus { left: 1em; top: 1em; }

/* ── 页头 ───────────────────────────────────────────────────────── */
.masthead {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--top) var(--gutter) 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .5em;
  text-decoration: none;
  color: var(--ink);
}
.brand__cn {
  font-size: var(--fs-brand);
  line-height: 1;
  letter-spacing: .12em;
  font-weight: 500;
}
.brand__latin {
  font-size: var(--fs-tiny);
  letter-spacing: .34em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.nav ul {
  display: flex;
  gap: clamp(14px, 2.2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  font-size: var(--fs-meta);
  letter-spacing: .16em;
  color: var(--ink-2);
  text-decoration: none;
  padding-block: .3em;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--rule-2); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* ── 页 ─────────────────────────────────────────────────────────── */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) var(--gutter) var(--bottom);
}

/* 小标签（"第一潜 / DIVE 01"） */
.kicker {
  margin: 0 0 .9em;
  font-size: var(--fs-small);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal);
}
.kicker span { color: var(--ink-3); }

/* 区块标题：中文 + 拉丁小注 */
.sect { margin-top: clamp(40px, 6vw, 76px); }
.sect__title {
  display: flex;
  align-items: baseline;
  gap: .8em;
  margin: 0 0 1.1em;
  padding-bottom: .5em;
  border-bottom: var(--hair) solid var(--rule-2);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.4;
}
.sect__title span {
  font-size: var(--fs-tiny);
  letter-spacing: .24em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.back { margin-top: 2.4em; font-size: var(--fs-meta); }
.back a { color: var(--ink-2); text-decoration: none; }
.back a:hover { color: var(--ink); }

.empty {
  padding: 2em 0;
  color: var(--ink-2);
  font-size: var(--fs-meta);
  border-top: var(--hair) solid var(--rule);
}

/* ── 页脚：版权页 ───────────────────────────────────────────────── */
.colophon {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6em var(--gutter) var(--bottom);
  border-top: var(--hair) solid var(--rule-2);
  color: var(--ink-2);
  font-size: var(--fs-meta);
}
.colophon__mark {
  margin: 0 0 1.2em;
  color: var(--ink);
  font-size: var(--fs-h3);
  letter-spacing: .14em;
}
.colophon__mark span {
  margin-left: .6em;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: .3em;
  color: var(--ink-3);
}
.colophon__log {
  display: flex;
  flex-wrap: wrap;
  gap: .4em 2.4em;
  margin: 0 0 1.6em;
}
.colophon__log div { display: flex; gap: .7em; align-items: baseline; }
.colophon__log dt {
  font-size: var(--fs-tiny);
  letter-spacing: .18em;
  color: var(--ink-3);
}
.colophon__log dd { margin: 0; color: var(--ink); }
.colophon__log dd i { color: var(--ink-3); font-size: .82em; margin-left: .1em; }
.colophon__credit {
  margin: 0;
  max-width: 68ch;
  line-height: 1.85;
  color: var(--ink-3);
}
.colophon__credit a { color: var(--ink-2); }

/* ── 首页 ───────────────────────────────────────────────────────── */
.home__intro { max-width: 44ch; margin-bottom: clamp(32px, 5vw, 60px); }
.home__tagline {
  margin: 0;
  font-size: var(--fs-tagline);
  letter-spacing: .06em;
}
.home__handoff {
  margin: .7em 0 0;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  max-width: 30em;
}

.home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
}
.home__main { min-width: 0; }
.home__side { position: sticky; top: 2em; }

/* 本潜 */
.now { max-width: var(--measure); }
.now__title {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: .02em;
}
.now__title a { text-decoration: none; }
.now__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.now__latin {
  margin: .55em 0 0;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: .22em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.now__summary {
  margin: 1.1em 0 1.5em;
  max-width: 32em;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--ink-2);
}
.now__readout {
  display: flex;
  flex-wrap: wrap;
  gap: .5em 0;
  margin: 0;
  padding: .9em 0 0;
  border-top: var(--hair) solid var(--rule-2);
  max-width: var(--measure);
}
.now__readout div {
  display: flex;
  align-items: baseline;
  gap: .5em;
  padding-right: 1.2em;
  margin-right: 1.2em;
  border-right: var(--hair) solid var(--rule);
}
.now__readout div:last-child { border-right: 0; }
.now__readout dt {
  font-size: var(--fs-tiny);
  letter-spacing: .16em;
  color: var(--ink-3);
}
.now__readout dd { margin: 0; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.now__readout dd i { font-size: .8em; color: var(--ink-3); margin-left: .12em; }

/* 舷窗（插画） */
.porthole { margin: 0 0 2em; }
.porthole img {
  width: 100%;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px var(--rule-2),
    0 0 0 9px var(--paper),
    0 0 0 10px var(--brass);
  filter: saturate(.96);
}
.porthole figcaption {
  margin-top: 1.5em;
  font-size: var(--fs-tiny);
  letter-spacing: .14em;
  color: var(--ink-3);
  text-align: center;
}

/* 测深记录 / 水层 */
.sounding, .zones { margin-bottom: 2em; }
.sounding__label {
  margin: 0 0 .8em;
  padding-bottom: .5em;
  border-bottom: var(--hair) solid var(--rule);
  font-size: var(--fs-tiny);
  letter-spacing: .2em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.sounding__label span { color: var(--ink-3); }
.sounding__list { margin: 0; }
.sounding__list div {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding-block: .32em;
  border-bottom: var(--hair) solid var(--rule);
}
.sounding__list dt { font-size: var(--fs-small); color: var(--ink-3); letter-spacing: .1em; }
.sounding__list dd { margin: 0; }
.sounding__list dd i { color: var(--ink-3); font-size: .82em; margin-left: .1em; }

.zones__list { margin: 0; padding: 0; list-style: none; }
.zones__list li {
  padding-block: .5em;
  border-bottom: var(--hair) solid var(--rule);
  font-size: var(--fs-small);
}
.zones__list li b { display: block; font-weight: 500; letter-spacing: .1em; }
.zones__list li span { color: var(--ink-3); font-family: var(--f-mono); font-size: var(--fs-tiny); }
.zones__list li em {
  display: block;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  color: var(--ink-3);
  letter-spacing: .1em;
}

/* ── 列表页页头 ─────────────────────────────────────────────────── */
.ledger__head { margin-bottom: clamp(28px, 4vw, 48px); }
.ledger__title {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.25;
}
.ledger__title .han { letter-spacing: .2em; }
.ledger__note {
  margin: .8em 0 0;
  max-width: 34em;
  color: var(--ink-2);
}
.ledger__count {
  margin: 1.1em 0 0;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: .14em;
  color: var(--ink-3);
}

/* ── 响应式 ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .home__grid { grid-template-columns: 1fr; }
  .home__side {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: var(--gap);
    align-items: start;
  }
  .porthole { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .home__side { grid-template-columns: 1fr; }
  .porthole { max-width: 220px; }
  .now__readout div { padding-right: .9em; margin-right: .9em; }
  .colophon__log { gap: .4em 1.4em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

/* ---- css/type.css ---- */
/* ==========================================================================
   回声 / type.css — 中文组版（W3C《中文排版需求》clreq 的落地）

   作用域：文章内部 .prose，以及 .dive__title / .dive__latin / .dive__meta /
   .note（页下注）/ .profile figcaption。页面骨架、栅格、仪表、打印版式
   分别归 base.css / components.css / instrument.css / print.css。

   纪律：
   - 颜色、字号、行距、字距、间距、圆角、动效，一律取 css/tokens.css 的变量；
     本文件只定义"由 tokens 推出来"的派生量（--line-body 等），不定义新颜色。
   - 不用 !important，不用圆角、阴影、渐变、发光。
   - 每条规则前的 ①…⑫ 对应 docs/spec.md §3 的 12 条契约。

   浏览器事实（本机 Chrome 156.0.8078.49 / macOS 实测，详见交付报告）：
   - line-break: strict + word-break: normal：行首右标点、行尾左括号由
     UAX #14（LB13 / LB14）天然保证，Chrome 已成立，无需退化。
   - text-autospace: normal：成立（汉字与拉丁/数字直接相邻处加 1/8 em）。
   - text-spacing-trim: space-first：语法成立；但系统宋体 Songti SC 的标点
     不参与挤压，故正文实际退化为普通排版（不挤压、无豆腐块、无错位）。
     回退字体 PingFang SC / Hiragino Sans 上实测挤压成立。
   - hanging-punctuation：Chrome 不支持，声明被忽略；Safari 支持时用于行尾
     标点悬挂。两种情况下版面都退化为普通换行，不会错位。
   - text-justify: inter-ideograph：Chrome 不支持，忽略；Firefox 生效。
   ========================================================================== */

/* ── 0. 作用域与派生量 ───────────────────────────────────────────────── */

.dive__title,
.dive__latin,
.dive__meta,
.prose,
.note,
.profile figcaption {
  /* 一个正文行高（em）：--lh-body × 正文号。标题上留白以"行"为单位。 */
  --line-body: calc(var(--lh-body) * var(--fs-body));
  /* 代码块的行距是比例，不是字号；tokens 里没有这一项，就近定义。 */
  --line-code: 1.62;
  box-sizing: border-box;
}

/* ① ⑤ 行距 1.95、字距 .012em、一行 33 汉字（--measure）、段间不空行。
   正文用系统宋体；数字走 tabular-nums，中西混排交给引擎。 */
.prose {
  font-family: var(--f-cjk);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  font-kerning: normal;
  font-variant-numeric: tabular-nums;
  max-inline-size: var(--measure);
  color: var(--ink);
  text-align: justify;
  /* Firefox 认；Chrome 忽略（见文件头）。 */
  text-justify: inter-ideograph;
  /* ② 行首/行尾禁则：strict 收紧断行，normal 不拆西文词。 */
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
  /* 行尾标点悬挂（Safari 生效，Chrome 忽略；退化=普通排版）。 */
  hanging-punctuation: allow-end;
  /* ② 标点挤压：全角标点前后的空白按 clreq 收紧。 */
  text-spacing-trim: space-first;
  /* ③ 中西混排：汉字与拉丁/数字之间留 1/8 em（Chrome 156 实测生效）。 */
  text-autospace: normal;
  /* ④ 引语用直角引号，嵌套用单直角引号。 */
  quotes: "「" "」" "『" "』";
  /* 数字与正文同色，不另设色，保证 ≥ 7:1。 */
  font-synthesis: weight style;
}

/* ② 退路：只给拉丁/数字片段补侧距的写法，放在 @supports 里，
   免得在已经支持 text-autospace 的浏览器上重复加宽（叠加会变松）。 */
@supports not (text-autospace: normal) {
  .prose :where(.latin, .num, [lang="en"], [lang="la"]) {
    margin-inline: .125em;
  }
}

/* ── 1. 首行缩进（①）──────────────────────────────────────────────────
   p 缩进 2em；标题、列表、引文、图注、表格、代码不缩进。 */

.prose p {
  margin-block: 0;
  text-indent: 2em;
  text-align: justify;
}

.prose :where(h1, h2, h3, h4, h5, h6,
              ul, ol, dl, dt, dd, li,
              blockquote, figure, figcaption,
              table, caption, thead, tbody, tfoot, tr, th, td,
              pre, hr, .footnotes, .footnote-ref) {
  text-indent: 0;
}

/* 列表、引文、图注、表格里的段落也不再缩进。 */
.prose :where(li, blockquote, figcaption, td, th, .note) p {
  text-indent: 0;
}

/* 图片/图表段落：行内没有字，缩进没有意义。 */
.prose p:has(> :where(img, picture, video, svg, figure)) {
  text-indent: 0;
}

/* ── 2. 标题（⑥）──────────────────────────────────────────────────────
   h2 前面留 1.6 行、不居中、不装饰；h3 与正文同字号、加粗。 */

.prose :where(h1, h2, h3, h4, h5, h6) {
  margin-block: 0;
  color: var(--ink);
  text-align: start;
  text-indent: 0;
  text-wrap: balance;
  line-break: strict;
  word-break: normal;
  hanging-punctuation: allow-end;
}

.prose h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-head);
  letter-spacing: var(--tr-head);
  font-weight: 600;
  margin-block-start: calc(1.2 * var(--line-body));
  margin-block-end: calc(.55 * var(--line-body));
}

.prose h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  letter-spacing: var(--tr-head);
  font-weight: 600;
  margin-block-start: calc(1.6 * var(--line-body));
  margin-block-end: calc(.55 * var(--line-body));
}

.prose h3 {
  /* 与正文同字号，只靠字重分级。 */
  font-size: var(--fs-body);
  line-height: var(--lh-lead);
  letter-spacing: var(--tr-body);
  font-weight: 700;
  margin-block-start: calc(1.05 * var(--line-body));
  margin-block-end: calc(.2 * var(--line-body));
}

.prose :where(h4, h5, h6) {
  font-size: var(--fs-body);
  line-height: var(--lh-lead);
  letter-spacing: var(--tr-body);
  font-weight: 700;
  margin-block-start: calc(.9 * var(--line-body));
  margin-block-end: calc(.15 * var(--line-body));
}

/* 文章标题（在 .prose 外的 .dive__head 里）：左对齐，不做居中大标题。 */
.dive__title {
  font-family: var(--f-cjk);
  font-size: var(--fs-h1);
  line-height: 1.22;
  letter-spacing: .02em;
  font-weight: 500;
  color: var(--ink);
  text-align: start;
  text-wrap: balance;
  hanging-punctuation: allow-end;
  margin-block: 0;
}

/* 拉丁副题：等宽小字，字距按仪表标签（唯一出处，不再由 components.css 覆盖）。 */
.dive__latin {
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  line-height: var(--lh-lead);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-block: 0;
  overflow-wrap: break-word;
}

/* 元信息行：日期、底深、底质、字数。数字等宽，项间严格对称中点（flex column-gap=0）。 */
.dive__meta {
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  line-height: var(--lh-lead);
  letter-spacing: .04em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  text-indent: 0;
  margin-block: 0;
  text-autospace: normal;
}

.dive__meta > :where(time, span) { white-space: nowrap; }

.dive__meta > :where(span + span, time + span)::before {
  content: "·";
  margin-inline: .6em;
  color: var(--ink-3);
}

.dive__meta :where(i, .unit) {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: .8em;
  letter-spacing: .02em;
  color: var(--ink-3);
  margin-inline-start: .1em;
}

/* 系列链接：跟 meta 同级的小字，默认淡下划线，悬停加深 */
.dive__meta a { color: inherit; text-decoration-color: var(--rule); }
.dive__meta a:hover { text-decoration-color: currentColor; }

/* ── 3. 段落、列表、分隔线（② ⑤）───────────────────────────────────── */

.prose :where(ul, ol, dl) {
  margin-block: calc(.45 * var(--line-body));
  padding-inline-start: 1.55em;
  text-align: start;
}

.prose :where(li) {
  margin-block: 0;
  text-align: justify;
}

.prose :where(li + li) {
  margin-block-start: calc(.12 * var(--line-body));
}

/* 中文条目的项目符号用破折号；嵌套一层用中点。 */
.prose :where(ul) {
  list-style-type: "—";
}

.prose :where(ul) :where(ul) {
  list-style-type: "·";
}

.prose :where(ol) {
  list-style-type: decimal;
}

.prose :where(::marker) {
  color: var(--ink-2);
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.prose :where(li) > :where(p) {
  margin-block: 0;
}

/* 定义列表（正文里少见，出现也不能塌）。 */
.prose :where(dt) {
  font-weight: 700;
}

.prose :where(dd) {
  margin-inline-start: 1.2em;
  text-align: start;
}

/* ── 场景断：一枚「测深记号」 ────────────────────────────────────────
   作者的 `---` 不是分隔线，是这一潜在水柱上又放过了一次绳。
   画成：2.4em 的细横线，中点挂一个 0.5em 的竖短划（测深索上的绳结）。
   lead 补于 2026-10-31（排版师离线）；只动装饰，不碰字。 */
.prose hr {
  border: 0;
  width: 2.4em;
  height: .5em;
  margin: calc(1.15 * var(--line-body)) auto;
  padding: 0;
  position: relative;
  background: linear-gradient(var(--rule-2), var(--rule-2)) left center / 2.4em var(--hair) no-repeat;
}
.prose hr::before {
  content: '';
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: var(--hair);
  background: var(--rule-2);
  transform: translateX(-50%);
}
@media (prefers-contrast: more) {
  .prose hr { background-image: linear-gradient(var(--ink-2), var(--ink-2)); }
  .prose hr::before { background: var(--ink-2); }
}

/* ── 4. 引文（⑧）──────────────────────────────────────────────────────
   楷体、不缩进、左边 1px 细线、比正文小半号。 */

.prose blockquote {
  margin-block: calc(.9 * var(--line-body));
  margin-inline: 0;
  padding-inline-start: 1.05em;
  border-inline-start: var(--hair) solid var(--rule-2);
  font-family: var(--f-kai);
  font-size: calc(var(--fs-body) * .93);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  text-indent: 0;
  text-align: justify;
  color: var(--ink); /* 楷体笔画细，用最深一档墨 */
}

.prose blockquote :where(p, li) {
  text-indent: 0;
}

.prose blockquote :where(cite, footer) {
  display: block;
  margin-block-start: .35em;
  font-family: var(--f-cjk);
  font-size: var(--fs-small);
  font-style: normal;
  letter-spacing: .01em;
  color: var(--ink-2);
}

/* ── 5. 表格（⑨）──────────────────────────────────────────────────────
   只有横线；表头是小标签体；数字等宽、小数按位对齐。 */

.prose table {
  inline-size: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-block: calc(.95 * var(--line-body));
  font-size: var(--fs-small);
  line-height: var(--lh-lead);
  letter-spacing: var(--tr-body);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  text-align: start;
}

.prose :where(caption) {
  caption-side: top;
  text-align: start;
  font-size: var(--fs-small);
  line-height: var(--lh-lead);
  letter-spacing: .01em;
  color: var(--ink-2);
  padding-block-end: .45em;
}

.prose :where(th, td) {
  border: 0; /* 不要竖线 */
  padding: .42em .5em .42em 0;
  text-align: start;
  vertical-align: baseline;
}

.prose thead th {
  font-size: var(--fs-tiny);
  letter-spacing: var(--tr-latin);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-block-end: .55em;
  border-block-end: var(--hair) solid var(--ink-2);
}

.prose tbody :where(tr) {
  border-block-end: var(--hair) solid var(--rule);
}

.prose tbody :where(tr:last-child) {
  border-block-end: var(--hair) solid var(--rule-2);
}

/* 数字列：等宽、右对齐（小数点自然对齐）。 */
.prose :where(th, td).num,
.prose :where(th, td)[data-num] {
  font-family: var(--f-mono);
  font-size: inherit;
  font-variant-numeric: tabular-nums;
  text-align: end;
  letter-spacing: 0;
  white-space: nowrap;
}

.prose thead th.num {
  font-size: var(--fs-tiny);
  letter-spacing: var(--tr-latin);
}

/* 表格在窄屏横滚，由渲染层包一层 .table-wrap；不包也只会被压缩，不会撑破页面。 */
.prose :where(.table-wrap, .table) {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  max-inline-size: 100%;
}

/* ── 6. 代码与读数（⑩）────────────────────────────────────────────────
   等宽字、tabular-nums；行内码带细框，代码块横滚而不撑破版面。 */

.prose :where(code, kbd, samp, var) {
  font-family: var(--f-mono);
  font-size: .88em;
  font-style: normal;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  padding: .06em .28em;
  background-color: var(--shade);
  border: var(--hair) solid var(--rule);
  border-radius: var(--rad);
  overflow-wrap: break-word;
}

.prose :where(kbd) {
  border-color: var(--rule-2);
}

.prose :where(pre) {
  font-family: var(--f-mono);
  font-size: calc(var(--fs-body) * .84);
  line-height: var(--line-code);
  letter-spacing: 0;
  white-space: pre;
  tab-size: 2;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  margin-block: calc(.85 * var(--line-body));
  padding: .85em 1em;
  background-color: var(--shade);
  border: var(--hair) solid var(--rule);
  border-radius: var(--rad);
  font-variant-numeric: tabular-nums;
}

.prose :where(pre code) {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: inherit;
  line-height: inherit;
}

/* 行内读数：等宽数字 + 小一号的单位，单位与数字间留 1/4 em 的空。 */
.prose :where(.num, .read, time) {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.prose :where(.unit, .u) {
  font-family: var(--f-mono);
  font-size: .82em;
  font-style: normal;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  margin-inline-start: .26em;
}

/* ── 7. 脚注引用（⑦ 的正文一侧）───────────────────────────────────────
   上标不撑行高、不飞；数字等宽。 */

.prose :where(sup, sub) {
  font-size: .68em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.prose sup {
  inset-block-start: -.5em;
}

.prose sub {
  inset-block-start: .22em;
}

.prose :where(.footnote-ref, .footnotes) {
  font-family: var(--f-mono);
}

.prose .footnote-ref a {
  text-decoration: none;
}

/* ── 8. 页下注 / 底注块 .note（⑦）──────────────────────────────────────
   小字、数字 mono、可点；构建输出 section.note[data-notes] 排在 .dive__foot。 */

.note {
  margin-block: 0 1.4em;
  padding-block-start: .9em;
  border-top: var(--hair) solid var(--rule);
  font-family: var(--f-cjk);
  font-size: var(--fs-small);
  line-height: var(--lh-lead);
  letter-spacing: .01em;
  color: var(--ink-2);
  text-align: start;
  text-indent: 0;
  text-autospace: normal;
  text-spacing-trim: space-first;
  line-break: strict;
  word-break: normal;
  hanging-punctuation: allow-end;
}

.note :where(p, li) { margin-block: 0; text-indent: 0; text-align: start; }
.note :where(.note__no, sup, .num, time) {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.note .note__no { color: var(--ink); margin-inline-end: .55em; }

.note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: var(--hair);
  text-underline-offset: .22em;
}
.note a:hover { text-decoration-thickness: calc(var(--hair) * 2); }
.note:target,
.note :target { background-color: var(--shade); }

.note__title {
  margin: 0 0 .55em;
  font-size: var(--fs-tiny);
  font-weight: 400;
  letter-spacing: .18em;
  line-height: 1.4;
  color: var(--ink-3);
  text-transform: uppercase;
}
.note__title span { font-family: var(--f-mono); letter-spacing: .2em; }
.note__list {
  margin: 0;
  padding-inline-start: 1.35em;
  font-size: var(--fs-small);
  line-height: var(--lh-lead);
  color: var(--ink-2);
}
.note__list li { margin-block: .35em; text-align: start; }
.note__list li::marker { font-family: var(--f-mono); font-size: .9em; color: var(--ink-3); }
.note__list :where(p) { margin-block: 0; }
.note .footnote-backref { text-decoration: none; margin-inline-start: .25em; color: var(--ink-3); }
.note .footnote-backref:hover { color: var(--ink); }

/* ── 9. 图、图注、注音、缩写（⑪）────────────────────────────────────── */

.prose figure {
  margin-block: calc(1.05 * var(--line-body));
  margin-inline: 0;
}

.prose :where(img, svg, video) {
  max-inline-size: 100%;
  block-size: auto;
}

.prose img {
  display: block;
}

/* 图注在左下、小字、破折号引出（.profile__cap 的字号/颜色归 components.css，这里只管 .prose figcaption）。 */
.prose figcaption {
  margin-block-start: .5em;
  font-family: var(--f-cjk);
  font-size: var(--fs-small);
  line-height: var(--lh-lead);
  letter-spacing: .012em;
  color: var(--ink-2);
  text-align: start;
  text-indent: 0;
  font-variant-numeric: tabular-nums;
}
.prose figcaption::before { content: "—"; margin-inline-end: .5em; }

/* ruby 注音：全角汉字，半边注音，居中在上。 */
.prose ruby { ruby-position: over; ruby-align: center; }
.prose :where(rt, rtc) {
  font-family: var(--f-cjk);
  font-size: .5em;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.prose :where(rp) { display: none; }

/* 缩写：点线下划、可悬停看全称；不是链接，不改颜色。 */
.prose abbr[title],
.note abbr[title] {
  text-decoration: underline dotted;
  text-decoration-thickness: var(--hair);
  text-underline-offset: .18em;
  text-decoration-color: var(--ink-2);
  cursor: help;
}
.prose abbr[title]:hover { text-decoration-color: var(--signal); }

/* ── 10. 链接（④ 的延伸：可辨、可点、对比度仍 ≥ 7:1）───────────────── */
.prose a {
  color: var(--ink); /* 不用信号色当正文，信号色只有 5.4:1，达不到 7:1 */
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: var(--hair);
  text-underline-offset: .22em;
  text-decoration-skip-ink: auto;
}
.prose a:hover { text-decoration-thickness: calc(var(--hair) * 2); }
/* 无空格长串（URL、哈希、长英文词）在正文与图注里就地断行 */
.prose :where(p, li, dd, dt, blockquote, figcaption, td, th) { overflow-wrap: break-word; }
.prose :where(a[href], code, kbd, samp, .url) { overflow-wrap: anywhere; }

/* ── 11. 选中态与焦点（⑫ + §5 无障碍）────────────────────────────────
   选中态反白（墨块上印纸色），与纸张明显不同；焦点必须看得见，绝不 outline:none。
   对比度：昼版 ink/paper ≈ 15:1，夜版 ≈ 14:1。 */

.prose ::selection,
.prose::selection,
.note ::selection,
.dive__title::selection,
.dive__meta ::selection {
  background-color: var(--ink);
  color: var(--paper);
  text-shadow: none;
}

.prose :where(a, button, summary, [tabindex], [contenteditable]):focus-visible,
.note :where(a, button, summary):focus-visible,
.dive__title a:focus-visible {
  outline: calc(var(--hair) * 2) solid var(--signal);
  outline-offset: .2em;
  border-radius: var(--rad);
}

/* 焦点可见性在深色版也要成立：--signal 在夜版是浅青。 */
.prose :where(a):focus-visible {
  text-decoration-thickness: calc(var(--hair) * 2);
}

/* ── 12. 偏好：对比度更高时，装饰变实、界线变粗 ─────────────────────── */

@media (prefers-contrast: more) {
  .prose a,
  .note a {
    text-decoration-thickness: calc(var(--hair) * 2);
    text-decoration-color: currentColor;
  }

  .prose blockquote {
    border-inline-start-width: calc(var(--hair) * 2);
    border-inline-start-color: var(--ink);
  }

  .prose :where(figcaption, th, caption),
  .profile figcaption,
  .note,
  .dive__meta,
  .dive__latin {
    color: var(--ink);
  }

  .prose abbr[title],
  .note abbr[title] {
    text-decoration-style: solid;
  }

  .prose :where(table) {
    border-block-start: var(--hair) solid var(--ink);
  }
}

/* 水不弹：没有过渡、没有动画；尊重系统偏好时一切瞬切。 */
@media (prefers-reduced-motion: reduce) {
  .dive__title,
  .dive__latin,
  .dive__meta,
  .prose,
  .prose *,
  .note,
  .note *,
  .profile figcaption {
    transition-duration: 0s;
    animation-duration: 0s;
    animation-iteration-count: 1;
    scroll-behavior: auto;
  }
}

/* ── 13. 文章标题的断行与混排（.dive__head 不在 .prose 里，单独补齐）───── */
.dive__title,
.dive__latin,
.dive__meta {
  line-break: strict;
  word-break: normal;
}

.dive__title,
.dive__meta {
  text-autospace: normal;
  text-spacing-trim: space-first;
}

/* 标题里的长拉丁词不把版面顶宽；标题行尾标点悬挂（Safari 生效）。 */
.dive__title {
  hyphens: manual;
}

/* ── 14. 打印：正文黑白、去掉装饰，按可归档的《测深记录》排 ────────────
   CanvasText / Canvas 是系统色：打印时即黑与白，不写死任何色值。 */

@media print {
  .dive__title,
  .dive__latin,
  .dive__meta,
  .prose,
  .note,
  .profile figcaption {
    color: CanvasText;
    background-color: transparent;
    text-shadow: none;
    box-shadow: none;
  }

  .prose a,
  .note a {
    color: CanvasText;
    text-decoration: none;
  }

  .prose :where(code, pre, kbd, samp) {
    background-color: transparent;
    border-color: CanvasText;
  }

  .prose blockquote {
    border-inline-start-color: CanvasText;
  }

  .prose :where(th, td) {
    border-color: CanvasText;
  }

  .dive__latin,
  .dive__meta,
  .note,
  .prose figcaption,
  .profile figcaption,
  .prose th {
    color: CanvasText;
  }

  .prose :where(h2, h3),
  .dive__title {
    break-after: avoid-page;
    break-inside: avoid;
  }

  .prose :where(figure, blockquote, table, pre),
  .note {
    break-inside: avoid;
  }

  .prose {
    orphans: 2;
    widows: 2;
  }

  .note:target,
  .prose ::selection {
    background-color: transparent;
    color: CanvasText;
  }
}

/* ---- css/components.css ---- */
/* ==========================================================================
   回声 / components.css — 零件：潜次表、卡片、主题词、海图、文章页骨架
   ========================================================================== */

/* ── 潜次表（所有列表共用）─────────────────────────────────────── */
.ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--hair) solid var(--rule-2);
}

.card { border-bottom: var(--hair) solid var(--rule); }

.card__link {
  position: relative;
  display: grid;
  grid-template-columns: 2.7em minmax(0, 1fr) 6em 3.6em;
  align-items: baseline;
  gap: 0 1.1em;
  padding: .95em 0 1.15em;
  text-decoration: none;
  color: inherit;
}
.card__link:hover .card__title { text-decoration: underline; text-underline-offset: .16em; }
.card__no {
  font-size: var(--fs-small);
  color: var(--ink-3);
  letter-spacing: .06em;
}

.card__main { display: flex; flex-direction: column; min-width: 0; }
.card__title { font-size: var(--fs-lead); letter-spacing: .02em; }
.card__latin {
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: .18em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: .15em;
}
.card__summary {
  margin-top: .45em;
  font-size: var(--fs-meta);
  line-height: 1.75;
  color: var(--ink-2);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 正文检索命中时的短摘录；无脚本 / 未命中时为空且不占位。 */
.card__hit {
  margin-top: .35em;
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--ink-2);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__hit[hidden] { display: none; }

.card__depth { text-align: right; white-space: nowrap; display: block; }
.card__depth b { font-weight: 400; font-size: var(--fs-lead); }
.card__depth i { font-size: .78em; color: var(--ink-3); margin-left: .12em; }
.card__num { display: block; }

/* 深度条：全站最深一潜＝满格，右边对齐，只有一像素 */
.card__bar {
  display: block;
  width: 4.6em;
  height: 1px;
  margin: .42em 0 0 auto;
  background: var(--rule);
  position: relative;
}
.card__bar::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: calc(var(--w, 0) * 100%);
  height: 1px;
  background: var(--ink-3);
  transition: background var(--t-fast) var(--ease);
}
.card__link:hover .card__bar::before { background: var(--signal); }

.card__date { text-align: right; color: var(--ink-3); font-size: var(--fs-small); }

/* ── 主题词 ─────────────────────────────────────────────────────── */
.words {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 4vw, 60px);
  border-top: var(--hair) solid var(--rule-2);
}
.word { border-bottom: var(--hair) solid var(--rule); }
.word a {
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr) auto;
  grid-template-areas:
    'cn latin count'
    'cn gloss gloss';
  gap: .1em .9em;
  padding: 1em 0 1.15em;
  text-decoration: none;
  align-items: baseline;
}
.word__cn {
  grid-area: cn;
  font-size: var(--fs-word);
  line-height: 1.1;
  letter-spacing: .04em;
}
.word__latin {
  grid-area: latin;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: .2em;
  color: var(--ink-3);
  align-self: end;
}
.word__gloss { grid-area: gloss; font-size: var(--fs-meta); color: var(--ink-2); }
.word__count {
  grid-area: count;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  color: var(--ink-3);
  letter-spacing: .1em;
  white-space: nowrap;
}
.word a:hover .word__cn { color: var(--signal); }

/* ── 系列 ───────────────────────────────────────────────────────── */
.series-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--hair) solid var(--rule-2);
}
.series-item { border-bottom: var(--hair) solid var(--rule); }
.series-item a {
  display: grid;
  grid-template-columns: 4em minmax(0, 1fr) auto;
  grid-template-areas:
    'name latin count'
    'name note note';
  gap: .2em 1.2em;
  padding: 1.15em 0 1.3em;
  text-decoration: none;
  align-items: baseline;
}
.series-item__name { grid-area: name; font-size: var(--fs-h3); letter-spacing: .1em; }
.series-item__latin {
  grid-area: latin;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: .2em;
  color: var(--ink-3);
}
.series-item__note { grid-area: note; font-size: var(--fs-meta); color: var(--ink-2); }
.series-item__count {
  grid-area: count;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  color: var(--ink-3);
  letter-spacing: .1em;
}

/* ── 海图 ───────────────────────────────────────────────────────── */
.chart-wrap { margin: 0 0 clamp(36px, 5vw, 64px); overflow-x: auto; overscroll-behavior-inline: contain; }
.chart-cap,
.profile__cap {
  margin: 0 0 .9em;
  font-size: var(--fs-tiny);
  letter-spacing: .14em;
  color: var(--ink-3);
}
.chart-cap { text-transform: uppercase; }
.chart-cap span, .profile__cap span { color: var(--ink-3); }
.chart { width: 100%; height: auto; overflow: visible; }
.chart__grid line { stroke: var(--rule); stroke-width: 1; }
.chart__grid text,
.chart__x,
.chart__no,
.chart__light-label {
  font-family: var(--f-mono);
  font-size: calc(var(--fs-tiny) * 1.2);
  fill: var(--ink-3);
  letter-spacing: .04em;
}
.chart__grid text { text-anchor: end; }
.chart__x { letter-spacing: .08em; }
.chart__x--end { text-anchor: end; }
.chart__dive line { stroke: var(--ink-3); stroke-width: 1; }
.chart__dive circle { fill: var(--signal); }
.chart__dive:hover line { stroke: var(--ink); stroke-width: 1.5; }
.chart__no { text-anchor: middle; }
.chart__light { stroke: var(--brass); stroke-width: 1; stroke-dasharray: 3 4; opacity: .8; }
.chart__light-label { text-anchor: end; fill: var(--brass); }

/* 测深记录表 */
.log-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-meta);
  margin-bottom: 1.2em;
}
.log-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: .8em;
  font-size: var(--fs-tiny);
  letter-spacing: .18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.log-table th {
  text-align: left;
  font-weight: 400;
  font-size: var(--fs-tiny);
  letter-spacing: .12em;
  color: var(--ink-3);
  padding: .5em .8em .5em 0;
  border-bottom: var(--hair) solid var(--rule-2);
  white-space: nowrap;
}
.log-table td {
  padding: .55em .8em .55em 0;
  border-bottom: var(--hair) solid var(--rule);
  vertical-align: baseline;
}
.log-table .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.log-note {
  margin: 0 0 2em;
  font-size: var(--fs-tiny);
  color: var(--ink-3);
  letter-spacing: .04em;
}
.log-table-wrap { overflow-x: auto; }
.year { margin-top: clamp(36px, 5vw, 64px); }

/* ── 声呐（检索）───────────────────────────────────────────────── */
.sonar {
  max-width: 40em;
  margin-bottom: 1.6em;
}
.sonar__label {
  display: block;
  font-size: var(--fs-tiny);
  letter-spacing: .2em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: .4em;
}
.sonar__label span { color: var(--ink-3); }
.sonar__input {
  width: 100%;
  font-family: var(--f-cjk);
  font-size: var(--fs-sonar);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: var(--hair) solid var(--rule-2);
  padding: .35em 0 .45em;
  letter-spacing: .04em;
}
.sonar__input::placeholder { color: var(--ink-3); opacity: 1; }
.sonar__input:focus { border-bottom-color: var(--signal); }
.sonar__input:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.sonar__hint { margin: .7em 0 0; font-size: var(--fs-tiny); color: var(--ink-3); }
.sonar__count {
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: .14em;
  color: var(--ink-3);
  margin: 0 0 1.4em;
}

/* ── 文章页 ─────────────────────────────────────────────────────── */
.page--post, .page--about { padding-top: clamp(24px, 3.4vw, 46px); }

.dive {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(172px, 220px);
  grid-template-areas:
    'head    gauge'
    'body    gauge'
    'profile gauge'
    'foot    gauge';
  column-gap: clamp(28px, 4.6vw, 64px);
  align-items: start;
  max-width: calc(var(--measure) + 220px + 64px);
  margin: 0 auto;
}
.dive__head { grid-area: head; min-width: 0; }
.dive__body { grid-area: body; min-width: 0; }
.profile    { grid-area: profile; min-width: 0; }
.dive__foot { grid-area: foot; min-width: 0; }
.gauge      { grid-area: gauge; }

.dive--page {
  grid-template-columns: minmax(0, var(--measure));
  grid-template-areas: 'head' 'body' 'profile' 'foot';
}

.dive__head { padding-bottom: 1.6em; border-bottom: var(--hair) solid var(--rule-2); margin-bottom: 1.8em; }
/* 文章页头排版（字体/字号/行距/颜色/中点分隔）统一归 css/type.css；这里只管盒模型与弹性布局。 */
.dive__latin { margin: .6em 0 0; }
.dive__meta {
  display: flex;
  flex-wrap: wrap;
  row-gap: .3em;
  column-gap: 0;
  margin: 1.2em 0 0;
}
.dive__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .9em;
  margin: 1em 0 0;
  padding: 0;
  list-style: none;
}
.dive__tags li a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding-block: .12em;
  font-size: var(--fs-small);
  letter-spacing: .12em;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: var(--hair) dashed var(--rule-2);
}
.dive__tags li a::before { content: '#'; color: var(--ink-3); margin-right: .1em; }
.dive__tags li a:hover { color: var(--signal); border-bottom-color: var(--signal); }

.dive__body { min-width: 0; }

.profile { margin: clamp(34px, 5vw, 60px) 0 0; padding-top: 1.4em; border-top: var(--hair) solid var(--rule-2); }
.profile svg { width: 100%; height: auto; }
.profile__fallback { color: var(--ink-3); font-size: var(--fs-meta); padding: 2em 0; }

.dive__bottom {
  margin: 0 0 1.6em;
  padding: 1em 0;
  border-top: var(--hair) solid var(--rule-2);
  border-bottom: var(--hair) solid var(--rule);
  font-size: var(--fs-meta);
  color: var(--ink-2);
  line-height: 1.8;
}
.dive__bottom b { font-weight: 500; color: var(--ink); letter-spacing: .06em; }
.dive__bottom span {
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: .14em;
  color: var(--ink-3);
  margin-left: .6em;
}
.dive__foot { margin-top: clamp(28px, 4vw, 48px); }

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.pager a {
  display: block;
  padding: 1em 0;
  text-decoration: none;
  border-top: var(--hair) solid var(--rule-2);
  font-size: var(--fs-lead);
  line-height: 1.5;
}
.pager a span {
  display: block;
  margin-bottom: .3em;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: .16em;
  color: var(--ink-3);
}
.pager__next { text-align: right; }
.pager__none { font-size: var(--fs-meta); color: var(--ink-3); padding-top: 1em; border-top: var(--hair) solid var(--rule); }
.pager__next.pager__none { text-align: right; }

/* 打印时才出现的《测深记录》 */
.record { display: none; }

/* ── 四〇四 ─────────────────────────────────────────────────────── */
.page--404 { padding-block: clamp(60px, 12vw, 140px); }
.page--404 .ledger__title { margin-bottom: .5em; }

/* ── 响应式 ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dive {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'head' 'gauge' 'body' 'profile' 'foot';
    max-width: var(--measure);
  }
  .dive--page { grid-template-areas: 'head' 'body' 'profile' 'foot'; }
}
@media (max-width: 720px) {
  .words { grid-template-columns: 1fr; }
  .card__link { grid-template-columns: 2.2em minmax(0, 1fr) auto; row-gap: .2em; }
  .card__date { grid-column: 3; grid-row: 1; }
  .card__depth { grid-column: 3; grid-row: 2; }
  .card__summary { display: none; }
  .log-table { font-size: var(--fs-small); }
  .log-table th:nth-child(6), .log-table td:nth-child(6),
  .log-table th:nth-child(7), .log-table td:nth-child(7) { display: none; }
  .pager { grid-template-columns: 1fr; }
  .pager__next { text-align: left; }
}
/* 海图：窄屏内层横滚，保证刻度字不被缩到不可读（页面本身仍无横向滚动） */
@media (max-width: 1024px) {
  .chart { min-width: 900px; }
}

/* 首页：更多 / 关于入口 */
.more { margin: 1.2em 0 0; font-size: var(--fs-meta); }
.more a { color: var(--ink-2); text-decoration: none; letter-spacing: .06em; }
.more a:hover { color: var(--signal); }
.home__about { margin: 1em 0 0; font-size: var(--fs-meta); }
.home__about a { color: var(--ink-2); text-decoration: none; letter-spacing: .08em; border-bottom: var(--hair) solid var(--rule-2); }
.home__about a:hover { color: var(--signal); border-bottom-color: var(--signal); }

/* ---- css/instrument.css ---- */
/* ==========================================================================
   回声 / instrument.css — 仪表、测深索的刻度、读数、按钮，声速剖面图
   只做「仪器」这一块。颜色与字号全部来自 tokens.css；这份文件里没有一个色值。
   断点与 components.css 的 .dive 网格对齐：>1024 是右侧 sticky 面板，
   ≤1024 变成贴顶的细带（sticky，仍在文档流里，不 fixed 覆盖正文）。
   ========================================================================== */

/* ── 仪表本体 ─────────────────────────────────────────────────────── */
.gauge {
  --gauge-rail: 42px;        /* 刻度尺宽度 */
  --gauge-gap: 8px;
  --rail-inset: 8px;         /* 刻度尺上下留白；depth.js 读这个变量算铅锤行程 */
  --rail-track: 0px;         /* depth.js 写成像素；铅锤位置由 --p 驱动（transform） */
  position: sticky;
  top: var(--top);
  align-self: start;
  display: grid;
  grid-template-columns: var(--gauge-rail) minmax(0, 1fr);
  column-gap: var(--gauge-gap);
  align-items: stretch;
  margin: 0;
  padding: 0;
  color: var(--ink);
}

/* ── 刻度尺：一条测深索，刻度是版面的一部分 ───────────────────────── */
.gauge__rail {
  position: relative;
  min-height: 240px;
  border-right: var(--hair) solid var(--rule-2);
}
.gauge__ticks {
  position: absolute;
  inset: var(--rail-inset) 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gauge__ticks li {
  position: absolute;
  inset-inline: 0;
  top: calc(var(--p) * 100%);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  height: 1px;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink-2);
}
.gauge__ticks li::after {
  content: "";
  width: 4px;
  height: 1px;
  background: var(--rule-2);
  flex: none;
}
.gauge__ticks li.is-bottom { color: var(--ink); }
.gauge__ticks li.is-bottom::after { background: var(--ink-2); width: 6px; }

/* 铅锤：此刻的深度。只改 --p，位置靠 transform 走，不碰 layout。
   记号只压在刻度尺右侧（不横穿刻度数字），并越过测深索压进读数区 5px。 */
.gauge__lead {
  position: absolute;
  right: -5px;
  top: var(--rail-inset);
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background: var(--mark);
  pointer-events: none;
  transform: translateY(calc(var(--p, 0) * var(--rail-track, 0px)));
}

/* 没有脚本时：构建预置的是"到底"读数，铅锤也放在刻度尺底端，别自相矛盾
   （不支持 scripting 媒体查询的浏览器保持 --p:0，有脚本时这里不匹配）。 */
@media (scripting: none) {
  .gauge__lead {
    top: calc(100% - var(--rail-inset));
    transform: none;
  }
}

/* ── 读数面板 ─────────────────────────────────────────────────────── */
.gauge__panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.gauge__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin: 0;
  padding: 0 0 8px;
  border-bottom: var(--hair) solid var(--rule-2);
  color: var(--ink-2);
  font-size: var(--fs-tiny);
  letter-spacing: .12em;
  line-height: 1.3;
}
.gauge__label span {
  font-family: var(--f-mono);
  letter-spacing: .16em;
}

.gauge__list {
  margin: 0;
  padding: 0;
}
.read {
  padding: 7px 0 8px;
  border-top: var(--hair) solid var(--rule);
}
.gauge__list .read:first-child { border-top: 0; }
.read dt {
  display: flex;
  align-items: baseline;
  gap: .5em;
  margin: 0;
  color: var(--ink);
  font-size: var(--fs-small);
  letter-spacing: .05em;
  line-height: 1.25;
}
.read dt span {
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: .16em;
  color: var(--ink-2);
}
.read dd {
  margin: 2px 0 0;
  text-align: right;
  white-space: nowrap;
  font-size: var(--fs-read);
  line-height: 1.12;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
}
.read dd i {
  display: inline-block;
  min-width: 3ch;            /* 单位列同宽：数字右缘因此对齐，小数点在一条线上 */
  margin-left: .35em;
  font-size: var(--fs-small);
  font-style: normal;
  letter-spacing: 0;
  color: var(--ink-2);
}

.gauge__zone {
  display: flex;
  align-items: center;
  gap: .55em;
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: var(--hair) solid var(--rule-2);
  color: var(--ink-2);
  font-size: var(--fs-meta);
  letter-spacing: .06em;
  line-height: 1.3;
}
.gauge__zone::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  background: var(--signal);
}

/* ── 三个按钮：仪器上的实体键 ─────────────────────────────────────── */
.gauge__controls {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.btn {
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-height: var(--tap-lg);
  margin: 0;
  padding: .55em .7em;
  border: var(--hair) solid var(--rule-2);
  border-radius: var(--rad);
  background: transparent;
  color: var(--ink);
  font-family: var(--f-cjk);
  font-size: var(--fs-small);
  letter-spacing: .12em;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn:hover {
  background: var(--shade);
  border-color: var(--ink-3);
}
.btn:active { transform: translateY(1px); }
.btn[aria-pressed="true"] {
  border-color: var(--signal);
  color: var(--signal);
}
.btn[aria-busy="true"] { cursor: progress; }
/* 发一声的读数：没有值时完全不占行，三个键因此等高；
   有了实测值它才多出一行（按钮在 sticky 面板里，不牵动正文）。 */
.btn__value {
  display: block;
  margin-top: .15em;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  letter-spacing: 0;
  color: var(--signal);
}
.btn__value:empty { display: none; }

.gauge__hint {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: var(--fs-tiny);
  line-height: 1.6;
}
.gauge__hint[hidden] { display: none; }

/* ── 声速剖面图（tools/lib/profile.mjs 生成的 SVG）────────────────── */
/* SVG 的坐标是 760×300 的用户单位，字号按 tokens 派生后再乘缩放系数，
   好让 720–760 宽的图在 560 px 的正文栏里仍然读得出。 */
.profile__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.profile__svg .pf-rule { stroke: var(--rule-2); stroke-width: 1; }
.profile__svg .pf-tick {
  fill: var(--ink-2);
  font-family: var(--f-mono);
  font-size: calc(var(--fs-tiny) * 1.65);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.profile__svg .pf-unit {
  fill: var(--ink-2);
  font-family: var(--f-mono);
  font-size: calc(var(--fs-tiny) * 1.4);
  letter-spacing: .04em;
}
.profile__svg .pf-curve { stroke: var(--signal); stroke-width: 1.7; }
.profile__svg .pf-ticks line { stroke: var(--rule-2); }
.profile__svg .pf-axis-line {
  stroke: var(--ink-3);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.profile__svg .pf-bottom-line { stroke: var(--ink-2); stroke-width: 1; }
.profile__svg .pf-anno-label {
  fill: var(--ink-2);
  font-family: var(--f-cjk);
  font-size: calc(var(--fs-meta) * 1.35);
  letter-spacing: .02em;
}
.profile__svg .pf-num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  fill: var(--ink);
}
.profile__svg .pf-now { fill: var(--mark); }

/* ── ≤1024px：贴顶细带（sticky；滚动时覆盖顶部，锚点/焦点由 scroll-padding-top 补偿）── */
@media (max-width: 1024px) {
  .gauge {
    position: sticky;
    top: 0;
    z-index: 3;
    display: block;
    width: 100%;
    padding: 2px 0 3px;
    background: var(--paper);
    border-bottom: var(--hair) solid var(--rule-2);
  }
  .gauge__rail { display: none; }
  .gauge__panel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 12px;
  }
  .gauge__label { display: none; }
  .gauge__list {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
  }
  .read {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 0;
    border: 0;
  }
  .read dt {
    display: block;
    font-size: var(--fs-tiny);
    letter-spacing: .08em;
    color: var(--ink-2);
  }
  .read dt span { display: none; }
  .read dd {
    margin: 0;
    text-align: left;
    font-size: var(--fs-read-sm);
  }
  .read dd i { min-width: 0; }
  .gauge__zone {
    display: none;   /* 贴顶带只保留读数与控件；水层名在 >1024px 的侧栏里 */
  }
  .gauge__zone::before { display: none; }
  .gauge__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
  }
  .btn {
    width: auto;
    /* 贴顶带里保持细带高度；横向空间足够，热区按 ≥24px（WCAG 2.5.8）给到 32px */
    min-height: var(--tap);
    padding: .1em .5em;
    font-size: var(--fs-tiny);
  }
  .btn__value {
    display: inline;
    margin: 0 0 0 .55em;
  }
  .gauge__hint { margin: 4px 0 0; }
}

/* ── ≤640px：只留深度与光两行 ─────────────────────────────────────── */
@media (max-width: 640px) {
  .gauge { padding: 2px 0 3px; }
  /* 留一点余量：读数字宽（4,120 / <0.01）时控件仍与读数同一行，避免带高抖动 */
  .gauge__panel { gap: 2px 6px; }
  .gauge__list { gap: 1px 8px; }
  .read dd { font-size: var(--fs-small); }
  .gauge__controls { gap: 3px; }
  .btn { min-height: var(--tap); padding: .12em .42em; }
  .gauge__list .read:nth-child(2),
  .gauge__list .read:nth-child(3),
  .gauge__list .read:nth-child(5),
  .gauge__zone { display: none; }
}

/* ── 动效：水不弹；减少动态时一切瞬切 ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:active { transform: none; }
}

/* ── 打印：仪表整块不印（测深记录表在 print.css 里）────────────────── */
@media print {
  .gauge { display: none !important; }
  .profile__svg { break-inside: avoid; }
}

/* ---- css/print.css ---- */
/* ==========================================================================
   回声 / print.css — 打印出来是一张能归档的《测深记录》
   ========================================================================== */

@page {
  size: A4;
  margin: 16mm 14mm;
}

@media print {
  :root {
    --paper: #fff;
    --ink: #000;
    --ink-2: #222;
    --ink-3: #444;
    --rule: rgba(0, 0, 0, .2);
    --rule-2: rgba(0, 0, 0, .45);
    --signal: #000;
    --brass: #000;
  }
  html, body { background: #fff !important; color: #000; }
  body { font-size: 9.8pt; line-height: 1.62; }

  .skip, .nav, .gauge, .porthole, .sonar, .chart-wrap, .pager, .home__side,
  .dive__tags { display: none !important; }
  .colophon__credit a { color: #000; text-decoration: none; }

  .masthead { padding: 0 0 1em; border-bottom: 1px solid #000; }
  .brand__cn { font-size: 16pt; }
  .page { padding: 1.2em 0 0; max-width: none; }

  .dive, .dive--page {
    display: block;
    max-width: none;
  }
  .dive__head { border-bottom: 1px solid #000; padding-bottom: .8em; margin-bottom: 1em; }
  .dive__title { font-size: 20pt; }
  .dive__latin { color: #333; }
  .dive__meta { color: #000; }

  .prose { max-width: none; }
  .prose h2, .prose h3 { break-after: avoid; }
  .prose p { orphans: 2; widows: 2; }
  .prose blockquote { border-left: 1px solid #000; }
  .prose a { color: #000; text-decoration: none; }

  /* 每篇末尾：一张能归档的测深记录 */
  .record {
    display: table;
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0 0;
    font-size: 8.5pt;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .record caption {
    caption-side: top;
    text-align: left;
    font-size: 8pt;
    letter-spacing: .18em;
    padding-bottom: .5em;
    border-bottom: 1px solid #000;
  }
  .record th, .record td {
    text-align: left;
    padding: .38em .6em .38em 0;
    border-bottom: 1px solid rgba(0, 0, 0, .25);
    font-weight: 400;
  }
  .record th { font-size: 7.5pt; letter-spacing: .1em; color: #333; }
  .record td { font-family: var(--f-mono); }

  .colophon { border-top: 1px solid #000; padding-top: .8em; break-inside: avoid; page-break-inside: avoid; }
  .colophon__log { font-size: 8.5pt; }
  .colophon__log { display: table-row; }
  .colophon__log div { display: table-cell; padding-right: 1.6em; }
  .colophon__credit { font-size: 8pt; color: #333; }

  /* 底注与页脚整体不拆开，避免只有两三行的孤页 */
  .dive__foot { break-inside: avoid; page-break-inside: avoid; }
  .note { break-inside: avoid; page-break-inside: avoid; }

  /* 场景断：打印版是一条实心细线，不再依赖背景渐变（打印会去掉背景色） */
  .prose hr {
    width: 100%;
    height: 0;
    border: 0;
    border-top: 1px solid #000;
    background: none;
    margin: 1.3em 0;
  }
  .prose hr::before { display: none; }

  /* 纸是白的，去掉装饰底色 */
  .card__bar, .chart, .profile { display: none !important; }
  .prose :where(code, pre, kbd, samp) { background: transparent !important; }
}
