/* Shared base. Loaded before the legacy migration bundle. */
*,*::before,*::after{box-sizing:border-box}
html{background:var(--rm-color-bg);color-scheme:dark;font-size:16px;scrollbar-gutter:stable}
body{margin:0;min-height:100dvh;background:var(--rm-color-bg);color:var(--rm-color-text);font:400 var(--rm-font-16)/1.65 var(--rm-font);overflow-x:clip}
body,button,input,select,textarea{font-family:var(--rm-font)}
button,input,select,textarea{font-size:inherit}
img,video,canvas{max-width:100%}
button,a,[role="button"],input,select,textarea,summary{touch-action:manipulation}
:where(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--rm-color-gold);outline-offset:3px}
[hidden]{display:none!important}/* Required to override layout declarations on hidden dialogs and badges. */
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:0.01ms!important;transition-duration:0.01ms!important}}
