/* Cândido Adventure V4.17 — telas de entrada dos minigames. */
#ca-minigame-loading{position:fixed;inset:0;z-index:3000005;box-sizing:border-box;background:#164b80 url('imagens/ilhas/fundo-arquipelago-candido.png') center/cover no-repeat;display:none;align-items:center;justify-content:center;padding:18px;color:#fff;text-align:center;font:800 18px/1.35 'Trebuchet MS',Arial,sans-serif;pointer-events:auto}
#ca-minigame-loading.ca-show{display:flex}
#ca-minigame-loading .ca-minigame-loading-body{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;max-width:92vw}
#ca-minigame-loading img{width:min(290px,75vw);height:auto;max-height:32dvh;object-fit:contain;filter:drop-shadow(0 7px 16px #0007)}
#ca-minigame-loading .ca-minigame-spinner{width:58px;height:58px;box-sizing:border-box;border:6px solid #ffffff60;border-top-color:#ffe590;border-radius:50%;animation:ca-minigame-spin .85s linear infinite}
#ca-minigame-loading #ca-minigame-loading-msg{font-size:13px;font-weight:600;opacity:.93}
@keyframes ca-minigame-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#ca-minigame-loading .ca-minigame-spinner{animation:none}}
/* Botões de Falas, Inventário e Efeito: alvos de toque maiores, sem mexer na navegação do cenário. */
@media (pointer:coarse),(max-width:700px){
 html body #ca-adventure-plaza .plaza-control{gap:7px!important;max-width:62px!important}
 html body #ca-adventure-plaza :is(#plaza-talk-toggle,#plaza-inventory,#plaza-power-toggle),
 html body #candido-arena .arena-speech-controls > :is(#arena-speech-toggle,.ca-room-inventory-button,.ca-equip-power-button),
 html body #ca-ha .ha-speech > :is(#ha-speech-toggle,.ca-room-inventory-button,.ca-equip-power-button),
 html body #ca-hall .hall-control > :is(#hall-talk-toggle,.ca-room-inventory-button,.ca-equip-power-button),
 html body #ca-dream-rooms .ha-speech > :is(#ca-room-speech-toggle,.ca-room-inventory-button,.ca-equip-power-button){
  box-sizing:border-box!important;
  width:52px!important;min-width:52px!important;max-width:52px!important;
  height:52px!important;min-height:52px!important;max-height:52px!important;
  padding:0!important;font-size:26px!important;line-height:1!important;
  display:grid!important;place-items:center!important;flex:0 0 52px!important;
  touch-action:manipulation!important;
 }
 html body :is(#candido-arena .arena-speech-controls,#ca-ha .ha-speech,#ca-hall .hall-control,#ca-dream-rooms .ha-speech){gap:7px!important;max-width:62px!important}
 html body #candido-arena>.ca-room-inventory-button{width:52px!important;height:52px!important;font-size:26px!important}
}
