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

/* Ocultar solo la consola específica de Claude */
div[style*="background: #000"]:has(*:contains("Tone.js")),
div[style*="color: #fff"]:has(*:contains("Console Messages")),
.console-messages-container,
[data-testid*="console"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

body {
    margin: 0;
    padding: 0;
    background: #27ae60;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    width: 100vw;
    height: 100vh;
    position: fixed;
}

.game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

canvas {
    background: #27ae60;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    border: none;
    width: 100vw;
    height: 100vh;
    display: block;
    touch-action: none;
}

.ui-overlay {
    position: fixed;
    top: 10px;
    left: 10px;
    color: #ecf0f1;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    z-index: 1000;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 8px;
}

.game-over-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e74c3c;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    z-index: 1000;
    display: none;
    background: rgba(0,0,0,0.7);
    padding: 20px;
    border-radius: 15px;
}

.music-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(52, 73, 94, 0.8);
    border: 3px solid rgba(236, 240, 241, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 1000;
    touch-action: manipulation;
}

.music-button:hover, .music-button:active {
    background: rgba(52, 73, 94, 1);
    border-color: rgba(236, 240, 241, 1);
    transform: scale(1.1);
}

.music-button.muted {
    background: rgba(231, 76, 60, 0.8);
    border-color: rgba(231, 76, 60, 0.9);
}

.music-button.muted:hover, .music-button.muted:active {
    background: rgba(231, 76, 60, 1);
}