/* PROTOTYPE - NOT FOR PRODUCTION */
html, body { margin: 0; height: 100%; background: #05070a; overflow: hidden; overscroll-behavior: none;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
body { font-variant-numeric: tabular-nums; }
canvas { display: block; margin: 0 auto; }
/* touch-action no se hereda y el menú de pulsación larga se decide por elemento: se fija en todos */
* { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
#touch { position: fixed; inset: 0; pointer-events: none; }
#touch[hidden] { display: none; }
#stickzone { position: absolute; left: 0; bottom: 0; width: 42%; height: 75%; pointer-events: auto; }
#stickbase { position: absolute; width: 128px; height: 128px; margin: -64px 0 0 -64px; border-radius: 50%;
  border: 2px solid rgba(232,224,204,.35); background: rgba(5,7,10,.25);
  left: calc(env(safe-area-inset-left) + 100px); top: calc(100% - env(safe-area-inset-bottom) - 100px); }
#stickknob { position: absolute; left: 36px; top: 36px; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(232,224,204,.4); }
.tb { position: absolute; width: 76px; height: 76px; border-radius: 50%; pointer-events: auto; touch-action: none;
  border: 2px solid rgba(232,224,204,.5); background: rgba(5,7,10,.4); color: #e8e0cc;
  font: 700 12px system-ui, sans-serif; padding: 0; -webkit-tap-highlight-color: transparent; }
.tb.on { background: rgba(255,138,42,.55); }
#b-jump { right: calc(env(safe-area-inset-right) + 22px); bottom: calc(env(safe-area-inset-bottom) + 22px); width: 88px; height: 88px; }
#b-atk  { right: calc(env(safe-area-inset-right) + 122px); bottom: calc(env(safe-area-inset-bottom) + 36px); width: 82px; height: 82px; }
#b-dash { right: calc(env(safe-area-inset-right) + 30px); bottom: calc(env(safe-area-inset-bottom) + 124px); }
#b-fire { right: calc(env(safe-area-inset-right) + 126px); bottom: calc(env(safe-area-inset-bottom) + 132px); width: 70px; height: 70px; }
#b-heal { right: calc(env(safe-area-inset-right) + 214px); bottom: calc(env(safe-area-inset-bottom) + 30px); width: 62px; height: 62px; }
.tb.small { right: calc(env(safe-area-inset-right) + 12px); top: calc(env(safe-area-inset-top) + 8px); width: auto; height: 34px;
  border-radius: 17px; padding: 0 14px; }
@media (max-height: 360px) { .tb { transform: scale(.88); } }
/* pantalla de girar: mismos colores, letra y brasa que el juego */
#rotate { display: none; position: fixed; inset: 0; z-index: 50; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; color: #e8e0cc; font-family: Georgia, "Times New Roman", serif;
  background: radial-gradient(ellipse at 50% 62%, rgba(255,138,42,.22), transparent 55%), linear-gradient(#0d1a26, #05070a 80%); }
#rotate h1 { margin: 34px 0 6px; font-size: 44px; font-weight: normal; letter-spacing: 6px; color: #ffc266; text-shadow: 0 0 24px rgba(255,150,60,.55); }
#rotate p { margin: 0; font-size: 21px; line-height: 1.4; max-width: 15em; }
#rotate small { margin-top: 14px; font-size: 15px; font-style: italic; color: #a9b8bd; }
.rot-phone { width: 62px; height: 104px; border: 3px solid #e8e0cc; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(232,224,204,.08); animation: girar 2.6s ease-in-out infinite; }
.rot-phone i { width: 20px; height: 28px; background: #ff8a2a; border-radius: 50% 50% 50% 50% / 68% 68% 32% 32%; box-shadow: 0 0 26px 8px rgba(255,150,60,.5); }
@keyframes girar { 0%, 25% { transform: rotate(0); } 55%, 85% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
@media (orientation: portrait) and (pointer: coarse) { #rotate { display: flex; } }
/* mientras se descargan los archivos (antes de que arranque la animación en el lienzo) */
#splash { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
#splash i { width: 22px; height: 30px; background: #ff8a2a; border-radius: 50% 50% 50% 50% / 68% 68% 32% 32%; box-shadow: 0 0 34px 10px rgba(255,150,60,.45); animation: latido .9s ease-in-out infinite alternate; }
@keyframes latido { from { transform: scale(.8); opacity: .6; } to { transform: scale(1.15); opacity: 1; } }
