/* ToolCMS V3.1.82 (c) ToolWorld https://www.toolworld.cn/ */
*{box-sizing:border-box;margin:0;padding:0}
body{margin:0;padding:0;font-family:inherit;background:transparent;color:var(--text-1,#333);font-size:14px;line-height:1.6}
.images-filter-container{--accent:var(--primary);max-width:100%;margin:0 auto;padding:16px}
.images-filter-head{margin-bottom:14px}
.images-filter-title{font-size:20px;font-weight:700;color:var(--text-1,#333)}
.images-filter-subtitle{font-size:13px;color:var(--text-3,#94a3b8);margin-top:2px}
.images-filter-studio{display:flex;gap:16px;align-items:flex-start}
.images-filter-stage-col{flex:1 1 60%;min-width:0}
.images-filter-drop{border:2px dashed var(--border,#d1d5db);border-radius:var(--radius,14px);padding:18px;text-align:center;cursor:pointer;display:flex;flex-direction:column;gap:2px;transition:border-color .15s,background .15s;background:var(--bg-card,#fff)}
.images-filter-drop:hover,.images-filter-drop.drag{border-color:var(--accent);background:var(--primary-light)}
.images-filter-drop-icon{font-size:26px}
.images-filter-drop-text{font-size:14px;font-weight:600;color:var(--text-1,#333)}
.images-filter-drop-sub{font-size:12px;color:var(--text-3,#94a3b8)}
.images-filter-canvaswrap{position:relative;margin-top:12px;min-height:220px;border-radius:var(--radius,14px);border:1px solid var(--border,#e2e8f0);background:repeating-conic-gradient(var(--border-light,#f1f5f9) 0 25%,var(--bg-card,#fff) 0 50%) 0 0/18px 18px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.images-filter-canvaswrap canvas{max-width:100%;max-height:380px;display:none}
.images-filter-canvaswrap.has-img canvas{display:block}
.images-filter-stage-empty{font-size:13px;color:var(--text-3,#94a3b8);padding:40px 12px;text-align:center}
.images-filter-canvaswrap.has-img .images-filter-stage-empty{display:none}
.images-filter-info{margin-top:8px;font-size:12px;color:var(--text-2,#555);min-height:18px}
.images-filter-console{flex:0 0 300px;background:var(--bg-card,#fff);border:1px solid var(--border,#e2e8f0);border-radius:var(--radius,14px);padding:16px}
.images-filter-console-title{font-size:13px;font-weight:700;color:var(--text-2,#555);letter-spacing:1px;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--border-light,#f1f5f9)}
.images-filter-slider{margin-bottom:14px}
.images-filter-slider-head{display:flex;justify-content:space-between;font-size:13px;color:var(--text-2,#555);margin-bottom:6px}
.images-filter-slider-head b{color:var(--accent);font-variant-numeric:tabular-nums}
.images-filter-slider input[type=range]{width:100%;accent-color:var(--accent);height:22px;cursor:pointer}
.images-filter-chips-label{font-size:12px;color:var(--text-3,#94a3b8);margin:14px 0 8px}
.images-filter-chips{display:flex;flex-wrap:wrap;gap:8px}
.images-filter-chip{border:1px solid var(--border,#d1d5db);background:var(--bg-soft,#f8fafc);color:var(--text-2,#555);border-radius:999px;padding:5px 12px;font-size:12px;cursor:pointer;transition:all .15s}
.images-filter-chip:hover{border-color:var(--accent);color:var(--accent)}
.images-filter-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.images-filter-btn{padding:9px 18px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);background:var(--bg-card,#fff);color:var(--text-1,#333);cursor:pointer;font-size:13px;transition:background .15s}
.images-filter-btn:hover{background:var(--primary-light)}

.images-filter-btn-primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}
.images-filter-btn-primary:hover{filter:brightness(1.08);background:var(--accent)}

.images-filter-message{margin-top:10px;padding:8px 12px;border-radius:var(--radius-sm,8px);font-size:13px;display:none}
.images-filter-message.show{display:block}
.images-filter-message.success{background:var(--primary-light);color:var(--accent)}
.images-filter-message.error{background:var(--error-bg,#fee2e2);color:var(--error,#991b1b)}
.images-filter-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:12px;border-top:1px solid var(--border-light,#f1f5f9);font-size:12px;color:var(--text-3,#94a3b8)}
.images-filter-footer-right{margin-left:auto}
@media(max-width:640px){
  .images-filter-studio{flex-direction:column}
  .images-filter-console{flex:1 1 auto;width:100%}
  .images-filter-btn{flex:1 1 auto;text-align:center}
  .images-filter-footer{flex-direction:column;gap:4px;text-align:center}
}
