/* GIF 工具箱：银色渐变面板 + TAB 切换（与编解码 / 文本 / JSON 工具箱保持一致） */
.gsu-wrap{max-width:1180px;margin:0 auto}
.gsu-head{text-align:center;margin-bottom:18px}
.gsu-head h2{font-size:23px;margin:0 0 8px;color:#111827}
.gsu-head p{font-size:13px;color:#64748b;margin:0;line-height:1.7}
.gsu-tabs{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:18px}
.gsu-tab{border:1px solid #cbd5e1;background:linear-gradient(160deg,#fff,#eef2f7);color:#475569;border-radius:9px;padding:9px 15px;font-size:13px;font-weight:600;cursor:pointer;transition:.16s}
.gsu-tab:hover{border-color:#818cf8;color:#4338ca;background:#f5f3ff}
.gsu-tab.active{background:#4f46e5;border-color:#4f46e5;color:#fff;box-shadow:0 2px 8px rgba(79,70,229,.22)}
.gsu-panel{background:linear-gradient(160deg,#ffffff 0%,#f6f8fb 62%,#eef2f7 100%);border:1px solid #dbe2ec;border-radius:14px;padding:18px 20px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 2px 8px rgba(15,23,42,.05);min-width:0}
.gsu-panel-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;margin-bottom:12px;padding-bottom:9px;border-bottom:1px solid #e2e8f0}
.gsu-panel-head h3{font-size:15px;margin:0;color:#1e293b;white-space:nowrap}
.gsu-panel-head p{font-size:12px;color:#64748b;margin:0;line-height:1.6}
.gsu-host{min-width:0}
.gsu-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:16px;align-items:start}
.gsu-box{min-width:0;background:#fff;border:1px solid #e2e8f0;border-radius:11px;padding:14px}
.gsu-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;align-items:center}
.gsu-field{display:flex;flex-direction:row;align-items:center;gap:6px;min-width:0;font-size:12px;color:#475569}
.gsu-field>span{flex:0 1 auto;min-width:0;max-width:108px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.gsu-field .tool-input,.gsu-field .tool-select{flex:1 1 0;width:auto;min-width:0;box-sizing:border-box}
.gsu-field-wide{grid-column:1/-1}
.gsu-row4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.gsu-row4 .tool-input{width:100%;box-sizing:border-box;min-width:0}
.gsu-subhead{font-size:12px;font-weight:600;color:#475569;margin-top:4px}
.gsu-check{display:flex;align-items:center;gap:7px;font-size:12px;color:#475569;cursor:pointer;grid-column:1/-1}
.gsu-check input{width:15px;height:15px;accent-color:#4f46e5}
.gsu-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.gsu-tip{font-size:11px;color:#94a3b8;line-height:1.7;margin:10px 0 0}
.gsu-progress{font-size:12px;color:#4f46e5;min-height:18px;margin-top:8px}
.gsu-drop{border:1px dashed #a5b4c8;border-radius:10px;background:linear-gradient(160deg,#fbfdff,#f1f5f9);padding:18px 14px;text-align:center;cursor:pointer;transition:.16s;min-width:0}
.gsu-drop:hover,.gsu-drop.over{border-color:#6366f1;background:#eef2ff}
.gsu-drop input[type=file]{display:none}
.gsu-drop b{display:block;font-size:13px;color:#334155;margin-bottom:5px}
.gsu-drop span{display:block;font-size:11px;color:#94a3b8}
.gsu-drop-sm{padding:10px}
.gsu-src{margin-top:12px;min-height:80px;display:flex;align-items:center;justify-content:center}
.gsu-preview{max-width:100%;max-height:260px;border-radius:8px;border:1px solid #e2e8f0;background:#f8fafc}
.gsu-empty{padding:22px;text-align:center;color:#94a3b8;font-size:12px;width:100%;background:#fff;border:1px dashed #dbe2ec;border-radius:9px}
.gsu-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-top:10px}
.gsu-stats>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;min-width:0}
.gsu-stats span{display:block;font-size:11px;color:#94a3b8;margin-bottom:3px}
.gsu-stats b{display:block;font-size:13px;color:#334155;word-break:break-all}
.gsu-frames{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:14px}
.gsu-frame{border:1px solid #e2e8f0;border-radius:9px;background:#fff;padding:8px;text-align:center;min-width:0;display:flex;flex-direction:column;gap:6px}
.gsu-frame img{width:100%;height:110px;object-fit:contain;background:#f8fafc;border-radius:6px}
.gsu-frame>span{font-size:11px;color:#64748b;word-break:break-all}
.gsu-frame-btns{display:flex;gap:5px;justify-content:center}
.gsu-frame-btns button{border:1px solid #cbd5e1;background:#fff;border-radius:7px;color:#475569;font-size:11px;padding:4px 8px;cursor:pointer}
.gsu-frame-btns button:hover{border-color:#6366f1;color:#4338ca;background:#eef2ff}
.gsu-frame-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:8px;margin-top:12px}
.gsu-frame-list .gsu-frame img{height:72px}
.gsu-more-search{margin-bottom:12px}
.gsu-more-search .tool-input{width:100%;box-sizing:border-box}
.gsu-more-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.gsu-more-card{text-align:left;border:1px solid #dbe2ec;border-radius:10px;background:linear-gradient(160deg,#fff,#f6f8fb);padding:12px 14px;cursor:pointer;transition:.15s;min-width:0}
.gsu-more-card:hover{border-color:#818cf8;background:#f5f3ff;transform:translateY(-1px)}
.gsu-more-card b{display:block;font-size:13px;color:#1e293b;margin-bottom:4px}
.gsu-more-card span{display:block;font-size:11px;line-height:1.6;color:#64748b}
.gsu-more-stage{margin-top:4px}
.gsu-local{text-align:center;font-size:11px;line-height:1.7;color:#94a3b8;margin-top:16px;padding:10px 12px;border-top:1px solid #e2e8f0}
.gsu-result .tool-result{margin-top:14px}
@media(max-width:860px){.gsu-tabs{justify-content:flex-start}.gsu-grid{grid-template-columns:1fr}.gsu-tab{flex:1 1 auto;text-align:center}}
@media(max-width:520px){.gsu-panel{padding:14px}.gsu-tab{font-size:12px;padding:8px 10px}.gsu-row4{grid-template-columns:repeat(2,minmax(0,1fr))}.gsu-fields{grid-template-columns:1fr}.gsu-field>span{max-width:140px}}
