/* Phone slots: jackpot on top, the machine in the middle, the controls in a dock at the bottom */
body.phone.ingame #game:has(.sl){padding:0}
body.phone.ingame main:has(.sl){padding:0}
body.phone .sl{flex:1;min-height:0;width:100%;max-width:100%;display:flex;flex-direction:column;position:relative}
body.phone .sl-jp{flex:none;width:calc(100% - 20px);margin:8px auto 0;padding:4px 14px}
body.phone .sl-jpv{font-size:24px}
body.phone .sl-machine{flex:none;margin:auto 6px;padding:8px 6px 6px}
body.phone .sl-reelswrap{padding:6px}
body.phone .sl-lines{left:6px;top:6px}
body.phone .sl-fsbar{margin-bottom:4px;font-size:13px}
body.phone .sl-winbox{margin:16px auto 0}
body.phone .sl-win{font-size:28px}
body.phone .sl-linetag{font-size:12px;bottom:-16px}
body.phone .sl-ctl{flex:none;display:grid;grid-template-columns:1fr auto;grid-template-areas:"bet spin" "side side";gap:8px 12px;margin:0;padding:8px 10px calc(env(safe-area-inset-bottom) + 8px);background:linear-gradient(#1a0a10,#0b0408);border-top:2px solid var(--gold2)}
body.phone .sl-betbox{grid-area:bet;justify-content:center;gap:6px}
body.phone .sl-betbox .sl-sm{min-width:42px;height:44px;padding:0 8px}
body.phone .sl-bet{min-width:84px}
body.phone .sl-spin{grid-area:spin;width:70px;height:70px}
body.phone .sl-spin svg{width:38px;height:38px}
body.phone .sl-side{grid-area:side;display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
body.phone .sl-side .sl-sm{height:36px;padding:0;font-size:13px;white-space:nowrap;overflow:hidden}
body.phone .sl-feed{display:none}
body.phone .sl-ov,body.phone .sl-pt{border-radius:0}
body.phone .sl.jropen .sl-jr{display:flex;flex-direction:column;position:fixed;left:8px;right:8px;bottom:calc(env(safe-area-inset-bottom) + 140px);width:auto;max-width:none;max-height:52dvh;z-index:56;margin:0}
body.phone .sl.jropen .sl-jrl{flex:1;min-height:0;max-height:40dvh}
@media(max-height:680px){
  body.phone .sl-jp{margin-top:4px;padding:2px 12px}
  body.phone .sl-winbox{margin-top:10px}
  body.phone .sl-spin{width:60px;height:60px}
  body.phone .sl-side .sl-sm{height:32px}
  body.phone .sl-betbox .sl-sm{height:38px}
}
