body.arcade-page{height:100svh;min-height:0;overflow:hidden}
.arcade-stage{height:auto;flex:1;min-height:0;background:#bce6ed}.arcade-header{height:60px}
.arcade-hud{left:18px;top:16px;transform:none;border:0;box-shadow:0 3px 16px #183e3314}.arcade-stat{padding:7px 16px;min-width:83px}.arcade-stat>strong{font-size:23px}
.drive-objective{position:absolute;left:18px;top:88px;display:flex;flex-direction:column;gap:2px;max-width:240px;padding:10px 14px;background:#fffffff2;border-left:4px solid #218e77;border-radius:3px;z-index:2;pointer-events:none}
.drive-objective strong{font-size:15px}.drive-objective span{font-size:12px;color:#5d7269}.drive-objective progress{width:100%;height:8px;accent-color:#258f73;margin-top:5px}
.drive-minimap{position:absolute;right:16px;bottom:16px;width:138px;height:138px;border:2px solid #fff;border-radius:6px;box-shadow:0 3px 15px #14342920;pointer-events:none}.arcade-status{bottom:18px;max-width:calc(100% - 350px);font-size:12px}
.arcade-controls{padding:10px 22px;min-height:80px;flex-shrink:0;display:grid;grid-template-columns:auto auto 1fr 1fr;gap:12px;align-items:center}
.drive-steering,.drive-pedals{display:flex;gap:10px}.drive-steering{justify-content:flex-start}.drive-pedals{justify-content:flex-end}
.drive-steering .arcade-button,.drive-pedals .arcade-button{height:57px;min-width:74px;touch-action:none;user-select:none;padding:8px 18px;flex-direction:column;gap:1px}
.drive-steering .arcade-button span,.drive-route-button span,.drive-restore span{display:none}.drive-steering svg{width:26px;height:26px}.drive-pedals span{font-size:10px}.drive-pedals svg{width:23px;height:23px}
.drive-restore,.drive-route-button{width:44px;min-width:44px;height:44px;padding:8px}.drive-steering .is-down,.drive-pedals .is-down{background:#c8e2d5;box-shadow:inset 0 2px 5px #21473620}.drive-pedals .arcade-button--primary.is-down{background:#12594f}
.drive-route{display:flex;flex-direction:column;gap:8px;margin:0 0 18px;font-size:13px;text-align:left}.drive-route select{width:100%;max-width:100%;height:46px;padding:8px;border:1px solid #bfcfc6;border-radius:5px;background:#f3f7f3;color:#29453c;font-weight:700}.drive-route small{font-size:12px;color:#6b7d72;text-align:center}
.arcade-dialog{width:310px;padding:22px}.arcade-dialog h2{font-size:23px}.arcade-result-score{font-size:33px}.arcade-footer{min-height:39px;padding:4px 22px;flex-shrink:0}.arcade-footer .arcade-switcher{min-width:210px}.arcade-switcher>span{white-space:nowrap}
@media(max-width:640px){.arcade-header{height:56px;padding:8px 10px;gap:8px}.arcade-header h1{font-size:14px}.arcade-brand img{width:26px;height:26px}.arcade-tools{gap:0}.arcade-icon{width:33px}.arcade-hud{top:12px;left:12px;max-width:calc(100% - 24px)}.arcade-stat{min-width:78px;padding:6px 13px}.arcade-stat>strong{font-size:21px}.drive-objective{left:12px;top:82px;max-width:calc(100% - 24px);padding:7px 10px}.drive-objective strong{font-size:13px}.drive-minimap{width:100px;height:100px;right:12px;bottom:14px}.arcade-status{bottom:14px;left:12px;transform:none;max-width:calc(100% - 126px);padding:6px 9px;font-size:11px}.arcade-controls{min-height:85px;padding:10px 10px;gap:8px;grid-template-columns:34px 1fr 1fr;position:relative}.drive-route-button{display:none}.drive-restore{width:34px;min-width:34px;height:48px;border:0;padding:6px}.drive-steering,.drive-pedals{gap:6px}.drive-steering .arcade-button,.drive-pedals .arcade-button{min-width:54px;width:54px;height:60px;padding:6px;gap:3px}.arcade-footer{padding:3px 10px;gap:6px;min-height:38px}.arcade-footer .arcade-switcher{display:none}.arcade-volume{flex-basis:85px}}
@media(max-width:350px){.arcade-controls{gap:5px;padding:8px}.drive-steering .arcade-button,.drive-pedals .arcade-button{width:49px;min-width:49px}.arcade-header h1{font-size:12px}.arcade-brand{display:none}.drive-objective strong{font-size:12px}}
@media(max-height:500px) and (orientation:landscape){.arcade-header{height:42px;padding:4px 14px}.arcade-stage{min-height:0;height:auto}.arcade-controls{min-height:63px;padding:5px 14px;grid-template-columns:44px 44px 1fr 1fr}.arcade-button{height:44px!important;min-height:44px}.drive-route-button{display:flex}.drive-steering .arcade-button,.drive-pedals .arcade-button{width:65px;min-width:65px;flex-direction:row;padding:5px 10px}.drive-pedals span{display:none}.arcade-footer{display:none}.arcade-hud{top:10px;left:10px}.arcade-stat{padding:4px 11px;min-width:68px}.arcade-stat>strong{font-size:18px}.drive-objective{top:10px;left:260px;max-width:240px;padding:5px 10px}.drive-objective strong{font-size:12px}.drive-objective span{font-size:10px}.drive-minimap{width:86px;height:86px;bottom:10px;right:10px}.arcade-status{bottom:10px;max-width:calc(100% - 200px)}.arcade-dialog{padding:12px 18px;width:290px;max-height:calc(100% - 16px);overflow:auto}.arcade-dialog h2{font-size:19px;margin-bottom:7px}.drive-route{gap:3px;margin-bottom:8px}.drive-route select{height:37px}.drive-route>span{display:none}.arcade-result-score{font-size:26px;margin:6px}.arcade-result-detail{font-size:11px;margin:5px}.arcade-start{min-height:39px;padding:7px}}
