/* Placeholder ("skeleton") screens shown while quizzes and templates load: grey shapes in the layout of what is
   coming, with a soft shimmer (js/portal/Skeleton.js, and static copies in index.html). Still with Reduce motion. */
.sk {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e4ecf3;
}
.sk::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: sk-shimmer 1.3s ease-in-out infinite;
}
@keyframes sk-shimmer {
  100% {
    transform: translateX(100%);
  }
}
.sk-line {
  height: 12px;
}
.sk-title {
  height: 22px;
  width: 75%;
}
.sk-pill {
  height: 20px;
  width: 64px;
  border-radius: 99px;
}
.sk-btn {
  height: 38px;
  width: 92px;
  border-radius: 12px;
}
.sk-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sk-spread {
  justify-content: space-between;
}
.sk-w40 {
  width: 40%;
}
.sk-w60 {
  width: 60%;
}
.sk-w85 {
  width: 85%;
}
.sk-w95 {
  width: 95%;
}
/* A gallery card while loading */
.g-card.sk-card {
  gap: 12px;
  pointer-events: none;
}
.g-card.sk-card:hover {
  border-color: var(--line);
  box-shadow: none;
}
/* Chips and search while loading */
.sk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}
.sk-chips .sk {
  height: 34px;
  width: 120px;
  border-radius: 99px;
}
.sk-search {
  height: 46px;
  max-width: 520px;
  border-radius: 12px;
}
/* Lines (a dialog's list, a card's text) */
.sk-lines {
  display: grid;
  gap: 12px;
  padding: 12px 0;
}
/* Admin cards while loading */
.adm-card.sk-panel {
  display: grid;
  gap: 12px;
}
.sk-loading-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .sk::after {
    animation: none;
    display: none;
  }
}
