/* ============================================================
   libs.prefix.css
   원본 프로젝트의 라이브러리 공통 CSS 자리.
   로컬 단독 실행을 위해 최소한의 스타일만 포함합니다.
   ============================================================ */

/* mcframe 로딩 스피너 (wheel-loader) */
#mcframeLoading .loading-layer {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10002;
}

.wheel-loader {
  position: relative;
  width: 48px;
  height: 48px;
}

.wheel-loader span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: #2dd4bf;
  animation: wheelFade 1.2s linear infinite;
}

.wheel-loader span:nth-child(1)  { transform: rotate(0deg)   translate(20px); animation-delay: 0s; }
.wheel-loader span:nth-child(2)  { transform: rotate(30deg)  translate(20px); animation-delay: -0.1s; }
.wheel-loader span:nth-child(3)  { transform: rotate(60deg)  translate(20px); animation-delay: -0.2s; }
.wheel-loader span:nth-child(4)  { transform: rotate(90deg)  translate(20px); animation-delay: -0.3s; }
.wheel-loader span:nth-child(5)  { transform: rotate(120deg) translate(20px); animation-delay: -0.4s; }
.wheel-loader span:nth-child(6)  { transform: rotate(150deg) translate(20px); animation-delay: -0.5s; }
.wheel-loader span:nth-child(7)  { transform: rotate(180deg) translate(20px); animation-delay: -0.6s; }
.wheel-loader span:nth-child(8)  { transform: rotate(210deg) translate(20px); animation-delay: -0.7s; }
.wheel-loader span:nth-child(9)  { transform: rotate(240deg) translate(20px); animation-delay: -0.8s; }
.wheel-loader span:nth-child(10) { transform: rotate(270deg) translate(20px); animation-delay: -0.9s; }
.wheel-loader span:nth-child(11) { transform: rotate(300deg) translate(20px); animation-delay: -1.0s; }
.wheel-loader span:nth-child(12) { transform: rotate(330deg) translate(20px); animation-delay: -1.1s; }

@keyframes wheelFade {
  0%   { opacity: 1; }
  100% { opacity: 0.15; }
}
