/* =========================================================
   AYHAK · 安远话植物图集 — 照片书样式
   参考：Mater「Catálogo Etnobotánico」的标本页（白纸、细黑框、
   标本照片居中、右下角带横线的标签栏），以及 Pages「Scientific
   Muted」的低饱和色块（土黄、灰粉、灰绿、骨白、灰蓝、灰紫）。
   中文用无衬线（不用宋体）；英文标题用 Oswald（窄体），英文正文、
   学名、页码用 EB Garamond。字体放在 vendor/fonts，不依赖外部。
   ========================================================= */
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('./vendor/fonts/eb-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('./vendor/fonts/eb-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('./vendor/fonts/eb-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('./vendor/fonts/oswald-latin-600-normal.woff2') format('woff2'); }

:root {
  --table: #f4f1ea;          /* 书外面的底色 */
  --paper: #ffffff;          /* 标本页的白纸 */
  --ink: #141412;
  --text: #24231f;
  --muted: #5f5d55;
  --hair: #141412;           /* 细黑框 */
  --line: rgba(20, 20, 18, 0.22);
  /* 低饱和色块 */
  --ochre: #c9a75e;
  --mauve: #b98a93;
  --sage: #c6d1a8;
  --bone: #e5e3d8;
  --slate: #9aa3c6;
  --lilac: #ab9fb3;
  --plum: #6e3f73;           /* 薯紫：IPA、发音按钮 */
  --sans: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', Arial, sans-serif;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --cond: 'Oswald', 'Arial Narrow', 'Helvetica Neue', 'PingFang SC', sans-serif;
  --mono: 'SFMono-Regular', Menlo, Consolas, monospace;
  --ipa-font: 'Lucida Grande', 'Segoe UI', 'Noto Sans', 'DejaVu Sans', 'Arial Unicode MS', sans-serif;
  --page-pad: clamp(22px, 3.6vw, 52px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--table); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 14px; }
b { font-weight: 600; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--paper); padding: 6px 10px; }
.ipa { font-family: var(--ipa-font); color: var(--plum); letter-spacing: 0; }
.small { font-size: 13px; color: var(--muted); }
.muted { color: var(--muted); }
.lat { font-family: var(--serif); font-style: italic; }
.label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.ulink { font-size: 13px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.ulink:hover { opacity: 0.65; }

/* ---------- 中文 | English ---------- */
html[data-lang="zh"] .en:not(.keep) { display: none !important; }
html[data-lang="en"] .zh { display: none !important; }
[lang="en"] { font-family: var(--serif); }
p[lang="en"], div[lang="en"] p, dd [lang="en"] { font-size: 1.08em; line-height: 1.65; }
.label [lang="en"], .runhead [lang="en"], .ulink [lang="en"], .toc [lang="en"], .langs [lang="en"], .small [lang="en"] { font-family: inherit; font-size: inherit; }
html[data-lang="zh"] div.en.keep { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; color: var(--muted); }

/* ---------- 顶栏 ---------- */
.topbar { max-width: 1340px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(14px, 3vw, 28px); font-size: 13px; }
.topbar a { text-decoration: none; }
.mark { font-family: var(--cond); font-size: 16px; letter-spacing: 0.12em; display: inline-flex; align-items: center; gap: 9px; }
.mark::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 1px var(--ink); }
.topbar nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.topbar nav a:hover, .topbar nav a[aria-current] { border-bottom: 1px solid currentColor; }
.langs { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.langs button { background: none; border: 0; padding: 0 2px; cursor: pointer; font: inherit; color: var(--muted); }
html[data-lang="zh"] .langs [data-setlang="zh"], html[data-lang="en"] .langs [data-setlang="en"] { color: var(--ink); border-bottom: 1px solid currentColor; }

/* ---------- 跨页 ---------- */
.book { padding: 0 clamp(10px, 3vw, 28px) 40px; }
.spread { position: relative; max-width: 1340px; margin: 0 auto 30px; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 18px 40px -26px rgba(40,34,20,.45); scroll-margin-top: 12px; }
.spread.tri { grid-template-columns: 1fr 1.05fr 1fr; }
.spread.single { grid-template-columns: 1fr; }
.spread::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 30px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(40,30,10,.08) 50%, rgba(0,0,0,0)); }
.spread.tri::after, .spread.single::after { display: none; }
.page { position: relative; min-height: min(86vh, 860px); padding: calc(var(--page-pad) + 16px) var(--page-pad) calc(var(--page-pad) + 20px); display: flex; flex-direction: column; background: var(--paper); }
.page.center { justify-content: center; }
.page.bottom { justify-content: flex-end; }
/* 色块页 */
.panel-ochre { background: var(--ochre); }
.panel-mauve { background: var(--mauve); }
.panel-sage { background: var(--sage); }
.panel-bone { background: var(--bone); }
.panel-slate { background: var(--slate); }
.panel-lilac { background: var(--lilac); }
.panel-paper { background: #fbfaf6; }
[class*="panel-"] .label, [class*="panel-"] .runhead, [class*="panel-"] .folio, [class*="panel-"] .small, [class*="panel-"] .muted { color: rgba(20,20,18,.72); }
[class*="panel-"] .ipa { color: #3f1f45; }
/* 白纸标本页：内侧一圈细黑框 */
.sheet::before { content: ''; position: absolute; inset: 14px; border: 1px solid var(--hair); pointer-events: none; }
.page.stack { gap: 18px; justify-content: center; }
/* 页眉、页码 */
.runhead { position: absolute; top: 24px; left: var(--page-pad); right: var(--page-pad); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); z-index: 1; }
.folio { position: absolute; bottom: 24px; font-family: var(--serif); font-size: 13px; color: var(--muted); z-index: 1; }
.page:nth-child(odd) .folio { left: var(--page-pad); }
.page:nth-child(even) .folio { right: var(--page-pad); }

/* ---------- 标题 ---------- */
.title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: 0.06em; line-height: 1.15; margin: 0 0 14px; color: var(--ink); }
.title-en { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.35; margin: 0; color: var(--ink); }
.display { font-family: var(--cond); font-weight: 600; font-size: clamp(40px, 5.4vw, 78px); line-height: 0.95; letter-spacing: -0.01em; text-transform: none; color: var(--ink); margin: 0 0 24px; }
.h { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: 0.04em; line-height: 1.3; margin: 0 0 18px; color: var(--ink); }
html[data-lang="en"] .h { font-family: var(--cond); font-weight: 600; letter-spacing: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; }
.lede { font-size: 16px; }

/* ---------- 细框照片 ---------- */
.frame { margin: 0; border: 1px solid var(--hair); padding: 18px; display: flex; align-items: center; justify-content: center; min-height: 0; flex: 1; }
.frame img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.frame.grow { flex: 1 1 auto; }
.page.stack .frame { flex: 1 1 0; }
.page.stack .frame img { max-height: 34vh; }
/* 白底照片放在色块上：用正片叠底，白底融进色块，像印在纸上 */
[class*="panel-"] .frame img.cut, [class*="panel-"] .foods img.cut { mix-blend-mode: multiply; }

/* ---------- 图版（整页照片） ---------- */
.plate { margin: 0; }
.plate img { width: 100%; height: auto; max-height: 68vh; object-fit: contain; }
.plate.fill { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.plate.fill .ph { flex: 1; min-height: 300px; position: relative; }
.plate.fill .ph img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.plate figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.plate figcaption .no { font-family: var(--serif); font-style: italic; margin-right: 6px; color: var(--ink); }

/* ---------- 目录 ---------- */
.toc { list-style: none; margin: 10px 0 0; padding: 0; }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; text-decoration: none; }
.toc a:hover b { text-decoration: underline; }
.toc .n { font-family: var(--mono); font-size: 11px; color: var(--muted); width: 26px; flex: none; }
.toc b { font-weight: 500; letter-spacing: 0.04em; color: var(--ink); }
.toc .dots { flex: 1; border-bottom: 1px dotted rgba(20,20,18,.4); transform: translateY(-4px); }
.toc .pg { font-family: var(--serif); font-size: 14px; color: var(--muted); }
.toc .sub { font-size: 13px; color: var(--muted); margin-left: 4px; }

/* ---------- 图集：一张张白色标本卡（Mater 式） ---------- */
.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px; margin-top: 10px; }
.spec { position: relative; background: var(--paper); border: 1px solid var(--hair); aspect-ratio: 3 / 4; display: flex; flex-direction: column; padding: 22px 22px 18px; }
.spec .ph { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 6px 6px 14px; }
.spec .ph img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .4s; }
.spec .ph:hover img { transform: scale(1.03); }
.spec .tag { margin-left: auto; width: min(100%, 210px); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 8px 0 8px; font-size: 12px; line-height: 1.45; }
.spec .tag .k { font-weight: 600; font-size: 10.5px; color: var(--ink); display: block; }
.spec .tag .v { color: var(--muted); display: block; margin-bottom: 5px; }
.spec .tag .nm { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.spec .tag .nm b { font-size: 17px; font-weight: 500; letter-spacing: 0.08em; color: var(--ink); }
.spec .tag .nm .ipa { font-size: 12px; }
.spec .no { position: absolute; top: 12px; left: 14px; font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.1em; }

/* ---------- 编号小列表 ---------- */
.index { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.index li { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.index .n { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 3px; }
.index b { color: var(--ink); letter-spacing: 0.04em; margin-right: 8px; }
[class*="panel-"] .index, [class*="panel-"] .index li { border-color: rgba(20,20,18,.28); }

/* ---------- 田地和厨房 ---------- */
.foods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; }
.foods figure { margin: 0; }
.foods img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--hair); }
.foods figcaption { font-size: 12.5px; margin-top: 8px; line-height: 1.55; }

/* ---------- 关于本图集 ---------- */
dl.about { margin: 8px 0 0; }
dl.about dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px; }
dl.about dt [lang="en"] { font-family: inherit; }
dl.about dd { margin: 6px 0 0; font-size: 14px; }

/* ---------- 单种植物：标本页 ---------- */
.specimen { justify-content: space-between; }
.specimen .ph { flex: 1; min-height: 340px; position: relative; margin: 10px 0 18px; }
.specimen .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.labelblock { margin-left: auto; width: min(100%, 300px); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 10px 0; font-size: 13px; line-height: 1.5; position: relative; z-index: 1; }
.labelblock .first { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 8px; }
.labelblock .k { font-weight: 600; font-size: 11px; color: var(--ink); display: block; }
.labelblock .v { color: var(--muted); display: block; margin-bottom: 6px; }
.labelblock .first .v { color: var(--ink); font-size: 22px; letter-spacing: 0.1em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 0; }
.labelblock .first .v .ipa { font-size: 14px; letter-spacing: 0; }
.p-no { font-family: var(--cond); font-weight: 600; font-size: clamp(54px, 7vw, 104px); line-height: 0.9; color: var(--ink); margin: 0 0 6px; }
.p-name { font-size: clamp(44px, 6vw, 80px); font-weight: 700; letter-spacing: 0.08em; line-height: 1.1; margin: 0 0 12px; color: var(--ink); }
.p-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(20,20,18,.7); margin: 0 0 16px; }
.p-ipa { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: 96px 1fr; border-top: 1px solid var(--line); margin: 6px 0 18px; }
.facts dt, .facts dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: rgba(20,20,18,.7); padding-top: 12px; }
[class*="panel-"] .facts, [class*="panel-"] .facts dt, [class*="panel-"] .facts dd { border-color: rgba(20,20,18,.25); }
.pending { font-family: var(--mono); font-size: 11px; color: var(--plum); letter-spacing: 0.04em; }
[class*="panel-"] .pending { color: #4a2350; }
.refs { list-style: none; margin: 0; padding: 0; }
.refs li { padding: 10px 0; border-bottom: 1px solid rgba(20,20,18,.25); font-size: 14px; }
.refs .src { display: block; font-size: 12.5px; color: rgba(20,20,18,.7); margin-top: 4px; }
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; flex: 1; align-content: center; }
.stages figure { margin: 0; }
.stages .frame { aspect-ratio: 4 / 5; padding: 12px; }
.stages figcaption { font-size: 12.5px; margin-top: 8px; }
.stages figcaption .no { font-family: var(--serif); font-style: italic; margin-right: 6px; }
.made { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.made li { display: grid; grid-template-columns: 40% 1fr; gap: 18px; align-items: end; }
.made .frame { aspect-ratio: 1; padding: 10px; }
.made b { font-size: 22px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); }
.turn { max-width: 1340px; margin: 0 auto 40px; padding: 0 clamp(14px, 3vw, 28px); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.turn a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.qr { display: none; margin-top: 18px; align-items: center; gap: 12px; }
.qr .qrbox, .qr .qrbox svg { width: 92px; height: 92px; display: block; }
body.show-qr .qr { display: flex; }
.tools { max-width: 1340px; margin: 0 auto 16px; display: flex; gap: 16px; align-items: center; font-family: var(--mono); font-size: 12px; }
.btn { font-family: var(--mono); font-size: 12px; background: none; border: 1px solid var(--ink); padding: 5px 12px; cursor: pointer; }
.page.blank { align-items: center; justify-content: center; }
.page.blank .endmark { font-family: var(--cond); font-size: 18px; letter-spacing: 0.1em; color: rgba(20,20,18,.3); }

/* ---------- 词典链接、发音按钮 ---------- */
a.dict-link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(110,63,115,.5); }
a.dict-link:hover { color: var(--plum); border-bottom-color: var(--plum); }
.p-name a.dict-link { border-bottom-width: 2px; }
.say { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink); background: rgba(255,255,255,.35); color: var(--ink); cursor: pointer; padding: 0; vertical-align: middle; flex: none; margin-left: 4px; }
.say:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.say.sm { width: 26px; height: 26px; }
.say.sm svg { width: 14px; height: 14px; }
.say:disabled { border-color: var(--line); color: rgba(20,20,18,.3); cursor: not-allowed; background: transparent; }
.say-slot { display: inline; }

/* 管理模式 */
.admin-only { display: none !important; }
html.admin .admin-only { display: revert !important; }

/* 书末 */
.colophon { font-size: 13px; line-height: 1.9; }
.colophon p { margin-bottom: 10px; }
.endnote { max-width: 1340px; margin: 0 auto; padding: 8px 0 36px; font-size: 12px; color: var(--muted); text-align: center; }
.spread.last .page { min-height: min(66vh, 660px); }

/* ---------- 手机：跨页拆成单页 ---------- */
@media (max-width: 860px) {
  .spread, .spread.tri { grid-template-columns: 1fr; margin-bottom: 22px; }
  .spread::after { display: none; }
  .page { min-height: 0; }
  .page.stack { min-height: 70vh; }
  .page.stack .frame img { max-height: 28vh; }
  .page:nth-child(odd) .folio, .page:nth-child(even) .folio { left: auto; right: var(--page-pad); }
  .page.blank { display: none; }
  .plate.fill .ph, .specimen .ph { min-height: 52vh; }
  .made li { grid-template-columns: 1fr 1fr; }
  .labelblock { width: 100%; }
}

/* ---------- 打印：纸质版，一种植物一个跨页，显示二维码 ---------- */
@media print {
  body { background: #fff; }
  .topbar, .turn, .tools, .endnote, .no-print { display: none !important; }
  .book { padding: 0; }
  .spread { box-shadow: none; break-inside: avoid; page-break-inside: avoid; margin: 0 0 12mm; }
  .spread::after { display: none; }
  .page { min-height: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qr { display: flex !important; }
}
p.display[lang="en"] { font-family: var(--cond); font-size: clamp(40px, 5.4vw, 78px); line-height: 0.95; }

/* =========================================================
   第二版内容结构（照片 → 发音 → 食用、药用和地方知识 → 照片档案 → 补充资料），
   沿用上面的标本照片书视觉。
   ========================================================= */
/* 封面三栏：颜色取自照片 */
:root { --c-soil: #b49a7c; --c-bloom: #b897b8; --c-ai: #c4c4a6; }
.spread.tri .panel-ochre { background: var(--c-soil); }
.spread.tri .panel-mauve { background: var(--c-bloom); }
.spread.tri .panel-bone { background: var(--c-ai); }
.cover-foot { margin-top: auto; }
.cover-foot .lede { font-size: 16px; margin-bottom: 12px; }
.cover-foot .meta { font-size: 13px; color: rgba(20,20,18,.72); margin-bottom: 4px; }
.cover-foot .meta [lang="en"] { font-style: italic; font-size: 14px; }
.intro-text p { font-size: 16px; }

/* 白底照片的衬纸统一纯白 */
:root { --paper: #ffffff; }

/* 图集标本卡：标签栏只放本地名称和喇叭 */
.spec .tag .nm { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.spec .tag .nm b a { color: inherit; text-decoration: none; }
.spec .tag .nm b a:hover { color: var(--plum); }

/* 大号“听发音” */
.say.xl { width: auto; height: 50px; border-radius: 25px; padding: 0 20px 0 16px; gap: 8px; font-size: 15px; font-family: var(--sans); background: rgba(255,255,255,.45); }
.say.xl svg { width: 22px; height: 22px; }
.say.xl .dur { font-size: 12.5px; opacity: .7; font-variant-numeric: tabular-nums; }
.say.xl .dur:empty { display: none; }
.say.playing { background: var(--ink); color: var(--paper); }
.norec { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(20,20,18,.65); border: 1px dashed rgba(20,20,18,.35); border-radius: 22px; padding: 9px 14px; }
.nameline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 8px; }
.nameline .p-name { margin: 0; }
.recs { list-style: none; margin: 14px 0 0; padding: 0; }
.recs li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(20,20,18,.22); font-size: 13.5px; }
.recs .dur { font-size: 12.5px; font-variant-numeric: tabular-nums; color: rgba(20,20,18,.65); }
.say.ghost { border-color: rgba(20,20,18,.25); color: rgba(20,20,18,.3); cursor: default; background: transparent; }
.sec-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(20,20,18,.7); margin: 22px 0 8px; }
.page h2.h { margin-bottom: 14px; }
.page h3 { font-size: 14px; font-weight: 600; margin: 16px 0 4px; }
.kv p { margin-bottom: 8px; }
.made figcaption, .made .cap { font-size: 13px; }

/* 关于：折叠栏 */
details { border-top: 1px solid rgba(20,20,18,.25); }
details:last-of-type { border-bottom: 1px solid rgba(20,20,18,.25); }
summary { cursor: pointer; list-style: none; padding: 13px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-weight: 400; font-size: 20px; line-height: 1; }
details[open] summary::after { content: '–'; }
.det { padding: 0 0 16px; font-size: 14px; }
.det .index li, .det dl.about dd, .det .biblio li { font-size: 13.5px; }
dl.layers { margin: 0; }
dl.layers dt { font-weight: 600; font-size: 13.5px; margin-top: 10px; }
dl.layers dd { margin: 2px 0 0; font-size: 13.5px; }
.biblio { list-style: none; margin: 0; padding: 0; }
.biblio li { padding: 8px 0; border-bottom: 1px solid rgba(20,20,18,.2); line-height: 1.55; }
.biblio li > [lang="en"] { display: block; }
.biblio .small { display: block; margin-top: 2px; }

/* 从田里到厨房：一排照片 */
.field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.field-row figure { margin: 0; }
.field-row img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--hair); }
.field-row img.cut { mix-blend-mode: multiply; }
.field-row figcaption { font-size: 12.5px; margin-top: 6px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
@media (max-width: 860px) { .say.xl { height: 46px; } }

/* ---------- 汉字轻一些：标题和名称不过分加粗（英文字体不变） ---------- */
.title { font-weight: 500; letter-spacing: 0.08em; }
html[data-lang="zh"] .h { font-weight: 500; }
.p-name { font-weight: 500; }
.spec .tag .nm b, .made b, .toc b, .labelblock .first .v { font-weight: 400; }
.index b, .page h3, summary, dl.layers dt { font-weight: 500; }
.p-name { font-weight: 400; }
.title { font-weight: 400; }

/* ---------- 汉字轻一点：标题不加粗太过（英文字体不变） ---------- */
.title { font-weight: 400; letter-spacing: 0.1em; }
html[data-lang="zh"] .h { font-weight: 400; letter-spacing: 0.08em; }
.p-name { font-weight: 400; letter-spacing: 0.12em; }
.spec .tag .nm b, .made b, .toc b, .labelblock .first .v, .index b { font-weight: 400; }
b, strong, summary, dl.layers dt, .page h3 { font-weight: 500; }

/* ---------- 英文也轻一点；编号 No. 01 不抢眼 ---------- */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 300; font-display: swap; src: url('./vendor/fonts/oswald-latin-300-normal.woff2') format('woff2'); }
.display, p.display[lang="en"] { font-weight: 300; letter-spacing: 0.01em; }
html[data-lang="en"] .h { font-weight: 300; }
.mark { font-weight: 300; }
.p-no { font-family: var(--cond); font-weight: 300; font-size: 18px; line-height: 1.2; letter-spacing: 0.12em; color: rgba(20,20,18,.6); margin: 0 0 14px; }
.spec .no { font-size: 9.5px; color: rgba(20,20,18,.45); }
.title-en { font-weight: 400; }

/* ---------- 发音按钮：方角 ---------- */
.say, .say.sm, .say.xl, .norec { border-radius: 0; }

/* ---------- “听发音”不要浅色底框：只留图标和文字 ---------- */
.say.xl { background: transparent; border: 0; padding: 0 4px; height: 44px; }
.say.xl:hover, .say.xl.playing { background: transparent; color: var(--plum); }
.say.xl span:first-of-type { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.norec { border: 0; padding: 0; }

/* ---------- 发音按钮不要浅色底；标本照片角上也放一个 ---------- */
.say.xl { background: transparent; }
.say.xl:hover:not(:disabled), .say.xl.playing { background: var(--ink); color: var(--paper); }
.specimen .ph { position: relative; }
.ph-say { position: absolute; right: 0; bottom: 0; z-index: 2; }
.ph-say .say { background: var(--paper); }
.ph-say .say:hover:not(:disabled), .ph-say .say.playing { background: var(--ink); color: var(--paper); }
