/* V15 — only visual/mobile roulette page. Base game, wallet, signal code untouched. */
@media(max-width:900px), (hover:none) and (pointer:coarse){
 body.rs-game-page #rs-game-main{min-height:0!important;padding:0 0 24px!important}
 body.rs-game-page #rs-game-main .rs-game-intro{padding-top:5px!important;padding-bottom:0!important;margin-bottom:0!important;min-height:0!important}
 body.rs-game-page #rs-game-main .rs-game-intro>h1{margin-top:2px!important;margin-bottom:4px!important}
 body.rs-game-page #rs-game-main .rs-game-intro>p{margin-top:0!important;margin-bottom:5px!important}
 body.rs-game-page #rs-game-main .rs-game-stage,
 body.rs-game-page #rs-game-main .rs-game-stage.rs-mobile-game-stack{position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;min-height:0!important;height:auto!important;margin:0 auto!important;padding-top:4px!important;padding-bottom:24px!important}
 /* Old mobile files reserve 970/1050px in a full-sized decorative layer. It should not occupy flow space. */
 body.rs-game-page #rs-game-main .rs-game-stage>.rs-future-layer,
 body.rs-game-page #rs-game-main .rs-game-stage>.rs-future-layer.rs-signal-active{
   position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;
   display:block!important;height:0!important;min-height:0!important;max-height:0!important;
   width:100%!important;overflow:visible!important;pointer-events:none!important;z-index:0!important;
 }
 body.rs-game-page #rs-game-main .rs-mobile-game-stack>.rs-left-signal-table,
 body.rs-game-page #rs-game-main .rs-mobile-game-stack>.rs-left-signal-table.is-collapsed{
   position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
   order:1!important;display:block!important;flex:0 0 auto!important;transform:none!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   scroll-margin-top:12px!important;
 }
 body.rs-game-page #rs-game-main .rs-mobile-game-stack>.rs-roulette-hud.is-signal-wheel{
   position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
   order:2!important;flex:0 0 auto!important;margin:6px auto 0!important;
   transform:none!important;pointer-events:auto!important
 }
 /* Button on top of the gaming page; regular scrolling is never blocked. */
 #rs-mobile-fit-link{display:flex!important;justify-content:center;align-items:center;gap:9px;width:max-content;max-width:calc(100% - 18px);margin:6px auto 9px;padding:9px 16px;border:1px solid #4dcee2;border-radius:999px;background:#102c3b;color:#dffcff;font:700 12px/1.2 system-ui,sans-serif;box-shadow:0 3px 18px rgba(42,205,240,.13);cursor:pointer;touch-action:manipulation}
 #rs-mobile-fit-link:focus-visible{outline:2px solid #ffe08a;outline-offset:3px}
 #rs-mobile-fit-link .rs-mobile-arrow{font-size:21px;line-height:1}
 /* Compact layout activated by arrow: fit more of 0..36 into a small viewport, without scaling/locking scrolling. */
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack>.rs-left-signal-table{padding:6px 7px 7px!important;border-radius:12px!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-left-head{gap:2px!important;margin-bottom:4px!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-left-head strong{font-size:11px!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-left-head span{font-size:9px!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-table-head-actions button{min-height:24px!important;padding:3px 7px!important;font-size:10px!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-strategy-row{gap:2px!important;margin-bottom:5px!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-strategy-row button{min-height:23px!important;padding:2px 1px!important;font-size:9px!important;line-height:1.05!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-table-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:clamp(20px,3.55dvh,27px)!important;gap:2px!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-table-num,
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-table-num.zero{height:100%!important;min-height:0!important;padding:2px 2px 4px!important;font-size:clamp(12px,3vw,15px)!important;border-radius:5px!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-left-foot{margin-top:4px!important;gap:4px!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-table-zoom button{min-height:24px!important;min-width:25px!important;padding:2px 4px!important}
 body.rs-game-page #rs-game-main.rs-mobile-fit-active .rs-mobile-game-stack .rs-last-info{font-size:9px!important;line-height:1.15!important}
}
@media(min-width:901px) and (hover:hover) and (pointer:fine){#rs-mobile-fit-link{display:none!important}}
@media(prefers-reduced-motion:reduce){#rs-mobile-fit-link{scroll-behavior:auto}}
