.plateau-jeu { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cm-haut { display: flex; align-items: baseline; justify-content: center; gap: 10px; padding: 8px 0 0; }
.cm-temps { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cm-temps.presse { color: var(--g-rouge); }
.cm-limite { font-size: 12px; color: var(--g-doux); }
.cm-scene { flex: 1; min-height: 160px; position: relative; perspective: 900px; touch-action: none; cursor: grab; overflow: hidden; }
.cm-scene:active { cursor: grabbing; }
.cm-cube { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.cm-cubie { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.cm-face { position: absolute; left: 0; top: 0; padding: 6%; backface-visibility: hidden; border-radius: 12%; }
.cm-face span { display: block; width: 100%; height: 100%; border-radius: 14%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 6px 8px rgba(255, 255, 255, .25); }
.cm-commandes { padding: 4px 8px max(8px, env(safe-area-inset-bottom)); }
.cm-touches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; max-width: 520px; margin: 0 auto; }
.cm-touche {
    border: 0; border-radius: 12px; background: var(--g-carte); padding: 8px 2px; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.cm-touche:active { transform: scale(.94); }
.cm-touche strong { font-size: 17px; }
.cm-touche small { font-size: 10px; color: var(--g-doux); }
.cm-pastille { width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .25); }
