/* ═══ 墨阅 v3.0 扩展样式：MD 声明式原语 + 极简去冗杂 + 非破坏性净化对比 + 旗舰微交互 ═══ */

/* 1. 修复主页 Tab 切换横向 0px 零跳动（等字号、纯色阶与底线切换） + 设置 4 页签单行等分 */
.mo-nav-tab{
  font-size:17px !important;
  font-weight:600;
  padding:5px 2px 9px !important;
}
.mo-nav-tab.on{
  font-size:17px !important;
  font-weight:600;
  color:var(--heading) !important;
}
.mo-segbar.full{
  display:flex !important;
  grid-template-columns:none !important;
  width:100%;
}
.mo-segbar.full > .mo-segbtn{
  flex:1 1 0;
  min-width:0;
  white-space:nowrap;
  padding-left:6px;
  padding-right:6px;
}

/* 2. 去冗杂：默认去掉台词左侧竖线 |，仅在 MD 显式要求或用户开启「台词左侧竖线」时展示 */
.mo-dial-me,.mo-dial-her,.mo-dial-voice{
  margin:0 0 var(--pgap);
  padding-left:0;
  border-left:none;
  white-space:pre-wrap;
  line-height:var(--lh);
  text-indent:var(--indent);
  text-align:var(--align);
}
.mo-dial-me{color:var(--voice-me)}
.mo-dial-her{color:var(--voice-her)}
.mo-article.with-dial-bar .mo-dial-me{
  margin:var(--pgap) 0;padding-left:0.78em;border-left:1.8px solid var(--voice-me-line);text-indent:0;text-align:left;
}
.mo-article.with-dial-bar .mo-dial-her{
  margin:var(--pgap) 0;padding-left:0.78em;border-left:1.8px solid var(--voice-her-line);text-indent:0;text-align:left;
}
.mo-article.with-dial-bar .mo-dial-voice{
  margin:var(--pgap) 0;padding-left:0.78em;border-left:1.8px solid var(--v-line, var(--accent));text-indent:0;text-align:left;
}
.mo-article.tech-mode .mo-para,
.mo-article.tech-mode .mo-dial-me,
.mo-article.tech-mode .mo-dial-her,
.mo-article.tech-mode .mo-dial-voice{
  text-indent:0;text-align:left;
}
.mo-article.tech-mode .mo-vme,
.mo-article.tech-mode .mo-vher{color:inherit}
.mo-article.md-only .mo-dial-voice{color:var(--text);border-left:none;padding-left:0;text-indent:var(--indent)}
.mo-voice-badge{
  display:inline-block;margin-right:6px;padding:1px 6px;border-radius:5px;
  font-size:0.76em;font-weight:600;vertical-align:1px;text-indent:0;
  background:var(--surface2);color:var(--v-color, var(--accent-fg));
}

/* 3. 可交互全局 4 秒撤回 Toast（非纯黑底，防裁切） */
.mo-toast{
  display:inline-flex;align-items:center;gap:10px;max-width:90vw;
  border:1px solid var(--border);
  white-space:normal;text-align:left;line-height:1.4;
}
.mo-toast.has-act{pointer-events:auto;padding:8px 10px 8px 16px}
.mo-toast-undo{
  height:26px;padding:0 10px;border-radius:99px;border:none;flex-shrink:0;
  background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:650;cursor:pointer;
}
.mo-toast-undo:active{opacity:0.82}

/* 4. 全场景下拉刷新指示条（主页与阅读页共用风格） */
.mo-ptr{
  display:flex;align-items:center;justify-content:center;gap:8px;
  height:0;overflow:hidden;color:var(--muted);font-size:12px;
  transition-property:height,opacity;transition-duration:180ms;opacity:0;
}
.mo-ptr.pulling{transition-duration:0ms;opacity:1}
.mo-ptr.loading{height:40px;opacity:1}
.mo-ptr-ic{
  width:15px;height:15px;display:inline-flex;align-items:center;justify-content:center;
  color:var(--accent-fg);transition-property:transform;transition-duration:160ms;
}
.mo-ptr.ready .mo-ptr-ic{transform:rotate(180deg)}
@keyframes moSpin{to{transform:rotate(360deg)}}
.mo-ptr.loading .mo-ptr-ic{animation:moSpin 0.8s linear infinite}

/* 文末继续上拉直进下一章/篇指示条 */
.mo-next-pull{
  display:flex;align-items:center;justify-content:center;gap:7px;
  max-width:680px;margin:10px auto 0;height:0;overflow:hidden;opacity:0;
  border-radius:12px;color:var(--muted);font-size:12.5px;font-weight:550;
  transition-property:height,opacity,background-color,color;transition-duration:180ms;
}
.mo-next-pull.pulling{transition-duration:0ms;opacity:1}
.mo-next-pull.ready{color:var(--accent-fg);background:var(--picked-bg)}
.mo-next-pull-ic{
  display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;
  font-size:13px;font-weight:700;transition-property:transform;transition-duration:150ms;
}
.mo-next-pull.ready .mo-next-pull-ic{transform:rotate(180deg)}

/* 5. 主页搜索模式切换（搜标题 / 搜正文）+ 搜索历史胶囊 */
.mo-hsearch-extra{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:0 calc(var(--safe-right) + 16px) 8px calc(var(--safe-left) + 16px);
}
.mo-shist-row{
  display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:none;
  padding:0 calc(var(--safe-right) + 16px) 8px calc(var(--safe-left) + 16px);
}
.mo-shist-row::-webkit-scrollbar{display:none}
.mo-shist-row.hide{display:none}
.mo-shist-chip{
  display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 9px;border-radius:99px;
  background:var(--surface);border:1px solid var(--border);color:var(--text);font-size:11.5px;
  white-space:nowrap;flex-shrink:0;cursor:pointer;
}
.mo-shist-del{
  border:none;background:none;color:var(--muted);font-size:12px;padding:0 0 0 2px;cursor:pointer;
}
.mo-cs-card{
  width:100%;display:flex;flex-direction:column;gap:4px;padding:10px 12px;margin-bottom:6px;
  border-radius:11px;border:none;background:var(--surface);color:var(--text);text-align:left;cursor:pointer;
}
.mo-cs-card:active{background:var(--surface2)}
.mo-cs-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mo-cs-title{font-size:13.5px;font-weight:600;color:var(--heading);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.mo-cs-meta{font-size:11px;color:var(--accent-fg);flex-shrink:0;font-variant-numeric:tabular-nums}
.mo-cs-snip{font-size:12px;color:var(--muted);line-height:1.55;word-break:break-all}

/* 6. 书架增强：角标 / 图片封面 / 封面模板 / 批量管理条 */
.mo-bcover-img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0.46;pointer-events:none;
}
.mo-bcover-badge{
  position:absolute;top:7px;left:8px;z-index:2;padding:1px 6px;border-radius:5px;
  font-size:9.5px;font-weight:650;letter-spacing:0.04em;
  background:rgba(0,0,0,0.54);color:#ffffff;backdrop-filter:blur(6px);
}
.mo-bcover.tpl-dossier{border:1px dashed rgba(255,255,255,0.22)}
.mo-bcover.tpl-classic::after{
  content:"";position:absolute;inset:6px;border:1px solid currentColor;opacity:0.18;border-radius:5px;pointer-events:none;
}
.mo-batch-bar{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 12px;margin-bottom:10px;border-radius:12px;
  background:var(--surface);border:1px solid var(--border);
}
.mo-batch-bar.hide{display:none}
.mo-batch-acts{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.mo-book-chk{
  position:absolute;top:7px;right:7px;z-index:3;width:20px;height:20px;border-radius:99px;
  border:1.8px solid rgba(255,255,255,0.7);background:rgba(0,0,0,0.42);
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:700;
}
.mo-book.picked-batch .mo-book-chk{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.mo-book.picked-batch .mo-bcover{outline:2.5px solid var(--accent-fg);outline-offset:2px}

/* 7. 导入中心重构：快捷直达 / 面包屑 / 目录过滤 / 文件勾选 / 回收站 */
.mo-imp-shortcuts{
  display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:none;flex-shrink:0;
  padding:4px 2px 6px;margin:-2px -2px 0;
}
.mo-imp-shortcuts::-webkit-scrollbar{display:none}
.mo-imp-crumbs{
  display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0;
}
.mo-imp-crumbs::-webkit-scrollbar{display:none}
.mo-imp-crumb{
  border:none;background:none;color:var(--muted);font-size:12px;padding:2px 4px;border-radius:5px;
  white-space:nowrap;cursor:pointer;flex-shrink:0;
}
.mo-imp-crumb.cur{color:var(--heading);font-weight:600}
.mo-imp-sep{color:var(--muted);opacity:0.5;font-size:11px;flex-shrink:0}
.mo-imp-file{
  display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:10px;background:var(--bg);
}
.mo-imp-chk{
  width:20px;height:20px;border-radius:6px;border:1.6px solid var(--muted);background:transparent;
  color:var(--on-accent);font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;cursor:pointer;padding:0;
}
.mo-imp-chk.on{background:var(--accent);border-color:var(--accent)}
.mo-imp-done{
  display:inline-flex;align-items:center;justify-content:center;height:26px;min-width:52px;padding:0 8px;
  border-radius:7px;background:var(--surface2);color:var(--muted);font-size:11px;flex-shrink:0;
}
.mo-imp-foot{display:flex;flex-direction:column;gap:8px;flex-shrink:0}
.mo-imp-opt-row{display:flex;align-items:center;gap:8px}

/* 8. 列表左滑快捷操作（历史 / 书签 — 未滑开时隐藏底层按钮防止毛玻璃透底） */
.mo-swipe-item{position:relative;overflow:hidden;border-radius:12px;margin-bottom:8px}
.mo-swipe-acts{
  position:absolute;top:0;right:0;bottom:0;display:flex;align-items:stretch;z-index:1;
  opacity:0;pointer-events:none;transition-property:opacity;transition-duration:120ms;
}
.mo-swipe-item.swiping .mo-swipe-acts{opacity:1;pointer-events:auto}
.mo-swipe-act{
  border:none;padding:0 14px;font-size:12px;font-weight:600;color:#fff;cursor:pointer;white-space:nowrap;
  display:inline-flex;align-items:center;justify-content:center;
}
.mo-swipe-act.sec{background:var(--accent);color:var(--on-accent)}
.mo-swipe-act.del{background:#b84545}
.mo-swipe-fg{
  position:relative;z-index:2;background:var(--surface);
  transition-property:transform;transition-duration:180ms;transition-timing-function:cubic-bezier(0.22,1,0.36,1);
}
.mo-swipe-item.removing{
  transition-property:transform,opacity,max-height;transition-duration:200ms;
  transform:translate3d(100%,0,0);opacity:0;
}

/* 9. 阅读页顶部状态徽标（净化 / 对比 / 原文 / 防误触锁 / 大文档切章） */
.mo-hud-pill{
  height:26px;padding:0 9px;border-radius:99px;border:1px solid var(--border);
  background:var(--surface2);color:var(--accent-fg);font-size:11px;font-weight:600;
  cursor:pointer;white-space:nowrap;flex-shrink:0;
}
.mo-hud-pill.primary{
  background:var(--accent);color:var(--on-accent);border-color:var(--accent);padding:0 11px;
}
.mo-hud-pill.primary:active{opacity:0.82}
.mo-hud-pill.raw{color:var(--tension);border-color:var(--tension)}
.mo-hud-pill.diff{color:var(--star);border-color:var(--star)}
.mo-clip-bar{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  max-width:680px;margin:0 auto 14px;padding:8px 12px;border-radius:11px;
  background:var(--surface);border:1px solid var(--border);
}
.mo-clip-txt{
  font-size:12px;color:var(--muted);line-height:1.4;flex:1;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.mo-lock-dot{
  position:fixed;right:calc(var(--safe-right) + 14px);bottom:calc(var(--safe-bot) + 46px);z-index:14;
  width:34px;height:34px;border-radius:99px;border:1px solid var(--border);
  background:var(--glass);color:var(--accent-fg);display:inline-flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;pointer-events:none;transform:scale(0.84);cursor:pointer;
  transition-property:opacity,transform,visibility;transition-duration:180ms,200ms,0ms;transition-delay:0ms,0ms,200ms;
  transition-timing-function:ease,cubic-bezier(0.22,1,0.36,1),linear;
}
.mo-lock-dot.show{opacity:0.58;visibility:visible;pointer-events:auto;transform:scale(1);transition-delay:0ms,0ms,0ms}
.mo-lock-dot:active{opacity:1}
.mo-eyecare-pill{
  position:fixed;left:50%;bottom:calc(var(--safe-bot) + 46px);z-index:16;
  transform:translate3d(-50%,16px,0);opacity:0;pointer-events:none;
  display:inline-flex;align-items:center;gap:8px;padding:8px 12px 8px 14px;border-radius:99px;
  background:var(--glass);border:1px solid var(--border);color:var(--heading);
  font-size:12px;box-shadow:0 8px 24px rgba(0,0,0,0.36);max-width:92vw;
  transition-property:transform,opacity;transition-duration:200ms;
}
.mo-eyecare-pill.show{transform:translate3d(-50%,0,0);opacity:1;pointer-events:auto}
.mo-large-bar{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  max-width:680px;margin:0 auto 14px;padding:8px 12px;border-radius:10px;
  background:var(--surface);border:1px solid var(--border);font-size:12px;color:var(--muted);
}

/* 10. MD v3 丰富声明式交互与排版原语 */
/* 10a. 聊天记录 :::chat */
.mo-chat{
  margin:1.15em 0;padding:12px 10px;border-radius:12px;
  background:var(--surface);border:1px solid var(--border);
  display:flex;flex-direction:column;gap:9px;text-indent:0;text-align:left;
}
.mo-chat-hd{
  text-align:center;font-size:0.78em;font-weight:600;color:var(--muted);
  padding-bottom:6px;border-bottom:1px solid var(--hairline);letter-spacing:0.04em;
}
.mo-chat-ts{
  align-self:center;font-size:0.7em;color:var(--muted);padding:2px 8px;border-radius:99px;
  background:var(--surface2);opacity:0.86;
}
.mo-chat-sys{
  align-self:center;font-size:0.74em;color:var(--muted);text-align:center;padding:2px 10px;
}
.mo-chat-row{display:flex;align-items:flex-start;gap:8px;max-width:92%}
.mo-chat-row.right{align-self:flex-end;flex-direction:row-reverse}
.mo-chat-row.center{align-self:center;max-width:96%}
.mo-chat-av{
  width:30px;height:30px;border-radius:8px;flex-shrink:0;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  font-size:12.5px;font-weight:650;background:var(--surface2);color:var(--v-color, var(--heading));
  border:1px solid var(--border);
}
.mo-chat-av img{width:100%;height:100%;object-fit:cover}
.mo-chat-col{display:flex;flex-direction:column;gap:3px;min-width:0}
.mo-chat-row.right .mo-chat-col{align-items:flex-end}
.mo-chat-name{font-size:0.72em;color:var(--v-color, var(--muted));font-weight:600;padding:0 2px}
.mo-chat-bbl{
  padding:8px 11px;border-radius:11px;font-size:0.9em;line-height:1.58;word-break:break-word;
  background:var(--surface2);color:var(--text);border:1px solid var(--hairline);
}
.mo-chat-row.right .mo-chat-bbl{
  background:var(--picked-bg);color:var(--heading);border-color:var(--border);
}
.mo-chat.skin-terminal .mo-chat-bbl{
  font-family:var(--ff-mono);font-size:0.82em;border-radius:6px;background:var(--code-bg);
}
.mo-chat-voice{
  display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:10px;
  border:1px solid var(--border);background:var(--surface2);color:var(--heading);
  font-size:0.82em;cursor:pointer;
}
.mo-chat-vtxt{
  margin-top:4px;padding:6px 9px;border-radius:8px;background:var(--bg);border:1px solid var(--hairline);
  font-size:0.8em;color:var(--muted);line-height:1.5;display:none;
}
.mo-chat-vtxt.open{display:block}

/* 10b. 书信 :::letter 与结构化档案卡 :::card */
.mo-letter{
  position:relative;margin:1.25em 0;padding:18px 18px 16px;border-radius:10px;
  background:var(--surface);border:1px solid var(--border);text-indent:0;text-align:left;
}
.mo-letter.paper-kraft{background:rgba(168,136,92,0.12);border-color:rgba(168,136,92,0.28)}
.mo-letter-stamp{
  position:absolute;top:12px;right:14px;padding:2px 8px;border-radius:4px;
  border:1.5px solid var(--tension);color:var(--tension);font-size:0.72em;font-weight:700;
  letter-spacing:0.12em;transform:rotate(6deg);opacity:0.86;
}
.mo-letter-to{font-size:0.9em;font-weight:600;color:var(--heading);margin-bottom:8px}
.mo-letter-body{font-size:0.92em;line-height:1.82;color:var(--text)}
.mo-letter-body p{margin:0 0 0.7em;text-indent:2em}
.mo-letter-foot{margin-top:12px;text-align:right;font-size:0.82em;color:var(--muted);line-height:1.6}

.mo-card{
  margin:1.1em 0;border-radius:11px;background:var(--surface);border:1px solid var(--border);
  overflow:hidden;text-indent:0;text-align:left;
}
.mo-card-hd{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:10px 13px;border:none;background:transparent;color:var(--heading);
  font-size:0.88em;font-weight:650;text-align:left;cursor:pointer;
}
.mo-card-hd-l{display:inline-flex;align-items:center;gap:7px;min-width:0}
.mo-card-dot{width:7px;height:7px;border-radius:50%;background:var(--c-accent, var(--accent-fg));flex-shrink:0}
.mo-card-badge{
  font-size:0.74em;font-weight:600;padding:1px 7px;border-radius:99px;
  background:var(--surface2);color:var(--c-accent, var(--accent-fg));flex-shrink:0;
}
.mo-card-body{padding:0 13px 12px;font-size:0.88em;line-height:1.68;color:var(--text)}
.mo-card.collapsed .mo-card-body{display:none}
.mo-card-row{margin:3px 0}
.mo-card-k{color:var(--c-accent, var(--accent-fg));font-weight:600;margin-right:6px}

/* 10c. 系统面板 :::system & 折叠提示块 :::callout */
.mo-sys{
  margin:1.1em 0;padding:12px 14px;border-radius:10px;
  background:var(--code-bg);border:1px solid var(--border);text-indent:0;text-align:left;
}
.mo-sys-hd{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  font-size:0.78em;font-weight:650;color:var(--accent-fg);letter-spacing:0.06em;
  margin-bottom:7px;padding-bottom:6px;border-bottom:1px solid var(--hairline);
}
.mo-sys.style-terminal{font-family:var(--ff-mono);font-size:0.84em}
.mo-sys.style-alert{border-color:var(--tension)}
.mo-sys.style-alert .mo-sys-hd{color:var(--tension)}
.mo-sys-body{font-size:0.88em;line-height:1.68;color:var(--text)}

.mo-callout{
  margin:1em 0;border-radius:10px;background:var(--surface);border-left:2.5px solid var(--co-col, var(--accent-fg));
  overflow:hidden;text-indent:0;text-align:left;
}
.mo-callout-hd{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 12px;border:none;background:transparent;color:var(--co-col, var(--accent-fg));
  font-size:0.84em;font-weight:650;cursor:pointer;text-align:left;
}
.mo-callout-body{padding:0 12px 10px;font-size:0.88em;line-height:1.66;color:var(--text)}
.mo-callout.collapsed .mo-callout-body{display:none}

/* 10d. 属性状态面板 :::stats */
.mo-stats{
  margin:1.15em 0;padding:12px 14px;border-radius:11px;
  background:var(--surface);border:1px solid var(--border);text-indent:0;text-align:left;
  display:flex;flex-direction:column;gap:8px;
}
.mo-stats-hd{font-size:0.86em;font-weight:650;color:var(--heading)}
.mo-stat-meter{display:flex;flex-direction:column;gap:4px}
.mo-stat-top{display:flex;align-items:center;justify-content:space-between;font-size:0.8em;gap:8px}
.mo-stat-k{color:var(--text);font-weight:550}
.mo-stat-v{color:var(--muted);font-variant-numeric:tabular-nums;display:inline-flex;align-items:center;gap:6px}
.mo-stat-delta{padding:0 5px;border-radius:4px;font-size:0.88em;font-weight:650}
.mo-stat-delta.pos{background:rgba(126,181,158,0.18);color:var(--clue)}
.mo-stat-delta.neg{background:rgba(214,146,146,0.18);color:var(--tension)}
.mo-stat-rail{height:6px;border-radius:99px;background:var(--surface2);overflow:hidden}
.mo-stat-fill{height:100%;border-radius:99px;background:var(--s-col, var(--accent))}
.mo-stat-tags{display:flex;flex-wrap:wrap;gap:5px;padding-top:4px}
.mo-stat-tag{
  font-size:0.74em;padding:2px 8px;border-radius:99px;background:var(--surface2);color:var(--text);
}
.mo-stat-tag.warn{color:var(--tension);background:rgba(214,146,146,0.14)}

/* 10e. 防剧透 :::spoiler / 选项卡 :::tabs / 对照 :::parallel / 时间轴 :::timeline / 诗歌 / 容器 / 画廊 */
.mo-spoiler{
  margin:1em 0;border-radius:10px;background:var(--surface);border:1px solid var(--border);
  overflow:hidden;text-indent:0;text-align:left;
}
.mo-spoiler-bar{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  padding:8px 12px;border:none;background:transparent;color:var(--muted);font-size:0.8em;cursor:pointer;
}
.mo-spoiler-body{padding:0 12px 11px;font-size:0.9em;line-height:1.72;color:var(--text)}
.mo-spoiler.mode-blur .mo-spoiler-body{filter:blur(7px);user-select:none;cursor:pointer;transition-property:filter;transition-duration:200ms}
.mo-spoiler.mode-blur.open .mo-spoiler-body{filter:none;user-select:text}
.mo-spoiler.mode-fold:not(.open) .mo-spoiler-body{display:none}

.mo-tabs{
  margin:1.1em 0;border-radius:11px;background:var(--surface);border:1px solid var(--border);
  overflow:hidden;text-indent:0;text-align:left;
}
.mo-tabs-bar{
  display:flex;align-items:center;gap:2px;padding:6px 8px 0;border-bottom:1px solid var(--hairline);
  overflow-x:auto;scrollbar-width:none;
}
.mo-tabs-bar::-webkit-scrollbar{display:none}
.mo-tab-btn{
  border:none;background:transparent;color:var(--muted);font-size:0.8em;font-weight:550;
  padding:6px 10px 8px;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent;
}
.mo-tab-btn.on{color:var(--accent-fg);border-bottom-color:var(--accent-fg);font-weight:650}
.mo-tab-panel{display:none;padding:11px 13px;font-size:0.9em;line-height:1.76}
.mo-tab-panel.on{display:block}

.mo-parallel{
  margin:1.1em 0;border-radius:10px;background:var(--surface);border:1px solid var(--border);
  padding:10px 12px;text-indent:0;text-align:left;
}
.mo-par-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:0.76em;color:var(--muted)}
.mo-par-pair{padding:6px 0;border-bottom:1px solid var(--hairline)}
.mo-par-pair:last-child{border-bottom:none}
.mo-par-a{font-size:0.94em;color:var(--heading);line-height:1.68}
.mo-par-b{font-size:0.84em;color:var(--muted);line-height:1.6;margin-top:3px}
.mo-parallel.hide-sub .mo-par-b{display:none}
.mo-parallel.mode-cols .mo-par-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}
.mo-parallel.mode-cols .mo-par-b{margin-top:0}

.mo-timeline{
  margin:1.1em 0;padding:8px 4px 8px 16px;border-left:1.5px solid var(--border);
  display:flex;flex-direction:column;gap:10px;text-indent:0;text-align:left;
}
.mo-tl-item{position:relative;padding-left:6px}
.mo-tl-item::before{
  content:"";position:absolute;left:-21px;top:7px;width:8px;height:8px;border-radius:50%;
  background:var(--accent);border:2px solid var(--bg);
}
.mo-tl-time{font-size:0.76em;color:var(--accent-fg);font-weight:650;font-variant-numeric:tabular-nums}
.mo-tl-title{font-size:0.88em;font-weight:600;color:var(--heading);margin-left:6px}
.mo-tl-desc{font-size:0.86em;color:var(--text);line-height:1.6;margin-top:2px}

.mo-poem{margin:1.3em 0;text-align:center;line-height:2.1;font-style:italic;color:var(--heading);text-indent:0}
.mo-align{margin:0.9em 0;text-indent:0}
.mo-box{margin:1em 0;padding:12px 14px;border-radius:10px;background:var(--surface);border:1px solid var(--border);text-indent:0;text-align:left}
.mo-gallery{margin:1.1em 0;display:grid;grid-template-columns:repeat(var(--gcols, 2),minmax(0,1fr));gap:8px;text-indent:0}

/* 10f. 行内互动原语 */
.mo-il-spoiler{
  display:inline;padding:0 5px;border-radius:4px;cursor:pointer;text-indent:0;
  background:var(--surface2);color:transparent;text-shadow:0 0 8px var(--muted);
  transition-property:color,text-shadow,background-color;transition-duration:180ms;
}
.mo-il-spoiler.open{color:var(--heading);text-shadow:none;background:var(--picked-bg)}
.mo-fn-ref{
  display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;
  padding:0 4px;margin:0 2px;border-radius:99px;border:none;vertical-align:super;text-indent:0;
  background:var(--picked-bg);color:var(--accent-fg);font-size:0.68em;font-weight:700;cursor:pointer;
}
.mo-badge{
  display:inline-block;padding:1px 7px;margin:0 2px;border-radius:99px;font-size:0.78em;font-weight:600;
  background:var(--surface2);color:var(--b-col, var(--accent-fg));vertical-align:1px;text-indent:0;
}
.mo-hl-mark{padding:1px 4px;border-radius:4px;text-indent:0;background:var(--hl-bg, var(--mark-bg));color:var(--hl-fg, var(--heading))}
.mo-wikilink{
  color:var(--accent-fg);border-bottom:1px dashed var(--accent-fg);cursor:pointer;padding:0 1px;
}
ruby{text-indent:0}
ruby rt{font-size:0.62em;color:var(--muted);font-weight:400;letter-spacing:0.04em}

/* 10g. 本地图片与全屏灯箱 */
.mo-fig{margin:1.1em auto;text-align:center;text-indent:0}
.mo-doc-img{
  max-width:100%;height:auto;border-radius:9px;cursor:zoom-in;display:block;margin:0 auto;
  background:var(--surface);border:1px solid var(--border);
}
:root[data-theme-mode="dark"] .mo-doc-img{filter:brightness(0.92)}
.mo-figcap{margin-top:6px;font-size:0.76em;color:var(--muted);text-align:center}
.mo-lightbox{
  position:fixed;inset:0;z-index:70;background:rgba(0,0,0,0.94);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;pointer-events:none;
  will-change:opacity;
  transition-property:opacity,visibility;transition-duration:210ms,0ms;transition-delay:0ms,210ms;
  transition-timing-function:cubic-bezier(0.22,1,0.36,1),linear;
}
.mo-lightbox.open{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0ms,0ms}
.mo-lb-stage{
  flex:1;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;
  transform:scale(0.94);transition-property:transform;transition-duration:220ms;transition-timing-function:cubic-bezier(0.22,1,0.36,1);
}
.mo-lightbox.open .mo-lb-stage{transform:scale(1)}
.mo-lb-img{max-width:96vw;max-height:82dvh;object-fit:contain;transform-origin:center center}
.mo-lb-bar{
  width:100%;padding:12px 18px calc(var(--safe-bot) + 12px);
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  color:#d6d8dd;font-size:12.5px;
}

/* 10h. 脚注底部轻弹窗 */
.mo-fn-pop{
  position:fixed;left:16px;right:16px;bottom:calc(var(--safe-bot) + 46px);z-index:28;
  max-width:560px;margin:0 auto;padding:12px 14px;border-radius:13px;
  background:var(--surface);border:1px solid var(--border);box-shadow:0 12px 32px rgba(0,0,0,0.42);
  transform:translate3d(0,20px,0);opacity:0;pointer-events:none;
  transition-property:transform,opacity;transition-duration:180ms;
}
.mo-fn-pop.show{transform:translate3d(0,0,0);opacity:1;pointer-events:auto}
.mo-fn-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;font-size:12px;color:var(--accent);font-weight:650}
.mo-fn-body{font-size:13.5px;line-height:1.7;color:var(--text)}

/* 11. 净化差异核对视图（Diff Audit）与屏蔽遮罩胶囊 */
.mo-diff-del{
  color:var(--tension);text-decoration:line-through;background:rgba(214,146,146,0.14);
  padding:0 3px;border-radius:3px;cursor:pointer;
}
.mo-diff-rep{
  display:inline;padding:1px 5px;border-radius:4px;font-size:0.92em;cursor:pointer;
  background:rgba(240,196,77,0.15);border:1px dashed rgba(240,196,77,0.45);
}
.mo-diff-rep-old{color:var(--tension);text-decoration:line-through;margin-right:4px}
.mo-diff-rep-new{color:var(--clue);font-weight:600}
.mo-diff-line{
  margin:0.45em 0;padding:6px 10px;border-radius:8px;font-size:0.8em;line-height:1.5;
  background:rgba(214,146,146,0.10);border:1px dashed rgba(214,146,146,0.38);
  color:var(--muted);text-indent:0;text-align:left;cursor:pointer;
}
.mo-diff-tag{
  display:inline-block;padding:0 5px;border-radius:4px;margin-right:6px;
  background:rgba(214,146,146,0.22);color:var(--tension);font-weight:650;font-size:0.9em;
}
.mo-mask-pill{
  display:inline-block;padding:1px 7px;border-radius:6px;font-size:0.82em;
  background:var(--surface2);color:var(--muted);border:1px solid var(--border);cursor:pointer;
}
.mo-mask-pill.open{background:var(--picked-bg);color:var(--heading)}

/* 12. 氛围纹理层与章节皮肤变体 */
#readerView.tex-paper{background-image:radial-gradient(rgba(128,128,128,0.06) 1px, transparent 0);background-size:16px 16px}
#readerView.tex-grid{background-image:linear-gradient(rgba(128,128,128,0.05) 1px, transparent 1px),linear-gradient(90deg, rgba(128,128,128,0.05) 1px, transparent 1px);background-size:22px 22px}
#readerView.tex-dot{background-image:radial-gradient(rgba(128,128,128,0.09) 1px, transparent 1px);background-size:18px 18px}
.mo-chapter.ch-minimal .mo-ch-kicker::before,.mo-chapter.ch-minimal .mo-ch-kicker::after{display:none}
.mo-chapter.ch-stamp .mo-ch-kicker{display:inline-flex;padding:2px 10px;border:1px solid var(--accent);border-radius:4px}
.mo-chapter.ch-stamp .mo-ch-kicker::before,.mo-chapter.ch-stamp .mo-ch-kicker::after{display:none}
.mo-chapter.ch-terminal{text-align:left;border-bottom:1px dashed var(--border);padding-bottom:8px}
.mo-chapter.ch-terminal .mo-ch-kicker{justify-content:flex-start;font-family:var(--ff-mono)}
.mo-chapter.ch-terminal .mo-ch-kicker::before,.mo-chapter.ch-terminal .mo-ch-kicker::after{display:none}
.mo-chapter.ch-terminal .mo-ch-title{text-align:left;font-family:var(--ff-mono)}

/* 13. 源码查看/编辑器 & 净化/备份/统计/批注弹层辅助样式 */
.mo-code-editor{
  width:100%;flex:1;min-height:46dvh;padding:12px;border-radius:10px;
  border:1px solid var(--border);background:var(--code-bg);color:var(--heading);
  font-family:var(--ff-mono);font-size:12.5px;line-height:1.65;
  resize:none;outline:none;tab-size:2;white-space:pre;overflow:auto;
}
.mo-code-editor:focus{border-color:var(--accent-fg) !important}
.mo-kv-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
.mo-stat-card{
  padding:11px 12px;border-radius:10px;background:var(--bg);border:1px solid var(--hairline);
  display:flex;flex-direction:column;gap:3px;
}
.mo-stat-card-k{font-size:11px;color:var(--muted)}
.mo-stat-card-v{font-size:17px;font-weight:700;color:var(--heading);font-variant-numeric:tabular-nums}
.mo-rule-row{
  display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:10px;background:var(--bg);
}
.mo-rule-main{flex:1;min-width:0}
.mo-rule-name{font-size:13px;font-weight:600;color:var(--heading);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mo-rule-sub{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}
.mo-bm-note{
  margin-top:4px;padding:4px 7px;border-radius:6px;background:var(--picked-bg);
  color:var(--accent-fg);font-size:11.5px;line-height:1.5;
}
.mo-textarea{
  width:100%;min-height:76px;padding:10px 12px;border-radius:10px;
  border:1px solid var(--border);background:var(--bg);color:var(--heading);
  font-size:13.5px;font-family:inherit;line-height:1.55;resize:vertical;outline:none;
}
.mo-textarea:focus{border-color:var(--accent)}
.mo-sheet-lg{max-height:88dvh}
.mo-custom-picker{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
}

/* 14. 全屏原生二级页面体系 & 零闪烁/零跳动合成层 + 双通道风格配套字体 + 物理触感深度 */
:root{
  --on-accent:#0c0e12;
  --on-danger:#111113;
  --accent-fg:var(--accent);
  --ff-display:var(--ff);
  --ff-serif:"MoYueSerif","Noto Serif SC","Songti SC","STSong","SimSun",Georgia,serif;
  --ff-mono:"MoYueMono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --ime-bot:0px;
  --elev-card:0 2px 10px rgba(0,0,0,0.14);
  --elev-btn:0 1px 4px rgba(0,0,0,0.18);
  --elev-cover:0 8px 20px rgba(0,0,0,0.28),0 2px 5px rgba(0,0,0,0.18);
  --rim-top:inset 0 1px 0 rgba(255,255,255,0.08);
  --brutal-ink:#111111;
  --brutal-shadow:#111111;
  --brutal-badge:#d4225c;
  --brutal-badge-fg:#ffffff;
  --brutal-badge2:#ffd60a;
  --st-sec:#c25e3e;
  --st-paper:#fdfbf4;
  --st-mount:#dce5d6;
  --bh-blue:#1e4fd6;
  --bh-yellow:#eab308;
  --pcols:3;
}

/* 彻底防止轻提示遮挡二级页顶栏标题、返回按钮与继续阅读条，且单行自然舒展（高于全屏灯箱 z-index:70） */
.mo-toast{
  top:auto !important;
  bottom:calc(var(--safe-bot) + 74px) !important;
  width:max-content;
  max-width:calc(100vw - 32px);
  z-index:80;
}

/* 8 大风格共用的 400 张内置精修 WebP 书封容器 */
.mo-bcover{background:var(--c-bg,var(--surface));color:var(--c-fg,var(--heading))}
.mo-bcover.has-art{padding:0 !important;align-items:stretch !important;justify-content:stretch !important}
.mo-bcover-art{display:block;width:100%;height:100%;line-height:1.25}
.mo-bcover-art svg{display:block;width:100%;height:100%}
.mo-fav-star{
  z-index:4;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  filter:drop-shadow(0 1px 2.5px rgba(0,0,0,0.58));
}
.mo-resume{position:relative}
.mo-resume-go{
  display:none;width:28px;height:28px;border-radius:8px;
  align-items:center;justify-content:center;font-size:14px;font-weight:750;flex-shrink:0;
}

/* 彻底根治全部弹层、抽屉、遮罩在 Android WebView 下的残影、闪动与手势拖拽跳动 */
.mo-overlay{
  background:rgba(0,0,0,0.46);
  opacity:0;
  visibility:hidden;
  will-change:opacity;
  transition-property:opacity,visibility;
  transition-duration:200ms,0ms;
  transition-delay:0ms,200ms;
}
.mo-overlay.dim{background:rgba(0,0,0,0.26)}
.mo-overlay.open{
  opacity:1;
  visibility:visible;
  transition-delay:0ms,0ms;
}
#modalOverlay{z-index:39}
#confirmSaveSheet{z-index:40}

.mo-sheet{
  visibility:hidden;
  opacity:0;
  will-change:transform,opacity;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  contain:layout style;
  transition-property:transform,opacity,visibility;
  transition-duration:230ms,190ms,0ms;
  transition-delay:0ms,0ms,230ms;
  transition-timing-function:cubic-bezier(0.22,1,0.36,1),ease,linear;
}
.mo-sheet.open{
  visibility:visible;
  opacity:1;
  transition-delay:0ms,0ms,0ms;
}
.mo-sheet.open.peeking{opacity:0.28}
.mo-sheet:not(.mo-page).open{
  padding-bottom:calc(var(--safe-bot) + var(--ime-bot) + 16px);
}
.mo-sheet:not(.open):not(.under-page){pointer-events:none}
.mo-sheet.dragging,.mo-drawer.dragging{transition:none !important}

.mo-drawer{
  visibility:hidden;
  opacity:0;
  will-change:transform,opacity;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  contain:layout style;
  transition-property:transform,opacity,visibility;
  transition-duration:240ms,195ms,0ms;
  transition-delay:0ms,0ms,240ms;
  transition-timing-function:cubic-bezier(0.22,1,0.36,1),ease,linear;
}
.mo-drawer.open{
  visibility:visible;
  opacity:1;
  transition-delay:0ms,0ms,0ms;
}
.mo-drawer:not(.open){pointer-events:none}

#homeView{
  will-change:opacity;
}
#homeView.hero-under{
  pointer-events:none;
}

#readerView{
  will-change:transform,opacity;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  transform:translate3d(0,16px,0) scale(0.972);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition-property:transform,opacity,visibility;
  transition-duration:240ms,200ms,0ms;
  transition-delay:0ms,0ms,240ms;
  transition-timing-function:cubic-bezier(0.22,1,0.36,1),ease,linear;
}
#readerView.active{
  transform:translate3d(0,0,0) scale(1);
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition-delay:0ms,0ms,0ms;
}
#readerView.hero-managed{
  z-index:18;
  transition:none !important;
  visibility:visible;
}
#readerView.hero-leaving{
  z-index:18;
  visibility:visible;
  pointer-events:none;
}
.mo-hud-top,.mo-hud-bot,.mo-search-bar{
  will-change:transform,opacity;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}

/* 双通道字体映射：标题与书封用 --ff-display，正文用 --ff，代码/仪表数值用 --ff-mono */
.mo-bcover-title,.mo-page-title,.mo-nav-tab,.mo-cover-title,.mo-ch-title,.mo-article h1,.mo-article h2,.mo-article h3,.mo-resume-v,.mo-cat-t{
  font-family:var(--ff-display);
}
.mo-code-editor,.mo-icode,.mo-codepre{
  font-family:var(--ff-mono);
}

/* 通用物理层级与克制按压反馈（书封禁用 :active 位移/缩放，彻底根治点击前先缩再弹的二次弹跳） */
.mo-bcover{
  box-shadow:var(--elev-cover),inset 1.5px 0 0 rgba(255,255,255,0.14),inset -2px 0 0 rgba(0,0,0,0.16),var(--rim-top) !important;
  transition-property:filter,box-shadow !important;
  transition-duration:90ms !important;
  transition-timing-function:ease-out !important;
}
.mo-book:active .mo-bcover{
  opacity:1 !important;
  filter:brightness(0.94);
}
.mo-resume{
  border:1px solid var(--hairline) !important;
  box-shadow:var(--elev-card),var(--rim-top);
  transition-property:transform,background-color,box-shadow !important;
  transition-duration:140ms !important;
  transition-timing-function:cubic-bezier(0.34,1.56,0.64,1) !important;
}
.mo-resume:active{
  opacity:1 !important;
  transform:scale(0.978);
}
.mo-btn{
  box-shadow:var(--elev-btn),var(--rim-top);
  transition-property:transform,background-color,color,box-shadow !important;
  transition-duration:130ms !important;
  transition-timing-function:cubic-bezier(0.34,1.56,0.64,1) !important;
}
.mo-btn:not(:disabled):active{
  opacity:1 !important;
  transform:scale(0.945);
}
.mo-btn.on{color:var(--on-accent) !important}
.mo-btn.danger{color:var(--tension) !important}
.mo-btn.danger-solid{background:var(--tension) !important;border-color:var(--tension) !important;color:var(--on-danger) !important}
.mo-btn.star-on{background:color-mix(in srgb,var(--star) 16%,transparent) !important;color:var(--star) !important}

/* 全应用前景强调色统一走高对比 --accent-fg（彻底消灭白底酸柠低对比） */
.mo-resume-r,.mo-lpct,.mo-hrow-pct,.mo-qitem-r,.mo-toc-item.cur,.mo-ghost.on,.mo-dock-btn.on,.mo-hud-pill,.mo-cover-eyebrow,.mo-ch-kicker,.mo-wikilink,.mo-fn-hd,.mo-sentinel,.mo-cs-meta,.mo-chip.on,.mo-chev.open,.mo-badge-cur,.mo-dossier-style,.mo-dossier-k,.mo-article h4,.mo-tone-accent,.mo-choice.open .mo-choice-chev,.mo-choice-pick,.mo-choice-num,.mo-choice-badge,.mo-choice-reason,.mo-picked,.mo-kv-k,.mo-quote-tag,.mo-icode,.mo-link,.mo-jump-go,.mo-sel-btn:active,.mo-ch-step:active{
  color:var(--accent-fg);
}
.mo-choice-badge{border-color:var(--accent-fg)}
.mo-choice-item.picked .mo-choice-num,.mo-task.done .mo-task-box{color:var(--on-accent)}

/* 阴影外扩安全留白 & 输入控件可读性兜底 & 360dp 窄屏防溢出 */
.mo-book{contain:layout style !important}
.mo-filter-row,.mo-roots,.mo-tree-sort-wrap{padding:6px 4px 8px !important;margin:-4px -4px 10px !important}
.mo-roots,.mo-tree-sort-wrap{margin-bottom:2px !important}
.mo-live-prev-stage{max-height:none !important}
.mo-input,.mo-textarea,.mo-search-in{border:1px solid var(--border)}
.mo-input:focus,.mo-textarea:focus,.mo-search-in:focus,.mo-hsearch-box:focus-within,.mo-set-search:focus-within{border-color:var(--accent-fg) !important}
.mo-input::placeholder,.mo-textarea::placeholder,.mo-search-in::placeholder{color:var(--muted);opacity:0.78}
.mo-bmeta > span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.mo-bmeta > span:last-child{flex-shrink:0;white-space:nowrap}
.mo-imp-sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mo-page-foot .mo-btn{min-width:0;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;padding:0 10px}
#srcPaneCode > .mo-row{flex-wrap:wrap;row-gap:6px}
.mo-pgrid{gap:6px}
.mo-pcard{padding:8px 2px 7px;min-width:0;overflow:hidden}
.mo-pname{font-size:10px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.mo-auto-bar{left:8px;right:8px;padding:7px 8px;gap:4px}
.mo-auto-bar .mo-btn.sm{padding:0 7px}
.mo-auto-spd{min-width:42px;font-size:11px}
@media (max-width:380px){
  .mo-hud-top .mo-ghost{width:34px;height:34px}
}
.mo-grab{background:color-mix(in srgb,var(--muted) 38%,transparent)}
.mo-range::-webkit-slider-thumb{border-color:var(--accent-fg);background:var(--surface)}

.mo-chip{
  border:1px solid var(--hairline) !important;
  box-shadow:var(--elev-btn),var(--rim-top);
  transition-property:transform,background-color,color,border-color !important;
  transition-duration:130ms !important;
  transition-timing-function:cubic-bezier(0.34,1.56,0.64,1) !important;
}
.mo-chip:active{transform:scale(0.945)}
.mo-ghost,.mo-page-back,.mo-dock-btn,.mo-step-btn,.mo-segbtn,.mo-qr-pill,.mo-qr-more,.mo-pcard,.mo-style-card,.mo-font-card,.mo-nav-tab{
  transition-property:transform,background-color,color,border-color,box-shadow !important;
  transition-duration:135ms !important;
  transition-timing-function:cubic-bezier(0.34,1.56,0.64,1) !important;
}
.mo-ghost:not(:disabled):active,
.mo-page-back:active,
.mo-dock-btn:active,
.mo-step-btn:active,
.mo-segbtn:active,
.mo-qr-pill:active,
.mo-qr-more:active,
.mo-pcard:active,
.mo-style-card:active,
.mo-font-card:active{
  opacity:1 !important;
  transform:scale(0.948);
}
.mo-segbtn.on{box-shadow:var(--elev-btn),var(--rim-top)}
.mo-pcard{box-shadow:var(--elev-btn)}
.mo-pcard.on{box-shadow:0 0 0 1.5px var(--accent-fg),var(--elev-card)}
.mo-hrow{border:1px solid var(--hairline);box-shadow:var(--elev-card),var(--rim-top)}

/* ColorOS / iOS 物理弹性滑动开关（亮暗双极高对比 + 全 8 套风格数学级精准居中） */
.mo-switch{
  border:1px solid var(--border);
  background:color-mix(in srgb,var(--muted) 24%,var(--surface2));
  box-shadow:inset 0 1px 3px rgba(0,0,0,0.20);
}
.mo-switch.on{border-color:transparent;background:var(--accent)}
.mo-switch::after{
  box-sizing:border-box;
  top:50%;left:2px;width:20px;height:20px;
  transform:translate3d(0,-50%,0);
  box-shadow:0 2px 5px rgba(0,0,0,0.28),0 0.5px 1px rgba(0,0,0,0.16) !important;
  transition-property:transform,width,background-color !important;
  transition-duration:190ms,120ms,160ms !important;
  transition-timing-function:cubic-bezier(0.34,1.4,0.64,1),ease-out,ease !important;
}
.mo-switch.on::after{background:var(--on-accent);transform:translate3d(18px,-50%,0)}
.mo-switch:active::after{width:24px}
.mo-switch.on:active::after{transform:translate3d(14px,-50%,0)}

.mo-sheet.mo-page{
  position:fixed;inset:0;top:0;left:0;right:0;bottom:0;
  height:100%;height:100dvh;max-height:none;border-radius:0;box-shadow:none;
  background:var(--bg);padding:0;gap:0;z-index:28;
  transform:translate3d(26%,0,0);opacity:0;visibility:hidden;pointer-events:none;
  transition-property:transform,opacity,visibility;
  transition-duration:240ms,200ms,0ms;
  transition-delay:0ms,0ms,240ms;
  transition-timing-function:cubic-bezier(0.22,1,0.36,1),ease,linear;
}
.mo-sheet.mo-page.open{
  transform:translate3d(0,0,0);opacity:1;visibility:visible;pointer-events:auto;
  transition-delay:0ms,0ms,0ms;
}
/* 父子全屏页叠层栈：子工具页渐入滑出时父设置页微退景深、返回平滑归位 */
.mo-sheet.mo-page.under-page{
  transform:translate3d(-10px,0,0) scale(0.988);opacity:0.9;visibility:visible;pointer-events:none;z-index:27;
  transition-property:transform,opacity,visibility;
  transition-duration:240ms,200ms,0ms;
  transition-delay:0ms,0ms,0ms;
}
.mo-sheet.mo-page.top-page{z-index:29}

/* 设置中心 5 面板叠层渐入渐出（彻底告别 display:none 瞬切） */
#settingsBody{
  position:relative;overflow:hidden;padding:0;display:block;
}
#settingsBody > .mo-set-pane{
  position:absolute;inset:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  padding:14px 16px calc(var(--safe-bot) + 26px);
  display:flex;flex-direction:column;gap:18px;
  opacity:1;visibility:inherit;pointer-events:inherit;transform:translate3d(0,0,0);
  will-change:transform,opacity;
  transition-property:transform,opacity,visibility;
  transition-duration:220ms,185ms,0ms;
  transition-delay:0ms,0ms,0ms;
  transition-timing-function:cubic-bezier(0.22,1,0.36,1),ease,linear;
}
#settingsBody > .mo-set-pane.hide{
  display:flex;opacity:0;visibility:hidden;pointer-events:none;
  transform:translate3d(26px,0,0);
  transition-delay:0ms,0ms,220ms;
}
#settingsBody > #setHomePane.hide{
  transform:translate3d(-18px,0,0);
}
:root[data-ui-style="song_classic"] #settingsBody{padding:0}
:root[data-ui-style="song_classic"] #settingsBody > .mo-set-pane{padding:12px 10px 18px}
:root[data-ui-style="song_classic"] #settingsBody > #setHomePane{padding:10px 10px 10px}

.mo-page-hd{
  position:relative;z-index:5;
  display:flex;align-items:center;gap:6px;flex-shrink:0;
  padding:calc(var(--safe-top) + 4px) 12px 8px 6px;
  min-height:calc(var(--safe-top) + 46px);
  background:var(--bg) !important;opacity:1;border-bottom:1px solid var(--hairline);
}
.mo-page-back{
  width:38px;height:38px;border-radius:99px;border:none;background:transparent;
  color:var(--heading);display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;flex-shrink:0;
}
.mo-page-back:active{background:var(--surface2)}
.mo-page-title{
  flex:1;min-width:0;font-size:16.5px;font-weight:650;color:var(--heading);
  letter-spacing:0.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.mo-page-subpill{
  font-size:11px;font-weight:500;color:var(--muted);padding:3px 8px;border-radius:99px;
  background:var(--surface);border:1px solid var(--hairline);flex-shrink:0;
}
.mo-page-tabs{padding:6px 14px 6px;background:var(--bg);flex-shrink:0}
.mo-page-tabs .mo-segbar.full{
  background:var(--surface);padding:3px;border-radius:10px;border:1px solid var(--hairline);
}
.mo-page-tabs .mo-segbtn{height:30px;font-size:12.5px;border-radius:7px}
.mo-page-body{
  flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  padding:8px 14px calc(var(--safe-bot) + 12px);
  display:flex;flex-direction:column;gap:9px;
}
.mo-page-foot{
  flex-shrink:0;padding:8px 14px calc(var(--safe-bot) + var(--ime-bot) + 10px);
  background:var(--surface);border-top:1px solid var(--hairline);
  display:flex;flex-direction:column;gap:6px;
}
#srcPaneCode{padding-bottom:calc(var(--safe-bot) + var(--ime-bot) + 12px) !important}

/* 设置页顶部：实时秒搜框与跳转定位脉冲 */
.mo-set-search{
  display:flex;align-items:center;gap:8px;height:42px;padding:0 13px;
  border-radius:12px;background:var(--surface);border:1px solid var(--border);
  box-shadow:var(--elev-card),var(--rim-top);flex-shrink:0;
}
.mo-set-search:focus-within{border-color:var(--accent-fg)}
.mo-set-search-ic{color:var(--muted);display:inline-flex;flex-shrink:0}
.mo-set-search-in{
  flex:1;min-width:0;height:100%;border:none;background:transparent;
  color:var(--heading);font-size:13.5px;font-family:inherit;outline:none;
}
.mo-set-search-in:focus-visible{outline:none;box-shadow:none}
.mo-set-search-in::placeholder{color:var(--muted)}
.mo-set-sres{display:flex;flex-direction:column;gap:10px}
.mo-set-sres.hide{display:none}
@keyframes moRowPulse{
  0%{background:color-mix(in srgb,var(--accent) 26%,transparent)}
  100%{background:transparent}
}
.mo-row-flash{animation:moRowPulse 1.35s ease-out}

/* 设置与工具页：原生级呼吸留白分组卡片 */
.mo-sgrp-wrap{display:flex;flex-direction:column;gap:8px}
.mo-sgrp-title{
  font-size:12px;font-weight:600;color:var(--muted);letter-spacing:0.04em;
  padding:0 6px;display:flex;align-items:center;justify-content:space-between;gap:8px;
}
.mo-sgrp{
  background:var(--surface);border-radius:15px;border:1px solid var(--hairline);
  box-shadow:var(--elev-card),var(--rim-top);
  overflow:hidden;display:flex;flex-direction:column;
}
.mo-sgrp > .mo-row,
.mo-sgrp > .mo-nav-row,
.mo-sgrp > .mo-sgrp-block{
  padding:11px 15px;min-height:48px;position:relative;
}
.mo-sgrp > .mo-row + .mo-row,
.mo-sgrp > .mo-row + .mo-sgrp-block,
.mo-sgrp > .mo-sgrp-block + .mo-row,
.mo-sgrp > .mo-nav-row + .mo-nav-row,
.mo-sgrp > .mo-rule-row + .mo-rule-row{
  border-top:1px solid var(--hairline);
}
.mo-sgrp .mo-rule-row{background:transparent;border-radius:0;padding:12px 15px}
.mo-sgrp .mo-pgrid{gap:6px}

.mo-nav-row{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;
  border:none;background:transparent;color:var(--text);text-align:left;cursor:pointer;
}
.mo-nav-row:active{background:var(--surface2)}
.mo-nav-chev{color:var(--muted);font-size:17px;font-weight:500;flex-shrink:0;line-height:1}

/* 设置页顶部：实时主题与排版预览卡 */
.mo-live-prev{
  border-radius:15px;border:1px solid var(--border);background:var(--surface);
  box-shadow:var(--elev-card),var(--rim-top);
  overflow:hidden;flex-shrink:0;
}
.mo-live-prev-hd{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 14px;border-bottom:1px solid var(--hairline);
  font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums;
}
.mo-live-prev-stage{
  background:var(--bg);color:var(--text);font-family:var(--ff);
  font-size:var(--fs);line-height:var(--lh);font-weight:var(--fw);letter-spacing:var(--ls);
  padding:12px var(--px);text-align:var(--align);
}
.mo-live-prev-p{margin:0 0 calc(var(--pgap) * 0.55);text-indent:var(--indent)}
.mo-live-prev-d{margin:0;color:var(--voice-her);text-indent:var(--indent)}
.mo-live-prev-stage.with-bar .mo-live-prev-d{
  text-indent:0;padding-left:0.75em;border-left:1.8px solid var(--voice-her-line);text-align:left;
}

.mo-page .mo-input,
.mo-page .mo-textarea,
.mo-page .mo-imp-path,
.mo-page .mo-imp-item,
.mo-page .mo-imp-file,
.mo-page .mo-fmeta-box,
.mo-page .mo-stat-card,
.mo-page .mo-rule-row{
  background:var(--surface);border:1px solid var(--hairline);
}
.mo-page .mo-sgrp .mo-rule-row{background:transparent;border:none}
.mo-page .mo-imp-item,.mo-page .mo-imp-file{padding:9px 12px;border-radius:11px}
.mo-page .mo-imp-path{padding:6px 9px;border-radius:10px}
.mo-page .mo-code-editor{min-height:0;flex:1;border-radius:12px;padding:12px}
.mo-page .mo-set-pane{gap:14px}
.mo-page .mo-lbl-col{gap:3px}
.mo-page .mo-lbl{font-size:14px}
.mo-page .mo-sublbl{font-size:11.5px;line-height:1.4}

/* 设置首页整屏自适应：高屏等高舒展无空洞，矮屏/分屏自动保底 44px 并平滑滚动不裁切 */
#settingsBody > #setHomePane{
  padding:10px 16px calc(var(--safe-bot) + 12px);
  gap:12px;
}
#setHomePane .mo-set-search{height:40px}
.mo-set-cats{
  flex:1 0 auto;
  display:flex;flex-direction:column;gap:12px;
}
.mo-set-cats > .mo-sgrp-wrap{
  gap:6px;
  flex:2 0 auto;
}
.mo-set-cats > .mo-sgrp-wrap:last-child{
  flex:5 0 auto;
}
.mo-set-cats.has-doc > .mo-sgrp-wrap:last-child{
  flex:6 0 auto;
}
.mo-set-cats .mo-sgrp{
  flex:1 0 auto;
}
.mo-set-cats .mo-cat-row{
  flex:1 0 44px;min-height:44px;padding:4px 14px;
}

/* 15. 上下舒展控件行 + 原生一级设置目录行 + 字体可视化选卡网格 */
.mo-sgrp > .mo-row-stack{
  display:flex;flex-direction:column;gap:8px;padding:11px 15px;
}
.mo-sgrp > .mo-row-stack + .mo-row,
.mo-sgrp > .mo-row + .mo-row-stack,
.mo-sgrp > .mo-row-stack + .mo-row-stack,
.mo-sgrp > .mo-sgrp-block + .mo-row-stack,
.mo-sgrp > .mo-row-stack + .mo-sgrp-block{
  border-top:1px solid var(--hairline);
}
.mo-row-stack .mo-segbar.full{background:var(--bg);padding:3.5px;border-radius:11px}
.mo-row-stack .mo-segbtn{height:33px;font-size:12.5px}

.mo-font-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
}
.mo-font-card{
  padding:11px 12px;border-radius:13px;border:1.5px solid var(--hairline);
  background:var(--surface);color:var(--text);text-align:left;cursor:pointer;
  display:flex;flex-direction:column;gap:5px;box-shadow:var(--elev-card),var(--rim-top);
}
.mo-font-card.on{border-color:var(--accent-fg);background:var(--picked-bg)}
.mo-font-sample{font-size:15.5px;font-weight:600;color:var(--heading);line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mo-font-meta{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:11px;color:var(--muted)}
.mo-font-meta > span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.mo-font-tag{font-size:10px;padding:1.5px 6px;border-radius:99px;background:var(--surface2);color:var(--accent-fg);font-weight:600;flex-shrink:0;white-space:nowrap}
.mo-font-card.on .mo-font-tag{background:var(--accent);color:var(--on-accent)}

.mo-cat-row{
  width:100%;min-height:56px;padding:11px 14px;border:none;background:transparent;
  color:var(--text);display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;
  transition-property:background-color,transform;transition-duration:120ms;
}
.mo-cat-row:active{background:var(--surface2);transform:scale(0.988)}
.mo-sgrp > .mo-cat-row + .mo-cat-row{border-top:1px solid var(--hairline)}
.mo-cat-ic{
  width:34px;height:34px;border-radius:9px;flex-shrink:0;
  background:var(--surface2);color:var(--accent-fg);
  box-shadow:var(--elev-btn),var(--rim-top);
  display:inline-flex;align-items:center;justify-content:center;
}
.mo-cat-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.mo-cat-t{font-size:14.5px;font-weight:600;color:var(--heading);line-height:1.25}
.mo-cat-s{font-size:11.5px;color:var(--muted);line-height:1.32;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mo-cat-val{
  font-size:12px;color:var(--muted);max-width:126px;text-align:right;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;
}

/* 16. 看书专用极简固定高度快捷板 */
.mo-qread-sheet{
  padding:8px 14px calc(var(--safe-bot) + 12px);
  gap:10px;max-height:none;border-radius:20px 20px 0 0;
  border-top:1px solid var(--border);
}
.mo-qr-dual{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mo-qr-box{
  display:flex;align-items:center;justify-content:space-between;gap:6px;
  padding:5px 8px;border-radius:10px;background:var(--bg);border:1px solid var(--hairline);
}
.mo-qr-k{font-size:11.5px;color:var(--muted);padding-left:4px;white-space:nowrap}
.mo-qr-foot{display:flex;align-items:center;gap:7px;padding-top:2px}
.mo-qr-pill{
  height:34px;padding:0 10px;border-radius:10px;border:1px solid var(--hairline);
  background:var(--bg);color:var(--text);font-size:12px;font-weight:550;
  box-shadow:var(--elev-btn);
  cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;
}
.mo-qr-pill.on{background:var(--picked-bg);color:var(--accent-fg);border-color:var(--accent-fg);font-weight:650}
.mo-qr-more{
  margin-left:auto;height:34px;padding:0 12px;border-radius:10px;border:1px solid var(--hairline);
  background:var(--surface2);color:var(--heading);font-size:12px;font-weight:600;
  box-shadow:var(--elev-btn),var(--rim-top);
  cursor:pointer;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;
}

/* 17. 双层大风格引擎（第一层 8 套零重合独立流派 2×4 对称网格 -> 第二层 41 套日夜亮暗继承配色） */
.mo-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.mo-style-card{
  padding:11px;border-radius:14px;border:1.5px solid var(--hairline);
  background:var(--surface);box-shadow:var(--elev-card),var(--rim-top);
  text-align:left;cursor:pointer;
  display:flex;flex-direction:column;gap:7px;color:var(--text);
}
.mo-style-meta{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.mo-style-card.on{border-color:var(--accent-fg);background:var(--picked-bg)}
.mo-style-wire{
  height:58px;border-radius:9px;padding:6px;
  display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative;
}
.mo-style-wire-hd{display:flex;align-items:center;justify-content:space-between;gap:4px;position:relative;z-index:2}
.mo-style-wire-pills{display:flex;align-items:center;gap:4px}
.mo-style-wire-pill{height:7px;width:22px;border-radius:99px}
.mo-style-wire-pill.alt{width:16px}
.mo-style-wire-cards{display:grid;grid-template-columns:1fr 1fr;gap:5px;flex:1;margin-top:5px;position:relative;z-index:2}
.mo-style-wire-c{display:flex;flex-direction:column;justify-content:space-between;padding:4px 5px;position:relative;overflow:hidden}
.mo-style-wire-ln{height:3.8px;border-radius:99px;width:72%}
.mo-style-wire-ln.sm{width:46%;opacity:0.55}
.mo-style-name{font-size:13.5px;font-weight:700;color:var(--heading);display:flex;align-items:center;justify-content:space-between;gap:4px}
.mo-style-tag{font-size:10px;padding:1.5px 6px;border-radius:99px;background:var(--surface2);color:var(--accent-fg);font-weight:650;white-space:nowrap;flex-shrink:0}
.mo-style-card.on .mo-style-tag{background:var(--accent);color:var(--on-accent)}
.mo-style-desc{font-size:11px;color:var(--muted);line-height:1.42}

/* ─── 7 张真·材质微缩预览卡（自动跟随当前明暗极性） ─── */
/* 01 静谧极简 */
.mo-style-wire.w-minimal{background:#f7f8fa;border:1px solid rgba(17,20,26,0.12)}
.mo-style-wire.w-minimal .mo-style-wire-pill{background:#2d6ea3}
.mo-style-wire.w-minimal .mo-style-wire-pill.alt{background:#dde3ec}
.mo-style-wire.w-minimal .mo-style-wire-c{background:#ffffff;border:1px solid rgba(17,20,26,0.08);border-radius:7px;box-shadow:0 2px 6px rgba(0,0,0,0.06)}
.mo-style-wire.w-minimal .mo-style-wire-ln{background:#252932}
:root[data-theme-mode="dark"] .mo-style-wire.w-minimal{background:#101218;border:1px solid rgba(255,255,255,0.12)}
:root[data-theme-mode="dark"] .mo-style-wire.w-minimal .mo-style-wire-pill{background:#6fb3c8}
:root[data-theme-mode="dark"] .mo-style-wire.w-minimal .mo-style-wire-pill.alt{background:#232630}
:root[data-theme-mode="dark"] .mo-style-wire.w-minimal .mo-style-wire-c{background:#1b1e27;border:1px solid rgba(255,255,255,0.08)}
:root[data-theme-mode="dark"] .mo-style-wire.w-minimal .mo-style-wire-ln{background:#e6e8ec}

/* 02 满血波普圆角新粗野 */
.mo-style-wire.w-brutal{background:#ffffff;border:2px solid #111111;border-radius:11px;box-shadow:2.5px 2.5px 0 #111111}
.mo-style-wire.w-brutal .mo-style-wire-pill{background:#c4f536;border:1.5px solid #111111;height:10px}
.mo-style-wire.w-brutal .mo-style-wire-pill.alt{background:#e11d60;border:1.5px solid #111111;height:10px}
.mo-style-wire.w-brutal .mo-style-wire-c{background:#ffffff;border:1.8px solid #111111;border-radius:7px;box-shadow:2px 2px 0 #111111;padding:5px}
.mo-style-wire.w-brutal .mo-style-wire-c:first-child{background:#fffbf0}
.mo-style-wire.w-brutal .mo-style-wire-c:last-child{background:#c4f536}
.mo-style-wire.w-brutal .mo-style-wire-ln{background:#111111;height:4.5px}
.mo-style-wire.w-brutal .mo-style-wire-c:first-child .mo-style-wire-ln.sm{background:#e11d60;opacity:1;width:58%}
:root[data-theme-mode="dark"] .mo-style-wire.w-brutal{background:#15171d;border-color:#e4e8dc;box-shadow:2.5px 2.5px 0 #050608}
:root[data-theme-mode="dark"] .mo-style-wire.w-brutal .mo-style-wire-pill{background:#c4f82a;border-color:#111111}
:root[data-theme-mode="dark"] .mo-style-wire.w-brutal .mo-style-wire-pill.alt{background:#e62468;border-color:#111111}
:root[data-theme-mode="dark"] .mo-style-wire.w-brutal .mo-style-wire-c{background:#1f222b;border-color:#e4e8dc;box-shadow:2px 2px 0 #050608}
:root[data-theme-mode="dark"] .mo-style-wire.w-brutal .mo-style-wire-c:last-child{background:#2a2e39}
:root[data-theme-mode="dark"] .mo-style-wire.w-brutal .mo-style-wire-ln{background:#f6f8fb}
:root[data-theme-mode="dark"] .mo-style-wire.w-brutal .mo-style-wire-c:last-child .mo-style-wire-ln.sm{background:#c4f82a;opacity:1}

/* 03 满血工业硬件仪器 */
.mo-style-wire.w-industrial{
  background:#e7e8e4;border:1.5px solid #6b717a;border-radius:3px;
  background-image:linear-gradient(rgba(0,0,0,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,0.07) 1px,transparent 1px);
  background-size:10px 10px;
}
.mo-style-wire.w-industrial .mo-style-wire-pill{background:#e04312;border-radius:2px;height:7px}
.mo-style-wire.w-industrial .mo-style-wire-pill.alt{background:#2b2e33;border-radius:2px;height:7px}
.mo-style-wire.w-industrial .mo-style-wire-c{background:#2a313a;border:1px solid #6b717a;border-radius:2px;box-shadow:inset 0 1px 0 rgba(255,255,255,0.22),0 1.5px 0 #7b8089}
.mo-style-wire.w-industrial .mo-style-wire-c:last-child{background:#ece8dc}
.mo-style-wire.w-industrial .mo-style-wire-ln{background:#eef2f6;border-radius:1px}
.mo-style-wire.w-industrial .mo-style-wire-c:last-child .mo-style-wire-ln{background:#23262a}
:root[data-theme-mode="dark"] .mo-style-wire.w-industrial{
  background:#141619;border-color:#3a3f4a;
  background-image:linear-gradient(rgba(255,255,255,0.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.06) 1px,transparent 1px);
}
:root[data-theme-mode="dark"] .mo-style-wire.w-industrial .mo-style-wire-pill{background:#ff6122}
:root[data-theme-mode="dark"] .mo-style-wire.w-industrial .mo-style-wire-c{background:#242931;border-color:#454c59}
:root[data-theme-mode="dark"] .mo-style-wire.w-industrial .mo-style-wire-c:last-child{background:#2e362e}
:root[data-theme-mode="dark"] .mo-style-wire.w-industrial .mo-style-wire-c:last-child .mo-style-wire-ln{background:#e2ece0}

/* 04 中式线装古籍 */
.mo-style-wire.w-song_classic{
  background:#f4efe4;border:1.2px solid #363028;border-radius:3px;
  box-shadow:inset 0 0 0 2px #f4efe4,inset 0 0 0 2.8px rgba(54,48,40,0.38);
}
.mo-style-wire.w-song_classic .mo-style-wire-pill{background:#b8332a;border-radius:2px;width:12px;height:10px}
.mo-style-wire.w-song_classic .mo-style-wire-pill.alt{background:#363028;border-radius:1px;height:5px}
.mo-style-wire.w-song_classic .mo-style-wire-c{
  background:#24384e;border:1px solid rgba(0,0,0,0.2);border-radius:2px;padding:3px 10px 3px 4px;
}
.mo-style-wire.w-song_classic .mo-style-wire-c:last-child{background:#6b7e74}
.mo-style-wire.w-song_classic .mo-style-wire-c::after{
  content:"";position:absolute;top:0;right:0;bottom:0;width:6px;
  border-left:1px solid rgba(255,255,255,0.45);
  background:repeating-linear-gradient(180deg,transparent 0 6px,rgba(255,255,255,0.85) 6px 7.5px);
}
.mo-style-wire.w-song_classic .mo-style-wire-ln{width:10px;height:24px;border-radius:1px;background:#fbf8f1;border:0.8px solid #2b251e}
.mo-style-wire.w-song_classic .mo-style-wire-ln.sm{display:none}
:root[data-theme-mode="dark"] .mo-style-wire.w-song_classic{
  background:#171918;border-color:rgba(220,224,216,0.42);
  box-shadow:inset 0 0 0 2px #171918,inset 0 0 0 2.8px rgba(220,224,216,0.2);
}
:root[data-theme-mode="dark"] .mo-style-wire.w-song_classic .mo-style-wire-pill{background:#c8503e}
:root[data-theme-mode="dark"] .mo-style-wire.w-song_classic .mo-style-wire-pill.alt{background:#8b928b}

/* 05 博物邮票手账 */
.mo-style-wire.w-stamp_journal{
  background:#e6ede2;border:1.3px dashed #5b7362;border-radius:6px;padding-top:10px;
}
.mo-style-wire.w-stamp_journal::before{
  content:"";position:absolute;left:0;right:0;top:0;height:3.5px;
  background:repeating-linear-gradient(-45deg,#2d6a4f 0 6px,transparent 6px 10px,#c25e3e 10px 16px,transparent 16px 20px);
}
.mo-style-wire.w-stamp_journal .mo-style-wire-pill{background:#2d6a4f;border-radius:2px;height:7px}
.mo-style-wire.w-stamp_journal .mo-style-wire-pill.alt{background:#c25e3e;border-radius:50%;width:10px;height:10px}
.mo-style-wire.w-stamp_journal .mo-style-wire-c{
  background:#fdfbf4;border:1.5px dotted #2d6a4f;border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,0.14);
}
.mo-style-wire.w-stamp_journal .mo-style-wire-c:last-child{border-radius:50%;border-color:#265994}
.mo-style-wire.w-stamp_journal .mo-style-wire-ln{background:#1e4a3d;height:10px;width:100%;border-radius:1px}
.mo-style-wire.w-stamp_journal .mo-style-wire-c:last-child .mo-style-wire-ln{background:#223564;width:66%;margin:0 auto;border-radius:99px}
.mo-style-wire.w-stamp_journal .mo-style-wire-ln.sm{height:3px;width:68%;background:#b54430;opacity:0.85}
:root[data-theme-mode="dark"] .mo-style-wire.w-stamp_journal{background:#111915;border-color:rgba(110,196,152,0.45)}
:root[data-theme-mode="dark"] .mo-style-wire.w-stamp_journal .mo-style-wire-pill{background:#6ec498}
:root[data-theme-mode="dark"] .mo-style-wire.w-stamp_journal .mo-style-wire-pill.alt{background:#e2916e}
:root[data-theme-mode="dark"] .mo-style-wire.w-stamp_journal .mo-style-wire-c{background:#e5dfd0;border-color:#6ec498}

/* 06 复古黑白墨水屏 */
.mo-style-wire.w-eink_retro{
  background:#dbded7;border:1.4px solid #2a2c28;border-radius:2px;box-shadow:none;
}
.mo-style-wire.w-eink_retro .mo-style-wire-pill{background:#181917;border-radius:1px;height:6px}
.mo-style-wire.w-eink_retro .mo-style-wire-pill.alt{background:transparent;border:1px solid #2a2c28;border-radius:1px;height:6px}
.mo-style-wire.w-eink_retro .mo-style-wire-c{
  background:#e4e7e0;border:1.1px solid #2a2c28;border-radius:1px;
  box-shadow:2px 0 0 #dbded7,3px 0 0 #2a2c28;padding-top:14px;
}
.mo-style-wire.w-eink_retro .mo-style-wire-c::before{
  content:"";position:absolute;left:0;right:0;top:0;height:12px;border-bottom:1px solid #2a2c28;
  background-image:radial-gradient(#181917 0.7px,transparent 0.8px);background-size:3px 3px;opacity:0.42;
}
.mo-style-wire.w-eink_retro .mo-style-wire-ln{background:#10110f;border-radius:0;height:3.5px}
:root[data-theme-mode="dark"] .mo-style-wire.w-eink_retro{background:#141513;border-color:#c4c8bf}
:root[data-theme-mode="dark"] .mo-style-wire.w-eink_retro .mo-style-wire-pill{background:#e4e7df}
:root[data-theme-mode="dark"] .mo-style-wire.w-eink_retro .mo-style-wire-pill.alt{border-color:#c4c8bf}
:root[data-theme-mode="dark"] .mo-style-wire.w-eink_retro .mo-style-wire-c{
  background:#1d1f1c;border-color:#c4c8bf;box-shadow:2px 0 0 #141513,3px 0 0 #c4c8bf;
}
:root[data-theme-mode="dark"] .mo-style-wire.w-eink_retro .mo-style-wire-c::before{
  border-bottom-color:#c4c8bf;background-image:radial-gradient(#e4e7df 0.7px,transparent 0.8px);
}
:root[data-theme-mode="dark"] .mo-style-wire.w-eink_retro .mo-style-wire-ln{background:#eef0ea}

/* 07 包豪斯美术馆几何 */
.mo-style-wire.w-bauhaus{background:#f7f6f2;border:1.6px solid #121210;border-radius:0;box-shadow:none}
.mo-style-wire.w-bauhaus .mo-style-wire-pill{background:#d93829;border-radius:0;width:12px;height:8px}
.mo-style-wire.w-bauhaus .mo-style-wire-pill.alt{background:#1e4fd6;border-radius:0;width:20px;height:8px}
.mo-style-wire.w-bauhaus .mo-style-wire-c{background:#ffffff;border:1.4px solid #121210;border-radius:0;padding-top:15px}
.mo-style-wire.w-bauhaus .mo-style-wire-c::before{
  content:"";position:absolute;left:0;right:0;top:0;height:13px;border-bottom:1.3px solid #121210;
  background:linear-gradient(90deg,#d93829 0 42%,#121210 42% 45%,#eab308 45% 100%);
}
.mo-style-wire.w-bauhaus .mo-style-wire-c:last-child::before{
  background:linear-gradient(90deg,#1e4fd6 0 58%,#121210 58% 61%,#f7f6f2 61% 100%);
}
.mo-style-wire.w-bauhaus .mo-style-wire-ln{background:#0e0e0d;border-radius:0;height:3.5px}
:root[data-theme-mode="dark"] .mo-style-wire.w-bauhaus{background:#121316;border-color:#e2e4ea}
:root[data-theme-mode="dark"] .mo-style-wire.w-bauhaus .mo-style-wire-c{background:#1a1b20;border-color:#e2e4ea}
:root[data-theme-mode="dark"] .mo-style-wire.w-bauhaus .mo-style-wire-c::before{border-bottom-color:#e2e4ea}
:root[data-theme-mode="dark"] .mo-style-wire.w-bauhaus .mo-style-wire-ln{background:#f5f6f9}

/* 08 手绘纸本（点阵手账纸 + 有机不规则手绘线框 + 铅笔红/暖金下划线） */
.mo-style-wire.w-sketch{
  background:#faf6ed;border:1.5px solid #3d352c;
  border-radius:16px 4px 14px 6px / 6px 14px 4px 16px;
  background-image:radial-gradient(rgba(61,53,44,0.22) 0.85px,transparent 0.9px);
  background-size:9px 9px;
}
.mo-style-wire.w-sketch .mo-style-wire-pill{background:#c44d34;border-radius:8px 3px 9px 4px}
.mo-style-wire.w-sketch .mo-style-wire-pill.alt{background:#e8dcc6;border:1px solid #3d352c;border-radius:8px 3px 9px 4px}
.mo-style-wire.w-sketch .mo-style-wire-c{
  background:#fffdf8;border:1.3px solid #3d352c;
  border-radius:12px 3px 10px 4px / 4px 10px 3px 12px;
  box-shadow:1.5px 2px 0 rgba(61,53,44,0.18);
}
.mo-style-wire.w-sketch .mo-style-wire-c:last-child{background:#f4ead4}
.mo-style-wire.w-sketch .mo-style-wire-ln{background:#2d2720}
.mo-style-wire.w-sketch .mo-style-wire-ln.sm{background:#c44d34;opacity:0.8}
:root[data-theme-mode="dark"] .mo-style-wire.w-sketch{
  background:#181715;border-color:rgba(232,222,204,0.48);
  background-image:radial-gradient(rgba(232,222,204,0.20) 0.85px,transparent 0.9px);
}
:root[data-theme-mode="dark"] .mo-style-wire.w-sketch .mo-style-wire-pill{background:#e2a84b}
:root[data-theme-mode="dark"] .mo-style-wire.w-sketch .mo-style-wire-pill.alt{background:#2a2723;border-color:rgba(232,222,204,0.38)}
:root[data-theme-mode="dark"] .mo-style-wire.w-sketch .mo-style-wire-c{background:#23211e;border-color:rgba(232,222,204,0.42);box-shadow:1.5px 2px 0 rgba(0,0,0,0.45)}
:root[data-theme-mode="dark"] .mo-style-wire.w-sketch .mo-style-wire-c:last-child{background:#1f2c26}
:root[data-theme-mode="dark"] .mo-style-wire.w-sketch .mo-style-wire-ln{background:#f2ece0}
:root[data-theme-mode="dark"] .mo-style-wire.w-sketch .mo-style-wire-ln.sm{background:#e2a84b}

/* =====================================================================
   以下为 7 套零重合大风格满血骨架材质 CSS（01 minimal 为基座）
   原则：壳张扬、文克制（#readerView 正文始终保持干净护眼）
   ===================================================================== */

/* ═══ 02. 满血波普圆角新粗野（brutal） ═══ */
:root[data-ui-style="brutal"] .mo-home-head,
:root[data-ui-style="brutal"] .mo-page-hd{border-bottom:2.2px solid var(--brutal-ink) !important}
:root[data-ui-style="brutal"] .mo-nav-tab{font-weight:750}
:root[data-ui-style="brutal"] .mo-nav-tab.on::after{
  left:0;right:0;bottom:0;height:4px !important;border-radius:0 !important;
  background:var(--accent) !important;box-shadow:0 2px 0 var(--brutal-ink);
}
:root[data-ui-style="brutal"] .mo-resume,
:root[data-ui-style="brutal"] .mo-sgrp,
:root[data-ui-style="brutal"] .mo-bcover,
:root[data-ui-style="brutal"] .mo-live-prev,
:root[data-ui-style="brutal"] .mo-style-card,
:root[data-ui-style="brutal"] .mo-font-card,
:root[data-ui-style="brutal"] .mo-hrow,
:root[data-ui-style="brutal"] .mo-set-search,
:root[data-ui-style="brutal"] .mo-hsearch-box,
:root[data-ui-style="brutal"] .mo-page .mo-imp-item,
:root[data-ui-style="brutal"] .mo-page .mo-imp-file,
:root[data-ui-style="brutal"] .mo-page .mo-stat-card,
:root[data-ui-style="brutal"] .mo-fmeta-box,
:root[data-ui-style="brutal"] .mo-endcard,
:root[data-ui-style="brutal"] .mo-stat-bar,
:root[data-ui-style="brutal"] .mo-bm,
:root[data-ui-style="brutal"] .mo-qitem{
  border-radius:15px !important;
  border:2.2px solid var(--brutal-ink) !important;
  box-shadow:4px 4px 0 var(--brutal-shadow) !important;
}
:root[data-ui-style="brutal"] .mo-swipe-item{border-radius:15px !important}
:root[data-ui-style="brutal"] .mo-toast{
  border-radius:999px !important;
  border:2.2px solid var(--brutal-ink) !important;
  box-shadow:3px 3px 0 var(--brutal-shadow) !important;
}
:root[data-ui-style="brutal"] .mo-resume-bar{display:none}
:root[data-ui-style="brutal"] .mo-resume-r{
  background:var(--brutal-badge);color:var(--brutal-badge-fg);padding:3px 9px;border-radius:99px;
  border:1.8px solid var(--brutal-ink);font-size:11.5px;font-weight:750;
}
:root[data-ui-style="brutal"] .mo-resume-go{
  display:inline-flex;background:var(--accent);color:var(--on-accent);
  border:1.8px solid var(--brutal-ink);box-shadow:2px 2px 0 var(--brutal-shadow);
}
:root[data-ui-style="brutal"] .mo-chip,
:root[data-ui-style="brutal"] .mo-btn,
:root[data-ui-style="brutal"] .mo-qr-pill,
:root[data-ui-style="brutal"] .mo-qr-more,
:root[data-ui-style="brutal"] .mo-pcard,
:root[data-ui-style="brutal"] .mo-qr-box,
:root[data-ui-style="brutal"] .mo-segbar,
:root[data-ui-style="brutal"] .mo-stepper,
:root[data-ui-style="brutal"] .mo-input,
:root[data-ui-style="brutal"] .mo-cat-ic{
  border:2px solid var(--brutal-ink) !important;
  box-shadow:2.5px 2.5px 0 var(--brutal-shadow) !important;
}
:root[data-ui-style="brutal"] .mo-chip{border-radius:999px !important;font-weight:700 !important;color:var(--heading)}
:root[data-ui-style="brutal"] .mo-chip.on,
:root[data-ui-style="brutal"] .mo-btn.on,
:root[data-ui-style="brutal"] .mo-segbtn.on,
:root[data-ui-style="brutal"] .mo-qr-pill.on,
:root[data-ui-style="brutal"] .mo-cat-ic{
  background:var(--accent) !important;color:var(--on-accent) !important;font-weight:750 !important;
}
:root[data-ui-style="brutal"] .mo-segbtn.on{border:1.6px solid var(--brutal-ink) !important;box-shadow:none !important}
:root[data-ui-style="brutal"] .mo-pcard.on{
  border-color:var(--brutal-ink) !important;
  box-shadow:inset 0 0 0 2.5px var(--accent),2.5px 2.5px 0 var(--brutal-shadow) !important;
}
:root[data-ui-style="brutal"] .mo-style-card.on,
:root[data-ui-style="brutal"] .mo-font-card.on{
  background:var(--picked-bg) !important;
  box-shadow:4px 4px 0 var(--accent-fg) !important;
}
/* 满血波普独立算法海报封：圆角粗黑描边 + 硬边投影，内容由 v3_covers.js 8 款形态填充 */
:root[data-ui-style="brutal"] .mo-bcover{
  background:var(--surface) !important;color:var(--heading) !important;
}
:root[data-ui-style="brutal"] .mo-fav-star{
  background:transparent !important;border:none !important;box-shadow:none !important;
  filter:drop-shadow(1.5px 1.5px 0 var(--brutal-shadow));
}
:root[data-ui-style="brutal"] .mo-qread-sheet,
:root[data-ui-style="brutal"] .mo-sheet:not(.mo-page){
  border-top:2.5px solid var(--brutal-ink) !important;
  border-left:2.5px solid var(--brutal-ink) !important;
  border-right:2.5px solid var(--brutal-ink) !important;
  border-radius:20px 20px 0 0 !important;
}
:root[data-ui-style="brutal"] .mo-range{height:9px;border:1.8px solid var(--brutal-ink);background:var(--surface2)}
:root[data-ui-style="brutal"] .mo-range::-webkit-slider-thumb{border-radius:6px;width:20px;height:20px;background:var(--accent);border:2px solid var(--brutal-ink);box-shadow:2px 2px 0 var(--brutal-shadow)}
:root[data-ui-style="brutal"] .mo-switch{width:48px;height:28px;border:2px solid var(--brutal-ink) !important;box-shadow:2px 2px 0 var(--brutal-shadow) !important}
:root[data-ui-style="brutal"] .mo-switch::after{top:50%;left:3px;width:18px;height:18px;transform:translate3d(0,-50%,0);background:var(--surface) !important;border:1.8px solid var(--brutal-ink) !important;box-shadow:none !important}
:root[data-ui-style="brutal"] .mo-switch.on::after{transform:translate3d(20px,-50%,0);background:var(--on-accent) !important;border-color:var(--on-accent) !important}
:root[data-ui-style="brutal"] .mo-switch:active::after{width:22px}
:root[data-ui-style="brutal"] .mo-switch.on:active::after{transform:translate3d(16px,-50%,0)}
:root[data-ui-style="brutal"] .mo-sgrp > .mo-row + .mo-row,
:root[data-ui-style="brutal"] .mo-sgrp > .mo-cat-row + .mo-cat-row,
:root[data-ui-style="brutal"] .mo-sgrp > .mo-nav-row + .mo-nav-row,
:root[data-ui-style="brutal"] .mo-sgrp > .mo-rule-row + .mo-rule-row,
:root[data-ui-style="brutal"] .mo-sgrp > .mo-row-stack + .mo-row,
:root[data-ui-style="brutal"] .mo-sgrp > .mo-row + .mo-row-stack,
:root[data-ui-style="brutal"] .mo-sgrp > .mo-row-stack + .mo-row-stack,
:root[data-ui-style="brutal"] .mo-sgrp > .mo-sgrp-block + .mo-row,
:root[data-ui-style="brutal"] .mo-sgrp > .mo-row + .mo-sgrp-block{border-top:1.8px solid var(--brutal-ink) !important}
:root[data-ui-style="brutal"] .mo-btn:not(:disabled):active,
:root[data-ui-style="brutal"] .mo-chip:active,
:root[data-ui-style="brutal"] .mo-resume:active,
:root[data-ui-style="brutal"] .mo-pcard:active,
:root[data-ui-style="brutal"] .mo-style-card:active,
:root[data-ui-style="brutal"] .mo-font-card:active{
  transform:translate3d(2px,2px,0) !important;box-shadow:1px 1px 0 var(--brutal-shadow) !important;
}
:root[data-ui-style="brutal"] .mo-book:active .mo-bcover{
  filter:brightness(0.93) !important;
}

/* ═══ 03. 满血工业硬件仪器（industrial） ═══ */
:root[data-ui-style="industrial"] #homeBody,
:root[data-ui-style="industrial"] .mo-page-body{
  background-image:linear-gradient(var(--hairline) 1px,transparent 1px),linear-gradient(90deg,var(--hairline) 1px,transparent 1px);
  background-size:18px 18px;
}
:root[data-ui-style="industrial"] .mo-home-head,
:root[data-ui-style="industrial"] .mo-page-hd{border-bottom:1.5px solid var(--border) !important}
:root[data-ui-style="industrial"] .mo-nav-tabs{gap:18px}
:root[data-ui-style="industrial"] .mo-nav-tab{letter-spacing:0.05em}
:root[data-ui-style="industrial"] .mo-nav-tab.on::after{
  left:0;right:0;bottom:0;height:5px;border-radius:0;
  background:
    linear-gradient(90deg,var(--accent) 0 100%) left bottom / 100% 2.5px no-repeat,
    linear-gradient(180deg,var(--accent),var(--accent)) left bottom / 2px 5px no-repeat,
    linear-gradient(180deg,var(--accent),var(--accent)) right bottom / 2px 5px no-repeat;
}
:root[data-ui-style="industrial"] .mo-resume,
:root[data-ui-style="industrial"] .mo-sgrp,
:root[data-ui-style="industrial"] .mo-bcover,
:root[data-ui-style="industrial"] .mo-live-prev,
:root[data-ui-style="industrial"] .mo-style-card,
:root[data-ui-style="industrial"] .mo-font-card,
:root[data-ui-style="industrial"] .mo-hrow,
:root[data-ui-style="industrial"] .mo-set-search,
:root[data-ui-style="industrial"] .mo-hsearch-box,
:root[data-ui-style="industrial"] .mo-chip,
:root[data-ui-style="industrial"] .mo-btn,
:root[data-ui-style="industrial"] .mo-pcard,
:root[data-ui-style="industrial"] .mo-qr-box,
:root[data-ui-style="industrial"] .mo-qr-pill,
:root[data-ui-style="industrial"] .mo-qr-more,
:root[data-ui-style="industrial"] .mo-segbar,
:root[data-ui-style="industrial"] .mo-segbtn,
:root[data-ui-style="industrial"] .mo-stepper,
:root[data-ui-style="industrial"] .mo-step-btn,
:root[data-ui-style="industrial"] .mo-input,
:root[data-ui-style="industrial"] .mo-cat-ic{border-radius:4px !important}
:root[data-ui-style="industrial"] .mo-resume,
:root[data-ui-style="industrial"] .mo-sgrp,
:root[data-ui-style="industrial"] .mo-bcover,
:root[data-ui-style="industrial"] .mo-live-prev,
:root[data-ui-style="industrial"] .mo-style-card,
:root[data-ui-style="industrial"] .mo-font-card{
  border:1.2px solid var(--border) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.22),0 2px 0 rgba(0,0,0,0.22) !important;
}
/* 毫米刻度尺继续阅读条 */
:root[data-ui-style="industrial"] .mo-resume{flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px}
:root[data-ui-style="industrial"] .mo-resume-bar{display:none}
:root[data-ui-style="industrial"] .mo-resume-k{font-family:var(--ff-mono);font-size:10px;letter-spacing:0.06em;text-transform:uppercase}
:root[data-ui-style="industrial"] .mo-resume-l{padding-right:54px}
:root[data-ui-style="industrial"] .mo-resume-r{position:absolute;right:12px;top:11px;font-family:var(--ff-mono);font-size:12.5px}
:root[data-ui-style="industrial"] .mo-swipe-item{border-radius:4px !important}
:root[data-ui-style="industrial"] .mo-resume::after{
  content:"";display:block;height:14px;width:100%;border-radius:2px;
  background:
    linear-gradient(90deg,var(--accent) 0%,var(--accent) var(--resume-pct,0%),transparent var(--resume-pct,0%)) 0 0 / 100% 3px no-repeat,
    repeating-linear-gradient(90deg,var(--muted) 0 1px,transparent 1px 6px) 0 5px / 100% 8px no-repeat;
  opacity:0.88;
}
/* 工业硬件仪器模组书封（8 款硬件外观由 v3_covers.js 渲染） */
:root[data-ui-style="industrial"] .mo-bcover{
  background:var(--surface) !important;color:var(--heading) !important;
}
:root[data-ui-style="industrial"] .mo-bmeta,
:root[data-ui-style="industrial"] .mo-val,
:root[data-ui-style="industrial"] .mo-step-val,
:root[data-ui-style="industrial"] .mo-cat-val,
:root[data-ui-style="industrial"] .mo-whisper,
:root[data-ui-style="industrial"] .mo-sgrp-title{font-family:var(--ff-mono);letter-spacing:0.03em}
/* 刻度滑块 + 合成器凹键 + LED 橙点方形机械拨片开关 */
:root[data-ui-style="industrial"] .mo-range{
  height:14px;border-radius:2px;
  background:repeating-linear-gradient(90deg,var(--muted) 0 1px,transparent 1px 7px) center / 100% 10px no-repeat !important;
}
:root[data-ui-style="industrial"] .mo-range::-webkit-slider-thumb{
  width:12px;height:22px;border-radius:2px;background:var(--surface);border:1.5px solid var(--heading);
  box-shadow:0 2px 4px rgba(0,0,0,0.35),inset 0 0 0 2px var(--accent);
}
:root[data-ui-style="industrial"] .mo-step-btn,
:root[data-ui-style="industrial"] .mo-btn,
:root[data-ui-style="industrial"] .mo-chip,
:root[data-ui-style="industrial"] .mo-qr-pill,
:root[data-ui-style="industrial"] .mo-qr-more{
  border:1px solid var(--border) !important;background:var(--surface);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.28),inset 0 -2px 0 rgba(0,0,0,0.18),0 1px 2px rgba(0,0,0,0.16) !important;
}
:root[data-ui-style="industrial"] .mo-btn.on,
:root[data-ui-style="industrial"] .mo-chip.on,
:root[data-ui-style="industrial"] .mo-qr-pill.on{
  background:var(--accent) !important;color:var(--on-accent) !important;border-color:var(--accent) !important;
}
:root[data-ui-style="industrial"] .mo-segbtn.on{background:var(--heading) !important;color:var(--bg) !important}
:root[data-ui-style="industrial"] .mo-pcard.on,
:root[data-ui-style="industrial"] .mo-style-card.on,
:root[data-ui-style="industrial"] .mo-font-card.on{border-color:var(--accent-fg) !important;box-shadow:0 0 0 1.5px var(--accent-fg) !important}
:root[data-ui-style="industrial"] .mo-step-btn:active,
:root[data-ui-style="industrial"] .mo-btn:not(:disabled):active,
:root[data-ui-style="industrial"] .mo-chip:active{
  transform:translate3d(0,1.5px,0) !important;box-shadow:inset 0 2px 4px rgba(0,0,0,0.32) !important;
}
:root[data-ui-style="industrial"] .mo-switch{
  width:52px;height:26px;border-radius:4px !important;background:#3a3f46 !important;border:1px solid var(--border) !important;
  box-shadow:inset 0 2px 5px rgba(0,0,0,0.45) !important;
}
:root[data-ui-style="industrial"] .mo-switch.on{background:#2a2e34 !important}
:root[data-ui-style="industrial"] .mo-switch::after{
  top:50%;left:3px;width:22px;height:18px;transform:translate3d(0,-50%,0);border-radius:2px !important;background:#686e77 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.35),0 1px 3px rgba(0,0,0,0.45) !important;
}
:root[data-ui-style="industrial"] .mo-switch.on::after{
  transform:translate3d(22px,-50%,0);
  background:radial-gradient(circle at center,var(--accent) 0 4.5px,#494f58 5.2px) !important;
  box-shadow:0 0 6px var(--accent),inset 0 1px 0 rgba(255,255,255,0.35) !important;
}
:root[data-ui-style="industrial"] .mo-switch:active::after{width:22px}
:root[data-ui-style="industrial"] .mo-switch.on:active::after{transform:translate3d(22px,-50%,0)}
:root[data-ui-style="industrial"] .mo-qread-sheet,
:root[data-ui-style="industrial"] .mo-sheet:not(.mo-page){border-radius:6px 6px 0 0 !important;border-top:2px solid var(--accent) !important}

/* ═══ 04. 中式线装古籍（song_classic） ═══ */
/* 四周双线古籍版框：壳层内缩至版框安全区内部，彻底防止滚动内容穿过透明边框溢出 */
:root[data-ui-style="song_classic"] #homeView,
:root[data-ui-style="song_classic"] .mo-sheet.mo-page{
  padding:calc(var(--safe-top) + 9px) 10px calc(var(--safe-bot) + 9px) 10px !important;
}
:root[data-ui-style="song_classic"] #homeView::after,
:root[data-ui-style="song_classic"] .mo-sheet.mo-page::after{
  content:"";position:absolute;inset:calc(var(--safe-top) + 4px) 5px calc(var(--safe-bot) + 4px) 5px;
  border:1px solid var(--border);border-radius:6px;pointer-events:none;z-index:15;
  box-shadow:inset 0 0 0 2.5px var(--bg),inset 0 0 0 3.3px var(--hairline);
}
:root[data-ui-style="song_classic"] .mo-home-head{
  margin:0;padding:6px calc(var(--safe-right) + 4px) 8px calc(var(--safe-left) + 10px);
  border-bottom:1px solid var(--hairline);
}
:root[data-ui-style="song_classic"] .mo-page-hd{
  margin:0;min-height:44px;padding:4px 6px 8px 4px;border-bottom:1px solid var(--hairline);
}
:root[data-ui-style="song_classic"] .mo-hsearch-bar,
:root[data-ui-style="song_classic"] .mo-hsearch-extra,
:root[data-ui-style="song_classic"] .mo-shist-row{
  padding-left:calc(var(--safe-left) + 10px);padding-right:calc(var(--safe-right) + 10px);
}
:root[data-ui-style="song_classic"] .mo-page-tabs{margin:0;padding:6px 10px}
:root[data-ui-style="song_classic"] .mo-page-foot{margin:0;padding:8px 10px calc(var(--ime-bot) + 10px)}
:root[data-ui-style="song_classic"] #homeBody{
  padding:6px calc(var(--safe-right) + 10px) 48px calc(var(--safe-left) + 10px);
}
:root[data-ui-style="song_classic"] .mo-page-body{padding:8px 10px 14px}
:root[data-ui-style="song_classic"] #srcPaneCode{padding:4px 10px calc(var(--ime-bot) + 10px) !important}
:root[data-ui-style="song_classic"] .mo-swipe-item{border-radius:3px !important}
:root[data-ui-style="song_classic"] .mo-nav-tab,
:root[data-ui-style="song_classic"] .mo-page-title,
:root[data-ui-style="song_classic"] .mo-bcover-title,
:root[data-ui-style="song_classic"] .mo-bname,
:root[data-ui-style="song_classic"] .mo-resume-v,
:root[data-ui-style="song_classic"] .mo-ch-title{font-family:var(--ff-serif)}
:root[data-ui-style="song_classic"] .mo-nav-tab.on::after{
  left:0;right:0;bottom:0;width:auto;height:4.5px;transform:none;border-radius:0;
  background:linear-gradient(180deg,var(--accent) 0 2px,transparent 2px 3.2px,var(--border) 3.2px 4.5px);
}
:root[data-ui-style="song_classic"] .mo-resume{
  border-radius:2px !important;border:1px solid var(--border) !important;
  border-left:3.5px solid var(--border) !important;border-right:3.5px solid var(--border) !important;
  background:var(--surface);padding:10px 13px;box-shadow:none !important;
}
:root[data-ui-style="song_classic"] .mo-resume-bar{display:none}
:root[data-ui-style="song_classic"] .mo-resume-r::after{
  content:"阅";display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:2px;background:var(--accent);color:var(--on-accent);
  font-size:10.5px;font-family:var(--ff-serif);font-weight:700;margin-left:4px;
}
:root[data-ui-style="song_classic"] .mo-chip,
:root[data-ui-style="song_classic"] .mo-btn,
:root[data-ui-style="song_classic"] .mo-sgrp,
:root[data-ui-style="song_classic"] .mo-live-prev,
:root[data-ui-style="song_classic"] .mo-style-card,
:root[data-ui-style="song_classic"] .mo-font-card,
:root[data-ui-style="song_classic"] .mo-hrow,
:root[data-ui-style="song_classic"] .mo-set-search,
:root[data-ui-style="song_classic"] .mo-pcard,
:root[data-ui-style="song_classic"] .mo-qr-box,
:root[data-ui-style="song_classic"] .mo-qr-pill,
:root[data-ui-style="song_classic"] .mo-qr-more,
:root[data-ui-style="song_classic"] .mo-segbar,
:root[data-ui-style="song_classic"] .mo-segbtn,
:root[data-ui-style="song_classic"] .mo-stepper,
:root[data-ui-style="song_classic"] .mo-input,
:root[data-ui-style="song_classic"] .mo-cat-ic{border-radius:3px !important}
:root[data-ui-style="song_classic"] .mo-sgrp,
:root[data-ui-style="song_classic"] .mo-live-prev,
:root[data-ui-style="song_classic"] .mo-style-card,
:root[data-ui-style="song_classic"] .mo-font-card,
:root[data-ui-style="song_classic"] .mo-hrow,
:root[data-ui-style="song_classic"] .mo-set-search{border:1px solid var(--border) !important;box-shadow:none !important}
:root[data-ui-style="song_classic"] .mo-chip.on,
:root[data-ui-style="song_classic"] .mo-btn.on{background:var(--accent) !important;color:var(--on-accent) !important;border-color:var(--accent) !important}
:root[data-ui-style="song_classic"] .mo-pcard{border:1px solid var(--hairline) !important}
:root[data-ui-style="song_classic"] .mo-pcard.on{border:1.8px solid var(--accent) !important;box-shadow:inset 0 0 0 1px var(--accent) !important}
/* 8 款历代中式典籍装帧书封（cover_deck.js） */
:root[data-ui-style="song_classic"] .mo-bcover{
  border-radius:2px !important;background:var(--surface) !important;color:var(--heading) !important;
  box-shadow:0 4px 12px rgba(0,0,0,0.18) !important;border:1px solid var(--border) !important;
}
:root[data-ui-style="song_classic"] .mo-qread-sheet,
:root[data-ui-style="song_classic"] .mo-sheet:not(.mo-page){
  border-radius:4px 4px 0 0 !important;border-top:1.5px solid var(--border) !important;
  box-shadow:inset 0 3px 0 var(--surface),inset 0 3.8px 0 var(--hairline),0 -8px 24px rgba(0,0,0,0.24) !important;
}
:root[data-ui-style="song_classic"] .mo-range{height:2px;border-radius:0;background:var(--border) !important}
:root[data-ui-style="song_classic"] .mo-range::-webkit-slider-thumb{width:13px;height:13px;border-radius:2px;background:var(--accent);border:1px solid var(--border);box-shadow:none}
:root[data-ui-style="song_classic"] .mo-switch{width:44px;height:26px;border-radius:3px !important;border:1px solid var(--border) !important;background:var(--bg) !important;box-shadow:none !important}
:root[data-ui-style="song_classic"] .mo-switch.on{background:var(--accent) !important;border-color:var(--accent) !important}
:root[data-ui-style="song_classic"] .mo-switch::after{border-radius:1.5px !important;width:18px;height:18px;top:50%;left:3px;transform:translate3d(0,-50%,0);background:var(--heading) !important;box-shadow:none !important}
:root[data-ui-style="song_classic"] .mo-switch.on::after{background:var(--on-accent) !important;transform:translate3d(18px,-50%,0)}
:root[data-ui-style="song_classic"] .mo-switch:active::after{width:20px}
:root[data-ui-style="song_classic"] .mo-switch.on:active::after{transform:translate3d(16px,-50%,0)}

/* ═══ 05. 博物邮票手账（stamp_journal · 无外框博物馆级 8 形态真打孔邮票） ═══ */
:root[data-ui-style="stamp_journal"] .mo-home-head,
:root[data-ui-style="stamp_journal"] .mo-page-hd{
  position:relative;background:var(--bg) !important;border-bottom:none !important;padding-bottom:12px;
}
:root[data-ui-style="stamp_journal"] .mo-home-head::after,
:root[data-ui-style="stamp_journal"] .mo-page-hd::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3.5px;pointer-events:none;
  background:repeating-linear-gradient(-45deg,var(--accent) 0 8px,transparent 8px 13px,var(--st-sec) 13px 21px,transparent 21px 26px);
}
:root[data-ui-style="stamp_journal"] .mo-nav-tabs{gap:18px}
:root[data-ui-style="stamp_journal"] .mo-nav-tab{
  position:relative;z-index:1;padding:5px 2px 7px !important;border:none;border-radius:0;
}
:root[data-ui-style="stamp_journal"] .mo-nav-tab.on{
  color:var(--accent-fg) !important;
  filter:drop-shadow(0 1.5px 3px rgba(0,0,0,0.22));
}
:root[data-ui-style="stamp_journal"] .mo-nav-tab.on::before{
  content:"";position:absolute;inset:-2px -9px -1px -9px;z-index:-1;pointer-events:none;
  background:color-mix(in srgb,var(--accent) 18%,var(--surface));
  box-shadow:inset 0 0 0 3.5px color-mix(in srgb,var(--accent) 26%,transparent),inset 0 0 0 4.5px var(--accent);
  -webkit-mask-image:
    radial-gradient(circle 2.3px at 50% 0,transparent 2.1px,#000 2.3px),
    radial-gradient(circle 2.3px at 50% 100%,transparent 2.1px,#000 2.3px),
    radial-gradient(circle 2.3px at 0 50%,transparent 2.1px,#000 2.3px),
    radial-gradient(circle 2.3px at 100% 50%,transparent 2.1px,#000 2.3px);
  -webkit-mask-position:0 0,0 100%,0 0,100% 0;
  -webkit-mask-size:7.5px 100%,7.5px 100%,100% 7.5px,100% 7.5px;
  -webkit-mask-repeat:repeat-x,repeat-x,repeat-y,repeat-y;
  -webkit-mask-composite:source-in;
  mask-image:
    radial-gradient(circle 2.3px at 50% 0,transparent 2.1px,#000 2.3px),
    radial-gradient(circle 2.3px at 50% 100%,transparent 2.1px,#000 2.3px),
    radial-gradient(circle 2.3px at 0 50%,transparent 2.1px,#000 2.3px),
    radial-gradient(circle 2.3px at 100% 50%,transparent 2.1px,#000 2.3px);
  mask-position:0 0,0 100%,0 0,100% 0;
  mask-size:7.5px 100%,7.5px 100%,100% 7.5px,100% 7.5px;
  mask-repeat:repeat-x,repeat-x,repeat-y,repeat-y;
  mask-composite:intersect;
}
:root[data-ui-style="stamp_journal"] .mo-nav-tab.on::after{display:none}
/* 明信片虚线继续阅读条 + 右侧斜盖双环圆形邮戳进度章 */
:root[data-ui-style="stamp_journal"] .mo-resume{
  border-radius:4px !important;border:1.4px dashed var(--border) !important;
  background:var(--surface);padding:10px 13px;box-shadow:none !important;
}
:root[data-ui-style="stamp_journal"] .mo-resume-bar{display:none}
:root[data-ui-style="stamp_journal"] .mo-resume-k{font-family:var(--ff-mono);font-size:10px;letter-spacing:0.06em}
:root[data-ui-style="stamp_journal"] .mo-resume-r{
  width:44px;height:44px;border-radius:50%;justify-content:center;
  border:1.5px solid var(--accent);color:var(--accent-fg);font-family:var(--ff-mono);font-size:11px;font-weight:800;
  box-shadow:inset 0 0 0 2.5px var(--surface),inset 0 0 0 3.5px var(--accent);
  transform:rotate(-12deg);
}
:root[data-ui-style="stamp_journal"] .mo-chip{
  border-radius:3px !important;border:1.3px dashed var(--border) !important;
  background:var(--surface);color:var(--muted);box-shadow:none !important;
}
:root[data-ui-style="stamp_journal"] .mo-chip.on{
  background:var(--accent) !important;color:var(--on-accent) !important;
  border-style:solid !important;border-color:var(--accent) !important;
}
/* 彻底无外框 8 形态真打孔邮票容器 */
:root[data-ui-style="stamp_journal"] .mo-bcover.has-art{
  border-radius:0 !important;padding:0 !important;border:none !important;
  box-shadow:none !important;background:transparent !important;overflow:visible !important;
}
:root[data-ui-style="stamp_journal"] .mo-swipe-item{border-radius:6px !important}
:root[data-ui-style="stamp_journal"] .mo-bcover-art svg{overflow:visible}
:root[data-ui-style="stamp_journal"] .mo-fav-star{
  background:transparent !important;border:none !important;box-shadow:none !important;
  filter:drop-shadow(0 1px 2.5px rgba(0,0,0,0.58));
}
:root[data-ui-style="stamp_journal"] .mo-book.picked-batch .mo-bcover{
  outline:none !important;filter:drop-shadow(0 0 6px var(--accent));
}
:root[data-ui-style="stamp_journal"] .mo-bmeta{font-family:var(--ff-mono)}
:root[data-ui-style="stamp_journal"] .mo-sgrp,
:root[data-ui-style="stamp_journal"] .mo-live-prev,
:root[data-ui-style="stamp_journal"] .mo-style-card,
:root[data-ui-style="stamp_journal"] .mo-font-card,
:root[data-ui-style="stamp_journal"] .mo-hrow,
:root[data-ui-style="stamp_journal"] .mo-set-search{
  border-radius:6px !important;border:1.4px dashed var(--border) !important;box-shadow:none !important;
}
:root[data-ui-style="stamp_journal"] .mo-style-card.on,
:root[data-ui-style="stamp_journal"] .mo-font-card.on{border-style:solid !important;border-color:var(--accent-fg) !important}
:root[data-ui-style="stamp_journal"] .mo-btn,
:root[data-ui-style="stamp_journal"] .mo-pcard,
:root[data-ui-style="stamp_journal"] .mo-qr-box,
:root[data-ui-style="stamp_journal"] .mo-qr-pill,
:root[data-ui-style="stamp_journal"] .mo-qr-more,
:root[data-ui-style="stamp_journal"] .mo-segbar,
:root[data-ui-style="stamp_journal"] .mo-segbtn,
:root[data-ui-style="stamp_journal"] .mo-stepper,
:root[data-ui-style="stamp_journal"] .mo-input,
:root[data-ui-style="stamp_journal"] .mo-cat-ic{border-radius:4px !important;box-shadow:none !important}
:root[data-ui-style="stamp_journal"] .mo-btn,
:root[data-ui-style="stamp_journal"] .mo-qr-box,
:root[data-ui-style="stamp_journal"] .mo-qr-pill,
:root[data-ui-style="stamp_journal"] .mo-qr-more,
:root[data-ui-style="stamp_journal"] .mo-segbar,
:root[data-ui-style="stamp_journal"] .mo-pcard{border:1.25px dashed var(--border) !important}
:root[data-ui-style="stamp_journal"] .mo-btn.on,
:root[data-ui-style="stamp_journal"] .mo-segbtn.on,
:root[data-ui-style="stamp_journal"] .mo-qr-pill.on{
  background:var(--accent) !important;color:var(--on-accent) !important;border:1.25px solid var(--accent) !important;
}
:root[data-ui-style="stamp_journal"] .mo-pcard.on{border:2px solid var(--accent) !important;box-shadow:0 0 0 1px var(--accent) !important}
:root[data-ui-style="stamp_journal"] .mo-qread-sheet,
:root[data-ui-style="stamp_journal"] .mo-sheet:not(.mo-page){border-radius:10px 10px 0 0 !important;border-top:3px solid var(--accent) !important}
:root[data-ui-style="stamp_journal"] .mo-range{
  height:10px;border-radius:0;
  background:repeating-linear-gradient(90deg,var(--border) 0 4px,transparent 4px 8px) center / 100% 3px no-repeat !important;
}
:root[data-ui-style="stamp_journal"] .mo-range::-webkit-slider-thumb{
  width:18px;height:18px;border-radius:50%;background:var(--accent);border:2px solid var(--surface);box-shadow:0 0 0 1.5px var(--accent);
}
:root[data-ui-style="stamp_journal"] .mo-switch{
  width:46px;height:26px;border-radius:99px !important;border:1.5px dashed var(--border) !important;background:var(--bg) !important;box-shadow:none !important;
}
:root[data-ui-style="stamp_journal"] .mo-switch.on{
  border-style:solid !important;border-color:var(--accent) !important;background:color-mix(in srgb,var(--accent) 20%,var(--bg)) !important;
}
:root[data-ui-style="stamp_journal"] .mo-switch::after{
  width:17px;height:17px;top:50%;left:3px;transform:translate3d(0,-50%,0);background:var(--muted) !important;
  box-shadow:inset 0 0 0 3px var(--muted),inset 0 0 0 4.5px var(--surface) !important;
}
:root[data-ui-style="stamp_journal"] .mo-switch.on::after{
  background:var(--accent) !important;transform:translate3d(20px,-50%,0);
  box-shadow:inset 0 0 0 3px var(--accent),inset 0 0 0 4.5px var(--on-accent) !important;
}
:root[data-ui-style="stamp_journal"] .mo-switch:active::after{width:20px}
:root[data-ui-style="stamp_journal"] .mo-switch.on:active::after{transform:translate3d(17px,-50%,0)}

/* ═══ 06. 复古黑白墨水屏（eink_retro · 电泳微颗粒纸感 + 灰阶木刻网点封 + 110ms 全刷反闪） ═══ */
@keyframes einkFlash{
  0%{filter:invert(0.92) contrast(1.15)}
  55%{filter:invert(0.92) contrast(1.15)}
  100%{filter:none}
}
:root[data-ui-style="eink_retro"] #app.eink-flash{animation:einkFlash 110ms steps(2,end)}
/* 100% 纯离线 SVG feTurbulence 电泳微颗粒纸感层 */
:root[data-ui-style="eink_retro"] #app::after{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:55;opacity:0.055;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size:120px 120px;
}
:root[data-ui-style="eink_retro"] .mo-home-head,
:root[data-ui-style="eink_retro"] .mo-page-hd{border-bottom:1.5px solid var(--border) !important}
:root[data-ui-style="eink_retro"] .mo-nav-tab{font-family:var(--ff-serif);font-weight:700}
:root[data-ui-style="eink_retro"] .mo-nav-tab.on::after{
  left:0;right:0;bottom:0;height:4px !important;border-radius:0 !important;
  background:linear-gradient(180deg,var(--accent) 0 2.2px,transparent 2.2px 3px,var(--border) 3px 4px) !important;
}
/* Kindle 实体章节刻度点阵进度继续阅读条 */
:root[data-ui-style="eink_retro"] .mo-resume{
  border-radius:0 !important;border:1.4px solid var(--border) !important;background:var(--surface);box-shadow:none !important;
  flex-direction:column;align-items:stretch;gap:7px;padding:10px 12px 11px;
}
:root[data-ui-style="eink_retro"] .mo-resume-bar{display:none}
:root[data-ui-style="eink_retro"] .mo-resume-k{font-family:var(--ff-mono);font-size:10px;letter-spacing:0.06em}
:root[data-ui-style="eink_retro"] .mo-resume-l{padding-right:52px}
:root[data-ui-style="eink_retro"] .mo-resume-v{font-family:var(--ff-serif);font-weight:700}
:root[data-ui-style="eink_retro"] .mo-resume-r{position:absolute;right:12px;top:12px;font-family:var(--ff-mono);font-size:12px;font-weight:700;color:var(--heading)}
:root[data-ui-style="eink_retro"] .mo-resume::after{
  content:"";display:block;height:7px;width:100%;
  background:
    repeating-linear-gradient(90deg,var(--border) 0 1px,transparent 1px 18px) 0 0 / 100% 7px no-repeat,
    linear-gradient(90deg,var(--accent) 0 var(--resume-pct,0%),transparent var(--resume-pct,0%)) 0 2.5px / 100% 2.5px no-repeat,
    repeating-linear-gradient(90deg,var(--border) 0 1.5px,transparent 1.5px 4px) 0 3px / 100% 1px no-repeat;
}
:root[data-ui-style="eink_retro"] .mo-chip{
  border-radius:2px !important;border:1.2px solid var(--border) !important;
  background:var(--bg);color:var(--heading);font-family:var(--ff-mono);font-size:11.5px;box-shadow:none !important;
}
:root[data-ui-style="eink_retro"] .mo-chip.on{background:var(--accent) !important;color:var(--on-accent) !important;border-color:var(--accent) !important}
/* 300ppi 纯灰阶 8 款独立版画电纸封 + 右侧叠页书边线（零模糊阴影） */
:root[data-ui-style="eink_retro"] .mo-bcover{
  border-radius:1px !important;border:1.3px solid var(--border) !important;
  background:var(--surface) !important;color:var(--heading) !important;
  box-shadow:2.5px 0 0 var(--bg),3.8px 0 0 var(--border) !important;width:calc(100% - 4px);
}
:root[data-ui-style="eink_retro"] .mo-bname,
:root[data-ui-style="eink_retro"] .mo-page-title{font-family:var(--ff-serif)}
:root[data-ui-style="eink_retro"] .mo-bmeta,
:root[data-ui-style="eink_retro"] .mo-sgrp-title{font-family:var(--ff-mono);letter-spacing:0.04em}
:root[data-ui-style="eink_retro"] .mo-qread-sheet,
:root[data-ui-style="eink_retro"] .mo-sheet:not(.mo-page){
  border-radius:0 !important;border-top:2px solid var(--border) !important;background:var(--surface);box-shadow:none !important;
}
:root[data-ui-style="eink_retro"] .mo-grab{width:32px;height:2px;border-radius:0;background:var(--border)}
:root[data-ui-style="eink_retro"] .mo-sgrp,
:root[data-ui-style="eink_retro"] .mo-live-prev,
:root[data-ui-style="eink_retro"] .mo-style-card,
:root[data-ui-style="eink_retro"] .mo-font-card,
:root[data-ui-style="eink_retro"] .mo-hrow,
:root[data-ui-style="eink_retro"] .mo-set-search{
  border-radius:0 !important;border:1.3px solid var(--border) !important;background:var(--surface);box-shadow:none !important;
}
:root[data-ui-style="eink_retro"] .mo-btn,
:root[data-ui-style="eink_retro"] .mo-pcard,
:root[data-ui-style="eink_retro"] .mo-qr-box,
:root[data-ui-style="eink_retro"] .mo-qr-pill,
:root[data-ui-style="eink_retro"] .mo-qr-more,
:root[data-ui-style="eink_retro"] .mo-segbar,
:root[data-ui-style="eink_retro"] .mo-segbtn,
:root[data-ui-style="eink_retro"] .mo-stepper,
:root[data-ui-style="eink_retro"] .mo-input,
:root[data-ui-style="eink_retro"] .mo-cat-ic{
  border-radius:2px !important;border:1.2px solid var(--border) !important;background:var(--bg);color:var(--heading);box-shadow:none !important;
}
:root[data-ui-style="eink_retro"] .mo-segbar{padding:2px;gap:2px}
:root[data-ui-style="eink_retro"] .mo-segbtn{border:none !important}
:root[data-ui-style="eink_retro"] .mo-btn.on,
:root[data-ui-style="eink_retro"] .mo-segbtn.on,
:root[data-ui-style="eink_retro"] .mo-qr-pill.on{background:var(--accent) !important;color:var(--on-accent) !important;border-color:var(--accent) !important}
:root[data-ui-style="eink_retro"] .mo-pcard.on{border:2px solid var(--accent) !important;box-shadow:inset 0 0 0 1.5px var(--bg),inset 0 0 0 3px var(--accent) !important}
:root[data-ui-style="eink_retro"] .mo-swipe-item{border-radius:0 !important}
:root[data-ui-style="eink_retro"] .mo-range{
  height:12px;border-radius:0;border:1.2px solid var(--border);
  background:repeating-linear-gradient(90deg,var(--border) 0 2.5px,transparent 2.5px 6px) 2px center / calc(100% - 4px) 6px no-repeat !important;
}
:root[data-ui-style="eink_retro"] .mo-range::-webkit-slider-thumb{
  border-radius:1px;width:11px;height:20px;background:var(--surface);border:1.8px solid var(--accent);box-shadow:none;
}
:root[data-ui-style="eink_retro"] .mo-switch{
  width:46px;height:26px;border-radius:99px !important;border:1.5px solid var(--border) !important;background:var(--bg) !important;box-shadow:none !important;
}
:root[data-ui-style="eink_retro"] .mo-switch.on{background:var(--accent) !important;border-color:var(--accent) !important}
:root[data-ui-style="eink_retro"] .mo-switch::after{
  width:17px;height:17px;top:50%;left:3px;transform:translate3d(0,-50%,0);border-radius:50%;
  background:var(--surface) !important;border:1.5px solid var(--border) !important;box-shadow:none !important;
}
:root[data-ui-style="eink_retro"] .mo-switch.on::after{
  background:var(--on-accent) !important;border-color:var(--on-accent) !important;transform:translate3d(20px,-50%,0);
}
:root[data-ui-style="eink_retro"] .mo-switch:active::after{width:17px}
:root[data-ui-style="eink_retro"] .mo-switch.on:active::after{transform:translate3d(20px,-50%,0)}

/* ═══ 07. 包豪斯美术馆几何（bauhaus · 绝对 0px 直角 + 1.5px 建筑网格 + 零阴影 + 三原色构图） ═══ */
:root[data-ui-style="bauhaus"] .mo-home-head,
:root[data-ui-style="bauhaus"] .mo-page-hd{border-bottom:1.6px solid var(--border) !important}
:root[data-ui-style="bauhaus"] .mo-nav-tab.on::before{display:none}
:root[data-ui-style="bauhaus"] .mo-nav-tab.on::after{
  left:0;right:0;bottom:0;height:3.5px;border-radius:0;
  background:linear-gradient(90deg,var(--accent) 0 46%,var(--bh-yellow) 46% 74%,var(--bh-blue) 74% 100%);
}
:root[data-ui-style="bauhaus"] .mo-resume,
:root[data-ui-style="bauhaus"] .mo-sgrp,
:root[data-ui-style="bauhaus"] .mo-bcover,
:root[data-ui-style="bauhaus"] .mo-live-prev,
:root[data-ui-style="bauhaus"] .mo-style-card,
:root[data-ui-style="bauhaus"] .mo-font-card,
:root[data-ui-style="bauhaus"] .mo-hrow,
:root[data-ui-style="bauhaus"] .mo-set-search,
:root[data-ui-style="bauhaus"] .mo-hsearch-box,
:root[data-ui-style="bauhaus"] .mo-page .mo-imp-item,
:root[data-ui-style="bauhaus"] .mo-page .mo-imp-file,
:root[data-ui-style="bauhaus"] .mo-page .mo-imp-path,
:root[data-ui-style="bauhaus"] .mo-chip,
:root[data-ui-style="bauhaus"] .mo-btn,
:root[data-ui-style="bauhaus"] .mo-pcard,
:root[data-ui-style="bauhaus"] .mo-qr-box,
:root[data-ui-style="bauhaus"] .mo-qr-pill,
:root[data-ui-style="bauhaus"] .mo-qr-more,
:root[data-ui-style="bauhaus"] .mo-segbar,
:root[data-ui-style="bauhaus"] .mo-segbtn,
:root[data-ui-style="bauhaus"] .mo-stepper,
:root[data-ui-style="bauhaus"] .mo-input,
:root[data-ui-style="bauhaus"] .mo-cat-ic,
:root[data-ui-style="bauhaus"] .mo-qread-sheet,
:root[data-ui-style="bauhaus"] .mo-sheet:not(.mo-page),
:root[data-ui-style="bauhaus"] .mo-switch,
:root[data-ui-style="bauhaus"] .mo-toast{border-radius:0 !important;box-shadow:none !important}
/* 左白右蓝分割继续阅读格 */
:root[data-ui-style="bauhaus"] .mo-resume{
  padding:0 !important;border:1.6px solid var(--border) !important;align-items:stretch;overflow:hidden;
}
:root[data-ui-style="bauhaus"] .mo-resume-bar{display:none}
:root[data-ui-style="bauhaus"] .mo-resume-l{padding:10px 12px}
:root[data-ui-style="bauhaus"] .mo-resume-r{
  background:var(--bh-blue);color:#ffffff !important;padding:0 16px;border-left:1.6px solid var(--border);
  font-size:15px;font-weight:800;display:flex;align-items:center;
}
/* 8 款包豪斯美术馆三原色全出血海报书封（0px 直角 + 1.6px 建筑黑框） */
:root[data-ui-style="bauhaus"] .mo-bcover{
  background:var(--surface) !important;color:var(--heading) !important;
  border:1.6px solid var(--border) !important;
}
:root[data-ui-style="bauhaus"] .mo-chip,
:root[data-ui-style="bauhaus"] .mo-btn,
:root[data-ui-style="bauhaus"] .mo-sgrp,
:root[data-ui-style="bauhaus"] .mo-live-prev,
:root[data-ui-style="bauhaus"] .mo-style-card,
:root[data-ui-style="bauhaus"] .mo-font-card,
:root[data-ui-style="bauhaus"] .mo-hrow,
:root[data-ui-style="bauhaus"] .mo-set-search,
:root[data-ui-style="bauhaus"] .mo-pcard,
:root[data-ui-style="bauhaus"] .mo-qr-box,
:root[data-ui-style="bauhaus"] .mo-qr-pill,
:root[data-ui-style="bauhaus"] .mo-qr-more,
:root[data-ui-style="bauhaus"] .mo-segbar,
:root[data-ui-style="bauhaus"] .mo-stepper,
:root[data-ui-style="bauhaus"] .mo-cat-ic{border:1.5px solid var(--border) !important}
:root[data-ui-style="bauhaus"] .mo-chip.on,
:root[data-ui-style="bauhaus"] .mo-btn.on,
:root[data-ui-style="bauhaus"] .mo-segbtn.on,
:root[data-ui-style="bauhaus"] .mo-qr-pill.on{background:var(--accent) !important;color:var(--on-accent) !important}
:root[data-ui-style="bauhaus"] .mo-pcard.on,
:root[data-ui-style="bauhaus"] .mo-style-card.on,
:root[data-ui-style="bauhaus"] .mo-font-card.on{border:2.4px solid var(--accent-fg) !important}
:root[data-ui-style="bauhaus"] .mo-swipe-item{border-radius:0 !important}
:root[data-ui-style="bauhaus"] .mo-qread-sheet,
:root[data-ui-style="bauhaus"] .mo-sheet:not(.mo-page){border-top:2px solid var(--border) !important}
:root[data-ui-style="bauhaus"] .mo-grab{width:32px;height:2px;border-radius:0;background:var(--border)}
:root[data-ui-style="bauhaus"] .mo-range{height:3px;border-radius:0;background:var(--border) !important}
:root[data-ui-style="bauhaus"] .mo-range::-webkit-slider-thumb{width:18px;height:18px;border-radius:50%;background:var(--accent);border:1.6px solid var(--border);box-shadow:none}
:root[data-ui-style="bauhaus"] .mo-switch{width:46px;height:26px;border:1.5px solid var(--border) !important;background:var(--bg) !important}
:root[data-ui-style="bauhaus"] .mo-switch.on{background:var(--bg) !important}
:root[data-ui-style="bauhaus"] .mo-switch::after{width:15px;height:15px;border-radius:50%;top:50%;left:4px;transform:translate3d(0,-50%,0);background:var(--heading) !important;box-shadow:none !important}
:root[data-ui-style="bauhaus"] .mo-switch.on::after{background:var(--accent-fg) !important;transform:translate3d(20px,-50%,0)}
:root[data-ui-style="bauhaus"] .mo-switch:active::after{width:15px}
:root[data-ui-style="bauhaus"] .mo-switch.on:active::after{transform:translate3d(20px,-50%,0)}

/* ═══ 08. 手绘纸本（sketch · 点阵手账纸 + 有机手绘线框 + 漫黑/文楷手写字体） ═══ */
:root[data-ui-style="sketch"] #homeView,
:root[data-ui-style="sketch"] .mo-sheet.mo-page{
  background-color:var(--bg);
  background-image:radial-gradient(color-mix(in srgb,var(--border) 28%,transparent) 1.05px,transparent 1.1px);
  background-size:18px 18px;
}
:root[data-ui-style="sketch"] .mo-home-head,
:root[data-ui-style="sketch"] .mo-page-hd{
  background-color:var(--bg) !important;
  background-image:radial-gradient(color-mix(in srgb,var(--border) 22%,transparent) 1px,transparent 1.05px);
  background-size:18px 18px;
  border-bottom:1.5px dashed var(--hairline) !important;
}
:root[data-ui-style="sketch"] .mo-nav-tab.on::after{
  left:-2px;right:-2px;bottom:-2px;height:6px !important;border-radius:0 !important;
  background:var(--accent) !important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5.6 Q 16 1.8, 32 4.4 T 63 3.2' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5.6 Q 16 1.8, 32 4.4 T 63 3.2' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
:root[data-ui-style="sketch"] .mo-resume,
:root[data-ui-style="sketch"] .mo-style-card,
:root[data-ui-style="sketch"] .mo-font-card,
:root[data-ui-style="sketch"] .mo-hrow,
:root[data-ui-style="sketch"] .mo-set-search,
:root[data-ui-style="sketch"] .mo-hsearch-box,
:root[data-ui-style="sketch"] .mo-page .mo-imp-item,
:root[data-ui-style="sketch"] .mo-page .mo-imp-file,
:root[data-ui-style="sketch"] .mo-fmeta-box,
:root[data-ui-style="sketch"] .mo-toast{
  border-radius:18px 6px 16px 8px / 8px 16px 6px 18px !important;
  border:1.5px solid var(--border) !important;
  box-shadow:2px 3px 0 color-mix(in srgb,var(--border) 18%,transparent) !important;
}
:root[data-ui-style="sketch"] .mo-sgrp,
:root[data-ui-style="sketch"] .mo-live-prev{
  border-radius:18px 6px 16px 8px / 8px 16px 6px 18px !important;
  border:1.5px solid var(--border) !important;
  box-shadow:2px 3px 0 color-mix(in srgb,var(--border) 18%,transparent) !important;
}
:root[data-ui-style="sketch"] .mo-swipe-item{border-radius:14px 4px 12px 5px !important}
:root[data-ui-style="sketch"] .mo-bcover{
  border-radius:14px 4px 16px 5px / 5px 16px 4px 14px !important;
  border:1.5px solid var(--border) !important;
  background:var(--surface) !important;
  color:var(--heading) !important;
  box-shadow:2.5px 3.5px 0 color-mix(in srgb,var(--border) 22%,transparent) !important;
}
:root[data-ui-style="sketch"] .mo-chip,
:root[data-ui-style="sketch"] .mo-btn,
:root[data-ui-style="sketch"] .mo-pcard,
:root[data-ui-style="sketch"] .mo-qr-box,
:root[data-ui-style="sketch"] .mo-qr-pill,
:root[data-ui-style="sketch"] .mo-qr-more,
:root[data-ui-style="sketch"] .mo-segbar,
:root[data-ui-style="sketch"] .mo-stepper,
:root[data-ui-style="sketch"] .mo-input,
:root[data-ui-style="sketch"] .mo-cat-ic{
  border-radius:16px 5px 14px 6px / 6px 14px 5px 16px !important;
  border:1.35px solid var(--border) !important;
  box-shadow:1.5px 2px 0 color-mix(in srgb,var(--border) 16%,transparent) !important;
}
:root[data-ui-style="sketch"] .mo-chip.on,
:root[data-ui-style="sketch"] .mo-btn.on,
:root[data-ui-style="sketch"] .mo-segbtn.on,
:root[data-ui-style="sketch"] .mo-qr-pill.on{
  background:var(--accent) !important;color:var(--on-accent) !important;border-color:var(--accent) !important;
}
:root[data-ui-style="sketch"] .mo-pcard.on,
:root[data-ui-style="sketch"] .mo-style-card.on,
:root[data-ui-style="sketch"] .mo-font-card.on{
  border:2px solid var(--accent-fg) !important;
  box-shadow:2.5px 3px 0 color-mix(in srgb,var(--accent-fg) 30%,transparent) !important;
}
:root[data-ui-style="sketch"] .mo-qread-sheet,
:root[data-ui-style="sketch"] .mo-sheet:not(.mo-page){
  border-radius:22px 18px 0 0 !important;
  border-top:1.8px solid var(--border) !important;
}
:root[data-ui-style="sketch"] .mo-range{height:4px;border-radius:99px;background:var(--hairline) !important}
:root[data-ui-style="sketch"] .mo-range::-webkit-slider-thumb{
  width:18px;height:18px;border-radius:55% 45% 48% 52% / 48% 54% 46% 52%;
  background:var(--accent);border:1.5px solid var(--border);box-shadow:1px 1.5px 0 color-mix(in srgb,var(--border) 25%,transparent);
}
:root[data-ui-style="sketch"] .mo-switch{
  width:46px;height:26px;border-radius:18px 8px 18px 8px / 12px 14px 12px 14px !important;
  border:1.5px solid var(--border) !important;background:var(--bg) !important;box-shadow:none !important;
}
:root[data-ui-style="sketch"] .mo-switch.on{background:var(--accent) !important;border-color:var(--accent) !important}
:root[data-ui-style="sketch"] .mo-switch::after{
  width:17px;height:17px;top:50%;left:3px;transform:translate3d(0,-50%,0);border-radius:54% 46% 48% 52%;
  background:var(--heading) !important;box-shadow:none !important;
}
:root[data-ui-style="sketch"] .mo-switch.on::after{background:var(--on-accent) !important;transform:translate3d(20px,-50%,0)}
:root[data-ui-style="sketch"] .mo-switch:active::after{width:20px}
:root[data-ui-style="sketch"] .mo-switch.on:active::after{transform:translate3d(17px,-50%,0)}

/* ═══ 全界面细粒度渐入渐出 + 书籍原位 Hero 舞台 ═══ */
.mo-hsearch-wrap{
  opacity:0;
  transition-property:grid-template-rows,opacity;
  transition-duration:200ms,170ms;
  transition-timing-function:cubic-bezier(0.22,1,0.36,1),ease;
}
.mo-hsearch-wrap.open{opacity:1}

@keyframes moPaneFadeIn{
  from{opacity:0;transform:translate3d(0,8px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
.mo-pane-enter{
  animation:moPaneFadeIn 190ms cubic-bezier(0.22,1,0.36,1) both;
}

.mo-hero-stage{
  display:contents;
}
.mo-hero-scrim{
  position:fixed;inset:0;z-index:16;background:#000000;opacity:0;pointer-events:none;
  will-change:opacity;
}
.mo-hero-sheet{
  position:fixed;left:0;top:0;width:100vw;height:100vh;height:100dvh;z-index:17;
  transform-origin:0 0;pointer-events:none;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 24px 64px rgba(0,0,0,0.48),inset 0 0 0 1px rgba(255,255,255,0.10);
  will-change:transform,opacity;backface-visibility:hidden;-webkit-backface-visibility:hidden;
}
.mo-hero-loading{
  font-size:12.5px;letter-spacing:0.08em;color:var(--muted);opacity:0;
  transition-property:opacity;transition-duration:180ms;
}
.mo-hero-loading.show{opacity:0.78}
.mo-hero-cover{
  position:fixed;z-index:19;margin:0;pointer-events:none;overflow:hidden;
  transform-origin:center center;
  box-shadow:0 18px 46px rgba(0,0,0,0.42);
  will-change:transform,opacity;backface-visibility:hidden;-webkit-backface-visibility:hidden;
}
.mo-hero-cover.is-stamp{overflow:visible;box-shadow:none !important}
.mo-hero-cover .mo-fav-star,.mo-hero-cover .mo-book-chk{display:none !important}
.mo-hero-source-hidden{opacity:0 !important;transition:none !important}
.mo-bcover.mo-hero-measure,.mo-hero-measure{transform:none !important;transition:none !important}

/* ═══ 400 张内置精修 WebP 书封层 + 长按 50 款视觉挑选条 ═══ */
.mo-deck-wrap{
  position:relative;width:100%;height:100%;overflow:hidden;border-radius:inherit;
  container-type:inline-size;
}
:root[data-ui-style="stamp_journal"] .mo-deck-wrap{
  overflow:visible;border-radius:0;background:transparent !important;
  filter:drop-shadow(0 3px 7px rgba(0,0,0,0.22));
}
.mo-deck-img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
}
:root[data-theme-mode="dark"] .mo-deck-wrap.is-light-plate .mo-deck-img{
  filter:brightness(0.90) contrast(1.03);
}
.mo-deck-typo{
  position:absolute;z-index:2;pointer-events:none;
  display:flex;flex-direction:column;
}
.mo-deck-typo.lay-bottom{
  left:7%;right:7%;bottom:6%;height:29%;padding:0;
  justify-content:flex-end;gap:1.4cqi;text-align:left;
}
.mo-deck-typo.lay-top{
  left:7%;right:11%;top:5%;height:28%;padding:0;
  justify-content:flex-start;gap:1.2cqi;text-align:left;
}
.mo-deck-typo.lay-center{
  left:13%;right:13%;top:35.7%;height:28.6%;padding:0;
  align-items:center;justify-content:center;gap:1.3cqi;text-align:center;
}
.mo-deck-typo.lay-bottom_right{
  left:22%;right:7%;bottom:6%;height:29%;padding:0;
  align-items:flex-end;justify-content:flex-end;gap:1.4cqi;text-align:right;
}
.mo-deck-typo.lay-top_right{
  left:22%;right:7%;top:5%;height:28%;padding:0;
  align-items:flex-end;justify-content:flex-start;gap:1.2cqi;text-align:right;
}
.mo-deck-typo.lay-stamp_bottom{
  left:14.7%;right:14.7%;top:59.3%;bottom:13.7%;
  align-items:center;justify-content:center;gap:1.1cqi;text-align:center;
}
.mo-deck-typo.lay-stamp_top{
  left:14.7%;right:14.7%;top:14.5%;height:26%;
  align-items:center;justify-content:center;gap:1.1cqi;text-align:center;
}
.mo-deck-typo.lay-stamp_mid{
  left:19.7%;right:19.7%;top:37.8%;height:24.4%;
  align-items:center;justify-content:center;gap:1cqi;text-align:center;
}
.mo-deck-typo.lay-stamp_tri_bottom{
  left:21%;right:21%;top:66.1%;bottom:11.9%;
  align-items:center;justify-content:center;gap:0.9cqi;text-align:center;
}
.mo-deck-typo.lay-stamp_tri_top{
  left:21%;right:21%;top:11.9%;height:22%;
  align-items:center;justify-content:center;gap:0.9cqi;text-align:center;
}
.mo-deck-typo.lay-vertical,
.mo-deck-typo.lay-vertical_left{
  left:10%;top:9.8%;width:19%;height:58.7%;padding:3.5% 0;
  align-items:center;justify-content:space-between;
}
.mo-deck-typo.lay-vertical_right{
  right:10%;top:9.8%;width:19%;height:58.7%;padding:3.5% 0;
  align-items:center;justify-content:space-between;
}
.mo-deck-eb{
  font-family:var(--ff-mono);font-size:clamp(5px,5.3cqi,9px);font-weight:650;line-height:1.22;letter-spacing:0.06em;
  color:var(--dk-acc);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;
}
.mo-deck-title{
  font-family:var(--ff-display);font-size:clamp(7.5px,9.2cqi,15px);font-weight:700;line-height:1.22;
  color:var(--dk-ink);text-wrap:balance;max-width:100%;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.mo-deck-typo.sz-sm .mo-deck-title{font-size:clamp(7px,8.2cqi,13.2px);line-height:1.24}
.mo-deck-typo.sz-xs .mo-deck-title{font-size:clamp(6.4px,7.2cqi,11.5px);line-height:1.24;-webkit-line-clamp:3}
.mo-deck-typo[class*="lay-stamp_"] .mo-deck-title{font-size:clamp(6.4px,7.8cqi,12.6px)}
.mo-deck-typo[class*="lay-stamp_"].sz-sm .mo-deck-title{font-size:clamp(5.9px,7cqi,11.2px)}
.mo-deck-typo[class*="lay-stamp_"].sz-xs .mo-deck-title{font-size:clamp(5.5px,6.3cqi,10px);-webkit-line-clamp:2}
.mo-deck-typo.lay-stamp_tri_bottom .mo-deck-title,
.mo-deck-typo.lay-stamp_tri_top .mo-deck-title{font-size:clamp(5.8px,7.1cqi,11.5px)}
.mo-deck-typo.lay-stamp_tri_bottom.sz-sm .mo-deck-title,
.mo-deck-typo.lay-stamp_tri_top.sz-sm .mo-deck-title{font-size:clamp(5.4px,6.4cqi,10.2px)}
.mo-deck-sub{
  font-size:clamp(5.4px,5.9cqi,9.8px);color:var(--dk-muted);line-height:1.22;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.mo-deck-vtitle{
  writing-mode:vertical-rl;font-family:var(--ff-serif);font-size:clamp(6.5px,8.6cqi,14px);font-weight:700;
  letter-spacing:0.09em;line-height:1.12;max-height:80%;overflow:hidden;
}
.mo-deck-typo.lay-vertical.sz-sm .mo-deck-vtitle,
.mo-deck-typo.lay-vertical_left.sz-sm .mo-deck-vtitle,
.mo-deck-typo.lay-vertical_right.sz-sm .mo-deck-vtitle{font-size:clamp(6px,7.6cqi,12.2px)}
.mo-deck-typo.lay-vertical.sz-xs .mo-deck-vtitle,
.mo-deck-typo.lay-vertical_left.sz-xs .mo-deck-vtitle,
.mo-deck-typo.lay-vertical_right.sz-xs .mo-deck-vtitle{font-size:clamp(5.5px,6.6cqi,10.5px);letter-spacing:0.04em}
.mo-deck-vseal{
  width:clamp(9px,9.6cqi,16px);height:clamp(9px,9.6cqi,16px);border-radius:2px;flex-shrink:0;
  font-family:var(--ff-serif);font-size:clamp(5.5px,6cqi,10px);font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;line-height:1;
}
.mo-deck-prog{
  position:absolute;left:8%;right:8%;bottom:3.6%;height:clamp(1.8px,1.5cqi,2.8px);border-radius:99px;
  background:rgba(128,128,128,0.22);overflow:hidden;z-index:3;pointer-events:none;
}
.mo-deck-prog-fill{height:100%;border-radius:99px}

.mo-cover-studio{
  display:flex;gap:12px;align-items:center;padding:10px;border-radius:12px;
  background:var(--bg);border:1px solid var(--hairline);
}
.mo-cover-prev{
  width:76px;height:96px;border-radius:8px;overflow:hidden;flex-shrink:0;
  position:relative;box-shadow:var(--elev-cover);
}
:root[data-ui-style="stamp_journal"] .mo-cover-prev{
  overflow:visible;border-radius:0;box-shadow:none;
}
.mo-cover-side{
  flex:1;min-width:0;display:flex;flex-direction:column;gap:9px;
}
.mo-cover-info{display:flex;flex-direction:column;gap:3px}
.mo-deck-strip{
  display:flex;align-items:center;gap:8px;overflow-x:auto;padding:2px 1px 4px;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.mo-deck-strip::-webkit-scrollbar{display:none}
.mo-deck-thumb{
  width:46px;height:58px;padding:0;border-radius:7px;overflow:hidden;flex-shrink:0;
  border:2px solid transparent;background:var(--bg);cursor:pointer;position:relative;
  transition-property:border-color,transform;transition-duration:130ms;
}
.mo-deck-thumb:active{transform:scale(0.94)}
.mo-deck-thumb.on{border-color:var(--accent-fg);box-shadow:0 0 0 1px var(--accent-fg)}
.mo-deck-thumb img{width:100%;height:100%;object-fit:cover;display:block}
:root[data-ui-style="stamp_journal"] .mo-deck-thumb{background:transparent;border-radius:6px}

/* ═══ 18. 多端比例自适应（手机 / 折叠屏 / 平板竖屏 / 平板横屏 / 矮横屏） ═══ */
@media (min-width:520px){
  .mo-shelf-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px}
  .mo-style-grid,.mo-font-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mo-sheet:not(.mo-page){
    max-width:540px;margin-left:auto;margin-right:auto;
    border-radius:22px 22px 0 0;
  }
}

@media (min-width:760px){
  .mo-shelf-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}
  .mo-style-grid,.mo-font-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .mo-home-head{
    padding-left:max(24px,calc(50% - 440px));
    padding-right:max(24px,calc(50% - 440px));
  }
  .mo-page-hd,.mo-hud-top,.mo-hud-bot,.mo-search-bar{
    padding-left:max(20px,calc(50% - 440px));
    padding-right:max(20px,calc(50% - 440px));
  }
  :root[data-ui-style="song_classic"] .mo-home-head,
  :root[data-ui-style="song_classic"] .mo-page-hd{
    padding-left:max(12px,calc(50% - 440px));
    padding-right:max(12px,calc(50% - 440px));
  }
  #homeBody > *,
  .mo-hsearch-bar,
  .mo-hsearch-extra,
  .mo-shist-row,
  .mo-page-tabs > *,
  .mo-page-body > *,
  .mo-page-foot > *,
  #settingsBody > .mo-set-pane > *,
  #srcPaneCode > *{
    width:100%;max-width:880px;margin-left:auto;margin-right:auto;
  }
  .mo-drawer{width:min(46vw,400px)}
  .mo-article,.mo-clip-bar{max-width:700px}
}

@media (min-width:1080px){
  .mo-shelf-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 20px}
  .mo-home-head{
    padding-left:max(28px,calc(50% - 520px));
    padding-right:max(28px,calc(50% - 520px));
  }
  :root[data-ui-style="song_classic"] .mo-home-head{
    padding-left:max(14px,calc(50% - 520px));
    padding-right:max(14px,calc(50% - 520px));
  }
  #homeBody > *,
  .mo-hsearch-bar,
  .mo-hsearch-extra,
  .mo-shist-row{max-width:1040px}
}

@media (max-height:520px){
  .mo-home-head{padding-top:calc(var(--safe-top) + 6px);padding-bottom:6px}
  .mo-resume{padding:9px 12px;margin-bottom:10px}
  .mo-sheet:not(.mo-page){max-height:88dvh;padding-top:6px;gap:8px}
  .mo-cover-studio{padding:7px}
  .mo-cover-prev{width:60px;height:76px}
}

/* ═══ 19. 设置顶栏右侧「关于」入口 + 8 大流派自动联动全屏关于页 ═══ */
.mo-page-hd-act{
  height:30px;padding:0 12px;border-radius:99px;border:1px solid var(--border);
  background:var(--surface);color:var(--heading);font-size:12.5px;font-weight:600;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  cursor:pointer;flex-shrink:0;white-space:nowrap;
  transition-property:background-color,border-color,color,opacity;transition-duration:120ms;
}
.mo-page-hd-act:active{background:var(--surface2);opacity:0.84}
:root[data-ui-style="brutal"] .mo-page-hd-act{
  border-radius:8px;border:1.8px solid var(--brutal-ink);background:var(--accent);color:var(--on-accent);
  box-shadow:2px 2px 0 var(--brutal-shadow);font-weight:800;
}
:root[data-ui-style="industrial"] .mo-page-hd-act{
  border-radius:3px;border:1.25px solid var(--border);font-family:var(--ff-mono);font-size:12px;
}
:root[data-ui-style="song_classic"] .mo-page-hd-act{
  border-radius:2px;border:1.2px solid var(--accent);color:var(--accent-fg);font-family:var(--ff-serif);
}
:root[data-ui-style="stamp_journal"] .mo-page-hd-act{
  border-radius:4px;border:1px solid var(--border);
}
:root[data-ui-style="eink_retro"] .mo-page-hd-act{
  border-radius:2px;border:1.2px solid var(--border);font-family:var(--ff-serif);
}
:root[data-ui-style="bauhaus"] .mo-page-hd-act{
  border-radius:0;border:1.5px solid var(--border);
}
:root[data-ui-style="sketch"] .mo-page-hd-act{
  border-radius:14px 5px 12px 6px / 6px 12px 5px 14px;border:1.35px solid var(--border);
}

/* 8 大流派克制整页纸面底纹（不喧宾夺主、不叠多层框） */
.mo-about-body{
  gap:16px;padding:16px 16px calc(var(--safe-bot) + 28px);
}
:root[data-ui-style="minimal"] #aboutBody{
  background:radial-gradient(circle at 50% 0%,color-mix(in srgb,var(--accent) 7%,transparent) 0%,transparent 52%);
}
:root[data-ui-style="sketch"] #aboutBody{
  background-image:
    linear-gradient(90deg,transparent 0 22px,color-mix(in srgb,var(--accent) 16%,transparent) 22px 23px,transparent 23px),
    radial-gradient(color-mix(in srgb,var(--border) 26%,transparent) 1px,transparent 1.05px);
  background-size:100% 100%,18px 18px;
}
:root[data-ui-style="brutal"] #aboutBody{
  background-image:radial-gradient(color-mix(in srgb,var(--brutal-ink) 8%,transparent) 1.2px,transparent 1.3px);
  background-size:20px 20px;
}
:root[data-ui-style="industrial"] #aboutBody{
  background-image:
    linear-gradient(color-mix(in srgb,var(--border) 9%,transparent) 1px,transparent 1px),
    linear-gradient(90deg,color-mix(in srgb,var(--border) 9%,transparent) 1px,transparent 1px);
  background-size:20px 20px;
}
:root[data-ui-style="song_classic"] #aboutBody{
  padding:14px 12px 22px;gap:14px;
}
:root[data-ui-style="stamp_journal"] #aboutBody{
  padding:16px 15px calc(var(--safe-bot) + 28px);
  background-image:radial-gradient(color-mix(in srgb,var(--border) 14%,transparent) 0.85px,transparent 0.95px);
  background-size:16px 16px;
}
:root[data-ui-style="bauhaus"] #aboutBody{
  background-image:linear-gradient(color-mix(in srgb,var(--border) 7%,transparent) 1px,transparent 1px);
  background-size:100% 64px;
}

/* 通用 Hero 容器与居中单行元信息条 */
.mo-ab-hero{
  position:relative;overflow:hidden;border-radius:16px;
  background:var(--surface);border:1px solid var(--hairline);
  box-shadow:var(--elev-card),var(--rim-top);padding:20px 16px 16px;
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;flex-shrink:0;
}
.mo-ab-meta-bar{
  width:100%;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:nowrap;
  padding-top:10px;margin-top:4px;border-top:1px solid var(--hairline);
  font-size:11.5px;color:var(--muted);white-space:nowrap;
}
.mo-ab-meta-bar i{font-style:normal;opacity:0.45}
.mo-ab-sec-hd{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:2px 4px 0;font-size:11.5px;font-weight:600;color:var(--muted);letter-spacing:0.03em;
}
:root[data-ui-style="song_classic"] .mo-ab-sec-hd{font-family:var(--ff-serif);letter-spacing:0.1em}
:root[data-ui-style="industrial"] .mo-ab-sec-hd{font-family:var(--ff-mono);font-size:11px}

/* 01. 静谧极简 Hero（全居中画廊版权页） */
.mo-ab-min-mark{
  width:48px;height:48px;border-radius:14px;background:var(--bg);border:1px solid var(--hairline);
  color:var(--heading);display:inline-flex;align-items:center;justify-content:center;
}
.mo-ab-min-title{font-size:18px;font-weight:700;color:var(--heading);letter-spacing:0.01em}
.mo-ab-min-sub{font-size:12px;color:var(--muted);line-height:1.5}
.mo-ab-min-stats{
  width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  padding-top:12px;margin-top:4px;border-top:1px solid var(--hairline);
}
.mo-ab-min-stat{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  text-align:center;padding:0 4px;position:relative;
}
.mo-ab-min-stat + .mo-ab-min-stat::before{
  content:"";position:absolute;left:0;top:4px;bottom:4px;width:1px;background:var(--hairline);
}
.mo-ab-min-stat strong{font-size:15px;font-weight:700;color:var(--heading);font-variant-numeric:tabular-nums;line-height:1.2}
.mo-ab-min-stat span{font-size:11px;color:var(--muted);white-space:nowrap}

/* 02. 手绘纸本 Hero（和纸胶带 + 居中手账扉页） */
.mo-ab-hero.st-sketch{
  border-radius:20px 7px 18px 9px / 9px 18px 7px 20px;
  border:1.5px solid var(--border);
  box-shadow:2.5px 3.5px 0 color-mix(in srgb,var(--border) 18%,transparent);
  padding:24px 16px 16px;gap:6px;
}
.mo-ab-sk-tape{
  position:absolute;top:-5px;left:50%;transform:translateX(-50%) rotate(-1.6deg);
  width:76px;height:15px;border-radius:2px;
  background:color-mix(in srgb,var(--accent) 28%,var(--surface2));
  border:1px dashed color-mix(in srgb,var(--border) 48%,transparent);
}
.mo-ab-sk-mark{
  width:42px;height:42px;border-radius:52% 48% 50% 50%;
  background:var(--bg);border:1.3px solid var(--border);color:var(--heading);
  display:inline-flex;align-items:center;justify-content:center;
}
.mo-ab-sk-title{font-family:var(--ff-display);font-size:19px;font-weight:700;color:var(--heading);margin-top:2px}
.mo-ab-sk-sub{font-family:var(--ff-mono);font-size:11px;color:var(--accent-fg)}
.mo-ab-sk-wave{width:140px;height:10px;display:block;margin:2px 0}
.mo-ab-sk-desc{font-size:12.5px;color:var(--text);line-height:1.5}

/* 03. 博物邮票 Hero（真实圆形齿孔纪念邮票小型张 + 轻柔邮戳） */
.mo-ab-stamp-wrap{
  width:100%;flex-shrink:0;
  filter:drop-shadow(0 5px 12px rgba(0,0,0,0.14));
}
:root[data-theme-mode="dark"] .mo-ab-stamp-wrap{
  filter:drop-shadow(0 6px 16px rgba(0,0,0,0.44));
}
.mo-ab-hero.st-stamp_journal{
  border-radius:0;border:none;box-shadow:none;background:var(--surface);
  padding:11px;display:block;
  -webkit-mask-image:
    radial-gradient(circle 3.6px at 50% 0,transparent 3.3px,#000 3.7px),
    radial-gradient(circle 3.6px at 50% 100%,transparent 3.3px,#000 3.7px),
    radial-gradient(circle 3.6px at 0 50%,transparent 3.3px,#000 3.7px),
    radial-gradient(circle 3.6px at 100% 50%,transparent 3.3px,#000 3.7px);
  -webkit-mask-position:0 0,0 100%,0 0,100% 0;
  -webkit-mask-size:13px 100%,13px 100%,100% 13px,100% 13px;
  -webkit-mask-repeat:repeat-x,repeat-x,repeat-y,repeat-y;
  -webkit-mask-composite:source-in;
  mask-image:
    radial-gradient(circle 3.6px at 50% 0,transparent 3.3px,#000 3.7px),
    radial-gradient(circle 3.6px at 50% 100%,transparent 3.3px,#000 3.7px),
    radial-gradient(circle 3.6px at 0 50%,transparent 3.3px,#000 3.7px),
    radial-gradient(circle 3.6px at 100% 50%,transparent 3.3px,#000 3.7px);
  mask-position:0 0,0 100%,0 0,100% 0;
  mask-size:13px 100%,13px 100%,100% 13px,100% 13px;
  mask-repeat:repeat-x,repeat-x,repeat-y,repeat-y;
  mask-composite:intersect;
}
.mo-ab-st-frame{
  position:relative;overflow:hidden;padding:18px 16px 14px;
  border:1.15px solid color-mix(in srgb,var(--border) 74%,transparent);
  box-shadow:inset 0 0 0 3px var(--surface),inset 0 0 0 3.8px var(--hairline);
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;
}
.mo-ab-st-postmark{
  position:absolute;top:8px;right:10px;width:48px;height:48px;border-radius:50%;
  border:1.2px solid var(--st-sec);color:var(--st-sec);opacity:0.32;
  box-shadow:inset 0 0 0 2.5px transparent,inset 0 0 0 3.3px var(--st-sec);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  transform:rotate(-14deg);pointer-events:none;font-family:var(--ff-mono);line-height:1.1;
}
.mo-ab-st-postmark span{font-size:7px;letter-spacing:0.08em}
.mo-ab-st-postmark strong{font-size:8.5px;font-weight:700}
.mo-ab-st-kicker{font-family:var(--ff-mono);font-size:10px;color:var(--st-sec);letter-spacing:0.12em;font-weight:650}
.mo-ab-st-title{font-family:var(--ff-display);font-size:19px;font-weight:700;color:var(--heading);letter-spacing:0.04em}
.mo-ab-st-rule{width:128px;display:flex;align-items:center;gap:8px;color:var(--accent-fg);opacity:0.78}
.mo-ab-st-rule span{flex:1;height:1px;background:var(--hairline)}
.mo-ab-st-rule i{font-style:normal;font-size:9px;line-height:1}
.mo-ab-st-desc{font-size:12.5px;color:var(--text)}

/* 04. 中式线装 Hero（古籍卷尾牌记，融入整页双线版框，绝不嵌套双框） */
.mo-ab-hero.st-song_classic{
  background:transparent;border:none;border-radius:0;box-shadow:none;
  padding:8px 8px 6px;gap:10px;
}
.mo-ab-song-fishtail{width:100%;display:flex;align-items:center;gap:8px;opacity:0.72}
.mo-ab-song-fishtail span{flex:1;height:1px;background:var(--hairline)}
.mo-ab-song-fishtail i{
  width:14px;height:6px;display:inline-block;
  background:linear-gradient(135deg,var(--accent) 50%,transparent 50%),linear-gradient(225deg,var(--accent) 50%,transparent 50%);
  background-size:50% 100%;background-repeat:no-repeat;background-position:left,right;
}
.mo-ab-song-fishtail.flip i{transform:rotate(180deg)}
.mo-ab-song-core{width:100%;display:flex;flex-direction:column;align-items:center;gap:7px;padding:6px 4px}
.mo-ab-song-kicker{font-family:var(--ff-serif);font-size:11px;color:var(--muted);letter-spacing:0.24em}
.mo-ab-song-title-row{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.mo-ab-song-title{font-family:var(--ff-serif);font-size:22px;font-weight:700;color:var(--heading);letter-spacing:0.14em}
.mo-ab-song-seal{
  height:23px;padding:0 6px;border-radius:2px;background:var(--accent);color:var(--on-accent);
  font-family:var(--ff-serif);font-size:11px;font-weight:700;letter-spacing:0.12em;text-indent:0.12em;
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
}
.mo-ab-song-desc{font-family:var(--ff-serif);font-size:12.5px;color:var(--text);letter-spacing:0.06em}
.mo-ab-hero.st-song_classic .mo-ab-meta-bar{border-top:none;padding-top:2px;margin-top:0;font-family:var(--ff-serif)}

/* 05. 复古墨水屏 Hero（精印单色版画版权页） */
.mo-ab-hero.st-eink_retro{
  border-radius:0;border:1.4px solid var(--border);box-shadow:none;
  padding:20px 16px 15px;gap:7px;
}
.mo-ab-eink-drop{
  width:42px;height:42px;background:var(--accent);color:var(--on-accent);
  font-family:var(--ff-serif);font-size:22px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;
}
.mo-ab-eink-title{font-family:var(--ff-serif);font-size:18px;font-weight:700;color:var(--heading);margin-top:2px}
.mo-ab-eink-sub{font-family:var(--ff-mono);font-size:11px;color:var(--muted)}
.mo-ab-eink-orn{width:140px;display:flex;align-items:center;gap:8px;color:var(--heading);margin:3px 0 1px}
.mo-ab-eink-orn span{flex:1;height:1px;background:var(--border)}
.mo-ab-eink-orn i{font-style:normal;font-size:9px;line-height:1}
.mo-ab-hero.st-eink_retro .mo-ab-meta-bar{border-top:none;padding-top:2px;margin-top:0;font-family:var(--ff-mono);font-size:11px}

/* 06. 波普新粗野 Hero（克制画报版头，去繁就简） */
.mo-ab-hero.st-brutal{
  padding:0;border-radius:14px;border:2.2px solid var(--brutal-ink);
  box-shadow:3.5px 3.5px 0 var(--brutal-shadow);gap:0;align-items:stretch;text-align:center;
}
.mo-ab-br-bar{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:7px 14px;background:var(--brutal-ink);color:var(--bg);
  font-family:var(--ff-mono);font-size:10.5px;font-weight:700;letter-spacing:0.06em;
}
.mo-ab-br-tag{
  padding:1px 7px;border-radius:4px;background:var(--accent);color:var(--on-accent);
  font-size:10px;font-weight:800;
}
.mo-ab-br-body{padding:16px 14px 14px;display:flex;flex-direction:column;align-items:center;gap:7px}
.mo-ab-br-title{font-family:var(--ff-display);font-size:22px;font-weight:800;color:var(--heading);letter-spacing:0.04em;line-height:1.15}
.mo-ab-br-sub{font-size:12px;color:var(--text)}
.mo-ab-hero.st-brutal .mo-ab-meta-bar{border-top:1.5px solid var(--brutal-ink);font-family:var(--ff-mono);font-size:11px;font-weight:700;color:var(--heading)}

/* 07. 工业仪器 Hero（博朗精密铭牌，全居中三格参数） */
.mo-ab-hero.st-industrial{
  border-radius:4px;border:1.3px solid var(--border);box-shadow:none;
  padding:0 16px 15px;gap:8px;align-items:center;
}
.mo-ab-ind-ruler{
  width:calc(100% + 32px);height:6px;margin:0 -16px 4px;border-bottom:1px solid var(--hairline);
  background:repeating-linear-gradient(90deg,var(--border) 0 1px,transparent 1px 10px);opacity:0.65;
}
.mo-ab-ind-top{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;
  font-family:var(--ff-mono);font-size:10px;color:var(--muted);letter-spacing:0.06em;
}
.mo-ab-ind-led{display:inline-flex;align-items:center;gap:5px;color:var(--accent-fg);font-weight:700}
.mo-ab-ind-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);display:inline-block}
.mo-ab-ind-title{font-size:18px;font-weight:700;color:var(--heading);letter-spacing:0.02em;margin-top:2px}
.mo-ab-ind-en{font-family:var(--ff-mono);font-size:12px;color:var(--muted);font-weight:600;margin-left:4px}
.mo-ab-ind-desc{font-size:12px;color:var(--muted)}
.mo-ab-ind-specs{
  width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  padding-top:11px;margin-top:4px;border-top:1px solid var(--hairline);
}
.mo-ab-ind-cell{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  text-align:center;position:relative;font-family:var(--ff-mono);
}
.mo-ab-ind-cell + .mo-ab-ind-cell::before{
  content:"";position:absolute;left:0;top:3px;bottom:3px;width:1px;background:var(--hairline);
}
.mo-ab-ind-cell strong{font-size:14px;color:var(--heading);font-weight:700}
.mo-ab-ind-cell span{font-family:var(--ff);font-size:10.5px;color:var(--muted);white-space:nowrap}

/* 08. 包豪斯几何 Hero（单处建筑三原色顶带 + 绝对直角网格） */
.mo-ab-hero.st-bauhaus{
  padding:0;border-radius:0;border:1.6px solid var(--border);box-shadow:none;
  gap:0;align-items:stretch;text-align:left;
}
.mo-ab-bh-stripe{width:100%;height:6px;display:grid;grid-template-columns:2fr 1fr 1fr;border-bottom:1.4px solid var(--border)}
.mo-ab-bh-stripe i{display:block;height:100%}
.mo-ab-bh-stripe i:nth-child(1){background:var(--accent)}
.mo-ab-bh-stripe i:nth-child(2){background:var(--bh-yellow)}
.mo-ab-bh-stripe i:nth-child(3){background:var(--bh-blue)}
.mo-ab-bh-body{display:flex;flex-direction:column;gap:8px;padding:16px 15px 0}
.mo-ab-bh-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.mo-ab-bh-title{font-family:var(--ff-display);font-size:20px;font-weight:800;color:var(--heading);letter-spacing:0.04em}
.mo-ab-bh-ver{font-family:var(--ff-mono);font-size:11px;font-weight:700;color:var(--accent-fg)}
.mo-ab-bh-desc{font-size:12px;color:var(--text);line-height:1.5;padding-bottom:6px}
.mo-ab-bh-grid{
  margin:0 -15px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1.4px solid var(--border);
}
.mo-ab-bh-grid span{
  padding:9px 4px;text-align:center;font-size:11px;font-weight:650;color:var(--heading);
  white-space:nowrap;
}
.mo-ab-bh-grid span + span{border-left:1.4px solid var(--border)}

/* ─── 3 行核心直达仓库列表（两层舒展布局：零换行断字、零 URL 截断、零按钮叠罗汉） ─── */
.mo-ab-links{display:flex;flex-direction:column;gap:10px}
.mo-ab-link-card{
  display:flex;flex-direction:column;gap:7px;padding:13px 14px 12px;
  border-radius:14px;background:var(--surface);border:1px solid var(--hairline);
  box-shadow:var(--elev-card),var(--rim-top);
}
.mo-ab-link-top{
  display:flex;align-items:center;gap:9px;min-width:0;cursor:pointer;
}
.mo-ab-link-num{
  width:26px;height:26px;border-radius:8px;background:var(--bg);border:1px solid var(--hairline);
  color:var(--accent-fg);font-family:var(--ff-mono);font-size:10.5px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
}
.mo-ab-link-title{
  flex:1;min-width:0;font-size:14.5px;font-weight:650;color:var(--heading);line-height:1.3;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.mo-ab-link-tag{
  font-size:10.5px;font-weight:600;padding:2px 8px;border-radius:99px;
  background:var(--surface2);color:var(--accent-fg);white-space:nowrap;flex-shrink:0;
}
.mo-ab-link-desc{
  font-size:12px;color:var(--muted);line-height:1.45;cursor:pointer;
  padding-left:35px;
}
.mo-ab-link-bot{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding-top:8px;margin-top:1px;border-top:1px solid var(--hairline);
}
.mo-ab-link-url{
  flex:1;min-width:0;border:none;background:transparent;padding:0;text-align:left;cursor:pointer;
  font-family:var(--ff-mono);font-size:10.2px;letter-spacing:-0.02em;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.mo-ab-link-url:active{color:var(--accent-fg)}
.mo-ab-link-acts{display:inline-flex;align-items:center;gap:5px;flex-shrink:0}
.mo-ab-link-acts .mo-btn.sm{
  height:27px;min-width:50px;padding:0 8px;gap:3.5px;font-size:11px;
}
.mo-ab-act-go{
  color:var(--accent-fg) !important;
  border:1px solid color-mix(in srgb,var(--accent-fg) 40%,transparent) !important;
  background:color-mix(in srgb,var(--accent) 13%,var(--surface)) !important;
  font-weight:650 !important;
}
.mo-ab-act-go:active{
  background:var(--accent) !important;color:var(--on-accent) !important;
}

/* ─── 8 大流派专属 3 行列表装帧（各自成体系，拒绝千篇一律） ─── */
/* 01 静谧极简：单张整合画廊列表卡 */
:root[data-ui-style="minimal"] .mo-ab-links{
  gap:0;border-radius:16px;background:var(--surface);border:1px solid var(--hairline);
  box-shadow:var(--elev-card),var(--rim-top);overflow:hidden;
}
:root[data-ui-style="minimal"] .mo-ab-link-card{
  border-radius:0;border:none;box-shadow:none;background:transparent;
}
:root[data-ui-style="minimal"] .mo-ab-link-card + .mo-ab-link-card{
  border-top:1px solid var(--hairline);
}
:root[data-ui-style="minimal"] .mo-ab-link-bot{border-top:none;padding-top:2px}

/* 02 手绘纸本：3 张温暖有机手账便签 */
:root[data-ui-style="sketch"] .mo-ab-link-card{
  border-radius:18px 6px 15px 7px / 7px 15px 6px 18px;border:1.45px solid var(--border);
  box-shadow:2px 3px 0 color-mix(in srgb,var(--border) 17%,transparent);
}
:root[data-ui-style="sketch"] .mo-ab-link-card[data-ab-idx="1"]{
  border-radius:7px 17px 8px 16px / 16px 8px 17px 7px;
}
:root[data-ui-style="sketch"] .mo-ab-link-num{
  border-radius:54% 46% 50% 50%;border:1.25px solid var(--border);
}

/* 03 博物邮票：3 条精致邮册档案签条（实线细边 + 左侧邮册色带，拒绝杂乱虚线） */
:root[data-ui-style="stamp_journal"] .mo-ab-link-card{
  border-radius:6px;border:1px solid var(--hairline);border-left:3.5px solid var(--accent);
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
}
:root[data-ui-style="stamp_journal"] .mo-ab-link-card[data-ab-idx="1"]{border-left-color:var(--st-sec)}
:root[data-ui-style="stamp_journal"] .mo-ab-link-num{
  border-radius:4px;border:1px solid var(--hairline);background:var(--bg);color:var(--accent-fg);
}
:root[data-ui-style="stamp_journal"] .mo-ab-link-title{font-family:var(--ff-display)}
:root[data-ui-style="stamp_journal"] .mo-ab-link-acts .mo-btn.sm{
  border-style:solid !important;border-color:var(--hairline) !important;border-radius:4px !important;
}
:root[data-ui-style="stamp_journal"] .mo-ab-act-go{
  border-color:color-mix(in srgb,var(--accent-fg) 42%,transparent) !important;
}

/* 04 中式线装：书页直排书目（无重框嵌套，细墨线分条 + 朱砂序号） */
:root[data-ui-style="song_classic"] .mo-ab-links{
  gap:0;border-top:1.2px solid var(--border);border-bottom:1.2px solid var(--border);
  background:transparent;
}
:root[data-ui-style="song_classic"] .mo-ab-link-card{
  border-radius:0;border:none;box-shadow:none;background:transparent;padding:13px 4px 12px;
}
:root[data-ui-style="song_classic"] .mo-ab-link-card + .mo-ab-link-card{
  border-top:1px solid var(--hairline);
}
:root[data-ui-style="song_classic"] .mo-ab-link-num{
  width:26px;height:26px;border-radius:2px;border:1.1px solid var(--accent);
  background:transparent;font-family:var(--ff-serif);font-size:12.5px;color:var(--accent-fg);
}
:root[data-ui-style="song_classic"] .mo-ab-link-title{font-family:var(--ff-serif)}
:root[data-ui-style="song_classic"] .mo-ab-link-tag{border-radius:2px;font-family:var(--ff-serif)}
:root[data-ui-style="song_classic"] .mo-ab-link-bot{border-top:none;padding-top:2px}

/* 05 复古墨水屏：整块叠页书边单色目录 */
:root[data-ui-style="eink_retro"] .mo-ab-links{
  gap:0;border-radius:0;border:1.4px solid var(--border);background:var(--surface);
  box-shadow:2.5px 0 0 var(--bg),3.8px 0 0 var(--border);width:calc(100% - 4px);
}
:root[data-ui-style="eink_retro"] .mo-ab-link-card{
  border-radius:0;border:none;box-shadow:none;background:transparent;
}
:root[data-ui-style="eink_retro"] .mo-ab-link-card + .mo-ab-link-card{
  border-top:1px solid var(--border);
}
:root[data-ui-style="eink_retro"] .mo-ab-link-num{
  border-radius:0;background:var(--accent);color:var(--on-accent);border-color:var(--accent);
}
:root[data-ui-style="eink_retro"] .mo-ab-link-title{font-family:var(--ff-serif)}
:root[data-ui-style="eink_retro"] .mo-ab-link-tag{border-radius:1px;border:1px solid var(--border);background:var(--bg);color:var(--heading)}
:root[data-ui-style="eink_retro"] .mo-ab-link-bot{border-top:none;padding-top:2px}
:root[data-ui-style="eink_retro"] .mo-ab-act-go{
  background:var(--accent) !important;color:var(--on-accent) !important;border-color:var(--accent) !important;
}

/* 06 波普新粗野：3 张利落粗框卡片 */
:root[data-ui-style="brutal"] .mo-ab-link-card{
  border-radius:13px;border:2.1px solid var(--brutal-ink);box-shadow:3px 3px 0 var(--brutal-shadow);
}
:root[data-ui-style="brutal"] .mo-ab-link-num{
  border-radius:6px;border:1.5px solid var(--brutal-ink);background:var(--accent);color:var(--on-accent);font-weight:800;
}
:root[data-ui-style="brutal"] .mo-ab-link-tag{
  border-radius:5px;border:1.3px solid var(--brutal-ink);background:var(--bg);color:var(--heading);
}
:root[data-ui-style="brutal"] .mo-ab-link-bot{border-top:1.4px solid var(--brutal-ink)}
:root[data-ui-style="brutal"] .mo-ab-act-go{
  background:var(--accent) !important;color:var(--on-accent) !important;border:1.6px solid var(--brutal-ink) !important;
}

/* 07 工业仪器：精密机架一体化三通道面板 */
:root[data-ui-style="industrial"] .mo-ab-links{
  gap:0;border-radius:4px;border:1.3px solid var(--border);background:var(--surface);overflow:hidden;
}
:root[data-ui-style="industrial"] .mo-ab-link-card{
  border-radius:0;border:none;box-shadow:none;background:transparent;
}
:root[data-ui-style="industrial"] .mo-ab-link-card + .mo-ab-link-card{
  border-top:1px solid var(--hairline);
}
:root[data-ui-style="industrial"] .mo-ab-link-num{
  border-radius:2px;border:1px solid var(--border);background:var(--bg);
}
:root[data-ui-style="industrial"] .mo-ab-link-tag{border-radius:2px;font-family:var(--ff-mono);font-size:10px}
:root[data-ui-style="industrial"] .mo-ab-link-bot{border-top:none;padding-top:2px}

/* 08 包豪斯几何：绝对 0px 建筑网格一体表（用三原色微几何点睛，不滥涂） */
:root[data-ui-style="bauhaus"] .mo-ab-links{
  gap:0;border-radius:0;border:1.6px solid var(--border);background:var(--surface);
}
:root[data-ui-style="bauhaus"] .mo-ab-link-card{
  border-radius:0;border:none;box-shadow:none;background:transparent;
}
:root[data-ui-style="bauhaus"] .mo-ab-link-card + .mo-ab-link-card{
  border-top:1.4px solid var(--border);
}
:root[data-ui-style="bauhaus"] .mo-ab-link-num{
  border-radius:0;border:none;background:transparent;width:22px;height:22px;
}
:root[data-ui-style="bauhaus"] .mo-ab-link-desc{padding-left:31px}
:root[data-ui-style="bauhaus"] .mo-ab-link-tag{
  border-radius:0;border:1.2px solid var(--border);background:var(--bg);color:var(--heading);
}
:root[data-ui-style="bauhaus"] .mo-ab-link-bot{border-top:none;padding-top:2px}

.mo-ab-foot{
  margin-top:auto;padding:8px 4px 4px;font-size:11px;color:var(--muted);line-height:1.6;text-align:center;
}

@media (min-width:760px){
  #aboutBody > *{max-width:700px}
}

/* ═══ 20. 书架自定义分组统一排序、改名与删除卡片（8 流派自动联动） ═══ */
.mo-col-pin{
  display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;
  background:var(--surface);border:1px dashed var(--border);opacity:0.88;
}
.mo-col-pin-tag{
  font-size:10.5px;font-weight:650;padding:2px 7px;border-radius:99px;flex-shrink:0;
  background:var(--surface2);color:var(--accent-fg);white-space:nowrap;
}
.mo-col-pin-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mo-col-card{
  display:flex;flex-direction:column;gap:8px;padding:10px 11px;border-radius:13px;
  background:var(--surface);border:1px solid var(--hairline);box-shadow:var(--elev-card);
  position:relative;
}
.mo-col-card.dragging-src{opacity:0.32}
.mo-col-card.drop-before{box-shadow:0 -2.5px 0 var(--accent)}
.mo-col-card.drop-after{box-shadow:0 2.5px 0 var(--accent)}
.mo-col-ghost{
  position:fixed;z-index:80;pointer-events:none;margin:0;
  opacity:0.92;box-shadow:0 12px 30px rgba(0,0,0,0.34);
  border:1.5px solid var(--accent-fg) !important;
}
.mo-col-top{display:flex;align-items:center;gap:8px;min-width:0}
.mo-col-drag{
  width:28px;height:28px;border-radius:8px;border:none;background:transparent;
  color:var(--muted);display:inline-flex;align-items:center;justify-content:center;
  cursor:grab;flex-shrink:0;touch-action:none;padding:0;
}
.mo-col-drag:active{background:var(--surface2);color:var(--heading);cursor:grabbing}
.mo-col-head{flex:1;min-width:0;display:flex;align-items:center;gap:6px;overflow:hidden}
.mo-col-name{
  font-size:14px;font-weight:650;color:var(--heading);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.mo-col-badge{
  font-size:10px;font-weight:600;padding:1px 6px;border-radius:99px;flex-shrink:0;
  background:var(--surface2);color:var(--muted);white-space:nowrap;
}
.mo-col-badge.kind-auto,.mo-col-badge.kind-fav{color:var(--accent-fg)}
.mo-col-cnt{
  font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums;
  flex-shrink:0;white-space:nowrap;
}
.mo-col-ord{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}
.mo-col-step{width:28px;padding:0 !important;font-weight:700}
.mo-col-sub-row{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:2px 2px 0 36px;min-width:0;
}
.mo-col-copy{
  border:none;background:transparent;padding:2px 4px;border-radius:6px;
  color:var(--accent-fg);font-size:11px;font-weight:600;cursor:pointer;
  white-space:nowrap;flex-shrink:0;
}
.mo-col-copy:active{opacity:0.68}
.mo-col-bot{
  display:flex;align-items:center;justify-content:flex-end;gap:8px;
  padding-top:7px;border-top:1px solid var(--hairline);
}
.mo-col-sub{
  flex:1;min-width:0;font-size:11.5px;color:var(--muted);line-height:1.35;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.mo-col-acts{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
.mo-col-restore{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:9px 12px;border-radius:11px;background:var(--surface);border:1px solid var(--hairline);
  font-size:12px;color:var(--muted);margin-top:2px;
}

:root[data-ui-style="sketch"] .mo-col-card,
:root[data-ui-style="sketch"] .mo-col-pin{
  border-radius:16px 5px 14px 6px / 6px 14px 5px 16px;border:1.4px solid var(--border);
}
:root[data-ui-style="brutal"] .mo-col-card{
  border-radius:11px;border:2px solid var(--brutal-ink);box-shadow:3px 3px 0 var(--brutal-shadow);
}
:root[data-ui-style="industrial"] .mo-col-card,
:root[data-ui-style="industrial"] .mo-col-pin{border-radius:4px;border:1.25px solid var(--border);box-shadow:none}
:root[data-ui-style="song_classic"] .mo-col-card,
:root[data-ui-style="song_classic"] .mo-col-pin{border-radius:2px;border:1px solid var(--hairline);box-shadow:none}
:root[data-ui-style="stamp_journal"] .mo-col-card,
:root[data-ui-style="stamp_journal"] .mo-col-pin{border-radius:5px;border:1.3px dashed var(--border);box-shadow:none}
:root[data-ui-style="eink_retro"] .mo-col-card,
:root[data-ui-style="eink_retro"] .mo-col-pin{border-radius:0;border:1.3px solid var(--border);box-shadow:none}
:root[data-ui-style="bauhaus"] .mo-col-card,
:root[data-ui-style="bauhaus"] .mo-col-pin{border-radius:0;border:1.6px solid var(--border);box-shadow:none}
