#qracun-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8vh 24px 4vh;
  background: #e8e6de;
  color: #0f0f0f;
  font-family:
    'Space Grotesk',
    system-ui,
    -apple-system,
    sans-serif;
  transition: opacity 220ms ease-out;
}

html.business #qracun-splash {
  background: #fff;
  color: #111827;
}

html.dark #qracun-splash {
  background: #0f0f0f;
  color: #e8e6de;
}

html.business.dark #qracun-splash {
  background: #111827;
  color: #f9fafb;
}

html.business #qracun-splash .qs-mark svg rect[fill='#E8E6DE'] {
  fill: #fff;
}

html.business.dark #qracun-splash .qs-mark svg rect[fill='#E8E6DE'] {
  fill: #111827;
}

html[data-app-ready] #qracun-splash {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 220ms ease-out,
    visibility 0s linear 220ms;
}

#qracun-splash .qs-spacer {
  flex: 1;
  min-height: 48px;
}

#qracun-splash .qs-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

#qracun-splash .qs-mark {
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
}

#qracun-splash .qs-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

#qracun-splash .qs-scan {
  position: absolute;
  top: -10%;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f04e23 20%, #f04e23 80%, transparent);
  box-shadow:
    0 0 12px #f04e23,
    0 0 24px #f04e23;
  animation: qs-scan 2.4s ease-in-out infinite;
}

@keyframes qs-scan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  10% {
    opacity: 1;
  }

  50% {
    opacity: 1;
    transform: translateY(580%);
  }

  60% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    transform: translateY(580%);
  }
}

#qracun-splash .qs-name {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

#qracun-splash .qs-name .qs-q {
  color: #f04e23;
}

#qracun-splash .qs-dots {
  align-self: center;
  display: flex;
  gap: 8px;
}

#qracun-splash .qs-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f04e23;
  animation: qs-pulse 1.4s ease-in-out infinite;
}

#qracun-splash .qs-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

#qracun-splash .qs-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes qs-pulse {
  0%,
  60%,
  100% {
    opacity: 0.25;
    transform: scale(0.85);
  }

  30% {
    opacity: 1;
    transform: scale(1.1);
  }
}

#qracun-splash .qs-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

#qracun-splash .qs-attribution .qs-by {
  color: #5c5b56;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

html.dark #qracun-splash .qs-attribution .qs-by {
  color: #888;
}

#qracun-splash .qs-itc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#qracun-splash .qs-itc svg {
  display: block;
}

#qracun-splash .qs-itc-text {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
