:root{--world-ui-scale: 1}html.world-ui:not(.pipwin) #screen-game :is(#world-party,#world-chat,#world-guide,#world-zone,#world-compass,#world-activity-dock,#world-hunt-tools,#world-drawer,.whud-tools),html.world-ui:not(.pipwin) body>.modal>:is(.gpanel,.modal-box),html.world-ui:not(.pipwin) body>:is(.itip,.cmenu,#toasts){zoom:var(--world-ui-scale)}@media (min-width: 721px) and (pointer: fine){html.world-ui:not(.pipwin) body>.modal>.gpanel{max-width:calc((100vw - 48px) / var(--world-ui-scale));max-height:calc((100dvh - var(--ops-h, 0px) - 48px) / var(--world-ui-scale))}html.world-ui:not(.pipwin) body>.modal>.modal-box{max-width:min(720px,calc((100vw - 48px) / var(--world-ui-scale)));max-height:min(88vh,calc((100dvh - var(--ops-h, 0px) - 48px) / var(--world-ui-scale)))}html.world-ui:not(.pipwin) body>.modal>.modal-box.lg{max-width:min(940px,calc((100vw - 48px) / var(--world-ui-scale)))}html.world-ui:not(.pipwin) body>.itip{max-width:calc((100vw - 20px) / var(--world-ui-scale));max-height:calc((100dvh - var(--ops-h, 0px) - 20px) / var(--world-ui-scale))}html.world-ui:not(.pipwin) body>.itip>:is(.itip-card,.itip-note){max-width:calc((100vw - 20px) / var(--world-ui-scale))}html.world-ui:not(.pipwin) body>.cmenu{max-width:min(292px,calc((100vw - 20px) / var(--world-ui-scale)));max-height:calc((100dvh - var(--ops-h, 0px) - 20px) / var(--world-ui-scale))}html.world-ui:not(.pipwin) #screen-game #world-activity-dock{max-width:calc((100vw - 32px) / var(--world-ui-scale))}}@media (min-width: 721px) and (min-height: 501px) and (pointer: fine){html.world-ui:not(.pipwin) #screen-game #world-activity-dock{--hunt-bar-scale: calc(var(--world-ui-scale) * 1.12);zoom:var(--hunt-bar-scale);max-width:calc((100vw - 32px) / var(--hunt-bar-scale))}html.world-ui:not(.pipwin) #screen-game #world-hunt-tools{width:min(620px,calc((100vw - 32px) / var(--world-ui-scale)));max-height:min(600px,calc((100dvh - var(--ops-h, 0px)) / var(--world-ui-scale) - var(--whud-dock-height, 100px) - 30px))}}
