html {
  scrollbar-gutter: stable;
}
#splash {
  display: none;
}
html[data-splash="on"] {
  overflow: hidden;
  /* The page's scrollbar strip (kept by the stable gutter) is part of the canvas, not of the splash:
     painted red too, it does not show as a dark band at the edge. */
  background: var(--accent, #c8202b);
}
html[data-splash="on"] #splash {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--accent, #c8202b);
  /* The name appears once its font is ready (data-splash-fonts, set by splash.ts): drawn earlier it
     would wrap in the fallback font and then jump to one line. */
  color: transparent;
  font-family: var(--font-display, "Anton", "Impact", "Arial Narrow", sans-serif);
  /* 11vw keeps "MARVEL PLANNER" (about 6.7em wide in Anton) on one line on any width; the floor must
     stay below what 11vw gives on a phone. */
  font-size: clamp(2rem, 11vw, 9rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
html[data-splash="on"][data-splash-fonts] #splash {
  color: var(--white, #fff);
}
