/* Auaha skeleton loading — replaces GIF preloader */
body.auaha-loading #auaha-page-content {
  visibility: hidden;
  pointer-events: none;
}

body.auaha-ready #auaha-skeleton-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.auaha-ready #auaha-page-content {
  visibility: visible;
  pointer-events: auto;
  animation: auaha-fade-in 0.35s ease;
}

@keyframes auaha-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

#auaha-skeleton-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
}

.auaha-skeleton-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.auaha-skel {
  background: linear-gradient(90deg, #ececec 25%, #f5f5f5 37%, #ececec 63%);
  background-size: 400% 100%;
  animation: auaha-skel-shimmer 1.2s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes auaha-skel-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.auaha-skel-bar { height: 14px; margin-bottom: 12px; }
.auaha-skel-bar.sm { width: 40%; }
.auaha-skel-bar.md { width: 65%; }
.auaha-skel-bar.lg { width: 90%; }
.auaha-skel-hero { height: 200px; margin-bottom: 24px; border-radius: 12px; }
.auaha-skel-card { height: 120px; margin-bottom: 16px; }
.auaha-skel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.auaha-skel-tile { height: 160px; }

.preloader {
  display: none !important;
}
