:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#0a0a0f;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box;margin:0;padding:0}body{background:linear-gradient(135deg,#0a0a0f 0%,#1a1a2e 100%);min-width:320px;min-height:100vh;margin:0}#root{width:100%;min-height:100vh}button{cursor:pointer;color:#fff;background-color:#1a1a2e;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;transition:all .2s}button:hover{background-color:#252542;border-color:#646cff;transform:translateY(-1px)}button:focus,button:focus-visible{outline-offset:2px;outline:2px solid #646cff}input[type=range]{appearance:none;background:#333;border-radius:3px;outline:none;width:100%;height:6px}input[type=range]::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#646cff;border-radius:50%;width:18px;height:18px}.app{flex-direction:column;height:100vh;display:flex;overflow:hidden}.header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:10;background:#0a0a0fe6;border-bottom:1px solid #646cff33;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.logo{background:linear-gradient(90deg,#646cff,#a78bfa);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;align-items:center;gap:.75rem;font-size:1.5rem;font-weight:700;display:flex}.header-actions{align-items:center;gap:.75rem;display:flex}.main-content{flex:1;display:flex;overflow:hidden}.sidebar{background:#10101cf2;border-right:1px solid #646cff26;flex-direction:column;gap:1.25rem;width:280px;padding:1.25rem;display:flex;overflow-y:auto}.canvas-container{background:#111;flex:1;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}canvas{cursor:crosshair;background:#000;border-radius:4px;max-width:100%;max-height:100%;box-shadow:0 0 40px #646cff26}.control-group{flex-direction:column;gap:.5rem;display:flex}.control-group label{color:#aaa;text-transform:uppercase;letter-spacing:.5px;font-size:.85rem;font-weight:500}.color-preview{cursor:pointer;border:2px solid #333;border-radius:8px;width:100%;height:40px}.mode-buttons{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.mode-btn{background:#1a1a2e;border:1px solid #333;padding:.6rem;font-size:.85rem}.mode-btn.active{color:#fff;background:#646cff;border-color:#646cff}.action-buttons{flex-direction:column;gap:.5rem;margin-top:auto;display:flex}.btn-primary{background:linear-gradient(90deg,#646cff,#8b5cf6);border:none;font-weight:600}.btn-secondary{background:#252542;border:1px solid #444}.palette{flex-wrap:wrap;gap:.4rem;display:flex}.palette-swatch{cursor:pointer;border:2px solid #333;border-radius:50%;width:28px;height:28px;transition:transform .15s}.palette-swatch:hover{border-color:#fff;transform:scale(1.15)}.status-bar{color:#888;background:#0a0a0fcc;border-top:1px solid #646cff1a;justify-content:space-between;padding:.5rem 1.5rem;font-size:.8rem;display:flex}@media (width<=900px){.sidebar{width:220px;padding:1rem}}@media (width<=640px){.main-content{flex-direction:column}.sidebar{border-bottom:1px solid #646cff26;border-right:none;width:100%;max-height:40vh}.header{padding:.75rem 1rem}.logo{font-size:1.2rem}}
