.kashi-lesson-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgb(15, 15, 21);
  color: #e5e5eb;
  text-align: center;
}
.kashi-lesson-loader.hidden { display: none; }
[data-lesson-loader-unavailable] .kashi-lesson-loader { display: none; }
body.theme-light #loading-overlay.kashi-lesson-loader { background: rgb(250, 248, 251) !important; color: #35333d; }
body.theme-light .kashi-lesson-loader__actions button { border-color: #35333d30; background: #35333d08; }
.kashi-lesson-loader__content { max-width: 300px; width: 100%; }
.kashi-lesson-loader__mascot {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  object-fit: contain;
  animation: lesson-mascot-breathe 2.4s ease-in-out infinite;
}
.kashi-lesson-loader__label { margin: 0; font-size: 14px; line-height: 1.5; }
.kashi-lesson-loader__detail { margin: 6px 0 0; font-size: 12px; line-height: 1.5; opacity: 0.7; }
.kashi-lesson-loader__detail[hidden] { display: none; }
.kashi-lesson-loader__recovery { margin-top: 16px; }
.kashi-lesson-loader__recovery[hidden] { display: none; }
.kashi-lesson-loader__actions { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.kashi-lesson-loader__actions button {
  border: 1px solid #ffffff30;
  border-radius: 8px;
  background: #ffffff08;
  color: inherit;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.kashi-lesson-loader__actions button:focus-visible { outline: 2px solid #f9a8d4; outline-offset: 3px; }
@keyframes lesson-mascot-breathe {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-4px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .kashi-lesson-loader__mascot { animation: none; }
}
