body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #1a1a1a;
    font-family: Arial, sans-serif;
    color: white;
}

.container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.level-box {
    background: #333;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.level {
    width: 300px;
    height: 300px;
    border: 3px solid #666;
    margin: 1rem 0;
    position: relative;
    background: #444;
}

.level.horizontal {
    border-radius: 50%;
}

.level.vertical {
    border-radius: 10px;
}

.bubble {
    width: 40px;
    height: 40px;
    background: #00ff88;
    position: absolute;
    border-radius: 50%;
    transition: transform 0.1s;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.readout {
    font-size: 1.2rem;
    color: #00ff88;
}

.warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ff4444;
    color: white;
    padding: 1rem;
    text-align: center;
}

@media (max-width: 600px) {
    .level {
        width: 250px;
        height: 250px;
    }
}
