/* mobile.css — chỉ có tác dụng khi mobile.js bật (html.mob-on) hoặc cho các bảng DOM của mobile.js */
.mob-probe { position: fixed; left: 0; top: 0; width: 0; height: 0; visibility: hidden; pointer-events: none;
  padding: var(--safe-area-inset-top, env(safe-area-inset-top)) var(--safe-area-inset-right, env(safe-area-inset-right)) var(--safe-area-inset-bottom, env(safe-area-inset-bottom)) var(--safe-area-inset-left, env(safe-area-inset-left)); }
html.mob-on, html.mob-on body { touch-action: none; overscroll-behavior: none; -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; position: fixed; inset: 0; width: 100%; height: 100%; }
html.mob-on canvas { cursor: default; }
.mob-panel { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 20;
  background: rgba(7, 8, 12, .72); font-family: BarlowC, 'Arial Narrow', sans-serif; font-weight: 700; color: #f3eddc; touch-action: manipulation; }
.mob-panel.show { display: flex; }
.mob-card { width: min(92vw, 500px); max-height: calc(100vh - 24px - var(--safe-area-inset-top, env(safe-area-inset-top)) - var(--safe-area-inset-bottom, env(safe-area-inset-bottom))); overflow-y: auto; background: rgba(24,26,36,.94); border: 2px solid #07080c; border-radius: 18px;
  box-shadow: 0 0 0 2px #3a3e4e inset, 0 10px 30px rgba(0,0,0,.5); padding: 14px 16px 16px; box-sizing: border-box; }
.mob-title { font-family: Bungee, sans-serif; font-size: 22px; text-align: center; color: #ffc61a; margin-bottom: 10px; }
.mob-acts { display: flex; gap: 8px; margin-bottom: 12px; }
.mob-big { flex: 1; min-height: 48px; font: inherit; font-size: 17px; color: #f3eddc; background: #2b2f3d; border: 2px solid #07080c; border-radius: 14px; }
.mob-big.mob-go { background: #ffc61a; color: #14151c; }
.mob-sub { font-size: 14px; letter-spacing: 1px; color: #a3a9b8; margin: 4px 0 6px; }
.mob-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: 15px; }
.mob-seg { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.mob-seg button { min-height: 40px; min-width: 48px; padding: 0 12px; font: inherit; font-size: 15px; color: #d8d2c0; background: #262936; border: 2px solid #07080c; border-radius: 20px; }
.mob-seg button.on { background: #ffc61a; color: #14151c; }
.mob-kb { position: fixed; left: 50%; bottom: max(10px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom))); transform: translateX(-50%); display: none; gap: 6px; z-index: 15; }
.mob-kb.show { display: flex; }
.mob-kb.top { top: max(8px, var(--safe-area-inset-top, env(safe-area-inset-top))); bottom: auto; }   /* DT-NGANG 28/11: điện thoại ngang -> ô mã phòng chỉ hiện khi bấm ô NHẬP MÃ, nằm mép trên (không che nút TẠO PHÒNG, bàn phím ảo không che) */
.mob-kb input { width: 150px; height: 44px; font: 700 22px BarlowC, sans-serif; letter-spacing: 4px; text-align: center; text-transform: uppercase;
  color: #f3eddc; background: #14151c; border: 3px solid #07080c; border-radius: 8px; -webkit-user-select: text; user-select: text; }
.mob-kb button { height: 50px; padding: 0 18px; font: 700 20px BarlowC, sans-serif; background: #ffc61a; color: #14151c; border: 3px solid #07080c; border-radius: 8px; }
.mob-note { margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.35; color: #a3a9b8; }
@media (max-height: 430px) { .mob-card { padding: 10px 14px; } .mob-title { font-size: 18px; margin-bottom: 6px; } .mob-acts { margin-bottom: 6px; } .mob-big { min-height: 42px; } .mob-row { padding: 2px 0; } .mob-seg button { min-height: 36px; } .mob-note { display: none; } }

/* CG-FULL 28/11: chặn chọn chữ / kính lúp trên máy tính bảng (luật CrazyGames); ô nhập vẫn chọn được. Vùng an toàn: biến --safe-area-inset-* của app CrazyGames, không có thì env() */
body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
input, textarea { -webkit-user-select: text; -moz-user-select: text; user-select: text; }
