
/* Full-screen game overlay: outside transformed app stacking context */
#game-shells{position:fixed!important;inset:0!important;z-index:2147483000!important;pointer-events:none!important;isolation:isolate!important}
#game-shells .fscreen{position:absolute!important;inset:0!important;z-index:1!important;display:none!important;pointer-events:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding-bottom:calc(18px + env(safe-area-inset-bottom))!important;min-height:100dvh!important;max-height:100dvh!important}
#game-shells .fscreen.active{display:flex!important}
#game-shells .fs-head{position:sticky!important;top:0!important;z-index:5!important;flex:0 0 auto!important;padding-top:calc(12px + env(safe-area-inset-top))!important;backdrop-filter:blur(18px)!important}
#game-shells .crash-stage{flex:0 0 auto!important}
#game-shells .mines-board{flex:0 0 auto!important}
#game-shells button,#game-shells input,#game-shells select{touch-action:manipulation}
#game-shells .hide{display:none!important}
#game-shells .game-panel{margin:12px;padding:14px;border:1px solid rgba(186,145,255,.2);border-radius:20px;background:linear-gradient(145deg,rgba(42,29,68,.72),rgba(15,12,25,.92));box-shadow:0 10px 28px rgba(0,0,0,.22)}
#game-shells .hokm-status,#game-shells .pvp-status{padding:10px 12px;border-radius:13px;background:rgba(111,76,160,.16);color:#bff7eb;font-size:12px;text-align:center}
#game-shells .hokm-hand{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:12px}
#game-shells .hokm-card{min-height:58px;border-radius:11px;border:1px solid rgba(255,255,255,.25);background:linear-gradient(145deg,#fff8e9,#d8c9ad);color:#211a24;font-weight:900;font-size:13px;box-shadow:0 4px 0 #766a60}
#game-shells .hokm-card.red{color:#c22e54}
#game-shells .hokm-card:disabled{opacity:.4}
#game-shells .hokm-trick{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;min-height:76px;align-items:center;text-align:center}
#game-shells .hokm-trick span{padding:12px 3px;border-radius:12px;background:rgba(255,255,255,.06);font-size:13px}
#game-shells .hokm-action{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px}
#game-shells .hokm-action .btn{flex:1 1 40%}
#game-shells .pvp-moves{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:12px}
#game-shells .pvp-moves button{min-height:80px;border-radius:17px;border:1px solid rgba(200,160,255,.28);background:linear-gradient(145deg,#3d2862,#171127);color:white;font-size:25px}
#game-shells .pvp-moves small{display:block;font-size:11px;margin-top:5px}
@media(max-height:650px){#game-shells .hokm-home{min-height:0!important}.crash-stage{height:220px!important}}
