:root {
  --tool-ink:#372c24;
  --tool-muted:#715f50;
  --tool-red:#922e24;
  --tool-paper:#fffaf0;
  --tool-line:#decfba;
  --tool-serif:"Songti SC","Noto Serif CJK SC","STSong",serif;
}
a.toolbox-home {
  display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;
  padding:4px 10px;min-height:30px;box-sizing:border-box;width:max-content;max-width:100%;
  border:1px solid var(--tool-line);border-radius:6px;background:var(--tool-paper);
  color:var(--tool-red);font:600 13px/1.3 system-ui,sans-serif;letter-spacing:.03em;
  text-decoration:none;vertical-align:middle;transition:background-color .15s;
}
a.toolbox-home:hover {background:#f5e7d3}
:where(a,button,input,textarea,select,[tabindex]):focus-visible {outline:2px solid #ae5036;outline-offset:2px}
.tool-hub .wrap {max-width:1040px;padding:clamp(18px,4vw,48px) 20px}
.tool-hub header {text-align:left;border-bottom:2px solid var(--tool-red);padding:0 0 18px}
.tool-hub h1 {font:650 clamp(24px,5vw,42px)/1.3 var(--tool-serif);letter-spacing:.03em;padding-right:52px}
.tool-hub .hub-acct {justify-content:flex-start}
.tool-hub .grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr))}
.tool-hub a.card {display:grid;grid-template-columns:76px 1fr;align-items:center;padding:12px;gap:14px;background:var(--tool-paper);border:1px solid var(--tool-line);box-shadow:none}
.tool-hub .cover,.hub-glyph {width:76px;height:82px;border-radius:6px;object-fit:cover}
.hub-glyph {display:grid;place-items:center;color:var(--tool-red);background:#f4e6d4;font:32px var(--tool-serif)}
.tool-hub a.card:hover {border-color:var(--tool-red)}
.tool-hub .body {padding:0}
.tool-hub :is(.t,.d) {display:block}
.tool-hub .t {font:600 18px/1.4 var(--tool-serif);letter-spacing:0}
.tool-hub :is(.d,.sub) {color:var(--tool-muted)}
.tool-hub .tag {background:#f4e8d7}
.tool-finder {display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.tool-finder input {flex:1;min-width:150px;padding:10px 14px;border:1px solid var(--tool-line);border-radius:7px;background:var(--tool-paper);font-size:16px}
.tool-finder output {color:var(--tool-muted);font-size:14px}
.tool-hub [hidden] {display:none}
@media print {.toolbox-home,.tool-finder {display:none!important}}
.tool-hub a.card[hidden] {display:none}
[data-tool="wechat-editor"] {
  --brand:var(--tool-red);--brand-2:#ac4636;--brand-gradient:linear-gradient(140deg,var(--tool-red),#ab533f);--brand-soft:#f6e7da;--bg:#f7f2e8;
}
[data-tool="dictation"] {--primary:#a14632;--primary-dark:var(--tool-red);--primary-light:#f5e3d5}
[data-tool] :is(.home-hero h1,.site-title,.brand-title,.top-row h1,.topbar-info h1,.home h2) {font-family:var(--tool-serif)}
[data-tool="devbox"] > .toolbox-home {margin:8px 14px}
[data-tool="daoyou-en"] .brand-text {display:grid;gap:2px}
[data-tool="devbox"] .el-menu-item.is-active {color:var(--tool-red)}
