html:has(body.exact-reference){scrollbar-gutter:stable}
/* Replace this file and startup-loading.js to redesign the loading screen. */
html:has(body.startup-loading),body.startup-loading{overflow:hidden}
.startup-loading .reference-reader,.startup-loading .reference-mobile-popup{visibility:hidden}
.reference-loading.is-startup{position:fixed;inset:0;transform:none;z-index:3000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#f5f2ec;color:#504842;padding:24px;font:16px/1.5 Arial,"Malgun Gothic",sans-serif}
.reference-loading[hidden]{display:none!important}
.startup-label{margin:0;font-size:16px}
.is-startup progress{width:min(240px,70vw);height:5px;accent-color:#716a60;border:0}
.startup-percent{font-size:14px;font-variant-numeric:tabular-nums;color:#777066}
.is-startup button{font:inherit;color:inherit;border:1px solid #aaa39a;background:transparent;padding:8px 18px;cursor:pointer}
.is-startup{overflow:auto;overscroll-behavior:contain;text-align:center}
.is-startup .startup-label{max-width:32em}
.is-startup .startup-escapes{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 22px;margin-top:8px;font-size:14px}
.is-startup .startup-escapes a{color:#504842;text-decoration:underline;text-underline-offset:3px;padding:6px 0}
.is-startup button:focus-visible,.is-startup a:focus-visible{outline:2px solid #504842;outline-offset:4px}
.is-startup button:disabled{cursor:wait}
@media(max-height:420px){.reference-loading.is-startup{justify-content:flex-start;gap:10px}}

/* Loader copy intentionally stays in a stable system face while scene fonts load. */
.reference-loading.is-startup,.reference-loading.is-startup *{font-family:Arial,"Malgun Gothic",sans-serif!important}
