dialog.bqt-welcome-screen {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  box-sizing: border-box; margin: 0; border: 0; outline: 0; border-radius: 0; padding: 24px;
  overflow: hidden; direction: rtl; color: #faf5f6; text-align: center;
  background: radial-gradient(ellipse at 84% -8%, #381921 0, transparent 42%),
              radial-gradient(ellipse at 12% 110%, #3a301c 0, transparent 38%), #101013;
}
dialog.bqt-welcome-screen[open] { display: grid; place-items: center }
html:has(.bqt-welcome-screen[open]) { overflow: hidden }
.bqt-welcome-screen::backdrop { background: transparent }
.bqt-welcome-screen .welcome-center {
  display: grid; justify-items: center; gap: 5px; max-width: 100%; overflow-wrap: anywhere;
}
.bqt-welcome-screen p { margin: 0; font: inherit; font-size: 16px; color: #c7bfc2 }
.bqt-welcome-screen strong { font-size: clamp(24px, 5vw, 34px); line-height: 1.35 }
.welcome-mark {
  position: relative; width: 76px; height: 76px; display: grid; place-items: center;
  border-radius: 25px; margin-bottom: 10px; color: white;
  background: linear-gradient(145deg,#ff6470,#c42c45); box-shadow: 0 14px 35px -12px #e9445b99;
}
.welcome-mark i { position: relative; z-index: 1; display: grid; font-size: 34px }
.welcome-mark svg { fill: currentColor; width: 1em; height: 1em }
.welcome-piece {
  position: absolute; top: 50%; left: 50%; width: 6px; height: 10px;
  border-radius: 2px; background: #f65c73; opacity: 0;
}
.welcome-piece:nth-of-type(3n) { background: #f4c369 }
.welcome-piece:nth-of-type(3n + 1) { background: #88c7b7 }
.welcome-dots { display: flex; gap: 5px; margin-top: 6px }
.welcome-dots i { width: 5px; height: 5px; border-radius: 50%; background: #ed7586 }
@keyframes welcome-reveal { from { opacity: 0 } }
@keyframes welcome-exit { to { opacity: 0 } }
@keyframes welcome-badge { from { opacity: 0; transform: rotate(-10deg) scale(.45) } }
@keyframes welcome-pulse { 45% { scale: 1.16 } }
@keyframes welcome-caption { from { opacity: 0; translate: 0 14px } }
@keyframes welcome-burst {
  0% { opacity: 0; transform: scale(.4) }
  14% { opacity: 1 }
  to { opacity: 0; transform: translate(var(--dx),var(--dy)) rotate(var(--twist)) scale(.8) }
}
@media (prefers-reduced-motion: no-preference) {
  .bqt-welcome-screen[open] { animation: welcome-reveal calc(300 * var(--welcome-ms, 1ms)) ease-out both }
  .bqt-welcome-screen.is-leaving { animation: welcome-exit calc(380 * var(--welcome-ms, 1ms)) ease-in both }
  .welcome-mark { animation: welcome-badge calc(600 * var(--welcome-ms, 1ms)) calc(80 * var(--welcome-ms, 1ms)) cubic-bezier(.31,1.5,.62,1) both }
  .welcome-mark i { animation: welcome-pulse calc(760 * var(--welcome-ms, 1ms)) calc(520 * var(--welcome-ms, 1ms)) both }
  .welcome-piece { animation: welcome-burst calc(1060 * var(--welcome-ms, 1ms)) cubic-bezier(.14,.77,.3,1) both }
  #bqtHello { animation: welcome-caption calc(500 * var(--welcome-ms, 1ms)) calc(220 * var(--welcome-ms, 1ms)) ease-out both }
  #bqtWelcomeMessage { animation: welcome-caption calc(550 * var(--welcome-ms, 1ms)) calc(340 * var(--welcome-ms, 1ms)) ease-out both }
  .welcome-dots i { animation: welcome-pulse 800ms ease-in-out infinite alternate }
  .welcome-dots i:nth-child(2) { animation-delay: 140ms }
  .welcome-dots i:nth-child(3) { animation-delay: 280ms }
}
