/*
  While the app loads: what its first screen shows — the logo and a
  spinner, in the middle, on the off-white — so the one turns into the
  other. On a big screen, phone-wide in the middle with white either side,
  as the app will be (lib/ui/core/ui/phone_frame.dart: the same 412 width,
  framed from 476).
*/
html, body {
  margin: 0;
  height: 100%;
  background: #FAFAFC;
}
#loading {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  background: #FAFAFC;
}
#loading .phone {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FAFAFC;
}
#loading img {
  width: 260px;
  height: 173.33px;
}
#loading .spinner {
  width: 28px;
  height: 28px;
  margin-top: 32px;
  box-sizing: border-box;
  border: 2.5px solid transparent;
  border-top-color: #7024E8;
  border-right-color: #7024E8;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@media (min-width: 476px) {
  body, #loading {
    background: #FFFFFF;
  }
  #loading .phone {
    width: 412px;
    box-shadow: 0 0 40px rgba(27, 21, 48, 0.12);
  }
}
