/* Mobile Okey: avoid text selection/context menu on game controls. */
@media (max-width:700px){
 #root main.gameScreen button,#root main.gameScreen .centerDeck,#root main.gameScreen .rackSlot{user-select:none!important;-webkit-user-select:none!important;-webkit-touch-callout:none!important;}
 #root main.gameScreen .centerDeck.drawSource:not(.stockEmpty){outline:3px solid #ff4545!important;outline-offset:2px!important;animation:darkDrawDeckPulse 1.15s ease-in-out infinite!important;}
}
@keyframes darkDrawDeckPulse{0%,100%{outline-color:#e92332;box-shadow:0 0 0 0 #ff363655,0 0 6px #ff3030a0;}50%{outline-color:#ffacac;box-shadow:0 0 0 7px #ff363600,0 0 22px #ff3434ee;}}
@media(prefers-reduced-motion:reduce){#root main.gameScreen .centerDeck.drawSource{animation:none!important;}}

/* Center the four-item Okey game toolbar on phones without stretching buttons. */
@media(max-width:700px){
 html body #root main.gameScreen .topbar .darkGameBar{width:min(100%,420px)!important;max-width:calc(100vw - 24px)!important;margin-inline:auto!important;float:none!important;}
 html body #root main.gameScreen .topbar .darkGameBarActions{display:flex!important;justify-content:center!important;gap:8px!important;width:100%!important;}
 html body #root main.gameScreen .topbar .darkGameBarActions>button,html body #root main.gameScreen .topbar .darkGameBarActions>details{flex:0 1 92px!important;min-width:0!important;}
 html body #root main.gameScreen .topbar:has(>.darkGameBar){display:flex!important;justify-content:center!important;align-items:center!important;}
}
