html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  min-height: -webkit-fill-available;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  height: 100dvh;
  position: fixed;
  inset: 0;
}

/* Keep Flutter host layers pinned to the full viewport on Chrome.
   Without this, some renderer DOM nodes can shrink to content width
   and leave the app stuck in the top-left corner. */
flutter-view,
.flutter-view,
flt-glass-pane,
flt-scene-host,
flt-scene,
flt-semantics-host {
  display: block;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

#flutter-loading-splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 999999;
}

#flutter-loading-splash .splash-inner {
  position: relative;
  width: 112px;
  height: 112px;
}

#flutter-loading-splash .splash-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  object-fit: contain;
}

#flutter-loading-splash .splash-ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(0, 132, 71, 0.15);
  border-top-color: #008447;
  border-radius: 50%;
  animation: flutter-splash-spin 0.9s linear infinite;
}

@keyframes flutter-splash-spin {
  to { transform: rotate(360deg); }
}
