:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;padding:0;min-width:320px;min-height:100vh;width:100%;overflow-x:hidden}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.light-control{width:100%;max-width:600px;margin:0 auto;padding:2rem;background:#ffffff0d;border-radius:20px;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;box-shadow:0 20px 40px #0000004d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);box-sizing:border-box}.light-control h1{text-align:center;margin-bottom:2rem;font-size:2.5rem;font-weight:300;text-shadow:0 2px 4px rgba(0,0,0,.3)}.control-section{background:#ffffff1a;border-radius:15px;padding:1.5rem;margin-bottom:1.5rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.control-section h2{margin-top:0;margin-bottom:1rem;font-size:1.3rem;font-weight:500;opacity:.9}.error{background:#ff453a33;border:1px solid rgba(255,69,58,.5);color:#ff453a;padding:1rem;border-radius:10px;margin-bottom:1.5rem;text-align:center;font-weight:500}.toggle-button{width:100%;padding:1.2rem 2rem;border:none;border-radius:12px;font-size:1.2rem;font-weight:600;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px}.toggle-button.on{background:linear-gradient(135deg,#34d399,#10b981);color:#fff;box-shadow:0 8px 20px #34d3994d}.toggle-button.off{background:linear-gradient(135deg,#6b7280,#4b5563);color:#fff;box-shadow:0 8px 20px #6b72804d}.toggle-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 25px #0003}.toggle-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.brightness-slider,.hue-slider,.saturation-slider{width:100%;height:8px;border-radius:5px;background:#fff3;outline:none;cursor:pointer;appearance:none;-webkit-appearance:none;margin:.5rem 0}.brightness-slider::-webkit-slider-thumb,.hue-slider::-webkit-slider-thumb,.saturation-slider::-webkit-slider-thumb{appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;cursor:pointer;border:2px solid #667eea;box-shadow:0 2px 6px #0003}.value-display{display:inline-block;margin-left:1rem;font-weight:600;background:#fff3;padding:.3rem .8rem;border-radius:20px;min-width:60px;text-align:center}.mode-buttons{display:flex;gap:1rem}.mode-buttons button{flex:1;padding:.8rem 1.5rem;border:2px solid rgba(255,255,255,.3);background:#ffffff1a;color:#fff;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .3s ease}.mode-buttons button:hover:not(:disabled){background:#fff3;border-color:#ffffff80}.mode-buttons button.active{background:#ffffff4d;border-color:#fff;box-shadow:0 4px 12px #fff3}.mode-buttons button:disabled{opacity:.5;cursor:not-allowed}.color-controls{display:flex;gap:1.5rem;align-items:center}.color-preview{width:80px;height:80px;border-radius:50%;border:3px solid rgba(255,255,255,.3);box-shadow:0 4px 12px #0003;flex-shrink:0}.color-sliders{flex:1}.color-sliders label{display:flex;align-items:center;margin-bottom:1rem;font-weight:500;gap:1rem}.color-sliders label:last-child{margin-bottom:0}.hue-slider{background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.saturation-slider{background:linear-gradient(to right,gray,hsl(var(--current-hue, 0),100%,50%))}@media (max-width: 768px){.light-control{margin:1rem;padding:1.5rem}.light-control h1{font-size:2rem}.color-controls{flex-direction:column;gap:1rem}.color-preview{width:60px;height:60px}}#root{width:100vw;min-height:100vh;margin:0;padding:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);box-sizing:border-box}.app{width:100%;max-width:600px;margin:0 auto;padding:1rem;box-sizing:border-box}
