:root{--bg:#f7f6f2;--paper:#fff;--ink:#252724;--muted:#73766f;--line:#e4e5dd;--red:#d83c32;--red-dark:#b72b23;--soft-red:#fcf0ec;--green:#416654;--serif:'Instrument Serif',Georgia,serif;--sans:'DM Sans',system-ui,sans-serif}
.model-settings{margin:14px 0;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.model-settings label{display:block;font-size:11px;font-weight:600;margin-bottom:8px}.model-settings select{font:inherit;font-size:12px;color:var(--ink);width:100%;padding:10px 12px;border:1px solid #cdd5c6;border-radius:6px;background:#fff;cursor:pointer}.model-settings select:focus-visible{outline:3px solid var(--green);outline-offset:3px}.model-settings p{min-height:32px;margin-top:8px}select:disabled{opacity:.65;cursor:wait}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a,input,summary{touch-action:manipulation}button,a,summary{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button{border:0}button:disabled{cursor:wait;opacity:.6}input:disabled{cursor:wait}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #496d5d;outline-offset:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shell{max-width:1184px;padding:0 40px;margin:auto}.site-header{height:105px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:650;letter-spacing:-1.1px}.brand-hd{font-size:11px;letter-spacing:-.4px;vertical-align:super;margin-left:3px}.brand-mark{position:relative;display:grid;place-items:center;background:var(--red);color:#fff;width:34px;height:36px;border-radius:10px;font-family:var(--serif);font-size:33px;font-style:italic;line-height:1;padding:0 7px 8px 0;letter-spacing:-2px}.brand-mark span{font:14px var(--sans);position:absolute;right:5px;top:5px}.site-header nav{display:flex;align-items:center;gap:31px;font-size:12px;font-weight:500}.site-header nav a span{margin-left:10px;color:var(--muted)}.free-pill{border:1px solid #d9dfd3;background:#f0f3eb;padding:9px 13px;border-radius:30px;font-size:11px;color:#4e6047;display:flex;gap:8px;align-items:center}.free-pill span{width:5px;height:5px;background:#628153;border-radius:50%}.hero{display:flex;justify-content:space-between;align-items:flex-end;padding:58px 0 44px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.8px;display:flex;align-items:center;gap:8px}.tiny-star{font-size:19px;color:var(--red);line-height:15px}.hero h1{font-size:76px;font-weight:500;line-height:.99;letter-spacing:-4.2px;margin:20px 0 0}.hero h1 em{font-family:var(--serif);font-size:90px;font-weight:400;color:var(--red);letter-spacing:-2px}.hero-aside{padding:0 19px 4px 30px;max-width:380px}.hero-aside>p:first-child{font-size:19px;line-height:1.5;letter-spacing:-.5px;margin:0 0 12px}.muted{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 23px}.text-link{font-size:12px;font-weight:600}.text-link span{margin-left:27px;font-size:17px}.studio{display:grid;grid-template-columns:1.07fr 1fr;border:1px solid #dddfd6;border-radius:19px;overflow:hidden;background:var(--paper);box-shadow:0 6px 22px #20251a04;scroll-margin-top:24px}.controls-panel{padding:29px 30px 26px;border-right:1px solid var(--line)}.panel-top,.preview-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-top{margin-bottom:32px}.panel-top .eyebrow,.preview-top .eyebrow{font-size:9px;letter-spacing:1.7px;color:#60665c}.small-chip{font-size:8px;letter-spacing:.8px;font-weight:600;border:1px solid var(--line);border-radius:4px;padding:4px 6px;color:var(--muted)}fieldset{border:0;padding:0;margin:0;min-width:0}.field-label{font-weight:550;font-size:14px;display:flex;align-items:center;gap:9px}.step-number{font-size:9px;color:#868a80;border:1px solid #e3e6dd;border-radius:50%;width:21px;height:21px;display:grid;place-items:center;font-weight:500}.url-field{display:flex;align-items:center;gap:9px;border:1px solid #dfe2d9;border-radius:9px;padding:8px 8px 8px 13px;background:#fcfcfa;margin-top:14px;transition:box-shadow .2s,border .2s}.url-field:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #41665410}.url-field>svg{width:17px;height:17px;flex-shrink:0;color:#8d9285}.url-field input{width:100%;min-width:0;background:transparent;border:0;outline:0;padding:8px 0;color:var(--ink);font-size:12px}.url-field input::placeholder{color:#92968e}.url-field input:focus-visible{outline:0}.url-field:has([aria-invalid=true]){border-color:var(--red)}.paste-button{background:#eeefe8;border:1px solid #e4e6dd;border-radius:5px;padding:7px 11px;font-size:10px;font-weight:600}.paste-button:hover{background:#e5e8dd}.field-hint{font-size:10px;color:var(--muted);margin:9px 0 28px}.quality-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.soft-label{font-size:10px;color:#888c83}.quality-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.quality-grid>div{position:relative}.quality-grid input{position:absolute;width:1px;height:1px;opacity:0}.quality-grid label{cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #e4e6df;border-radius:8px;padding:13px 10px 12px;position:relative;min-height:99px;transition:background .15s,border-color .15s}.quality-icon{font-size:10px;font-weight:700;letter-spacing:-.4px;margin-bottom:10px;line-height:12px}.quality-grid strong{font-size:12px;font-weight:600;line-height:1.3}.quality-grid small{color:var(--muted);font-size:9px;margin-top:4px;white-space:nowrap}.radio-check{width:10px;height:10px;border:1px solid #d8dbd2;border-radius:50%;position:absolute;right:9px;top:13px}.quality-grid input:checked+label{border-color:var(--red);background:var(--soft-red);color:var(--red)}.quality-grid input:checked+label .radio-check{border:3px solid var(--red);background:#fff}.quality-grid input:focus-visible+label{outline:3px solid var(--green);outline-offset:3px}.quality-grid label:hover{border-color:#aab2a2}.quality-grid input:disabled+label{cursor:wait;opacity:.7}.quality-hint{font-size:10px;line-height:1.7;color:var(--muted);margin:12px 0 23px;min-height:34px}.enhance-settings{background:#f7f8f4;border:1px solid var(--line);border-radius:8px;padding:13px;margin:-8px 0 20px}.sharp-label{display:flex;justify-content:space-between;font-size:11px}.sharp-label output{font-size:10px;color:var(--green)}input[type=range]{width:100%;accent-color:var(--green);height:16px;margin:13px 0 3px}.enhance-settings p{font-size:10px;line-height:1.6;margin:5px 0 0;color:var(--muted)}.primary{width:100%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;gap:16px;padding:16px 18px;border-radius:8px;font-weight:600;font-size:13px;transition:background .15s,transform .15s}.primary:hover:not(:disabled){background:var(--red-dark);transform:translateY(-1px)}.primary svg{width:17px;height:17px}.below-button{margin:15px 0 0;font-size:9px;color:#858b7c;display:flex;align-items:center;justify-content:center;gap:6px}.below-button svg{width:12px;height:12px}.error{font-size:12px;line-height:1.6;background:#fff0ed;color:#a42e26;padding:12px 14px;border-radius:7px;border:1px solid #f2d9d3;margin:0 0 13px}.status{margin-top:19px}.status-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:8px}.status-heading strong{font-weight:500}.status-heading>span{font-variant-numeric:tabular-nums;color:var(--muted)}.progress-track{height:4px;background:#edf0e8;border-radius:5px;margin:12px 0;overflow:hidden}.progress-track>div{height:100%;background:var(--green);width:0;transition:width .25s;border-radius:5px}.progress-track.indeterminate>div{width:35%!important;animation:travel 1.4s ease-in-out infinite}.status-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.steps{display:flex;gap:12px;font-size:9px;color:#8c9284}.steps .on{color:var(--ink);font-weight:700}.steps .ok{color:var(--green)}.steps .skip{opacity:.5}.status-bottom button{background:none;text-decoration:underline;font-size:10px;padding:4px}.status-detail{font-size:10px;color:var(--muted);line-height:1.5;min-height:15px;margin:10px 0 0}.preview-panel{background:#f0f2eb;display:flex;flex-direction:column;padding:29px 26px 0;min-width:0}.preview-indicator{font-size:9px;color:#7c8274;display:flex;align-items:center;gap:5px}.preview-indicator i{width:5px;height:5px;border-radius:50%;background:#b6bdaa}.preview-indicator.ready{color:var(--green)}.preview-indicator.ready i{background:var(--green)}.empty-preview{flex:1;text-align:center}.artwork{height:243px;max-width:320px;position:relative;margin:18px auto 0;isolation:isolate}.back-card{position:absolute;width:146px;height:187px;background:#ddd3be;border:6px solid #faf8ee;border-radius:10px;box-shadow:0 8px 15px #2533220a;left:31px;top:21px;transform:rotate(-12deg);display:flex;flex-direction:column;justify-content:space-between;padding:13px 8px;text-align:left;font-size:5px;font-weight:600;letter-spacing:1px;color:#6d654c;overflow:hidden}.back-lines{width:180px;height:90px;border:1px solid #afa58d;border-radius:50%;transform:rotate(-35deg) translateX(-30px);box-shadow:0 10px 0 -1px #ddd3be,0 11px 0 #afa58d,0 20px 0 -1px #ddd3be,0 21px 0 #afa58d,0 30px 0 -1px #ddd3be,0 31px 0 #afa58d}.landscape-card{position:absolute;left:120px;top:6px;width:152px;height:204px;transform:rotate(8deg);border:6px solid #fff;border-radius:11px;box-shadow:0 14px 24px #203c2b17;overflow:hidden;background:#adc0ab}.landscape-card>svg{width:100%;height:100%;display:block;stroke:none;object-fit:cover}.art-play{position:absolute;top:43%;left:40%;width:31px;height:31px;border:1px solid #ffffffa0;background:#ffffff30;backdrop-filter:blur(3px);color:#fff;display:grid;place-items:center;border-radius:50%;font-size:10px;padding-left:2px}.art-duration{position:absolute;right:9px;bottom:10px;color:#f4f6ef;font-size:7px;letter-spacing:.5px}.keep-sticker{position:absolute;left:56px;top:156px;width:98px;height:62px;padding:9px 12px;text-align:left;transform:rotate(-8deg);background:#e65d46;color:white;border-radius:4px;box-shadow:0 4px 8px #aa341e10;font-size:15px;font-weight:550;line-height:1.05;letter-spacing:-.5px}.keep-sticker em{font-family:var(--serif);font-size:21px;font-weight:400}.keep-sticker>span{position:absolute;right:8px;top:20px;font-size:25px;font-weight:400}.empty-preview h2,.working-preview h2{font-family:var(--serif);font-size:27px;font-weight:400;letter-spacing:-.5px;margin:0 0 9px}.empty-preview p,.working-preview p{color:#7d8474;font-size:11px;line-height:1.8;margin:0 0 27px}.preview-footer{margin-top:auto;border-top:1px solid #dce1d3;padding:16px 0;display:flex;justify-content:space-between;gap:12px;align-items:center;color:#7b846d;font-size:9px}.preview-footer>span:first-child>span{font-size:13px;margin-right:5px}.preview-footer>span:last-child{font-size:7px;letter-spacing:1px}.working-preview{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 0;min-height:340px}.working-orbit{width:90px;height:90px;border:1px solid #cdd8c4;border-radius:50%;display:grid;place-items:center;margin:0 0 27px;font-size:40px;color:#58794c;position:relative}.working-orbit:after{position:absolute;inset:-10px;content:'';border:1px dashed #bdcbb1;border-radius:50%;animation:spin 18s linear infinite}.result{padding:22px 0 20px}.video-wrap{border-radius:10px;overflow:hidden;background:#1f2924;max-width:100%;display:flex;justify-content:center}.video-wrap video{width:100%;max-height:310px;display:block}.result-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:14px 0 9px}.result-heading h2{font-size:14px;font-weight:550;line-height:1.4;max-width:75%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;overflow-wrap:anywhere}.result-badge{font-size:9px;color:#45643b;flex-shrink:0;padding:5px 7px;background:#e0e9d9;border:1px solid #d3dfc9;border-radius:4px}.video-facts{display:flex;align-items:center;gap:11px;font-size:10px;color:#66705e}.video-facts>span+span:before{content:'·';margin-right:11px}.source-quality{font-size:10px;color:var(--muted);margin:9px 0 0}.notice{font-size:11px;line-height:1.6;background:#f9f0d9;border:1px solid #e9dec3;color:#786232;padding:10px;border-radius:6px;margin:12px 0 0}.result-actions{display:flex;gap:8px;margin-top:16px}.save-button{background:var(--green);color:#fff;border-radius:7px;padding:12px 15px;font-size:12px;font-weight:550;display:flex;align-items:center;justify-content:space-between;flex:1}.save-button:hover{background:#304e3f}.secondary{background:transparent;border:1px solid #d2d9c9;border-radius:7px;padding:12px 13px;font-size:11px}.secondary span{margin-left:10px}.secondary:hover{background:#e7ebdf}.source-link{font-size:9px;color:#737e68;display:inline-block;margin-top:13px;text-decoration:underline;text-underline-offset:3px}.how-section{padding:45px 0 43px;border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading>.eyebrow{color:#818775;font-size:9px;letter-spacing:1.5px}.section-heading h2{font-family:var(--serif);font-weight:400;font-size:29px;letter-spacing:-.5px;margin:0}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:52px;margin-top:27px}.how-grid article{position:relative;padding-left:34px}.how-number{position:absolute;left:0;top:4px;color:#a0a593;font-size:9px}.how-grid h3{font-size:13px;font-weight:550;margin:0 0 9px}.how-grid p{font-size:11px;line-height:1.8;color:#818676;max-width:235px;margin:0}.faq{display:grid;grid-template-columns:1fr 1.7fr;padding:43px 0 48px;gap:60px}.faq-intro>.eyebrow{font-size:9px;color:#818775;margin:4px 0 14px}.faq-intro h2{font-family:var(--serif);font-size:32px;font-weight:400;margin:0;letter-spacing:-.5px}.faq details{border-bottom:1px solid var(--line)}.faq summary{list-style:none;display:flex;justify-content:space-between;font-size:12px;font-weight:500;padding:15px 0;gap:16px}.faq details:first-child summary{padding-top:3px}.faq summary::-webkit-details-marker{display:none}.faq summary span{font-size:16px;color:#949b8a}.faq details[open] summary span{transform:rotate(45deg)}.faq details p{font-size:12px;color:var(--muted);line-height:1.8;margin:0 20px 17px 0}.site-footer{border-top:1px solid var(--line);display:flex;align-items:center;gap:30px;padding:26px 0 30px}.site-footer .brand{font-size:20px}.site-footer .brand-mark{width:27px;height:28px;font-size:26px;border-radius:8px}.site-footer .brand-mark>span{font-size:11px;top:4px;right:3px}.site-footer .brand-hd{font-size:9px}.site-footer p{font-size:10px;line-height:1.8;color:#68715e;margin:0}.site-footer p>span{font-size:9px;color:#979d8e}.footer-sign{font-size:8px;color:#929a87;letter-spacing:1px;margin-left:auto}.history{padding:30px 0 0}.history .section-heading h2{margin:8px 0 17px}.history .eyebrow{font-size:8px;color:#89907f}.text-button{background:transparent;text-decoration:underline;font-size:10px;color:var(--muted)}.history-row{display:flex;align-items:center;gap:13px;padding:14px 16px;border:1px solid var(--line);background:#fff;border-radius:8px;margin-bottom:7px}.history-row .history-icon{width:32px;height:32px;border-radius:6px;background:#f0f3e9;display:grid;place-items:center;color:var(--green)}.history-row .history-content{flex:1;min-width:0}.history-row strong{display:block;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-row small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.history-row a{font-size:11px;color:var(--green);font-weight:600;flex-shrink:0}.history-note{font-size:10px;color:var(--muted);line-height:1.6}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;box-shadow:0 5px 20px #0002;padding:13px 20px;border-radius:8px;font-size:12px;max-width:90vw;z-index:20;text-align:center}.skip-link{position:absolute;top:-70px;left:20px;padding:12px;background:var(--ink);color:#fff;z-index:30}.skip-link:focus{top:15px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.noscript{padding:20px;text-align:center;color:var(--red)}
@keyframes travel{0%{transform:translateX(-100%)}100%{transform:translateX(380%)}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1400px){.hero{padding-top:69px;padding-bottom:52px}.hero h1{font-size:85px}.hero h1 em{font-size:100px}.controls-panel{padding:31px 34px}.preview-panel{padding:31px 31px 0}.panel-top{margin-bottom:34px}.artwork{margin-top:24px;height:249px}.below-button{margin-top:20px}}
@media(max-width:850px){.shell{padding:0 25px}.site-header{height:85px}.hero h1{font-size:65px}.hero h1 em{font-size:77px}.hero-aside{padding-right:0;max-width:300px}.hero-aside>p:first-child{font-size:16px}.hero-aside .muted{font-size:11px}.controls-panel{padding:23px 20px}.preview-panel{padding:23px 18px 0}.quality-grid{gap:5px}.quality-grid label{padding:12px 7px}.quality-grid small{font-size:8px}.radio-check{right:7px}.preview-top .eyebrow{font-size:8px;letter-spacing:1px}.preview-indicator{font-size:8px}.how-grid{gap:20px}.faq{gap:28px}.preview-footer>span:last-child{display:none}.footer-sign{display:none}}
@media(max-width:660px){.shell{padding:0 20px}.site-header{height:79px}.site-header nav{gap:16px;font-size:10px}.free-pill{font-size:9px;padding:7px 9px}.brand{font-size:23px}.hero{display:block;padding:36px 0 31px}.hero h1{font-size:62px;letter-spacing:-3.3px;line-height:.98;margin-top:17px}.hero h1 em{font-size:76px}.hero .eyebrow{font-size:8px;letter-spacing:1.5px}.hero-aside{padding:20px 0 0;max-width:none}.hero-aside>p:first-child{font-size:15px;line-height:1.5;display:none}.hero-aside .muted{font-size:12px;line-height:1.8;margin:0}.hero-aside .muted br{display:none}.hero-aside .text-link{display:none}.studio{grid-template-columns:1fr;border-radius:14px}.controls-panel{padding:24px 20px;border-right:0;border-bottom:1px solid var(--line)}.panel-top{margin-bottom:27px}.quality-grid{gap:7px}.quality-grid label{padding:12px 9px}.quality-grid small{font-size:9px}.url-field input{font-size:16px;letter-spacing:-.6px}.url-field input::placeholder{font-size:11px;letter-spacing:0}.field-label{font-size:13px}.quality-hint{margin-bottom:18px}.preview-panel{padding:21px 21px 0}.preview-top .eyebrow{font-size:9px;letter-spacing:1.5px}.preview-indicator{font-size:9px}.artwork{height:222px;margin-top:15px}.empty-preview h2{font-size:28px}.empty-preview p{font-size:11px;margin-bottom:25px}.preview-footer>span:last-child{display:inline;font-size:6px}.how-section{padding:32px 0}.how-section>.section-heading{align-items:flex-start;flex-direction:column;gap:12px}.section-heading h2{font-size:29px}.how-grid{grid-template-columns:1fr;gap:24px;margin-top:25px}.how-grid article{padding-left:36px}.how-grid h3{font-size:14px;margin-bottom:5px}.how-grid p{font-size:12px;max-width:290px}.how-number{font-size:10px}.faq{grid-template-columns:1fr;gap:26px;padding:32px 0}.faq-intro h2{font-size:30px}.faq summary{font-size:12px;padding:16px 0}.site-footer{gap:17px;align-items:flex-start;padding:23px 0}.site-footer p{font-size:9px;max-width:240px}.site-footer p>span{font-size:8px}.below-button{font-size:9px}.video-wrap video{max-height:370px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
.controls-panel{min-width:0}
@media(max-width:360px){.site-header nav>a{display:none}.hero h1{font-size:50px;letter-spacing:-2.7px}.hero h1 em{font-size:62px}.quality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quality-grid label{min-height:88px}.artwork{width:300px;max-width:none;margin-left:calc(50% - 150px);transform:scale(.85);transform-origin:top center;height:205px}.panel-top .eyebrow{font-size:8px;letter-spacing:1px}.preview-top{gap:5px}.preview-top .eyebrow{font-size:7px;letter-spacing:1px}.preview-indicator{font-size:8px}.preview-footer>span:last-child{display:none}.below-button{font-size:8px}.site-footer{flex-wrap:wrap}}
.original-link{margin-right:18px;color:var(--green)}
.compare{margin-top:14px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:12px}.compare-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.compare-top .eyebrow{font-size:9px;letter-spacing:1.6px;color:#60665c}.zoom-toggle{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px;cursor:pointer}.zoom-toggle input{accent-color:var(--green);margin:0}.compare-stage{position:relative;border-radius:7px;overflow:hidden;background:#1f2924;line-height:0}.compare-stage canvas{width:100%;display:block}.compare-tag{position:absolute;top:8px;font-size:9px;line-height:1;letter-spacing:.6px;font-weight:600;color:#fff;background:#0007;padding:5px 7px;border-radius:4px}.compare-tag.left{left:8px}.compare-tag.right{right:8px;background:#416654d0}.compare input[type=range]{margin:10px 0 2px}.compare-hint{font-size:9px;color:var(--muted);margin:2px 0 0}
.engine-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:11px 0 4px}.engine-grid>div{position:relative}.engine-grid input{position:absolute;width:1px;height:1px;opacity:0}.engine-grid label{display:block;cursor:pointer;border:1px solid #e1e4db;background:#fff;border-radius:7px;padding:10px 11px;transition:border-color .15s,background .15s}.engine-grid strong{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600}.engine-grid small{display:block;font-size:9px;color:var(--muted);margin-top:4px;line-height:1.5}.engine-grid input:checked+label{border-color:var(--green);background:#eef3ea}.engine-grid input:focus-visible+label{outline:3px solid var(--green);outline-offset:2px}.engine-grid input:disabled+label{opacity:.5;cursor:not-allowed}.engine-tag{font-size:8px;font-weight:600;letter-spacing:.5px;color:#fff;background:var(--green);border-radius:3px;padding:2px 5px}#fast-settings{margin-top:10px}.credit-pill{font-size:11px;color:var(--muted)}.credit-pill strong,.footer-sign strong{color:var(--red);font-weight:600}@media(max-width:660px){.credit-pill{display:none}}
.model-credit{font-size:9px;color:var(--muted);margin:6px 0 0;line-height:1.6}.model-credit a{text-decoration:underline;text-underline-offset:2px}

/* ---------- pinHD V3: source tabs, upload, advanced, ProofFrame ---------- */
.platform-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;background:#f1f2ec;border:1px solid var(--line);border-radius:10px;padding:4px;margin:0 0 20px}
.platform-tabs [role=tab]{min-height:40px;border-radius:7px;background:transparent;font-size:12px;font-weight:550;color:#5f6559;transition:background .15s,color .15s}
.platform-tabs [role=tab][aria-selected=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px #20251a14}
.platform-tabs [role=tab]:hover:not([aria-selected=true]){color:var(--ink)}
.platform-note{margin:-14px 0 22px;background:#f6f3e6;border:1px solid #e8e1c6;border-radius:8px;padding:12px 13px}
.platform-note p{margin:0 0 10px;font-size:11px;line-height:1.65;color:#5e5230}
.platform-note button{min-height:40px}
.drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;min-height:120px;margin:14px 0 26px;border:1.5px dashed #cfd5c6;border-radius:10px;background:#fcfcfa;padding:18px;cursor:pointer;transition:border-color .15s,background .15s}
.drop-zone:hover,.drop-zone.dragging,.drop-zone:focus-within{border-color:var(--green);background:#f3f6ef}
.drop-zone input{position:absolute;width:1px;height:1px;opacity:0}
.drop-zone strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.drop-zone small{font-size:10px;color:var(--muted)}
.advanced{border:1px solid var(--line);border-radius:9px;margin:0 0 18px;background:#fbfbf8}
.advanced>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:0 14px;font-size:12px;font-weight:550;cursor:pointer}
.advanced>summary::-webkit-details-marker{display:none}
.advanced>summary .adv-plus{font-size:16px;color:#949b8a;transition:transform .15s}
.advanced[open]>summary .adv-plus{transform:rotate(45deg)}
.advanced>:not(summary){margin-left:14px;margin-right:14px}
.advanced .quality-heading{margin-top:4px}
.quality-grid.three{grid-template-columns:repeat(3,1fr)}
.autopilot-toggle{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.5;margin-bottom:14px;cursor:pointer}
.autopilot-toggle input{accent-color:var(--green);width:18px;height:18px;margin:0;flex-shrink:0}
.advanced .field-hint:last-child{margin-bottom:14px}
.original-only{width:100%;margin-top:8px;min-height:44px}
.proof{padding:18px 0 20px}
.proof-stage{position:relative;border-radius:10px;overflow:hidden;background:#1f2924;line-height:0}
.proof-stage canvas{width:100%;display:block}
.proof input[type=range]{margin:10px 0 4px}
.proof-frames{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 4px}
.proof-frames button{min-height:36px;min-width:52px;border:1px solid #d2d9c9;border-radius:6px;background:#fff;font-size:11px;font-variant-numeric:tabular-nums}
.proof-frames button[aria-pressed=true]{border-color:var(--green);background:#eef3ea;color:var(--green);font-weight:600}
.proof h2{font-family:var(--serif);font-size:24px;font-weight:400;margin:14px 0 8px}
.proof-facts{list-style:none;padding:0;margin:0;font-size:11px;line-height:1.7;color:#4f5649}
.proof-facts strong{display:inline-block;min-width:56px;color:var(--ink);font-weight:600}
.proof-reasons{font-size:11px;line-height:1.7;color:var(--muted);margin:8px 0 0}
#proof-go{border:0;font-family:inherit;cursor:pointer}
.steps{flex-wrap:wrap}
button:disabled,.secondary:disabled{cursor:not-allowed}
@media(max-width:660px){
  .platform-tabs [role=tab]{min-height:44px;font-size:12px}
  .shell{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
  .result-actions{flex-wrap:wrap}
  .result-actions>*{min-height:44px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(max-width:660px){.paste-button{min-height:40px;padding:0 14px}}


.advanced>summary{gap:10px}
.adv-summary{margin-left:auto;font-size:11px;font-weight:500;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.quality-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.preset-grid label{min-height:64px}
.preset-grid .quality-icon{color:var(--muted);font-weight:600;letter-spacing:.2px}
.preset-grid input:checked+label .quality-icon{color:inherit}
.preset-heading{margin-top:2px}
.preset-heading .soft-label{text-align:right}
.preset-grid{margin-bottom:16px}
.primary{gap:9px}
.primary .spark{width:16px;height:16px;fill:currentColor;stroke:none}
.advanced .quality-hint{min-height:0;margin:10px 14px 18px}
.platform-tabs [role=tab]{font-size:13px}
.result-pic{display:block;max-width:100%;max-height:310px;object-fit:contain;margin:auto}
@media(max-width:660px){.result-pic{max-height:370px}}
.video-wrap:has(.result-pic:not([hidden])){background:#e9ece4}
.look-heading{margin-top:4px}
.look-grid label{min-height:86px}
.look-warning{color:#8a4b1f;min-height:0;margin:10px 14px 4px}
.preset-grid{margin-bottom:16px}
.hero h1 .h1-kicker{font-family:var(--sans);font-size:10px;font-weight:600;letter-spacing:1.8px;line-height:15px;color:var(--ink);text-transform:uppercase;margin-bottom:20px;display:flex}
.h1-slogan{display:block}
@media(max-width:660px){.hero h1 .h1-kicker{font-size:8px;letter-spacing:1.5px;margin-bottom:17px}}
.hero h1{margin-top:0}
