/* 深报 · 阅读偏好系统（免费页可体验；付费档保存偏好）
   主题：纸白 paper / 夜读 night / 道林 daolin / 墨蓝 molan
   字号：标准 base / 大号 lg
   用法：<html data-theme="night" data-size="lg">；localStorage 键 db-theme / db-size */
:root[data-theme="paper"]{
  --paper:#f6faf4; --ink:#1c1a17; --ink2:#4a463f; --gray:#77716a;
  --red:#1e6b45; --rule:#cfe0d2; --rule-dark:#6fa583; --tag:#e3efe4;
}
:root[data-theme="daolin"]{
  --paper:#f8f4e9; --ink:#2a251c; --ink2:#57503f; --gray:#8a8271;
  --red:#8a5a1e; --rule:#e3d9bd; --rule-dark:#b99e6b; --tag:#efe6cf;
}
:root[data-theme="molan"]{
  --paper:#0f1a2b; --ink:#dbe4f0; --ink2:#a8b6ca; --gray:#74849c;
  --red:#6fa8dc; --rule:#243a58; --rule-dark:#3d5f8a; --tag:#1a2c47;
}
:root[data-theme="night"]{
  --paper:#141412; --ink:#d8d4cb; --ink2:#a9a498; --gray:#7c776c;
  --red:#c96f4a; --rule:#33312b; --rule-dark:#5a564c; --tag:#26241f;
}
:root[data-theme="molan"] body, :root[data-theme="night"] body{
  background-image:none;
}
:root[data-size="lg"] body{font-size:18.5px}
:root[data-size="lg"] .deck,:root[data-size="lg"] p{line-height:1.85}

/* 偏好工具条（免费页顶部，供体验） */
.db-prefs{position:fixed;right:14px;bottom:14px;z-index:99;display:flex;gap:6px;align-items:center;
  background:rgba(20,20,18,.88);color:#eee;border-radius:999px;padding:7px 12px;font-size:12.5px;
  font-family:-apple-system,"PingFang SC",sans-serif;box-shadow:0 2px 12px rgba(0,0,0,.3)}
.db-prefs button{all:unset;cursor:pointer;padding:2px 8px;border-radius:999px;color:#ddd;font-size:12px}
.db-prefs button:hover{background:rgba(255,255,255,.15)}
.db-prefs button.on{background:#1e6b45;color:#fff}
.db-prefs .sep{width:1px;height:14px;background:#555}
.db-prefs .hint{color:#999;cursor:default}
@media (max-width:640px){.db-prefs{right:8px;bottom:8px;padding:5px 8px}.db-prefs .hint{display:none}}
