:root{color-scheme:dark;--bg:#11131b;--panel:#1b1e29;--line:#303440;--text:#f4f5fb;--muted:#a0a4b2;--accent:#b7f563;--field:#242734;--danger:#ff8996;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 10% 3%,#23283a 0,transparent 40%),var(--bg);color:var(--text);min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.hidden{display:none!important}.topbar{height:83px;padding:0 max(24px,calc((100vw - 1190px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #2b2d39}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:700;letter-spacing:-.6px}.brand b{color:var(--accent)}.brand small{display:block;font-size:9px;letter-spacing:2.4px;font-weight:600;color:var(--muted);margin-top:1px}.logo{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:var(--accent);font-size:24px;color:#1d2b16}.status{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:8px;margin-left:auto}.dot{height:7px;width:7px;background:var(--accent);border-radius:50%}.ghost,.subtle{border:0;background:transparent;color:var(--muted);font-weight:600}.ghost{font-size:13px}main{max-width:1190px;margin:0 auto;padding:48px 24px 35px}.hero{margin-bottom:36px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--accent);font-weight:750}.sparkle{font-size:20px;margin-right:7px}.hero h1,.login-panel h1{font-size:clamp(37px,4.7vw,61px);letter-spacing:-2.7px;line-height:1.12;margin:14px 0 12px;font-weight:750}.hero h1 em{color:var(--accent);font-style:normal}.hero p,.login-panel p{color:var(--muted);font-size:15px;line-height:1.75;max-width:580px}.workspace{display:grid;grid-template-columns:minmax(340px,445px) minmax(0,1fr);gap:20px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:27px;box-shadow:0 10px 28px #0001}.section-heading{display:flex;align-items:center;gap:11px}.step{border:1px solid #556747;background:#313a2d;color:var(--accent);padding:6px 8px;border-radius:8px;font-size:11px;font-weight:800}.section-heading h2{font-size:18px;letter-spacing:-.5px;margin:0}.dropzone{margin-top:22px;border:1px dashed #586056;border-radius:14px;min-height:210px;background:linear-gradient(135deg,#242a2b,#23252f);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:18px;cursor:pointer;transition:background .2s,border-color .2s}.dropzone:hover,.dropzone.dragging{border-color:var(--accent);background:#303832}.dropzone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.upload-icon{font-size:28px;color:var(--accent);border:1px solid #557249;background:#3d5037;border-radius:12px;width:48px;height:48px;line-height:46px;margin-bottom:14px}.dropzone strong{font-size:14px;max-width:100%;overflow-wrap:anywhere}.dropzone span{font-size:12px;color:var(--muted);margin-top:5px}.dropzone small{font-size:10px;color:#858b99;margin-top:15px}.divider{height:1px;background:var(--line);margin:26px 0}.controls label:not(.dropzone),.login-panel label{display:block;color:#d6d9e2;font-size:12px;font-weight:700;margin-top:23px;margin-bottom:9px}select,.login-panel input{width:100%;background:var(--field);border:1px solid #3c4051;color:var(--text);border-radius:10px;padding:13px 12px;outline:none}select:focus,.login-panel input:focus{border-color:var(--accent)}.hint{font-size:11px;line-height:1.5;color:var(--muted);margin:9px 0 0}.primary,.secondary{width:100%;display:flex;justify-content:center;align-items:center;gap:12px;border:0;border-radius:11px;padding:15px 20px;font-size:14px;font-weight:800}.primary{background:var(--accent);color:#202814}.process{margin-top:27px;justify-content:space-between}.primary:not(:disabled):hover{background:#cafa80}.privacy{display:flex;gap:11px;color:#9ea4a9;font-size:11px;line-height:1.55;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.privacy>span:first-child{color:var(--accent);font-size:21px}.preview{display:flex;flex-direction:column}.preview-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-title>span{font-size:11px;color:var(--muted)}.stage{margin-top:22px;flex:1;min-height:385px;position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center;border:1px solid #464852;border-radius:14px;background-color:#eee;background-image:linear-gradient(45deg,#c8c9cc 25%,transparent 25%),linear-gradient(-45deg,#c8c9cc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c8c9cc 75%),linear-gradient(-45deg,transparent 75%,#c8c9cc 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0}.placeholder{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px;color:#51515c}.placeholder strong{font-size:14px}.placeholder span{font-size:12px;margin-top:7px}.placeholder-art{height:115px;width:132px;background:#eeeeee99;border:1px solid #aaa5;border-radius:14px;transform:rotate(-6deg);margin-bottom:22px;display:grid;place-items:center}.figure{width:62px;height:72px;border-radius:48% 48% 13% 13%;background:#b1b3ba;position:relative}.figure:before{content:'';position:absolute;width:32px;height:32px;left:15px;top:-11px;border-radius:50%;background:#878e97}.comparison{position:absolute;inset:0;overflow:hidden}.comparison>img,.original-reveal img{position:absolute;inset:0;height:100%;width:100%;object-fit:contain}.original-reveal{position:absolute;inset:0;clip-path:inset(0 50% 0 0)}.split-line{position:absolute;top:0;bottom:0;left:50%;border-left:2px solid white;box-shadow:0 0 4px #0008;pointer-events:none}.split-line span{position:absolute;top:50%;left:-15px;width:29px;height:29px;border-radius:50%;background:white;color:#16161c;text-align:center;line-height:29px;font-size:15px;box-shadow:0 2px 8px #0006}.compare-controls{display:flex;align-items:center;gap:14px;margin:17px 0 7px;color:var(--muted);font-size:11px}.compare-controls input{min-width:0;flex:1;accent-color:var(--accent)}.preview-actions{display:flex;gap:12px;margin-top:20px}.secondary{background:#343a40;color:var(--text);border:1px solid #565a62;flex:1}.secondary:not(:disabled):hover{background:#46504c}.subtle{padding:13px;font-size:12px}.footer-note{text-align:center;color:#858a94;font-size:12px;line-height:1.7;margin:28px 0}.error{background:#432733;color:#ffb3bc;border:1px solid #703846;border-radius:10px;padding:12px 14px;margin-top:15px;font-size:12px;line-height:1.6}.login-wrap{max-width:475px;margin:55px auto}.login-panel{padding:36px}.login-panel h1{font-size:39px;letter-spacing:-1.7px}.login-panel .primary{margin-top:26px;justify-content:space-between}@media(max-width:850px){.workspace{grid-template-columns:1fr}.stage{min-height:345px}.topbar{height:74px;padding:0 19px}.status{display:none}main{padding:34px 16px}.hero{margin-bottom:25px}.panel{padding:21px}.footer-note{padding:0 15px}}@media(max-width:410px){.stage{min-height:280px}.preview-actions{flex-wrap:wrap}.secondary{flex-basis:100%}.subtle{width:100%}}

/* WEB_UPDATE_V25 */
.update-card{margin-top:24px}.update-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.update-head h2{margin:8px 0 0;font-size:19px}.update-pill{font-size:12px;padding:8px 12px;border:1px solid #555a65;background:#2b303a;border-radius:999px;white-space:normal}.update-pill.ok{color:#b7f563;border-color:#5b7952}.update-pill.warn{color:#ffd28b;border-color:#967648}.update-pill.busy{color:#b9d3ff;border-color:#617da4}.update-detail{font-size:13px;color:var(--text);margin:15px 0 5px;line-height:1.6}.update-date,.update-hint{color:var(--muted);font-size:11px;line-height:1.5}.update-actions{display:flex;gap:12px;margin-top:18px}.update-actions button{flex:1;min-width:0}.update-actions .primary{width:auto}.update-actions .secondary{width:auto}.update-hint{margin:16px 0 0}
@media(max-width:630px){.update-actions{flex-direction:column}.update-actions button{width:100%}}

/* PROGRESS_V252 */
.update-progress{margin:18px 0 4px;padding:14px;border-radius:12px;border:1px solid rgba(143,161,192,.22);background:rgba(93,116,156,.07)}
.update-progress[hidden]{display:none!important}
.update-progress-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:11px;font-size:13px}
.update-progress-heading strong{font-variant-numeric:tabular-nums;white-space:nowrap}
#update-progress-bar{appearance:none;-webkit-appearance:none;display:block;width:100%;height:12px;overflow:hidden;border:0;border-radius:999px;background:rgba(133,154,184,.25)}
#update-progress-bar::-webkit-progress-bar{background:rgba(133,154,184,.25);border-radius:999px}
#update-progress-bar::-webkit-progress-value{background:#689cf0;border-radius:999px;transition:width .4s}
#update-progress-bar::-moz-progress-bar{background:#689cf0;border-radius:999px;transition:width .4s}
.update-progress.busy{outline:1px solid rgba(104,156,240,.13);outline-offset:0;position:relative;overflow:hidden}
.update-progress.busy::after{content:"";position:absolute;left:-38%;bottom:0;height:2px;width:38%;background:#80acff;animation:dp-progress-motion 2.1s ease-in-out infinite}
@keyframes dp-progress-motion{to{left:110%}}
@media(prefers-reduced-motion:reduce){.update-progress.busy::after{animation:none;display:none}}
.update-progress-hint{font-size:11px;line-height:1.5;color:var(--muted);margin:10px 0 0}
@media(max-width:630px){.update-progress{padding:12px}.update-progress-heading{font-size:12px}}
