.kawemai-page-loading {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(238, 244, 245, 0.82);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0s linear 0.16s;
}

.kawemai-page-loading.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.kawemai-page-loading__panel {
  width: min(320px, 100%);
  padding: 28px 30px 25px;
  border: 1px solid rgba(26, 60, 110, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(18, 38, 60, 0.16);
  text-align: center;
}

.kawemai-page-loading__logo {
  display: block;
  width: auto;
  max-width: 185px;
  max-height: 58px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.kawemai-page-loading__message {
  margin: 0;
  color: #17334f;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kawemai-page-loading__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.kawemai-page-loading__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #17877f;
  animation: kawemai-loading-dot 1s ease-in-out infinite;
}

.kawemai-page-loading__dots span:nth-child(2) { animation-delay: 0.14s; }
.kawemai-page-loading__dots span:nth-child(3) { animation-delay: 0.28s; }

@keyframes kawemai-loading-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.38; }
  30% { transform: translateY(-5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .kawemai-page-loading,
  .kawemai-page-loading__dots span { transition: none; animation: none; }
}
