/* The board uses the available window instead of a fixed1150px layout. */
@media(min-width:721px){
 #game{width:100%;max-width:none;height:100svh;min-height:700px;padding:0 clamp(12px,1.25vw,24px) 8px;display:flex;flex-direction:column}
 .topbar{height:44px;flex:0 0 44px}
 .masthead{flex:none;padding:7px 0 12px}
 .eyebrow{display:none}
 h1{font-size:clamp(35px,2.6vw,48px);margin:4px 0 3px;letter-spacing:8px;padding-left:8px}
 .masthead p{font-size:9px;margin:4px 0 0;letter-spacing:1.8px}
 .title-row{gap:20px}
 .game-layout{width:100%;max-width:none;margin:0;flex:1;min-height:520px;grid-template-columns:clamp(210px,18vw,270px) minmax(0,1fr);gap:clamp(12px,1vw,18px)}
 .board-panel{min-height:0;padding:15px clamp(12px,1.25vw,24px) 0;display:flex;flex-direction:column}
 .board-top{flex:none;padding-bottom:10px}
 .draw-machine{flex:0 0 70px;height:70px}
 .glass-orb{width:70px;height:63px}
 .orb-ball{width:29px;height:29px;font-size:18px}
 .machine-prize strong{font-size:clamp(26px,2vw,38px)}
 .draw-track{flex:none;padding-bottom:12px;gap:8px}
 .draw-slot{height:30px;max-width:30px}
 .number-grid{flex:1;min-height:248px;grid-template-rows:repeat(5,minmax(44px,1fr));gap:clamp(7px,.65vw,12px)}
 .number{height:auto;min-height:44px;font-size:clamp(23px,2vw,40px);border-radius:10px}
 .board-bottom{flex:none;margin:12px 0 14px;font-size:10px}
 .board-bottom button{font-size:11px}
 .payout-heading{flex:none;font-size:9px;margin-bottom:7px}
 .paytable{flex:none}
 .pay-cell{padding:8px 2px 6px}
 .pay-cell strong{font-size:clamp(12px,1vw,17px)}
 .pay-cell span{font-size:9px}
 .round-message{flex:none;font-size:11px;margin:10px 0 12px;min-height:14px}
 .console{padding:18px;min-height:0}
 .console-head{padding-bottom:12px}
 .balance-box{padding:15px 0}
 .balance-box strong{font-size:27px;margin-top:5px}
 .stake-control{height:44px;margin-top:7px}
 .risk-field{margin:17px 0 14px}
 .risk-field legend{margin-bottom:7px}
 .risks button{padding:8px 3px}
 .risk-field p{font-size:9px;min-height:14px;margin-top:8px}
 .quick-pick button{padding:9px 5px}
 .play-button{height:49px;margin-top:18px}
 .play-options{margin-top:14px}
 .console-foot{margin-top:15px}
 .game-footer{max-width:none;width:100%;flex:none;margin:9px 0 0;font-size:8px}
}
@media(max-width:720px){
 #game{max-width:none;width:100%;padding:0 6px 10px}
 .topbar{height:40px;gap:7px}
 .masthead{padding:5px 0 10px}
 .eyebrow{display:none}
 h1{font-size:30px;margin:4px 0 2px;letter-spacing:7px;padding-left:7px}
 .masthead p{font-size:8px;margin:3px 0 0}
 .title-row{gap:12px}
 .title-row i{width:34px}
 .game-layout{max-width:none;width:100%;gap:8px}
 .board-panel{padding:8px 8px 0}
 .board-top{padding-bottom:6px}
 .draw-machine{height:54px}
 .glass-orb{width:50px;height:46px}
 .orb-ball{width:22px;height:22px;font-size:14px}
 .glass-orb::after{height:9px;bottom:-4px}
 .draw-track{padding-bottom:8px}
 .draw-slot{max-width:24px;min-height:22px}
 .number-grid{gap:5px}
 .number{height:clamp(44px,calc((100svh - 600px)/5),68px);font-size:clamp(20px,5.3vw,28px);border-radius:7px}
 .board-bottom{margin:9px 0 10px}
 .payout-heading{margin-bottom:7px}
 .round-message{margin:9px 0 10px}
 .game-footer{margin-top:10px}
}
@media(min-width:721px) and (max-height:820px){
 #game{min-height:650px}
 .game-layout{min-height:480px}
 .masthead{padding:5px 0 8px}
 .masthead p{display:none}
 h1{font-size:35px}
 .draw-machine{flex-basis:54px;height:54px}
 .glass-orb{width:60px;height:54px}
 .orb-ball{width:25px;height:25px;font-size:16px}
 .board-top{padding-bottom:8px}
 .draw-track{padding-bottom:10px}
 .board-bottom{margin:10px 0}
 .pay-cell{padding:6px 2px 4px}
 .round-message{margin:8px 0 9px;min-height:12px}
}
@media(max-width:720px) and (max-height:760px){
 .masthead{padding:3px 0 6px}
 .masthead p{display:none}
}
