/* Celular e telas de toque: vistas do painel, alvos de toque maiores e área segura (PWA). */
.mobile-view-toggle{display:none}

@media (max-width:800px){
  .mobile-view-toggle{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;font:600 10px var(--font-mono);white-space:nowrap;border:1px solid #5a1426;background:#1c0509;color:#ffd1da}
  .session-actions #collapseSidebar{display:none}
  #layout[data-mobile-view=map]{grid-template-rows:100%}
  #layout[data-mobile-view=map] #tableSidebar{display:none}
  #layout[data-mobile-view=panel]{grid-template-rows:100%}
  #layout[data-mobile-view=panel] #board{display:none}
  #layout[data-mobile-view=panel] #tableSidebar{border-top:0}
  #tableSidebar{padding-bottom:env(safe-area-inset-bottom)}
  #game header{padding-top:max(8px,env(safe-area-inset-top))}
}

@media (pointer:coarse){
  .table-tabs button,.session-actions button,.dice-tray button,.dice-options button,.sheet-list button,.sheet-toolbar button,.sheet-new>summary,.roll-btn,#send,#roll{min-height:44px}
  .roll-btn{min-width:44px}
  .sheet-group input,.sheet-group select,.sheet-group textarea,#message,#dice{min-height:44px;font-size:16px}
  #toolButtons button{width:44px;height:44px}
  #zoomControls button{min-width:44px;min-height:44px}
}

@media (display-mode:standalone){
  body{overscroll-behavior:none}
}
