/* These rules only replace missing browser features. */
.legacy-dialogs dialog:not([open]){display:none!important}.legacy-dialogs dialog[open]{display:block;position:fixed;inset:auto;left:50%;top:50%;margin:0;transform:translate(-50%,-50%);width:94vw;max-width:1120px;max-height:92vh;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box}.legacy-dialogs dialog.language-switcher[open]{width:min(330px,94vw);max-width:330px;transform:none;inset:auto;margin:0}.legacy-dialog-backdrop{position:fixed;inset:0;background:rgba(24,53,61,.84)}.legacy-modal-open,.legacy-modal-open body{overflow:hidden}.legacy-dialogs #modal.road-modal{width:min(520px,96vw);max-height:98vh;padding:36px 9px 10px;overflow:hidden;scrollbar-gutter:auto;background:#10282f;border-radius:8px;border-color:#0097B2}.legacy-dialogs #modal.road-modal>.close{top:4px;right:7px;width:27px;height:27px;font-size:20px;background:#FFA834}.legacy-dialogs #modal.road-modal>.back-to-square{top:5px;left:10px;min-height:25px;padding:3px 8px;font-size:11px;max-width:calc(100% - 100px)}
@supports not (height:100dvh){.road-playing .road-screen-shell{width:min(100%,calc((98vh - 134px)*.7272727))}.jiren-dialogue-body{max-height:calc(100vh - 155px)}.lab-gallery-photo>img{max-height:50vh}}
@supports not (aspect-ratio:16 / 9){.force-video-frame{position:relative;padding-top:56.25%;height:0}.force-video-frame>iframe{position:absolute;inset:0;width:100%;height:100%}}
