:root { --bg-color: #1A1A1A; --primary-yellow: #FFD60A; --text-color: #F5F5F5; --dark-grey: #2a2a2a; }
body { margin: 0; padding: 0; background-color: var(--bg-color); color: var(--text-color); font-family: sans-serif; overflow: hidden; display: flex; flex-direction: column; height: 100vh; }
canvas { display: block; cursor: crosshair; background-color: var(--dark-grey); image-rendering: pixelated; flex-grow: 1; }
.top-bar { background-color: rgba(0, 0, 0, 0.5); padding: 5px 15px; display: flex; justify-content: space-between; align-items: center; position: fixed; width: 100%; top: 0; z-index: 10; }
.top-bar h1 { margin: 0; font-size: 1.2em; color: var(--primary-yellow); }
.bottom-panel { background-color: rgba(0, 0, 0, 0.7); width: 100%; position: fixed; bottom: 0; display: flex; align-items: center; justify-content: center; padding: 10px 0; gap: 20px; z-index: 10; }
#palette { display: flex; gap: 8px; padding: 5px; background-color: var(--dark-grey); border-radius: 8px; }
.color-swatch { width: 30px; height: 30px; border: 2px solid transparent; border-radius: 50%; cursor: pointer; transition: transform 0.1s, border-color 0.2s; }
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.selected { border-color: var(--primary-yellow); transform: scale(1.2); }
#cooldown-timer { font-weight: bold; width: 80px; text-align: center; }
#camera-lock { background: none; border: 2px solid var(--text-color); color: var(--text-color); border-radius: 8px; font-size: 1.5em; cursor: pointer; padding: 5px 10px; }
#camera-lock.locked { border-color: var(--primary-yellow); color: var(--primary-yellow); }
/* ADD THIS TO THE BOTTOM OF YOUR EXISTING style.css FILE */

#custom-color-picker {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
}

/* Styles the color selection area inside the picker */
#custom-color-picker::-webkit-color-swatch {
    border-radius: 50%;
    border: none;
}
#custom-color-picker::-moz-color-swatch {
    border-radius: 50%;
    border: none;
}