#motion-loading {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 16px clamp(16px, 5cqw, 60px);
  background:
    radial-gradient(ellipse at 30% 48%, #392b66, transparent 57%),
    radial-gradient(circle, #aa9cde38 1px, transparent 1.5px) 0 0 / 33px 33px,
    #0c091c;
  color: var(--t-ink);
  font-family: CreaturePixel, system-korean, sans-serif;
}

#motion-loading[hidden] { display: none; }

.motion-loading-panel {
  width: min(100%, 740px);
  display: grid;
  grid-template-columns: minmax(94px, .75fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(14px, 4cqw, 40px);
  padding: clamp(16px, 4cqh, 34px) clamp(16px, 4cqw, 40px);
  border: 1px solid var(--t-edge);
  border-radius: 18px;
  background: var(--t-glass);
  box-shadow: var(--t-shadow);
}

.motion-loading-orb {
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 176px, 45cqh);
  aspect-ratio: 1;
}

.motion-loading-orb canvas {
  width: 124%;
  height: auto;
  image-rendering: pixelated;
}

.motion-loading-kicker { color: var(--t-teal); font-size: 11px; letter-spacing: .18em; }
#motion-loading-title { margin: 4px 0; color: var(--t-gold); font-size: clamp(24px, 4cqw, 38px); line-height: 1.25; }
.motion-loading-note { color: var(--t-muted); font-size: 13px; line-height: 1.55; }
.motion-loading-meter { display: grid; grid-template-columns: minmax(0, 1fr) 4ch; align-items: center; gap: 12px; margin: 15px 0; }
#motion-loading-percent { color: var(--t-gold); text-align: right; font-size: 13px; }
#motion-loading-progress {
  appearance: none;
  width: 100%;
  height: 9px;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: #b9a0ed26;
}
#motion-loading-progress::-webkit-progress-bar { background: #b9a0ed26; }
#motion-loading-progress::-webkit-progress-value { background: var(--t-gold-fill); }
#motion-loading-progress::-moz-progress-bar { background: var(--t-gold-fill); }

.motion-loading-tip {
  min-height: 86px;
  padding: 9px 12px;
  border: 1px solid var(--t-line);
  border-radius: 8px;
  background: #0b091e70;
}
#motion-loading-topic { color: var(--t-teal); font-size: 12px; }
#motion-loading-hint { color: var(--t-ink); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }

@container (max-width: 480px) {
  .motion-loading-panel { grid-template-columns: 1fr; }
  .motion-loading-orb { width: min(68px, 24cqh); }
}
