/* Splash loader – overlay on top of the page until Flutter splash action completes.
   Canvas-based, matching splash_1.dart. Hidden when Flutter posts HIDE_WEB_SPLASH. */

#loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  box-sizing: border-box;
  /* Overlay: stays on top until Flutter signals hide */
}

.splash-loader__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

#splash-canvas {
  /* Canvas logical size = 300px; scale down on small screens so it stays visible and centered */
  width: 300px;
  height: 300px;
  max-width: 90vw;
  max-height: 80vmin;
  display: block;
}