/* Core Layout Styles for cliffxrd.com */

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #0C0A15; /* Fallback deep space dark */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Ensure the background Three.js canvas and 2D beans canvas are positioned correctly */
#three-canvas, #beans-canvas {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    outline: none;
    z-index: 0 !important;
    pointer-events: none;
}

/* Force Compose HTML/Wasm viewport canvas elements to be completely transparent */
canvas {
    background-color: transparent !important;
}

#compose-mount, #compose-mount canvas {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 10; /* Compose viewport sits on top of Three.js canvas */
}

/* Custom premium scrollbar for lists */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(12, 10, 21, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(240, 0, 255, 0.4);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(240, 0, 255, 0.7);
}

/* Selection highlight colors */
::selection {
    background: rgba(240, 0, 255, 0.3);
    color: #FFFFFF;
}