/* Contenedor principal del juego */
#sml-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #121212; /* Fondo oscuro tipo arcade */
    padding: 20px;
    border-radius: 10px;
    border: 4px solid #333;
    margin: 20px auto;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    overflow: hidden;
}

/* Título estilo retro */
#sml-container h2 {
    color: #ff007b;
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 2px 2px #00f2ff;
}

/* Estilo del Canvas */
#smlCanvas {
    background-color: #000;
    image-rendering: pixelated; /* Mantiene los sprites nítidos */
    max-width: 100%;
    height: auto;
    border: 2px solid #444;
    cursor: crosshair;
    display: block;
}

/* Bloqueo visual para evitar que el scroll distraiga */
body.sml-playing {
    overflow: hidden;
}

/* Leyenda de controles debajo del juego */
.controls-hint {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: #1e1e1e;
    border-radius: 5px;
    font-family: sans-serif;
    font-size: 12px;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.p1-label { color: #00f2ff; font-weight: bold; }
.p2-label { color: #ff007b; font-weight: bold; }

/* Efecto de pantalla de carga/inicio (Overlay) */
.sml-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
}

/* Estilos para el área de administración de WordPress */
.sml-admin-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin-top: 20px;
}