﻿main {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.ocean-canvas {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #071022 0%, #010308 100%);
    cursor: crosshair;
}

.water-texture {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 60%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.015) 0%, transparent 50%);
    background-size: 100px 100px;
    animation: driftOcean 60s infinite linear alternate;
    pointer-events: none;
}

@keyframes driftOcean {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-5%, -5%) rotate(3deg);
    }
}

.flash-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 2s ease-out, background-color 0.1s;
    mix-blend-mode: overlay;
}

/* The Drops (Now Streams) */
.vibe-stream {
    position: absolute;
    border-radius: 50%;
    transform-origin: center center;
    pointer-events: none;
    mix-blend-mode: screen;
    will-change: transform, width, height, opacity;
}

.vibe-meta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    pointer-events: none;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
    z-index: 10;
}

/* Palette Styles */
.vibe-palette {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.2);
}

.color-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    outline: none;
}

    .color-btn:hover {
        transform: scale(1.1);
    }

    .color-btn.selected {
        border-color: white;
        transform: scale(1.2);
        box-shadow: 0 0 15px currentColor;
    }

/* Native Color Picker Styling Magic */
input[type="color"].custom-picker {
    -webkit-appearance: none;
    padding: 0;
    background: none;
    border: 2px solid transparent;
}

    input[type="color"].custom-picker::-webkit-color-swatch-wrapper {
        padding: 0;
    }

    input[type="color"].custom-picker::-webkit-color-swatch {
        border: none;
        border-radius: 50%;
    }

    input[type="color"].custom-picker.selected {
        border-color: white;
    }
