/*
 * Boot-splash ground. External, not an inline <style>, and that is the whole
 * point: tauri injects nonce="__TAURI_STYLE_NONCE__" into every <style>
 * element of the built HTML and only then appends 'nonce-…' to style-src —
 * and per CSP spec a nonce-source makes 'unsafe-inline' inert for that
 * directive, which blocks the stylesheet sonner creates at runtime and leaves
 * every toast unstyled. With zero <style> elements in the document tauri
 * rewrites nothing, so plain 'unsafe-inline' survives on every WebKit,
 * including iOS 15.0-15.3 where style-src-elem does not exist yet.
 *
 * A <link> is not a nonce target and 'self' is already allowed. Values mirror
 * the SplashBackground colorset (src-tauri/gen/apple/Assets.xcassets) so the
 * native LaunchScreen and the webview's first paint share a ground.
 */
#boot-splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
}

html.dark #boot-splash {
  background-color: #0b0a1c;
}

#boot-splash img {
  display: block;
  width: 160px;
  max-width: 160px;
  height: 160px;
  max-height: 160px;
}
