#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(202,166,75,.15), transparent 28%),
    radial-gradient(circle at top right, rgba(15,107,82,.12), transparent 24%),
    linear-gradient(180deg, #fbf7ef 0%, #efe2c3 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility .4s ease;
}

body:not(.app-booting) #splash-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-core {
  position: relative;
  width: 142px;
  height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-ring,
.splash-ring-2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}

.splash-ring {
  border-top-color: rgba(202,166,75,.95);
  border-right-color: rgba(154,116,40,.72);
  animation: splashSpin 1.15s linear infinite;
}

.splash-ring-2 {
  inset: 14px;
  border-bottom-color: rgba(15,107,82,.88);
  border-left-color: rgba(15,107,82,.55);
  animation: splashSpinReverse 1.55s linear infinite;
}

.splash-logo {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  line-height: 1;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,252,246,.98), rgba(255,247,230,.88) 48%, rgba(236,222,188,.96) 100%);
  border: 1px solid rgba(202,166,75,.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.94),
    0 14px 24px rgba(154,116,40,.14);
  animation: splashLogoIn .6s ease both;
}

.splash-title {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #3a2c14;
  opacity: 0;
  animation: splashTitleIn .5s ease .3s both;
}

@keyframes splashSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes splashSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes splashLogoIn {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes splashTitleIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
