.menu-close-host{position:relative}
.menu-close-corner{position:sticky;top:10px;z-index:80;height:0;pointer-events:none;text-align:right}
:is(#ovcard,#hubDialogue,#socialBoard,#chessLobby,#mirrorui,#inspectionLab,dialog) .menu-close-x,#mirrorEsc.menu-close-x{position:absolute;right:0;top:0;display:grid;place-items:center;width:40px;height:40px;min-width:40px;padding:0;margin:0;border:1px solid #ed8b86;border-radius:10px;background:linear-gradient(#a9343e,#6e1927);color:#fff6ef;font:700 29px/1 system-ui;box-shadow:0 3px 10px #0008;cursor:pointer;pointer-events:auto;touch-action:manipulation}
:is(#ovcard,#hubDialogue,#socialBoard,#chessLobby,#mirrorui,#inspectionLab,dialog) .menu-close-x:hover{background:linear-gradient(#d14a54,#942637);border-color:#ffd1c9}
:is(#ovcard,#hubDialogue,#socialBoard,#chessLobby,#mirrorui,#inspectionLab,dialog) .menu-close-x:focus-visible{outline:3px solid #ffdc80;outline-offset:3px}
:is(#ovcard,#hubDialogue,#socialBoard,#chessLobby,#mirrorui,#inspectionLab,dialog) .menu-close-x:disabled{opacity:.4;cursor:not-allowed}
.menu-close-host>:is(h1,h2,.ovh,.ovkicker,.title,.hub-dialogue-label,.mstop){padding-right:48px;box-sizing:border-box}
#socialBoard.menu-close-host>h2{padding-right:48px}
#mirrorEsc.menu-close-x{position:fixed;left:auto!important;right:16px;top:16px;z-index:120}
@media(max-width:560px){:is(#ovcard,#hubDialogue,#socialBoard,#chessLobby,#mirrorui,#inspectionLab,dialog) .menu-close-x{width:44px;height:44px;min-width:44px}.menu-close-corner{top:6px}}

.menu-close-host>header{padding-right:48px}
