/* ===== MOBILE FIXES — loaded via nav.html, applies to all pages ===== */
@media (max-width: 768px) {
  /* Stat boxes — keep 3-column so all fit in one row */
  .set-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .stat-card {
    padding: 8px !important;
    height: 72px !important;
    border-radius: 8px !important;
    cursor: default !important;
  }
  .stat-value {
    font-size: 0.85rem !important;
  }
  .stat-label {
    font-size: 0.6rem !important;
  }
  .stat-card img {
    max-height: 28px !important;
  }
  /* Compress hero so section nav is reachable sooner */
  .set-hero {
    padding: 24px 0 32px !important;
  }
  .set-title {
    font-size: 2rem !important;
    margin-bottom: 8px !important;
  }
  .hero-badge {
    padding: 5px 12px !important;
    font-size: 0.75rem !important;
    margin-bottom: 12px !important;
  }
  .set-desc {
    font-size: 0.85rem !important;
    margin-bottom: 16px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .breadcrumb {
    margin-bottom: 12px !important;
    font-size: 0.7rem !important;
  }
  /* Scroll hint */
  .scroll-hint {
    display: block !important;
  }
  /* Section nav dropdown — left/right/width/height adapted for mobile;
     top is left to the inline style set by JS (button's actual position),
     since forcing top/bottom:auto here overrides that with !important
     and leaves the dropdown with no valid vertical position at all. */
  .section-nav-dropdown {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-height: 60vh !important;
    z-index: 9999 !important;
  }
}

/* Scroll hint — hidden on desktop */
.scroll-hint {
  display: none;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  letter-spacing: 0.06em;
  background: linear-gradient(to bottom, transparent, rgba(239, 68, 68, 0.06));
  animation: mobileHintPulse 2.5s ease-in-out infinite;
  user-select: none;
}
.scroll-hint.hidden { display: none !important; }
@keyframes mobileHintPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1;   }
}
