@view-transition{navigation:none}
::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
/* Legacy document rules are retired; movement belongs to the JS controller. */
html.document-leaving .paper,html.document-leaving .sheet,html.document-returning .paper,html.embedded .paper,html.embedded .sheet{animation:none!important;transition:none!important;transform:none;opacity:1!important}
html.minato-page-enter body,html.minato-page-leave body,html.minato-page-enter #wrapper,html.minato-page-leave #wrapper,html.minato-page-enter .archive-home-stage,html.minato-page-leave .archive-home-stage{animation:none!important;transform:none!important}

/* Outer RA0 iframe and layout containers never own page motion. */
html,body,#wrapper,#container,iframe#main,.archive-home-stage,.landing,.file-reveal{animation:none!important;transition:none!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important}
.minato-navigation,.toshiyuki-board-nav,.archive-tabs,#bgm-player{animation:none!important;transition:none!important}
.file-reveal{display:none!important}

/* Hide native scrollbar tracks without disabling scroll input. */
html,body,body *{scrollbar-width:none!important;-ms-overflow-style:none!important}::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}::-webkit-scrollbar-track,::-webkit-scrollbar-thumb,::-webkit-scrollbar-button{display:none!important}

::selection{background:#b8c4c2!important;color:#172126!important;text-shadow:none!important}
html.embedded body{padding:0!important;background:transparent!important}
html.embedded .paper{margin:0 auto!important;box-shadow:none!important}

@media(max-width:600px){
 a.back,#back,#document-back,.marriage-back{position:fixed!important;z-index:10003!important;top:auto!important;right:14px!important;bottom:calc(env(safe-area-inset-bottom,0px) + 74px)!important;left:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid rgba(229,230,225,.13)!important;border-radius:50%!important;background:rgba(7,18,22,.34)!important;color:rgba(229,230,225,.66)!important;box-shadow:none!important;font-size:0!important;line-height:1!important;letter-spacing:0!important;text-decoration:none!important;white-space:nowrap!important;overflow:hidden!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important;transform:none!important}
 a.back::before,#back::before,#document-back::before,.marriage-back::before{content:"←";display:block;font:400 20px/1 sans-serif!important;letter-spacing:0!important}
 html.embedded .paper>a.back,html.embedded .paper>#back,html.embedded .paper>#document-back,html.embedded .paper>.marriage-back{display:none!important}
}
