/* The opening splash (31 October 2026, R9 · builder A; js/ux/splash.js). Dots drift in and gather into the Century Mirai mark on the paper ground, answer a finger
   or the mouse, then dissolve into the attract screen. Light, Apple-minimal: the paper well (--mf-paper) and the ink (--mf-ink) only, no text, no chrome.
   One fixed layer above everything (#splash), two children: the paper (.sp-bg) and one canvas (.sp-cv). The script fades both with the Web Animations API, so the
   dissolve is compositor-driven and cannot stutter when the app starts up behind it. Removed from the DOM when done. ?nosplash=1 never creates it. */
#splash {
  position: fixed; inset: 0; z-index: 99990; overflow: hidden; contain: strict;
  background: transparent; color: var(--mf-ink, #16161b);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  cursor: default;
}
#splash .sp-bg {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 42%, #f6f6f4 0%, var(--mf-paper, #f1f1ef) 58%, #e9e9e6 100%);
}
#splash .sp-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* reduced motion: the static mark, centred, fades in and out (no particles; js/ux/splash.js) */
#splash .sp-mark { position: absolute; left: 50%; top: 50%; width: min(60vw, 560px); height: auto; translate: -50% -50%; opacity: 0; pointer-events: none; }
@media (orientation: portrait) { #splash .sp-mark { width: min(76vw, 560px); } }

/* (3 November) the one quiet line that says how to begin: Enter, or a held touch (js/ux/splash.js). It arrives with the formed mark and leaves as the dots lift */
#splash .sp-hint { position: absolute; left: 0; right: 0; bottom: max(6vh, 36px); text-align: center; font-family: inherit; font-weight: 500; font-size: 13px; line-height: 1.2; letter-spacing: .06em; color: var(--mf-ink, #16161b); opacity: 0; transition: opacity .6s cubic-bezier(.4, 0, .6, 1); pointer-events: none; }
#splash .sp-hint.on { opacity: .5; }
