/* Keep close targets consistent with the existing 30px setting buttons. */
@layer web182-chat {
 .game :is([role=dialog],.mw-window,.world-service-panel,.quest-dialog,.qw-window,.helper-popup,.hunt-idle-popup,.mw-inv-side,.lmc-detail)[hidden],#private-shop-setup[hidden]{display:none!important}
 .game :is(.mw-header .mw-close,#dialog:not(.pc-login-dialog,.pc-create-dialog,.pc-roster-dialog) #close){min-width:44px!important;min-height:30px!important;touch-action:manipulation}
 .game :is(.mw-body,#dialogbody,.helper-popup-content){overscroll-behavior:contain}
}
/* Body-level legacy windows must scroll their content rather than hide it. */
#private-shop-setup{overscroll-behavior:contain;scroll-padding-bottom:52px}
.world-entry-loading,.entry-update-dialog{overscroll-behavior:contain;scroll-padding:8px}
.world-entry-loading>button,.entry-update-dialog>button{position:sticky;bottom:0;z-index:1}
