*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#101a25;color:#f3f5f7;font-family:system-ui,sans-serif}#game{display:block;width:100%;height:100%;touch-action:none}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:10px;background:#facc15;color:#171a22;padding:12px 18px;font-weight:800}input{display:block;width:100%;padding:12px;background:#111d2c;border:1px solid #4b6077;border-radius:8px;color:white;margin:7px 0 16px}#status{position:fixed;top:max(72px,calc(env(safe-area-inset-top) + 64px));left:50%;transform:translateX(-50%);background:#07121acc;border-radius:7px;padding:5px 12px;font-size:11px;pointer-events:none;z-index:1100}#fallback{position:fixed;inset:0;pointer-events:none}#score{position:absolute;top:42px;left:50%;transform:translateX(-50%);font-size:24px;font-weight:800;text-shadow:0 2px 4px #000}#crosshair{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:23px;color:white}#stats{position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:20px;text-shadow:0 1px 5px #000}#actions{position:absolute;right:10px;top:42px;display:flex;gap:5px;pointer-events:auto}#actions button{font-size:11px;padding:6px 14px;background:#0e141ce0;color:#c5cdd8;border:1px solid #ffffff2e;border-radius:8px;backdrop-filter:blur(6px);box-shadow:0 4px 12px #0008}#touch{display:none}#move-pad,#look-pad{position:absolute;bottom:30px;width:130px;height:130px;border:1px solid #fff5;border-radius:50%;display:grid;place-items:center;background:#13273f55;color:#fffa;font-size:12px;pointer-events:auto;touch-action:none}#move-pad{left:25px}#look-pad{right:100px}#touch button{position:absolute;right:15px;bottom:100px;pointer-events:auto;touch-action:none;width:70px;height:60px;opacity:.85}#touch #jump{bottom:28px}#touch #reload{right:15px;bottom:175px;width:45px;height:45px}@media(pointer:coarse){#touch{display:block}#stats{bottom:175px;font-size:12px}#actions button{font-size:10px;padding:6px 10px;background:#0e141ce0;color:#c5cdd8;border:1px solid #ffffff2e;border-radius:8px}}
.sol-series-actions{position:fixed;right:12px;bottom:12px;z-index:1200;display:flex;gap:8px}.sol-series-actions button{font-size:11px;padding:6px 14px;background:#0e141ce0;color:#c5cdd8;border:1px solid #ffffff2e;border-radius:8px;backdrop-filter:blur(6px);box-shadow:0 4px 12px #0008}.sol-look-zone{display:none}@media(pointer:coarse){.sol-look-zone{display:block;position:fixed;left:50%;top:20%;width:50%;height:70%;z-index:900;touch-action:none;pointer-events:auto}.sol-series-actions{bottom:190px}}
body.entry-open #fallback,body.entry-open #game-hud,body.entry-open .sol-series-actions,body.entry-open .sol-look-zone,body.entry-open #status{display:none!important}
body:not(.entry-open) #status{display:none!important}
.leave-room-info{font-size:12px;color:#88aacc;margin:4px 0 14px 0;letter-spacing:1px;font-family:'Rajdhani','Chakra Petch',sans-serif;font-weight:700}
/* SOL integration layout: preserve Anti source, reserve distinct HUD zones. */
#leave-confirm{max-width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #49627b;border-radius:16px;padding:20px;color:#f3f5f7;background:#152233}
#leave-confirm::backdrop{background:#07121acc}#leave-confirm h2{margin-top:0}#leave-confirm>div{display:flex;flex-wrap:wrap;gap:12px}#leave-confirm-button{background:#a62f3a;color:white}
body.touch-device #status{top:100px;max-width:calc(100% - 32px);text-align:center;font-size:10px;padding:4px 8px}
body.touch-device .sol-series-actions{top:max(8px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:auto;bottom:auto}
body.touch-device .sol-series-actions button{min-height:36px;padding:8px 12px}
body.touch-device #game-hud .placar-topo{top:max(48px,calc(env(safe-area-inset-top) + 40px));max-width:calc(100% - 24px);padding:5px 12px;gap:10px;white-space:nowrap}
body.touch-device #game-hud .time-box{font-size:12px;gap:6px}body.touch-device #game-hud .pontos{font-size:22px}
body.touch-device #game-hud .topo-direita-acoes{top:max(8px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}
body.touch-device #game-hud .patrocinio-badge{display:none}
body.touch-device #game-hud .btn-desafiar{font-size:11px;padding:8px 12px;min-height:36px}
body.touch-device #game-hud .joystick-zona{width:110px;height:110px;left:max(20px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom))}
body.touch-device #game-hud .status-rodape{left:max(16px,env(safe-area-inset-left));bottom:max(140px,calc(env(safe-area-inset-bottom) + 124px));gap:8px}
body.touch-device #game-hud .vida-container{padding:6px 10px;gap:6px}body.touch-device #game-hud .vida-barra-fundo{width:70px}body.touch-device #game-hud .vida-texto{font-size:14px}
body.touch-device #game-hud .municao-container{padding:6px 10px}body.touch-device #game-hud .municao-atual{font-size:18px}
body.touch-device #game-hud .botoes-acao-touch{right:max(20px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));gap:10px}
body.touch-device #game-hud .btn-touch-acao{width:50px;height:50px}body.touch-device #game-hud .btn-touch-tiro{width:60px;height:60px}body.touch-device #game-hud .btn-touch-recarga{width:40px;height:40px}
body.touch-device #game-hud .aviso-centro{top:50%;max-width:calc(100% - 200px)}
body.touch-device #game-hud .aviso-titulo{font-size:18px;letter-spacing:1px}body.touch-device #game-hud .aviso-subtitulo{font-size:11px}
body.training-session #invite,body.training-session #game-hud .btn-desafiar{display:none!important}

/* Botão discreto no HUD — fica no core.css: o opcoes.css só carrega ao abrir Opções (sem isto, quadrado amarelo sobre o radar) (requisito de anti-hud-municao-refinamentos: right: 14px) */
.btn-hud-opcoes {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1250;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  background: rgba(11, 14, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #c3c7ce;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.15s ease;
  padding: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-hud-opcoes:hover {
  background: rgba(26, 32, 40, 0.96);
  border-color: #59626f;
  color: #ffffff;
}

@media (max-width: 480px), (max-height: 500px) {
  .btn-hud-opcoes {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

