/* Scale the complete desktop HUD, not individual labels or buttons. */
html.window-fit body #game{zoom:var(--window-fit);width:var(--window-ui-width)!important;height:var(--window-ui-height)!important;transform:translateZ(0);overflow:hidden}
html.window-fit body #game>#world{zoom:var(--window-inverse);width:100vw!important;height:100dvh!important}
html.window-fit body #game>.vignette{height:100%!important}
html.window-fit body #game .hud{zoom:1}
html.window-fit body #game .minimap{top:64px!important}
html.window-fit body #game #hudTelemetry{top:var(--window-telemetry-top,142px)!important;right:8px!important}
html.window-fit body #game>#networkStatus{top:var(--window-telemetry-top,142px)!important;right:8px!important;left:auto!important;bottom:auto!important;width:var(--window-map-width,180px)!important;max-width:none!important;height:auto!important;min-height:0!important;padding:4px!important;font-size:10px!important}
html.window-fit body #game>#performanceStatus{top:var(--window-performance-top,184px)!important;right:8px!important;bottom:auto!important;font-size:9px!important;padding:2px!important}
html.window-fit body #game div#questVisibilityControls{top:var(--window-quest-tools,190px)!important;right:8px!important;left:auto!important}
html.window-fit body #game aside#questTracker{top:var(--window-quest-top,242px)!important;right:8px!important;left:auto!important;max-height:200px!important}
html.window-fit body #game #worldBossStatus{top:var(--window-boss-top,110px)!important;left:8px!important;right:auto!important;bottom:auto!important}
html.window-fit body #game #targetPanel{top:100px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;max-width:240px!important}
html.window-fit body #game #rebirthSkillDock{left:50%!important;right:auto!important;bottom:110px!important;top:auto!important;transform:translateX(-50%)!important;display:flex!important;width:auto!important;max-width:360px!important}
html.window-fit body #game #socialDock[data-mobile-chat=compact]{left:8px!important;right:auto!important;bottom:140px!important;top:auto!important;width:180px!important;--chat-compact-height:128px!important;transform:none!important}
html.window-fit body #game .hud #mobileSecondaryMenu{top:8px!important;right:8px!important;left:auto!important;width:520px!important;max-width:calc(var(--window-ui-width) - 16px)!important;max-height:calc(var(--window-ui-height) - 16px)!important}
html.window-fit body dialog[open]{zoom:var(--window-fit);max-width:calc(var(--window-ui-width) - 24px)!important;max-height:calc(var(--window-ui-height) - 24px)!important;width:min(1100px,calc(var(--window-ui-width) - 24px))!important}
html.window-fit body #colonyDialog[open]{height:calc(var(--window-ui-height) - 24px)!important}
