/* CONCEPT: A JORNADA DO HERÓI — style.css */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; background: #07050c; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
#wrap { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; }
#game {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  box-shadow: 0 0 0 2px #1a1426, 0 12px 60px rgba(0, 0, 0, 0.8);
}

/* ---------- Controles de toque ---------- */
#touch { display: none; position: fixed; inset: 0; pointer-events: none; font-family: "Pixelify Sans", monospace; }
#touch.on { display: block; }
#stick {
  position: absolute; left: 18px; bottom: 18px; width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 2px solid rgba(242, 201, 76, 0.4); pointer-events: auto;
}
#knob {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: rgba(242, 201, 76, 0.35); border: 2px solid rgba(242, 201, 76, 0.8);
}
#buttons {
  position: absolute; right: 14px; bottom: 14px; display: grid; grid-template-columns: repeat(3, 58px); gap: 8px; pointer-events: auto;
}
.b {
  width: 58px; height: 58px; border-radius: 50%; border: 2px solid rgba(242, 201, 76, 0.7); background: rgba(20, 16, 40, 0.55);
  color: #fff2c0; font: 700 18px "Pixelify Sans", monospace; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.b small { font-size: 9px; font-weight: 400; opacity: 0.8; margin-top: 2px; }
.b.big { background: rgba(200, 64, 46, 0.5); }
.b.panda { background: rgba(240, 240, 255, 0.25); }
.b.pressed { background: rgba(242, 201, 76, 0.55); color: #140c18; }
.b.pause { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; font-size: 14px; pointer-events: auto; }
