#labyrintheCanvas {
    background-color: #1F1F1F;
    display: block;
    margin: 30px auto;
    box-shadow: 0 0 20px #0ff;

    /* RESPONSIVE */
    max-width: 90vw;
    width: 600px;
    height: auto;
    aspect-ratio: 1 / 1;
    touch-action: none;
}

.labyrinthe-levels button {
    margin: 5px;
}

.labyrinthe-result-ok,
.labyrinthe-result-no {
    margin: 10px auto;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    max-width: 600px;
}

.labyrinthe-result-ok {
    border: 1px dashed lightgreen;
    color: white;
}

.labyrinthe-result-no {
    border: 1px dashed lightcoral;
    color: white;
}

/* === CONTROLES MOBILE === */
.mobile-controls {
    display: none;
    margin-top: 15px;
    text-align: center;
}

.mobile-controls > div {
    display: flex;
    justify-content: center;
}

.mobile-controls button {
    font-size: 26px;
    padding: 14px 20px;
    margin: 6px;
    border-radius: 12px;
    border: none;
    background: #1E90FF;
    color: #fff;
    min-width: 64px;
}

.titre {
	margin:15px auto 8px auto;
	font-size: 14px;
	font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
    #labyrintheCanvas {
        width: 95vw;
    }

    .mobile-controls {
        display: block;
    }
}
