/* Available before the application bundle, on the web and in installed builds. */
#boot-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  box-sizing: border-box;
  overflow: auto;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: max(36px, env(safe-area-inset-top)) max(40px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(40px, env(safe-area-inset-left));
  background: #071727;
  color: #f4f8fc;
  font: 16px/1.5 system-ui, sans-serif;
}
#boot-screen[hidden], #boot-screen [hidden] { display: none !important; }
#boot-screen .boot-art, #boot-screen .boot-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
#boot-screen .boot-art { object-fit: cover; object-position: 65% center; }
#boot-screen .boot-shade {
  background: linear-gradient(90deg, #04111ddb, #04111d5c 45%, #04111d0a 78%), linear-gradient(0deg, #04111de6, transparent 65%);
}
#boot-screen .boot-brand { display: flex; align-items: center; gap: 18px; }
#boot-screen .loading-logo { width: 64px; }
#boot-screen h1 {
  position: relative;
  width: 280px;
  max-width: 60vw;
  aspect-ratio: 1980 / 190;
  margin: 0;
  overflow: hidden;
}
#boot-screen h1 img {
  position: absolute;
  top: -138.947%;
  left: -4.848%;
  width: 109.697%;
  max-width: none;
  height: auto;
  filter: brightness(0) invert(1);
}
#boot-screen .boot-card { width: min(100%, 440px); margin-top: auto; }
#boot-screen .boot-tip { display: flex; align-items: center; gap: 16px; min-height: 80px; }
#boot-screen .boot-tip-copy { flex: 1; min-width: 0; }
#boot-screen .boot-eyebrow { color: #b7d3ec; font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
#boot-screen p { margin: 0; }
#boot-screen .boot-introduction { margin-bottom: 12px; color: #dfebf5; font-size: 14px; }
#boot-screen .boot-guides { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 8px; font-size: 12px; }
#boot-screen .boot-guides a { display: inline-flex; align-items: center; min-height: 44px; }
#boot-screen #boot-tip-text { margin-top: 8px; color: #dfebf5; font-size: 14px; line-height: 1.5; }
#boot-screen button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  padding: 10px 18px;
  background: #14334edb;
  color: #fff;
  cursor: pointer;
  font: inherit;
}
#boot-screen #boot-next-tip { flex: 0 0 44px; width: 44px; padding: 0; font-size: 22px; }
#boot-screen button:hover { background: #294b6d; }
#boot-screen :focus-visible { outline: 3px solid #a5cdff; outline-offset: 4px; }
#boot-screen .boot-loading-line { height: 2px; margin: 22px 0 12px; overflow: hidden; background: #ffffff29; }
#boot-screen .boot-loading-line span { display: block; height: 100%; width: 35%; background: #a5cdff; animation: boot-drift 2.4s ease-in-out infinite alternate; }
#boot-screen #boot-status { font-size: 12px; color: #c5d6e5; }
#boot-screen .boot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; }
#boot-screen a { color: inherit; text-underline-offset: 3px; }
#boot-screen[data-failed] .boot-loading-line span { animation: none; background: #f1bc86; }
@keyframes boot-drift { from { transform: translateX(-100%); } to { transform: translateX(285%); } }
@media (max-height: 500px) {
  #boot-screen { gap: 16px; padding: max(20px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
  #boot-screen .loading-logo { width: 44px; }
  #boot-screen .boot-brand { gap: 12px; }
  #boot-screen h1 { width: 210px; }
  #boot-screen .boot-card { width: min(48%, 380px); min-width: 270px; }
  #boot-screen .boot-tip { min-height: 76px; gap: 10px; }
  #boot-screen #boot-tip-text { font-size: 13px; }
  #boot-screen .boot-loading-line { margin-top: 14px; }
  #boot-screen[data-recovery="true"] .boot-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { #boot-screen .boot-loading-line span { animation: none; width: 35%; } }

#boot-screen[data-reduced-motion="true"] .boot-loading-line span { animation: none; }
#boot-screen[data-reduced-motion="true"] .loading-logo__water { animation: none; transform: translateY(45%); }
#boot-screen[data-reduced-motion="true"] .loading-logo__water::before,
#boot-screen[data-reduced-motion="true"] .loading-logo__water::after { animation: none; }
