
/* ===== 站长小工具 · 统一顶栏（2026-11-08 第 2 版） ===== */
.tool-bar{position:sticky;top:0;z-index:50;background:#0c0f15;border-bottom:1px solid #232a36}
.tool-bar-inner{max-width:1080px;margin:0 auto;padding:11px 20px;min-height:56px;
  display:flex;align-items:center;gap:12px}
.tool-brand{display:inline-flex;align-items:center;gap:10px;color:#e7ebf3;text-decoration:none;
  font-size:18px;font-weight:700;letter-spacing:.2px;white-space:nowrap;min-width:0}
.tool-icon{width:30px;height:30px;flex:0 0 auto;display:inline-grid;place-items:center;
  border-radius:8px;background:#1d2330;border:1px solid #333c4d;color:#e7ebf3}
.tool-icon svg{width:19px;height:19px}
.tool-tag{font-size:10px;font-weight:700;letter-spacing:.8px;padding:2px 8px;border-radius:999px;
  background:#242c39;color:#c2d4f5;border:1px solid #3a4458}
.tool-spacer{flex:1}
.tool-home{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 14px;
  border:1px solid #3a4458;border-radius:999px;background:#171c25;color:#e7ebf3;
  font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap;transition:.15s}
.tool-home:hover{background:#242c39;border-color:#55627e;color:#fff}
.tool-back{font-size:22px;line-height:1;color:#c2d4f5;text-decoration:none;padding:0 4px}
.tool-title{font-size:17px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:600px){
  .tool-bar-inner{padding:9px 14px;gap:8px;min-height:50px}
  .tool-brand{font-size:15px}
  .tool-tag{display:none}
  .tool-home{padding:0 11px;font-size:12px}
}

/* ===== 我的题库 · 深色补全 + 页面收窄 720px ===== */
html,body{background:#0d1015!important;color:#e7ebf3!important}
.tool-bar-inner{max-width:720px}
.wrap{max-width:720px;margin:0 auto!important}
/* 底部导航是 fixed，用居中变换限宽，保证电脑端与内容同宽、手机端仍满宽 */
.tabbar{left:50%!important;right:auto!important;width:100%;max-width:720px;transform:translateX(-50%);
  background:#0c0f15!important;border-top:1px solid #2c3342!important}
.tabbar a{color:#98a3b8!important}
.tabbar a.on{color:#c2d4f5!important}
.card,.bank-item,.q-card,.stat,.panel,.list-item{background-color:#171c25!important;color:#e7ebf3!important;border-color:#2c3342!important}
.btn{background:#39445c!important;color:#fff!important}
.btn.ghost{background:#11161f!important;color:#e7ebf3!important;border-color:#333c4d!important}
.field input,.field select,.field textarea,.opt,.analysis .body{background:#11161f!important;color:#e7ebf3!important;border-color:#333c4d!important}
.login-box .logo .ic{background:#39445c!important;color:#fff!important}
.stat b{color:#c2d4f5!important}
.item,.q-card{border-color:#2c3342!important}
.muted{color:#98a3b8!important}


/* ===== 补漏 v3：登录/注册页「返回工具箱」统一成胶囊按钮 ===== */
a.muted[href*="51help.top"]{display:inline-flex;align-items:center;justify-content:center;
  height:32px;padding:0 14px;margin-top:12px;border:1px solid #3a4458;border-radius:999px;
  background:#171c25;color:#e7ebf3!important;font-size:13px;font-weight:600;text-decoration:none}
a.muted[href*="51help.top"]:hover{background:#242c39;border-color:#55627e;color:#fff!important}
