/* Moved out of index.html so the page needs no inline style (the shop site sends style-src 'self', deploy/site/Caddyfile). */
html{background:#000;color-scheme:dark}
html,body{background:#000;margin:0}
  /* the splash itself uses no web font (the lockup is a picture, public/brand/logo-splash.*); Outfit is only for the error card button and the app.
     font-display fallback (shop-v4.md 5); U+202F is left out on purpose: Outfit draws it with almost no width, the system font gives the group gap */
  @font-face{font-family:Outfit;font-weight:900;font-display:fallback;src:url(/fonts/outfit-900.woff2) format('woff2');unicode-range:U+0000-202E,U+2030-FFFF}
  #splash{position:fixed;inset:0;z-index:999;overflow:hidden;background:transparent;transition:opacity .15s linear}
  #splash.out{opacity:0;pointer-events:none}
  #cur{position:absolute;inset:0;background:#000;will-change:opacity}
  /* the lockup in the middle (a bit above centre), as wide as it fits; splash.js animates it in and flies it onto the header logo */
  #slogo{position:absolute;left:50%;top:45%;width:min(72vw,340px);transform:translate(-50%,-50%);opacity:0;will-change:transform,opacity}
  #slogo img{display:block;width:100%;height:auto}
  /* light theme (public/splash.js guesses it before the SDK): the curtain is the light page colour, the lockup the black-ONE one */
  html[data-scheme="light"][data-boot]{background:#efeff4;color-scheme:light}
  html[data-scheme="light"] #cur{background:#efeff4}
  html[data-scheme="light"] body{background:#efeff4}
  html[data-boot] [data-app-logo]{opacity:0}
  [data-app-logo]{transition:opacity .09s linear}
  #fatal{position:fixed;inset:0;z-index:1000;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:32px;text-align:center;color:#fff;font:600 17px/22px Inter,system-ui,sans-serif}
  #fatal img{display:block;width:96px;height:96px;margin-bottom:8px}
  #fatal b{font:900 22px/26px Outfit,system-ui,sans-serif;text-transform:uppercase;letter-spacing:-.02em}
  #fatal i{font-style:normal;color:#98989e;max-width:280px;font-weight:400;font-size:13px;line-height:18px;margin-top:-8px}
  #fatal button{appearance:none;border:0;background:#E31E24;color:#fff;font:900 17px/1 Outfit,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.04em;min-height:52px;padding:0 32px;border-radius:12px}
  #fatal button:active{transform:scale(.97)}
  /* light: the error card is the light page with black text, not a black slab */
  html[data-scheme="light"] #fatal{background:#efeff4;color:#000}
  html[data-scheme="light"] #fatal i{color:#5f5f64}
