/* =============================================
   LABIRINTO.CSS – Estilos do jogo "Labirinto"
   Depende de css/global.css e css/games/_base.css.
   ============================================= */

html, body {
  --game-bg: linear-gradient(135deg, #11998E 0%, #38EF7D 100%);
  display: flex; flex-direction: column;
}

.game-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 50px 14px 8px; gap: 8px; flex-shrink: 0; z-index: 100;
}

#canvas-wrap {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 14px 66px;
}
canvas {
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  background: #fff;
  display: block;
  max-width: 100%; max-height: 100%;
  touch-action: none;
}

.path-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.28);
  transition: background .3s, transform .3s;
}
.path-dot.done  { background: rgba(255,255,255,0.9); transform: scale(1.25); }
.path-dot.fail  { background: rgba(255,80,80,0.8); }
