/* Small, independent of the app bundle. Public server-rendered roots hide this too. */
/* The page's ground before any app style arrives: the brand canvas, by day and by night, so a dark-mode open is never a white page first. */
html { background: #fdf7e5; color-scheme: light dark; }
#root:not(:empty) + #startup { display: none; }
#startup { max-width: 34rem; margin: 15vh auto; padding: 1.5rem; color: #3b2418; background: #fdf7e5; font: 1rem/1.6 system-ui, sans-serif; animation: startup-wait 0s 300ms backwards; }
/* An app that opens within 300ms never shows the note; it waits unseen (iPhone build 23 QA: no flash of "Opening your game…"). */
@keyframes startup-wait { from { visibility: hidden; } }
#startup h1 { font: bold 2.5rem Georgia, serif; }
#startup a { color: inherit; text-decoration: underline; }
#startup summary { cursor: pointer; }
@media (prefers-color-scheme: dark) {
  html { background: #211e1c; }
  #startup { color: #fdf7e5; background: #211e1c; }
}
