/* 例: /wp-content/plugins/kuchi-stripe/css/loading.css */
#ks-loading {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
#ks-loading.active {
  opacity: 1;           /* 表示 */
  pointer-events: all;
}
#ks-loading .spinner {
  width: 42px; height: 42px;
  border: 4px solid #ddd;
  border-top-color: #666;
  border-radius: 50%;
  animation: ks-spin .8s linear infinite;
  margin-bottom: .8rem;
}
@keyframes ks-spin { to { transform: rotate(360deg); } }
