:root{--bg:#fff;--surface:#fff;--text:#333;--muted:#888;--line:#e0e0e0;--accent:#64b5f6;--accent-deep:#337ec6;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}[hidden]{display:none!important}body{background:var(--bg);color:var(--text);margin:0;font-size:14px;line-height:1.5}.shell{max-width:680px;margin:0 auto;padding:48px 20px 64px}@media (width<=520px){.shell{padding:36px 16px 48px}}.dropzone{background:var(--surface);text-align:center;cursor:pointer;border:1px dashed #ccc;border-radius:0;flex-direction:column;align-items:center;gap:4px;padding:28px 16px;transition:border-color .15s;display:flex}.dropzone:hover,.dropzone.is-over{border-color:var(--accent)}.dropzone.has-file{border-style:solid;border-color:var(--line);text-align:left;flex-direction:row;align-items:center;gap:12px;padding:10px 12px}.dropzone.has-file:hover{border-color:#aaa}.dropzone .dz-empty{flex-direction:column;align-items:center;gap:4px;display:flex}.dropzone .dz-icon{color:#999;margin-bottom:4px;transition:color .15s}.dropzone:hover .dz-icon,.dropzone.is-over .dz-icon{color:var(--accent)}.dropzone .dz-title{font-size:14px}.dropzone .dz-hint{color:var(--muted);font-size:12px}.dropzone .dz-selected{align-items:center;gap:12px;width:100%;display:flex}.dropzone .dz-thumb{border:1px solid var(--line);object-fit:contain;background:#f5f5f5;border-radius:0;flex:none;width:44px;height:44px}.dropzone .dz-info{min-width:0}.dropzone .dz-name{word-break:break-all;margin:0;font-size:13px}.dropzone .dz-sub{color:var(--muted);margin:1px 0 0;font-size:12px}.dropzone .dz-swap{color:var(--accent);flex:none;margin-left:auto;font-size:12px}.controls{margin-top:30px}.controls .row{justify-content:space-between;align-items:baseline;font-size:13px;display:flex}.controls .row output{color:var(--accent-deep)}.controls input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:18px;margin:10px 0 0;display:block}.controls input[type=range]::-webkit-slider-runnable-track{background:#ddd;border-radius:1px;height:2px}.controls input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--accent);border:0;border-radius:50%;width:12px;height:12px;margin-top:-5px}.controls input[type=range]::-moz-range-track{background:#ddd;border-radius:1px;height:2px}.controls input[type=range]::-moz-range-thumb{background:var(--accent);border:0;border-radius:50%;width:12px;height:12px}.controls input[type=range]:focus-visible{outline-offset:4px;border-radius:2px;outline:2px solid #64b5f666}.controls .primary{background:var(--accent);color:#fff;width:100%;font:inherit;text-align:center;cursor:pointer;border:0;border-radius:6px;margin-top:18px;padding:11px 16px;transition:opacity .15s;display:block}.controls .primary:hover:not(:disabled){opacity:.86}.controls .primary:disabled{color:#aaa;cursor:not-allowed;background:#eee}.controls .progress{margin-top:12px}.controls .progress .progress-bar{background:#e5e5e5;height:2px;overflow:hidden}.controls .progress .progress-bar i{background:var(--accent);width:0;height:100%;transition:width .15s linear;display:block}.controls .progress .progress-text{color:var(--muted);margin:6px 0 0;font-size:12px}.controls .error{color:#b91c1c;margin:12px 0 0;font-size:13px}.result{border-top:1px solid var(--line);margin-top:32px;padding-top:22px}.result .preview{border:1px solid var(--line);background:#f5f5f5;border-radius:0;max-width:100%;height:auto;max-height:360px;margin:0 auto;display:block}.result .meta{color:var(--muted);margin:14px 0 0;font-size:12px}.result .secondary{border:1px solid var(--line);background:var(--surface);color:var(--text);text-align:center;border-radius:6px;margin-top:12px;padding:11px 16px;font-size:14px;text-decoration:none;transition:border-color .15s;display:block}.result .secondary:hover{border-color:#aaa}
