:root{color-scheme:light;--bg: #f7f9fc;--card: rgba(255, 255, 255, .76);--card-strong: rgba(255, 255, 255, .9);--border: rgba(148, 163, 184, .24);--text: #111827;--muted: #64748b;--soft-muted: #94a3b8;--blue: #2563eb;--purple: #6d5dfc;--danger: #dc2626;--ok: #059669;--control-height: 38px}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{overflow:hidden;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:radial-gradient(circle at 8% 0%,rgba(37,99,235,.12),transparent 34rem),radial-gradient(circle at 92% 4%,rgba(124,58,237,.1),transparent 34rem),linear-gradient(180deg,#f1f5f95c,#f8fafce0),var(--bg)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{min-height:var(--control-height);border:1px solid transparent;border-radius:999px;padding:.58rem .88rem;cursor:pointer;background:transparent;color:var(--text);font-size:.88rem;font-weight:700;box-shadow:none;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease}button:not(:disabled):hover{transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none;transform:none}input,select,textarea{width:100%;border:1px solid var(--border);border-radius:.85rem;padding:.62rem .72rem;background:#ffffffc7;color:var(--text);font-size:.9rem}.control-input,.command-field input,.command-field select{height:var(--control-height);border-radius:12px;border:1px solid var(--border);background:#ffffffe6;padding:0 12px;color:var(--text);font-size:.86rem;font-weight:700}.command-field select{max-width:140px;appearance:none;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:30px}.command-field input:hover,.command-field select:hover{border-color:#2563eb47}.command-field input:focus,.command-field select:focus,.base64-output-card textarea:focus{outline:none;border-color:#2563eb73;box-shadow:0 0 0 3px #2563eb17}textarea{min-height:220px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem}.app-shell{width:100%;height:100vh;padding:10px;display:flex;flex-direction:column;gap:10px;overflow:hidden}.app-header{width:100%;min-height:58px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem .85rem;border:1px solid var(--border);border-radius:1.2rem;background:var(--card);backdrop-filter:blur(18px);box-shadow:0 18px 40px #0f172a0f}.brand{display:flex;align-items:center;gap:.75rem;min-width:0}.brand small,.sidebar-title span,.tool-copy small,.preview-card-head small,.hint,.privacy-line{color:var(--muted)}.brand-mark{width:38px;height:38px;flex-shrink:0;display:grid;place-items:center;border-radius:1rem;color:#fff;font-size:.74rem;font-weight:900;background:linear-gradient(135deg,var(--blue),var(--purple))}.brand span:last-child{display:grid;min-width:0}.top-nav{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.top-nav a{padding:.55rem .8rem;border-radius:999px;color:var(--muted)}.top-nav a:hover{background:#2563eb14;color:var(--blue)}.workbench{flex:1;width:100%;min-height:0;display:grid;gap:10px;align-items:stretch}.layout-with-sidebar{grid-template-columns:310px minmax(0,1fr) 330px}.mobile-tool-switcher,.mobile-inspector,.footer-network-links{display:none}.panel{min-height:0;border:1px solid var(--border);border-radius:24px;background:var(--card);backdrop-filter:blur(18px);box-shadow:0 18px 44px #0f172a0e}.sidebar,.main-panel,.inspector{min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(100,116,139,.35) transparent}.sidebar::-webkit-scrollbar,.main-panel::-webkit-scrollbar,.inspector::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-thumb,.main-panel::-webkit-scrollbar-thumb,.inspector::-webkit-scrollbar-thumb{border-radius:999px;background:#64748b47}.sidebar::-webkit-scrollbar-track,.main-panel::-webkit-scrollbar-track,.inspector::-webkit-scrollbar-track{background:transparent}.sidebar{padding:1rem;background:#ffffffc2}.sidebar-title{display:grid;gap:.25rem;margin-bottom:1rem}.tool-search{margin-bottom:1rem}.search-wrap{position:relative;margin-bottom:1rem}.search-wrap:before{content:"⌕";position:absolute;left:12px;top:50%;z-index:1;transform:translateY(-50%);color:var(--muted);font-size:.9rem;pointer-events:none}.tool-search{height:var(--control-height);margin-bottom:0;padding-left:34px;border-radius:14px;background:#ffffffdb;border:1px solid var(--border);font-size:.86rem}.tool-search:focus{outline:none;border-color:#2563eb6b;box-shadow:0 0 0 3px #2563eb14}.tool-empty{border:1px dashed var(--border);border-radius:14px;padding:.75rem;color:var(--muted);background:#ffffff94;font-size:.86rem;text-align:center}.tool-group{margin:1rem 0}.tool-group h3{margin:0 0 .55rem;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.tool-list{display:grid;gap:.42rem}.tool-nav-item{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:.55rem;min-height:56px;padding:.54rem;border-radius:16px;border:1px solid transparent;transition:background .14s ease,border-color .14s ease,box-shadow .14s ease}.tool-nav-item:hover,.tool-nav-item.active{background:linear-gradient(135deg,#4f46e514,#2563eb0b);border-color:#2563eb2e}.tool-nav-item.active{border-color:#4f46e542;box-shadow:inset 0 0 0 1px #4f46e514,0 10px 20px #4f46e50e}.tool-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#2563eb1f,#6d5dfc1a);color:var(--blue);font-weight:900}.tool-copy{display:grid;gap:.1rem;min-width:0}.tool-copy strong{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;font-size:.9rem;line-height:1.18;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:1}.tool-copy small{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;color:#64748bd1;font-size:.76rem;opacity:.84;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:1}.badge-ready,.badge-soon{font-style:normal;font-size:.58rem;border-radius:999px;padding:.18rem .38rem}.badge-ready{background:#0596691f;color:var(--ok)}.badge-soon{background:#64748b24;color:var(--muted)}.main-panel{padding:.85rem}.home-hero,.home-page,.content-page,.tool-runtime{display:grid;gap:1rem;align-content:start}.tool-runtime{gap:.62rem}.image-tool-runtime{height:100%;grid-template-rows:auto auto minmax(260px,1fr) auto;align-content:stretch}.base64-runtime{height:100%;grid-template-rows:auto auto minmax(0,1fr);align-content:stretch}.compact-tool-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:48px;padding:2px 2px 6px}.tool-heading-main{min-width:0}.compact-tool-heading h1{margin:0;font-size:clamp(1.75rem,2.1vw,2.25rem);line-height:1.08;letter-spacing:-.028em;font-weight:800}html[lang=zh] .compact-tool-heading h1{font-size:clamp(1.7rem,2vw,2.1rem);font-weight:800}.compact-tool-heading p{margin:4px 0 0;color:var(--muted);font-size:.88rem;line-height:1.45}.tool-status-pill{flex-shrink:0;border-radius:999px;padding:.32rem .58rem;color:var(--ok);background:#0596691f;font-size:.7rem;font-weight:800}.tool-status-pill.soon{color:var(--muted);background:#64748b24}.eyebrow{margin:0;color:var(--blue);font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800}h1{margin:0;max-width:980px;font-size:clamp(2rem,5vw,4.8rem);line-height:.96;letter-spacing:-.06em}.home-hero h1{font-size:clamp(2.35rem,4.2vw,4.2rem);line-height:1}.home-page{gap:.85rem}.home-hero{position:relative;overflow:hidden;min-height:210px;align-content:center;border:1px solid rgba(37,99,235,.12);border-radius:22px;padding:1.25rem;background:linear-gradient(135deg,#2563eb1f,#7c3aed12 46%,#ffffffe0),var(--card-strong)}.home-hero:after{content:"";position:absolute;right:-4rem;bottom:-5rem;width:18rem;height:18rem;border-radius:999px;background:radial-gradient(circle,rgba(37,99,235,.13),transparent 68%);pointer-events:none}.home-hero>*{position:relative;z-index:1}.home-hero>p:last-child{max-width:720px;font-size:1rem}.home-section{display:grid;gap:.7rem}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.section-heading h2{margin:0}.section-heading a{border:1px solid rgba(37,99,235,.16);border-radius:999px;padding:.42rem .65rem;background:#2563eb0f;color:var(--blue);font-size:.8rem;font-weight:900}.home-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.home-tool-card{display:grid;gap:.5rem;min-height:160px;align-content:start;border:1px solid var(--border);border-radius:18px;padding:.9rem;background:#ffffffc7}.home-tool-card:hover{border-color:#2563eb47;background:#ffffffeb;box-shadow:0 16px 34px #2563eb14;transform:translateY(-1px)}.home-tool-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--purple));font-weight:900}.home-tool-card strong{color:var(--text);font-size:.98rem}.home-tool-card small{color:var(--muted);font-size:.84rem;line-height:1.45}.home-tool-card em{width:max-content;border-radius:999px;padding:.25rem .48rem;background:#0596691f;color:var(--ok);font-size:.66rem;font-style:normal;font-weight:900}.privacy-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}.privacy-strip span{min-height:54px;display:flex;align-items:center;gap:.45rem;border:1px solid rgba(37,99,235,.1);border-radius:16px;padding:.7rem;background:#ffffffb8;color:var(--text);font-size:.86rem;font-weight:800}.privacy-strip span:before{content:"";width:.48rem;height:.48rem;flex:0 0 auto;border-radius:999px;background:linear-gradient(135deg,var(--blue),var(--purple))}.soon-preview{border:1px solid var(--border);border-radius:18px;padding:.85rem;background:#ffffff94}.soon-preview-list{display:flex;flex-wrap:wrap;gap:.5rem}.soon-preview-list a{border:1px solid var(--border);border-radius:999px;padding:.5rem .68rem;background:#ffffffc7;color:var(--text);font-size:.82rem;font-weight:800}.soon-preview-list a:hover{border-color:#2563eb3d;color:var(--blue);background:#2563eb0e}h2{margin:0 0 .6rem;font-size:1rem}.home-hero>p,.content-page>p,.inspector p{max-width:760px;color:var(--muted);line-height:1.65}.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.featured-card{min-height:150px;display:grid;gap:.5rem;align-content:start;padding:1rem;border:1px solid var(--border);border-radius:1.4rem;background:var(--card-strong)}.featured-card:hover{border-color:#2563eb4d;box-shadow:0 18px 38px #2563eb14;transform:translateY(-1px)}.featured-card span{width:42px;height:42px;display:grid;place-items:center;border-radius:1rem;color:#fff;font-weight:900;background:linear-gradient(135deg,var(--blue),var(--purple))}.featured-card small{color:var(--muted);line-height:1.45}.quick-start-card{display:grid;gap:.65rem;padding:.85rem;border:1px solid var(--border);border-radius:18px;background:var(--card-strong)}.quick-start-card h2,.quick-start-card p{margin:0}.quick-start-card p{color:var(--muted);line-height:1.45;font-size:.9rem}.quick-start-actions{display:flex;flex-wrap:wrap;gap:.55rem}.quick-start-actions a{border:1px solid var(--border);border-radius:14px;padding:.58rem .72rem;background:#2563eb0e;color:var(--blue);font-size:.86rem;font-weight:800}.quick-start-actions a:hover{border-color:#2563eb4d;background:#2563eb1a}.command-bar,.base64-command-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px;border:1px solid var(--border);border-radius:20px;background:#ffffffc2;box-shadow:inset 0 1px #ffffffb8}.command-controls{display:flex;align-items:center;flex:1 1 auto;flex-wrap:wrap;gap:10px;min-width:0}.command-field{display:grid;gap:4px;min-width:132px}.field-group{display:grid;gap:4px}.dimension-fields,.crop-fields{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.field-group.has-error input{border-color:#dc262661;box-shadow:0 0 0 3px #dc262614}.command-field.compact{min-width:96px}.command-field.mini{min-width:78px}.command-field.mini input{width:82px}.command-field.wide{min-width:220px;flex:1}.format-field{min-width:190px}.command-label,.command-field label{color:var(--muted);font-size:.74rem;font-weight:800}.command-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.btn-primary{border:0;background:linear-gradient(135deg,var(--blue),var(--purple));color:#fff;box-shadow:0 10px 22px #4f46e52e}.command-check{display:flex;align-items:center;gap:.45rem;min-height:40px;color:var(--text);font-size:.88rem;font-weight:700}.command-check input{width:auto;height:auto;accent-color:var(--blue)}.scale-group,.quality-control{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.scale-group{min-height:var(--control-height)}.quality-control input[type=range]{width:min(340px,28vw);flex:1 1 180px}.command-chip-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.command-chip-row button,.btn-secondary,.btn-ghost-danger,.base64-tab,.segmented-control button{min-height:34px;border:1px solid rgba(148,163,184,.28);background:#ffffffd1;color:var(--text);box-shadow:none}.segmented-control{min-height:36px;display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:3px;border:1px solid var(--border);border-radius:999px;background:#f1f5f9b8}.segmented-control button{min-height:28px;border-color:transparent;border-radius:999px;padding:.34rem .58rem;font-size:.78rem;font-weight:800}.command-chip-row button{padding:.48rem .65rem;font-size:.82rem}.command-chip-row button.active,.base64-tab.active,.segmented-control button.active{border-color:#2563eb47;color:var(--blue);background:#2563eb17}.command-chip-row button:hover,.btn-secondary:hover,.btn-ghost-danger:hover,.base64-tab:hover,.segmented-control button:hover{border-color:#2563eb4d;color:var(--blue);background:#2563eb0f}.transform-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.transform-button{height:36px;min-height:36px;padding:0 13px;border:1px solid rgba(79,70,229,.22);border-radius:999px;background:linear-gradient(180deg,#fffffff5,#f5f7ffe6);color:var(--text);font-size:.84rem;font-weight:850;box-shadow:0 8px 18px #0f172a0f}.transform-button.primary-action{color:#3730a3;border-color:#4f46e542;background:linear-gradient(135deg,#4f46e521,#2563eb14)}.transform-button.reset-action{color:var(--muted)}.transform-button:hover:not(:disabled){transform:translateY(-1px);border-color:#4f46e56b;background:linear-gradient(135deg,#4f46e529,#2563eb1a);box-shadow:0 12px 24px #4f46e51f}.transform-button:disabled{border-color:#94a3b838;background:#f1f5f9bd;color:#64748ba8;box-shadow:none}.btn-download-ready{border:0;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;box-shadow:0 12px 26px #2563eb38}.btn-ghost-danger{color:#b91c1c;border-color:#f8717152}.btn-secondary:disabled,.btn-download-ready:disabled,.btn-ghost-danger:disabled{border-color:#94a3b83d;background:#f1f5f9c7;color:#64748bb8;opacity:1}.btn-ghost-danger:hover{color:#991b1b;border-color:#f871717a;background:#fef2f2eb}.command-hint{width:100%;margin:0;color:var(--muted);font-size:.8rem}.inline-error{display:inline-flex;align-items:flex-start;gap:6px;margin-top:6px;color:#b91c1c;font-size:.78rem;line-height:1.45}.inline-error:before{content:"!";width:16px;height:16px;flex:0 0 auto;display:grid;place-items:center;border-radius:999px;background:#ef44441a;color:#dc2626;font-size:.68rem;font-weight:900}.command-error{width:100%;margin:0}.command-bar .hint,.base64-output-card .hint{width:100%;margin:0;font-size:.82rem}.color-input{width:48px;height:40px;padding:.18rem}input[type=range]{height:3px;padding:0;border:0;border-radius:999px;background:linear-gradient(90deg,#2563eb6b,#7c3aed47);accent-color:var(--blue);cursor:pointer}input[type=range]::-webkit-slider-thumb{width:14px;height:14px;appearance:none;border:3px solid white;border-radius:999px;background:var(--blue);box-shadow:0 3px 10px #2563eb3d}input[type=range]::-moz-range-thumb{width:11px;height:11px;border:3px solid white;border-radius:999px;background:var(--blue);box-shadow:0 3px 10px #2563eb3d}.error-box{display:grid;gap:.2rem;border:1px solid rgba(220,38,38,.22);background:#dc262614;color:var(--danger);border-radius:1rem;padding:.72rem .85rem;font-size:.88rem}.error-box strong{color:#991b1b}.error-box span{color:#b91c1c}.preview-workspace,.base64-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:0;min-height:0}.preview-card,.base64-file-card,.base64-output-card{display:flex;flex-direction:column;border:1px solid rgba(148,163,184,.22);border-radius:20px;background:#fffc;padding:10px;min-height:0;overflow:hidden}.preview-card-head{flex-shrink:0;min-height:36px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:6px;padding:2px 2px 6px}.preview-card-head strong{font-size:.92rem}.preview-card-head small{color:var(--muted);text-align:right}.preview-card-meta{display:flex;align-items:flex-end;flex-direction:column;gap:6px;min-width:0}.preview-card-meta small{max-width:min(280px,36vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-meta-actions{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.preview-replace-button{min-height:28px;height:28px;padding:0 10px;border-radius:999px;border:1px solid rgba(148,163,184,.28);background:#ffffffdb;color:var(--muted);font-size:.75rem;font-weight:800;box-shadow:none}.preview-replace-button:hover:not(:disabled){color:var(--blue);border-color:#4f46e552;background:#f5f7fff5}.preview-mode-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--border);border-radius:999px;background:#ffffffad}.preview-mode-switch button{min-height:26px;height:24px;padding:0 7px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:.72rem;font-weight:800;box-shadow:none}.preview-mode-switch button.active{background:linear-gradient(135deg,var(--blue),var(--purple));color:#fff}.upload-target{cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.upload-target.has-file{cursor:default}.upload-target:hover{border-color:#2563eb61;background:#2563eb09;box-shadow:0 14px 30px #2563eb14}.upload-target.has-file:hover{border-color:#94a3b838;background:#fffc;box-shadow:none}.upload-target.is-dragging{border-color:#2563eb8f;background:#2563eb12;box-shadow:0 16px 34px #2563eb1a}.preview-drop-overlay{position:absolute;inset:10px;z-index:4;display:grid;place-items:center;border:1px dashed rgba(79,70,229,.35);border-radius:18px;background:#4f46e51a;color:var(--blue);font-size:.92rem;font-weight:850;text-align:center;pointer-events:none;backdrop-filter:blur(2px)}.preview-stage,.image-preview{position:relative;flex:1;width:100%;height:clamp(360px,58vh,640px);min-height:360px;display:grid;place-items:center;overflow:hidden;border-radius:16px;background:linear-gradient(45deg,rgba(148,163,184,.055) 25%,transparent 25%),linear-gradient(-45deg,rgba(148,163,184,.055) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(148,163,184,.055) 75%),linear-gradient(-45deg,transparent 75%,rgba(148,163,184,.055) 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.preview-stage img,.image-preview img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;border-radius:12px}.preview-stage.is-actual,.image-preview.is-actual{overflow:auto;place-items:start center}.preview-stage.is-actual img,.image-preview.is-actual img{max-width:none;max-height:none;width:auto;height:auto;object-fit:initial}.image-preview span{color:var(--muted)}.preview-empty{width:100%;height:100%;min-height:100%;display:grid;place-items:center;align-content:center;text-align:center;gap:6px;padding:1rem;color:var(--muted)}.preview-empty-inner{display:grid;place-items:center;gap:8px;text-align:center}.preview-empty-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;background:#4f46e517;color:var(--blue);font-size:1rem;font-weight:900}.preview-empty-icon.error{background:#ef44441a;color:#dc2626}.preview-inline-error{max-width:300px;justify-self:center}.preview-empty strong{color:var(--text)}.preview-empty span{font-size:.84rem}.preview-card.is-processing .image-preview{border:1px solid rgba(37,99,235,.14);background:linear-gradient(135deg,#2563eb14,#7c3aed0f),#ffffffb3}.crop-stage{padding:14px}.crop-image-frame{position:relative;width:100%;height:100%;max-width:100%;max-height:100%;touch-action:none}.crop-stage.is-actual{overflow:auto;place-items:start center}.crop-stage.is-actual .crop-image-frame{max-width:none;max-height:none;flex:0 0 auto}.crop-image-frame img{width:100%;height:100%;max-width:100%;max-height:100%;border-radius:12px;object-fit:contain;user-select:none;pointer-events:none}.crop-box{position:absolute;border:2px solid rgba(37,99,235,.92);border-radius:10px;background:linear-gradient(#2563eb1a,#2563eb0a),#ffffff14;box-shadow:0 0 0 999px #0f172a42,0 12px 24px #0f172a2e;cursor:move;touch-action:none}.crop-handle{position:absolute;right:-7px;bottom:-7px;width:16px;height:16px;border:2px solid white;border-radius:999px;background:var(--blue);box-shadow:0 4px 12px #2563eb52;cursor:nwse-resize}.action-row{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.stat-card{min-height:52px;padding:9px 12px;border-radius:16px;border:1px solid rgba(148,163,184,.2);background:#ffffffc2;display:grid;gap:.15rem}.stat-card span{color:var(--muted);font-size:.74rem}.stat-card strong{display:block;margin-top:3px;font-size:.94rem;font-weight:850}.ok-text{color:var(--ok);font-weight:800}.base64-workspace{display:grid;gap:10px}.watermark-command-bar{align-items:stretch}.watermark-controls{display:grid;gap:10px;width:100%}.watermark-primary-row,.watermark-secondary-row{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}.watermark-text-field{flex:1 1 320px;min-width:260px}.watermark-text-field .command-field{width:100%}.watermark-primary-row .btn-secondary,.watermark-primary-row .btn-download-ready{flex:0 0 auto}.base64-command-bar{align-items:center}.base64-command-bar .action-row{gap:8px}.base64-meta,.base64-meta-strip{width:100%;display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;color:var(--muted);font-size:.78rem}.base64-meta span,.base64-meta-strip span{height:28px;min-height:28px;display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(148,163,184,.24);border-radius:999px;padding:0 10px;background:#f8fafce6}.base64-meta-strip em{color:var(--muted);font-size:.78rem;font-style:normal}.base64-meta-strip strong{max-width:180px;overflow:hidden;color:var(--text);font-size:.78rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.base64-output-card{gap:10px;min-width:0}.base64-output-head{flex-shrink:0;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:10px}.base64-file-card .image-preview{height:clamp(360px,58vh,640px);min-height:360px}.base64-output-card .hint{flex-shrink:0}.base64-tabs{display:flex;gap:6px;margin-bottom:0}.base64-tab{padding:.45rem .7rem;font-size:.78rem}.base64-tab.active{border-color:transparent;color:#fff;background:linear-gradient(135deg,var(--blue),var(--purple))}.base64-output-card textarea{flex:1;width:100%;height:clamp(360px,58vh,640px);min-height:360px;max-height:640px;padding:12px;border:1px solid var(--border);border-radius:14px;background:#f8fafce0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.78rem;line-height:1.6;color:#0f172a;word-break:break-all;resize:none;overflow:auto}.content-page{max-width:900px}.content-page h1,.soon-card h1{font-size:clamp(1.75rem,2.1vw,2.25rem);line-height:1.08;letter-spacing:-.028em;font-weight:800}.content-card,.soon-card{display:grid;gap:.85rem;width:min(100%,880px);border:1px solid var(--border);border-radius:22px;background:#ffffffd6;padding:18px}.content-card p,.soon-card p{margin:0;color:var(--muted);line-height:1.65}.content-section{display:grid;gap:.65rem}.content-section h2{margin:0}.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.content-tool-card{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:.55rem;align-items:center;min-height:84px;border:1px solid var(--border);border-radius:16px;padding:.7rem;background:#ffffffb8}.content-tool-card:hover{border-color:#2563eb4d;background:#2563eb0e}.content-tool-card span{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;color:var(--blue);background:#2563eb1a;font-weight:900}.content-tool-card strong,.content-tool-card small{grid-column:2;min-width:0}.content-tool-card strong{align-self:end}.content-tool-card small{align-self:start;color:var(--muted);font-size:.8rem;line-height:1.35}.content-tool-card em{grid-column:3;grid-row:1 / span 2;align-self:start;border-radius:999px;padding:.25rem .45rem;background:#0596691f;color:var(--ok);font-size:.64rem;font-style:normal;font-weight:900}.content-tool-card.muted em{background:#64748b24;color:var(--muted)}.content-list{display:grid;gap:.55rem;margin:0;padding:0;list-style:none}.content-list li{display:flex;gap:.5rem;color:var(--muted);line-height:1.45}.content-list li:before{content:"";width:.4rem;height:.4rem;flex:0 0 auto;margin-top:.48rem;border-radius:999px;background:#2563eb8c}.soon-page{display:grid;min-height:100%;align-content:start}.soon-card{align-content:start;min-height:min(520px,100%)}.soon-card h1{margin:0}.soon-card h2{margin-bottom:.55rem}.soon-actions{display:flex;flex-wrap:wrap;gap:.55rem}.soon-actions a{border:1px solid var(--border);border-radius:999px;padding:.58rem .78rem;background:#ffffffd1;color:var(--text);font-size:.88rem;font-weight:800}.soon-actions a:hover{border-color:#2563eb4d;color:var(--blue);background:#2563eb0f}.inspector{padding:.85rem;overflow:auto}.inspector-stack{min-height:100%;display:flex;flex-direction:column;gap:10px}.inspector section,.inspector-card{border:1px solid rgba(148,163,184,.22);border-radius:18px;background:#ffffffc7;padding:12px}.inspector-card h2{margin:0 0 8px;font-size:.95rem;font-weight:850}.inspector-status{border-color:#2563eb2e;background:linear-gradient(180deg,#2563eb0e,#ffffffe6)}.inspector-status.success{border-color:#05966938;background:#05966912}.inspector-status.error{border-color:#dc262638;background:#dc262612}.info-list{display:grid;gap:6px;margin:.55rem 0}.info-row{display:flex;justify-content:space-between;gap:10px;font-size:.84rem}.info-row span:first-child{color:var(--muted)}.info-row strong{max-width:58%;overflow:hidden;text-align:right;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.error-card{margin-top:.55rem;border:1px solid rgba(220,38,38,.18);border-radius:14px;padding:.62rem .7rem;background:#fef2f2d1;color:#991b1b;font-size:.84rem;line-height:1.45}.error-pill{width:fit-content;max-width:100%;overflow:hidden;text-overflow:ellipsis;border:1px solid rgba(220,38,38,.18);border-radius:999px;padding:.35rem .55rem;background:#fef2f2d1;color:#991b1b;font-size:.78rem;line-height:1.35;white-space:nowrap}.inspector-details{border:1px solid rgba(148,163,184,.2);border-radius:14px;background:#ffffffa3;padding:9px 11px}.inspector-details summary{cursor:pointer;color:var(--text);font-size:.86rem;font-weight:850}.inspector-details p{margin:8px 0 0}.inspector-details ul{margin:8px 0 0;padding-left:1rem;color:var(--muted)}.inspector-details li{margin:.28rem 0;line-height:1.4;font-size:.88rem}.network-card{margin-top:auto}.network-links{display:flex;flex-wrap:wrap;gap:.45rem}.network-links a{border:1px solid var(--border);border-radius:999px;padding:.42rem .62rem;background:#ffffffc7;color:var(--muted);font-size:.82rem;font-weight:800}.network-links a:hover{border-color:#2563eb4d;color:var(--blue);background:#2563eb0f}.inspector-list{display:grid;gap:.38rem;margin:0;padding:0;list-style:none;color:var(--muted)}.inspector-list li{display:flex;gap:.45rem;line-height:1.4;font-size:.9rem}.inspector-list li:before{content:"";width:.38rem;height:.38rem;flex:0 0 auto;margin-top:.45rem;border-radius:999px;background:#2563eb8c}.inspector-faq{display:grid;gap:.55rem}.inspector-faq details{border-top:1px solid var(--border);padding:.65rem 0 0}.inspector-faq details:first-child{border-top:0;padding-top:0}.inspector-faq summary{cursor:pointer;font-weight:800}.inspector-faq p{margin-bottom:0}.app-footer{width:100%;min-height:50px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem .85rem;border:1px solid var(--border);border-radius:1.2rem;background:var(--card);backdrop-filter:blur(18px);box-shadow:0 18px 40px #0f172a0f}.footer-left,.footer-right{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.footer-title{font-weight:800}.footer-muted{color:var(--muted);font-size:.9rem}.footer-right a{color:var(--muted);font-size:.9rem;padding:.35rem .5rem;border-radius:999px}.footer-right a:hover{color:var(--blue);background:#2563eb14}@media(max-width:1180px){.layout-with-sidebar{grid-template-columns:260px minmax(0,1fr)}.inspector{grid-column:1 / -1;max-height:260px}}@media(max-width:820px){html,body{height:auto;min-height:100%}body{overflow:auto}.app-shell{height:auto;min-height:100vh;padding:8px;gap:8px;overflow:visible}.app-header{min-height:auto;align-items:flex-start;flex-direction:column;border-radius:1.2rem}.brand{width:100%}.top-nav{width:100%;overflow-x:auto;padding-bottom:2px}.workbench{min-height:auto;grid-template-columns:1fr;gap:8px}.sidebar,.main-panel,.inspector{overflow:visible}.sidebar{max-height:none}.featured-grid,.home-feature-grid,.preview-workspace,.base64-grid,.content-grid,.stats-grid{grid-template-columns:1fr}.home-page{gap:.75rem}.home-hero{min-height:auto;border-radius:18px;padding:1rem}.home-hero h1{font-size:clamp(2.05rem,9vw,3.2rem)}.section-heading{align-items:flex-start}.privacy-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-tool-heading{min-height:auto;flex-direction:column}.command-actions{width:100%;margin-left:0}.command-field,.command-field.compact,.command-field.wide{min-width:min(100%,220px)}.image-tool-runtime,.base64-runtime{height:auto;grid-template-rows:none}.image-preview{height:clamp(260px,52vh,460px);min-height:260px}h1{font-size:2.35rem}.base64-output-card textarea{height:320px;min-height:320px}.app-footer{min-height:auto;align-items:flex-start;flex-direction:column;border-radius:1.2rem}.footer-right{width:100%}}@media(max-width:900px){html,body{height:auto;min-height:100%;overflow:auto}body{overflow:auto}.app-shell{min-height:100dvh;height:auto;overflow:visible}.mobile-tool-switcher{display:grid;gap:8px;padding:10px;border:1px solid var(--border);border-radius:20px;background:var(--card);backdrop-filter:blur(18px)}.mobile-search-wrap{margin-bottom:0}.mobile-tool-scroller{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}.mobile-tool-scroller::-webkit-scrollbar{display:none}.mobile-tool-chip{flex:0 0 auto;scroll-snap-align:start;height:36px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:999px;padding:0 12px;background:#ffffffd9;color:var(--text);font-size:.84rem;font-weight:800;white-space:nowrap}.mobile-tool-chip.active{border-color:transparent;color:#fff;background:linear-gradient(135deg,var(--blue),var(--purple))}.mobile-tool-chip span{font-weight:900}.status-dot{width:7px;height:7px;border-radius:999px;background:#64748b80}.status-dot.ready{background:var(--ok)}.status-dot.soon{background:#64748b8c}.workbench{min-height:auto;display:flex;flex-direction:column;overflow:visible}.sidebar,.inspector{display:none}.main-panel,.mobile-inspector{overflow:visible;height:auto;max-height:none}.main-panel{order:1}.mobile-inspector{order:2;display:grid;gap:8px;padding:.85rem}.mobile-inspector-stack{display:grid;gap:8px}.mobile-inspector details{border:1px solid var(--border);border-radius:16px;background:var(--card-strong);padding:10px 12px}.mobile-inspector summary{cursor:pointer;color:var(--text);font-weight:900}.mobile-details-body{display:grid;gap:8px;margin-top:10px;color:var(--muted);font-size:.9rem;line-height:1.5}.mobile-details-body .inspector-card{border:0;padding:0;background:transparent}.mobile-details-body ul{margin:0;padding-left:1rem}.command-bar{align-items:stretch}.command-controls{width:100%}.command-actions{width:100%;margin-left:0;justify-content:stretch}.command-actions button{flex:1}.preview-workspace,.base64-grid,.home-feature-grid,.directory-controls{grid-template-columns:1fr}.privacy-strip,.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.base64-file-card .image-preview,.base64-output-card textarea,.image-preview{height:clamp(260px,42vh,420px);min-height:260px}.inspector .network-card{display:none}.app-footer{order:99;display:grid;gap:8px;align-items:start}.footer-left,.footer-right,.footer-network-links{width:100%;display:flex;flex-wrap:wrap;gap:8px}.footer-network-links a{color:var(--muted);font-size:.9rem;padding:.35rem .5rem;border-radius:999px}.footer-network-links a:hover{color:var(--blue);background:#2563eb14}}@media(max-width:520px){.privacy-strip{grid-template-columns:1fr}.home-tool-card{min-height:auto}.stats-grid{grid-template-columns:1fr}.command-actions{flex-direction:column}}:root{--bg: #f3f6fb;--card: rgba(255, 255, 255, .82);--card-strong: rgba(255, 255, 255, .94);--border: rgba(148, 163, 184, .26);--border-strong: rgba(79, 70, 229, .34);--text: #0f172a;--muted: #56657a;--soft-muted: #7c8aa0;--blue: #2563eb;--purple: #6d5dfc;--danger: #dc2626;--ok: #059669;--surface-blue: rgba(37, 99, 235, .065);--surface-purple: rgba(109, 93, 252, .075);--surface-white: rgba(255, 255, 255, .78);--shadow-shell: 0 18px 48px rgba(15, 23, 42, .07);--shadow-card: 0 12px 30px rgba(15, 23, 42, .055);--shadow-control: 0 8px 20px rgba(37, 99, 235, .07);--control-height: 36px;--preview-height: clamp(390px, 52vh, 470px);--preview-height-compact: clamp(360px, 48vh, 430px);--preview-height-mobile: clamp(260px, 40vh, 340px)}body{background:radial-gradient(circle at 12% -8%,rgba(37,99,235,.105),transparent 32rem),radial-gradient(circle at 82% -10%,rgba(109,93,252,.105),transparent 34rem),linear-gradient(180deg,#f6f8fc,#edf2f8);color:var(--text)}button,input,select,textarea{letter-spacing:-.01em}button{font-weight:780}.app-shell{padding:9px;gap:9px}.app-header,.app-footer,.panel,.mobile-tool-switcher{border-color:#94a3b82e;background:#ffffffad;backdrop-filter:blur(22px) saturate(1.15);box-shadow:var(--shadow-shell)}.app-header,.app-footer{border-radius:22px;box-shadow:0 12px 34px #0f172a0b}.app-header{min-height:56px;padding:.55rem .8rem}.brand-mark{width:36px;height:36px;border-radius:14px;box-shadow:0 10px 24px #2563eb2e}.brand strong,.footer-title{letter-spacing:-.025em}.brand small,.footer-muted{color:#64748bd1}.top-nav a,.footer-right a,.footer-network-links a{color:#64748be6;font-weight:760;transition:color .14s ease,background .14s ease,transform .14s ease}.top-nav a:hover,.footer-right a:hover,.footer-network-links a:hover{color:var(--blue);background:#2563eb12;transform:translateY(-1px)}.layout-with-sidebar{grid-template-columns:304px minmax(0,1fr) 324px}.panel{border-radius:26px}.sidebar,.main-panel,.inspector{scrollbar-color:rgba(100,116,139,.24) transparent}.sidebar::-webkit-scrollbar-thumb,.main-panel::-webkit-scrollbar-thumb,.inspector::-webkit-scrollbar-thumb{background:#64748b38}.sidebar,.inspector,.main-panel{background:#ffffff9e}.sidebar{padding:.92rem}.sidebar-title strong{letter-spacing:-.025em}.sidebar-title span{color:#64748bcc;font-size:.88rem}.search-wrap{margin-bottom:.82rem}.search-wrap:before{color:#64748bb8}.tool-search{height:36px;border-radius:15px;border-color:#94a3b82e;background:#ffffffb8;font-size:.84rem;box-shadow:inset 0 1px #ffffffb3}.tool-search:focus{border-color:#2563eb5c;background:#ffffffeb;box-shadow:0 0 0 3px #2563eb12,inset 0 1px #fffc}.tool-group{margin:.85rem 0}.tool-group h3{margin-bottom:.48rem;color:#64748bc7;font-size:.72rem;letter-spacing:.1em}.tool-list{gap:.36rem}.tool-nav-item{min-height:54px;padding:.5rem;border-radius:17px}.tool-nav-item:hover{background:#2563eb0b;border-color:#2563eb21}.tool-nav-item.active{background:linear-gradient(135deg,#2563eb1a,#6d5dfc0e),#ffffff9e;border-color:#4f46e538;box-shadow:inset 0 1px #fffc,0 10px 24px #4f46e511}.tool-icon{width:34px;height:34px;border-radius:14px;background:linear-gradient(135deg,#2563eb1c,#6d5dfc16);color:#3157d6}.tool-copy strong{color:#0f172af0;font-size:.88rem;font-weight:820}.tool-copy small{color:#64748bb8;font-size:.74rem}.badge-ready,.badge-soon,.tool-status-pill{letter-spacing:.015em}.badge-ready{background:#05966918}.main-panel{padding:.78rem}.tool-runtime{gap:.58rem}.compact-tool-heading{min-height:46px;padding:1px 2px 5px}.compact-tool-heading h1,.content-page h1,.soon-card h1{color:#0f172af5;font-size:clamp(1.62rem,1.82vw,2.02rem);line-height:1.1;letter-spacing:-.035em;font-weight:790}html[lang=zh] .compact-tool-heading h1,html[lang=zh] .content-page h1,html[lang=zh] .soon-card h1{font-size:clamp(1.58rem,1.74vw,1.92rem);letter-spacing:-.025em;font-weight:790}.compact-tool-heading p{margin-top:3px;color:#64748bd1;font-size:.86rem}.tool-status-pill{padding:.28rem .54rem;background:#0596691a;font-size:.66rem}.command-bar,.base64-command-bar{gap:10px;padding:10px;border-color:#94a3b82e;border-radius:22px;background:linear-gradient(180deg,#ffffffd1,#ffffffa8);box-shadow:inset 0 1px #ffffffd1,0 10px 26px #0f172a09}.command-controls{gap:9px}.command-label,.command-field label{color:#64748bd1;font-size:.72rem;letter-spacing:.015em}.control-input,.command-field input,.command-field select{height:36px;border-color:#94a3b833;border-radius:13px;background:#ffffffc7;font-size:.84rem;box-shadow:inset 0 1px #ffffffc2}.control-input:hover,.command-field input:hover,.command-field select:hover{border-color:#2563eb40;background:#ffffffeb}.command-field input:focus,.command-field select:focus,.base64-output-card textarea:focus,.tool-search:focus{outline:none;border-color:#2563eb66;box-shadow:0 0 0 3px #2563eb12}.command-check{min-height:36px;color:#0f172ae0;font-size:.84rem}.command-chip-row{gap:5px}.command-chip-row button,.btn-secondary,.btn-ghost-danger,.base64-tab,.segmented-control button{min-height:32px;border-color:#94a3b838;background:#ffffffb8;font-size:.8rem;font-weight:790}.command-chip-row button.active,.base64-tab.active,.segmented-control button.active{border-color:#2563eb3d;color:#2556d7;background:#2563eb16;box-shadow:inset 0 1px #ffffffb8}.command-chip-row button:hover,.btn-secondary:hover,.btn-ghost-danger:hover,.base64-tab:hover,.segmented-control button:hover{border-color:#2563eb45;color:#2556d7;background:#2563eb0e}.segmented-control{min-height:34px;border-color:#94a3b833;background:#f1f5f99e}.btn-primary,.btn-download-ready{background:linear-gradient(135deg,#2563eb,#6d5dfc);color:#fff;box-shadow:0 12px 26px #4f46e52e}.btn-primary:hover:not(:disabled),.btn-download-ready:hover:not(:disabled){box-shadow:0 16px 32px #4f46e538}.btn-secondary:disabled,.btn-download-ready:disabled,.btn-ghost-danger:disabled,button:disabled{opacity:1;color:#64748b94;border-color:#94a3b82e;background:#f1f5f99e}.transform-actions{gap:7px}.transform-button{height:35px;min-height:35px;border-color:#4f46e53b;background:linear-gradient(180deg,#fffffff0,#f5f7ffdb);color:#0f172ae0;font-size:.82rem;font-weight:840;box-shadow:var(--shadow-control)}.transform-button.primary-action{color:#30328f;border-color:#4f46e54d;background:linear-gradient(135deg,#4f46e526,#2563eb17)}.transform-button.reset-action{color:#64748be0;background:#ffffffa3}.transform-button:hover:not(:disabled){border-color:#4f46e573;background:linear-gradient(135deg,#4f46e52e,#2563eb1f);box-shadow:0 12px 26px #4f46e521}.inline-error{color:#b42318;font-size:.76rem}.inline-error:before{background:#f43f5e18;color:#dc2626}.field-group.has-error input{border-color:#dc262657;box-shadow:0 0 0 3px #dc262611}.preview-workspace,.base64-grid{gap:9px}.preview-card,.base64-file-card,.base64-output-card,.content-card,.soon-card,.inspector section,.inspector-card{border-color:#94a3b82e;background:#ffffffb8;box-shadow:0 10px 28px #0f172a09}.preview-card,.base64-file-card,.base64-output-card{border-radius:22px;padding:9px}.preview-card-head{min-height:34px;margin-bottom:5px;padding:1px 2px 5px}.preview-card-head strong{color:#0f172aeb;font-size:.9rem;font-weight:820}.preview-card-head small{color:#64748bbd;font-size:.76rem}.preview-replace-button{height:26px;min-height:26px;background:#ffffffb8;font-size:.72rem}.preview-mode-switch{border-color:#94a3b82e;background:#f1f5f994}.preview-mode-switch button.active{background:linear-gradient(135deg,#2563eb,#6d5dfc)}.preview-stage,.image-preview{border:1px solid rgba(148,163,184,.1);background-color:#f8fafc94;background-image:linear-gradient(45deg,rgba(148,163,184,.04) 25%,transparent 25%),linear-gradient(-45deg,rgba(148,163,184,.04) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(148,163,184,.04) 75%),linear-gradient(-45deg,transparent 75%,rgba(148,163,184,.04) 75%)}.preview-stage img,.image-preview img{box-shadow:0 12px 34px #0f172a14}.preview-empty-icon{width:40px;height:40px;border-radius:15px;background:linear-gradient(135deg,#2563eb1a,#6d5dfc14)}.preview-empty strong{color:#0f172aeb;font-weight:820}.preview-empty span{color:#64748bc7}.upload-target:hover{border-color:#2563eb4d;background:#2563eb08;box-shadow:0 14px 30px #2563eb11}.upload-target.is-dragging{border-color:#2563eb7a;background:#2563eb11}.preview-drop-overlay{border-color:#4f46e547;background:#4f46e518;box-shadow:inset 0 0 0 1px #ffffff80}.crop-box{border-color:#2563ebe6;box-shadow:0 0 0 999px #0f172a38,0 14px 28px #0f172a29}.stats-grid{gap:7px}.stat-card{min-height:50px;border-color:#94a3b82b;background:#ffffffa8;box-shadow:inset 0 1px #ffffff9e}.stat-card span{color:#64748bc7;font-size:.72rem}.stat-card strong{color:#0f172af0;font-weight:830}.base64-runtime{grid-template-rows:auto minmax(0,1fr);align-content:stretch}.base64-workspace{min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px}.base64-grid{min-height:0;height:100%;align-items:stretch}.base64-grid>.preview-card,.base64-output-card{min-height:0;height:100%}.base64-file-card .preview-stage,.base64-file-card .image-preview,.base64-output-card textarea{min-height:0;height:100%;max-height:none}.base64-output-card textarea{resize:none;border-color:#94a3b82e;background:linear-gradient(180deg,#f8fafcf0,#f1f5f9e6);color:#0f172a;font-size:.77rem;line-height:1.62;box-shadow:inset 0 1px #ffffffb8}.base64-output-card .hint{color:#64748bc2;font-size:.8rem}.base64-tabs{gap:5px}.base64-tab{min-height:30px;padding:.38rem .62rem}.base64-tab.active{background:linear-gradient(135deg,#2563eb,#6d5dfc);box-shadow:0 8px 18px #4f46e529}.inspector{padding:.78rem}.inspector-stack{gap:9px}.inspector section,.inspector-card{border-radius:18px;padding:11px}.inspector-card h2{color:#0f172af0;font-size:.92rem}.inspector-status{border-color:#2563eb26;background:linear-gradient(180deg,#2563eb0d,#ffffffc7)}.inspector-status.success{border-color:#0596692e;background:#0596690e}.inspector-status.error{border-color:#dc262629;background:#fef2f2ad}.info-row{font-size:.82rem}.info-row span:first-child{color:#64748bc7}.info-row strong{color:#0f172aeb;font-weight:790}.error-card,.error-pill{border-color:#dc262626;background:#fef2f2ad}.inspector-details{border-color:#94a3b829;background:#ffffff8f}.inspector-details summary{font-size:.84rem}.inspector-details li,.inspector-list li{color:#64748bd6;font-size:.86rem}.network-links a{border-color:#94a3b82e;background:#ffffffa8}.content-card,.soon-card{background:#ffffffb8}@media(max-width:1180px){.layout-with-sidebar{grid-template-columns:260px minmax(0,1fr)}}@media(max-width:900px){.app-shell{padding:8px;gap:8px}.app-header,.app-footer,.mobile-tool-switcher,.panel{border-radius:20px}.mobile-tool-switcher{padding:9px}.mobile-tool-scroller{gap:7px}.mobile-tool-chip{height:34px;border-color:#94a3b833;background:#ffffffb8;font-size:.82rem}.mobile-tool-chip.active{background:linear-gradient(135deg,#2563eb,#6d5dfc);box-shadow:0 10px 22px #4f46e529}.main-panel,.mobile-inspector{padding:.72rem}.command-bar,.base64-command-bar{border-radius:20px;padding:9px}.command-controls{gap:8px}.command-actions{gap:7px}.command-actions button{min-width:0}.preview-workspace,.base64-grid{gap:8px}.base64-runtime,.base64-workspace,.base64-grid,.base64-grid>.preview-card,.base64-output-card{height:auto}.base64-file-card .preview-stage,.base64-file-card .image-preview,.base64-output-card textarea,.image-preview,.preview-stage{height:clamp(260px,42vh,420px);min-height:260px}.mobile-inspector details{border-color:#94a3b82e;background:#ffffffb8}}@media(max-width:520px){.app-header,.app-footer,.mobile-tool-switcher,.panel{border-radius:18px}.compact-tool-heading h1,html[lang=zh] .compact-tool-heading h1{font-size:1.52rem}.compact-tool-heading p{font-size:.82rem}.command-actions{flex-direction:column}.command-actions button,.action-row button{width:100%}.transform-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.transform-button{width:100%;padding:0 10px}}body{background:radial-gradient(circle at 14% -10%,rgba(37,99,235,.12),transparent 31rem),radial-gradient(circle at 86% -12%,rgba(109,93,252,.12),transparent 33rem),linear-gradient(180deg,#f7f9fd,#eef3f9 54%,#e8eef6)}.app-header,.app-footer,.panel,.mobile-tool-switcher{background:#ffffffc7;border-color:#94a3b838;box-shadow:var(--shadow-shell)}.app-header,.app-footer{background:#ffffffd6}.brand strong,.footer-title{color:#0f172af5;font-weight:840}.brand small,.footer-muted{color:#56657ae0}.top-nav a,.footer-right a,.footer-network-links a{color:#475569f2}.top-nav a:hover,.footer-right a:hover,.footer-network-links a:hover{background:#2563eb17}.sidebar,.inspector,.main-panel{background:#ffffffbd}.sidebar-title strong{color:#0f172af5;font-weight:840}.sidebar-title span{color:#56657aeb}.tool-group h3{color:#475569e0;font-weight:850}.tool-nav-item{border-color:transparent}.tool-nav-item:hover{background:#2563eb11;border-color:#2563eb2e}.tool-nav-item.active{background:linear-gradient(135deg,#2563eb24,#6d5dfc14),#ffffffc7;border-color:#4f46e557;box-shadow:inset 0 1px #ffffffe6,0 12px 26px #4f46e516}.tool-icon{background:linear-gradient(135deg,#2563eb26,#6d5dfc1f);color:#234ed4}.tool-copy strong{color:#0f172afa;font-weight:850}.tool-copy small{color:#56657adb}.badge-ready{color:#047857;background:#05966921}.main-panel{box-shadow:inset 0 1px #ffffffc7,var(--shadow-shell)}.compact-tool-heading h1,.content-page h1,.soon-card h1{color:#0f172afa;font-weight:830}.compact-tool-heading p{color:#56657af0}.tool-status-pill{color:#047857;background:#05966921}.command-bar,.base64-command-bar{border-color:#94a3b83d;background:linear-gradient(180deg,#fffffff0,#f8fafcd1);box-shadow:inset 0 1px #fffffff2,0 12px 28px #0f172a0b}.command-label,.command-field label{color:#475569e6;font-weight:820}.control-input,.command-field input,.command-field select,.tool-search{border-color:#94a3b847;background:#ffffffe6;color:#0f172af5}.control-input::placeholder,.command-field input::placeholder,.tool-search::placeholder{color:#64748bad}.command-check{color:#0f172af0;font-weight:820}.command-chip-row button,.btn-secondary,.btn-ghost-danger,.base64-tab,.segmented-control button{border-color:#94a3b847;background:#ffffffd6;color:#0f172aeb;box-shadow:inset 0 1px #ffffffd9}.command-chip-row button.active,.base64-tab.active,.segmented-control button.active{border-color:#2563eb61;color:#1d4ed8;background:linear-gradient(180deg,#dbeafef5,#e0e7ffd1);box-shadow:inset 0 1px #ffffffe0,0 6px 14px #2563eb14}.btn-primary,.btn-download-ready{border:0;background:linear-gradient(135deg,#245cf2,#6d5dfc);color:#fff;box-shadow:0 14px 30px #4f46e53d,inset 0 1px #ffffff3d}.btn-primary:hover:not(:disabled),.btn-download-ready:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 18px 36px #4f46e547,inset 0 1px #ffffff42}.btn-secondary:disabled,.btn-download-ready:disabled,.btn-ghost-danger:disabled,button:disabled{color:#64748b9e;border-color:#94a3b82e;background:#f1f5f9b8;box-shadow:none}.quality-range,input[type=range]{accent-color:#2563eb}.transform-button{border-color:#4f46e54d;background:linear-gradient(180deg,#fffffffa,#eef2ffe6);color:#263189;box-shadow:0 9px 20px #4f46e51b}.transform-button.primary-action{border-color:#2563eb6b;background:linear-gradient(135deg,#dbeafefa,#e0e7ffe6)}.transform-button.reset-action{color:#475569eb;border-color:#94a3b847}.preview-card,.base64-file-card,.base64-output-card,.content-card,.soon-card,.inspector section,.inspector-card{border-color:#94a3b83d;background:#ffffffd6;box-shadow:var(--shadow-card)}.preview-card-head strong{color:#0f172af5;font-weight:850}.preview-card-head small{color:#56657adb}.preview-mode-switch{border-color:#94a3b83d;background:#ffffffc7}.preview-mode-switch button{color:#475569db}.preview-mode-switch button.active{color:#fff;background:linear-gradient(135deg,#245cf2,#6d5dfc)}.preview-stage,.image-preview{border-color:#94a3b829;background-color:#f8fafcb8;background-image:linear-gradient(45deg,rgba(148,163,184,.035) 25%,transparent 25%),linear-gradient(-45deg,rgba(148,163,184,.035) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(148,163,184,.035) 75%),linear-gradient(-45deg,transparent 75%,rgba(148,163,184,.035) 75%)}.preview-empty-icon{width:44px;height:44px;border:1px solid rgba(37,99,235,.08);background:linear-gradient(135deg,#2563eb24,#6d5dfc1c);color:#3157d6;box-shadow:0 10px 24px #2563eb14}.preview-empty strong{color:#0f172afa;font-weight:850}.preview-empty span{color:#56657aeb}.upload-target:hover{border-color:#2563eb61;background:#2563eb0b;box-shadow:0 16px 32px #2563eb17}.upload-target:hover .preview-empty-icon{transform:translateY(-1px);background:linear-gradient(135deg,#2563eb2e,#6d5dfc26)}.stat-card{border-color:#94a3b838;background:#ffffffc7}.stat-card span{color:#475569d1}.stat-card strong{color:#0f172afa}.base64-output-card textarea{border-color:#94a3b838;background:linear-gradient(180deg,#f8fafcfa,#f1f5f9f0);color:#0f172af5}.base64-output-card textarea::placeholder{color:#64748bb8}.base64-tab.active{color:#fff;background:linear-gradient(135deg,#245cf2,#6d5dfc)}.inspector-card h2,.inspector section h2{color:#0f172afa;font-weight:850}.inspector-status{border-color:#2563eb38;background:linear-gradient(180deg,#eff6ffe6,#ffffffd6)}.info-row span:first-child{color:#475569d1}.info-row strong{color:#0f172afa;font-weight:830}.inspector-details{border-color:#94a3b838;background:#ffffffb8}.inspector-details summary{color:#0f172af0;font-weight:820}.inspector-details li,.inspector-list li{color:#56657aeb}.network-links a,.footer-network-links a{border-color:#94a3b83d;background:#ffffffc7}@media(max-width:900px){.app-header,.app-footer,.mobile-tool-switcher,.panel{background:#ffffffd1}.mobile-tool-chip{color:#0f172ae6}.command-bar,.base64-command-bar{background:#ffffffe6}}.app-shell{background:linear-gradient(180deg,rgba(255,255,255,.18),transparent 120px),transparent}.layout-with-sidebar{gap:10px}.main-panel{overflow:hidden}.tool-runtime{min-height:0;grid-template-rows:auto auto minmax(0,1fr) auto}.compact-tool-heading{min-height:42px;padding:0 2px 3px}.compact-tool-heading h1,.content-page h1,.soon-card h1{text-wrap:balance}.command-bar,.base64-command-bar{position:relative;min-height:54px;padding:9px 10px;align-items:center}.command-bar:before,.base64-command-bar:before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(90deg,rgba(37,99,235,.045),transparent 18%,transparent 82%,rgba(109,93,252,.04));opacity:.8}.command-controls,.command-actions{position:relative;z-index:1}.command-controls{flex:1 1 auto;min-width:0;align-items:end}.command-actions{flex:0 0 auto;margin-left:auto;padding-left:10px}.command-actions button,.btn-primary,.btn-secondary,.btn-download-ready{min-height:34px;border-radius:999px;padding-inline:15px}.btn-primary,.btn-download-ready{min-width:74px}.btn-primary:disabled,.btn-download-ready:disabled{background:#f1f5f9c7;color:#64748b94;border:1px solid rgba(148,163,184,.18)}.command-chip-row button,.segmented-control button,.transform-button,.base64-tab{transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease,box-shadow .14s ease}.command-chip-row button:hover:not(:disabled),.segmented-control button:hover:not(:disabled),.transform-button:hover:not(:disabled),.base64-tab:hover:not(:disabled){transform:translateY(-1px)}.control-input,.command-field input,.command-field select{min-width:76px}.command-field input[type=number]{font-weight:760}.quality-range,input[type=range]{height:20px}.preview-workspace{min-height:0;grid-template-rows:minmax(0,1fr);align-items:stretch}.preview-card,.base64-file-card,.base64-output-card{min-height:0}.preview-card .preview-stage,.preview-card .image-preview{min-height:300px;height:var(--preview-height);max-height:var(--preview-height)}.base64-runtime,.base64-workspace{min-height:0}.base64-grid{min-height:0;align-items:stretch}.base64-grid .preview-stage,.base64-grid .image-preview,.base64-output-card textarea{height:var(--preview-height-compact);max-height:var(--preview-height-compact)}.base64-output-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.base64-output-card textarea{min-height:0}.preview-card-head{border-bottom:1px solid rgba(148,163,184,.1)}.preview-card-head small:empty{display:none}.preview-stage,.image-preview{position:relative;overflow:hidden}.preview-stage:after,.image-preview:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 1px #ffffffc7}.preview-empty{gap:8px;padding:24px}.preview-empty-icon{width:48px;height:48px;border-radius:18px}.preview-empty strong{font-size:.98rem;letter-spacing:-.015em}.preview-empty span{max-width:280px;line-height:1.45}.upload-target{cursor:pointer}.upload-target .preview-empty-icon:after{content:"";position:absolute;inset:-7px;border-radius:22px;border:1px solid rgba(37,99,235,.08);opacity:0;transform:scale(.96);transition:opacity .14s ease,transform .14s ease}.upload-target:hover .preview-empty-icon:after,.upload-target.is-dragging .preview-empty-icon:after{opacity:1;transform:scale(1)}.preview-mode-switch{box-shadow:0 8px 18px #0f172a0b}.stats-grid{margin-top:1px}.stat-card{min-height:46px;padding:8px 11px}.stat-card span{margin-bottom:2px}.inspector{padding:.68rem}.inspector-stack{gap:8px;min-height:100%}.inspector section,.inspector-card{border-radius:17px;padding:10px}.inspector-status{padding:11px 10px}.inspector-card h2,.inspector section h2{margin-bottom:6px;font-size:.88rem}.inspector-card p,.inspector section p{line-height:1.5}.info-row{padding-block:2px}.inspector-details{border-radius:14px}.inspector-details summary{min-height:32px;padding:7px 9px}.inspector-details[open] summary{border-bottom:1px solid rgba(148,163,184,.12)}.inspector-details ul,.inspector-details p{padding:8px 10px 10px}.inspector-list{gap:6px}.inspector-list li:before,.content-card li:before,.soon-card li:before{box-shadow:0 0 0 3px #2563eb14}.network-card{margin-top:auto;padding-top:12px}.network-links{gap:6px}.network-links a{min-height:30px;padding-inline:10px}.content-page{padding-top:6px}.content-page .eyebrow{margin-bottom:10px}.content-page h1{margin-bottom:14px}.content-card{max-width:840px;padding:22px 24px;border-radius:24px}.content-card p{max-width:760px;line-height:1.72}.content-card ul{margin-top:14px;gap:9px}.content-card li{line-height:1.62}.soon-card{max-width:760px;padding:24px}@media(min-width:1181px){.inspector-card.tool-tip,.inspector-card:last-child:not(.network-card){max-height:132px;overflow:hidden}}@media(max-width:1180px){:root{--preview-height: clamp(340px, 46vh, 430px);--preview-height-compact: clamp(320px, 44vh, 400px)}}@media(max-width:900px){:root{--preview-height: var(--preview-height-mobile);--preview-height-compact: var(--preview-height-mobile)}.layout-with-sidebar{gap:8px}.tool-runtime{display:flex;flex-direction:column}.compact-tool-heading{min-height:auto}.command-bar,.base64-command-bar{padding:10px}.command-controls{align-items:stretch}.command-actions{width:100%;margin-left:0;padding-left:0}.preview-workspace,.base64-grid{grid-template-columns:1fr}.preview-card .preview-stage,.preview-card .image-preview,.base64-grid .preview-stage,.base64-grid .image-preview,.base64-output-card textarea{height:var(--preview-height-mobile);max-height:none}.inspector,.mobile-inspector{padding:.7rem}.content-card,.soon-card{max-width:none;padding:18px}}@media(max-width:520px){.preview-empty{padding:18px}.preview-empty-icon{width:44px;height:44px}.command-field input,.control-input{min-width:0}.content-card,.soon-card{padding:16px;border-radius:20px}}.tool-runtime:not(:has(.stats-grid)){grid-template-rows:auto auto auto}.preview-workspace{align-items:start}.preview-card{align-self:start}.preview-card .preview-stage,.preview-card .image-preview{height:clamp(360px,46vh,430px);max-height:clamp(360px,46vh,430px)}.base64-grid .preview-stage,.base64-grid .image-preview,.base64-output-card textarea{height:clamp(340px,42vh,410px);max-height:clamp(340px,42vh,410px)}.preview-card.has-file .preview-stage,.preview-card.has-file .image-preview,.preview-card:has(img) .preview-stage,.preview-card:has(img) .image-preview{height:var(--preview-height);max-height:var(--preview-height)}.preview-card:not(.has-file):not(:has(img)){margin-bottom:0}.preview-card:not(.has-file):not(:has(img)) .preview-stage,.preview-card:not(.has-file):not(:has(img)) .image-preview{background-color:#f8fafcdb}.preview-empty-inner{transform:translateY(-2px)}.mobile-status-shell>.inspector-card{margin:0}.mobile-inspector-stack{gap:10px}.mobile-inspector-stack>details{overflow:hidden}.mobile-inspector-stack>details[open] summary{border-bottom:1px solid rgba(148,163,184,.14)}.mobile-inspector .inspector-card,.mobile-status-shell .inspector-card{border-radius:20px}.mobile-inspector .inspector-status .eyebrow{color:#2563eb;letter-spacing:.03em}.mobile-inspector .inspector-status h2{font-size:1rem;line-height:1.25}.mobile-inspector .inspector-status p{margin-top:8px;line-height:1.58}.mobile-inspector .info-list{margin-top:12px;border-radius:17px;padding:12px 14px;background:#f8fafcbd}.mobile-inspector .info-row{padding-block:5px}.mobile-inspector .info-row span{color:#475569db}.mobile-inspector .info-row strong{color:#0f172afa}@media(min-width:901px){.tool-runtime{padding-bottom:0}.main-panel{background:linear-gradient(180deg,#ffffffbd,#ffffffa8)}}@media(max-width:900px){:root{--preview-height-mobile: clamp(250px, 38vh, 315px)}.preview-card .preview-stage,.preview-card .image-preview,.base64-grid .preview-stage,.base64-grid .image-preview,.base64-output-card textarea{min-height:0;height:var(--preview-height-mobile)}.preview-card.has-file .preview-stage,.preview-card.has-file .image-preview,.preview-card:has(img) .preview-stage,.preview-card:has(img) .image-preview{height:auto;min-height:var(--preview-height-mobile);max-height:none}.preview-card:has(img) img,.image-preview img{max-height:62vh;object-fit:contain}.preview-workspace,.base64-grid{align-items:start}.mobile-inspector.panel{background:#ffffffb8}}@media(max-width:520px){:root{--preview-height-mobile: clamp(230px, 34vh, 285px)}.preview-card .preview-stage,.preview-card .image-preview,.base64-grid .preview-stage,.base64-grid .image-preview,.base64-output-card textarea{height:var(--preview-height-mobile)}.preview-empty strong{font-size:.94rem}.preview-empty span{font-size:.84rem}}@media(min-width:901px){.image-tool-runtime:not(:has(.stats-grid)){grid-template-rows:auto auto minmax(0,1fr);align-content:stretch;row-gap:8px}.image-tool-runtime:not(:has(.stats-grid)) .compact-tool-heading{min-height:34px;padding:0 2px}.image-tool-runtime:not(:has(.stats-grid)) .compact-tool-heading h1{line-height:1.02}.image-tool-runtime:not(:has(.stats-grid)) .compact-tool-heading p{margin-top:2px}.image-tool-runtime:not(:has(.stats-grid)) .command-bar{align-self:start;min-height:48px;padding:8px 10px;margin-top:0;border-radius:18px}.image-tool-runtime:not(:has(.stats-grid)) .command-controls{align-items:center;gap:8px}.image-tool-runtime:not(:has(.stats-grid)) .command-actions{align-self:center}.image-tool-runtime:not(:has(.stats-grid)) .command-label{font-size:.68rem}.image-tool-runtime:not(:has(.stats-grid)) .preview-workspace{height:100%;min-height:0;align-items:stretch;margin-top:0}.image-tool-runtime:not(:has(.stats-grid)) .preview-card{height:100%;align-self:stretch}.image-tool-runtime:not(:has(.stats-grid)) .preview-card .preview-stage,.image-tool-runtime:not(:has(.stats-grid)) .preview-card .image-preview{height:auto;min-height:0;max-height:none}.image-tool-runtime:not(:has(.stats-grid)) .preview-empty-inner{transform:translateY(-10px)}}@media(min-width:1181px){.image-tool-runtime:not(:has(.stats-grid)) .command-bar{min-height:46px}.image-tool-runtime:not(:has(.stats-grid)) .preview-workspace{gap:10px}}@media(max-width:900px){.image-tool-runtime:not(:has(.stats-grid)) .command-bar{margin-top:0}}.command-bar,.base64-command-bar{min-height:50px;gap:8px 10px;padding:8px 10px;border-radius:18px}.command-controls{align-items:center;gap:8px}.watermark-controls,.watermark-primary-row,.watermark-secondary-row{gap:8px}.dimension-fields,.crop-fields,.scale-group,.quality-control,.transform-actions,.action-row,.command-chip-row{gap:6px}.command-field{gap:3px;min-width:126px}.command-field.compact{min-width:90px}.command-field.mini{min-width:72px}.command-field.mini input{width:78px}.command-field.wide{min-width:210px}.format-field{min-width:180px}.command-label,.command-field label{font-size:.7rem;line-height:1.15}.control-input,.command-field input,.command-field select{height:34px;padding-inline:10px;border-radius:12px;font-size:.82rem}.command-field select{max-width:134px;padding-right:28px}.command-actions{gap:7px;padding-left:8px}.command-actions button,.btn-primary,.btn-secondary,.btn-download-ready,.btn-ghost-danger{min-height:32px;padding:.43rem .78rem;font-size:.8rem}.command-chip-row button,.base64-tab,.segmented-control button{min-height:30px;padding:.38rem .58rem;font-size:.78rem}.segmented-control{min-height:32px;padding:2px}.segmented-control button{min-height:26px}.transform-button{height:33px;min-height:33px;padding-inline:11px;font-size:.8rem}.command-check{min-height:34px;gap:.38rem;font-size:.82rem}.color-input{width:44px;height:34px}.rounded-controls{align-items:end}.rounded-controls .command-field.compact{min-width:118px}.rounded-controls input[type=range]{width:132px}.rounded-shadow-toggle{align-self:end}.svg-controls{align-items:end}.svg-controls .command-field.compact{min-width:112px}.svg-dimension-error{align-self:end;margin-top:0}.product-canvas-controls{align-items:end}.product-canvas-controls .command-field.compact{min-width:118px}.product-canvas-controls input[type=range]{width:132px}.inline-error{margin-top:4px;font-size:.74rem}.command-bar .hint,.base64-output-card .hint{font-size:.78rem}@media(min-width:901px){.image-tool-runtime:not(:has(.stats-grid)) .command-bar{min-height:44px;padding:7px 9px}.base64-command-bar{min-height:44px}}@media(max-width:900px){.command-bar,.base64-command-bar{padding:9px;border-radius:18px}.command-controls{align-items:stretch;gap:8px}.command-actions{width:100%;padding-left:0}.command-actions button,.action-row button{min-height:34px}.command-field,.command-field.compact,.command-field.wide,.format-field,.watermark-text-field{min-width:min(100%,220px)}.rounded-controls input[type=range],.product-canvas-controls input[type=range]{width:100%}}@media(max-width:520px){.dimension-fields,.crop-fields,.scale-group,.quality-control,.watermark-primary-row,.watermark-secondary-row{width:100%}.command-field,.command-field.compact,.command-field.mini,.command-field.wide,.format-field{min-width:0;width:100%}.command-field.mini input{width:100%}}.preview-workspace,.base64-grid{gap:8px;align-items:stretch}.preview-card,.base64-file-card,.base64-output-card{border-radius:20px;padding:8px}.preview-card{display:grid;grid-template-rows:auto minmax(0,1fr)}.preview-card-head,.base64-output-head{min-height:32px;margin-bottom:4px;padding:1px 2px 5px;gap:8px}.preview-card-head strong,.base64-output-head strong{font-size:.88rem;font-weight:820;line-height:1.2}.preview-card-head small{font-size:.74rem;line-height:1.25}.preview-card-meta,.preview-meta-actions{gap:5px}.preview-replace-button{height:25px;min-height:25px;padding:0 9px;font-size:.7rem}.preview-mode-switch{gap:2px;padding:2px}.preview-mode-switch button{height:23px;min-height:23px;padding:0 7px;font-size:.7rem}.preview-stage,.image-preview{border-radius:15px}.preview-card .preview-stage,.preview-card .image-preview{min-height:300px;height:clamp(350px,45vh,420px);max-height:clamp(350px,45vh,420px)}.preview-card.has-file .preview-stage,.preview-card.has-file .image-preview,.preview-card:has(img) .preview-stage,.preview-card:has(img) .image-preview{height:clamp(370px,48vh,450px);max-height:clamp(370px,48vh,450px)}.base64-runtime{grid-template-rows:auto minmax(0,1fr)}.base64-workspace,.base64-grid{min-height:0;height:100%}.base64-grid .preview-stage,.base64-grid .image-preview,.base64-output-card textarea{height:clamp(430px,55vh,560px);max-height:clamp(430px,55vh,560px)}.base64-file-card .preview-stage,.base64-file-card .image-preview{min-height:0}.base64-output-card{gap:8px}.base64-output-card textarea{min-height:0;border-radius:13px;padding:10px;font-size:.76rem;line-height:1.58;cursor:copy}.base64-output-title{display:grid;gap:2px;min-width:0}.base64-copy-hint{color:#64748bd1;font-size:.72rem;line-height:1.2}.base64-output-card .hint{font-size:.77rem;line-height:1.45}.favicon-runtime{grid-template-rows:auto auto minmax(0,1fr)}.favicon-command-bar{align-items:center}.favicon-results-card{min-height:0}.favicon-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:0;overflow:auto;padding-right:2px}.favicon-result-item{display:grid;gap:7px;align-content:start;border:1px solid rgba(148,163,184,.22);border-radius:16px;background:#f8fafcc7;padding:9px}.favicon-result-preview{min-height:72px;display:grid;place-items:center;border-radius:12px;background-image:linear-gradient(45deg,rgba(148,163,184,.07) 25%,transparent 25%),linear-gradient(-45deg,rgba(148,163,184,.07) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(148,163,184,.07) 75%),linear-gradient(-45deg,transparent 75%,rgba(148,163,184,.07) 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.favicon-result-preview img{max-width:min(100%,96px);max-height:96px;width:auto;height:auto;object-fit:contain;image-rendering:auto}.favicon-result-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:.75rem}.favicon-result-meta strong{color:var(--text);font-size:.84rem}.favicon-snippet-card{gap:6px}.favicon-snippet-title{display:grid;gap:2px;min-width:0}.favicon-snippet-code{max-height:150px;margin:0;overflow:auto;border:1px solid rgba(148,163,184,.22);border-radius:14px;background:#f8fafcdb;color:#0f172a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.76rem;line-height:1.55;padding:10px;white-space:pre}.svg-runtime,.product-canvas-runtime{grid-template-rows:auto auto minmax(0,1fr)}.svg-input-card{position:relative}.svg-input-title{display:grid;gap:2px;min-width:0}.svg-input-body{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;min-height:0;height:100%}.svg-drop-zone{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 9px;align-items:center;width:100%;min-height:66px;border:1px dashed rgba(79,70,229,.24);border-radius:15px;background:#f5f7ffb8;color:var(--text);box-shadow:none;text-align:left}.svg-drop-zone .preview-empty-icon{grid-row:span 2;width:38px;height:38px;border-radius:14px;font-size:.76rem}.svg-drop-zone strong{font-size:.9rem}.svg-drop-zone small{color:var(--muted);font-size:.76rem}.svg-input-body textarea{width:100%;min-height:0;height:100%;resize:none;overflow:auto;border:1px solid rgba(148,163,184,.24);border-radius:14px;background:#f8fafcdb;color:#0f172a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.76rem;line-height:1.55;padding:10px}.svg-input-body textarea:focus{outline:none;border-color:#2563eb6b;box-shadow:0 0 0 3px #2563eb14}@media(min-width:901px){.svg-workspace>.preview-card{height:clamp(430px,55vh,560px);min-height:clamp(430px,55vh,560px)}.svg-workspace .preview-stage,.svg-workspace .image-preview{height:100%;min-height:0;max-height:none}}@media(max-width:900px){.favicon-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.favicon-snippet-code{max-height:180px}.svg-input-body{min-height:300px}}@media(max-width:520px){.favicon-result-grid{grid-template-columns:1fr}}.preview-empty{gap:7px;padding:20px}.preview-empty-inner{gap:7px;transform:translateY(-3px)}.preview-empty-icon{width:44px;height:44px;border-radius:16px;font-size:.96rem}.preview-empty strong{font-size:.94rem;line-height:1.25}.preview-empty span{max-width:270px;font-size:.82rem;line-height:1.42}.preview-inline-error{max-width:280px}.preview-drop-overlay{inset:8px;border-radius:16px;font-size:.88rem}.crop-stage{padding:12px}.crop-box{border-radius:9px}.crop-handle{right:-6px;bottom:-6px;width:14px;height:14px}@media(min-width:901px){.image-tool-runtime:not(:has(.stats-grid)) .preview-workspace{gap:8px}.image-tool-runtime:not(:has(.stats-grid)) .preview-card{border-radius:20px;padding:8px}.image-tool-runtime:not(:has(.stats-grid)) .preview-card-head{min-height:30px}.image-tool-runtime:not(:has(.stats-grid)) .preview-card .preview-stage,.image-tool-runtime:not(:has(.stats-grid)) .preview-card .image-preview{min-height:0}.image-tool-runtime:not(:has(.stats-grid)) .preview-empty-inner{transform:translateY(-8px)}}@media(max-width:1180px){.preview-card .preview-stage,.preview-card .image-preview{height:clamp(320px,43vh,400px);max-height:clamp(320px,43vh,400px)}.preview-card.has-file .preview-stage,.preview-card.has-file .image-preview,.preview-card:has(img) .preview-stage,.preview-card:has(img) .image-preview{height:clamp(340px,45vh,420px);max-height:clamp(340px,45vh,420px)}.base64-grid .preview-stage,.base64-grid .image-preview,.base64-output-card textarea{height:clamp(360px,48vh,460px);max-height:clamp(360px,48vh,460px)}}@media(max-width:900px){.preview-workspace,.base64-grid{gap:8px;align-items:start}.preview-card,.base64-file-card,.base64-output-card{border-radius:18px;padding:8px}.preview-card-head,.base64-output-head{min-height:31px}.preview-card .preview-stage,.preview-card .image-preview,.preview-card.has-file .preview-stage,.preview-card.has-file .image-preview,.preview-card:has(img) .preview-stage,.preview-card:has(img) .image-preview,.base64-grid .preview-stage,.base64-grid .image-preview,.base64-output-card textarea{height:clamp(250px,38vh,320px);min-height:250px;max-height:none}.preview-card:has(img) img,.image-preview img{max-height:62vh}.preview-empty{padding:18px}}@media(max-width:520px){.preview-card,.base64-file-card,.base64-output-card{border-radius:17px;padding:7px}.preview-card-head,.base64-output-head{align-items:flex-start;gap:6px}.preview-card-meta{align-items:flex-end}.preview-mode-switch button{padding:0 6px}.preview-card .preview-stage,.preview-card .image-preview,.preview-card.has-file .preview-stage,.preview-card.has-file .image-preview,.preview-card:has(img) .preview-stage,.preview-card:has(img) .image-preview,.base64-grid .preview-stage,.base64-grid .image-preview,.base64-output-card textarea{height:clamp(225px,34vh,285px);min-height:225px}.preview-empty{padding:16px}.preview-empty-icon{width:40px;height:40px;border-radius:15px}.preview-empty strong{font-size:.9rem}.preview-empty span{font-size:.8rem}}@media(min-width:901px){.base64-runtime{grid-template-rows:auto minmax(0,1fr)}.base64-workspace,.base64-grid{min-height:0;height:100%}.base64-grid{align-items:stretch}.base64-grid>.preview-card,.base64-grid>.base64-output-card{height:clamp(430px,55vh,560px);min-height:clamp(430px,55vh,560px)}.base64-grid .base64-file-card.preview-card,.base64-grid .base64-output-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.base64-grid .base64-file-card.preview-card{grid-template-rows:auto minmax(0,1fr)}.base64-grid .base64-file-card.preview-card .preview-stage,.base64-grid .base64-file-card.preview-card .image-preview,.base64-grid .base64-output-card textarea{height:100%;min-height:0;max-height:none}.preview-workspace>.preview-card{height:clamp(370px,48vh,450px);min-height:clamp(370px,48vh,450px)}.preview-workspace>.preview-card .preview-stage,.preview-workspace>.preview-card .image-preview{height:100%;min-height:0;max-height:none}}.inspector{padding:.66rem}.inspector-stack{gap:8px}.inspector section,.inspector-card{border-radius:16px;padding:9px 10px}.inspector-status{padding:10px}.inspector-card h2,.inspector section h2{margin:0 0 6px;font-size:.86rem;line-height:1.25}.inspector-card p,.inspector section p{margin-top:6px;line-height:1.48;font-size:.84rem}.inspector-status .eyebrow{margin-bottom:5px;font-size:.68rem;letter-spacing:.08em}.info-list{gap:4px;margin:.46rem 0}.info-row{align-items:baseline;gap:8px;padding-block:1px;font-size:.8rem;line-height:1.35}.info-row strong{max-width:60%}.error-card,.error-pill{font-size:.8rem;line-height:1.38}.error-card{margin-top:.46rem;border-radius:13px;padding:.55rem .65rem}.error-pill{padding:.3rem .5rem}.inspector-details{border-radius:13px;padding:0;overflow:hidden}.inspector-details summary{min-height:30px;padding:7px 9px;font-size:.82rem;line-height:1.25}.inspector-details p,.inspector-details ul{margin:0;padding:8px 9px 9px}.inspector-details li,.inspector-list li{font-size:.82rem;line-height:1.38}.inspector-list{gap:5px}.inspector-list li{gap:.4rem}.inspector-list li:before{width:.34rem;height:.34rem;margin-top:.43rem}.network-card{padding-top:10px}.network-links{gap:5px}.network-links a{min-height:28px;padding:.35rem .55rem;font-size:.78rem}.mobile-inspector{padding:.68rem}.mobile-inspector-stack{gap:8px}.mobile-inspector details{border-radius:16px;padding:9px 10px}.mobile-inspector summary{min-height:28px;font-size:.88rem;line-height:1.3}.mobile-details-body{gap:7px;margin-top:8px;font-size:.84rem;line-height:1.46}.mobile-inspector .inspector-card,.mobile-status-shell .inspector-card{border-radius:17px;padding:10px}.mobile-inspector .inspector-status h2{font-size:.96rem;line-height:1.22}.mobile-inspector .inspector-status p{margin-top:6px;line-height:1.5}.mobile-inspector .info-list{margin-top:9px;padding:9px 10px;border-radius:14px}.mobile-inspector .info-row{padding-block:3px}.ok-text{margin:0;font-size:.82rem;line-height:1.35}@media(min-width:1181px){.inspector-card.tool-tip,.inspector-card:last-child:not(.network-card){max-height:124px}}@media(max-width:1180px){.inspector{padding:.68rem}.inspector-stack{gap:8px}}@media(max-width:900px){.mobile-inspector.panel{padding:.68rem}.mobile-inspector-stack>details{border-radius:16px}.mobile-details-body .inspector-card{padding:0}}@media(max-width:520px){.mobile-inspector{padding:.62rem}.mobile-inspector details{border-radius:15px;padding:8px 9px}.info-row{font-size:.78rem}.info-row strong{max-width:56%}}.result-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:7px;padding:9px;border:1px solid rgba(148,163,184,.22);border-radius:18px;background:linear-gradient(180deg,#ffffffd1,#f8fafcb3)}.result-stat{min-width:0;display:grid;gap:3px;padding:8px 9px;border:1px solid rgba(148,163,184,.16);border-radius:14px;background:#ffffffb8}.result-stat span{overflow:visible;color:var(--muted);font-size:.7rem;font-weight:850;line-height:1.15;white-space:normal}.result-stat strong{overflow:visible;color:var(--text);font-size:.82rem;font-weight:900;line-height:1.18;white-space:normal;word-break:keep-all}@media(max-width:640px){.result-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}.result-stat{padding:7px 8px}}
