:root{color-scheme:dark;--bg:#0b0b10;--card:#16161f;--acc:#ff2fa0;--txt:#eee;--mut:#9a9aae}
*{box-sizing:border-box}body{margin:0;font:15px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--txt)}
header{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid #222}
header img{border-radius:8px}h1{font-size:18px;margin:0;flex:1}h1 span{color:var(--mut);font-weight:400;font-size:14px}
main{max-width:900px;margin:auto;padding:12px;display:grid;gap:12px}
.card{background:var(--card);border-radius:12px;padding:14px}h2{margin:0 0 10px;font-size:16px}h2 small{color:var(--mut);font-weight:400}
.muted{color:var(--mut);font-size:13px}
.drop{display:block;border:2px dashed #444;border-radius:10px;padding:24px;text-align:center;cursor:pointer}.drop input{display:none}.drop.over{border-color:var(--acc)}
.presets{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-bottom:8px}
.presets label{background:#1f1f2b;border-radius:8px;padding:10px}.presets small{display:block;color:var(--mut)}
.row{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0;align-items:center}.row>label{display:flex;gap:6px;align-items:center}
input[type=number],select{background:#222230;color:var(--txt);border:1px solid #333;border-radius:6px;padding:6px}input[type=number]{width:90px}
.sliders{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.sliders label{display:flex;flex-direction:column;font-size:13px}
.sliders output{color:var(--acc);font-weight:600}
details{margin:8px 0}summary{cursor:pointer;color:var(--acc)}.switch{display:block;margin:8px 0}
button,.btn{font:inherit;border-radius:8px;padding:10px 16px;border:1px solid #444;background:#222;color:var(--txt);cursor:pointer;text-decoration:none;display:inline-block}
.primary{background:var(--acc);border-color:var(--acc);color:#fff;font-weight:600}.primary:disabled{opacity:.4}.ghost{background:transparent}
#run{width:100%;font-size:17px}.sticky{position:sticky;bottom:8px;z-index:2;box-shadow:0 4px 20px #000a}
.progress{height:10px;background:#000;border-radius:5px;overflow:hidden;margin:10px 0}#prog{height:100%;width:0;background:var(--acc);transition:width .15s}
.viewer{overflow:auto;max-height:75vh;border-radius:8px;touch-action:pan-x pan-y pinch-zoom}
.viewer.black{background:#000}.viewer.checker{background:repeating-conic-gradient(#bbb 0 25%,#fff 0 50%) 0 0/20px 20px}
.viewer canvas{display:block;margin:auto;image-rendering:auto}.viewer.fit canvas{max-width:100%;height:auto}
footer{text-align:center;padding:16px}
/* guía / pasos */
.stepper{position:sticky;top:0;z-index:5;display:flex;gap:4px;justify-content:center;padding:8px;background:#0b0b10ee;backdrop-filter:blur(6px);border-bottom:1px solid #222}
.stepper button{flex:1;max-width:190px;display:flex;align-items:center;gap:6px;justify-content:center;padding:6px;border:0;background:transparent;color:var(--mut);font-size:13px}
.stepper button b{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#2a2a38;color:#bbb;font-size:15px}
.stepper button.done b{background:#2bb673;color:#fff}.stepper button.done b::after{content:''}
.stepper button.current{color:#fff}.stepper button.current b{background:var(--acc);color:#fff;box-shadow:0 0 0 3px #ff2fa055}
.stepper button:disabled{opacity:.45;cursor:default}
.stephead{display:flex;align-items:center;gap:10px;margin-bottom:10px}.stephead h2{flex:1;margin:0;font-size:18px}
.badge{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--acc);color:#fff;font-size:22px;font-weight:800;flex:none}
.step.done .badge{background:#2bb673}
.info{width:34px;height:34px;padding:0;border-radius:50%;font-weight:700;border-color:var(--acc);color:var(--acc)}
.help{background:#101018;border-left:4px solid var(--acc);border-radius:8px;padding:10px 12px;margin-bottom:12px;display:grid;grid-template-columns:200px 1fr;gap:4px 14px;align-items:start}
.help img{grid-row:span 4;width:100%;border-radius:8px}.help p{margin:0 0 6px}.tip{color:#ffd8ee;font-size:14px}
.step.locked{opacity:.4;pointer-events:none;filter:grayscale(.6)}.step.locked::after{content:'🔒 Completá el paso anterior';display:block;color:var(--mut);margin-top:8px}
.step.current{outline:2px solid var(--acc)}
.next{width:100%;margin-top:12px;font-size:17px}.col{display:grid;gap:8px;margin:10px 0}
.howto summary{font-weight:700;font-size:16px}.howto ol{padding-left:22px}.howto li{margin:6px 0}
@media (max-width:600px){.help{grid-template-columns:1fr}.help img{grid-row:auto;max-width:260px}.stepper button span{font-size:11px}.stepper button{flex-direction:column;gap:2px}.badge{width:38px;height:38px;font-size:19px}}
[hidden]{display:none!important}
.viewer.fit canvas{max-height:70vh;width:auto!important;max-width:100%}
.queue{list-style:none;padding:0;margin:10px 0;display:grid;gap:6px}
.queue li{display:flex;align-items:center;gap:10px;background:#1f1f2b;border-radius:8px;padding:6px}
.queue img,.queue .ph{width:52px;height:52px;object-fit:cover;border-radius:6px;background:#000;flex:none}
.queue .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.queue .st{font-size:12px;color:var(--mut);display:block}.queue .st.ok{color:#2bb673}.queue .st.err{color:#ff6b6b}.queue .st.run{color:var(--acc)}
.queue .bar{height:4px;background:#000;border-radius:2px;margin-top:3px;overflow:hidden}.queue .bar i{display:block;height:100%;background:var(--acc);width:0}
.queue button{padding:4px 8px;font-size:12px}
.results{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin:10px 0}
.results figure{margin:0;background:#000;border-radius:8px;padding:4px;cursor:pointer;border:2px solid transparent}
.results figure.sel{border-color:var(--acc)}.results img{width:100%;display:block;border-radius:4px}
.results figcaption{font-size:11px;color:var(--mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-top:3px}
.results figure.err{display:grid;place-items:center;color:#ff6b6b;font-size:12px;min-height:100px;cursor:default}
.namefield{display:flex;align-items:center;margin-top:4px;background:#222230;border:1px solid #333;border-radius:6px;overflow:hidden}
.namefield input{flex:1;min-width:0;background:transparent;border:0;color:var(--txt);padding:6px;font:12px system-ui}
.namefield .ext{flex:none;padding:6px;background:#2a2a38;color:var(--mut);font-size:12px;user-select:none}
.results{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
main>*{min-width:0}.card{overflow-wrap:anywhere}
.queue li{min-width:0}.queue .st{white-space:normal}
.results figure{min-width:0}
.sheetbox summary{font-size:16px}.sheets{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:10px}
.sheets figure{margin:0;background:#101018;border-radius:8px;padding:8px}.sheets canvas{width:100%;display:block;background:#000;border-radius:4px}
.sheets figcaption{font-size:12px;color:var(--mut);display:grid;gap:6px;padding-top:6px}
.copies{width:64px}
.swatches{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.swatches button[data-c]{width:34px;height:34px;border-radius:50%;border:2px solid #555;padding:0}
.swatches button.sel{outline:3px solid var(--acc);outline-offset:2px}.swatches input[type=color]{width:42px;height:34px;border:0;background:none;padding:0}
.shirtbox{background:#101018;border-radius:8px;padding:10px;margin-bottom:10px}.presetbox{background:#101018;border-radius:8px;padding:10px;margin-bottom:10px}
#presetName{background:#222230;color:var(--txt);border:1px solid #333;border-radius:6px;padding:8px}
.q{display:inline-block;border-radius:10px;padding:1px 8px;font-size:11px;font-weight:700;margin-left:4px}.q.g{background:#2bb673;color:#fff}.q.y{background:#e0b000;color:#000}.q.r{background:#e5484d;color:#fff}
.picking #preview,.picking .queue img{cursor:crosshair;outline:2px dashed var(--acc)}
.mockrow{display:grid;gap:4px;margin-top:6px}.mockrow img{border-radius:4px}
/* selector de color tipo Photoshop */
.picker{display:grid;gap:10px;margin-top:8px}
.pkmain{display:grid;grid-template-columns:minmax(0,260px) 34px minmax(120px,1fr);gap:12px;align-items:start}
.sv{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;touch-action:none;cursor:crosshair;outline:none;border:1px solid #333}
.sv canvas{width:100%;height:100%;display:block}
.sv i{position:absolute;width:22px;height:22px;margin:-11px 0 0 -11px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1.5px #000,inset 0 0 0 1.5px #000;pointer-events:none}
.hue{position:relative;border-radius:8px;touch-action:none;cursor:ns-resize;align-self:stretch;min-height:200px;outline:none;border:1px solid #333;
  background:linear-gradient(to bottom,#f00 0%,#ff0 16.66%,#0f0 33.33%,#0ff 50%,#00f 66.66%,#f0f 83.33%,#f00 100%)}
.hue i{position:absolute;left:-5px;right:-5px;height:12px;margin-top:-6px;border:3px solid #fff;border-radius:6px;box-shadow:0 0 0 1.5px #000;pointer-events:none}
.sv:focus-visible,.hue:focus-visible{box-shadow:0 0 0 3px var(--acc)}
.pkside{display:grid;gap:10px;align-content:start}
.pkcmp{display:grid;grid-template-columns:1fr;max-width:150px;text-align:center;font-size:12px;color:var(--mut)}
.pkcmp div{height:52px;border:1px solid #555}#pkNew{border-radius:8px 8px 0 0;border-bottom:0}#pkCur{border-radius:0 0 8px 8px;cursor:pointer}
.pkhex{display:flex;align-items:center;gap:6px;font-weight:600}
.pkhex input{width:110px;background:#222230;color:var(--txt);border:1px solid #333;border-radius:6px;padding:8px;font:600 16px ui-monospace,monospace;text-transform:uppercase}
.pkhex input.bad{border-color:#e5484d}
.pkrow{display:grid;gap:4px}.pkrow small{color:var(--mut)}
.swatches button[data-r]{width:30px;height:30px;border-radius:6px;border:2px solid #555;padding:0}
@media (max-width:600px){.pkmain{grid-template-columns:1fr 38px}.pkside{grid-column:1/-1;grid-template-columns:auto 1fr;align-items:center}.pkcmp{grid-template-columns:auto 1fr 1fr auto;align-items:center;gap:4px;max-width:none}
  .pkcmp div{height:40px}#pkNew{border-radius:8px 0 0 8px;border:1px solid #555;border-right:0}#pkCur{border-radius:0 8px 8px 0}.swatches button[data-c]{width:38px;height:38px}}
.teebox{background:#16161f;border-radius:8px;padding:8px 10px}
.drop.small{padding:12px;margin:6px 0}
.teeview{position:relative;margin-top:8px}
.teeview canvas#teeCanvas{width:100%;display:block;border-radius:8px;touch-action:none;cursor:crosshair}
.loupe{position:absolute;width:132px;height:132px;border-radius:50%;border:3px solid #fff;box-shadow:0 4px 16px #000c;pointer-events:none;z-index:3}
/* paso 2: ajustes */
.edgroup{background:#101018;border-radius:8px;padding:10px;margin:8px 0}
.edthumbs{display:flex;gap:6px;overflow-x:auto;padding:4px 0}
.edthumbs button{position:relative;padding:0;border:2px solid transparent;border-radius:8px;background:#000;flex:none}
.edthumbs button.sel{border-color:var(--acc)}.edthumbs img{width:56px;height:56px;object-fit:cover;display:block;border-radius:6px}
.edthumbs i{position:absolute;right:2px;bottom:2px;background:var(--acc);border-radius:6px;font-size:11px;padding:0 4px;font-style:normal}
.tools label{background:#1f1f2b;border-radius:8px;padding:8px 12px;cursor:pointer}.tools label:has(input:checked){background:var(--acc);color:#fff}
.rng{flex:1;min-width:160px}.rng input{flex:1}.tolLbl input{width:120px}
.edview{position:relative;overflow:auto;max-height:70vh;border-radius:8px;margin:8px 0;border:1px solid #333}
.edview.checker{background:repeating-conic-gradient(#bbb 0 25%,#fff 0 50%) 0 0/20px 20px}.edview.black{background:#000}.edview.white{background:#fff}
.edview canvas{display:block;margin:auto}.edview.fit canvas{max-width:100%;max-height:68vh;width:auto;height:auto}
.edview.paint canvas{touch-action:none;cursor:none}
.edcursor{position:absolute;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000;pointer-events:none}
.autos label{display:flex;gap:8px;align-items:center}
.mockopts{margin-top:-4px;padding-left:24px}
.mthumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(60px,1fr));gap:4px}.mockrow .btn{padding:6px 8px;font-size:12px}
@media (max-width:600px){.row>label{flex-wrap:wrap}.row select{max-width:100%}}
/* v10 */
.edview{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.edview.grabbing{cursor:grabbing}
.edview canvas{max-width:none!important;max-height:none!important}
.hint{background:#2a2410;border-left:4px solid #e0b000;border-radius:8px;padding:8px 10px;margin:6px 0;color:#ffe9a8;font-size:14px}
.chip{display:inline-block;width:14px;height:14px;border-radius:3px;border:1px solid #888;vertical-align:-2px}
.placelist{list-style:none;padding:0;margin:10px 0;display:grid;gap:8px}
.placelist li{display:flex;gap:10px;align-items:flex-start;background:#1f1f2b;border-radius:8px;padding:8px;min-width:0}
.placelist img{width:64px;height:64px;object-fit:cover;border-radius:6px;background:#000;flex:none}
.placelist .pl{flex:1;min-width:0}.placelist .nm{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.placelist .row{margin:6px 0;gap:8px}.placelist .row>label{flex-wrap:wrap}
.teelist .tee{background:#101018;border-radius:8px;padding:8px;margin:8px 0;display:grid;gap:6px}
.teelist .mthumbs{display:grid;gap:6px;grid-template-columns:repeat(auto-fit,minmax(140px,260px))}.teelist figure{margin:0}.teelist figure img{width:100%;border-radius:6px;display:block}
.teelist figcaption{font-size:12px;color:var(--mut);text-align:center}
@media (max-width:600px){.placelist img{width:48px;height:48px}}
.spin{display:inline-block;width:1em;height:1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-2px}@keyframes spin{to{transform:rotate(360deg)}}
.busybtn{opacity:1!important;cursor:progress!important}button:disabled{cursor:not-allowed}body.isbusy button:disabled:not(.busybtn){opacity:.45}
.gbusy{position:fixed;left:0;right:0;top:0;z-index:50;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 14px 12px;background:rgba(10,10,20,.95);border-bottom:1px solid var(--acc);box-shadow:0 4px 18px rgba(0,0,0,.5)}
.gbusy #gCount{margin-left:auto;font-variant-numeric:tabular-nums;font-weight:700}.gbar{flex-basis:100%;height:6px;background:#000;border-radius:3px;overflow:hidden}#gBar{height:100%;width:0;background:var(--acc);transition:width .15s}
.phonedlg{max-width:420px;border-radius:14px;border:1px solid var(--acc);background:#111;color:inherit}.phonedlg::backdrop{background:rgba(0,0,0,.6)}
.sim{margin-top:14px;border-top:1px solid rgba(255,255,255,.12);padding-top:10px}.sim h3{margin:4px 0 8px;font-size:16px}
.simpick{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}.simpick button{padding:2px;border:2px solid transparent;border-radius:8px;background:none}.simpick button.sel{border-color:var(--acc)}.simpick img{width:56px;height:56px;object-fit:cover;border-radius:6px;display:block}
.simstage{position:relative;border-radius:12px;padding:14px;overflow:hidden;touch-action:pan-x pan-y pinch-zoom;max-height:75vh}.simstage.z100{overflow:auto;-webkit-overflow-scrolling:touch}
.simbox{position:relative;margin:auto;max-width:100%}.simstage.z100 .simbox{max-width:none}
.simbox img{position:absolute;inset:0;width:100%;height:100%;display:block;image-rendering:auto}.simafter{position:absolute;inset:0}
.simline{position:absolute;top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 6px #000;pointer-events:none}
.simloupe{position:absolute;width:180px;height:180px;border-radius:50%;border:3px solid #fff;box-shadow:0 4px 18px rgba(0,0,0,.6);pointer-events:none;background-repeat:no-repeat;image-rendering:pixelated;z-index:3}
.simsl{display:flex;align-items:center;gap:6px;flex:1;min-width:220px}.simsl input{flex:1}
.rmx{position:absolute;top:4px;right:4px;width:28px;height:28px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.7);color:#fff;font-size:14px;line-height:1;padding:0;cursor:pointer;z-index:2}
#queue li{position:relative}#results figure{position:relative}
.stopbtn{background:#c0283f;color:#fff;border:0;border-radius:8px;padding:6px 10px;font-weight:700}
.restartoffer{margin:10px 0;padding:10px;border:1px solid var(--acc);border-radius:10px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.eyedlg{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;padding:10px}
.eyebox{background:#141420;border:1px solid var(--acc);border-radius:14px;padding:12px;width:min(720px,100%);max-height:100%;overflow:auto;display:flex;flex-direction:column;gap:6px}
.eyewrap{position:relative;align-self:center;max-width:100%}#eyeCanvas{display:block;max-width:100%;max-height:52vh;touch-action:none;cursor:crosshair;border-radius:8px}
.eyeloupe{position:absolute;border-radius:50%;border:3px solid #fff;box-shadow:0 4px 16px #000;pointer-events:none;background:#000}
.eyechip{display:flex;align-items:center;gap:6px;border:2px solid transparent;border-radius:999px;padding:4px 10px;background:#222;color:inherit}.eyechip.sel{border-color:var(--acc)}.eyechip span{width:18px;height:18px;border-radius:50%;border:1px solid #fff}
.eyenow{width:26px;height:26px;border-radius:50%;border:2px solid #fff;display:inline-block}body.modal-open{overflow:hidden}.row.end{justify-content:flex-end}

/* pestañas + biblioteca */
.tabs{display:flex;gap:6px;justify-content:center;padding:8px 12px 0}.tabs button{border-radius:20px;padding:8px 18px}.tabs button.on{background:var(--acc);border-color:var(--acc);color:#fff;font-weight:600}
.libview{display:none;max-width:1200px;margin:auto;padding:12px}body.lib-mode .libview{display:block}body.lib-mode main,body.lib-mode #stepper,body.lib-mode>footer,body.lib-mode #vecView,body.lib-mode #subliView{display:none}
.libbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.libbar input[type=search]{flex:1 1 240px;background:#222230;color:var(--txt);border:1px solid #333;border-radius:8px;padding:10px;font:inherit}
.lchip{border-radius:16px;padding:6px 12px;font-size:13px;background:#1f1f2b;width:auto;height:auto;white-space:nowrap}.lchip.on{background:var(--acc);border-color:var(--acc);color:#fff}
.libtagbar{display:flex;gap:6px;overflow-x:auto;padding:8px 0;scrollbar-width:thin}
.libhead{display:flex;justify-content:space-between;margin:4px 0 8px}.libhead a,.libdlg a{color:var(--acc)}.libmsg{text-align:center;padding:30px}
.masonry{columns:2 160px;column-gap:10px}@media(min-width:700px){.masonry{columns:4 220px}}
.libcard{break-inside:avoid;margin:0 0 10px;background:var(--card);border-radius:12px;overflow:hidden;position:relative;display:inline-block;width:100%}
.libcard img{display:block;width:100%;height:auto;background:#222}.libinfo{padding:8px 10px}.libinfo b{display:block}.libinfo .row{margin:6px 0 0;gap:6px}
.libtags{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.libtags span{font-size:11px;color:var(--acc)}
.sw{display:inline-block;width:10px;height:10px;border-radius:50%;border:1px solid #888;vertical-align:-1px;margin-right:3px}
.libfav{position:absolute;top:6px;right:6px;border-radius:50%;width:36px;height:36px;padding:0;background:#000a;border-color:#0000;font-size:18px}.libfav.on{color:var(--acc)}
button.sm{padding:6px 10px;font-size:13px}
.libdlg{background:var(--card);color:var(--txt);border:1px solid #333;border-radius:14px;max-width:min(560px,94vw);padding:16px}.libdlg::backdrop{background:#000b}
.libdlg label.col{display:flex;flex-direction:column;gap:4px;margin:8px 0;font-size:13px}.libdlg input,.libdlg textarea{background:#222230;color:var(--txt);border:1px solid #333;border-radius:6px;padding:8px;font:inherit}
.terms{max-height:45vh;overflow:auto;font-size:14px}.pubdlg{max-width:min(860px,96vw)}.pubgrid{display:grid;gap:12px;grid-template-columns:1fr}@media(min-width:700px){.pubgrid{grid-template-columns:1fr 1fr}}
#pubCanvas{width:100%;height:auto;border-radius:10px}.warn{color:#ffb84d;font-size:13px}
.pubb{display:block;width:100%;margin-top:6px;padding:6px;font-size:13px;background:#2a1830;border-color:var(--acc)}
.libtoast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:#222;border:1px solid var(--acc);border-radius:10px;padding:10px 16px;z-index:50}
.legend{background:#2a1830;border:1px solid var(--acc);border-radius:8px;padding:8px 10px;font-size:13px;margin:8px 0}

/* ---- pulido visual: las imágenes son las protagonistas (solo transform/opacity: liviano en celus) ---- */
:root{--grad:linear-gradient(135deg,#ff2fa0,#8a3cff 55%,#2fd1ff)}
#queue.queue{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
#queue li{flex-direction:column;align-items:stretch;gap:6px;padding:6px;border:2px solid transparent;border-radius:14px;background:linear-gradient(#1b1b26,#1b1b26) padding-box,var(--grad) border-box}
#queue li.enter{animation:qin .38s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--d,0ms)}
@keyframes qin{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
#queue .qimg{position:relative;overflow:hidden;border-radius:10px;aspect-ratio:1;background:#000}
#queue .qimg img,#queue .qimg .ph{width:100%;height:100%;object-fit:contain;border-radius:0;display:block}
#queue .nm{white-space:normal;font-size:13px;word-break:break-all}
#queue li.qs-run .qimg::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,#ffffff2e 50%,transparent 70%);transform:translateX(-100%);animation:shim 1.3s linear infinite}
@keyframes shim{to{transform:translateX(100%)}}
#queue li.qs-ok{box-shadow:0 0 0 1px #2bb67366,0 0 18px #2bb67355;background:linear-gradient(#1b1b26,#1b1b26) padding-box,linear-gradient(135deg,#2bb673,#2fd1ff) border-box}
#queue li.qs-error{background:linear-gradient(#1b1b26,#1b1b26) padding-box,linear-gradient(135deg,#ff6b6b,#b22222) border-box}
.okb{position:absolute;left:6px;bottom:6px;background:#2bb673;color:#04170d;font-weight:700;font-size:12px;padding:3px 8px;border-radius:12px;box-shadow:0 0 12px #2bb673aa;animation:qin .35s ease both}
#queue .rmx{position:absolute;top:10px;right:10px;z-index:2}
#results figure{border:2px solid transparent;border-radius:14px;background:linear-gradient(#1b1b26,#1b1b26) padding-box,linear-gradient(135deg,#2bb673,#2fd1ff) border-box;box-shadow:0 0 16px #2bb67333;animation:qin .35s ease both}
#results figure.sel{box-shadow:0 0 0 2px var(--acc),0 0 20px #ff2fa055}
.drop{background:radial-gradient(ellipse at top,#ff2fa014,transparent 70%);transition:border-color .2s,background .2s}.drop:hover,.drop.over{border-color:var(--acc);background:radial-gradient(ellipse at top,#ff2fa030,transparent 70%)}
h1{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}h1 span{-webkit-text-fill-color:var(--mut)}
@media (prefers-reduced-motion:reduce){#queue li.enter,.okb,#results figure{animation:none}#queue li.qs-run .qimg::after{animation:none;opacity:.4;transform:none}}
.shirtsum{width:100%;text-align:left;margin:6px 0}.shirtsum .sw{width:14px;height:14px}#shirtSlot2 .shirtbox{margin-bottom:12px}.viewer.shirt{background-image:none}
.edthumbs{display:block;background:#1f1f2b;border-radius:12px;padding:8px 10px;margin:8px 0}.simpick{display:block}
.imgnav{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:6px}.nofm{background:var(--acc);color:#fff;font-weight:700;border-radius:12px;padding:2px 10px;font-size:13px}
.navrow{display:flex;align-items:center;gap:6px}.edstrip{display:flex;gap:6px;overflow-x:auto;flex:1;padding:2px;scrollbar-width:thin}
.navarrow{flex:none;padding:10px 12px;font-size:16px}.navarrow:disabled{opacity:.3}
.edstrip button{position:relative;padding:0;border:2px solid transparent;border-radius:8px;background:#000;flex:none}.edstrip button.sel{border-color:var(--acc);box-shadow:0 0 10px #ff2fa066}.edstrip img{width:56px;height:56px;object-fit:cover;display:block;border-radius:6px}
.txopen{width:100%;margin:8px 0}.txprev{width:100%;height:auto;border-radius:10px;background:repeating-conic-gradient(#2a2a35 0 25%,#1f1f2b 0 50%) 0 0/24px 24px}
.txtpls{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px}.txtpls button{display:flex;flex-direction:column;align-items:flex-start;padding:8px;text-align:left}.txtpls button small{color:var(--mut);font-size:11px}.txtpls button.sel{border-color:var(--acc);background:#2a1830}
.dsopts{display:grid;gap:8px;grid-template-columns:1fr 1fr;margin:10px 0}.dsopts button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px}.dsopts small{font-weight:400;opacity:.85;font-size:12px}
#dsSw{display:flex;flex-wrap:wrap;gap:6px}#dsSw button{width:34px;height:34px;border-radius:50%;padding:0;border:2px solid #444}#dsSw button.sel{border-color:var(--acc);box-shadow:0 0 0 2px var(--acc)}
.tsw{position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 3px #000}.queue .nm .sw{width:12px;height:12px;margin-right:5px}
@media(max-width:500px){.dsopts{grid-template-columns:1fr}}

.simrec .rec{display:flex;flex-direction:column;gap:3px;background:linear-gradient(135deg,#2bb67322,#2fd1ff22);border:1px solid #2bb673;border-radius:10px;padding:10px;margin:8px 0}.simrec .rec span{font-size:13px;color:#cfd}
.recwarn{background:#3a2a10;border:1px solid #ffb84d;border-radius:10px;padding:10px;font-size:13px;margin:6px 0}
.simh{margin:10px 0 6px;font-size:15px}.simcmp{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.cmp{margin:0;background:#1b1b26;border:2px solid #333;border-radius:12px;overflow:hidden}.cmp.on{border-color:var(--acc);box-shadow:0 0 14px #ff2fa055}.cmp canvas{width:100%;height:auto;display:block;aspect-ratio:1;object-fit:cover}
.cmp figcaption{padding:6px 8px;display:flex;flex-direction:column;gap:4px;font-size:13px}.star{color:#ffd54d;font-weight:700}
.htpanel{background:#1b1b26;border-radius:12px;padding:10px;margin-top:10px}.htgrid{display:grid;gap:12px;grid-template-columns:1fr}@media(min-width:800px){.htgrid{grid-template-columns:1.1fr 1fr}}
.htview canvas{width:100%;height:auto;border-radius:10px;display:block}.htov{position:relative;display:inline-block;margin-top:6px;cursor:crosshair}.htov img{height:90px;display:block;border-radius:6px}
.htov i{position:absolute;width:28%;aspect-ratio:1;border:2px solid var(--acc);transform:translate(-50%,-50%);border-radius:4px;pointer-events:none}
.htctl{display:flex;flex-direction:column;gap:8px}.htctl label{display:flex;flex-direction:column;font-size:13px;gap:3px}.htctl output{color:var(--acc);font-weight:600}
.pulse{animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{box-shadow:0 0 0 6px #ff2fa044}}
.pubend{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line,#3334)}

.hkbox{margin:10px 0;padding:10px;border:1px dashed #6b4b8a;border-radius:10px}
.hkdlg{max-width:min(760px,96vw);width:96vw;background:#15151f;color:inherit;border:1px solid #3a3550;border-radius:14px;padding:14px}
.hkdlg::backdrop{background:#000a}.hkwrap{display:flex;justify-content:center;background:#0b0b10;border-radius:10px;overflow:hidden}
#hkCanvas{max-width:100%;max-height:56vh;touch-action:none;cursor:crosshair}
.hkchips{display:flex;flex-direction:column;gap:8px;margin:8px 0}.hkchip{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;background:#1f1d2b;border-radius:10px;padding:8px}
.hkchip .sw{width:28px;height:28px;border-radius:8px;border:2px solid #fff6}.hkchip label{font-size:13px}.hkchip input[type=range]{width:100%}
.hkaj{border:2px solid #22d3ee;background:#0f1c22;margin:10px 0}.hkaj>b{font-size:16px;display:block;margin-bottom:4px}.hkon{font-weight:600;color:#67e8f9}
.hkover{position:absolute;pointer-events:none;left:0;top:0}.edview.hkpick canvas#edCanvas{cursor:crosshair}
.edview.docked{border:2px solid #22d3ee;margin-top:6px}@media(max-width:700px){.hkaj .hkchips{max-height:30vh;overflow:auto}.edview.docked.fit canvas{max-height:52vh}}
.hkaj{scroll-margin-top:84px}

/* Solo negro y blanco para clientes (colores detrás de "Colores (beta)" del admin) */
body.bwonly #picker .pkmain,body.bwonly #recentRow,body.bwonly #teeBox,body.bwonly #hkAj,body.bwonly .hkbox,body.bwonly #bgWarn,body.bwonly .recwarn{display:none!important}
body.bwonly #swatches button:not([data-c="#000000"]):not([data-c="#f5f5f2"]){display:none}
body.bwonly #swatches button{width:44px;height:44px}
body:not(.bwonly) .bwnote{display:none}.betatog{display:block;margin:6px 0;font-weight:600;color:#fbbf24}
.shirtsum.ro{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 10px;background:#1b1b26;border-radius:10px;margin:8px 0}.shirtsum .sw{display:inline-block;width:18px;height:18px;border-radius:5px;border:1px solid #fff6}

.histbox{margin:.6rem 0}.histbox summary{cursor:pointer;font-weight:600}#histList{display:grid;gap:.4rem;margin-top:.4rem}.histit{display:grid;grid-template-columns:56px 1fr auto auto;gap:.5rem;align-items:center;padding:.35rem;border:1px solid #ffffff1a;border-radius:10px}.histit img{width:56px;height:56px;object-fit:cover;border-radius:6px;background:#000}.histit span{display:block;font-size:.8rem}.histit b{word-break:break-all}
.histalert{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;background:#4a2a00;color:#ffd98a;border:1px solid #c98a00;border-radius:12px;padding:.6rem .8rem;margin:.6rem}.histalert span{flex:1 1 220px;font-weight:600}.histit .hexp{color:#9fd3a8}.histit.soon{border-color:#ff9d2f;background:#ff9d2f14}.histit.soon .hexp{color:#ffb35c;font-weight:700}
.libauth{font-size:.82rem;color:#b9b9c8}.linkbtn{background:none;border:0;color:#ff5fb8;padding:0;cursor:pointer;text-decoration:underline;font:inherit}.libauthor{margin:.3rem 0}.libprof{gap:.5rem;align-items:end;margin:.4rem 0}.libprof input{min-width:200px}.histit{grid-template-columns:56px 1fr auto auto auto}
@media (max-width:560px){.histit{grid-template-columns:56px repeat(3,1fr)}.histit>div{grid-column:2/5}.histit>a{grid-column:2}.histit>a,.histit>button{text-align:center;white-space:nowrap;padding:.45rem .3rem}}
.liklike.on{background:#ff2fa033;border-color:#ff5fb8;color:#fff}.librank{position:absolute;left:.5rem;top:.5rem;background:#000c;color:#ffd98a;font-weight:700;font-size:.8rem;padding:.2rem .5rem;border-radius:999px}
.libpacks{display:flex;gap:.6rem;overflow-x:auto;padding:.3rem 0 .6rem;scroll-snap-type:x mandatory}.packban{flex:0 0 min(320px,82vw);scroll-snap-align:start;display:flex;gap:.6rem;align-items:center;text-align:left;border:1px solid var(--pc);border-radius:14px;padding:.5rem;color:#fff;cursor:pointer;background:linear-gradient(120deg,color-mix(in srgb,var(--pc) 55%,#000),#0b0b10)}.packban.on{outline:2px solid #fff}.packban img{width:64px;height:64px;object-fit:cover;border-radius:10px}.packban b{display:block;font-size:1.05rem}.packban small{color:#e6e6f0cc}
.colllist{display:grid;gap:.3rem;max-height:50vh;overflow:auto;margin:.4rem 0}.collrow{display:flex;gap:.5rem;align-items:center;padding:.45rem .5rem;border:1px solid #ffffff1a;border-radius:10px;cursor:pointer}.colldlg input#collNew{flex:1;min-width:0}#libColl{max-width:240px}
.reqbox{border:1px solid #ffffff1f;border-radius:14px;padding:.7rem;margin:.5rem 0;background:#ffffff06}.reqbox h3{margin:.1rem 0 .2rem}.reqform{display:flex;flex-wrap:wrap;gap:.4rem}.reqform input{flex:1 1 220px;min-width:0}.reqlist{display:grid;gap:.45rem;margin-top:.5rem}.reqit{display:grid;gap:.35rem;border:1px solid #ffffff1a;border-radius:10px;padding:.5rem .6rem}.reqit p{margin:.15rem 0;color:#d6d6e2}.reqit.resuelto{opacity:.8}.pubreq{display:flex;gap:.5rem;align-items:center;background:#2fd1ff1a;border:1px solid #2fd1ff66;border-radius:10px;padding:.35rem .6rem}
.reqit small{display:block}
.badge-a{display:inline-block;margin-left:.3rem;padding:.05rem .4rem;border-radius:999px;font-size:.72rem;font-weight:700;vertical-align:middle}.badge-a.pro{background:#8a3cff33;color:#d9c2ff;border:1px solid #8a3cff88}.badge-a.top{background:#ffb30026;color:#ffd166;border:1px solid #ffb30088}
.bwnote .soon{display:inline-block;margin-left:.3rem;padding:.05rem .5rem;border-radius:999px;background:#2fd1ff1f;border:1px solid #2fd1ff66;color:#bfefff;font-weight:600;font-size:.82rem}
.dlbox{display:grid;gap:.5rem;margin:.9rem 0 .4rem;padding:.7rem;border:1px solid #ff2fa055;border-radius:14px;background:#ff2fa00d}.dlbox .row{margin:0}
.runbox{margin-top:10px;padding-top:10px;border-top:1px solid #ffffff14}

/* planes */
.planbtn{margin-left:auto;white-space:nowrap}
.plandlg{max-width:min(980px,96vw)}.plansoon{background:#2a2410;border:1px solid #6b5a1a;color:#ffd970;border-radius:10px;padding:8px 10px;font-size:14px}
.planlist{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 0}
.plancard{position:relative;border:1px solid #333;border-radius:12px;padding:12px;display:flex;flex-direction:column;background:#1b1b26}
.plancard.best{border-color:var(--acc)}.plancard h3{margin:0 0 6px;font-size:15px}.planbadge{position:absolute;top:-9px;right:10px;background:var(--acc);color:#000;font-size:11px;font-weight:700;border-radius:8px;padding:1px 7px}
.planprice{font-size:22px;font-weight:800}.planprice small{font-size:12px;font-weight:400;opacity:.8}.planars{font-size:12px}
.plancard ul{margin:8px 0 10px;padding-left:18px;font-size:13px;flex:1}.plancard .btn{width:100%}.planfine{font-size:11px}
@media (max-width:760px){.planlist{grid-template-columns:1fr 1fr}}@media (max-width:420px){.planlist{grid-template-columns:1fr}.plancard ul{margin:6px 0 8px}}

/* login propio */
body.locked{overflow:hidden}.loginbox{position:fixed;inset:0;z-index:1000;background:#0d0d14f2;display:flex;align-items:center;justify-content:center;padding:16px}
.logincard{background:var(--card);border:1px solid #333;border-radius:16px;padding:22px;width:min(420px,100%);text-align:center;display:flex;flex-direction:column;gap:10px}
.logincard h2{margin:4px 0}.logincard form{display:flex;flex-direction:column;gap:10px}.logincard input{background:#222230;color:var(--txt);border:1px solid #444;border-radius:8px;padding:12px;font:inherit;font-size:17px;text-align:center}
#lgCode{letter-spacing:8px;font-size:24px}.logincard a{color:var(--acc)}.lgmsg{min-height:1.2em;color:#ffd970}.lgfine{font-size:12px}
.logincard>img{align-self:center;border-radius:12px}

.planhave{margin:10px 0 0;font-weight:700;color:#16a34a;text-align:center}

/* vectorizar (SVG) */
.vecbox summary{cursor:pointer}
.vecnote{margin:8px 0}
.vecslider{display:flex;align-items:center;gap:8px;flex:1}
.vecslider input{flex:1;min-width:120px}
.vecprev{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.vecprev figure{margin:0;background:repeating-conic-gradient(#ddd 0 25%,#fff 0 50%) 0 0/16px 16px;border-radius:8px;overflow:hidden;text-align:center}
.vecprev img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain}
.vecprev figcaption{background:#111;color:#fff;font-size:13px;padding:4px}
@media (max-width:560px){.vecprev{grid-template-columns:1fr}}

.htstyle select{max-width:100%}
.htstyle small{display:block;margin-top:4px}
.veclock{margin:10px 0;padding:14px;border:1px dashed var(--acc,#e91e8c);border-radius:10px;text-align:center}.veclock p{margin:0 0 10px}
/* ===== espacio de trabajo: panel de controles + escenario de imagen ===== */
body.ws-on main.ws{max-width:none;padding:0;display:block}
.ws-panel{container-type:inline-size;display:grid;gap:12px;align-content:start}
.ws-panel>*{min-width:0}
.ws-phead{display:none}
.ws-stage{background:#07070b;border:1px solid #222;border-radius:12px;overflow:auto;padding:12px;min-height:0}
.ws-slot{display:grid;gap:12px}
.ws-src{margin:0;text-align:center}.ws-src img{max-width:100%;max-height:calc(100vh - 170px);object-fit:contain;background:repeating-conic-gradient(#1c1c24 0 25%,#13131a 0 50%) 0 0/20px 20px;border-radius:8px}
.ws-src figcaption{color:#aaa;font-size:13px;margin-top:6px}
.ws-empty{color:#888;text-align:center;margin:20vh 0}
.ws-stage .viewer{max-height:none}
.ws-toggle,.ws-fab,.ws-shade{display:none}
@media (min-width:1024px){
  body.ws-on main.ws{display:grid;grid-template-columns:340px 22px minmax(0,1fr);gap:0 8px;padding:10px 12px;align-items:start}
  .ws-panel{position:sticky;top:58px;max-height:calc(100vh - 68px);overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin}
  .ws-stage{position:sticky;top:58px;height:calc(100vh - 68px)}
  .ws-toggle{display:block;position:sticky;top:50vh;height:64px;width:22px;padding:0;border-radius:8px;background:#1b1b26;border:1px solid #333;color:#ddd;cursor:pointer;font-size:12px}
  body.ws-collapsed main.ws{grid-template-columns:0 22px minmax(0,1fr)}
  body.ws-collapsed .ws-panel{visibility:hidden;overflow:hidden;width:0}
}
@container (max-width:600px){
  .help{grid-template-columns:1fr}.help img{grid-row:auto;max-width:260px}
  .pkmain{grid-template-columns:1fr 38px}.pkside{grid-column:1/-1;grid-template-columns:auto 1fr;align-items:center}.pkcmp{grid-template-columns:auto 1fr 1fr auto;align-items:center;gap:4px;max-width:none}
  .row>label{flex-wrap:wrap}.row select{max-width:100%}.placelist img{width:48px;height:48px}.vecprev{grid-template-columns:1fr}.dsopts{grid-template-columns:1fr}
}
@media (max-width:1023.98px){
  body.ws-on main.ws{padding:0}
  .ws-stage{border-radius:0;border:0;min-height:calc(100dvh - 120px);padding:8px}
  .ws-src img{max-height:calc(100dvh - 160px)}
  .ws-panel{position:fixed;z-index:40;top:0;right:0;bottom:0;width:min(92vw,520px);background:#0e0e15;border-left:1px solid #333;box-shadow:-8px 0 30px #000c;overflow-y:auto;overscroll-behavior:contain;padding:0 10px calc(90px + env(safe-area-inset-bottom));transform:translateX(105%);transition:transform .22s ease;visibility:hidden}
  body.ws-open .ws-panel{transform:none;visibility:visible}
  .ws-phead{display:flex;position:sticky;top:0;z-index:3;justify-content:space-between;align-items:center;padding:10px 2px;background:#0e0e15;border-bottom:1px solid #222;margin:0 -2px}
  .ws-close{font-size:18px;padding:6px 12px}
  .ws-shade{display:block;position:fixed;inset:0;z-index:39;background:#0008;opacity:0;pointer-events:none;transition:opacity .2s}
  body.ws-open .ws-shade{opacity:1;pointer-events:auto}
  .ws-fab{display:flex;align-items:center;gap:4px;position:fixed;z-index:38;right:calc(16px + env(safe-area-inset-right));bottom:calc(84px + env(safe-area-inset-bottom));padding:12px 14px;border-radius:999px;border:0;background:var(--acc,#e91e8c);color:#fff;font-size:22px;box-shadow:0 6px 20px #000a}
  .ws-fab b{font-size:14px;background:#fff;color:#000;border-radius:999px;min-width:22px;height:22px;display:grid;place-items:center}
  body.ws-open .ws-fab{display:none}
  body.lib-mode .ws-fab,body.lib-mode .ws-shade{display:none}
}
/* acordeón del panel */
.ws-panel section.step:not(.ws-opened)>:not(.stephead):not(#runBox){display:none!important}
.ws-panel section.step:not(.ws-opened){padding-bottom:10px}
.ws-acch{cursor:pointer;user-select:none;position:relative;padding-right:28px}
.ws-acch::after{content:'▸';position:absolute;right:6px;top:50%;transform:translateY(-50%);color:#aaa;transition:transform .15s}
section.step.ws-opened>.ws-acch::after{transform:translateY(-50%) rotate(90deg)}
.ws-panel select{max-width:100%}
body.lib-mode main.ws,body.lib-mode .ws-panel,body.lib-mode .ws-fab,body.lib-mode .ws-shade{display:none!important}
@media (max-width:1023.98px){.ws-panel,.ws-shade{top:var(--ws-top,0px)}}
.ws-panel{overflow-x:hidden}
.htstyle label,.htdots label{display:grid;gap:4px;min-width:0}.htstyle select{width:100%;max-width:100%;min-width:0;text-overflow:ellipsis}
/* anuncios con premio */
.adsbox{margin-top:10px;padding:12px;border:1px dashed #e91e8c88;border-radius:10px;background:#1a0f18;display:grid;gap:6px}
.adsbox p{margin:0}.adsprog{display:flex;gap:6px}.adsprog i{width:28px;height:8px;border-radius:4px;background:#333}.adsprog i.on{background:var(--acc,#e91e8c)}
#adsInfo.bad{color:#ff7a7a}
.adsconsent{position:fixed;z-index:60;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:720px;margin:auto;background:#14141c;border:1px solid #444;border-radius:12px;padding:12px 14px;box-shadow:0 10px 30px #000c}
.adsconsent p{margin:0 0 8px}.adsconsent .row{flex-wrap:wrap;gap:8px}
.adsready{position:fixed;inset:0;z-index:61;background:#000a;display:grid;place-items:center}.adsready>div{background:#14141c;border:1px solid #444;border-radius:12px;padding:16px;max-width:360px}
.adsready[hidden],.adsconsent[hidden]{display:none}
/* escenario: una sola imagen grande (paso 2 retoque, paso 4 en vivo, paso 5 vista final) */
.ws-live{margin:0;display:grid;gap:6px;justify-items:center}
.ws-live canvas{display:block;max-width:100%;max-height:calc(100vh - 150px);width:auto;height:auto;border-radius:8px;image-rendering:auto}
.ws-live figcaption{color:#aaa;font-size:13px;text-align:center}
.ws-stage .edview{max-height:none;margin:0}.ws-stage .edview.fit canvas{max-height:calc(100vh - 140px)}
.ws-legal{font-size:13px;text-align:center;margin:4px 0 8px}.ws-legal a{color:var(--acc,#e91e8c)}
.lglegal{text-align:center;font-size:13px;margin:6px 0 0}.lglegal a{color:var(--acc,#e91e8c)}
@media (max-width:1023.98px){.ws-live canvas{max-height:calc(100dvh - 170px)}.ws-stage .edview.fit canvas{max-height:calc(100dvh - 160px)}}
.updbar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:9999;background:#1c1c24;color:#fff;border:1px solid var(--acc,#e91e8c);border-radius:12px;padding:10px 14px;display:flex;gap:10px;align-items:center;box-shadow:0 6px 24px #0008;font-size:14px;max-width:calc(100vw - 24px)}
.updbar button{padding:6px 12px}
.lgabout{font-size:14px;line-height:1.45;color:#c9c9d6;margin:4px 0 10px;text-align:center}
.sellbox{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0 4px;padding:8px;border:1px dashed #3a3a48;border-radius:10px}.sellbox select{max-width:100%}
.aiprog{display:grid;gap:4px;margin:6px 0;font-size:13px;color:#c9c9d6}.aiprog progress{width:100%;height:10px;accent-color:var(--acc,#e91e8c)}
@media (max-width:760px){#txDlg .txprev{position:sticky;top:-14px;z-index:3;max-height:30vh;width:auto;max-width:100%;margin:0 auto;display:block;box-shadow:0 6px 16px #000a}#txDlg .pubgrid{display:block}}
.refbox{margin:12px 0 4px;padding:12px;border:1px solid #2f6b4a;background:#0f241a;border-radius:12px}.refbox h3{margin:0 0 6px;font-size:16px}
.reflink{display:flex;gap:6px;flex-wrap:wrap}.reflink input{flex:1 1 220px;min-width:0;font-size:14px}.refbox p{margin:6px 0}
.adsstate{margin:6px 0;color:#8ff0bd;font-size:13px}
/* v65: tipo de semitono en tarjetas (Semitono completo en dorado), grupos del paso 4, ↶ ↷ + zoom del escenario, medidas guardadas */
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.grph{font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#9aa;margin:14px 0 6px;border-top:1px solid #2a2a33;padding-top:10px}
.htchips{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 8px}
.htchip{display:grid;gap:3px;text-align:left;padding:10px 12px;border-radius:10px;border:1.5px solid #3a3a46;background:#15151c;color:inherit;cursor:pointer;font:inherit}
.htchip b{font-size:15px}.htchip small{color:#aab;font-size:12px;line-height:1.3}
.htchip.on{border-color:var(--acc,#e91e8c);background:#241522;box-shadow:0 0 0 1px var(--acc,#e91e8c) inset}
.htchip.gold{border-color:#b8902f;background:linear-gradient(135deg,#2a2210,#1a160c)}.htchip.gold b{color:#f5c84c}
.htchip.gold.on{border-color:#f5c84c;background:linear-gradient(135deg,#4a3a10,#2a200a);box-shadow:0 0 0 1px #f5c84c inset,0 0 14px #f5c84c55}
.htchip.gold.on small{color:#f3e2b0}
.httag{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:linear-gradient(135deg,#f5c84c,#c9952a);color:#231a00;font-size:12px;font-weight:700;vertical-align:middle}
body.ht-completo .htdots{border:1px solid #b8902f;border-radius:10px;padding:8px 10px;background:#1d180b}
body.ht-completo .ws-live figcaption::before{content:'★ Semitono full · ';color:#f5c84c;font-weight:700}
body.ht-completo .ws-live canvas{box-shadow:0 0 0 2px #f5c84c}
@media (max-width:520px){.htchips{grid-template-columns:1fr}}
.wstools{position:sticky;top:0;z-index:6;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:-4px 0 6px;pointer-events:none}
.wsgrp{display:inline-flex;align-items:center;gap:2px;background:#16161dcc;border:1px solid #333;border-radius:999px;padding:3px;pointer-events:auto;backdrop-filter:blur(6px)}
.wsgrp button{min-width:36px;height:34px;border:0;border-radius:999px;background:transparent;color:#eee;font-size:18px;cursor:pointer;padding:0 8px}
.wsgrp button:hover:not(:disabled){background:#2a2a35}.wsgrp button:disabled{opacity:.35;cursor:default}
.wszp{min-width:52px;text-align:center;font-size:13px;color:#ddd;font-variant-numeric:tabular-nums}
.wstoast{position:absolute;right:8px;top:44px;background:#000d;color:#fff;border-radius:8px;padding:6px 10px;font-size:13px;pointer-events:none}
.ws-phead .phgrp{margin-left:auto;margin-right:6px;background:none;border:0}.ws-phead .phgrp button{font-size:16px;min-width:32px;height:30px}
.zbox{display:inline-block;position:relative;overflow:hidden;max-width:100%;vertical-align:top;touch-action:none;border-radius:8px;line-height:0;cursor:zoom-in;-webkit-user-select:none;user-select:none}
.zbox.zoomed{cursor:grab}.zbox.zoomed:active{cursor:grabbing}.zbox>img,.zbox>canvas{will-change:transform}
.ws-stage .viewer{touch-action:none;overflow:hidden;text-align:center}.ws-stage .viewer .zbox{margin:auto;display:block;width:fit-content}
.sizebox{border:1px solid #2f2f3a;border-radius:10px;padding:8px 10px;margin:8px 0;background:#121218}
.szchips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.szchip{display:inline-flex;border:1px solid #3a3a46;border-radius:999px;overflow:hidden}
.szchip button{border:0;background:#1c1c25;color:inherit;padding:5px 10px;cursor:pointer;font:inherit;font-size:13px}.szchip .szdel{padding:5px 8px;color:#f88;border-left:1px solid #333}
.szchip button:hover{background:#2a2a36}.szsave{font-size:13px}
@media (max-width:1023.98px){.wstools{justify-content:flex-start}.wsgrp button{min-width:40px;height:38px}}
.sizebox input{background:#0e0e15;color:inherit;border:1px solid #3a3a46;border-radius:8px;padding:8px 10px;font:inherit;min-width:0}.sizebox input::placeholder{color:#778}
/* v67: interruptor "Sacar negro" + arreglos chicos */
.nbrow{gap:8px;margin:6px 0}.nbsw b{color:#f5c84c}.nbauto{color:#bba;font-size:12px;flex-basis:100%}.nbauto.manual{color:#f5c84c}.nbreset{font-size:12px;padding:4px 10px}
.edgebox>.row:first-child{flex-wrap:nowrap}.edgebox>.row:first-child>label{flex-wrap:wrap;min-width:0}.edgebox>.row:first-child select{max-width:100%;min-width:0}.edgebox>.row:first-child .info{flex:0 0 34px}
@media (min-width:1024px){body.ws-on.ws-pc>footer{display:none}.ws-panel .ws-foot{font-size:11px;line-height:1.4;margin:8px 0 4px;color:var(--mut)}}
@media (max-width:1023.98px){.ws-panel .ws-foot{display:none}}
.nbsw{display:inline-flex!important;align-items:center;gap:10px;cursor:pointer;margin:4px 0!important}
.nbsw input{-webkit-appearance:none;appearance:none;width:44px!important;height:26px;min-width:44px;border-radius:999px;background:#444;border:1px solid #666;position:relative;margin:0;padding:0;cursor:pointer;transition:background .15s}
.nbsw input::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s}
.nbsw input:checked{background:#c9952a;border-color:#f5c84c}.nbsw input:checked::after{left:21px}
.nbsw input:focus-visible{outline:2px solid #f5c84c;outline-offset:2px}

/* v68: caja única de Descargas (paso 5) */
.dlbox h3{margin:0;font-size:17px}.dlbox>#outInfo{font-size:12px}
.dlitems{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.dli{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;background:#14141d;border:1px solid #2a2a3a;border-radius:10px;padding:8px 10px}
.dli.dlwide{display:grid;justify-content:stretch}.dli.dlnote{background:none;border:0;padding:0 4px}.dli.dlnote:has(#psdInfo:empty){display:none}
.dlt{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 150px}.dlt b{font-size:14px;display:flex;align-items:center;gap:6px}.dlt small{font-size:12px;line-height:1.3}
.dla{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.dla .btn{padding:7px 12px;font-size:13px;min-height:36px}
.dlwarn{color:#ffcf6a}.dli.off{opacity:.55}.dli .lk{color:#f5c84c;font-size:12px;white-space:nowrap}
.dli .info{width:22px;height:22px;font-size:12px;flex:none}
.dli details>summary{cursor:pointer;list-style-position:inside}.dli .vecbox,.dli .sheetbox{margin:0}.dli .sheetbox summary{font-size:14px}
.sellopts{gap:6px}.sellopts select{flex:1 1 130px;min-width:0}
.teelist{display:grid;gap:6px}.teelist .tee{margin:0}.teelist .mthumbs{grid-template-columns:repeat(auto-fit,minmax(110px,200px))}
.zipmenu{border:1px dashed #ff2fa077;border-radius:10px;padding:6px 10px;background:#0f0f16}.zipmenu summary{cursor:pointer;padding:4px 0}
.zipchecks{display:grid;grid-template-columns:1fr;gap:2px;margin:6px 0}
.zipchecks label{display:flex;align-items:center;gap:8px;font-size:14px;padding:5px 2px;min-height:34px}.zipchecks input{width:18px;height:18px;flex:none;accent-color:var(--acc)}
.zipchecks label.locked{opacity:.6}.zipchecks .lk{color:#f5c84c;font-size:12px;margin-left:auto;white-space:nowrap}
.zcall{gap:6px;align-items:center}.zcall .btn{padding:5px 10px;font-size:12px;min-height:30px}
.dli.lockd::before{content:attr(data-lock);justify-self:end;color:#f5c84c;font-size:12px;margin-bottom:-2px;pointer-events:none}
.svgquick small{flex:1 1 140px}
.htsat{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:6px 8px;margin-top:6px}.htsat small{grid-column:1/-1}.htsat input{width:100%}
/* v71: ✦ Premium colores vivos (tarjeta propia, degradé vivo) */
.htchip.vivid{grid-column:1/-1;border-color:#7a3cff;background:linear-gradient(135deg,#1c1030,#0e1f1a)}.htchip.vivid b{background:linear-gradient(90deg,#39ff6a,#2fd1ff,#ff2fa0);-webkit-background-clip:text;background-clip:text;color:transparent}
.htchip.vivid.on{border-color:transparent;background:linear-gradient(#150f22,#0f1a18) padding-box,linear-gradient(120deg,#39ff6a,#2fd1ff,#8a3cff,#ff2fa0) border-box;box-shadow:0 0 16px #39ff6a44,0 0 22px #ff2fa033}.htchip.vivid.on small{color:#d9f7e6}
.httag.vivid{background:linear-gradient(120deg,#39ff6a,#2fd1ff,#ff2fa0);color:#0b0b10}
body.ht-vivos .htdots{border:1.5px solid #7a3cff;border-radius:10px;padding:8px 10px;background:#120f1d}
body.ht-vivos .ws-live figcaption::before{content:'✦ Colores vivos · ';color:#39ff6a;font-weight:700}
body.ht-vivos .ws-live canvas{box-shadow:0 0 0 2px #39ff6a,0 0 0 4px #ff2fa055}

/* --- pestañas Vectorizar / Sublimación --- */
body.vec-mode main.ws,body.vec-mode main,body.vec-mode #stepper,body.vec-mode>footer,body.vec-mode #libView,body.vec-mode #subliView,body.vec-mode .ws-panel,body.vec-mode .ws-fab,body.vec-mode .ws-shade{display:none!important}
body.subli-mode main.ws,body.subli-mode main,body.subli-mode #stepper,body.subli-mode>footer,body.subli-mode #libView,body.subli-mode #vecView,body.subli-mode .ws-panel,body.subli-mode .ws-fab,body.subli-mode .ws-shade{display:none!important}
body.vec-mode #vecView,body.subli-mode #subliView{display:block!important}
.tabview{max-width:960px;margin:auto;padding:12px}
.tabs{flex-wrap:wrap}
.vxdrop{border:2px dashed var(--bd,#333);border-radius:12px;padding:22px;text-align:center;cursor:pointer;margin:12px 0;background:rgba(255,255,255,.03)}
.vxdrop.over{border-color:var(--acc);background:rgba(100,140,255,.08)}
.vecprev{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.vecprev figure{margin:0;background:#111;border-radius:10px;overflow:hidden;text-align:center}
.vecprev img,.vecprev canvas{max-width:100%;height:auto;display:block;margin:auto}
.vecprev figcaption{font-size:.8rem;color:#aaa;padding:4px}
.subcats{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;margin:12px 0}
.subcat{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px;border-radius:12px;border:1px solid var(--bd,#333);background:rgba(255,255,255,.03);text-align:left;cursor:pointer}
.subcat.on{border-color:var(--acc);background:rgba(100,140,255,.12)}
.subcat .se{font-size:1.4rem}
.subcat small{color:#aaa}
.submeta{margin:8px 0 4px}
.subprev{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}
.subprev figure{margin:0;background:#0e0e14;border-radius:12px;padding:8px;text-align:center}
.subprev canvas{max-width:100%;height:auto;border-radius:8px}
.subprev figcaption{font-size:.75rem;color:#999;margin-top:4px}
@media(max-width:640px){.vecprev,.subprev{grid-template-columns:1fr}.tabs button{padding:7px 12px;font-size:.9rem}}

/* v76: DTF UV + Solo escalado */
body.uv-mode main.ws,body.uv-mode main,body.uv-mode #stepper,body.uv-mode>footer,body.uv-mode #libView,body.uv-mode #vecView,body.uv-mode #subliView,body.uv-mode #escView,body.uv-mode .ws-panel,body.uv-mode .ws-fab,body.uv-mode .ws-shade,
body.esc-mode main.ws,body.esc-mode main,body.esc-mode #stepper,body.esc-mode>footer,body.esc-mode #libView,body.esc-mode #vecView,body.esc-mode #subliView,body.esc-mode #uvView,body.esc-mode .ws-panel,body.esc-mode .ws-fab,body.esc-mode .ws-shade{display:none!important}
body.uv-mode #uvView,body.esc-mode #escView{display:block!important}
body.lib-mode #uvView,body.lib-mode #escView,body.vec-mode #uvView,body.vec-mode #escView,body.subli-mode #uvView,body.subli-mode #escView{display:none!important}
#uvView,#escView{max-width:1100px;margin:auto;padding:12px}
.uvprev{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0}.uvprev figure{margin:0;background:repeating-conic-gradient(#3a3a44 0 25%,#2a2a33 0 50%) 0 0/16px 16px;border-radius:10px;padding:6px;text-align:center}.uvprev canvas{max-width:100%;height:auto;display:block;margin:auto}.uvprev figcaption{font-size:.85rem;color:#c9c9d6;margin-top:4px}
.esclist{display:grid;gap:6px;margin:10px 0}.escit{display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:#1c1c24;border-radius:10px;padding:8px 10px}.escit .escbtns{margin-left:auto;display:flex;gap:4px}
.tabs{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.tabs button{flex:0 0 auto;white-space:nowrap}
@media(min-width:900px){.tabs{justify-content:center}}
@media(max-width:640px){.uvprev{grid-template-columns:1fr 1fr 1fr;gap:6px}.tabs{padding:8px 8px 4px}.tabs button{padding:7px 11px;font-size:.88rem}}
#uvView button:disabled,#escView button:disabled{opacity:.45;cursor:not-allowed}
