
/* Size the entire cabinet from viewport height. Only the ranking list may scroll. */
@media(min-width:761px){html,body{height:100%;overflow:hidden}header{height:84px;padding:4px 22px}header .group-logo{height:65px;width:300px}main{height:calc(100dvh - 84px);max-height:calc(100dvh - 84px);padding:12px 20px 18px;grid-template-columns:minmax(0,1fr) 300px;gap:20px;min-height:0}.arena{height:100%;max-height:100%;padding-bottom:100px;display:flex;flex-direction:column;align-self:stretch;min-height:0;min-width:0}.hud{height:78px;flex:0 0 78px}.screen{width:100%;height:auto;flex:1;min-height:0;aspect-ratio:auto;overflow:hidden;background:#071927}canvas{width:100%;height:100%;object-fit:contain}.controls{height:100px;font-size:12px}.controls strong{font-size:12px}.touch{height:100px;bottom:0;left:0;width:100%}.touch button{top:36%;height:28%;width:9%;font-size:17px;transform:translateY(-3px)}.touch #left{left:65.2%}.touch #boost{left:75.8%}.touch #right{left:86.3%}aside{height:100%;min-height:0;display:flex;flex-direction:column;gap:12px}aside .panel{margin:0;flex:0 0 auto;padding-top:62px!important;padding-bottom:40px!important}.panel h2{margin-bottom:9px;font-size:19px}.panel input:not([type=range]){padding:9px;margin-bottom:10px}.panel .character{padding:4px}.panel .character img{height:65px}.panel .buttons{margin-top:10px}.panel .buttons button{padding:8px 5px}aside .panel.board{flex:1;min-height:150px;padding-top:52px!important;padding-bottom:40px!important;display:flex;flex-direction:column}.panel.board>p{margin:8px 0 0;flex-shrink:0}.panel ol{flex:1;min-height:0;max-height:none;overflow-y:auto;margin:10px 0 0}.panel #resetTime{margin-top:5px}aside footer{margin-top:0;flex:0 0 14px}#overlay img{width:45%;max-height:35%}#overlay h2{font-size:24px;margin:5px}#overlay p{margin-bottom:12px}#play{padding:13px 30px;font-size:17px}}
@media(min-width:761px) and (max-height:740px){header{height:66px}header .group-logo{height:52px}main{height:calc(100dvh - 66px);max-height:calc(100dvh - 66px);padding-top:8px;gap:14px;grid-template-columns:minmax(0,1fr) 270px}.hud{height:65px;flex-basis:65px}.hud strong{font-size:18px}.arena{padding-bottom:84px}.controls,.touch{height:84px}.controls{font-size:10px}.controls strong{font-size:10px}aside .panel{padding-top:50px!important;padding-bottom:28px!important}.panel h2{font-size:17px;margin-bottom:6px}.panel label{font-size:11px}.panel input:not([type=range]){padding:7px;margin:5px 0 8px}.panel .character img{height:46px;width:42px}.panel .character strong{font-size:17px}.panel .buttons{margin-top:7px}.panel .buttons button{padding:6px 3px;font-size:11px}aside .panel.board{padding-top:43px!important;padding-bottom:30px!important}.panel.board p{font-size:10px}.touch button{font-size:15px}}
