:root{--arena-accent:#67e8f9}.v8-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;margin-bottom:12px;background:#0b1425;border:1px solid #263b55;border-radius:14px;font-size:12px}.v8-toolbar select,.v8-toolbar button{min-height:40px;color:#e2e8f0;background:#17263d;border:1px solid #3c526e;border-radius:9px;padding:6px 9px;font:inherit}.v8-toolbar label{display:flex;align-items:center;gap:6px}.v8-stage{position:relative;max-width:780px;width:100%;margin:0 auto 10px;overflow:hidden;border:1px solid #46637b;border-radius:16px;background:radial-gradient(ellipse at 50% 30%,#4d7085,#111c30 72%)}.v8-stage canvas{width:100%;height:clamp(230px,55vw,440px);display:block;touch-action:none}.v8-stage[data-game=maze] canvas{height:clamp(240px,52vw,420px)}.v8-stage[data-game=tanks]{background:radial-gradient(ellipse at 60% 35%,#222c59,#080919 68%)}.v8-stage[data-game=penalty]{background:linear-gradient(#8caeba,#23364b 55%,#153824)}.v8-stage[data-game=hockey]{background:radial-gradient(ellipse,#1b4961,#071528)}.v8-stage-caption{padding:6px 10px;background:#0c1424;color:#a9c4d8;font-size:11px;display:flex;justify-content:space-between;gap:8px}.v8-stage-caption button{background:none;border:0;color:#8bdcff;font:inherit;cursor:pointer}.v8-original-hidden{display:none!important}.v8-control{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:8px auto}.v8-control .btn{min-width:43px;min-height:43px;touch-action:none}.v8-keyhint{font-size:12px;color:#a6bdd1;text-align:center;margin:5px 0}.v8-pressed{background:#2563eb!important;color:white!important}.game-view button,.game-card,.cell-box{touch-action:manipulation}.game-view [onpointerdown],.game-view canvas,.game-view [id$=Joy],#voxJoyZone{touch-action:none}.game-cv{height:auto;max-width:100%}.game-view.active{min-width:0}.game-view input{user-select:text}.game-view:fullscreen,.game-view.v8-full{overflow:auto;background:#070b14;padding:12px!important}.game-view.v8-full{position:fixed;inset:0;z-index:80;border-radius:0}.v8-exit{display:none}.game-view:fullscreen .v8-exit,.game-view.v8-full .v8-exit{display:block;position:sticky;top:0;z-index:60;margin:4px 0 8px}.game-view:fullscreen .v8-stage canvas,.game-view.v8-full .v8-stage canvas{height:min(65vh,600px)}.v8-error{padding:10px;background:#3c1c22;color:#fecaca;border-radius:8px}.v8-hold{touch-action:none}.v8-control .p1{border-color:#38bdf8;color:#7dd3fc}.v8-control .p2{border-color:#fb7185;color:#fda4af}
@media(max-width:650px){.container{padding:8px 7px 64px}.top-bar{padding:8px;gap:6px}.scoreboard-strip{gap:4px}.player-pill{padding:5px 7px}.games-grid{grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:8px}.game-card{padding:11px}.game-card h3{font-size:15px}.game-view{padding:10px 7px;border-radius:14px}.game-header{gap:7px}.game-header small{font-size:11px}.game-view button{min-height:40px}.game-view .btn{padding:7px 9px;white-space:normal}.game-view [style*="grid-template-columns:1fr 1fr"]>div{min-width:0;flex-wrap:wrap!important;padding:5px!important;gap:3px}.game-view [id$="Viewport"]{height:clamp(340px,68dvh,580px)!important;min-height:340px!important}.vox-hud-top{top:5px;left:5px;right:5px;gap:4px}.vox-pill{font-size:10px;padding:4px 5px}.vox-mini-btn{font-size:11px;padding:5px 7px}.vox-act-btn{max-width:70px!important;min-height:44px!important;font-size:11px!important}.vox-top-actions{flex-wrap:wrap;gap:4px}.game-cv{max-height:55dvh;object-fit:contain}.v8-stage canvas{height:clamp(220px,48dvh,390px)}.v8-control{gap:4px}.v8-control .btn{min-width:39px;min-height:40px}.v8-toolbar{padding:6px;gap:4px}.v8-toolbar button,.v8-toolbar select{min-height:37px}.game-view #templeHost{height:72dvh!important;min-height:300px!important}}
@media(max-width:400px){.hud-bar{font-size:11px;padding:7px}.game-view .btn{font-size:11px}.v8-keyhint{font-size:10px}.game-view [style*="grid-template-columns:1fr 1fr"]>div .btn{padding:5px 6px}.game-view .vox-act-btn{max-width:62px!important}}
.game-view:fullscreen .pass-overlay,.game-view.v8-full .pass-overlay{z-index:99999}.pass-overlay{z-index:99999!important}.v8-stage[data-game=hockey] canvas{height:clamp(300px,75vw,510px)}@media(max-width:650px){.game-cv{max-height:none}.v8-stage[data-game=hockey] canvas{height:clamp(280px,54dvh,420px)}}
