/* Shared full-screen loader for DRY Records game shortcodes. */

.dryRecordsGameLoader{
  position:fixed;
  inset:0;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100vw;
  height:100vh;
  height:100svh;
  z-index:2147482500;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  color:#f8fafc;
  background:
    radial-gradient(720px 420px at 50% 18%, rgba(37,99,235,.22), transparent 62%),
    linear-gradient(180deg, #02040a 0%, #05070d 100%);
  opacity:1;
  visibility:visible;
  transition:opacity .28s ease, visibility .28s ease;
}

.dryRecordsGameLoader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.dryRecordsGameLoaderPanel{
  width:min(420px, 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  text-align:center;
}

.dryRecordsGameLoaderPanel img{
  display:block;
  width:min(220px, 58vw);
  height:auto;
  filter:drop-shadow(0 20px 42px rgba(0,0,0,.55));
}

.dryRecordsGameLoaderText{
  min-height:24px;
  color:#e5edf7;
  font-size:16px;
  font-weight:750;
  line-height:1.4;
}

.dryRecordsGameLoaderDots{
  display:flex;
  gap:7px;
  align-items:center;
  justify-content:center;
}

.dryRecordsGameLoaderDots span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#60a5fa;
  animation:dryRecordsLoaderPulse 1s ease-in-out infinite;
}

.dryRecordsGameLoaderDots span:nth-child(2){animation-delay:.16s}
.dryRecordsGameLoaderDots span:nth-child(3){animation-delay:.32s}

@keyframes dryRecordsLoaderPulse{
  0%, 100%{
    opacity:.32;
    transform:translateY(0);
  }
  50%{
    opacity:1;
    transform:translateY(-5px);
  }
}
