/* Blitchka Photo — Simple-first layer (simplify pattern v1). Brand: red #E43B40, charcoal #22252B, cool greys. */
.sx-front{padding:4px 12px 2px;display:flex;flex-direction:column;gap:2px}
.sx-h{font-size:13px;font-weight:700;color:#a3a8b3;margin:6px 2px 5px}
.sx-strip{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:0 0 4px}
.sx-strip::-webkit-scrollbar{display:none}
.sx-strip .style-card.sx-look{flex:none;width:88px;min-height:66px;padding:4px;border:2px solid transparent}
.sx-strip .style-card.sx-look canvas{max-height:44px;object-fit:contain}
.sx-strip .style-card.sx-look:active{border-color:var(--red)}
.sx-pad{padding:6px 0 2px}
.sx-front .font-cta{min-height:56px;padding:8px 12px}
.sx-front .font-cta .fc-prev{font-size:22px}
.sx-dots{display:flex;gap:9px;padding:6px 2px;align-items:center;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.sx-dot{flex:none;width:36px;height:36px;border-radius:50%;border:2px solid #444a56;box-shadow:inset 0 0 0 2px #000}
.sx-dot.on{border-color:var(--red);box-shadow:inset 0 0 0 3px #000,0 0 0 2px var(--red)}
.sx-plus{background:#2b2f37;color:#fff;font-size:22px;line-height:1;display:grid;place-items:center;box-shadow:none}
.sx-front .slider-row{padding:6px 2px;grid-template-columns:64px 1fr 38px}
.sx-front .slider-row label{font-size:14px;color:#e6e7ea}
.sx-row{display:flex;gap:8px;padding:6px 0 2px}
.sx-btn{flex:1;min-height:48px;border-radius:12px;background:#2b2f37;border:1px solid #3d424d;color:#f4f4f2;display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:600}
.sx-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sx-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px;border-radius:12px;background:#1d2026;border:2px solid transparent;color:#e6e7ea;font-size:13px;font-weight:600;min-height:64px}
.sx-card canvas{width:100%;height:42px;object-fit:cover;border-radius:7px;display:block}
.sx-card.on{border-color:var(--red);background:#2a1416;color:#fff}
.sx-more{display:flex;align-items:center;justify-content:center;gap:8px;width:calc(100% - 24px);margin:8px 12px 10px;min-height:48px;border-radius:12px;border:1px dashed #4a505c;color:#e6e7ea;font-size:15px;font-weight:600}
.sx-more em{font-style:normal;font-size:12px;color:#a3a8b3;background:#2b2f37;border-radius:999px;padding:2px 8px}
.sx-lessrow{display:flex;justify-content:flex-start;padding:6px 10px 0}
.sx-less{display:flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border-radius:999px;background:#2b2f37;color:#e6e7ea;font-size:13.5px;font-weight:600}
.sx-less svg{width:18px;height:18px}
/* one clear Apply, always bottom-start */
.act-ok.sx-ok{width:auto;min-width:96px;padding:0 16px;display:flex;align-items:center;justify-content:center;gap:6px;height:44px}
.act-ok .sx-ok-l{font-size:15px;font-weight:700}
.sx-more.in-row{flex:1;width:auto;margin:0}
.sx-row:empty{display:none}
.sx-row .sx-more:only-child{flex:1}
/* busy action rows (text: duplicate/delete/add) — keep Apply readable, drop the repeated tool name */
.act-row:has(> :nth-child(8)) .act-title{display:none}
.act-row:has(> :nth-child(8)) .act-ok{margin-inline-end:auto}
.act-row:has(> :nth-child(8)) .act-ok.sx-ok{min-width:84px;padding:0 12px}

/* v2: big one-tap choices for every tool */
.sx-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:2px 0 6px}
.sx-chips.c4{grid-template-columns:repeat(2,1fr)}
.sx-chip{min-height:50px;border-radius:12px;background:#2b2f37;border:2px solid #3d424d;color:#f4f4f2;font-size:15px;font-weight:600;padding:6px 8px;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;line-height:1.15}
.sx-chip.on{border-color:var(--red);background:#2a1416;color:#fff}
.sx-chip:active{transform:scale(.97)}
.sx-chip.sx-mir{flex-direction:column;gap:3px;font-size:13.5px;min-height:64px}
.sx-chip.sx-mir svg{width:24px;height:24px}
.sx-chip.sx-mir canvas,.sx-chip.sx-mir img{max-width:100%;height:40px;object-fit:cover;border-radius:7px}
.sx-front > .slider-row{padding:6px 2px}
.sx-front > .tile-row,.sx-front > .seg,.sx-front > .btn-row{margin:2px 0 6px}
.sx-front > .filter-strip{margin:0 -12px 4px;padding-inline:12px}
.sx-front > .text-inp{width:100%;min-height:48px;font-size:17px;margin:2px 0 6px}
.sx-front > .font-cta{width:100%;min-height:56px;margin:0 0 6px}
.sx-front > canvas.histo{width:100%;height:72px;border-radius:8px;margin:2px 0 6px;display:block}
.sx-o[hidden]{display:none!important}
