/* Fullscreen controls must remain touch-sized, including on a rotated phone. */
@media(max-width:950px) and (pointer:coarse),(max-width:650px),(max-width:950px) and (max-height:500px){
 #gpPlay.fs{box-sizing:border-box;height:100dvh;max-height:100dvh;overscroll-behavior:contain;overflow-x:hidden}
 #gpPlay.fs #fsBrand:not([hidden]){display:none!important}
 #gpPlay.fs #fsExit{position:fixed;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));min-width:88px;min-height:44px;padding:8px 12px;z-index:100;font-size:13px;touch-action:manipulation}
 #gpPlay.fs #fsTitle{display:block;position:fixed;left:max(12px,env(safe-area-inset-left));right:110px;top:max(12px,env(safe-area-inset-top));z-index:90;max-height:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 14px/1.5 system-ui;color:#ffe5a3;text-shadow:0 2px 4px #000}
 #gpPlay.fs:has(.pn-game) #fsTitle{display:none}
 #gpPlay.fs .pn-game{padding-left:max(10px,env(safe-area-inset-left))!important;padding-right:max(10px,env(safe-area-inset-right))!important;padding-bottom:max(14px,env(safe-area-inset-bottom))!important}
 #gpPlay.fs:has(.pn-game) .pn-game{padding-top:calc(58px + env(safe-area-inset-top))!important}
 #gpPlay.fs:has(.quick-poker),#gpPlay.fs:has(.mobile-cabinet-console){padding-top:calc(58px + env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
 #gpPlay.fs #demoBar button,#gpPlay.fs .cr-modes button{min-height:44px;min-width:44px;touch-action:manipulation}
 #gpPlay.fs #demoBar .sl-mini{height:44px}
}
@media(max-width:650px) and (orientation:portrait){
 #gpPlay.fs:has(.snow-scene){display:flex;flex-direction:column;justify-content:center;padding:calc(58px + env(safe-area-inset-top)) 0 max(12px,env(safe-area-inset-bottom));background:#08101c}
 #gpPlay.fs:has(.snow-scene) #gpStage{display:flex;align-items:center;flex:1;min-height:0;width:100%;overflow-y:auto}
 #gpPlay.fs:has(.snow-scene) #gpInner{height:auto;min-height:0;width:100%;flex:none}
 #gpPlay.fs:has(.snow-scene) #gameArt{width:100%;flex:none}
 #gpPlay.fs:has(.candy-scene){background:radial-gradient(ellipse,#381339,#100515)}
 #gpPlay.fs:has(.eldorado-scene){background:radial-gradient(ellipse,#153c28,#05140c)}
}
@media(max-width:950px) and (max-height:500px) and (orientation:landscape){
 #gpPlay.fs:has(.mobile-cabinet-console){display:block;overflow:auto}
 #gpPlay.fs:has(.mobile-cabinet-console) #gpStage{display:block;height:auto;min-height:0;container-type:normal;overflow:visible;flex:none}
 #gpPlay.fs:has(.mobile-cabinet-console) #gpInner{height:auto;width:100%}
 #gpPlay.fs:has(.mobile-cabinet-console) #gameArt{display:grid!important;grid-template-columns:minmax(0,1fr) 236px;gap:10px;align-items:center;overflow:visible!important;padding:0!important}
 #gpPlay.fs:has(.mobile-cabinet-console) .cab{width:100%;flex:none}
 #gpPlay.fs:has(.mobile-cabinet-console) .mm-hit{pointer-events:none}
 #gpPlay.fs .mobile-cabinet-console{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;width:100%;box-sizing:border-box;border:1px solid #ad8d52;border-radius:12px;background:#17101e;color:#ffe7b3}
 #gpPlay.fs .mobile-cabinet-console small{display:block;font-size:9px}
 #gpPlay.fs .mobile-cabinet-console b{font-size:13px;white-space:nowrap}
 #gpPlay.fs .mobile-cabinet-console button{min-width:44px;min-height:44px;padding:6px;border:1px solid #a08048;border-radius:9px;background:#302132;color:#ffe7b3;font-size:12px}
 #gpPlay.fs .mobile-cabinet-console button[hidden]{display:none}
 #gpPlay.fs .mobile-cabinet-console .mc-spin{grid-column:2;grid-row:1;background:#eab64f;color:#251706;min-height:52px}
 #gpPlay.fs .mobile-cabinet-console .mc-bet{grid-column:1/-1;grid-row:2}
 #gpPlay.fs .mobile-cabinet-console .mc-bet>div{display:flex;justify-content:space-between;align-items:center}
 #gpPlay.fs .mobile-cabinet-console .mc-options{display:grid;grid-template-columns:1fr 1fr;grid-column:1/-1;gap:6px}
 #gpPlay.fs .mobile-cabinet-console .mc-status{grid-column:1/-1;font-size:11px;text-align:center}
 #gpPlay.fs .mobile-cabinet-console .mc-status:empty{display:none}
 #gpPlay.fs:has(.pn-game) #gameArt.ga-fill>.tg>.pn-game{grid-template-columns:minmax(0,1fr) repeat(3,74px);gap:6px;align-content:start;justify-content:start;min-height:100dvh;grid-auto-rows:min-content}
 #gpPlay.fs:has(.pn-game) .pn-heading{grid-column:1;grid-row:1;min-height:52px;padding-right:100px!important}
 #gpPlay.fs:has(.pn-game) .pn-brand h2{font-size:23px}
 #gpPlay.fs:has(.pn-game) #pnFull{display:none}
 #gpPlay.fs:has(.pn-game) .pn-field{grid-column:1;grid-row:2/6;height:calc(100dvh - 136px);min-height:180px;aspect-ratio:auto}
 #gpPlay.fs:has(.pn-game) .pn-stat{grid-row:1;padding:5px 2px;min-height:52px}
 #gpPlay.fs:has(.pn-game) .pn-stat:nth-child(1){grid-column:2}
 #gpPlay.fs:has(.pn-game) .pn-stat:nth-child(2){grid-column:3}
 #gpPlay.fs:has(.pn-game) .pn-stat:nth-child(3){grid-column:4}
 #gpPlay.fs:has(.pn-game) .pn-stat small{font-size:7px;min-height:18px}
 #gpPlay.fs:has(.pn-game) .pn-stat>b{font-size:18px}
 #gpPlay.fs:has(.pn-game) .pn-stat.pn-potential>b{font-size:11px}
 #gpPlay.fs:has(.pn-game) .pn-action{grid-column:2/4;grid-row:2;min-height:44px;font-size:12px}
 #gpPlay.fs:has(.pn-game) .pn-cashout{grid-column:4;grid-row:2;min-height:44px}
 #gpPlay.fs:has(.pn-game) .pn-bet{grid-column:2/5;grid-row:3}
 #gpPlay.fs:has(.pn-game) .pn-auto{grid-column:2;grid-row:4;min-height:44px;font-size:8px;touch-action:manipulation}
 #gpPlay.fs:has(.pn-game) .pn-wallet{grid-column:3/5;grid-row:4;display:block;text-align:right}
 #gpPlay.fs:has(.pn-game) .pn-wallet b{font-size:12px}
 #gpPlay.fs:has(.pn-game) .pn-message{grid-column:2/5;grid-row:5;font-size:10px}
 #gpPlay.fs:has(.pn-game) .pn-shot-history{grid-column:1;grid-row:6}
 #gpPlay.fs:has(.pn-game) .pn-ladder-panel{grid-column:1/-1;grid-row:7}
 #gpPlay.fs:has(.snow-scene){display:block;padding:0;overflow-y:auto;background:#080a12}
 #gpPlay.fs:has(.snow-scene) #gpStage,#gpPlay.fs:has(.snow-scene) #gpInner{display:block;width:100%;height:auto;min-height:0;max-width:none}
 #gpPlay.fs:has(.snow-scene) #gpStage{height:100dvh!important;min-height:100dvh;container-type:normal;overflow:visible;flex:none}
 #gpPlay.fs:has(.snow-scene) #gameArt{display:block!important;padding:0!important;overflow:visible!important;min-height:0!important;width:100%}
 #gpPlay.fs .cab.mm-scene.snow-scene{display:grid;grid-template-columns:minmax(0,1fr) 236px;gap:12px;align-items:stretch;width:100%!important;max-width:none;height:auto;min-height:100dvh;aspect-ratio:auto;padding:calc(56px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));box-sizing:border-box;container-type:inline-size;background:#0b0c16!important;border-radius:0;overflow:visible}
 #gpPlay.fs .snow-scene::before{display:none}
 #gpPlay.fs .snow-scene .mm-reels{position:relative;inset:auto;grid-column:1;grid-row:1;order:0;margin:0;width:100%;height:calc(100dvh - 74px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:240px;aspect-ratio:auto;box-sizing:border-box;border:2px solid #c7a366;border-radius:12px;overflow:hidden}
 #gpPlay.fs .snow-scene .snow-toolbar{position:relative;inset:auto;grid-column:2;grid-row:1;order:0;width:100%;height:auto;min-width:0;padding:8px;display:grid;grid-template-rows:minmax(22px,auto) 1fr;gap:6px;border:1px solid #ad8d52;border-radius:12px;align-self:stretch}
 #gpPlay.fs .snow-scene .mm-status{position:static;inset:auto;font-size:10px;line-height:1.2;min-height:0;overflow:hidden;gap:4px}
 #gpPlay.fs .snow-scene .mm-status .sl-msg{white-space:normal;text-align:center}
 #gpPlay.fs .snow-scene .snow-toolbar-main{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:100%;align-content:center;align-items:center}
 #gpPlay.fs .snow-scene .snow-tools{display:contents}
 #gpPlay.fs .snow-scene .snow-toolbar-main>.snow-money:nth-child(2){grid-row:1;grid-column:1/4;justify-items:start}
 #gpPlay.fs .snow-scene .snow-toolbar-main>.snow-money:nth-child(5){grid-row:1;grid-column:4/7;justify-items:end}
 #gpPlay.fs .snow-scene .snow-money small{font-size:8px;line-height:1.2}.snow-scene .snow-money{min-width:0}
 #gpPlay.fs .snow-scene .snow-money b{font-size:12px;line-height:1.2}
 #gpPlay.fs .snow-scene .snow-stake{grid-row:2;grid-column:1/-1;gap:4px;display:flex;justify-content:space-between;padding:0}
 #gpPlay.fs .snow-scene .snow-stake .snow-money b{font-size:17px}
 #gpPlay.fs .snow-scene .snow-key{width:auto;height:44px;min-width:44px;min-height:44px;padding:6px;font-size:16px;border-radius:10px;box-sizing:border-box;touch-action:manipulation}
 #gpPlay.fs .snow-scene .snow-toolbar-main>.snow-spin-key{grid-row:3;grid-column:1/-1;width:56px;height:56px;border-radius:50%;justify-self:center}
 #gpPlay.fs .snow-scene .snow-tools .snow-key{width:100%;min-width:0;grid-column:span 2;grid-row:4;font-size:16px}
 #gpPlay.fs .snow-scene .snow-tools:last-child .snow-key{grid-row:5}
 #gpPlay.fs .snow-scene .snow-key#lsAutoBtn,#gpPlay.fs .snow-scene .snow-key#mmBonus{font-size:10px}
 #gpPlay.fs .snow-scene .snow-side,#gpPlay.fs .snow-scene .ice-evolution{display:none}
 #gpPlay.fs .snow-scene.bonuses-open .snow-side{display:flex;position:absolute;z-index:20;left:max(12px,env(safe-area-inset-left));right:auto;top:56px;bottom:12px;width:260px;overflow-y:auto;padding:8px;background:#120d20f5;border:1px solid #c7a366;border-radius:12px}
 #gpPlay.fs .snow-scene.bonuses-open .snow-bonus-panel{width:100%;flex:none}
 #gpPlay.fs .snow-scene.bonuses-open .snow-panel-super span,#gpPlay.fs .snow-scene.bonuses-open .snow-panel-token span,#gpPlay.fs .snow-scene.bonuses-open .dblch-sw{font-size:13px}
 #gpPlay.fs .snow-scene>.sl-win{inset:56px 260px 12px 12px;width:auto;height:auto;z-index:30;box-sizing:border-box}
}
