:root{--ink:#302e24;--muted:#807a5d;--paper:#fffdf4;--butter:#f3e49b;--lemon:#f7edb6;--ochre:#d6b852;--line:#a89960;--mono:'Courier New',Courier,ui-monospace,monospace;font-family:var(--mono);font-weight:400;color:var(--ink);background:var(--paper);font-size:12px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{color:inherit;background:transparent;border:1px solid var(--line);border-radius:0;cursor:pointer;padding:10px 14px;transition:background .16s,border-color .16s,transform .18s}button:hover{background:#ecdda0;border-color:#625b37}button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible{outline:2px solid #8d732b;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #b99b43;outline-offset:1px}[hidden]{display:none!important}.header{height:75px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px dotted var(--line);background:var(--paper);gap:25px}.logo{font-family:Arial,sans-serif;font-size:24px;letter-spacing:-.7px;font-weight:500;display:flex;align-items:baseline;text-decoration:none;color:var(--ink)}.logo-dot{height:5px;width:5px;background:var(--ochre);margin-left:5px}.logo small{font-family:var(--mono);font-size:8px;font-weight:400;letter-spacing:.5px;color:var(--muted);margin-left:13px;align-self:center}.header-note{color:#9b9271;font-size:8px;letter-spacing:1px;margin-right:auto;margin-left:10px}.header-actions{display:flex;align-items:center;gap:9px}.icon{padding:8px 10px;font-size:22px;border:0;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex:none}.icon svg,.line-icon{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.3;stroke-linecap:square;stroke-linejoin:miter;display:block;flex:none}.small-icon{padding:5px 7px}.small-icon svg{width:17px;height:17px}.upload-button{font-size:11px;background:#fbf5d8;padding:11px 15px}.upload-button span{margin-left:17px;color:#8f7a36}.dark-button{background:var(--ink);color:var(--paper);border-color:var(--ink);padding:12px 19px;font-size:11px;font-weight:400}.dark-button:hover{background:#5d5332;border-color:#5d5332}.dark-button span{color:var(--butter);margin-left:22px}.playground{max-width:1560px;margin:0 auto;padding:20px 34px 0}.preview-area{height:calc(100dvh - 390px);min-height:310px;position:relative;background:var(--lemon);border:1px solid #d0bd76;overflow:hidden;display:flex;flex-direction:column}.preview-top{height:49px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 17px;gap:15px;z-index:2}.source-chip{display:flex;align-items:center;gap:8px;font-size:10px;color:#746946;max-width:58%}.source-chip img{width:23px;height:25px;object-fit:contain;background:var(--paper);border:1px solid #c9b976}.source-chip>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.source-chip .small-icon{color:#8c7b47}.preview-tools{display:flex;gap:6px;align-items:center}.compare-button,.expand-button{font-size:10px;border:0;background:transparent;padding:9px 10px;color:#72623c;min-height:36px;display:inline-flex;align-items:center;gap:6px}.expand-button{font-size:18px;padding:6px 9px}.expand-button svg{width:18px;height:18px}.compare-button[aria-pressed=true]{background:var(--ink);color:var(--butter)}.compare-icon{font-size:13px;vertical-align:middle;margin-right:2px}.canvas-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:0 30px 8px;overflow:hidden}.artboard{height:100%;position:relative;flex:none;max-width:100%;touch-action:none;box-shadow:0 3px 16px #7e6a2a16}.artboard svg{display:block;width:100%;height:100%}.artboard text[data-text]{cursor:move;pointer-events:all}.canvas-stage>img{height:100%;max-width:100%;object-fit:contain;box-shadow:0 3px 16px #7e6a2a16}.preview-footer{height:34px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 17px;font-size:8px;letter-spacing:.3px;color:#a18b4f}.preview-footer button{font-size:9px;border:0;padding:6px;color:#8b7843}.style-caption{color:#8d783e;font-size:8px;letter-spacing:1px}.start-message{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;height:100%;width:100%;font-size:35px;line-height:1.3;letter-spacing:-1px;color:#8f7b40}.start-message button{font-size:12px;margin-top:20px;letter-spacing:0;background:var(--paper)}.start-message small{font-size:8px;letter-spacing:2px;color:#ad9b68}.loading{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:8px 12px;background:#3b3526e8;color:#f7edbb;font-size:10px;pointer-events:none;z-index:8;white-space:nowrap}.loading>span{width:5px;height:5px;background:var(--ochre);animation:pulse .7s infinite alternate}@keyframes pulse{to{opacity:.3}}.control-deck{max-width:940px;margin:20px auto 0;background:var(--butter);border:1px solid #c8b675;padding:15px 20px 0;position:relative}.deck-toggle{display:none}.looks-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;font-size:9px;letter-spacing:1px;color:#8f7c40}.looks-heading button{font-size:10px;letter-spacing:0;border:0;padding:4px 0;color:#7d6b35}.look-strip{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding:0 0 9px;position:relative;isolation:isolate;scroll-snap-type:x proximity;overscroll-behavior-x:contain}.look-strip::-webkit-scrollbar{display:none}.look{border:1px solid transparent;min-width:0;flex:1;padding:5px 5px 9px;text-align:center;position:relative;z-index:1;background:transparent;scroll-snap-align:center;touch-action:pan-x}.look:hover{background:#fff5c15c;border-color:transparent}.look.active{background:transparent;border-color:transparent}.look.active:after{content:'>';position:absolute;right:4px;bottom:8px;color:#756025;font-size:10px}.look-indicator{position:absolute;left:0;top:0;z-index:0;background:#fcf4cd;border:1px solid #c5aa53;pointer-events:none;transition:transform .32s cubic-bezier(.22,1,.36,1),width .32s cubic-bezier(.22,1,.36,1),height .2s;will-change:transform}.look-thumb{aspect-ratio:1.6;min-height:44px;max-height:61px;overflow:hidden;background:var(--lemon);display:flex;align-items:center;justify-content:center;margin-bottom:8px;border:1px dotted #b5a166}.look-thumb svg{height:100%;max-width:100%;width:auto;display:block}.look-thumb svg text[data-text]{display:none}.look-name{font-size:10px;white-space:nowrap;letter-spacing:-.4px;color:#786431}.look.active .look-name{color:var(--ink)}.look-num{position:absolute;top:8px;left:8px;font-size:7px;color:#837247;pointer-events:none}.adjustments{display:grid;grid-template-columns:1fr 1fr auto auto;gap:23px;align-items:center;border-top:1px dotted #a58e4c;padding:14px 2px 12px}.slider-control{display:block;min-width:0}.slider-control>span{display:flex;align-items:center;justify-content:space-between;color:#7b672f;font-size:11px;margin-bottom:0;gap:5px}.slider-control output{font-size:12px;color:var(--ink);font-variant-numeric:tabular-nums;min-width:29px;text-align:right;transition:background .15s,transform .18s;line-height:22px}.range-track{display:flex;align-items:center;gap:6px;height:44px}.range-nudge{font-size:17px;width:27px;height:36px;flex:none;border:0;padding:0;color:#8b7437;display:flex;align-items:center;justify-content:center;touch-action:manipulation}.range-nudge:hover{background:#d9c16a55}input[type=range]{display:block;appearance:none;-webkit-appearance:none;width:100%;min-width:30px;flex:1;height:44px;background:linear-gradient(to right,#8e7739 var(--pct,50%),#cdbb7b var(--pct,50%)) center / 100% 3px no-repeat;margin:0;cursor:pointer;touch-action:pan-y;border:0;border-radius:0;outline-offset:-4px}input[type=range]::-webkit-slider-runnable-track{height:3px;background:transparent}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:19px;height:19px;margin-top:-8px;background:var(--paper);border:1px solid #79632e;border-radius:50%;box-shadow:0 1px 2px #89734225;transition:transform .24s cubic-bezier(.22,1.4,.36,1),box-shadow .2s}input[type=range]::-moz-range-track{height:3px;background:transparent}input[type=range]::-moz-range-thumb{width:18px;height:18px;background:var(--paper);border:1px solid #79632e;border-radius:50%;transition:transform .24s,box-shadow .2s}.range-active input[type=range]::-webkit-slider-thumb{transform:scale(1.25);box-shadow:0 0 0 5px #e1ca6b65}.range-active input[type=range]::-moz-range-thumb{transform:scale(1.25);box-shadow:0 0 0 5px #e1ca6b65}.range-active output{background:#e3ca72;transform:translateY(-1px);padding:0 5px}.color-controls{display:flex;gap:13px;align-items:center;padding-left:2px}.color-controls label{display:flex;flex-direction:column;gap:7px;align-items:center;cursor:pointer;position:relative;min-width:27px}.color-controls label span{font-size:9px;color:#8b7539}input[type=color]{appearance:none;-webkit-appearance:none;width:26px;height:26px;padding:3px;border:1px solid #a98b44;border-radius:0;background:var(--paper);cursor:pointer}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:0;border-radius:0}input[type=color]::-moz-color-swatch{border:0;border-radius:0}.color-controls>.icon{font-size:17px;color:#9c8347;padding:0}.extra-actions{display:flex;gap:5px;align-items:center;border-left:1px dotted #b7a05c;padding-left:15px}.extra-actions>button:first-child{font-size:11px;white-space:nowrap;padding:8px 7px;border:0;color:#7a642f}.type-icon{font-family:Georgia;font-size:19px;margin-right:4px;vertical-align:middle}.extra-actions>.icon{color:#8c753d}.extra-actions>.icon.active{background:#e8d480;color:#51411f}.footer{max-width:1560px;padding:15px 35px 17px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;color:#a49468;font-size:8px;letter-spacing:.2px}.footer i{display:inline-block;width:4px;height:4px;background:#b89a46;margin-right:6px;vertical-align:middle}.advanced{border-top:1px dotted #ac9759;padding:20px 2px 15px}.advanced-grid{display:grid;grid-template-columns:1fr 1fr auto auto;gap:20px;align-items:center}.palettes{display:flex;gap:7px}.palette{width:24px;height:24px;border-radius:0;border:1px solid #b6a066;padding:3px;background:var(--paper);overflow:hidden;display:flex}.palette i{height:100%;width:50%}.check{display:flex;align-items:center;gap:8px;font-size:11px;color:#87713b;white-space:nowrap;min-height:30px}.check input{width:15px;height:15px;accent-color:#8a7233;margin:0}.advanced-foot{display:flex;gap:17px;flex-wrap:wrap;margin-top:17px;padding-top:15px;border-top:1px dotted #bca565}.advanced-foot button{font-size:10px;padding:3px 0;border:0;color:#947b3e}.advanced-foot button:first-child{margin-right:auto}.strip-copy{display:flex;align-items:center;gap:12px;margin-top:18px;color:#8a7035;font-size:10px}.strip-copy input{flex:1;font-size:10px}.saved-looks{display:flex;gap:7px;overflow:auto;padding:0 0 12px}.saved-look{display:flex;border-bottom:1px dotted #aa8f44;flex:none}.saved-look button{border:0;font-size:10px;padding:7px 8px;color:#8a7337}.saved-look button:last-child{padding-left:0;color:#ad9551}.drop-overlay{position:absolute;inset:7px;z-index:12;background:#f8edb4ed;border:2px dashed #b39a46;display:none;align-items:center;justify-content:center;flex-direction:column;font-size:32px;letter-spacing:-1px;pointer-events:none}.drop-overlay small{font-size:11px;letter-spacing:0;color:#9a8342;margin-top:13px}.drop-overlay.visible{display:flex}#toast{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,20px);background:#3d3524;color:#faefc3;padding:12px 18px;font-size:11px;line-height:1.6;opacity:0;pointer-events:none;z-index:70;max-width:90vw;transition:.2s;box-shadow:0 4px 20px #65501b25}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{width:min(500px,94vw);max-height:90dvh;overflow:auto;border:1px solid #a9914a;border-radius:0;background:#fbf1c3;box-shadow:0 24px 100px #57462040;padding:26px;color:#4b4027}dialog::backdrop{background:#30291270;backdrop-filter:blur(3px)}.dialog-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px dotted #b49b54}.dialog-title small{font-size:8px;letter-spacing:1.2px;color:#a08a4e}.dialog-title h2{font-size:24px;font-weight:400;letter-spacing:-.6px;margin:9px 0 0}.dialog-title>.icon{padding:0 0 0 10px;color:#9a844b}.hint{font-size:11px;line-height:1.8;color:#9b854d;margin:16px 0 0;word-break:normal}input:not([type]),input[type=number],select,textarea{max-width:100%;border:1px solid #c7b06a;border-radius:0;background:#fff9df;padding:11px;color:#66532b;font-size:12px}textarea{width:100%;resize:vertical;line-height:1.65;min-height:95px}.export-preview{height:190px;background:#eee1a4;border:1px dotted #baa25c;display:flex;align-items:center;justify-content:center;padding:12px;overflow:hidden}.export-preview svg{height:100%;width:auto;max-width:100%;box-shadow:0 2px 10px #89712f20}.export-size{display:flex;align-items:flex-end;gap:10px;margin:20px 0 15px}.export-size>label{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#8a7238;flex:1}.export-size input{width:100%}.export-size>span{font-size:9px;color:#9a8247;margin-bottom:13px}.lock-button{font-size:17px;padding:12px 2px;color:#967b36}.lock-button[aria-pressed=false]{opacity:.4}.export-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.export-actions>button{padding:14px}.text-layer-row{display:flex;gap:7px;margin-bottom:12px}.text-layer-row select{flex:1;min-width:0}.text-layer-row button{font-size:11px}.text-fields{display:flex;gap:10px;align-items:flex-end;margin-top:15px}.text-fields>label{flex:1;display:flex;flex-direction:column;gap:7px;color:#917941;font-size:10px;min-width:0}.text-fields input,.text-fields select{width:100%;padding:10px 6px}.text-fields>input[type=color]{width:28px;margin-bottom:8px}.font-button{font-size:10px;color:#937d43;border-style:dotted;width:100%;margin-top:14px}.full{width:100%;margin-top:21px}#presetName{width:100%;font-size:14px}.about-body p{font-size:12px;line-height:1.85;color:#8b753f;margin:0 0 19px}.about-body b{font-weight:400;color:#4d3e20;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px}.reference-links{display:flex;flex-wrap:wrap;gap:13px;margin:22px 0;font-size:11px;color:#8b6f30}.reference-links>span{width:100%;font-size:8px;letter-spacing:1px;color:#ab9458}.reference-links a{color:inherit}.crop-wrap{display:flex;align-items:center;justify-content:center;background:#e7d38b;max-height:50dvh;overflow:hidden}.crop-wrap canvas{max-width:100%;max-height:50dvh;touch-action:none;object-fit:contain;display:block;cursor:crosshair}.crop-actions{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.crop-actions button{font-size:10px}.artboard.preview-transparent{background:repeating-conic-gradient(#eee8d6 0% 25%,#fffdf3 0% 50%) 50% / 14px 14px}.inactive{opacity:.35}.inactive input{cursor:default}.inactive .range-nudge{pointer-events:none}.zoom-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;background:var(--lemon);padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);overflow:hidden}.zoom-dialog[open]{display:flex;flex-direction:column}.zoom-heading{height:66px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 23px;border-bottom:1px dotted #b19b5c;flex:none;font-size:11px;color:#8d7640}.zoom-heading>div{display:flex;align-items:center;gap:9px}.zoom-heading button{border:0;min-width:40px;min-height:44px}.zoom-stage{flex:1;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none;cursor:grab}.zoom-stage:active{cursor:grabbing}.zoom-content{transform-origin:center;will-change:transform;flex:none;pointer-events:none}.zoom-content svg{width:100%;height:100%;display:block}.zoom-hint{font-size:8px;letter-spacing:1px;color:#9e8950;text-align:center;padding:13px;flex:none;margin:0}
@media(min-width:1600px){.preview-area{height:calc(100dvh - 420px)}.control-deck{margin-top:24px;max-width:980px}.look-thumb{max-height:67px}}
@media(max-width:1100px){.header{padding:0 23px;height:66px;gap:20px}.header-note{font-size:7px;margin-left:0}.logo small{font-size:7px;margin-left:9px}.playground{padding:17px 22px 0}.preview-area{height:calc(100dvh - 370px)}.control-deck{margin-top:16px;padding:14px 16px 0}.look-strip{gap:4px}.adjustments{gap:17px}.extra-actions{padding-left:9px}.extra-actions>button:first-child{padding:7px 4px}.footer{padding:13px 24px 17px}}
@media(max-width:800px){.header-note{display:none}.look-name{font-size:9px}.logo small{font-size:7px}.adjustments{gap:12px}.range-nudge{width:23px}.range-track{gap:4px}.color-controls{gap:9px}.extra-actions{gap:0;padding-left:7px}.extra-actions>button:first-child{font-size:10px}.advanced-grid{gap:14px}}
@media(max-width:700px){html{height:100%;overflow:hidden}body{height:100dvh;height:100svh;display:flex;flex-direction:column;overflow:hidden;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}.header{height:54px;min-height:54px;flex:none;padding:0 15px;gap:12px;border-bottom:1px dotted #b49c57}.logo{font-size:20px;letter-spacing:-.7px}.logo small{display:none}.logo-dot{height:4px;width:4px;margin-left:4px}.header-actions{gap:6px}.header-actions>.icon{padding:8px 6px;min-width:36px;min-height:40px}.header-actions>.icon svg{width:18px;height:18px}.upload-button{font-size:10px;padding:11px 9px;min-height:40px;white-space:nowrap}.upload-button span{margin-left:6px}.dark-button{font-size:10px;padding:12px 13px}.dark-button span{margin-left:10px}.playground{padding:9px 10px 10px;display:flex;flex-direction:column;flex:1;min-height:0;width:100%;overflow:hidden}.preview-area{height:auto;min-height:140px;flex:1;width:100%;border:1px solid #c3ad65}.preview-top{height:39px;padding:0 8px;gap:8px}.source-chip{font-size:9px;gap:5px;max-width:57%}.source-chip img{width:18px;height:21px}.source-chip>span{max-width:110px}.source-chip .small-icon{padding:6px;min-height:32px}.source-chip .small-icon svg{width:15px;height:15px}.preview-tools{gap:0}.compare-button{font-size:9px;padding:7px 6px;min-height:34px;gap:3px}.expand-button{min-width:34px;min-height:34px;padding:6px}.expand-button svg{width:17px;height:17px}.compare-icon{font-size:11px}.canvas-stage{padding:0 8px 4px}.preview-footer{height:27px;padding:0 8px;font-size:7px}.preview-footer #imageInfo{max-width:43%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:7px;letter-spacing:0}.style-caption{font-size:7px;letter-spacing:.3px}.preview-footer button{font-size:9px;padding:7px 0;min-height:27px}.control-deck{flex:none;width:100%;max-width:none;margin:9px 0 0;padding:0 11px;max-height:54svh;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#baa55f transparent}.deck-toggle{display:flex;align-items:center;justify-content:space-between;border:0;width:100%;padding:9px 0 7px;min-height:30px;font-size:8px;letter-spacing:1px;color:#998145;background:transparent;touch-action:manipulation}.deck-toggle-symbol{font-size:17px;line-height:12px;letter-spacing:0}.looks-heading{margin-bottom:4px;font-size:8px;color:#8b7335}.looks-heading>span{font-size:8px;letter-spacing:.7px}.looks-heading button{font-size:9px;padding:6px 0;min-height:26px}.look-strip{gap:4px;margin:0 -3px;padding:0 3px 5px}.look{flex:none;width:80px;padding:4px 4px 9px;min-height:74px}.look-thumb{min-height:40px;max-height:42px;aspect-ratio:1.7;margin-bottom:6px}.look-name{font-size:10px;letter-spacing:-.3px}.look.active:after{font-size:9px;right:4px;bottom:7px}.look-num{font-size:6px;top:7px;left:7px}.adjustments{grid-template-columns:1fr 1fr;gap:0 12px;padding:5px 0 7px;align-items:center}.adjustments>.slider-control{grid-column:1/-1;display:grid;grid-template-columns:83px minmax(0,1fr);gap:9px;align-items:center;min-height:45px}.slider-control>span{font-size:11px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;line-height:17px;margin:0}.slider-control output{font-size:11px;text-align:left;line-height:17px;color:#97803b;min-width:26px}.range-track{height:44px;gap:8px}.range-nudge{width:34px;height:44px;font-size:20px;min-width:34px;touch-action:manipulation}input[type=range]{height:44px;background-size:100% 4px;touch-action:pan-y}input[type=range]::-webkit-slider-thumb{width:24px;height:24px;margin-top:-10.5px}input[type=range]::-moz-range-thumb{width:23px;height:23px}.range-active output{padding:0 4px}.color-controls{gap:12px;padding-left:0;flex-direction:row;justify-content:flex-start;min-height:43px}.color-controls label{flex-direction:row;gap:5px;min-height:42px}.color-controls label span{font-size:10px}.color-controls input[type=color]{width:26px;height:26px;padding:3px}.color-controls>.icon{min-width:28px;min-height:42px;font-size:17px}.extra-actions{border:0;padding:0;justify-content:flex-end;gap:8px;min-height:43px}.extra-actions>button:first-child{font-size:11px;min-height:42px}.extra-actions>.icon{min-height:42px;min-width:38px;padding:7px}.extra-actions>.icon svg{width:19px;height:19px}.type-icon{font-size:18px}.advanced{padding:14px 0;border-top:1px dotted #ae944b}.advanced-grid{grid-template-columns:1fr;gap:6px}.advanced-grid>.slider-control{display:grid;grid-template-columns:83px minmax(0,1fr);gap:9px;align-items:center}.advanced-grid .palettes{margin:9px 0;gap:12px}.palette{width:29px;height:29px}.advanced-grid .check{min-height:38px}.advanced-foot{gap:12px;margin-top:12px;padding-top:12px;line-height:1.5}.advanced-foot button{font-size:10px;min-height:35px;padding:5px 0}.advanced-foot button:first-child{width:100%;text-align:left;margin-bottom:0}.strip-copy{display:block;font-size:11px}.strip-copy input{margin-top:8px;width:100%;font-size:16px}.saved-looks{padding:3px 0 8px}.saved-look button{font-size:10px;padding:9px;min-height:36px}.deck-collapsed .adjustments,.deck-collapsed #advanced,.deck-collapsed #savedLooks{display:none}.deck-collapsed .looks-heading{display:none}.deck-collapsed .look{min-height:64px}.deck-collapsed .look-thumb{max-height:34px;min-height:32px}.footer{display:none}.drop-overlay{font-size:25px}.drop-overlay small{font-size:10px}.dialog-title h2{font-size:22px}dialog{padding:22px;max-height:88svh}.dialog-title{padding-bottom:15px}.dialog-title>.icon{min-width:35px;min-height:35px;padding:0}.text-fields{gap:7px}.text-fields>label{font-size:9px}input:not([type]),input[type=number],select,textarea{font-size:16px;padding:11px 8px}.text-fields input,.text-fields select{font-size:14px;min-height:43px}.text-layer-row select{font-size:13px}.text-layer-row button{min-height:43px}.export-size>label{font-size:11px}.export-actions{gap:8px}.export-actions>button{min-height:46px;font-size:11px}.font-button{min-height:43px;font-size:11px}.full{min-height:46px;font-size:12px}.about-body p{font-size:12px}.zoom-dialog{max-height:none;max-width:none;width:100vw;height:100dvh;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}.zoom-heading{height:56px;padding:0 14px;font-size:10px}.zoom-heading>div{gap:2px}.zoom-heading button{min-width:38px;min-height:44px;padding:7px}.zoom-hint{font-size:7px;padding:12px 5px}.loading{font-size:9px;padding:7px 10px}}
@media(max-width:700px) and (max-height:700px){.header{height:49px;min-height:49px}.preview-area{min-height:110px}.control-deck{max-height:56svh}.deck-toggle{min-height:26px;padding:6px 0}.look{min-height:62px}.look-thumb{min-height:30px;max-height:31px}.looks-heading{margin-bottom:2px}.adjustments>.slider-control{min-height:43px}.adjustments{padding:3px 0}.range-track{height:43px}.color-controls,.extra-actions{min-height:39px}.playground{padding-top:7px;padding-bottom:7px}}
@media(max-width:950px) and (max-height:500px) and (orientation:landscape){body{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.header{height:48px;min-height:48px}.header-note,.footer{display:none}.playground{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,44%);gap:10px;flex:1;min-height:0;padding:8px 12px}.preview-area{height:100%;min-height:0}.control-deck{margin:0;max-height:none;height:100%;overflow:auto;padding:9px;min-width:0}.look{flex:none;width:72px}.look-thumb{max-height:36px;min-height:32px}.adjustments{grid-template-columns:1fr 1fr;gap:7px}.adjustments>.slider-control{grid-column:1/-1;display:grid;grid-template-columns:75px minmax(0,1fr);gap:8px;align-items:center}.slider-control>span{font-size:10px;display:flex;flex-direction:column;align-items:flex-start}.slider-control output{font-size:10px}.deck-toggle{display:none}.range-track{height:38px}.color-controls{gap:7px}.extra-actions{border:0;padding:0;justify-content:flex-end}.looks-heading{font-size:7px}.looks-heading button{font-size:8px}.logo{font-size:20px}.preview-footer #imageInfo{font-size:6px}.advanced-grid{grid-template-columns:1fr}.advanced-foot{gap:9px}.advanced-foot button{font-size:9px}.look-name{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}.look-indicator{will-change:auto}.zoom-content{will-change:auto}}
/* The workspace is a continuous yellow field; only the artwork reads as a sheet. */
:root{background:var(--butter)}body{background:var(--butter)}.header{justify-content:flex-end;border:0;background:transparent;height:62px}.header-actions{margin-left:auto}.header .upload-button,.header .dark-button{background:transparent;border:0;color:var(--ink)}.header .dark-button span{color:#8b7132}.header .upload-button:hover,.header .dark-button:hover{background:#e8d37755}.playground{max-width:none;padding-top:3px}.preview-area,.control-deck{background:transparent;border:0;box-shadow:none}.preview-area{height:calc(100dvh - 360px)}.artboard,.canvas-stage>img{box-shadow:none}.control-deck{margin-top:16px}.look-thumb{border:0}.look-indicator{border:0;background:transparent}.look-indicator:after{content:'';position:absolute;left:10px;right:10px;bottom:2px;height:1px;background:#8e7535}.look:hover{background:#fff6cd33}.adjustments,.advanced,.advanced-foot,.extra-actions{border:0}.source-chip img{border:0}.zoom-dialog{background:var(--butter)}.zoom-heading{border:0}.sketchbook{--sheet-paper:#f3e49b;--punch-size:4.5px;flex:none;position:relative;box-sizing:content-box;padding-top:27px;background:var(--sheet-paper);-webkit-mask:radial-gradient(circle at 50% 12px,transparent var(--punch-size),#000 calc(var(--punch-size) + .6px)) 0 0 / 28px 100% repeat-x;mask:radial-gradient(circle at 50% 12px,transparent var(--punch-size),#000 calc(var(--punch-size) + .6px)) 0 0 / 28px 100% repeat-x}.sketchbook>.artboard{max-width:none}.palette-open{min-width:34px;min-height:40px}.palette-grid-icon{display:grid;grid-template-columns:7px 7px;gap:3px}.palette-grid-icon i{height:7px;width:7px;background:#153dbd}.palette-grid-icon i:nth-child(2){background:#d22b48}.palette-grid-icon i:nth-child(3){background:#056e67}.palette-grid-icon i:nth-child(4){background:#ee9c24}.palette-dialog{width:min(600px,94vw)}.palette-recipes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 10px}.palette-recipe{padding:0 0 7px;border:0;min-width:0;text-align:left}.palette-recipe:hover{background:#f1e3a755}.palette-recipe.active{outline:1px solid #9e803a;outline-offset:4px}.recipe-colors{display:flex;height:45px;width:100%;margin-bottom:7px}.recipe-colors i{width:50%;height:100%}.recipe-name{font-size:9px;color:#8f7137;line-height:1.5;display:block}.palettes{flex-wrap:wrap}.palette-all{font-size:9px;padding:4px 6px;border:0;white-space:nowrap}.look-thumb>img{height:100%;width:100%;object-fit:cover;display:block}.look.active:after{bottom:8px}
@media(min-width:1600px){.preview-area{height:calc(100dvh - 390px)}}
@media(max-width:1100px){.header{height:58px}.preview-area{height:calc(100dvh - 345px)}}
@media(max-width:700px){.header{height:48px;min-height:48px;border:0}.playground{padding-top:2px}.preview-area{height:auto;border:0}.control-deck{margin-top:8px}.sketchbook{--punch-size:3.4px;padding-top:23px;-webkit-mask-size:24px 100%;mask-size:24px 100%}.extra-actions{gap:2px}.palette-open{padding:7px 4px;min-width:32px!important}.extra-actions>button:nth-child(2){font-size:10px;white-space:nowrap;min-height:42px;border:0;padding:6px}.extra-actions>button:nth-child(2) .type-icon{font-size:17px;margin-right:3px}.palette-recipes{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px}.recipe-colors{height:42px}.recipe-name{font-size:9px}.advanced-grid .palettes{gap:9px}.palette-all{font-size:10px;min-height:32px}.header .upload-button,.header .dark-button{padding:10px 9px}.palette-grid-icon{grid-template-columns:6px 6px;gap:3px}.palette-grid-icon i{width:6px;height:6px}}
@media(max-width:700px) and (max-height:700px){.header{height:44px;min-height:44px}.preview-area{height:auto}.control-deck{margin-top:6px}}
@media(max-width:950px) and (max-height:500px) and (orientation:landscape){.header{height:44px;min-height:44px}.preview-area{height:100%}.control-deck{margin-top:0}.palette-open{padding:7px 3px}.extra-actions>button:nth-child(2){border:0;font-size:10px;white-space:nowrap;padding:6px}}
/* Type stays beside the live canvas, so comparing faces is immediate. */
.type-source-button{border:0;background:transparent;font-size:11px;min-height:42px;padding:10px 14px}.type-source-button span{color:#8f7a36;margin-left:17px}.type-source-button[aria-expanded=true]{text-decoration:underline;text-underline-offset:5px}.type-source-bar{display:grid;grid-template-columns:minmax(100px,1.4fr) minmax(120px,1fr) 90px auto;gap:14px;align-items:end;flex:none;padding:8px 17px 12px}.type-source-bar label{display:flex;flex-direction:column;gap:5px;min-width:0}.type-source-bar label>span{font-size:8px;letter-spacing:1px;color:#8b7539}.type-source-bar textarea,.type-source-bar select{background:transparent;border:0;border-bottom:1px dotted #ad9451;border-radius:0;color:var(--ink);padding:5px 0;width:100%;min-height:38px}.type-source-bar textarea{height:44px;resize:vertical;max-height:82px;line-height:1.3}.type-source-bar>button{border:0;min-height:40px;padding:5px}.expand-button{min-width:44px;min-height:44px}.expand-button svg{width:22px;height:22px}.look-thumb>img{object-fit:contain}.recipe-art{display:flex;position:relative;align-items:center;justify-content:center;width:100%;height:58px;background:var(--recipe-paper);overflow:hidden;margin-bottom:7px;gap:8px}.recipe-art i{display:block;background:var(--recipe-ink);width:19px;height:19px;border-radius:50%}.recipe-art i:nth-child(2){height:32px;width:14px;border-radius:0;transform:rotate(25deg)}.recipe-art i:nth-child(3){border-radius:0;width:20px;height:20px;transform:rotate(-22deg)}
@media(max-width:700px){.header{padding:0 12px}.header-actions{gap:4px;width:100%;justify-content:flex-end}.header .icon{margin-right:auto}.type-source-button{padding:10px 9px}.type-source-button span,.upload-button span,.dark-button span{margin-left:7px}.type-source-bar{grid-template-columns:minmax(100px,1.1fr) minmax(110px,1fr) auto;gap:10px;padding:6px 4px 9px}.type-source-bar .type-weight{display:none}.type-source-bar textarea{height:39px}.type-source-bar select{font-size:10px}.type-source-bar>button{font-size:10px;padding:4px}.recipe-art{height:48px;gap:5px}.recipe-art i{width:14px;height:14px}.recipe-art i:nth-child(2){height:27px;width:11px}.recipe-art i:nth-child(3){width:16px;height:16px}}
#textDialog{position:fixed;left:auto;right:24px;top:auto;bottom:24px;margin:0;width:min(390px,94vw);box-shadow:0 10px 50px #302e2426;z-index:30}#textDialog .hint{font-size:10px}#textDialog textarea{max-height:100px}
@media(max-width:700px){#textDialog{left:0;right:0;bottom:0;width:100%;max-height:43dvh;padding:15px 18px;overflow:auto}#textDialog .dialog-title{margin-bottom:10px}#textDialog .dialog-title small{display:none}#textDialog h2{font-size:22px}#textDialog textarea{min-height:48px;height:48px}#textDialog .hint{margin:7px 0}#textDialog .text-fields{margin:9px 0}}
/* Touch controls stay borderless. Keyboard focus uses a circular thumb ring. */
input[type=range]:focus,input[type=range]:focus-visible{outline:none;box-shadow:none;background-color:transparent}.range-active output{background:transparent;padding:0;transform:none}.range-active .slider-control{outline:0}.range-active input[type=range]::-webkit-slider-thumb{transform:scaleX(calc(var(--elastic-x,1)*1.18)) scaleY(calc(var(--elastic-y,1)*1.18));box-shadow:none}.range-active input[type=range]::-moz-range-thumb{transform:scaleX(calc(var(--elastic-x,1)*1.18)) scaleY(calc(var(--elastic-y,1)*1.18));box-shadow:none}input[type=range]:focus-visible::-webkit-slider-thumb{outline:2px solid var(--ink);outline-offset:4px}input[type=range]:focus-visible::-moz-range-thumb{outline:2px solid var(--ink);outline-offset:4px}.artboard>img{width:100%;height:100%;object-fit:contain;display:block}.canvas-stage{perspective:1100px}.sketchbook{transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .4s cubic-bezier(.22,1,.36,1);transform-origin:50% 45%}.effect-reveal{position:absolute;inset:27px 0 0;display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(6,1fr);pointer-events:none;overflow:hidden}.effect-reveal i{background:var(--reveal-color,var(--sheet-paper));opacity:0;pointer-events:none}.look-thumb{transform:translate(var(--mx,0px),var(--my,0px)) rotate(var(--mr,0deg));transition:transform .35s cubic-bezier(.2,1.5,.3,1);transform-origin:50% 80%;max-height:86px;min-height:65px;aspect-ratio:1.28}.look-thumb>img,.look-thumb>svg{transition:transform .3s cubic-bezier(.2,1.5,.3,1)}.look.active .look-thumb>img,.look.active .look-thumb>svg{transform:scale(1.055)}.look-strip{padding-top:9px;overflow-y:hidden}.look-indicator{transition-duration:.22s}.look.active:after{display:none}.look-name{transition:color .18s,letter-spacing .24s}.look.active .look-name{letter-spacing:.4px}.preview-tools button:hover{transform:rotate(-4deg)}
@media(max-width:700px){.look-thumb{min-height:54px;max-height:57px;aspect-ratio:1.28}.look{width:84px}.effect-reveal{top:23px}.look-strip{padding-top:4px}.sketchbook{transform:none}.look-num{top:8px}}
@media(max-width:950px) and (max-height:500px) and (orientation:landscape){.look-thumb{min-height:38px;max-height:40px}}
@media(prefers-reduced-motion:reduce){.sketchbook,.look-thumb{transform:none!important}.effect-reveal{display:none}}
.sketchbook.editing-type{transform:none;transition:none}
/* Canvas panel, phone-first image area and CSS-only motion. */
#sizeDialog{position:fixed;left:auto;right:24px;top:auto;bottom:24px;margin:0;width:min(390px,94vw);box-shadow:0 10px 50px #302e2426;z-index:30}
.ratio-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ratio-row button,.fit-row button{border:1px solid #c3ad65;background:#fbf6dc;color:#6e5c24;font:inherit;font-size:11px;min-height:40px;border-radius:3px;transition:background-color .25s,border-color .25s,transform .25s cubic-bezier(.2,.9,.25,1)}
.ratio-row button:active,.fit-row button:active{transform:scale(.95)}
.ratio-row button[aria-pressed=true],.fit-row button[aria-pressed=true]{border-color:#3d3310;background:#f3e49b;color:#3d3310}
.fit-row{display:flex;align-items:center;gap:8px;margin:14px 0}.fit-row span{flex:1;font-size:11px}.fit-row button{min-width:84px;border-radius:20px}
.size-fields{margin-top:4px}
@keyframes dfRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes dfSheet{from{opacity:0;transform:translateY(46px)}to{opacity:1;transform:none}}
@keyframes dfPop{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
#textDialog[open],#sizeDialog[open]{animation:dfSheet .42s cubic-bezier(.16,1,.3,1)}
dialog[open]:not(#textDialog):not(#sizeDialog):not(.zoom-dialog){animation:dfPop .3s cubic-bezier(.16,1,.3,1)}
.adjustments,.looks-heading,.advanced,.saved-looks{animation:dfRise .45s cubic-bezier(.16,1,.3,1) both}
.adjustments>*:nth-child(2){animation:dfRise .45s .05s cubic-bezier(.16,1,.3,1) both}.adjustments>*:nth-child(3){animation:dfRise .45s .1s cubic-bezier(.16,1,.3,1) both}
.look{transition:background-color .3s,transform .3s cubic-bezier(.2,.9,.25,1)}.look:active{transform:scale(.96)}
.deck-toggle-symbol{transition:transform .35s cubic-bezier(.2,.9,.25,1)}
.deck-collapsed .deck-toggle-symbol{transform:translateY(-1px)}
@media(max-width:700px){
.control-deck{max-height:46svh;transition:max-height .45s cubic-bezier(.16,1,.3,1),opacity .3s,transform .45s cubic-bezier(.16,1,.3,1),padding .45s,margin .45s}
.deck-collapsed .control-deck{max-height:150px}
.deck-hidden .control-deck{max-height:0;opacity:0;transform:translateY(26px);padding-top:0;padding-bottom:0;margin-top:0;pointer-events:none;overflow:hidden}
.deck-toggle-symbol{font-size:11px!important;letter-spacing:0}
.preview-area{border:0}.canvas-stage{padding:0 2px 2px}
#sizeDialog{left:0;right:0;bottom:0;width:100%;max-height:46dvh;padding:15px 18px;overflow:auto;border-radius:18px 18px 0 0}
#sizeDialog .dialog-title{margin-bottom:10px}#sizeDialog .dialog-title small{display:none}#sizeDialog h2{font-size:22px}#sizeDialog .hint{margin:8px 0}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important}}
/* Clear sheet handle on phones, no sticky tap boxes. */
*{-webkit-tap-highlight-color:transparent}
.look:hover,.look:focus,.look:focus-visible,.look:active,.look.active{background:transparent!important;outline:none}
@keyframes dfNudge{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(max-width:700px){
.control-deck{background:#fbf6dc;border-radius:20px 20px 0 0;box-shadow:0 -8px 26px #5a471224;margin-top:6px;padding-top:0}
.deck-toggle{position:relative;justify-content:center;gap:8px;padding:20px 0 10px;min-height:48px;font-size:11px;letter-spacing:1.8px;font-weight:700;color:#3d3310;touch-action:none}
.deck-toggle:before{content:'';position:absolute;top:8px;left:50%;width:44px;height:5px;margin-left:-22px;border-radius:3px;background:#b49c57}
.deck-toggle-symbol{font-size:12px!important;display:inline-block}
.deck-collapsed .deck-toggle-symbol{animation:dfNudge 1.6s ease-in-out infinite}
.deck-hidden .control-deck{box-shadow:none}
}
@media(max-width:700px){
.control-deck{background:transparent;box-shadow:none;border-radius:0;border-top:1px solid #c3ad65}
.deck-hidden .control-deck{border-top-color:transparent}
}
.deck-toggle,.deck-toggle:hover,.deck-toggle:focus,.deck-toggle:focus-visible,.deck-toggle:active{background:transparent!important;outline:none;box-shadow:none}
