.game-screen-bar {display:none}
html:has(#playScreen:is(.rl-cinema,.cn-cinema,.tg-cinema):not(.hidden)),
body:has(#playScreen:is(.rl-cinema,.cn-cinema,.tg-cinema):not(.hidden)) {overflow:hidden;overscroll-behavior:none}
#playScreen:is(.rl-cinema,.cn-cinema,.tg-cinema):not(.hidden) {
  --screen-bar:calc(46px + env(safe-area-inset-top));
  position:fixed;inset:0!important;height:100dvh;z-index:95;overflow:hidden;overscroll-behavior:none;
}
body:has(#playScreen:is(.rl-cinema,.cn-cinema,.tg-cinema):not(.hidden)) :is(#pdbMobileNav,.bottom-jogar,.fixed:has(> #chatHelpBtn)) {display:none!important}
#playScreen:is(.rl-cinema,.cn-cinema,.tg-cinema) :is(.jw-tabs-wrap,#playBack) {display:none!important}
#playScreen:is(.rl-cinema,.cn-cinema) > .game-screen-bar {
  display:flex;align-items:center;justify-content:space-between;position:fixed;inset:0 0 auto;height:var(--screen-bar);
  padding:env(safe-area-inset-top) max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left));
  background:#180f09;color:#ffe9b0;z-index:52;
}
.game-screen-bar button {min-height:42px;padding:0 10px;font-weight:700}
.roulette-views {display:none}
#playScreen #ptabPanel3.rl-cinema,#playScreen #ptabPanel4.cn-cinema:not(.hidden) {
  inset:var(--screen-bar) 0 env(safe-area-inset-bottom)!important;overflow:hidden;padding:0;
}
#playScreen #ptabPanel4.cn-cinema:not(.hidden) {align-items:center;grid-template-rows:minmax(0,1fr)}
#playScreen #ptabPanel4.cn-cinema #cnRoot {--cnSquareReels:0;width:100%;max-width:none}
#playScreen #ptabPanel5.tg-cinema {inset:0!important}
#playScreen #ptabPanel3.rl-cinema > p {display:none}
#playScreen #ptabPanel3.rl-cinema #rlRoot {position:absolute;inset:0;max-width:none;margin:0;padding:4px;display:grid;place-items:center;overflow:hidden}
@media (max-width:767px), (max-width:950px) and (max-height:540px) {
  #playScreen.rl-cinema .roulette-views {display:flex;gap:2px}
  .roulette-views [aria-pressed=true] {color:#211606;background:#edce7c;border-radius:20px}
  #playScreen #ptabPanel3 #rlstageWrap,#playScreen #ptabPanel3 #rlstage {height:100%!important;width:100%!important;min-height:0}
  #playScreen #ptabPanel3 #rlstage {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto auto;grid-template-areas:"logo" "wheel" "result" "history" "tools";gap:4px;padding:5px;overflow:hidden}
  #playScreen #ptabPanel3 #rlwheelBox,#playScreen #ptabPanel3 #rlaxisHole {height:auto;align-self:center;width:min(100%,calc(100dvh - 238px));max-height:100%;aspect-ratio:1}
  #ptabPanel3[data-view=wheel] :is(#rlbettingTable,#rlconsole),
  #ptabPanel3:is([data-view=table],[data-view=bets]) #rlstage > :is(#rlclock,#rllogo,#rlwheelBox,#rlaxisHole,#rlpanelResult,#rlhistBox,#rlsideRail),
  #ptabPanel3[data-view=table] #rlconsole,#ptabPanel3[data-view=bets] #rlbettingTable {display:none!important}
  #playScreen #ptabPanel3:is([data-view=table],[data-view=bets]) #rlstage {grid-template-rows:minmax(0,1fr);grid-template-areas:"active"}
  #playScreen #ptabPanel3 #rlstage > :is(#rlbettingTable,#rlconsole) {grid-area:active;height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;justify-content:flex-start}
  #playScreen #ptabPanel3 #rlconsole > * {flex-shrink:0}
}
