
/* Align content with the painted recesses and keep all sidebar content inside the frame. */
.hud>div{top:38%;height:35%;display:flex;align-items:center;justify-content:center;gap:3px;line-height:1;margin:0;padding:0}
.hud>div strong{display:block;font-size:22px;line-height:1;margin:0;padding:0}
.hud>div:nth-child(1){left:16.2%;width:20.6%}.hud>div:nth-child(2){left:39%;width:22.3%}.hud>div:nth-child(3){left:63.6%;width:20.6%}
.touch{right:4.1%;bottom:39px;width:32.8%;height:48px;gap:4%}
.touch button{display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;margin:0!important;padding:0!important;height:100%;font-size:19px}
.controls{font-size:14px;line-height:1.65;padding-left:22%;padding-right:40%;gap:6px}.controls strong{font-size:14px}
aside .panel,aside .panel.board{width:100%;min-width:0;box-sizing:border-box;padding:76px 16% 58px!important;background-size:100% 100%;overflow:hidden}
aside .panel.board{padding-top:65px!important;padding-bottom:55px!important}
.panel h2{font-size:20px;line-height:1.3;margin-bottom:14px}.panel .heading{gap:6px;flex-wrap:wrap}.panel .heading h2{margin-bottom:0}.panel .heading span{white-space:nowrap}
.panel input:not([type=range]){width:100%;min-width:0;font-size:13px;padding:11px 9px}
.panel .character{width:100%;min-width:0;gap:8px;padding:8px 4px}.character img{width:60px;height:78px;flex-shrink:0}.character span{min-width:0}.character strong{font-size:20px}
.panel .buttons{gap:6px;flex-wrap:wrap}.panel .buttons button{min-width:0;padding:10px 5px;font-size:12px;white-space:nowrap}
.panel p{overflow-wrap:anywhere;font-size:12px;line-height:1.6;margin-bottom:0}.panel #notice{margin-top:13px}.panel ol{max-height:210px;margin:15px 0}.panel li{gap:5px;flex-wrap:wrap}.panel #resetTime{display:block;margin-top:10px;font-size:11px}.panel .fine{font-size:11px}
@media(max-width:1050px){main{grid-template-columns:minmax(0,1fr) 290px}.controls{font-size:12px}.controls strong{font-size:12px}}
@media(max-width:760px){main{display:block}aside{grid-template-columns:1fr 1fr}.hud>div{font-size:9px;gap:3px}.hud>div strong{font-size:17px}.touch{bottom:30px;height:38px}.touch button{font-size:15px}.controls{font-size:11px;padding-left:22%;padding-right:40%}.controls strong{font-size:11px}aside .panel,aside .panel.board{padding-left:16%!important;padding-right:16%!important}.panel .character{flex-direction:column;text-align:center}.panel h2{font-size:18px}}
@media(max-width:480px){aside{grid-template-columns:1fr}.panel .character{flex-direction:row;text-align:left}.controls{font-size:10px}.controls strong{font-size:10px}}

.touch{left:0;right:auto;width:100%;gap:0;bottom:39px;height:48px}.touch button{position:absolute;width:9%;top:0}.touch #left{left:64.8%}.touch #boost{left:76.5%}.touch #right{left:87.6%}#notice{visibility:hidden;height:0;margin:0!important;overflow:hidden}@media(max-width:760px){.touch{bottom:30px;height:38px}}

#notice:not(:empty){visibility:visible;height:auto;overflow:visible;margin-top:12px!important;color:#ffe6a0}#notice:empty{display:none}
