/* Roulette mobile V11 — presentation only, no strategy / wallet / wager logic */
@media (max-width: 767px) {
 html, body { max-width:100%; overflow-x:clip; }
 .rs-game-intro { width:100%; max-width:100%; padding-inline:10px!important; }
 .rs-game-intro>h1 {font-size:clamp(22px,5.5vw,30px);line-height:1.2;overflow-wrap:anywhere;}
 .rs-game-intro>p {font-size:14px;line-height:1.5;}
 .rs-game-stage {position:relative!important;min-width:0;width:100%;height:auto!important;min-height:1090px;isolation:isolate;}
 .rs-game-stage>.rs-future-layer.rs-signal-active { position:relative!important;inset:auto!important;width:100%!important;min-height:1050px;height:auto!important;overflow:visible!important;isolation:isolate;z-index:1!important;pointer-events:none; }
 .rs-game-stage .rs-roulette-hud.is-signal-wheel {position:absolute!important;left:50%!important;right:auto!important;top:12px!important;bottom:auto!important;width:min(88vw,350px)!important;opacity:.74!important;transform:translateX(-50%)!important;animation:none!important;pointer-events:none!important;}
 .rs-game-stage .rs-roulette-hud.is-signal-wheel .rs-signal-center{padding:8px!important;max-width:none;overflow-wrap:anywhere;}
 .rs-game-stage .rs-roulette-hud.is-signal-wheel .rs-signal-center>em {max-width:125px;font-size:9px;}
 .rs-game-stage .rs-roulette-hud.is-signal-wheel .rs-wheel-corner-controls{left:50%!important;right:auto!important;bottom:3px!important;transform:translateX(-50%);display:flex;max-width:min(92%,330px);width:max-content;flex-wrap:nowrap;gap:4px;}
 .rs-game-stage .rs-roulette-hud.is-signal-wheel .rs-wheel-corner-controls button {font-size:9px;padding:7px 7px;min-height:34px;}
 .rs-game-stage .rs-left-signal-table,
 .rs-game-stage .rs-left-signal-table.is-collapsed {position:absolute!important;top:375px!important;left:0!important;right:0!important;bottom:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:14px 10px 18px!important;border-radius:20px!important;box-sizing:border-box!important;overflow:visible!important;}
 .rs-game-stage .rs-left-head {display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-bottom:12px;}
 .rs-game-stage .rs-left-head strong {font-size:14px;letter-spacing:.12em;line-height:1.35;}
 .rs-game-stage .rs-left-head span{font-size:12px;line-height:1.4;}
 .rs-game-stage .rs-table-head-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
 .rs-game-stage .rs-table-head-actions button{min-height:38px;}
 .rs-game-stage .rs-strategy-row {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important;margin-bottom:14px;}
 .rs-game-stage .rs-strategy-row button {white-space:normal;overflow-wrap:anywhere;min-width:0;min-height:42px;padding:8px 3px;font-size:clamp(9px,2.6vw,12px);line-height:1.2;text-align:center;}
 .rs-game-stage .rs-table-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;grid-template-rows:auto!important;gap:5px!important;min-width:0!important;width:100%!important;}
 .rs-game-stage .rs-table-grid .rs-table-num {min-width:0!important;min-height:43px!important;font-size:clamp(11px,3.2vw,16px)!important;line-height:1.1;padding:5px 2px 12px!important;border-radius:9px;}
 .rs-game-stage .rs-table-grid .rs-table-num.zero {grid-column:1 / -1!important;grid-row:auto!important;min-height:48px!important;}
 .rs-game-stage .rs-left-foot{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:14px;min-width:0;}
 .rs-game-stage .rs-table-zoom {margin-right:0;flex-shrink:0;}
 .rs-game-stage .rs-table-zoom button{min-width:40px;min-height:42px;font-size:18px;}
 .rs-game-stage .rs-table-zoom output {font-size:12px;min-width:42px;}
 .rs-game-stage .rs-last-info {width:100%;min-width:0;max-width:100%;font-size:11px;line-height:1.5;letter-spacing:.04em;white-space:normal!important;overflow-wrap:anywhere;}
 .rs-game-stage .rs-click-history{width:100%;min-width:0;max-width:100%;justify-content:flex-start;}
 .rs-game-stage .rs-click-history span{min-width:28px;min-height:28px;font-size:11px;}
 .rs-daily-chip-badge {top:76px!important;right:7px!important;max-width:142px!important;gap:5px!important;padding:6px 7px!important;border-radius:12px!important;z-index:12020!important;}
 .rs-daily-chip-badge>i {width:24px!important;height:24px!important;border-width:3px!important;flex-shrink:0;}
 .rs-daily-chip-badge b{font-size:17px!important;}
 .rs-daily-chip-badge small,.rs-daily-chip-badge .visit-bonus{font-size:8px!important;line-height:1.25!important;white-space:normal!important;}
 .rs-daily-chip-badge span{font-size:8px!important;}
 /* Floating promotional button never covers number inputs on mobile play pages */
 .af-floating{display:none!important;}
 .cc-fab{left:7px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;width:42px!important;height:42px!important;padding:0!important;font-size:0!important;display:grid;place-items:center;}
 .cc-fab::before{content:'⚙';font-size:23px;line-height:1;}
 .rs-chip-toast {bottom:calc(55px + env(safe-area-inset-bottom,0px))!important;max-width:calc(100% - 20px);min-width:0;}
 .rs-wheel-corner-controls,.rs-table-head-actions,.rs-strategy-row,.rs-table-zoom,.rs-click-history{touch-action:manipulation;}
 /* If table is collapsed keep its section actually collapsed */
 .rs-game-stage .rs-left-signal-table.is-collapsed .rs-strategy-row,
 .rs-game-stage .rs-left-signal-table.is-collapsed .rs-table-grid,
 .rs-game-stage .rs-left-signal-table.is-collapsed .rs-left-foot{display:none!important;}
}
@media (max-width: 380px){
 .rs-game-stage>.rs-future-layer.rs-signal-active{min-height:1120px!important;}
 .rs-game-stage .rs-left-signal-table{top:355px!important;}
 .rs-game-stage .rs-roulette-hud.is-signal-wheel{width:min(89vw,325px)!important;}
}
