/* Navigation stays visible from the start, including over the opening scene. */
body .amui-site-header{position:fixed!important;inset:0 0 auto;z-index:1100;background:#000!important;border-bottom-color:rgb(255 255 255 / 14%)!important;}
body .amui-site-header:has([aria-expanded="true"]){background:#000!important;}
body :is(.amui-site-nav,.home-anchor-nav,.amui-mobile-menu nav) a[aria-current="page"]{color:#ff501f!important;text-decoration:none;}
/* Raw HTML essays share the same return control as the React pages. */
body[data-essay] .back-to-top{position:fixed;right:24px;bottom:24px;width:44px;height:44px;z-index:90;border:1px solid #e6e6e6;background:#ff501f;color:#000;cursor:pointer;font:500 24px/1 var(--font-body);}
.back-to-top:not([data-visible="true"]){opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
@media(max-width:760px){body[data-essay] .back-to-top{right:20px;bottom:20px;}}
