*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:#f5f7fa;color:#2b3440;line-height:1.6}
a{text-decoration:none;color:inherit}
.wrap{max-width:900px;margin:0 auto;padding:0 18px}
header{background:#fff;border-bottom:1px solid #eef1f5;padding:16px 0;position:sticky;top:0;z-index:100}
header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo{font-size:16px;font-weight:700;color:#16a085}
.back{font-size:13px;color:#8a95a3;border:1px solid #eef1f5;padding:6px 14px;border-radius:20px;transition:.2s}
.back:hover{border-color:#16a085;color:#16a085}
.crumb{font-size:13px;display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:15px 0}
.crumb a{color:#66737f;text-decoration:none;transition:color .16s}
.crumb a:hover{color:#16a085}
.crumb a+a::before{content:"\203A";color:#c5ced8;margin-right:7px;font-size:14px;font-weight:400}
.crumb .cur{color:#16a085;font-weight:600}
.crumb .cur::before{content:"\203A";color:#c5ced8;margin-right:7px;font-size:14px;font-weight:400}
h1{font-size:24px;font-weight:700;margin:8px 0 6px}
.sub{color:#8a95a3;font-size:13.5px;margin-bottom:24px}
.drop:hover,.drop.over{border-color:#16a085;background:rgba(22,160,133,.04)}
.note{background:#f8fafc;border-left:3px solid #16a085;padding:14px 18px;border-radius:0 8px 8px 0;font-size:13px;color:#5a6672;line-height:1.9;margin-top:20px}
.note strong{color:#16a085}
footer{text-align:center;padding:28px 16px;color:#a8b2bd;font-size:12px;border-top:0;background:transparent;margin-top:40px;line-height:2}
footer .fbeian{margin-top:6px;font-size:12px}
footer .fbeian a{color:#a8b2bd;text-decoration:none}
footer .fbeian a:hover{color:#16a085}
footer .fstat{display:inline-flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:8px;font-size:12.5px;color:#8a95a3}
footer .fstat i{font-style:normal;display:inline-flex;align-items:center;gap:5px}
footer .fstat b{color:#16a085;font-weight:600}
footer .fstat .dot{width:3px;height:3px;border-radius:50%;background:#d8e0e8}
footer .fstat svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* ===== 虫库工具箱侧边栏（默认展开 200px，可收起 60px）===== */
body{overflow-x:hidden}
/* 顶部栏 */
.sbl-header{background:#fff;border-bottom:1px solid #eef1f5;height:58px;display:flex;align-items:center;
padding:0 20px;position:fixed;top:0;left:0;right:0;z-index:300;gap:14px}
.sbl-brand{font-size:16px;font-weight:700;color:#16a085;display:flex;align-items:center;gap:9px;white-space:nowrap;text-decoration:none}
.sbl-brand .mark{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,#16a085,#0e8f74);
display:flex;align-items:center;justify-content:center;flex:0 0 30px}
.sbl-brand .mark svg{width:17px;height:17px}
.sbl-srch{flex:1;max-width:400px;position:relative}
.sbl-srch input{width:100%;padding:9px 14px 9px 38px;border:1px solid #e0e6ed;border-radius:9px;font-size:13.5px;
outline:none;background:#fafbfd;transition:.2s}
.sbl-srch input:focus{border-color:#16a085;background:#fff}
.sbl-srch .si{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:15px;height:15px;opacity:.4}
.sbl-toplinks{display:flex;gap:9px;margin-left:auto}
.sbl-tlink{font-size:13px;color:#8a95a3;border:1px solid #eef1f5;padding:6px 13px;border-radius:18px;transition:.2s;white-space:nowrap;text-decoration:none}
.sbl-tlink:hover{border-color:#16a085;color:#16a085}
.sbl-menubtn{display:none;width:38px;height:38px;border:1px solid #eef1f5;border-radius:9px;background:#fff;
align-items:center;justify-content:center;cursor:pointer;flex:0 0 38px}
.sbl-menubtn svg{width:18px;height:18px;stroke:#2b3440;stroke-width:2;fill:none;stroke-linecap:round}
/* ===== 侧边栏 ===== */
.sbl-aside{position:fixed;top:58px;bottom:0;left:0;width:auto;z-index:260;padding:10px 8px;display:flex;flex-direction:column}
.sbl-body{background:#fff;border:1px solid #eef1f5;border-radius:13px;box-shadow:0 2px 12px rgba(0,0,0,.05);
display:flex;flex-direction:column;overflow:hidden;width:60px;max-height:100%;height:100%;
transition:width .25s ease,box-shadow .25s ease}
.sbl-body:hover{width:200px;box-shadow:0 6px 24px rgba(0,0,0,.1)}
.sbl-body.sbl-pin{width:200px;box-shadow:0 6px 24px rgba(0,0,0,.1)}
.sbl-ul{flex:1;overflow-y:auto;overflow-x:hidden;padding:6px;margin:0;list-style:none}
.sbl-ul::-webkit-scrollbar{width:4px}
.sbl-ul::-webkit-scrollbar-thumb{background:#e4e9ef;border-radius:2px}
.sbl-bottom{padding:6px;border-top:1px solid #f2f5f8;flex:0 0 auto}
/* 菜单项 */
.sbl-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;
color:#5a6672;font-size:13.5px;text-decoration:none;white-space:nowrap;
transition:background .2s,color .2s;position:relative}
.sbl-item:hover{background:#f2f8f6;color:#16a085}
.sbl-item.active{background:rgba(22,160,133,.09);color:#16a085;font-weight:600}
.sbl-item.active::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);
width:3px;height:18px;background:#16a085;border-radius:0 3px 3px 0}
.sbl-item i{font-style:normal;flex:0 0 20px;width:20px;height:20px;display:flex;align-items:center;justify-content:center}
.sbl-item i svg{width:17px;height:17px;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}
.sbl-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition:opacity .15s}
.sbl-item .sbl-cnt{margin-left:auto;font-style:normal;font-size:11px;color:#b8c2cc;flex:0 0 auto;opacity:0;transition:opacity .15s}
/* hover / pin：显示文字 */
.sbl-body:hover .sbl-item span,
.sbl-body:hover .sbl-item .sbl-cnt,
.sbl-body:hover .sbl-group,
.sbl-body:hover .sbl-toggle span,
.sbl-body.sbl-pin .sbl-item span,
.sbl-body.sbl-pin .sbl-item .sbl-cnt,
.sbl-body.sbl-pin .sbl-group,
.sbl-body.sbl-pin .sbl-toggle span{opacity:1;visibility:visible;overflow:visible}
/* 收起态分组标题压成细分隔线 */
.sbl-body:not(:hover):not(.sbl-pin) .sbl-group{height:6px;padding:0;overflow:hidden}
.sbl-body:not(:hover):not(.sbl-pin) .sbl-item span,
.sbl-body:not(:hover):not(.sbl-pin) .sbl-item .sbl-cnt,
.sbl-body:not(:hover):not(.sbl-pin) .sbl-group,
.sbl-body:not(:hover):not(.sbl-pin) .sbl-toggle span{visibility:hidden}
/* 分组标题 */
.sbl-group{padding:12px 10px 4px;font-size:10.5px;font-weight:700;color:#b8c2cc;letter-spacing:.6px;
white-space:nowrap;transition:opacity .15s}
/* 收起/展开按钮 */
.sbl-toggle{width:100%;display:flex;align-items:center;gap:10px;padding:9px 10px;border:none;
background:transparent;border-radius:9px;color:#8a95a3;font-size:13px;cursor:pointer;
transition:background .2s;font-family:inherit;white-space:nowrap}
.sbl-toggle:hover{background:#f2f8f6;color:#16a085}
.sbl-toggle i{font-style:normal;flex:0 0 20px;display:flex;align-items:center;justify-content:center}
.sbl-toggle i svg{width:17px;height:17px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.sbl-toggle span{transition:opacity .15s}
/* ===== 主内容区 ===== */
.sbl-main{margin-left:78px;padding-top:58px;min-height:100vh;transition:margin-left .25s}
body.sbl-pinned .sbl-main{margin-left:218px}
.sbl-inner{padding:22px 26px 60px;max-width:1440px;margin:0 auto}
/* ===== 移动端 ===== */
.sbl-mask{display:none;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:255}
@media(max-width:900px){
  .sbl-aside{width:230px;transform:translateX(-110%);transition:transform .25s;padding:10px 0 10px 8px}
  .sbl-aside.open{transform:translateX(0)}
  .sbl-body{width:230px!important;border-radius:13px 0 0 13px;border-right:none}
  .sbl-body .sbl-item span,
  .sbl-body .sbl-item .sbl-cnt,
  .sbl-body .sbl-group,
  .sbl-body .sbl-toggle span{opacity:1!important;visibility:visible!important;overflow:visible!important}
  .sbl-body .sbl-group{height:auto!important;padding:12px 10px 4px!important}
  .sbl-toggle{display:none}
  .sbl-mask.show{display:block}
  .sbl-main{margin-left:0!important}
  .sbl-inner{padding:18px 16px 50px}
  .sbl-menubtn{display:flex}
  .sbl-srch{max-width:none}
  .sbl-toplinks 
  .tools{grid-template-columns:1fr 1fr!important}
}
@media(max-width:560px){
  .tools{grid-template-columns:1fr!important}
  .sbl-header{padding:0 12px;gap:10px}
  .sbl-inner{padding:14px 12px 40px}
  .pageh1{font-size:19px}
  .cat{padding:14px 14px}
}
@media(max-width:520px){.sbl-brand span{display:none}.sbl-toplinks{display:none}}
.seo-block{background:#fff;border:1px solid #eef1f5;border-radius:14px;padding:22px;margin-bottom:18px}
.seo-block h2{font-size:16px;font-weight:700;margin:0 0 14px;color:#2b3440;display:flex;align-items:center;gap:8px}
.seo-block h2::before{content:'';width:3px;height:15px;background:#16a085;border-radius:2px}
.seo-block p{font-size:13.5px;color:#5a6672;line-height:1.95;margin:0}
.seo-block p b{color:#2b3440;font-weight:600}
.steps{list-style:none;counter-reset:s;padding:0;margin:0 0 14px}
.steps li{counter-increment:s;position:relative;padding:0 0 0 34px;margin-bottom:12px;
font-size:13.5px;color:#5a6672;line-height:1.85}
.steps li:last-child{margin-bottom:0}
.steps li::before{content:counter(s);position:absolute;left:0;top:1px;width:22px;height:22px;
background:rgba(22,160,133,.1);color:#16a085;font-size:12px;font-weight:700;
border-radius:50%;display:flex;align-items:center;justify-content:center}
.scene{background:#f8fafc;border-left:3px solid #16a085;padding:12px 16px;
border-radius:0 8px 8px 0;font-size:13px;color:#5a6672;line-height:1.9;margin-top:4px!important}
.rel-links{display:flex;flex-wrap:wrap;gap:9px}
.rel-links a{font-size:13px;color:#5a6672;background:#f8fafc;border:1px solid #eef1f5;
padding:7px 14px;border-radius:8px;transition:.2s}
.rel-links a:hover{border-color:#16a085;color:#16a085;background:rgba(22,160,133,.05)}
@media(max-width:600px){.seo-block{padding:16px}.steps li{font-size:13px;padding-left:30px}}
.faq-list{margin:0}
.faq-item{border-bottom:1px solid #f1f4f7;padding:13px 0}
.faq-item:last-child{border-bottom:none;padding-bottom:0}
.faq-item dt{font-size:13.5px;font-weight:600;color:#2b3440;margin-bottom:7px;
position:relative;padding-left:22px}
.faq-item dt::before{content:'Q';position:absolute;left:0;top:0;width:16px;height:16px;
background:rgba(22,160,133,.12);color:#16a085;font-size:10px;font-weight:700;
border-radius:4px;display:flex;align-items:center;justify-content:center}
.faq-item dd{font-size:13.5px;color:#5a6672;line-height:1.9;margin:0 0 0 22px}
@media(max-width:600px){.faq-item dt,.faq-item dd{font-size:13px}}
.disc-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:15px;border-top:1px dashed #d8e0e8;font-size:13px}
.disc-links a{color:#0b8a72;text-decoration:none;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:#eef7f5;border-radius:20px;transition:all .18s;font-weight:500}
.disc-links a:hover{background:#16a085;color:#fff}
.disc-links a::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex:0 0 auto;opacity:.65}
.disc-links .dot{display:none}
.btn:active{transform:translateY(0);box-shadow:none}
input[type=text],input[type=number],input[type=email],input[type=search],input:not([type]),select,textarea{width:100%;padding:10px 14px;border:1px solid #e0e6ed;border-radius:9px;font-size:13.5px;font-family:inherit;background:#fafbfd;color:#2b3440;outline:none;transition:border-color .2s,background .2s,box-shadow .2s}
input:focus,select:focus,textarea:focus{border-color:#16a085;background:#fff;box-shadow:0 0 0 3px rgba(22,160,133,.11)}
input::placeholder,textarea::placeholder{color:#b6c0cb}
input[readonly]{background:#f5f7fa;color:#5a6672}
select{cursor:pointer;padding-right:34px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a95a3' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
label{font-size:12.5px;font-weight:600;color:#5a6672;margin-bottom:6px;display:block}
.field{margin-bottom:14px}
input[type=range]{width:100%;accent-color:#16a085;cursor:pointer}
input[type=checkbox],input[type=radio]{width:auto;cursor:pointer;accent-color:#16a085}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 22px;background:#16a085;color:#fff;border:1px solid #16a085;border-radius:9px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s,transform .15s,box-shadow .2s;font-family:inherit;line-height:1.4}
.btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.btn:hover{background:#128a72;border-color:#128a72;transform:translateY(-1px);box-shadow:0 3px 10px rgba(22,160,133,.26)}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.btn.ghost{background:#fff;color:#5a6672;border:1px solid #dfe5ec}
.btn.ghost:hover{background:#fff;color:#16a085;border-color:#16a085;box-shadow:0 3px 10px rgba(22,160,133,.14)}
.btn.ghost:disabled{color:#a8b2bd;border-color:#e8edf2}
.btns{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:6px}
.seo-block p,.seo-block li,.faq dd,.seo-sec p{color:#4a5561}
.note{color:#4a5561}
/* ===== W3 几何光晕壁纸 ===== */
body{
  background-color:#eef2f7!important;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(22,160,133,.13) 0, transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(102,126,234,.13) 0, transparent 40%),
    radial-gradient(circle at 68% 78%, rgba(241,64,75,.10) 0, transparent 44%),
    radial-gradient(circle at 25% 88%, rgba(255,167,38,.11) 0, transparent 38%)!important;
  background-attachment:fixed!important;
  background-repeat:no-repeat!important;
}
/* ===== 区块间距（解决贴边） ===== */
.seo-block{margin-bottom:22px!important}
.seo-block:last-of-type{margin-bottom:0}
/* ===== 相关工具美化 ===== */
.rel-links{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(196px,1fr))!important;gap:11px!important}
.rel-links a{
  display:flex!important;align-items:center!important;gap:11px!important;
  padding:13px 15px!important;background:#fafcfd!important;
  border:1.5px solid #eef3f7!important;border-radius:11px!important;
  color:#2b3440!important;text-decoration:none!important;
  font-size:13.5px!important;font-weight:500!important;
  transition:all .18s ease!important;position:relative!important;
  overflow:hidden!important}
.rel-links a::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:3px;
  background:#16a085;transform:scaleY(0);transition:transform .2s ease;transform-origin:center}
.rel-links a::after{
  content:'›';margin-left:auto;color:#c9d2da;font-size:17px;line-height:1;
  transition:all .18s ease;flex:0 0 auto}
.rel-links a:hover{
  background:#fff!important;border-color:#c9e9e0!important;
  box-shadow:0 4px 14px rgba(22,160,133,.11)!important;
  transform:translateY(-2px)!important;color:#0d8a6f!important}
.rel-links a:hover::before{transform:scaleY(1)}
.rel-links a:hover::after{color:#16a085;transform:translateX(3px)}
/* 移动端：相关工具单列更宽松 */
@media(max-width:560px){
  .rel-links{grid-template-columns:1fr!important;gap:9px!important}
  .rel-links a{padding:12px 14px!important}
  .seo-block{margin-bottom:16px!important}
}
/* 表单对齐：label 固定行高，输入框底部对齐 */
.field{display:flex;flex-direction:column;justify-content:flex-end}
.field label{min-height:19px;line-height:19px}
.field input,.field select,.field textarea{width:100%;box-sizing:border-box}
.row2,.row3{align-items:end}
/* 去白底：内容区块不再用白卡片（工具页/相关页的「友情链接」「相关链接」等），保留工具卡与工具页输入输出面板 */
.seo-block,.seo-sec{background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;padding:6px 0!important;margin-bottom:26px!important}
.seo-block h2,.seo-sec h2{margin-bottom:10px}

/* 页脚：行内间距与行距 */
footer .fnav a{margin:0 10px}
footer .fnav{margin-bottom:6px}
footer .flx{margin-bottom:10px}

/* 页脚底行：导航与备案同行平齐 */
footer .fbot{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 18px;margin:4px 0 2px}
footer .fbot .fnav{margin:0}
footer .fbot .fbeian{margin:0}

h3{font-size:14.5px;font-weight:600;color:#2b3440;margin:0 0 12px;line-height:1.5;letter-spacing:.01em}
.seo-block h3{font-size:14px;font-weight:600;color:#2b3440;margin:18px 0 10px}
@media(max-width:600px){h1{font-size:21px}h2{font-size:15px}h3{font-size:14px}}

img,canvas,video{max-width:100%}
img,video{height:auto}

/* 统一上传区（图片类工具）*/
.upbox{position:relative;border:2px dashed #d5dde5;border-radius:12px;background:#fafbfd;
  min-height:150px;display:flex;align-items:center;justify-content:center;text-align:center;
  cursor:pointer;transition:.2s;overflow:hidden}
.upbox:hover{border-color:#16a085;background:#f4fbf9}
.upbox.has-img{border-style:solid;border-color:#e6ebf0;background:#f2f4f7;cursor:default;padding:10px}
.upbox .ph{font-size:14px;font-weight:600;color:#5b6674;padding:0 16px}
.upbox .ph small{display:block;font-weight:400;color:#a8b2bd;margin-top:6px;font-size:12.5px}
.upbox img{max-width:100%;width:auto;height:auto;max-height:60vh;object-fit:contain;display:block;margin:0 auto;border-radius:10px}
.upbox .x{position:absolute;top:8px;right:8px;width:30px;height:30px;border:0;border-radius:50%;
  background:rgba(43,52,64,.72);color:#fff;font-size:16px;line-height:1;cursor:pointer;display:none;
  align-items:center;justify-content:center;padding:0}
.upbox.has-img .x{display:flex}
.upbox .x:hover{background:#e17055}
.upbox input[type=file]{display:none}
.thumbgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;width:100%;align-items:center;justify-items:center}
.thumbgrid .thumb{position:relative;border-radius:10px;overflow:hidden;background:#eef1f5;line-height:0}
.thumbgrid .thumb img{display:block;max-width:100%;width:auto;height:auto;margin:0 auto;object-fit:contain;border-radius:10px}
.thumbgrid .thumb .x{width:22px;height:22px;font-size:13px;top:2px;right:2px}
#lightbox{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(18,22,27,.93);display:none;
  z-index:9999;align-items:center;justify-content:center;padding:10px;cursor:zoom-out}
#lightbox img{max-width:100%;max-height:100%;width:auto;height:auto;border-radius:6px;
  box-shadow:0 10px 44px rgba(0,0,0,.55);background:#fff}
@media(min-width:700px){.thumbgrid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.upbox{min-height:220px}}

.empty{border:2px dashed #d5dde5;border-radius:12px;background:#fafbfd;padding:28px 14px;
  text-align:center;color:#5b6674;font-size:14px;font-weight:600;cursor:pointer;transition:.2s;width:100%}
.empty:hover{border-color:#16a085;background:#f4fbf9}
.empty small{display:block;margin-top:6px;font-size:12.5px;font-weight:400;color:#a8b2bd}
.addbtn{display:none;align-items:center;gap:7px;margin-top:10px;padding:9px 16px;
  border:1px dashed #16a085;border-radius:10px;background:#f4fbf9;color:#16a085;
  font-size:13.5px;font-weight:600;cursor:pointer}
.addbtn.on{display:inline-flex}
.addbtn:hover{background:#e8f7f3}
.addbtn i{width:14px;height:14px;position:relative;display:inline-block}
.addbtn i:before,.addbtn i:after{content:'';position:absolute;background:#16a085;border-radius:2px}
.addbtn i:before{left:6px;top:0;width:2px;height:14px}
.addbtn i:after{left:0;top:6px;width:14px;height:2px}
input[type=file]{display:none}

.upbox:not(.has-img){display:block;border:2px dashed #d5dde5;background:#fafbfd;padding:34px 14px;
  min-height:0;cursor:pointer;transition:.2s;text-align:center}
.upbox:not(.has-img) .thumbgrid{display:none}
.upbox .empty{display:block;margin:0 auto}
.upbox:not(.has-img):hover{border-color:#16a085;background:#f4fbf9}
.upbox .empty{border:0;background:transparent;padding:0;margin:0;width:auto;
  text-align:center;color:#5b6674;font-size:14px;font-weight:600;cursor:pointer}
.upbox .empty small{display:block;margin-top:6px;font-size:12.5px;font-weight:400;color:#a8b2bd}
