/* casse.css — casse-brique à découverte (canvas plein écran, portrait) */
.casse { position: absolute; inset: 0; padding-bottom: env(safe-area-inset-bottom); background: linear-gradient(180deg, var(--encre), #000); overflow: hidden; }
.casse__canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: none; }
.casse__aide {
  position: absolute; left: 16px; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); margin: 0; text-align: center; pointer-events: none;
  font-family: var(--police-titre); font-weight: 700; font-size: 16px; color: var(--encre); background: rgba(255,255,255,.9); border-radius: 14px; padding: 10px 14px;
  transition: opacity .3s ease; box-shadow: var(--ombre);
}
.casse__aide--cachee { opacity: 0; }
.casse__fin {
  position: absolute; left: 16px; right: 16px; top: 42%; z-index: 4; text-align: center; pointer-events: none;
  font-family: var(--police-titre); font-weight: 800; font-size: clamp(24px, 7.5vw, 36px); color: var(--primaire); background: rgba(255,255,255,.94); border-radius: var(--rayon); padding: 16px; box-shadow: var(--ombre);
  animation: mc-pop .35s cubic-bezier(.2, 1.4, .4, 1);
}
.casse__fin[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .casse__fin { animation: none; } }
