:root{color:#1f1633;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f5f2ff;font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:radial-gradient(circle at 0 0,#a855f72e,#0000 24%),radial-gradient(circle at 100% 100%,#3b82f61f,#0000 26%),linear-gradient(#f7f5ff 0%,#eef2ff 100%);min-width:320px;min-height:100vh;margin:0}img{max-width:100%;display:block}#root{width:100%;min-height:100vh}h1,h2,h3,p{margin:0}.seo-header{text-align:center;max-width:900px;margin:18px auto 28px;padding:8px 18px 0}.eyebrow{color:var(--primary);letter-spacing:.12em;background:#2563eb14;border-radius:999px;padding:7px 11px;font-size:.7rem;font-weight:900;display:inline-flex}.seo-header h1{letter-spacing:-.055em;color:var(--dark);margin:12px 0 10px;font-size:clamp(2rem,4vw,3.7rem);line-height:1.04}.seo-header p{max-width:760px;color:var(--muted);margin:0 auto;font-size:1rem;line-height:1.7}.upload-icon{width:56px;height:56px;color:var(--primary);background:linear-gradient(135deg,#7c3aed1f,#5b43e714);border-radius:18px;place-items:center;margin:0 auto -2px;font-size:1.8rem;font-weight:900;display:grid}.placeholder{border:1px dashed #2563eb2e;border-radius:24px;padding:24px;transition:all .2s}.placeholder.dragging{border-color:var(--primary);background:#2563eb0f;transform:scale(1.01)}.placeholder-inner{background:0 0;border:0}.placeholder-inner h2{color:var(--text);margin:0;font-size:1.25rem}.placeholder-inner p{color:var(--muted);margin:0}.placeholder-inner small{color:var(--muted);text-align:center;font-size:.72rem}.seo-content{margin-top:34px}.content-card{box-shadow:var(--shadow-card);background:#fffc;border:1px solid #2563eb14;border-radius:28px;padding:32px}.content-card h2{color:var(--dark);letter-spacing:-.035em;margin:0 0 10px;font-size:1.45rem}.content-card h2:not(:first-child){margin-top:30px}.content-card p,.content-card li{color:var(--muted);font-size:.93rem;line-height:1.75}.content-card ol{padding-left:22px}.faq-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.faq-grid article{background:#f1f7fcb3;border:1px solid #7c3aed14;border-radius:16px;padding:18px}.faq-grid h3{color:var(--text);margin:0 0 6px;font-size:.95rem}.faq-grid p{margin:0;font-size:.82rem}@media (width<=640px){.seo-header{padding:4px 6px 0}.seo-header h1{font-size:2.15rem}.content-card{padding:22px 18px}.faq-grid{grid-template-columns:1fr}.placeholder{padding:16px}}:root{--bg:#f5f8fc;--panel:#ffffffc7;--panel-strong:#fffffff5;--card:#fff;--card-soft:#f4f8fc;--stroke:#2563eb24;--stroke-strong:#2563eb40;--text:#172033;--muted:#64748b;--primary:#2563eb;--primary-2:#1d4ed8;--primary-3:#60a5fa;--dark:#0f172a;--shadow-soft:0 18px 48px #0f172a14;--shadow-card:0 18px 40px #0f172a12;--radius-xl:32px;--radius-lg:24px;--radius-md:16px;--app-max:1480px;--preview-min-height:620px}html,body{height:100%;min-height:100%}body{color:var(--text);-webkit-font-smoothing:antialiased;background:radial-gradient(circle at 8% 5%,#60a5fa29,#0000 24%),radial-gradient(circle at 92% 90%,#2563eb17,#0000 22%),linear-gradient(#f8fbff 0%,#eef4fa 100%);margin:0;font-family:Inter,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}.app{max-width:var(--app-max);border-radius:var(--radius-xl);-webkit-backdrop-filter:blur(18px);box-shadow:var(--shadow-soft);background:#ffffffb8;border:1px solid #2563eb14;margin:26px auto;padding:20px 22px 28px}.topnav{border-bottom:1px solid #2563eb14;width:100%;margin-bottom:18px;padding:8px 0 12px}.nav-inner{justify-content:space-between;align-items:center;gap:18px;padding:0 10px;display:flex}.brand{letter-spacing:-.04em;color:var(--dark);align-items:center;gap:10px;font-size:1.2rem;font-weight:800;display:inline-flex}.brand:before{content:"";background:linear-gradient(135deg, var(--primary) 0%, var(--primary-3) 100%);border-radius:50%;width:12px;height:12px;box-shadow:0 0 0 5px #2563eb1f}.nav-actions{background:#fff9;border:1px solid #2563eb14;border-radius:14px;align-items:center;gap:8px;padding:6px;display:flex}.nav-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:10px;padding:10px 16px;font-weight:700;transition:all .2s}.nav-btn:hover{color:var(--text)}.main{width:100%;max-width:var(--app-max);grid-template-columns:minmax(0,1.55fr) minmax(320px,.9fr);align-items:start;gap:24px;margin:0 auto;display:grid}.preview-area,.controls .options{box-shadow:var(--shadow-card);background:linear-gradient(#fffffff5,#fffffffc);border:1px solid #2563eb14}.preview-area{min-height:var(--preview-min-height);border-radius:28px;flex-direction:column;justify-content:center;gap:18px;padding:22px;display:flex}.placeholder{justify-content:center;align-items:center;width:100%;min-height:420px;display:flex}.placeholder-inner{min-width:min(100%,420px);color:var(--muted);background:linear-gradient(#f7fbff,#fff);border:1px dashed #2563eb33;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:22px;display:flex}.placeholder p{color:var(--text);font-size:1.1rem;font-weight:700}.file{background:linear-gradient(135deg, var(--primary), var(--primary-2));color:#fff;letter-spacing:-.02em;cursor:pointer;border-radius:14px;justify-content:center;align-items:center;min-width:210px;padding:14px 18px;font-weight:800;transition:transform .2s,box-shadow .2s;display:inline-flex;position:relative;box-shadow:0 18px 26px #2563eb33}.file:hover{transform:translateY(-1px);box-shadow:0 22px 30px #2563eb38}.file input{opacity:0;cursor:pointer;position:absolute;inset:0}.big-preview{flex-direction:column;align-items:center;gap:12px;width:100%;display:flex;position:relative}.big-preview img{object-fit:contain;background:linear-gradient(#f5f5f6,#f0f1f5);border:1px solid #1118270a;border-radius:18px;width:100%;max-height:75vh;display:block}.big-meta{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.big-name{letter-spacing:-.03em;color:var(--text);font-size:1.15rem;font-weight:800}.big-size{color:var(--muted);font-size:.78rem;font-weight:600}.big-remove{color:#fff;cursor:pointer;background:#0f172ab8;border:none;border-radius:50%;width:38px;height:38px;font-size:1.45rem;line-height:1;position:absolute;top:12px;right:12px;box-shadow:0 12px 24px #0f172a33}.selected-grid{scrollbar-width:thin;gap:14px;width:100%;padding-bottom:6px;display:flex;overflow-x:auto}.selected-item{background:#ffffffe6;border:1px solid #2563eb14;border-radius:18px;flex:0 0 180px;position:relative;overflow:hidden;box-shadow:0 12px 24px #11182712}.selected-item img{object-fit:cover;width:100%;height:148px}.sel-meta{gap:4px;padding:10px 10px 12px;display:grid}.sel-name{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:.8rem;font-weight:700;overflow:hidden}.sel-size{color:var(--muted);font-size:.74rem}.sel-remove{color:#fff;cursor:pointer;background:#0a0a0a94;border:none;border-radius:999px;padding:5px 8px;font-size:.7rem;position:absolute;top:10px;right:10px}.pdf-preview{flex-direction:column;gap:16px;width:100%;display:flex}.pdf-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.pdf-title{letter-spacing:-.03em;color:var(--text);font-size:1.2rem;font-weight:800}.pdf-count{color:var(--muted);font-size:.8rem;font-weight:700}.pdf-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;display:grid}.pdf-item{background:#ffffffe6;border:1px solid #2563eb14;border-radius:18px;position:relative;overflow:hidden;box-shadow:0 12px 24px #11182712}.pdf-item img{object-fit:cover;background:linear-gradient(#f5f5f6,#f0f1f5);width:100%;height:180px;display:block}.pdf-meta{gap:4px;padding:10px 10px 12px;display:grid}.pdf-name{color:var(--text);word-break:break-word;font-size:.78rem;font-weight:700}.pdf-size{color:var(--muted);font-size:.72rem}.pdf-remove{color:#fff;cursor:pointer;background:#0f172ab8;border:none;border-radius:50%;width:30px;height:30px;font-size:1.2rem;position:absolute;top:10px;right:10px}.controls{width:100%;display:flex}.options{border-radius:var(--radius-lg);flex-direction:column;gap:14px;width:100%;padding:18px;display:flex}.options label{color:var(--muted);flex-direction:column;gap:8px;font-size:.78rem;font-weight:700;display:flex}.options input[type=number],.options input[type=text],.options textarea,.select-wrap select{width:100%;color:var(--text);background:#f7fafdf2;border:1px solid #2563eb1f;border-radius:12px;outline:none;padding:12px 14px;transition:border-color .2s,box-shadow .2s,background .2s}.options input[type=number]:focus,.options input[type=text]:focus,.options textarea:focus,.select-wrap select:focus{background:#fffffff5;border-color:#2563eb57;box-shadow:0 0 0 4px #2563eb14}.select-wrap{position:relative}.select-wrap select{appearance:none;padding-right:38px}.select-wrap:after{content:"";pointer-events:none;border-bottom:2px solid #1d4ed8cc;border-right:2px solid #1d4ed8cc;width:12px;height:12px;position:absolute;top:50%;right:14px;transform:translateY(-50%)rotate(45deg)}.range-with-labels{align-items:center;gap:10px;margin-top:4px;display:flex}.range-with-labels .low,.range-with-labels .high{width:38px;color:var(--muted);text-align:center;font-size:.72rem;font-weight:700}.range-with-labels input[type=range]{width:100%;accent-color:var(--primary)}.format-help{color:var(--muted);margin-top:-2px;font-size:.73rem;line-height:1.5}.primary{background:linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);color:#fff;letter-spacing:-.02em;cursor:pointer;border:none;border-radius:14px;width:100%;padding:14px 18px;font-weight:800;transition:transform .2s,box-shadow .2s,opacity .2s;box-shadow:0 16px 28px #2563eb38}.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 20px 32px #2563eb3d}.primary:disabled{cursor:not-allowed;opacity:.6}.results{margin-top:28px}.grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;display:grid}.card{box-shadow:var(--shadow-card);background:#ffffffe6;border:1px solid #2563eb14;border-radius:20px;overflow:hidden}.thumb{background:linear-gradient(#f1f7ff,#eaf2fb);justify-content:center;align-items:center;height:180px;padding:14px;display:flex}.thumb img{object-fit:contain;background:#ffffffb3;border-radius:12px;width:100%;height:100%}.meta{gap:6px;padding:14px 14px 16px;display:grid}.name{color:var(--text);word-break:break-word;font-size:.9rem;font-weight:800}.sizes,.dim{color:var(--muted);font-size:.76rem}.actions{align-items:center;gap:10px;margin-top:8px;display:flex}.actions button,.actions a{min-height:36px;color:var(--primary);cursor:pointer;background:#2563eb0d;border:1px solid #2563eb1f;border-radius:10px;justify-content:center;align-items:center;padding:8px 12px;font-weight:700;text-decoration:none;display:inline-flex}.actions a{flex:1}.result-container{flex-direction:column;justify-content:center;align-items:center;gap:24px;width:100%;height:100%;display:flex}.back-button{color:var(--primary);cursor:pointer;background:#2563eb1a;border:1px solid #2563eb33;border-radius:10px;align-self:flex-start;padding:10px 16px;font-weight:700;transition:all .2s}.back-button:hover{background:#2563eb26;border-color:#2563eb4d}.result-image-wrapper{flex:1;justify-content:center;align-items:center;width:100%;max-height:500px;display:flex}.result-image-wrapper img{object-fit:contain;background:linear-gradient(#f5f5f6,#f0f1f5);border:1px solid #1118270a;border-radius:18px;max-width:100%;max-height:100%}.result-info{text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.result-name{color:var(--text);word-break:break-word;font-size:1.1rem;font-weight:800}.result-details{color:var(--muted);gap:16px;font-size:.85rem;font-weight:600;display:flex}.secondary{width:100%;color:var(--primary);letter-spacing:-.02em;cursor:pointer;background:#2563eb14;border:1px solid #2563eb1f;border-radius:14px;padding:14px 18px;font-weight:800;transition:all .2s;box-shadow:0 8px 16px #2563eb14}.secondary:hover{background:#2563eb1f;border-color:#2563eb33}.pdf-upload{width:100%}@media (width<=980px){.main{grid-template-columns:1fr}.preview-area{min-height:420px}}@media (width<=640px){.app{border-radius:22px;margin:18px 12px;padding:14px 12px 18px}.nav-inner{flex-direction:column;align-items:flex-start}.nav-actions{justify-content:space-between;width:100%}.nav-btn{flex:1;padding-left:10px;padding-right:10px}.preview-area{min-height:320px;padding:14px}.placeholder-inner{min-width:100%}.selected-item{flex-basis:150px}}.nav-actions{background:#ffffffe0;box-shadow:0 6px 18px #0f172a0a}.nav-btn.active{color:#1d4ed8;background:#eff6ff;box-shadow:inset 0 0 0 1px #2563eb1a}.primary{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);box-shadow:0 14px 26px #2563eb33}.file{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);box-shadow:0 14px 24px #2563eb2e}.file:hover{box-shadow:0 18px 28px #2563eb38}.secondary,.back-button{color:#1d4ed8;background:#eff6ff}.options input[type=number],.options input[type=text],.options textarea,.select-wrap select{background:#f8fafc}.options input[type=number]:focus,.options input[type=text]:focus,.options textarea:focus,.select-wrap select:focus{border-color:#2563eb59;box-shadow:0 0 0 4px #2563eb14}.actions button,.actions a{color:#1d4ed8;background:#eff6ff}.content-card{background:#ffffffeb}.faq-grid article{background:#f8fafc}.seo-header .eyebrow{color:#1d4ed8;background:#eff6ff}.seo-header h1{color:#0f172a}.target-size-box{background:#f8fafc;border:1px solid #2563eb1a;border-radius:14px;padding:14px}.target-size-row{grid-template-columns:1fr 92px;gap:8px;display:grid}.target-size-row input,.target-size-row select{min-width:0}.target-size-row select{color:var(--text);background:#fff;border:1px solid #2563eb1f;border-radius:12px;outline:none;padding:12px 10px}.target-size-box p{color:var(--muted);margin:7px 0 0;font-size:.72rem;line-height:1.45}.auto-quality{color:#1d4ed8;background:#eff6ff;border-radius:9px;margin-top:6px;padding:7px 9px;font-size:.7rem;line-height:1.4}@media (width<=640px){.target-size-row{grid-template-columns:1fr 82px}}
