/* Prisma — estilos do shell. O jogo todo é desenhado no canvas. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  height: 100%;
  overflow: hidden;
  background: #04050a;
  -webkit-tap-highlight-color: transparent;
}
#game {
  display: block;
  width: 100vw;
  height: 100vh;
  touch-action: none;          /* sem scroll/zoom por toque — controle total do canvas */
  cursor: pointer;
}

/* tela de carregamento (some quando o boot + Poki SDK terminam) */
#loading {
  position: fixed; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(120% 90% at 50% 30%, #0b1030 0%, #070a18 55%, #04050a 100%);
  font: 600 14px system-ui, "Segoe UI", sans-serif; color: #a78bfa;
  transition: opacity .45s ease;
}
#loading.hidden { opacity: 0; pointer-events: none; }
.ltitle {
  font-size: 38px; font-weight: 800; letter-spacing: 4px; color: #e9d5ff;
  text-shadow: 0 0 28px #8b5cf6, 0 0 6px #67e8f9;
}
.lsub { margin-top: 6px; color: #5b6b80; letter-spacing: 1px; }
.lbar {
  width: 210px; height: 6px; margin-top: 22px; overflow: hidden;
  background: rgba(167, 139, 250, .15); border-radius: 3px;
}
.lfill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  border-radius: 3px; transition: width .2s ease;
}
