:root{--bg:#f4f4f2;--fg:#1a1a1a;--muted:#6b6b6b;--panel:#fff;--border:#e2e2de;color:var(--fg);background:var(--bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#141414;--fg:#ececec;--muted:#9a9a9a;--panel:#1e1e1e;--border:#2e2e2e}}*,:before,:after{box-sizing:border-box}html,body,#app{height:100%;margin:0}.panel section{gap:8px;display:grid}.panel section+section{margin-top:20px}.panel h2{text-transform:uppercase;letter-spacing:.06em;min-height:32px;color:var(--muted);justify-content:space-between;align-items:center;margin:0;font-size:.75rem;font-weight:600;display:flex}.panel output{font-variant-numeric:tabular-nums;text-transform:none;letter-spacing:0}.segmented{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.segmented button{font:inherit;border:1px solid var(--border);background:var(--panel);color:var(--fg);cursor:pointer;border-radius:8px;padding:8px 6px;font-size:.9rem}.segmented button.active{background:var(--fg);border-color:var(--fg);color:var(--bg)}.segmented button:disabled{opacity:.45;cursor:default}.panel input[type=range]{width:100%;accent-color:var(--fg)}.panel input[type=text]{width:100%;min-width:0;font:inherit;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:6px;padding:6px 8px;font-size:16px}@media (pointer:coarse){.segmented button{min-height:44px}}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");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:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fraunces-vietnamese-wght-normal-CnvboYUG.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fraunces-latin-ext-wght-normal-Ca2vKHc0.woff2)format("woff2-variations");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:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fraunces-latin-wght-normal-ukD16Tqj.woff2)format("woff2-variations");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:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAfsABQAAAAAEAwAAAeCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhwbHhwoP0hWQVJbBmA/U1RBVIFiJyYAdC9qEQgKhGSEAAsgADCGCAE2AiQDOgQgBYlMB4EUDAcbLQ4onoexrSC/2ZyLAa8p8VHB8/x3Vue+V0hVJalMJg2nx/TCrQXxBeqLjQG7FyM1WEa/X1tEXN7cFz9EJEMmMUz3RihWSSKeQCbcIou0izz/C8v+fq3VfajEa9gDD11CImXS7qL/RJFVzC1qiB6KmKeD6TZdQ6IRGv78dL6uSVVCfgni5mzu7kcgQBgAEAQTQRCoL++STTYybkJxNfQxAAIAGu8OdEB9teW2jh4BpgDqFjAeSEByW3zFP0CBBgNMsMCGEDjgggdhiEAUAeIIED7ABTDUEnkIE9Q9ahFgKttcVhApo4ACB4qobHaccgDfEjFO6aaWUhjMLt2SyIvHKoDqoA4CSUwEIYQCEjhAO9R1G6keDeDZGjNo+AhxOjCEGTr1WeIF3kYBiLAOKvkJSMiKX0VdAyQt3SDJClCkxJCHkCzfqyVTriJZLcolS32JZHUekq2TYNkYtCtjYHMQXSxGjXDz2t/yLWXzDzxz+o3zFw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PfDjZcu4aalnSLKjnOoYQ0nUlqqXcGpPu/4VgV/xU2pAqW4BW3qzhQ8/hFKhV2qE3+BKAtDqBXjfgnVdH4y0wg5tbVNRenNdTWOrenWLcupQdmsbq5b+18piTe/xRdp1xbILxNPJGInm2z6hoB21Lal0i+ePTtd7B45+3XhFJ329evskXm7qurUVREotqSluSo/L29d3qDhI4YOQqWhI4YNvBNfsMHeXKemXrxQfKeuPOGRVayA3JtkJKEgbPp+dXUDluddutRYLFoXGXWX6N3WFaGLbQtRSitVYNacTNSdy7AaG/HSaUEANcBoGXNdcZvZsOqQ1icBDv21/gzAoYPHH/WDW0qNR3QTYKEAEHig6o13NXbND06CQPlRtYjGNnSktRc09k1mAMDvAlDKfQjgy6fssInlfzmNAjKkDxoxHOBLdVRAIVt9j4qo+hA1w9T1aNBNTUOTTNUHLbqokE+UAfJXCIGw/IxCSL5GRUJeR40rL/UxTm4Q08H6MbCs70ObuNyIIXrINHQYInF06UUlevTjbQzTh5upiDMzMMogUtEnjPs/Y7jAHCJeB0GBHh04tC6FiB6ZFB1oArUSIoFoqhzCeAN6lHwm0T4C3VVPWvjpSMXReuWesMEcoqrmgtNBGd2noWeV0hNAz9rFeShNJxHGsPa3HXeKTk8b55hahySYHaYKKFFLpCfN8rsoaJn01CR04Gkc+5k7KVTCmClX8Q10HCrUEkVlSX+XO33oQR9609tJ516H497WSobWs5Up6TLaS10/dessIskgJSLiDlWvHVUywpkQ7hdPZqGyiEF0uVQerVcPamT1A3eKXdyI1vG9OoflrSXihZ1qqGE3nhmAgiIbRCQgPLEPtOM3UQwTLYaYYomNlpA44opnjV6jkD6id80OOrzf6BzmMD6eEa1zKyeYG1fzfEf16V6jw9XYOaar1/b2kP/IYX8oR2mcFvv2GtBV3JXgd437AQAA)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(./jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(./jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(./jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(./jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2)format("woff2-variations");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:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(./jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2)format("woff2-variations");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}.sizes.svelte-nbudif button:where(.svelte-nbudif){gap:2px;padding:10px 6px;display:grid}.sizes.svelte-nbudif small:where(.svelte-nbudif){opacity:.75;font-size:.7rem}.result.svelte-nbudif{color:var(--muted);margin:4px 0 0;font-size:.85rem}.result.svelte-nbudif strong:where(.svelte-nbudif){color:var(--fg);font-variant-numeric:tabular-nums}.warn.svelte-nbudif{color:#b9770e}.download.svelte-nbudif{width:100%;min-height:44px;font:inherit;border:1px solid var(--fg);background:var(--fg);color:var(--bg);cursor:pointer;touch-action:manipulation;border-radius:10px;justify-content:center;align-items:center;gap:8px;font-weight:600;display:flex}.download.svelte-nbudif:disabled{opacity:.6;cursor:default}.download.svelte-nbudif svg:where(.svelte-nbudif){fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.check.svelte-nbudif{cursor:pointer;align-items:flex-start;gap:10px;font-size:.9rem;display:flex}.check.svelte-nbudif input:where(.svelte-nbudif){width:18px;height:18px;accent-color:var(--fg);margin:1px 0 0}.check.svelte-nbudif small:where(.svelte-nbudif){color:var(--muted);font-size:.8rem;display:block}.ratios.svelte-z516c2{grid-template-columns:repeat(3,1fr)}.backgrounds.svelte-z516c2{grid-template-columns:repeat(4,1fr)}.rotate.svelte-z516c2{border:1px solid var(--border);background:var(--panel);width:32px;height:32px;color:var(--fg);cursor:pointer;border-radius:8px;place-items:center;padding:0;display:grid}.rotate.svelte-z516c2:disabled{opacity:.35;cursor:default}.rotate.svelte-z516c2 svg:where(.svelte-z516c2){fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;transition:transform .2s}.rotate.svelte-z516c2 svg.landscape:where(.svelte-z516c2){transform:rotate(90deg)}.phone.svelte-z516c2{fill:currentColor;fill-opacity:.15}.swatch.svelte-z516c2{border:1px solid var(--border);background:var(--panel);cursor:pointer;border-radius:8px;width:100%;height:36px;padding:2px}.hint.svelte-zbdxh{color:var(--muted);margin:0 0 12px;font-size:.8rem}.rows.svelte-zbdxh{gap:6px;display:grid}.row.svelte-zbdxh{grid-template-columns:20px 84px minmax(0,1fr);align-items:center;gap:8px;font-size:.9rem;display:grid}.row.sub.svelte-zbdxh>span:where(.svelte-zbdxh):nth-child(2){color:var(--muted);padding-left:8px;font-size:.8rem}.row.off.svelte-zbdxh{opacity:.5}input[type=checkbox].svelte-zbdxh{width:18px;height:18px;accent-color:var(--fg);margin:0}input.svelte-zbdxh:not([type=checkbox]),select.svelte-zbdxh{width:100%;min-width:0;font:inherit;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:6px;padding:6px 8px;font-size:16px}.affix.svelte-zbdxh{color:var(--muted);align-items:center;gap:6px;display:flex}fieldset.svelte-cnxfxe{border:none;min-width:0;margin:20px 0 0;padding:0}fieldset.svelte-cnxfxe:disabled{opacity:.45}.layouts.svelte-cnxfxe{grid-template-columns:repeat(3,1fr)}.layouts.svelte-cnxfxe button:where(.svelte-cnxfxe){justify-items:center;gap:4px;padding:10px 4px 8px;font-size:.8rem;display:grid}.layouts.svelte-cnxfxe svg:where(.svelte-cnxfxe){fill:none;stroke:currentColor;stroke-width:1.4px;stroke-linecap:round;width:40px;height:30px}.layouts.svelte-cnxfxe rect:where(.svelte-cnxfxe){fill:currentColor;fill-opacity:.18}.fonts.svelte-cnxfxe{grid-template-columns:repeat(3,1fr)}.fonts.svelte-cnxfxe button:where(.svelte-cnxfxe){gap:2px;padding:10px 4px;display:grid}.sample.svelte-cnxfxe{font-size:1.4rem;line-height:1.1}.name.svelte-cnxfxe{opacity:.75;white-space:nowrap;text-overflow:ellipsis;font-size:.7rem;overflow:hidden}.swatch.svelte-cnxfxe{border:1px solid var(--border);background:var(--panel);cursor:pointer;border-radius:8px;width:100%;height:36px;padding:2px}main.svelte-1n46o8q{height:100%;padding:max(12px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));flex-direction:column;gap:12px;display:flex}main.dragging.svelte-1n46o8q .stage:where(.svelte-1n46o8q){outline:2px dashed var(--muted);outline-offset:-8px}header.svelte-1n46o8q{justify-content:space-between;align-items:center;gap:12px;display:flex}h1.svelte-1n46o8q{margin:0;font-size:1.1rem}.actions.svelte-1n46o8q{gap:8px;display:flex}button.svelte-1n46o8q{touch-action:manipulation;font:inherit;border:1px solid var(--border);background:var(--panel);color:var(--fg);cursor:pointer;border-radius:8px;padding:8px 14px}button.primary.svelte-1n46o8q{background:var(--fg);color:var(--bg);border-color:var(--fg)}button.svelte-1n46o8q:disabled{opacity:.6;cursor:default}.error.svelte-1n46o8q{color:#c0392b;margin:0}.notice.svelte-1n46o8q{color:var(--muted);margin:0;font-size:.9rem}.workspace.svelte-1n46o8q{flex-direction:column;flex:1;gap:16px;min-height:0;display:flex}.controls.svelte-1n46o8q{background:var(--panel);border:1px solid var(--border);border-radius:12px;flex-direction:column;flex-shrink:0;height:45%;display:flex;overflow:hidden}.tabs.svelte-1n46o8q{border-bottom:1px solid var(--border);display:flex}.tabs.svelte-1n46o8q button:where(.svelte-1n46o8q){color:var(--muted);background:0 0;border:none;border-radius:0;flex:1;padding:12px;font-weight:500;box-shadow:inset 0 -2px #0000}.tabs.svelte-1n46o8q button.active:where(.svelte-1n46o8q){color:var(--fg);box-shadow:inset 0 -2px 0 var(--fg)}.panel.svelte-1n46o8q{overscroll-behavior:contain;flex:1;min-height:0;padding:16px;overflow-y:auto}.controls.collapsed.svelte-1n46o8q{height:auto}.controls.collapsed.svelte-1n46o8q .panel:where(.svelte-1n46o8q){display:none}.reset.svelte-1n46o8q{color:var(--muted);text-underline-offset:3px;background:0 0;border:none;margin:28px auto 4px;padding:6px 10px;font-size:.8rem;text-decoration:underline;display:block}@media (width>=800px){.workspace.svelte-1n46o8q{flex-direction:row}.controls.svelte-1n46o8q,.controls.collapsed.svelte-1n46o8q{width:320px;height:auto}.controls.collapsed.svelte-1n46o8q .panel:where(.svelte-1n46o8q){display:block}}.stage.svelte-1n46o8q{border-radius:12px;flex:1;place-items:center;min-height:0;display:grid;position:relative}canvas.svelte-1n46o8q{max-width:100%;max-height:100%;margin:auto;position:absolute;inset:0;box-shadow:0 2px 16px #0000001f}.empty.svelte-1n46o8q{background:0 0;border-style:dashed;gap:4px;padding:48px 32px;display:grid}.loading.svelte-1n46o8q{color:var(--muted)}@media (width<=799px){.stage.tappable.svelte-1n46o8q{cursor:pointer;-webkit-tap-highlight-color:transparent}}.empty.svelte-1n46o8q span:where(.svelte-1n46o8q){color:var(--muted);font-size:.9rem}
