:root { --game-ui-scale: 1; }
.hud,.topbar,.menu-screen,#touch-controls,#modal,#loading { zoom:var(--game-ui-scale); }
.hud,.topbar,.menu-screen,#loading { width:calc(100vw / var(--game-ui-scale)); right:auto; }
.hud,.menu-screen,#loading { height:calc(100dvh / var(--game-ui-scale)); bottom:auto; }
#modal {
  width:min(720px,calc((100vw - 32px) / var(--game-ui-scale)));
  max-height:calc((100dvh - 48px) / var(--game-ui-scale));
}

.world-art.single-review .world-art-label {display:none;}
.world-art.single-review iframe {top:50%;transform:translate(-50%,-50%) scale(.55);}

.review-tabs {display:flex;border-bottom:1px solid #cfdfb93d;gap:24px;margin:14px 0 2px;}
.review-tabs button {padding:12px 2px 10px;background:none;border-bottom:3px solid transparent;font-size:14px;font-weight:600;color:#a8c49c;}
.review-tabs button[aria-selected="true"] {border-color:var(--lime);color:#e6ffa7;}
.review-tabs button span {font-size:11px;margin-left:7px;font-weight:400;}
.review-empty {padding:20px 0;color:#b4c9a8;}
.review-other {border-top:1px solid #cfdfb929;margin-top:14px;padding-top:12px;}
.review-other>summary {cursor:pointer;font-size:12px;color:#b8c9ad;padding:6px 0;}
.review-sync {margin-top:14px;}

/* Only a small near-by inspection control is HUD UI. Text lives on the 3D sign. */
.road-inspect-button {display:block;width:100%;margin:9px 0 0;padding:7px 6px;border:1px solid #d5f56880;border-radius:5px;background:#d5f56812;color:#e9ffba;font-size:11px;pointer-events:auto;}
.road-inspect-button kbd {font-size:10px;margin-right:5px;}
.visually-hidden {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;}
@media(max-width:700px){#modal{padding:25px 18px}.review-tabs{gap:20px}.road-inspect-button{font-size:10px;padding:6px 2px}}
@media(pointer:coarse){.road-inspect-button kbd{display:none}}
@media(pointer:coarse) and (max-height:540px){.road-inspect-button{margin-top:4px;padding:3px 2px;font-size:9px}}
