* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Baumans', system-ui, sans-serif;
    background: #EDEDED;
    color: #222222;
    overflow-x: hidden;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(0,0,0,0.1) transparent; /* Firefox - faded scrollbar */
}

body::-webkit-scrollbar {
    width: 6px; /* Chrome, Safari and Opera */
    display: none;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.2);
}

/* Audio Context Overlay */
#audio-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(128, 128, 128, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
}

#audio-overlay.hidden {
    display: none;
}

.overlay-text {
    font-size: 2rem;
    color: #EDEDED;
    text-align: center;
}

/* Main Container */
#main-container {
    width: 100vw;
    min-height: calc(100vh + 120px);
}

/* Morph Canvas Container */
#canvas-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Morph Canvas Theme */
.morph-theme {
    --morph-color-circle: #9D2719;
    --morph-color-triangle: #D7B418;
    --morph-color-square: #154084;
    --morph-label-color: #EDEDED;
    --morph-label-font: 'Baumans', system-ui, sans-serif;
}

/* Controls Container */
#controls-container {
    width: 100vw;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Simple Controls */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.offset-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.offset-btn {
    background: none;
    border: none;
    font-family: 'Baumans', system-ui, sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    color: #222222;
    padding: 0.2rem;
}

.offset-btn:hover {
    opacity: 0.7;
}

.offset-display {
    margin: 0 0.5rem;
    min-width: 3rem;
    text-align: center;
}