/* Controles táctiles (de Escape). Semitransparentes para no tapar el juego; todos adentro de la pantalla, de pie y acostado. */
.tctl[hidden] { display: none !important; }
.tctl { position: fixed; z-index: 5; touch-action: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
#tPalanca { width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: rgba(10, 20, 17, .22); border: 1.5px solid rgba(255, 255, 255, .45); pointer-events: none; }
#tPalanca i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.tbtn { pointer-events: auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(10, 20, 17, .42); border: 1.5px solid rgba(255, 255, 255, .6); color: #f6f3ea; font-weight: 800; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.tbtn b { pointer-events: none; font-size: 12px; letter-spacing: .18em; margin-right: -.18em; }
.tbtn em { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 11px; background: #8fe1d6; color: #0d1714; font-style: normal; font-size: 13px; line-height: 22px; text-align: center; text-shadow: none; pointer-events: none; }
.tbtn em:empty { display: none; }
.tbtn.abajo { transform: scale(1.06); background: rgba(255, 255, 255, .22); border-color: #fff; }
#tSaltar { width: 104px; height: 104px; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); border-color: #8fe1d6; }
#tSaltar b { font-size: 14px; }
#tTirar { width: 74px; height: 74px; right: calc(max(20px, env(safe-area-inset-right)) + 15px); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 120px); }
#tUsar { width: 78px; height: 78px; right: calc(max(20px, env(safe-area-inset-right)) + 118px); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 14px); }

body.tactil #hud kbd { display: none; }
body.tactil #opciones { width: 46px; height: 46px; font-size: 16px; }
body.tactil #tirarAyuda { display: none; }
body.tactil #ayuda { bottom: auto; top: 30vh; }
body.tactil #usarAviso { bottom: 46vh; }
@media (orientation: portrait) {
  body.tactil #hud { font-size: clamp(11px, 1.7vh, 17px); }
  body.tactil #avisos { top: 16vh; }
}
@media (max-height: 420px) {
  #tSaltar { width: 92px; height: 92px; }
  #tTirar { width: 66px; height: 66px; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 104px); }
  #tUsar { width: 70px; height: 70px; right: calc(max(20px, env(safe-area-inset-right)) + 104px); }
}
