body {
    margin: 0;
    background: black;
    font-family: 'Courier New', monospace;
}

#scene {
    position: relative;
    width: 1024px;
    height: 1024px;
    margin: auto;
}

#fondo {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

/* Rosca */
#rosca {
    position: absolute;
    width: 380px;
    height: 380px;
    top: 480px;
    left: 320px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

/* Rebanadas */
.slice {
    background-image: url("slice_pixel.png");
    background-size: cover;
    image-rendering: pixelated;
    cursor: pointer;
}

/* Panel */
#panel {
    position: absolute;
    top: 120px;
    left: 60px;
    width: 300px;
    background: rgba(120, 20, 20, 0.9);
    border: 4px solid #ffd966;
    padding: 12px;
    color: #fff;
<button id="soundBtn" onclick="toggleSonido()">🔊 Sonido ON</button>
}

#panel input, #panel textarea {
    width: 100%;
    margin-bottom: 8px;
}

#panel button {
    width: 100%;
    background: #f4c430;
    border: none;
    padding: 8px;
    cursor: pointer;
}

/* Mensaje */
#mensaje {
    position: absolute;
    bottom: 80px;
    right: 60px;
    width: 320px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 12px;
    border: 3px solid #fff;
}
/* Colores */
--panel-color
--borde-color
--texto-color

/* Tamaños */
#rosca { width, height }
.slice { tamaño rebanadas }

/* Posición */
#panel { top, left }
#mensaje { bottom, right }

body {
    cursor: url("assets/cursor.png"), auto;
}

button:hover, .slice:hover {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    #scene {
        width: 100vw;
        height: 100vh;
    }

    #panel {
        width: 90%;
        left: 5%;
        top: 10px;
    }

    #rosca {
        width: 260px;
        height: 260px;
        left: 50%;
        transform: translateX(-50%);
        top: 55%;
    }

    #mensaje {
        width: 90%;
        right: 5%;
        bottom: 10px;
    }
}
#editor {
    position: absolute;
    top: 120px;
    right: 20px;
    width: 260px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px;
    border: 3px solid #ffd966;
    font-size: 14px;
}
