@font-face{font-family:Anton;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Anton-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Anton;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Anton-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Caveat;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Caveat-400-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Caveat;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Caveat-400-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Caveat;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Caveat-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caveat;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Caveat-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Caveat;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Caveat-700-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Caveat;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Caveat-700-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Caveat;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Caveat-700-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caveat;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Caveat-700-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lobster;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Lobster-400-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Lobster;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Lobster-400-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Lobster;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Lobster-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lobster;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Lobster-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Oswald;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Oswald-400-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Oswald;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Oswald-400-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Oswald;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Oswald-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Oswald;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Oswald-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Oswald;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Oswald-700-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Oswald;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Oswald-700-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Oswald;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Oswald-700-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Oswald;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Oswald-700-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Pacifico;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Pacifico-400-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Pacifico;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Pacifico-400-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Pacifico;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Pacifico-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Pacifico;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Pacifico-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Playfair Display;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PlayfairDisplay-400-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Playfair Display;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PlayfairDisplay-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Playfair Display;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PlayfairDisplay-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Playfair Display;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/PlayfairDisplay-700-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Playfair Display;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/PlayfairDisplay-700-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Playfair Display;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/PlayfairDisplay-700-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Press Start 2P";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PressStart2P-400-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Press Start 2P";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PressStart2P-400-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:"Press Start 2P";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PressStart2P-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Press Start 2P";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PressStart2P-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Rubik Mono One;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/RubikMonoOne-400-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Rubik Mono One;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/RubikMonoOne-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Rubik Mono One;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/RubikMonoOne-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Russo One;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/RussoOne-400-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Russo One;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/RussoOne-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Russo One;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/RussoOne-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Unbounded;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Unbounded-400-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Unbounded;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Unbounded-400-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Unbounded;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Unbounded-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Unbounded;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Unbounded-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Unbounded;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Unbounded-700-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Unbounded;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Unbounded-700-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Unbounded;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Unbounded-700-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Unbounded;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/Unbounded-700-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:UnifrakturMaguntia;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/UnifrakturMaguntia-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#0f1012;--surface:#17181c;--panel:#1b1d22;--elevated:#24262d;--text:#f2f3f5;--muted:#9aa0aa;--border:#2c2f36;--accent:#4f8cff;--accent-ink:#fff;--danger:#ff5a5f;--font:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--radius:10px;--radius-lg:16px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{min-height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.4;overflow-x:hidden}.app{max-width:480px;min-height:100vh;padding-bottom:calc(20px + env(safe-area-inset-bottom));margin:0 auto}.topbar{border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:20;align-items:center;gap:8px;padding:12px 14px;display:flex;position:sticky;top:0}.wordmark{letter-spacing:-.2px;margin-right:auto;font-size:16px;font-weight:700}.actions{gap:6px;display:flex}.icon-btn{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:34px;height:34px;color:var(--text);cursor:pointer;place-items:center;transition:background .15s,opacity .15s,transform 80ms;display:grid}.icon-btn:active{transform:scale(.94)}.icon-btn:disabled{opacity:.35;cursor:default}.icon-btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.balance{color:var(--muted);white-space:nowrap;font-size:13px}.badge{letter-spacing:.4px;color:var(--accent);background:color-mix(in srgb, var(--accent) 18%, transparent);text-transform:uppercase;border-radius:6px;padding:3px 7px;font-size:10px;font-weight:700}.btn{border:1px solid var(--border);border-radius:var(--radius);background:var(--elevated);color:var(--text);font:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:12px 22px;font-weight:600;transition:transform 80ms,filter .15s;display:inline-flex}.btn:active{transform:scale(.98)}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn.primary:active{filter:brightness(1.08)}.btn.block{width:100%}.center{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:78vh;padding:24px;display:flex}.center h2{margin:0;font-size:26px}.upload-area{justify-content:center;align-items:center;min-height:78vh;padding:24px 16px;display:flex}.dropzone{text-align:center;border:1.5px dashed var(--border);border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;align-items:center;gap:12px;width:100%;max-width:360px;padding:40px 24px;display:flex}.dz-icon{width:68px;height:68px;color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, transparent);border-radius:20px;place-items:center;display:grid}.dz-title{margin:0;font-size:18px;font-weight:600}.canvas-wrap{justify-content:center;padding:16px 12px 10px;display:flex}.stage{border-radius:12px;position:relative;box-shadow:0 8px 30px #00000073}.layer{position:absolute;top:0;left:0}.base-img{background:#000;border-radius:12px;width:100%;height:100%;display:block}.draw-layer{width:100%;height:100%}.sticker-layer{touch-action:none}.crop-layer{touch-action:none;width:100%;height:100%}.crop-dim{pointer-events:none;background:#00000080;position:absolute}.crop-frame{cursor:move;touch-action:none;border:1px solid #fffffff2;position:absolute;box-shadow:0 0 0 1px #00000059}.crop-grid{pointer-events:none;opacity:.5;background-image:linear-gradient(#fff9 1px,#0000 1px),linear-gradient(90deg,#fff9 1px,#0000 1px);background-size:100% 33.34%,33.34% 100%;position:absolute;inset:0}.crop-handle{width:16px;height:16px;box-shadow:0 0 0 1px var(--accent);touch-action:none;background:#fff;border-radius:3px;position:absolute}.crop-handle:before{content:"";position:absolute;inset:-14px}.crop-handle.nw{cursor:nwse-resize;top:-8px;left:-8px}.crop-handle.ne{cursor:nesw-resize;top:-8px;right:-8px}.crop-handle.sw{cursor:nesw-resize;bottom:-8px;left:-8px}.crop-handle.se{cursor:nwse-resize;bottom:-8px;right:-8px}.toolbar{border-top:1px solid var(--border);border-bottom:1px solid var(--border);scrollbar-width:none;gap:2px;padding:6px 8px;display:flex;overflow-x:auto}.toolbar::-webkit-scrollbar{display:none}.toolbar-btn{border-radius:var(--radius);min-width:56px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1 0 auto;align-items:center;gap:4px;padding:8px 4px;font-size:11px;font-weight:500;transition:color .15s,background .15s;display:flex}.toolbar-btn.active{color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, transparent)}.panel{flex-direction:column;gap:14px;padding:16px;display:flex}.slider{grid-template-columns:92px 1fr 34px;align-items:center;gap:10px;display:grid}.slider span{color:var(--muted);font-size:13px}.slider em{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;font-size:12px;font-style:normal}input[type=range]{appearance:none;background:var(--elevated);border-radius:999px;outline:none;width:100%;height:4px}input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--accent);border:3px solid var(--bg);cursor:pointer;border-radius:50%;width:18px;height:18px;box-shadow:0 1px 4px #0006}input[type=range]::-moz-range-thumb{background:var(--accent);border:3px solid var(--bg);cursor:pointer;border-radius:50%;width:18px;height:18px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--border);background:var(--elevated);color:var(--text);font:inherit;cursor:pointer;border-radius:999px;padding:9px 14px;font-size:14px;transition:background .15s,border-color .15s,transform 80ms}.chip:active{transform:scale(.96)}.chip.active{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, transparent)}.chip.emoji{padding:6px 12px;font-size:22px;line-height:1}.chip.danger{border-color:var(--danger);color:var(--danger);background:color-mix(in srgb, var(--danger) 14%, transparent)}.chip:disabled{opacity:.4;cursor:default}.pack-tabs{margin-top:4px}.emoji-grid{grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:8px;max-height:240px;padding:4px 2px;display:grid;overflow-y:auto}.emoji-tile{aspect-ratio:1;border:1px solid var(--border,#ffffff1f);cursor:pointer;background:0 0;border-radius:12px;justify-content:center;align-items:center;padding:6px;display:flex}.emoji-tile:active{transform:scale(.94)}.emoji-tile img{object-fit:contain;width:100%;height:100%}.seg{background:var(--elevated);border-radius:var(--radius);gap:3px;padding:3px;display:flex}.seg-btn{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;padding:9px 0;font-weight:600;transition:background .15s,color .15s}.seg-btn.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #00000059}.seg-ctl{background:var(--elevated);border-radius:10px;gap:4px;margin-bottom:10px;padding:3px;display:flex}.seg-ctl .seg-btn{flex:1}.swatches{flex-wrap:wrap;gap:10px;display:flex}.swatch{border:2px solid var(--border);cursor:pointer;border-radius:50%;width:30px;height:30px;padding:0;transition:transform 80ms}.swatch:active{transform:scale(.9)}.swatch.sel{box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--accent);border-color:#0000}.swatch.none{color:var(--muted);background:var(--elevated);justify-content:center;align-items:center;font-size:16px;display:flex}.swatch.custom{background-image:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);position:relative;overflow:hidden}.swatch.custom input{opacity:0;cursor:pointer;border:0;width:200%;height:200%;padding:0;position:absolute;inset:-4px}.text-style{flex-direction:column;gap:8px;display:flex}.text-style .chips{align-items:center}.text-style .seg{flex:none}.text-style .seg-btn{padding:6px 10px}.prompt{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;padding:12px;font-size:15px}.prompt:focus{border-color:var(--accent);outline:none}.prompt::placeholder{color:var(--muted)}.ai-feature{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding:12px 0;display:flex}.ghost{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:none;align-self:flex-start;padding:6px 2px;font-size:14px}.ghost:disabled{color:var(--muted);opacity:.6;cursor:default}.muted{color:var(--muted)}.small{font-size:12px}.error{left:50%;bottom:calc(16px + env(safe-area-inset-bottom));background:var(--danger);color:#fff;border-radius:var(--radius);z-index:60;max-width:calc(100% - 32px);padding:10px 16px;font-size:13px;position:fixed;transform:translate(-50%);box-shadow:0 6px 24px #0006}.sheet-backdrop{z-index:50;background:#0009;align-items:flex-end;animation:.2s both fade;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;width:100%;max-width:480px;padding:22px 20px calc(22px + env(safe-area-inset-bottom));flex-direction:column;gap:10px;margin:0 auto;animation:.28s cubic-bezier(.2,.9,.3,1) both slide-up;display:flex}.sheet h3{margin:0 0 4px;font-size:19px}.ex-pair{gap:10px;display:flex}.ex-pair figure{text-align:center;flex:1;margin:0}.ex-pair img{aspect-ratio:1;object-fit:cover;border-radius:12px;width:100%}.ex-pair figcaption{color:var(--muted);margin-top:4px;font-size:12px}.switch-row{justify-content:space-between;align-items:center;padding:8px 0;display:flex}.pay-option{border-radius:var(--radius);border:1px solid var(--border);background:var(--elevated);color:var(--text);font:inherit;cursor:pointer;justify-content:space-between;align-items:center;padding:15px;font-size:14px;display:flex}.pay-option:active{transform:scale(.99)}.pay-option b{color:var(--accent)}.pay-option:disabled{opacity:.5}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (prefers-reduced-motion:reduce){*{animation:none!important}}.profile-rows{flex-direction:column;gap:8px;display:flex}.prow{justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;display:flex}.prow b{text-align:right;word-break:break-all}.prow .muted{flex-shrink:0}.pdivider{background:var(--border);height:1px;margin:4px 0}.support-input{resize:vertical;width:100%;font-family:inherit}.ok{color:#34c759;margin:0;font-size:14px}.sheet{overscroll-behavior:contain;max-height:90dvh;overflow-y:auto}.product-cards{flex-direction:column;gap:12px;min-width:0;display:flex}.product-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--elevated);overflow-wrap:anywhere;padding:16px}.product-card h4{margin:0 0 6px;font-size:18px}.product-card p{margin:6px 0;font-size:14px;line-height:1.45}.product-card .product-price{margin:12px 0}.product-price strong{font-size:24px}.product-card .btn{white-space:normal;margin-top:12px}.product-card-featured{border-color:var(--accent)}.product-saving{color:var(--accent);font-weight:600}.product-card-single{padding:12px 16px}.product-terms{margin:0;font-size:12px;line-height:1.5}.legal-entry{box-sizing:border-box;overscroll-behavior:contain;width:100%;max-width:560px;height:100dvh;padding:24px 20px calc(24px + env(safe-area-inset-bottom));margin:0 auto;overflow-y:auto}.legal-entry h1{font-size:24px}.legal-entry>.btn,.legal-entry>.ghost{margin-top:12px}.legal-links{flex-direction:column;gap:10px;margin:20px 0;display:flex}.legal-links button{text-align:left;line-height:1.5}.legal-check{cursor:pointer;align-items:flex-start;gap:12px;margin:20px 0;line-height:1.5;display:flex}.legal-check input{width:22px;height:22px;accent-color:var(--accent);flex-shrink:0;margin-top:2px}.legal-document{overflow-wrap:anywhere;line-height:1.65}.legal-document h2{font-size:22px}.legal-document h3{margin-top:24px;font-size:18px}.legal-document p{margin:12px 0}.legal-backdrop{z-index:60}
