@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";.convert-page{--indigo-50: #eef2ff;--indigo-100: #e0e7ff;--indigo-500: #6366f1;--indigo-600: #4f46e5;--indigo-700: #4338ca;--emerald-600: #059669;--red-500: #ef4444;--slate-50: #f8fafc;--slate-100: #f1f5f9;--slate-200: #e2e8f0;--slate-300: #cbd5e1;--slate-400: #94a3b8;--slate-500: #64748b;--slate-600: #475569;--slate-700: #334155;--slate-900: #0f172a;--white: #ffffff;--radius-sm: 6px;--radius: 10px;--radius-lg: 16px;--shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);--shadow-lg: 0 16px 40px rgba(15, 23, 42, .12), 0 4px 12px rgba(15, 23, 42, .06);--font: "DM Sans", system-ui, sans-serif;--mono: "DM Mono", Consolas, monospace;font-family:var(--font);color:var(--slate-900);background:transparent;overflow-x:hidden}.convert-page .page{max-width:780px;margin:0 auto;padding:28px 24px 64px}.convert-page .header{margin-bottom:28px}.convert-page .header-inner{display:flex;align-items:flex-start;gap:16px}.convert-page .header-accent{width:4px;height:52px;border-radius:2px;background:var(--indigo-600);flex-shrink:0;margin-top:4px}.convert-page .header-text h1{font-size:1.75rem;font-weight:700;letter-spacing:-.02em;line-height:1.2;color:var(--slate-900)}.convert-page .header-text p{margin-top:6px;font-size:.875rem;color:var(--slate-500);line-height:1.5}.convert-page .tags{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.convert-page .tag{font-size:.72rem;font-weight:600;letter-spacing:.04em;padding:3px 10px;border-radius:999px;background:var(--indigo-50);color:var(--indigo-600);border:1px solid var(--indigo-100)}.convert-page .card{background:var(--white);border:1px solid var(--slate-200);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:24px;margin-bottom:20px}.convert-page .section-title{display:flex;align-items:center;gap:10px;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--slate-400);margin-bottom:18px}.convert-page .section-title:before{content:attr(data-n);display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:4px;background:var(--indigo-600);color:#fff;font-size:.68rem;font-weight:700;flex-shrink:0}.convert-page .section-title:after{content:"";flex:1;height:1px;background:var(--slate-200)}.convert-page .dropzone{border:2px dashed var(--slate-300);border-radius:var(--radius);padding:40px 24px;text-align:center;cursor:pointer;transition:border-color .2s,background .2s;position:relative}.convert-page .dropzone.over,.convert-page .dropzone:hover{border-color:var(--indigo-500);background:var(--indigo-50)}.convert-page .dropzone input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.convert-page .dz-icon{width:44px;height:44px;border-radius:12px;background:var(--indigo-50);border:1px solid var(--indigo-100);display:inline-flex;align-items:center;justify-content:center;margin-bottom:12px;color:var(--indigo-600)}.convert-page .dz-title{font-size:.95rem;font-weight:600;color:var(--slate-700)}.convert-page .dz-sub{font-size:.82rem;color:var(--slate-400);margin-top:4px}.convert-page .dz-badge{display:inline-block;margin-top:14px;font-size:.78rem;font-weight:600;color:var(--indigo-600);background:var(--indigo-50);border:1px solid var(--indigo-100);padding:4px 14px;border-radius:999px}.convert-page .file-list{margin-top:14px;display:flex;flex-direction:column;gap:6px}.convert-page .file-item{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:var(--radius-sm);background:var(--slate-50);border:1px solid var(--slate-200);font-size:.83rem}.convert-page .file-item-name{flex:1;color:var(--slate-700);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.convert-page .file-item-size{color:var(--slate-400);font-size:.76rem;flex-shrink:0}.convert-page .file-item-remove{width:20px;height:20px;border:none;background:none;cursor:pointer;border-radius:4px;color:var(--slate-400);display:flex;align-items:center;justify-content:center}.convert-page .file-item-remove:hover{background:#fee2e2;color:var(--red-500)}.convert-page .settings-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}@media(max-width:560px){.convert-page .settings-grid{grid-template-columns:1fr 1fr}}.convert-page .field label{display:block;font-size:.78rem;font-weight:600;color:var(--slate-600);margin-bottom:4px}.convert-page .field .hint{font-size:.74rem;color:var(--slate-400);margin-bottom:8px}.convert-page .field input,.convert-page .field select{width:100%;padding:9px 12px;font-family:var(--mono);font-size:.88rem;border:1px solid var(--slate-200);border-radius:var(--radius-sm);background:var(--white);color:var(--slate-900);outline:none}.convert-page .field input:focus,.convert-page .field select:focus{border-color:var(--indigo-500);box-shadow:0 0 0 3px #6366f11f}.convert-page .field select{-webkit-appearance:none;-moz-appearance:none;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='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:34px;cursor:pointer}.convert-page .size-row{display:flex;align-items:center;gap:8px}.convert-page .size-sep{color:var(--slate-300);font-weight:700;font-size:1rem}.convert-page .size-row input{width:70px;text-align:center}.convert-page .btn-convert{width:100%;padding:14px;font-family:var(--font);font-size:1rem;font-weight:700;color:#fff;background:var(--indigo-600);border:none;border-radius:var(--radius);cursor:pointer;box-shadow:0 2px 8px #4f46e540;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px}.convert-page .btn-convert:hover:not(:disabled){background:var(--indigo-700);transform:translateY(-1px)}.convert-page .btn-convert:disabled{opacity:.55;cursor:not-allowed;transform:none}.convert-page .progress-wrap{margin-top:18px;display:none}.convert-page .progress-wrap.visible{display:block}.convert-page .progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.convert-page .progress-text{font-size:.83rem;font-weight:600;color:var(--slate-600)}.convert-page .progress-pct{font-size:.83rem;font-family:var(--mono);color:var(--indigo-600)}.convert-page .progress-bar-track{height:6px;border-radius:99px;background:var(--slate-100);overflow:hidden}.convert-page .progress-bar-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--indigo-500),var(--indigo-600));transition:width .3s ease}.convert-page .btn-download{display:none;width:100%;margin-top:14px;padding:13px;font-family:var(--font);font-size:.95rem;font-weight:700;color:#fff;background:var(--emerald-600);border:none;border-radius:var(--radius);cursor:pointer;align-items:center;justify-content:center;gap:8px}.convert-page .btn-download.visible{display:flex}.convert-page .convert-results{margin-top:20px;padding-top:18px;border-top:1px solid var(--slate-200)}.convert-page .convert-results-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.convert-page .convert-results-count{font-size:.88rem;font-weight:600;color:var(--slate-700)}.convert-page .convert-results-actions{display:flex;align-items:center;gap:8px}.convert-page .btn-outline{padding:7px 14px;border:1px solid var(--indigo-100);border-radius:var(--radius-sm);background:var(--indigo-50);color:var(--indigo-600);font-size:.78rem;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}.convert-page .btn-outline:hover{background:var(--indigo-100);border-color:var(--indigo-500)}.convert-page .convert-results-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.convert-page .convert-result-card{border:1px solid var(--slate-200);border-radius:var(--radius);background:var(--white);overflow:hidden;display:flex;flex-direction:column}.convert-page .convert-result-preview{aspect-ratio:1;background:linear-gradient(45deg,#e2e8f0 25%,transparent 25%),linear-gradient(-45deg,#e2e8f0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e2e8f0 75%),linear-gradient(-45deg,transparent 75%,#e2e8f0 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;background-color:#f8fafc;display:flex;align-items:center;justify-content:center;padding:10px}.convert-page .convert-result-preview img{max-width:100%;max-height:100%;object-fit:contain;display:block}.convert-page .convert-result-meta{padding:10px 12px 0;display:grid;gap:4px}.convert-page .convert-result-name{font-size:.72rem;font-weight:600;color:var(--slate-700);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.convert-page .convert-result-size{font-size:.7rem;color:var(--slate-400)}.convert-page .convert-result-download{align-self:flex-end;margin:8px 12px 12px;padding:0;border:0;background:none;color:var(--indigo-600);font-size:.78rem;font-weight:700;cursor:pointer}.convert-page .convert-result-download:hover{color:var(--indigo-700);text-decoration:underline}.convert-page .convert-toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%) translateY(80px);background:var(--slate-900);color:#fff;font-size:.85rem;font-weight:500;padding:12px 22px;border-radius:var(--radius);box-shadow:var(--shadow-lg);opacity:0;transition:transform .3s cubic-bezier(.34,1.56,.64,1),opacity .25s;white-space:nowrap;pointer-events:none;z-index:100}.convert-page .convert-toast.show{opacity:1;transform:translate(-50%) translateY(0)}.convert-page .spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:convert-spin .6s linear infinite;display:none}.convert-page .spinner.visible{display:block}@keyframes convert-spin{to{transform:rotate(360deg)}}.convert-page .features{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}@media(max-width:560px){.convert-page .features{grid-template-columns:1fr}}.convert-page .feature-item{display:flex;align-items:center;gap:10px;padding:14px 16px;background:var(--white);border:1px solid var(--slate-200);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.convert-page .feat-icon{width:34px;height:34px;border-radius:8px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--indigo-50);color:var(--indigo-600)}.convert-page .feat-icon svg{width:18px;height:18px}.convert-page .feat-title{font-size:.83rem;font-weight:700;color:var(--slate-700);line-height:1.3}.convert-page .feat-desc{font-size:.75rem;color:var(--slate-400);margin-top:2px;line-height:1.4}.convert-page .faq-section{margin-top:8px;margin-bottom:20px}.convert-page .faq-heading{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--slate-400);display:flex;align-items:center;gap:10px;margin-bottom:12px}.convert-page .faq-heading:before{content:"FAQ";display:inline-flex;align-items:center;justify-content:center;padding:0 8px;height:20px;border-radius:4px;background:var(--indigo-600);color:#fff;font-size:.68rem;font-weight:700}.convert-page .faq-heading:after{content:"";flex:1;height:1px;background:var(--slate-200)}.convert-page .faq-list{display:flex;flex-direction:column;gap:8px}.convert-page .faq-item{background:var(--white);border:1px solid var(--slate-200);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.convert-page .faq-q{width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;font-size:.9rem;font-weight:600;color:var(--slate-700);background:none;border:none;cursor:pointer}.convert-page .faq-q:hover{background:var(--slate-50)}.convert-page .faq-chevron{width:16px;height:16px;flex-shrink:0;color:var(--slate-400);transition:transform .25s ease}.convert-page .faq-item.open .faq-chevron{transform:rotate(180deg)}.convert-page .faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease,padding .25s ease;padding:0 18px}.convert-page .faq-item.open .faq-a{max-height:300px;padding:0 18px 16px}.convert-page .faq-a p{font-size:.875rem;color:var(--slate-500);line-height:1.7;border-top:1px solid var(--slate-100);padding-top:12px;margin:0}:root{font-family:DM Sans,Noto Sans SC,sans-serif;color:#18233b;background:#f6f7fb;font-synthesis:none;--ink: #18233b;--muted: #72809a;--soft-muted: #9aa7bb;--line: #dfe5ef;--panel: #fff;--canvas: #f0f3f9;--purple: #5b50d6;--purple-dark: #4a41c4;--purple-soft: #ebeaf8;--success: #24a76a;--ease: cubic-bezier(.22, 1, .36, 1)}*{box-sizing:border-box}html{scroll-behavior:smooth;overflow-x:hidden}body{min-width:320px;min-height:100vh;margin:0;background:#f8fafc;-webkit-font-smoothing:antialiased;overflow-x:hidden}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #afaaff;outline-offset:3px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.app-shell{min-height:100vh;display:flex;flex-direction:column;background:#f8fafc}.site-header{width:100%;flex-shrink:0;background:#f8fafc;border-bottom:1px solid #e2e8f0}.site-topbar{width:100%;min-height:60px;margin:0;padding:12px 20px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:16px}.site-brand{grid-column:1;justify-self:start;display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}.site-brand .brand-mark{width:32px;height:32px;flex:0 0 auto;display:grid;place-items:center;border-radius:8px;color:#fff;background:#5b50d6;box-shadow:0 3px 10px #5b50d638}.site-brand .brand-mark svg{width:16px}.brand-copy{display:grid;gap:1px;line-height:1.1}.site-brand .brand-title{font-size:18px;font-weight:700;color:#1e293b;letter-spacing:-.02em}.site-brand .brand-sub{color:#94a3b8;font-size:10px;font-weight:600;letter-spacing:.1em}.site-tabs{grid-column:2;justify-self:center;display:inline-flex;align-items:center;gap:2px;padding:4px;border-radius:999px;background:#e8ecf4}.site-tab{min-height:36px;padding:0 14px;display:inline-flex;align-items:center;gap:7px;border:0;border-radius:999px;background:transparent;color:#64748b;font-size:12px;font-weight:700;cursor:pointer;transition:.15s var(--ease);white-space:nowrap}.site-tab svg{width:15px;flex-shrink:0}.site-tab.active{color:#1e293b;background:#fff;box-shadow:0 1px 3px #0f172a14,0 2px 8px #0f172a0f}.site-tab:not(.active):hover{color:#475569}.lang-switcher{grid-column:3;justify-self:end;display:inline-flex;align-items:center;padding:3px;gap:2px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;box-shadow:0 1px 2px #0f172a0a}.lang-btn{padding:5px 14px;border:0;border-radius:999px;background:transparent;color:#64748b;font-size:11px;font-weight:600;cursor:pointer;transition:.15s var(--ease)}.lang-btn.active{color:#fff;background:#5b50d6;box-shadow:0 1px 4px #5b50d647}.lang-btn:not(.active):hover{background:#f1f5f9;color:#334155}.site-content{flex:1;width:min(1200px,calc(100% - 40px));margin:0 auto;padding:16px 0 32px}.site-content--convert{width:min(860px,calc(100% - 48px));overflow:visible}.tool-intro{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px;padding:4px 0 0}.tool-intro-mark{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;border-radius:9px;color:#fff;background:var(--purple);box-shadow:0 4px 10px #5145e82e}.tool-intro-mark svg{width:18px}.tool-intro h2{margin:0 0 4px;font-size:17px;font-weight:700;color:#1a2744}.tool-intro p{margin:0;max-width:720px;color:#7a879c;font-size:11.5px;line-height:1.45}.tool-intro--plain{padding-left:2px}.grayscale-tool .page-frame{width:100%;margin:0}.grayscale-toast{z-index:60}.topbar{width:min(1180px,calc(100% - 48px));height:68px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7ebf2}.brand{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:10px;align-items:center;color:var(--ink);text-decoration:none;font-size:20px;font-weight:700;letter-spacing:0;line-height:1.15}.brand-mark{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:#fff;background:var(--purple);box-shadow:0 3px 8px #5145e833}.brand-mark{grid-row:1 / span 2}.brand>span:not(.brand-mark){grid-column:2;grid-row:1}.brand-mark svg{width:15px}.brand small{grid-column:2;grid-row:2;max-width:min(680px,calc(100vw - 450px));margin-top:2px;overflow:hidden;padding-left:0;border-left:0;color:#7b89a1;font-size:11px;font-weight:500;line-height:1.35;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.page-frame{width:100%;margin:0;display:grid;grid-template-columns:286px minmax(0,1fr);gap:22px;align-items:start}.control-rail,.results-area{overflow:hidden;border:1px solid var(--line);border-radius:15px;background:var(--panel);box-shadow:0 1px 2px #1420380a,0 8px 20px #14203808}.control-rail{min-height:calc(100vh - 110px);padding:0 18px 18px;position:sticky;top:16px}.rail-heading,.results-heading{position:relative;min-height:56px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.rail-heading:before,.results-heading:before,.section-title:before{width:21px;height:21px;flex:0 0 auto;display:grid;place-items:center;border-radius:5px;background:var(--purple);color:#fff;font-size:9px;font-weight:700}.rail-heading:before{content:"01";margin-right:10px}.rail-heading>div{margin-right:auto}.rail-heading span{display:block;color:#677792;font-size:12px;font-weight:700}.rail-heading small{display:none}.icon-button{width:30px;height:30px;display:grid;place-items:center;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;transition:.15s var(--ease)}.icon-button:hover{border-color:#dde2ec;background:#f6f7fa;color:var(--purple)}.icon-button svg{width:15px}.source-preview{width:100%;aspect-ratio:1 / .66;height:auto;margin-top:16px;padding:10px;overflow:hidden;position:relative;display:grid;place-items:center;border:1px dashed #b9c7df;border-radius:10px;background:#fafbfe;cursor:pointer;transition:border-color .16s,background .16s}.source-preview:hover{border-color:var(--purple);background:#f8f8ff}.source-preview img{width:100%;height:100%;max-width:100%;max-height:100%;display:block;object-fit:contain;object-position:center}.upload-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:7px;color:#4654d6;background:#fafbfee0;font-size:11px;font-weight:700;opacity:0;transition:opacity .18s var(--ease);padding-top:48px}.upload-overlay:before{content:"";position:absolute;width:38px;height:38px;border:1px solid #dce1ff;border-radius:10px;background:#eef0ff}.upload-overlay svg{width:17px;z-index:1}.source-preview:hover .upload-overlay{opacity:1}.upload-empty-hint{display:flex;flex-direction:column;align-items:center;gap:9px;color:#7b8fb5;font-size:11px;font-weight:400;pointer-events:none}.upload-empty-hint b{font-size:12px;font-weight:700;color:#5b70a6}.upload-empty-hint svg{width:24px;height:24px;color:#a0b0cc}.source-preview--empty:hover{border-color:var(--purple)}.source-preview--empty:hover .upload-empty-hint,.source-preview--empty:hover .upload-empty-hint b{color:#4f46e5}.source-preview--empty:hover .upload-empty-hint svg{color:#6366f1}.controls-section{margin-top:16px;padding-top:0;display:grid;grid-template-columns:1fr;gap:13px}.section-title{grid-column:1 / -1;min-height:43px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line);color:#677792;font-size:12px;font-weight:700}.section-title:before{content:"02"}.section-title svg{display:none}.engine-status{grid-column:1 / -1;min-height:34px;margin:-4px 0 0;padding:0 10px;display:flex;align-items:center;justify-content:space-between;border:1px solid #e3e7f0;border-radius:7px;background:#fafbfe}.engine-status span{display:flex;min-width:0;align-items:center;gap:7px;color:#566680;font-size:10px;font-weight:600}.engine-status i{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--success)}.engine-status small{color:#5d54d6;font-size:9px;font-weight:700}.gen-mode-row{grid-column:1 / -1;margin:-4px 0 0}.gen-mode-label{display:block;margin-bottom:6px;color:#677792;font-size:10px;font-weight:700}.gen-mode-select{width:100%;height:34px;padding:0 10px;border:1px solid #d1d9e8;border-radius:8px;background:#fff;color:#334155;font-size:11px;font-weight:600;cursor:pointer;outline:none;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;transition:border-color .15s}.gen-mode-select:hover:not(:disabled){border-color:#a5a4e0}.gen-mode-select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.gen-mode-select:disabled{opacity:.5;cursor:not-allowed}.quantity-control{min-height:50px;padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:9px;border:1px solid #e3e7f0;border-radius:8px;background:#fff}.quantity-control>span:first-child{display:grid;min-width:0;gap:2px}.quantity-control b{font-size:10px}.quantity-control small{overflow:hidden;color:var(--muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.quantity-input{height:27px;min-width:62px;padding:0 6px 0 8px;display:inline-flex;align-items:center;gap:3px;border:1px solid #cfd7e6;border-radius:6px;background:#fff;color:#4d45d2}.quantity-input input{width:29px;padding:0;border:0;outline:0;color:var(--ink);background:transparent;font-size:11px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums}.quantity-input input::-webkit-inner-spin-button,.quantity-input input::-webkit-outer-spin-button{margin:0}.quantity-input em{color:var(--muted);font-size:8px;font-style:normal}.quantity-input:focus-within{border-color:var(--purple);box-shadow:0 0 0 3px #5145e81c}.quantity-control:has(input:disabled){opacity:.62}.slider-row{display:block;margin:0}.slider-row>span{margin-bottom:7px;display:flex;justify-content:space-between;color:#53627c;font-size:10px}.slider-row b{font-weight:600}.slider-row output{color:#5045d7;font-size:9px;font-weight:700;font-variant-numeric:tabular-nums}input[type=range]{width:100%;height:4px;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:99px;background:linear-gradient(90deg,var(--purple) 0 var(--value, 50%),#e5e9f1 var(--value, 50%) 100%);cursor:pointer}input[type=range]::-webkit-slider-thumb{width:14px;height:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:3px solid #fff;border-radius:50%;background:var(--purple);box-shadow:0 0 0 1px #aab3c4}input[type=range]:disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.4)}.advanced-toggle{width:100%;height:39px;margin-top:17px;padding:0;display:flex;align-items:center;justify-content:space-between;border:0;border-top:1px solid var(--line);background:transparent;color:#5f6e88;font-size:10px;font-weight:700;cursor:pointer}.advanced-toggle svg{width:14px;transition:transform .25s var(--ease)}.advanced-toggle .rotated{transform:rotate(180deg)}.advanced-content{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s var(--ease)}.advanced-content>div{overflow:hidden}.advanced-content.open{grid-template-rows:1fr}.advanced-content.open .slider-row{padding:4px 0 13px}.generate-button,.generation-progress{width:100%;min-height:46px;margin-top:18px;border-radius:8px}.generate-button{display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:#9d96eb;color:#fff;box-shadow:0 6px 14px #5145e824;font-size:11px;font-weight:700;cursor:pointer;transition:.15s var(--ease)}.generate-button.is-ready,.generate-button:hover{background:var(--purple);transform:translateY(-1px)}.generate-button:disabled{opacity:.62;cursor:not-allowed;transform:none}.generate-button svg{width:15px}.generation-progress{padding:9px 12px 10px;display:grid;gap:7px;background:var(--purple);color:#fff;box-shadow:0 6px 14px #5145e824}.generation-progress-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;font-weight:700}.generation-progress-top span{min-width:0;overflow:hidden;display:flex;align-items:center;gap:7px;text-overflow:ellipsis;white-space:nowrap}.generation-progress-top svg{width:12px;flex:0 0 auto}.generation-progress-top strong{font-size:10px;font-variant-numeric:tabular-nums}.generation-progress-track{height:4px;overflow:hidden;border-radius:99px;background:#ffffff47}.generation-progress-track span{display:block;height:100%;border-radius:inherit;background:#fff;transition:width .3s var(--ease)}.results-area{min-width:0;min-height:calc(100vh - 110px);margin-top:0}.results-heading{min-height:70px;padding:0 20px;align-items:center}.results-heading:before{display:none}.results-heading-copy{min-width:0;margin-right:auto}.kicker{display:none}.results-heading h1{margin:0 0 3px;color:#53627c;font-size:12px;line-height:1.2;font-weight:700;letter-spacing:0}.results-heading p{margin:0;color:var(--muted);font-size:9px;line-height:1.4}.results-count{min-width:58px;padding-left:12px;display:grid;justify-items:end;gap:1px;border-left:1px solid var(--line);color:var(--muted)}.results-count strong{color:var(--ink);font-size:18px;line-height:1;font-variant-numeric:tabular-nums}.results-count span{font-size:8px;font-weight:700}.results-count.is-updating strong{color:var(--purple)}.results-grid{padding:18px 20px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.result-card{min-width:0;overflow:hidden;position:relative;display:grid;grid-template-rows:44px 240px 35px;border:1px solid #e1e6ef;border-radius:9px;background:#fff;transition:border-color .18s,box-shadow .18s}.result-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:transparent;z-index:1}.result-card:hover{border-color:#b7b8ee}.result-card.selected{border-color:var(--purple);box-shadow:0 6px 16px #5145e81f}.result-card.selected:before{background:var(--purple)}.result-head{width:100%;min-height:44px;padding:7px 10px 7px 12px;display:flex;align-items:center;justify-content:space-between;border:0;background:transparent;text-align:left;cursor:pointer}.result-head-copy{min-width:0;display:flex;align-items:center;gap:8px}.result-index{width:21px;height:21px;display:grid;place-items:center;border-radius:5px;color:#62708a;background:#f0f3f9;font-size:8px;font-weight:700;font-variant-numeric:tabular-nums}.result-card.selected .result-index{color:#4c42ce;background:var(--purple-soft)}.result-head-title{min-width:0}.result-head b,.result-head small{display:block}.result-head b{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.result-head small{margin-top:2px;color:var(--muted);font-size:7px}.selection-state{min-width:18px;min-height:18px;display:inline-flex;align-items:center;justify-content:flex-end;color:var(--muted)}.selection-state>i{width:16px;height:16px;border:1px solid #cfd7e6;border-radius:50%;background:#fff}.selection-state.active{padding:3px 6px 3px 4px;gap:4px;border-radius:99px;color:#fff;background:var(--purple)}.selection-state.active svg{width:9px}.selection-state em{font-size:7px;font-style:normal;font-weight:700}.result-image{min-height:0;overflow:hidden;position:relative;background:#000;cursor:zoom-in;border:0;padding:0;width:100%}.result-image img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}.result-placeholder{min-height:0;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:repeating-linear-gradient(135deg,#202533,#202533 2px,#252b3b 2px,#252b3b 4px);color:#ccd4e2;text-align:center}.result-placeholder svg{width:19px;height:19px;color:#aeb9dc}.result-placeholder span{max-width:90%;font-size:8px;line-height:1.45}.result-placeholder-inactive{background:#f5f7fa;color:var(--muted)}.result-placeholder-error{background:#fff3f2;color:#b3483d}.result-card>footer{min-height:35px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e5e9f0;color:var(--muted);font-size:7px}.card-spec b,.selection-export-spec b{color:#98a4b6;font-weight:400}.result-card>footer button{min-height:27px;padding:0 6px;display:flex;align-items:center;gap:3px;border:0;border-radius:5px;color:#5045d7;background:transparent;font-size:8px;font-weight:700;cursor:pointer}.result-card>footer button:hover{background:var(--purple-soft)}.result-card>footer button:disabled{opacity:.4;cursor:wait}.result-card>footer svg{width:11px}.selected-export{min-height:62px;margin:0 20px 20px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;border:1px solid #e0e5ef;border-radius:8px;background:#fafbfe;color:var(--ink)}.selected-export-copy{min-width:0;display:flex;align-items:center;gap:9px}.selection-confirm-icon{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#158552;background:#e5f7ee}.selection-confirm-icon svg{width:13px}.selection-confirm-text{min-width:100px;display:grid;gap:2px}.selection-confirm-text small{color:var(--muted);font-size:8px}.selection-confirm-text strong{color:var(--ink);font-size:9px}.selection-export-spec{padding-left:10px;border-left:1px solid var(--line);color:var(--muted);font-size:8px}.selected-export>button{min-height:37px;padding:0 13px;display:flex;align-items:center;gap:6px;border:0;border-radius:7px;color:#fff;background:var(--purple);font-size:9px;font-weight:700;cursor:pointer}.selected-export>button:hover{background:var(--purple-dark)}.selected-export>button:disabled{opacity:.45;cursor:not-allowed}.selected-export.is-waiting{color:var(--muted)}.selected-export.is-waiting .selection-confirm-icon{color:var(--muted);background:#eef1f6}.selected-export.is-waiting .selection-confirm-icon svg{animation:spin 1.2s linear infinite}.selected-export>button svg{width:12px}.toast{position:fixed;z-index:50;left:50%;bottom:24px;min-height:39px;padding:0 14px;display:flex;align-items:center;gap:7px;border-radius:8px;color:#fff;background:#1d2840;box-shadow:0 12px 30px #14203833;font-size:10px;transform:translate(-50%);animation:toast-in .35s var(--ease)}.toast svg{color:#6fe0a7}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,10px)}}.image-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:24px;background:#0f172abd;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:preview-in .18s var(--ease)}.image-preview-panel{position:relative;max-width:min(96vw,1280px);max-height:92vh;display:flex;flex-direction:column;align-items:center;gap:10px}.image-preview-panel img{max-width:100%;max-height:calc(92vh - 52px);display:block;object-fit:contain;border-radius:12px;background:#0a0a0a;box-shadow:0 28px 64px #0000006b}.image-preview-caption{margin:0;max-width:100%;padding:0 8px;color:#e8edf5;font-size:12px;font-weight:600;text-align:center}.image-preview-close{position:absolute;top:-14px;right:-14px;z-index:1;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;color:#1a2744;background:#fff;box-shadow:0 8px 24px #00000038;cursor:pointer;transition:transform .15s var(--ease),background .15s var(--ease)}.image-preview-close:hover{transform:scale(1.05);background:#f4f6fb}.image-preview-close svg{width:16px;height:16px}@keyframes preview-in{0%{opacity:0}}@media(max-width:980px){.site-topbar{padding:12px 16px;grid-template-columns:1fr;row-gap:12px;justify-items:stretch}.site-brand{grid-column:1}.site-tabs{grid-column:1;justify-self:start;overflow-x:auto;max-width:100%;scrollbar-width:none}.site-tabs::-webkit-scrollbar{display:none}.lang-switcher{grid-column:1;justify-self:start}.site-content:not(.site-content--convert){width:min(760px,calc(100% - 24px))}.page-frame{width:min(760px,calc(100% - 32px));grid-template-columns:1fr}.control-rail{min-height:auto;position:static}.results-area{min-height:0}}@media(min-width:981px)and (min-height:700px){html:has(.app-shell--convert),body:has(.app-shell--convert),body:has(.app-shell--convert) #root{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}html:has(.app-shell--convert)::-webkit-scrollbar,body:has(.app-shell--convert)::-webkit-scrollbar{display:none;width:0}.app-shell--convert{min-height:100dvh;height:auto;overflow:visible}.site-content--convert{height:auto;overflow:visible}html:not(:has(.app-shell--convert)),body:not(:has(.app-shell--convert)),body:not(:has(.app-shell--convert)) #root{height:100%;overflow:hidden}.app-shell:not(.app-shell--convert){height:100dvh;overflow:hidden;padding-bottom:0}.site-content:not(.site-content--convert){height:calc(100dvh - 88px);overflow:auto;padding-bottom:16px;scrollbar-width:none;-ms-overflow-style:none}.site-content:not(.site-content--convert)::-webkit-scrollbar{display:none;width:0}.page-frame{height:calc(100dvh - 180px);margin:0;padding:0;align-items:stretch}.control-rail{min-height:0;height:100%;position:static;overflow:hidden}.results-area{min-height:0;height:100%;display:grid;grid-template-rows:70px minmax(0,1fr) auto;overflow:hidden}.results-grid{min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));overflow:hidden}.result-card{min-height:0;grid-template-rows:42px minmax(0,1fr) 34px}.result-head{min-height:42px}.result-card>footer{min-height:34px}.selected-export{height:62px;min-height:0;margin:0 20px 20px}}@media(max-width:650px){.site-topbar{padding:12px 14px}.site-content:not(.site-content--convert),.page-frame{width:calc(100% - 28px)}.topbar{height:auto;min-height:92px;padding:12px 0;align-items:flex-start}.control-rail{padding:0 15px 16px}.rail-heading{min-height:50px}.source-preview{height:190px;aspect-ratio:auto;margin-top:16px}.controls-section{margin-top:16px;grid-template-columns:1fr;gap:14px}.section-title{min-height:38px}.results-heading{min-height:71px;padding:0 15px}.results-grid{padding:15px;grid-template-columns:1fr}.result-card{grid-template-rows:44px 230px 35px}.selected-export{margin:0 15px 15px;align-items:stretch;flex-direction:column;gap:10px}.selected-export-copy{justify-content:space-between}.selection-export-spec{margin-left:auto}.selected-export>button{justify-content:center}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
