:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;box-sizing:border-box;flex-direction:column;width:100%;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.editor{box-sizing:border-box;flex-grow:1;grid-template-columns:240px 1fr 260px;gap:16px;min-height:0;padding:16px;display:grid}.panel{background:var(--code-bg);border:1px solid var(--border);text-align:left;border-radius:8px;flex-direction:column;gap:12px;padding:16px;display:flex;overflow-y:auto}.panel h2{color:var(--text-h);margin:0;font-size:15px}.canvas-area{border:1px solid var(--border);background:repeating-conic-gradient(#e5e4e7 0% 25%,#0000 0% 50%) 50%/20px 20px;border-radius:8px;justify-content:flex-start;align-items:flex-start;padding:16px;display:flex;overflow:auto}.canvas-area canvas{box-shadow:var(--shadow)}.tool-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.tool-active{background:var(--accent-bg)!important;border-color:var(--accent-border)!important;color:var(--accent)!important}.draw-opts{background:var(--accent-bg);border:1px solid var(--accent-border);border-radius:8px;flex-direction:column;gap:8px;padding:8px;display:flex}.slider-row{flex-direction:column;gap:4px;font-size:13px;display:flex}.slider-row span{color:var(--accent);font-weight:600}.slider-row input[type=range]{width:100%;accent-color:var(--accent)}.draw-color-row{flex-direction:column;gap:6px;font-size:13px;display:flex}.mini-swatches{flex-wrap:wrap;gap:5px;display:flex}button{font:inherit;cursor:pointer;border:1px solid var(--border);background:var(--bg);color:var(--text-h);border-radius:6px;padding:8px 10px}button:hover{border-color:var(--accent-border)}button.danger{color:#ff3b3b;border-color:#ff3b3b66}.layers{flex-direction:column;gap:4px;max-height:160px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.layers li{cursor:pointer;text-transform:capitalize;border-radius:6px;padding:6px 8px;font-size:14px}.layers li:hover{background:var(--accent-bg)}.layers li.active{background:var(--accent-bg);color:var(--accent);font-weight:600}.layers li.empty{color:var(--text);cursor:default}.props{flex-direction:column;gap:10px;display:flex}.colors{flex-wrap:wrap;gap:6px;display:flex}.swatch{border:1px solid var(--border);border-radius:50%;width:24px;height:24px;padding:0}.props label{flex-direction:column;gap:4px;font-size:13px;display:flex}.props input{font:inherit;border:1px solid var(--border);background:var(--bg);color:var(--text-h);border-radius:6px;padding:6px 8px}.row{gap:8px;display:flex}.row button{flex:1}.hint{margin:0;font-size:13px}.section-divider{border-top:1px solid var(--border);margin:0}.bg-controls{flex-direction:column;gap:8px;display:flex}.bg-presets{flex-wrap:wrap;gap:6px;display:flex}.active-btn{border-color:var(--accent-border);color:var(--accent);background:var(--accent-bg)}.swatch-active{outline:2px solid var(--accent);outline-offset:2px}.color-row{align-items:center;gap:8px;font-size:13px;display:flex}.color-row input[type=color]{border:1px solid var(--border);background:var(--bg);cursor:pointer;border-radius:6px;width:36px;height:28px;padding:2px}.color-picker-inline{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:50%;width:24px;height:24px;padding:0}.export-btns{flex-direction:column;gap:8px;display:flex}.export-btns button{width:100%}.accent-btn{border-color:var(--accent-border);color:var(--accent);background:var(--accent-bg)}.removing-btn{opacity:.6;cursor:not-allowed}.marq-actions{flex-direction:column;gap:8px;display:flex}.marq-actions .accent-btn{text-align:left;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;display:flex}.marq-actions .accent-btn small{opacity:.7;font-size:11px;font-weight:400}.props select{font:inherit;border:1px solid var(--border);background:var(--bg);color:var(--text-h);border-radius:6px;width:100%;padding:6px 8px}.format-btns{gap:6px;display:flex}.format-btns button{flex:1;padding:6px 0;font-size:15px}.fmt-active{background:var(--accent-bg)!important;border-color:var(--accent-border)!important;color:var(--accent)!important}.app-header{text-align:left;padding:16px 16px 0}.app-header h1{margin:0;font-size:22px}
