#mobile-chat, #poker-mobile-hand { display: none; }
#blackjack-bet { grid-template-columns: minmax(0, 13rem) auto; justify-content: start; align-items: end; }
#blackjack-clock { color: var(--gold); white-space: nowrap; }
@media (max-width: 58rem) {
  body { padding-bottom: 3rem; }
  #mobile-chat { display: block; position: fixed; z-index: 12; right: .8rem; bottom: .7rem; background: #182a21; color: #f2eade; }
  #chat:not(.mobile-chat-open) { display: none; }
  #chat.mobile-chat-open { position: fixed; z-index: 11; left: .7rem; right: .7rem; bottom: 3.9rem;
    max-height: calc(65dvh - 3rem); overflow-y: auto; box-shadow: 0 .6rem 2rem #07100b; }
  #chat #messages { min-height: 4rem; max-height: 28dvh; }
  #chat-toggle { display: none; }
  .mobile-actions { position: sticky; bottom: 3.65rem; z-index: 5; padding: .65rem; border: 1px solid #647665;
    border-radius: .6rem; background: #13291f; box-shadow: 0 .3rem .9rem #0b2017; }
  .mobile-actions button { padding: .55rem .65rem; }
  .poker-dock:has(#poker-mobile-hand[hidden]):has(.poker-actions:empty) { display: none; }
  #poker-mobile-hand { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .5rem; }
  #poker-mobile-hand .cards { margin: 0; }
  #poker-mobile-clock { color: #ffe0a6; }
  #poker-mobile-clock.urgent-clock { color: #19140b; background: #ffbd6d; padding: .35rem; border-radius: .35rem; }
  .roulette-dock .chips { gap: .4rem; }
  .roulette-dock .chip { width: 2.45rem; height: 2.45rem; padding: 0; }
  .roulette-dock #draft-total { margin: .35rem 0; }
  #blackjack-bet { grid-template-columns: minmax(0, 1fr) auto; }
}
