/* ============================================
   1. CSS Variables & Root
   ============================================ */
:root {
  /* Primary Colors */
  --bp-primary: #1a5f4a;
  --bp-primary-dark: #134636;
  --bp-primary-light: #2d8a6a;
  --bp-primary-soft: #eaf6f1;

  /* Accent Colors */
  --bp-accent: #f0a500;
  --bp-accent-light: #ffc107;

  /* Neutral Colors */
  --bp-bg: #f0f4f8;
  --bp-surface: #ffffff;
  --bp-surface-hover: #f8fafc;
  --bp-border: #e2e8f0;
  --bp-border-light: #f1f4f8;

  /* Text Colors */
  --bp-text-primary: #0f172a;
  --bp-text-secondary: #475569;
  --bp-text-muted: #94a3b8;
  --bp-text-white: #ffffff;

  /* Subject Colors */
  --bp-math: #2563eb;
  --bp-math-bg: #eff6ff;
  --bp-science: #059669;
  --bp-science-bg: #ecfdf5;
  --bp-english: #7c3aed;
  --bp-english-bg: #f5f3ff;
  --bp-computer: #0f766e;
  --bp-computer-bg: #f0fdfa;
  --bp-islamiat: #65a30d;
  --bp-islamiat-bg: #f7fee7;
  --bp-physics: #4f46e5;
  --bp-physics-bg: #eef2ff;
  --bp-general: #64748b;
  --bp-general-bg: #f1f5f9;

  /* Status Colors */
  --bp-completed: #22c55e;
  --bp-pending: #f59e0b;
  --bp-locked: #94a3b8;
  --bp-new: #3b82f6;
  --bp-recommended: #8b5cf6;
  --bp-popular: #ec4899;

  /* Spacing */
  --bp-spacing-xs: 0.25rem;
  --bp-spacing-sm: 0.5rem;
  --bp-spacing-md: 1rem;
  --bp-spacing-lg: 1.5rem;
  --bp-spacing-xl: 2rem;
  --bp-spacing-2xl: 3rem;

  /* Border Radius */
  --bp-radius-sm: 8px;
  --bp-radius-md: 12px;
  --bp-radius-lg: 16px;
  --bp-radius-xl: 20px;
  --bp-radius-full: 9999px;

  /* Shadows */
  --bp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --bp-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --bp-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --bp-shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --bp-transition-fast: 150ms ease;
  --bp-transition-normal: 250ms ease;
  --bp-transition-slow: 350ms ease;
}

/* ============================================
   2. Typography
   ============================================ */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bp-bg);
  color: var(--bp-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.bp-heading-1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
}

.bp-heading-2 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
}

.bp-heading-3 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
}

.bp-text-body {
  font-size: 1rem;
  color: var(--bp-text-secondary);
}

.bp-text-small {
  font-size: 0.875rem;
  color: var(--bp-text-muted);
}

.bp-text-tiny {
  font-size: 0.75rem;
  color: var(--bp-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   3. Base Layout
   ============================================ */
.board-prep-body {
  background: var(--bp-bg);
  min-height: 100vh;
}

.board-prep-app-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--bp-spacing-md);
}

.board-prep-main {
  padding: var(--bp-spacing-md) 0;
}

/* ============================================
   4. Navigation
   ============================================ */
.board-prep-nav {
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-primary-dark));
  padding: var(--bp-spacing-sm) 0;
  border-radius: var(--bp-radius-lg);
  margin-bottom: var(--bp-spacing-lg);
}

.board-prep-brand {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bp-text-white);
  text-decoration: none;
}

.board-prep-brand i {
  font-size: 1.2rem;
}

.board-prep-brand span {
  white-space: nowrap;
}

.board-prep-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.board-prep-nav .nav-link:hover,
.board-prep-nav .nav-link.active {
  color: var(--bp-text-white);
}

.board-prep-nav .nav-link.active {
  font-weight: 600;
  text-decoration: underline;
}

.bp-mobile-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--bp-radius-full);
  background: rgba(255, 255, 255, 0.2);
  color: var(--bp-text-white);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--bp-transition-fast);
}

.bp-mobile-profile:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* ============================================
   5. Bottom Navigation
   ============================================ */
.bp-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: var(--bp-spacing-sm) var(--bp-spacing-md) calc(var(--bp-spacing-sm) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid var(--bp-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.bp-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: var(--bp-spacing-xs) 0;
  color: var(--bp-text-muted);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 600;
  transition: var(--bp-transition-fast);
  border-radius: var(--bp-radius-md);
  position: relative;
}

.bp-bottom-nav a i {
  font-size: 1.15rem;
  transition: var(--bp-transition-fast);
}

.bp-bottom-nav a:hover {
  color: var(--bp-primary);
}

.bp-bottom-nav a.active {
  color: var(--bp-primary);
}

.bp-bottom-nav a.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--bp-primary);
  border-radius: 0 0 4px 4px;
}

.bp-bottom-nav a.active i {
  transform: translateY(-2px);
}

/* ============================================
   6. Welcome Hero Section
   ============================================ */
.bp-welcome-hero {
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-primary-light));
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-lg) var(--bp-spacing-xl);
  color: var(--bp-text-white);
  margin-bottom: var(--bp-spacing-lg);
  position: relative;
  overflow: hidden;
}

.bp-welcome-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.bp-welcome-hero::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 20%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.bp-welcome-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--bp-spacing-md);
  position: relative;
  z-index: 1;
}

.bp-welcome-text {
  flex: 1;
  min-width: 200px;
}

.bp-welcome-text .bp-text-tiny {
  color: rgba(255, 255, 255, 0.7);
}

.bp-welcome-text h1 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin: var(--bp-spacing-xs) 0;
  color: var(--bp-text-white);
}

.bp-welcome-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin: 0;
}

.bp-welcome-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: var(--bp-spacing-md);
  min-width: 200px;
}

.bp-welcome-stat {
  text-align: center;
}

.bp-welcome-stat .bp-stat-number {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

.bp-welcome-stat .bp-stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bp-progress-row {
  margin-top: var(--bp-spacing-md);
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-md);
  flex-wrap: wrap;
}

.bp-progress-track {
  flex: 1;
  min-width: 120px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--bp-radius-full);
  overflow: hidden;
}

.bp-progress-fill {
  height: 100%;
  background: var(--bp-accent);
  border-radius: var(--bp-radius-full);
  transition: width 0.6s ease;
}

.bp-progress-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================
   7. Search & Filter Section
   ============================================ */
.bp-search-section {
  margin-bottom: var(--bp-spacing-lg);
}

.bp-search-bar {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  background: var(--bp-surface);
  border: 2px solid var(--bp-border);
  border-radius: var(--bp-radius-lg);
  padding: 0 var(--bp-spacing-md);
  transition: var(--bp-transition-normal);
  box-shadow: var(--bp-shadow-sm);
}

.bp-search-bar:focus-within {
  border-color: var(--bp-primary);
  box-shadow: 0 0 0 4px rgba(26, 95, 74, 0.1);
}

.bp-search-bar i {
  color: var(--bp-text-muted);
  font-size: 1rem;
}

.bp-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  padding: var(--bp-spacing-md) 0;
  font-size: 1rem;
  color: var(--bp-text-primary);
  outline: none;
}

.bp-search-bar input::placeholder {
  color: var(--bp-text-muted);
}

.bp-search-bar .bp-search-shortcut {
  font-size: 0.7rem;
  color: var(--bp-text-muted);
  background: var(--bp-bg);
  padding: 0.15rem 0.5rem;
  border-radius: var(--bp-radius-sm);
  font-weight: 600;
}

.bp-filter-section {
  margin-bottom: var(--bp-spacing-lg);
}

.bp-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-sm);
}

.bp-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  border: 2px solid var(--bp-border);
  border-radius: var(--bp-radius-full);
  background: var(--bp-surface);
  color: var(--bp-text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--bp-transition-fast);
  white-space: nowrap;
}

.bp-filter-chip:hover {
  border-color: var(--bp-primary);
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  transform: translateY(-1px);
}

.bp-filter-chip.is-active {
  border-color: var(--bp-primary);
  background: var(--bp-primary);
  color: var(--bp-text-white);
  box-shadow: 0 4px 12px rgba(26, 95, 74, 0.25);
}

.bp-filter-chip .bp-chip-count {
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.08);
  padding: 0.05rem 0.45rem;
  border-radius: var(--bp-radius-full);
  font-weight: 700;
}

.bp-filter-chip.is-active .bp-chip-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--bp-text-white);
}

.bp-filter-chip i {
  font-size: 0.75rem;
}

/* ============================================
   8. Quick Stats Cards
   ============================================ */
.bp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--bp-spacing-md);
  margin-bottom: var(--bp-spacing-lg);
}

.bp-stat-card {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  padding: var(--bp-spacing-md) var(--bp-spacing-lg);
  box-shadow: var(--bp-shadow-sm);
  border: 2px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
  cursor: default;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
}

button.bp-stat-card {
  appearance: none;
  -webkit-appearance: none;
}

.bp-stat-card[data-filter] {
  cursor: pointer;
}

.bp-stat-card[data-filter]:hover {
  transform: translateY(-2px);
  box-shadow: var(--bp-shadow-md);
  border-color: var(--bp-primary);
}

.bp-stat-card.is-active {
  border-color: var(--bp-primary);
  background: var(--bp-primary-soft);
  box-shadow: 0 4px 12px rgba(26, 95, 74, 0.2);
}

.bp-stat-card--accuracy[aria-disabled="true"] {
  pointer-events: none;
}

.bp-stat-card--accuracy[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: var(--bp-shadow-sm);
  border-color: var(--bp-border-light);
}

.bp-stat-card .bp-stat-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--bp-radius-md);
  margin-bottom: var(--bp-spacing-sm);
  font-size: 1.1rem;
}

.bp-stat-card--total .bp-stat-icon-wrap {
  background: var(--bp-math-bg);
  color: var(--bp-math);
}

.bp-stat-card--completed .bp-stat-icon-wrap {
  background: var(--bp-science-bg);
  color: var(--bp-science);
}

.bp-stat-card--pending .bp-stat-icon-wrap {
  background: #fef3c7;
  color: var(--bp-pending);
}

.bp-stat-card--streak .bp-stat-icon-wrap {
  background: #fce4ec;
  color: #e11d48;
}

.bp-stat-card--locked .bp-stat-icon-wrap {
  background: var(--bp-general-bg);
  color: var(--bp-general);
}

.bp-stat-card--accuracy .bp-stat-icon-wrap {
  background: #ede9fe;
  color: var(--bp-recommended);
}

.bp-stat-card .bp-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bp-text-primary);
  line-height: 1.2;
}

.bp-stat-card .bp-stat-label {
  font-size: 0.75rem;
  color: var(--bp-text-muted);
  font-weight: 600;
}

.bp-stat-card .bp-stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: var(--bp-spacing-xs);
  padding: 0.1rem 0.4rem;
  border-radius: var(--bp-radius-full);
}

.bp-stat-trend--up {
  color: var(--bp-completed);
  background: var(--bp-science-bg);
}

.bp-stat-trend--down {
  color: #ef4444;
  background: #fef2f2;
}

/* ============================================
   9. Quiz Cards - Main Content
   ============================================ */
.bp-quiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
  gap: 16px;
  justify-content: start;
}

.bp-section--featured .bp-quiz-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  justify-content: start;
}

.bp-quiz-card:not(.card) {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--bp-shadow-md);
  overflow: hidden;
  transition: var(--bp-transition-normal);
  position: relative;
  cursor: pointer;
  align-self: start;
}

.bp-quiz-card:not(.card):hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(26, 95, 74, 0.25);
}

.bp-quiz-card:not(.card):hover .bp-quiz-card-thumb img {
  transform: scale(1.05);
}

.bp-quiz-card__share {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

.bp-quiz-card-thumb {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  padding-top: 40%;
  overflow: hidden;
  background: var(--subject-bg, var(--bp-primary-soft));
}

.bp-quiz-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bp-quiz-card-thumb-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--subject-bg, var(--bp-primary-soft));
}

.bp-quiz-card-thumb-emoji {
  font-size: 42px;
  line-height: 1;
}

.bp-quiz-card-thumb .bp-thumb-badges {
  position: absolute;
  top: auto;
  bottom: 10px;
  left: 10px;
  right: auto;
  height: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: flex-start;
  z-index: 2;
}

.bp-quiz-card-thumb .bp-thumb-actions {
  position: absolute;
  top: var(--bp-spacing-sm);
  right: var(--bp-spacing-sm);
  display: flex;
  gap: var(--bp-spacing-xs);
}

.bp-thumb-badge {
  flex: 0 0 auto;
  align-self: flex-start;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--bp-radius-full);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.bp-thumb-badge--subject {
  background: rgba(255, 255, 255, 0.92);
  color: var(--bp-text-primary);
}

.bp-thumb-badge--status {
  background: var(--bp-primary);
  color: var(--bp-text-white);
}

.bp-thumb-badge--status.completed {
  background: var(--bp-completed, #22c55e);
}

.bp-thumb-badge--status.pending {
  background: var(--bp-pending, #f59e0b);
}

.bp-thumb-badge--status.locked {
  background: var(--bp-locked);
}

.bp-thumb-badge--status.new {
  background: var(--bp-primary-light, #2d8a6a);
}

.bp-thumb-badge--status.recommended {
  background: #F59E0B;
}

.bp-thumb-badge--status.popular {
  background: var(--bp-popular);
}

.bp-thumb-action-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--bp-radius-full);
  background: rgba(255, 255, 255, 0.9);
  color: var(--bp-text-secondary);
  cursor: pointer;
  transition: var(--bp-transition-fast);
  font-size: 0.8rem;
}

.bp-thumb-action-btn:hover {
  background: var(--bp-surface);
  transform: scale(1.1);
}

.bp-thumb-action-btn.is-favorite {
  color: #e11d48;
}

.bp-quiz-card-body {
  padding: 16px 18px 18px;
}

.bp-quiz-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--bp-text-primary);
  margin: 0 0 2px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-quiz-card-desc {
  font-size: 12px;
  color: var(--bp-text-muted);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-quiz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.bp-quiz-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--bp-text-secondary);
  font-weight: 600;
}

.bp-quiz-meta-item i {
  font-size: 0.7rem;
  color: var(--bp-text-muted);
  width: 16px;
}

.bp-quiz-progress {
  margin-bottom: 12px;
}

.bp-quiz-progress .bp-progress-track {
  height: 6px;
  background: #F1F5F9;
  border-radius: var(--bp-radius-full);
  overflow: hidden;
  margin-bottom: 4px;
}

.bp-quiz-progress .bp-progress-fill {
  height: 100%;
  border-radius: var(--bp-radius-full);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bp-quiz-progress .bp-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--bp-text-muted);
}

.bp-quiz-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}

.bp-quiz-card-actions .bp-btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--bp-primary);
  color: var(--bp-text-white);
  border: none;
  border-radius: var(--bp-radius-full);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: var(--bp-transition-fast);
  text-decoration: none;
  min-width: 0;
}

.bp-quiz-card-actions .bp-btn-primary:hover {
  background: var(--bp-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 95, 74, 0.3);
  color: var(--bp-text-white);
}

.bp-quiz-card-actions .bp-btn-primary i {
  font-size: 0.75rem;
}

.bp-quiz-card-actions .bp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid #E2E8F0;
  border-radius: var(--bp-radius-full);
  background: transparent;
  color: var(--bp-text-secondary);
  cursor: pointer;
  transition: var(--bp-transition-fast);
  font-size: 13px;
  text-decoration: none;
  flex-shrink: 0;
}

.bp-quiz-card-actions .bp-btn-secondary:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
  background: var(--bp-primary-soft);
}

.bp-quiz-card-actions .bp-btn-secondary.is-active {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
  background: var(--bp-primary-soft);
}

/* Compact quiz card variant */
.bp-quiz-card--compact:not(.card) {
  box-shadow: var(--bp-shadow-sm);
}

.bp-quiz-card--compact:not(.card):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -8px rgba(26, 95, 74, 0.2);
}

.bp-quiz-card--compact[data-subject] {
  border-top: none;
}

.bp-quiz-card-accent {
  height: 4px;
  width: 100%;
  background: var(--subject-color, var(--bp-primary));
  flex-shrink: 0;
}

.bp-quiz-card--compact .bp-quiz-card__share {
  top: 8px;
  right: 8px;
}

.bp-quiz-card--compact .bp-quiz-card-body {
  padding: 10px 12px 12px;
}

.bp-quiz-card-class {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--bp-radius-full);
  background: var(--subject-bg, var(--bp-primary-soft));
  color: var(--subject-color, var(--bp-primary));
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.bp-quiz-card-subject {
  font-size: 12px;
  color: var(--bp-text-muted);
  margin: 0 0 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-quiz-card--compact .bp-quiz-card-title {
  font-size: 14px;
  margin: 0 0 8px;
  -webkit-line-clamp: 1;
}

.bp-quiz-card--compact .bp-quiz-card-actions {
  gap: 6px;
  margin-top: 0;
}

.bp-quiz-card--compact .bp-quiz-card-actions .bp-btn-primary {
  padding: 6px 12px;
  font-size: 11px;
  gap: 4px;
}

.bp-quiz-card--compact .bp-quiz-card-actions .bp-btn-secondary {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

/* Public library quiz cards */
.bp-quiz-card--public:not(.card) {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: none;
  overflow: visible;
  cursor: default;
  border: 1px solid var(--bp-border);
  box-shadow: var(--bp-shadow-sm);
  background: var(--bp-surface);
}

.bp-quiz-card--public:not(.card):hover,
.bp-quiz-card--compact.bp-quiz-card--public:not(.card):hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -10px rgba(26, 95, 74, 0.22);
  border-color: var(--subject-color, var(--bp-primary));
}

.bp-quiz-card--public:not(.card):hover,
.bp-quiz-card--public:has(.dropdown-menu.show) {
  z-index: 4;
}

.bp-quiz-card--public .bp-quiz-card-accent {
  display: none;
}

.bp-quiz-card--public .bp-quiz-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  padding: 0.85rem 0.9rem 0.75rem;
  border-radius: var(--bp-radius-lg) var(--bp-radius-lg) 0 0;
  background: linear-gradient(145deg, var(--subject-bg, var(--bp-primary-soft)) 0%, #ffffff 82%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.bp-quiz-card--public .bp-quiz-card__watermark {
  position: absolute;
  inset-inline-end: -0.15rem;
  bottom: -0.45rem;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--subject-color, var(--bp-primary));
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.bp-quiz-card--public .bp-quiz-card__header-main {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

.bp-quiz-card--public .bp-quiz-card__icon {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--bp-surface);
  color: var(--subject-color, var(--bp-primary));
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  font-size: 0.95rem;
}

.bp-quiz-card--public .bp-quiz-card__header-text {
  min-width: 0;
  flex: 1;
}

.bp-quiz-card--public .bp-quiz-card__subject {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bp-text-primary);
  line-height: 1.3;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-quiz-card--public .bp-quiz-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.bp-quiz-card--public .bp-quiz-card__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.15rem 0.5rem;
  border-radius: var(--bp-radius-full);
  background: var(--subject-color, var(--bp-primary));
  color: var(--bp-text-white);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-quiz-card--public .bp-quiz-card__badge--board {
  background: rgba(255, 255, 255, 0.88);
  color: var(--subject-color, var(--bp-primary));
  border: 1px solid var(--bp-border);
}

.bp-quiz-card--public .bp-quiz-card__thumb.bp-quiz-auto-thumb {
  border-radius: 0;
}

.bp-quiz-card--public .bp-quiz-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.9rem 0.95rem 1rem;
}

.bp-quiz-card--public .bp-quiz-card-title,
.bp-quiz-card--compact.bp-quiz-card--public .bp-quiz-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  min-height: calc(1.35em * 2);
  flex: 0 1 auto;
  overflow-wrap: break-word;
}

.bp-quiz-card--public .bp-quiz-card-title__link {
  color: var(--bp-text-primary);
  text-decoration: none;
}

.bp-quiz-card--public .bp-quiz-card-title__link:hover {
  color: var(--subject-color, var(--bp-primary));
  text-decoration: none;
}

.bp-quiz-card--public .bp-quiz-card-title__link:focus-visible {
  outline: 2px solid var(--subject-color, var(--bp-primary));
  outline-offset: 2px;
  border-radius: 4px;
}

.bp-quiz-card--public .bp-quiz-card-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--bp-text-secondary);
  margin: 0 0 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-quiz-card--public .bp-quiz-meta {
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.bp-quiz-card--public .bp-quiz-meta-item {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bp-text-secondary);
}

.bp-quiz-card--public .bp-quiz-meta-item i {
  color: var(--subject-color, var(--bp-primary));
  width: 0.9rem;
  font-size: 0.72rem;
}

.bp-quiz-card--compact.bp-quiz-card--public .bp-quiz-card__share,
.bp-quiz-card--public .bp-quiz-card__share {
  position: static;
  top: auto;
  inset-inline-end: auto;
  z-index: 2;
  flex-shrink: 0;
}

.bp-quiz-card--public .bp-share-trigger-btn,
.bp-quiz-card--public .bp-share-container--floating .bp-share-trigger-btn {
  width: 2.15rem;
  height: 2.15rem;
  min-width: 2.15rem;
  background: var(--bp-surface);
  color: var(--bp-text-secondary);
  border: 1px solid var(--bp-border);
  box-shadow: none;
}

.bp-quiz-card--public .bp-share-trigger-btn:hover,
.bp-quiz-card--public .bp-share-trigger-btn:focus,
.bp-quiz-card--public .bp-share-trigger-btn:focus-visible {
  color: var(--subject-color, var(--bp-primary));
  border-color: var(--subject-color, var(--bp-primary));
  background: var(--bp-surface);
  transform: none;
  box-shadow: none;
  outline: 2px solid var(--subject-color, var(--bp-primary));
  outline-offset: 2px;
}

.bp-quiz-card--public .bp-quiz-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.bp-quiz-card--public .bp-quiz-card-actions .bp-btn-primary,
.bp-quiz-card--compact.bp-quiz-card--public .bp-quiz-card-actions .bp-btn-primary {
  width: auto;
  flex: 1;
  min-height: 2.35rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  border-radius: var(--bp-radius-full);
}

.bp-quiz-card--public .bp-quiz-card-actions .bp-btn-primary:hover {
  background: var(--bp-primary-dark);
}

.bp-quiz-card--public .bp-quiz-card-actions .bp-btn-primary:focus-visible {
  outline: 2px solid var(--bp-primary);
  outline-offset: 2px;
}

.bp-quiz-card--public .bp-quiz-more__btn {
  width: 2.35rem;
  height: 2.35rem;
  min-width: 2.35rem;
  border-radius: 50%;
}

.bp-quiz-card--public .bp-quiz-more__btn:focus-visible {
  outline: 2px solid var(--bp-primary);
  outline-offset: 2px;
}

.bp-quiz-more {
  position: relative;
  flex: 0 0 auto;
}

.bp-quiz-more__btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-sm);
  background: var(--bp-surface);
  color: var(--bp-text-primary);
  cursor: pointer;
}

.bp-quiz-more__btn:hover,
.bp-quiz-more__btn[aria-expanded="true"] {
  background: var(--bp-surface-hover);
  border-color: var(--bp-primary);
  color: var(--bp-primary);
}

.bp-quiz-more .dropdown-menu {
  z-index: 1080;
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-sm);
  box-shadow: var(--bp-shadow-md);
  padding: 0.35rem;
  min-width: 13.5rem;
}

.bp-quiz-more .dropdown-item {
  border-radius: 8px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.bp-quiz-more .dropdown-item i {
  width: 1rem;
  color: var(--bp-text-muted);
}

.bp-subject-section:not(.is-collapsed) {
  overflow: visible;
}

/* ============================================
   10. Subject Color Classes
   ============================================ */
.bp-subject-math {
  --bp-subject-color: var(--bp-math);
  --bp-subject-bg: var(--bp-math-bg);
}

.bp-subject-science {
  --bp-subject-color: var(--bp-science);
  --bp-subject-bg: var(--bp-science-bg);
}

.bp-subject-english {
  --bp-subject-color: var(--bp-english);
  --bp-subject-bg: var(--bp-english-bg);
}

.bp-subject-computer {
  --bp-subject-color: var(--bp-computer);
  --bp-subject-bg: var(--bp-computer-bg);
}

.bp-subject-islamiat {
  --bp-subject-color: var(--bp-islamiat);
  --bp-subject-bg: var(--bp-islamiat-bg);
}

.bp-subject-physics {
  --bp-subject-color: var(--bp-physics);
  --bp-subject-bg: var(--bp-physics-bg);
}

.bp-subject-general {
  --bp-subject-color: var(--bp-general);
  --bp-subject-bg: var(--bp-general-bg);
}

.bp-quiz-card[data-subject] {
  border-top: 4px solid var(--bp-subject-color, var(--bp-primary));
}

.bp-thumb-badge--subject[data-subject] {
  background: var(--bp-subject-bg, var(--bp-primary-soft));
  color: var(--bp-subject-color, var(--bp-primary));
}

/* ============================================
   11. Sorting & Toolbar
   ============================================ */
.bp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bp-spacing-md);
  margin-bottom: var(--bp-spacing-lg);
}

.bp-toolbar-left {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
}

.bp-toolbar-left .bp-text-small {
  font-weight: 600;
}

.bp-sort-select {
  padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  border: 2px solid var(--bp-border);
  border-radius: var(--bp-radius-md);
  background: var(--bp-surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bp-text-primary);
  cursor: pointer;
  transition: var(--bp-transition-fast);
  outline: none;
}

.bp-sort-select:focus {
  border-color: var(--bp-primary);
  box-shadow: 0 0 0 4px rgba(26, 95, 74, 0.1);
}

.bp-toolbar-right {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
}

.bp-toolbar-right .bp-text-small {
  color: var(--bp-text-muted);
}

/* ============================================
   12. Empty State
   ============================================ */
.bp-empty-state {
  text-align: center;
  padding: var(--bp-spacing-2xl) var(--bp-spacing-xl);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  border: 2px dashed var(--bp-border);
}

.bp-empty-state i {
  font-size: 3rem;
  color: var(--bp-text-muted);
  margin-bottom: var(--bp-spacing-md);
}

.bp-empty-state h3 {
  margin: 0 0 var(--bp-spacing-xs);
}

.bp-empty-state p {
  color: var(--bp-text-secondary);
  margin: 0;
}

/* ============================================
   13. Animations
   ============================================ */
@keyframes bp-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bp-quiz-card {
  animation: bp-fade-up 0.4s ease backwards;
}

.bp-quiz-card:nth-child(1) { animation-delay: 0.05s; }
.bp-quiz-card:nth-child(2) { animation-delay: 0.1s; }
.bp-quiz-card:nth-child(3) { animation-delay: 0.15s; }
.bp-quiz-card:nth-child(4) { animation-delay: 0.2s; }
.bp-quiz-card:nth-child(5) { animation-delay: 0.25s; }
.bp-quiz-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes bp-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.bp-stat-card:hover .bp-stat-icon-wrap {
  animation: bp-pulse 0.5s ease;
}

/* ============================================
   14. Responsive Design
   ============================================ */
@media (max-width: 639.98px) {
  .bp-quiz-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  }
}

@media (max-width: 399.98px) {
  .bp-quiz-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .board-prep-app-shell {
    padding: 0 var(--bp-spacing-sm);
  }

  .bp-welcome-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .bp-welcome-stats {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  }

  .bp-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .bp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-welcome-hero {
    padding: var(--bp-spacing-md) var(--bp-spacing-lg);
    border-radius: var(--bp-radius-lg);
  }

  .bp-quiz-card-thumb {
    height: 120px;
  }

  .bp-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: var(--bp-spacing-sm);
  }

  .bp-toolbar-left {
    flex-wrap: wrap;
  }

  .bp-sort-select {
    flex: 1;
    min-width: 140px;
  }

  .bp-filter-chips {
    gap: var(--bp-spacing-xs);
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--bp-spacing-sm);
    scrollbar-width: none;
  }

  .bp-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .bp-filter-chip {
    font-size: 0.75rem;
    padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .bp-welcome-hero {
    padding: var(--bp-spacing-md);
  }

  .bp-welcome-text h1 {
    font-size: 1.25rem;
  }

  .bp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--bp-spacing-sm);
  }

  .bp-stat-card {
    padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  }

  .bp-stat-card .bp-stat-number {
    font-size: 1.2rem;
  }

  .bp-quiz-card-body {
    padding: var(--bp-spacing-md);
  }

  .bp-quiz-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-quiz-card-actions {
    flex-wrap: wrap;
  }

  .bp-quiz-card-actions .bp-btn-primary {
    flex: 1 1 100%;
  }

  .bp-quiz-card-actions .bp-btn-secondary {
    flex: 1;
  }
}

/* ============================================
   15. Utilities
   ============================================ */
.bp-text-center { text-align: center; }
.bp-text-left { text-align: left; }
.bp-text-right { text-align: right; }

.bp-mt-1 { margin-top: var(--bp-spacing-sm); }
.bp-mt-2 { margin-top: var(--bp-spacing-md); }
.bp-mt-3 { margin-top: var(--bp-spacing-lg); }
.bp-mt-4 { margin-top: var(--bp-spacing-xl); }

.bp-mb-1 { margin-bottom: var(--bp-spacing-sm); }
.bp-mb-2 { margin-bottom: var(--bp-spacing-md); }
.bp-mb-3 { margin-bottom: var(--bp-spacing-lg); }

.bp-flex { display: flex; }
.bp-flex-center { display: flex; align-items: center; justify-content: center; }
.bp-flex-between { display: flex; align-items: center; justify-content: space-between; }
.bp-flex-col { display: flex; flex-direction: column; }
.bp-gap-1 { gap: var(--bp-spacing-sm); }
.bp-gap-2 { gap: var(--bp-spacing-md); }

.bp-hidden { display: none !important; }
.bp-visible { display: block !important; }

.bp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--bp-primary);
  outline-offset: 2px;
}

/* Footer + bottom nav spacing */
.board-prep-footer {
  margin-bottom: 4.5rem;
}

@media (min-width: 992px) {
  .bp-bottom-nav {
    display: none;
  }

  .board-prep-footer {
    margin-bottom: 0;
  }
}

/* ============================================
   16. Shared Buttons & Navbar
   ============================================ */
.bp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bp-spacing-xs);
  padding: var(--bp-spacing-sm) var(--bp-spacing-lg);
  background: var(--bp-primary);
  color: var(--bp-text-white);
  border: none;
  border-radius: var(--bp-radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--bp-transition-fast);
  cursor: pointer;
}

.bp-btn-primary:hover {
  background: var(--bp-primary-dark);
  color: var(--bp-text-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 95, 74, 0.3);
}

.bp-btn-lg {
  padding: var(--bp-spacing-md) var(--bp-spacing-xl);
  font-size: 1rem;
  border-radius: var(--bp-radius-full);
}

.leq-navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  color: var(--bp-text-white);
  text-decoration: none;
}

.leq-navbar-logo {
  height: 36px;
  width: auto;
}

.leq-navbar-brand-text {
  font-weight: 800;
}

/* ============================================
   17. Quiz Library List (landing / guest)
   ============================================ */
.bp-quiz-container {
  margin-top: var(--bp-spacing-md);
}

.bp-major-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-sm);
  border: none;
}

.bp-major-tab {
  border: 2px solid var(--bp-border);
  border-radius: var(--bp-radius-full);
  color: var(--bp-text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  background: var(--bp-surface);
  transition: var(--bp-transition-fast);
}

.bp-major-tab:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
}

.bp-major-tab.is-active,
.bp-major-tab.active {
  background: var(--bp-primary);
  border-color: var(--bp-primary);
  color: var(--bp-text-white);
}

.bp-subject-section {
  background: var(--bp-surface);
  border: 1px solid var(--bp-border-light);
  border-radius: var(--bp-radius-lg);
  overflow: hidden;
}

.bp-subject-section__header {
  padding: var(--bp-spacing-md) var(--bp-spacing-lg);
  cursor: pointer;
  transition: var(--bp-transition-fast);
}

.bp-subject-section:not(.is-collapsed) .bp-subject-section__header {
  background: var(--bp-bg);
  border-bottom: 1px solid var(--bp-border);
}

.bp-subject-section.is-collapsed .bp-subject-content {
  display: none;
}

.bp-subject-section--empty {
  display: none;
}

.bp-subject-section--flat {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.bp-subject-section--flat .bp-subject-content .bp-quiz-grid {
  padding: var(--bp-spacing-md) 0 0;
}

.bp-quiz-container .bp-quiz-card.card {
  border-radius: var(--bp-radius-lg);
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
  cursor: default;
}

.bp-quiz-container .bp-quiz-card.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bp-shadow-md);
}

.bp-quiz-thumbnail {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--bp-radius-lg) var(--bp-radius-lg) 0 0;
}

.bp-quiz-actions {
  display: flex;
  flex-direction: column;
  gap: var(--bp-spacing-sm);
}

.bp-quiz-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-xs);
}

.bp-quiz-primary-action {
  width: 100%;
}

/* ============================================
   18. Landing Page
   ============================================ */
.bp-landing-nav {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--bp-spacing-md) 0;
  margin-bottom: 0;
  border-radius: 0;
}

.bp-landing-nav .navbar-brand {
  color: var(--bp-text-white);
}

.board-prep-nav.bp-landing-nav {
  background: transparent;
  border-radius: 0;
  margin-bottom: 0;
}

.bp-landing-nav__toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.bp-landing-nav__toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.bp-landing-nav__actions {
  flex-direction: row;
  gap: var(--bp-spacing-sm);
  align-items: center;
}

.bp-landing-nav__actions--school {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 991.98px) {
  .bp-landing-nav .navbar-collapse {
    background: rgba(13, 59, 46, 0.96);
    border-radius: var(--bp-radius-md);
    padding: var(--bp-spacing-sm);
    margin-top: var(--bp-spacing-sm);
  }

  .bp-landing-nav__actions {
    flex-direction: column;
    gap: var(--bp-spacing-sm);
    width: 100%;
  }

  .bp-landing-nav__actions .btn {
    width: 100%;
    text-align: center;
  }

  .bp-landing-hero {
    padding-top: 100px;
  }

  .bp-landing-nav + .bp-auth-hero {
    padding-top: 96px;
  }

  .bp-landing-nav + .bp-seo-hero {
    padding-top: 96px;
  }
}

@media (max-width: 480px) {
  .bp-landing-nav .leq-navbar-brand-text {
    display: none;
  }
}

.bp-landing-hero {
  background: linear-gradient(135deg, var(--bp-primary) 0%, var(--bp-primary-dark) 40%, #0d3b2e 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.bp-landing-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-landing-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bp-spacing-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.bp-landing-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  padding: var(--bp-spacing-xs) var(--bp-spacing-md);
  border-radius: var(--bp-radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: var(--bp-text-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--bp-spacing-md);
}

.bp-landing-hero__brand {
  margin: 0 0 var(--bp-spacing-xs);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.bp-landing-hero__text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--bp-text-white);
  line-height: 1.08;
  margin: 0 0 var(--bp-spacing-md);
  letter-spacing: -0.03em;
}

.bp-landing-hero__highlight {
  background: linear-gradient(135deg, var(--bp-accent), #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bp-landing-hero__text p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  line-height: 1.7;
  margin: 0 0 var(--bp-spacing-lg);
}

.bp-landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-md);
  margin-bottom: var(--bp-spacing-xl);
}

.bp-btn-hero {
  padding: var(--bp-spacing-md) var(--bp-spacing-xl);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--bp-radius-full);
  background: var(--bp-accent);
  color: var(--bp-text-primary);
  border: none;
  transition: var(--bp-transition-normal);
}

.bp-btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(240, 165, 0, 0.35);
  background: #e09500;
  color: var(--bp-text-primary);
}

.bp-btn-hero-secondary {
  padding: var(--bp-spacing-md) var(--bp-spacing-xl);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--bp-radius-full);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--bp-text-white);
  background: transparent;
  transition: var(--bp-transition-normal);
}

.bp-btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bp-text-white);
  color: var(--bp-text-white);
  transform: translateY(-2px);
}

.bp-landing-hero__trust {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-lg);
  flex-wrap: wrap;
}

.bp-trust-item {
  display: flex;
  flex-direction: column;
}

.bp-trust-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--bp-text-white);
  line-height: 1.1;
}

.bp-trust-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bp-trust-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
}

.bp-landing-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bp-hero-illustration {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bp-hero-orb--1 {
  width: 280px;
  height: 280px;
  top: -40px;
  right: -40px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.12), transparent 70%);
}

.bp-hero-orb--2 {
  width: 200px;
  height: 200px;
  bottom: -20px;
  left: -30px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
}

.bp-hero-orb--3 {
  width: 120px;
  height: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
}

.bp-hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-xl);
  text-align: center;
  color: var(--bp-text-white);
  min-width: 200px;
}

.bp-hero-card i {
  font-size: 3rem;
  color: var(--bp-accent);
  display: block;
  margin-bottom: var(--bp-spacing-sm);
}

.bp-hero-card span {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.bp-hero-card small {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--bp-spacing-xs);
}

.bp-hero-floating {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--bp-radius-full);
  padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  color: var(--bp-text-white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  animation: bp-float 4s ease-in-out infinite;
}

.bp-hero-floating--1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.bp-hero-floating--2 {
  bottom: 15%;
  left: -15%;
  animation-delay: 2s;
}

.bp-hero-floating i {
  color: var(--bp-accent);
}

@keyframes bp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.bp-section {
  padding: var(--bp-spacing-2xl) 0;
}

.bp-section--subjects {
  background: var(--bp-bg);
}

.bp-section--featured {
  background: var(--bp-surface);
}

.bp-section--how-it-works {
  background: var(--bp-bg);
}

.bp-section--testimonials {
  background: var(--bp-surface);
}

.bp-section--library {
  background: var(--bp-bg);
}

/* Landing library + featured — match dashboard width and 5-column card grid */
.bp-section--library .container,
.bp-section--featured .container {
  max-width: 1360px;
}

.bp-section--library .bp-subject-content .bp-quiz-grid {
  padding: var(--bp-spacing-lg) var(--bp-spacing-md);
}

@media (max-width: 639.98px) {
  .bp-section--featured .bp-quiz-grid,
  .bp-section--library .bp-subject-content .bp-quiz-grid,
  .bp-subject-content .bp-quiz-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  }
}

@media (max-width: 399.98px) {
  .bp-section--featured .bp-quiz-grid,
  .bp-section--library .bp-subject-content .bp-quiz-grid,
  .bp-subject-content .bp-quiz-grid {
    grid-template-columns: 1fr;
    padding: var(--bp-spacing-md);
  }
}

.bp-section--cta {
  background: var(--bp-bg);
  padding-bottom: 0;
}

.bp-section--footer-links {
  background: var(--bp-surface);
  border-top: 1px solid var(--bp-border);
  padding: var(--bp-spacing-lg) 0;
}

.bp-section__header {
  text-align: center;
  margin-bottom: var(--bp-spacing-xl);
}

.bp-section__header--library {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--bp-spacing-md);
}

.bp-section__header--library p {
  margin: 0;
}

.bp-section__badge {
  display: inline-block;
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--bp-spacing-xs) var(--bp-spacing-md);
  border-radius: var(--bp-radius-full);
  margin-bottom: var(--bp-spacing-sm);
}

.bp-section__header h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-section__header p {
  color: var(--bp-text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.bp-section__actions {
  flex-shrink: 0;
}

.bp-result-count {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bp-text-muted);
}

.bp-subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--bp-spacing-md);
}

.bp-subject-grid .bp-subject-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--bp-spacing-xs);
  padding: var(--bp-spacing-lg);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  border: 2px solid var(--bp-border-light);
  text-decoration: none;
  transition: var(--bp-transition-normal);
  position: relative;
  overflow: hidden;
}

.bp-subject-grid .bp-subject-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--subject-color, var(--bp-primary));
  transform: scaleX(0);
  transition: var(--bp-transition-normal);
}

.bp-subject-grid .bp-subject-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bp-shadow-lg);
  border-color: var(--subject-color, var(--bp-primary));
}

.bp-subject-grid .bp-subject-card:hover::before {
  transform: scaleX(1);
}

.bp-subject-card__emoji {
  font-size: 2.2rem;
  line-height: 1;
}

.bp-subject-card__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--bp-text-primary);
  text-align: center;
}

.bp-subject-card__count {
  font-size: 0.75rem;
  color: var(--bp-text-muted);
  font-weight: 600;
}

.bp-subject-card__arrow {
  position: absolute;
  bottom: var(--bp-spacing-sm);
  right: var(--bp-spacing-sm);
  opacity: 0;
  transform: translateX(8px);
  transition: var(--bp-transition-normal);
  color: var(--subject-color, var(--bp-primary));
  font-size: 0.85rem;
}

.bp-subject-grid .bp-subject-card:hover .bp-subject-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.bp-dashboard-subjects {
  margin-bottom: var(--bp-spacing-lg);
}

.bp-dashboard-types {
  margin-bottom: var(--bp-spacing-lg);
}

.bp-type-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--bp-spacing-md);
}

.bp-type-filter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--bp-spacing-xs);
  padding: var(--bp-spacing-md) var(--bp-spacing-lg);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  border: 2px solid var(--bp-border-light);
  text-decoration: none;
  transition: var(--bp-transition-normal);
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
}

.bp-type-filter-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bp-shadow-md);
  border-color: var(--bp-primary);
}

.bp-type-filter-card.is-active {
  border-color: var(--bp-primary);
  background: var(--bp-primary-soft);
  box-shadow: 0 4px 12px rgba(26, 95, 74, 0.15);
}

.bp-type-filter-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--bp-radius-md);
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 1.1rem;
}

.bp-type-filter-card.is-active .bp-type-filter-card__icon {
  background: var(--bp-primary);
  color: var(--bp-text-white);
}

.bp-type-filter-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bp-text-primary);
}

.bp-type-filter-card__count {
  font-size: 0.75rem;
  color: var(--bp-text-muted);
  font-weight: 600;
}

.bp-subject-card--filter {
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.bp-subject-card--filter.is-active {
  border-color: var(--subject-color, var(--bp-primary));
  background: var(--subject-bg, var(--bp-primary-soft));
  box-shadow: var(--bp-shadow-md);
}

.bp-subject-card--filter.is-active::before {
  transform: scaleX(1);
}

.bp-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--bp-spacing-lg);
}

.bp-featured-card {
  position: relative;
  align-self: start;
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  overflow: hidden;
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
  box-shadow: var(--bp-shadow-sm);
}

.bp-featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bp-shadow-xl);
}

.bp-featured-card__thumb {
  height: 160px;
  background: var(--subject-bg, var(--bp-primary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bp-featured-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-featured-card__emoji {
  font-size: 3rem;
}

.bp-featured-card__subject {
  position: absolute;
  top: var(--bp-spacing-sm);
  left: var(--bp-spacing-sm);
  z-index: 2;
  max-width: calc(100% - 5rem);
  padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
  border-radius: var(--bp-radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--subject-color, var(--bp-primary));
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-featured-card__badge {
  position: absolute;
  top: var(--bp-spacing-sm);
  right: var(--bp-spacing-sm);
  background: var(--bp-primary);
  color: var(--bp-text-white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
  border-radius: var(--bp-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.bp-featured-card__subject {
  position: absolute;
  top: var(--bp-spacing-sm);
  left: var(--bp-spacing-sm);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 5rem);
  padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
  border-radius: var(--bp-radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--subject-color, var(--bp-primary));
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-featured-card__auto-thumb {
  width: 100%;
  height: 100%;
  min-height: 160px;
  border-radius: 0;
}

.bp-featured-card__auto-thumb.bp-quiz-auto-thumb {
  justify-content: flex-start;
  gap: 0.35rem;
}

.bp-featured-card__auto-thumb .bp-quiz-auto-thumb__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bp-featured-card__body {
  padding: var(--bp-spacing-md) var(--bp-spacing-lg) var(--bp-spacing-lg);
}

.bp-featured-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bp-text-primary);
  margin: 0 0 var(--bp-spacing-md);
  line-height: 1.3;
}

.bp-featured-card__body p {
  font-size: 0.85rem;
  color: var(--bp-text-secondary);
  margin: 0 0 var(--bp-spacing-md);
}

.bp-featured-card__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  padding: var(--bp-spacing-sm) var(--bp-spacing-lg);
  background: var(--subject-color, var(--bp-primary));
  color: var(--bp-text-white);
  border-radius: var(--bp-radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--bp-transition-normal);
  border: none;
  cursor: pointer;
}

.bp-featured-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 95, 74, 0.3);
  color: var(--bp-text-white);
}

.bp-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--bp-spacing-md);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.bp-step {
  text-align: center;
  padding: var(--bp-spacing-xl) var(--bp-spacing-lg);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
  position: relative;
}

.bp-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--bp-shadow-md);
}

.bp-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--bp-radius-full);
  background: var(--bp-primary);
  color: var(--bp-text-white);
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: var(--bp-spacing-sm);
}

.bp-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--bp-radius-lg);
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 1.5rem;
  margin: 0 auto var(--bp-spacing-md);
}

.bp-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-step p {
  font-size: 0.9rem;
  color: var(--bp-text-secondary);
  margin: 0;
}

.bp-step-arrow {
  color: var(--bp-text-muted);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.bp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--bp-spacing-lg);
}

.bp-testimonial {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-lg);
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
}

.bp-testimonial:hover {
  transform: translateY(-2px);
  box-shadow: var(--bp-shadow-md);
}

.bp-testimonial__stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: var(--bp-spacing-sm);
  letter-spacing: 2px;
}

.bp-testimonial__text {
  font-size: 0.95rem;
  color: var(--bp-text-primary);
  line-height: 1.6;
  margin: 0 0 var(--bp-spacing-md);
  font-style: italic;
}

.bp-testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-md);
}

.bp-testimonial__author img {
  width: 44px;
  height: 44px;
  border-radius: var(--bp-radius-full);
  object-fit: cover;
}

.bp-testimonial__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--bp-text-primary);
}

.bp-testimonial__author span {
  font-size: 0.75rem;
  color: var(--bp-text-muted);
}

.bp-section--library .bp-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-sm);
  margin-bottom: var(--bp-spacing-md);
  padding: var(--bp-spacing-sm) 0;
}

.bp-section--library .bp-filter-panel {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  padding: var(--bp-spacing-lg);
  border: 1px solid var(--bp-border);
  margin-bottom: var(--bp-spacing-lg);
}

.bp-section--library .bp-filter-group {
  margin-bottom: var(--bp-spacing-md);
}

.bp-section--library .bp-filter-group:last-child {
  margin-bottom: 0;
}

.bp-section--library .bp-filter-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--bp-spacing-sm);
}

.bp-section--library .bp-filter-group__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bp-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
}

.bp-section--library .bp-filter-group__clear {
  font-size: 0.75rem;
  color: var(--bp-primary);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.bp-section--library .bp-filter-group__clear:hover {
  text-decoration: underline;
}

.bp-section--library .bp-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-xs);
}

.bp-section--library .bp-filter-panel__actions {
  display: flex;
  gap: var(--bp-spacing-md);
  margin-top: var(--bp-spacing-md);
  padding-top: var(--bp-spacing-md);
  border-top: 1px solid var(--bp-border);
}

.bp-section--library .bp-filter-chip--small {
  font-size: 0.75rem;
  padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
}

.bp-section--library .bp-filter-chip--more {
  border-style: dashed;
  color: var(--bp-text-muted);
}

.bp-section--library .bp-filter-chip--more:hover {
  border-style: solid;
}

.bp-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bp-spacing-md);
  padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  background: var(--bp-primary-soft);
  border-radius: var(--bp-radius-md);
  margin-bottom: var(--bp-spacing-md);
}

.bp-active-filters__count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bp-primary);
}

.bp-active-filters__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-xs);
}

.bp-active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bp-text-primary);
  cursor: pointer;
  transition: var(--bp-transition-fast);
}

.bp-active-filter-pill:hover {
  background: #fee2e2;
  border-color: #ef4444;
  color: #dc2626;
}

.bp-active-filter-pill i {
  font-size: 0.65rem;
}

.bp-no-results {
  text-align: center;
  padding: var(--bp-spacing-2xl);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  border: 2px dashed var(--bp-border);
}

.bp-no-results i {
  font-size: 2.5rem;
  color: var(--bp-text-muted);
  margin-bottom: var(--bp-spacing-md);
}

.bp-no-results h4 {
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
}

.bp-no-results p {
  color: var(--bp-text-secondary);
  margin: 0 0 var(--bp-spacing-md);
}

.bp-cta-box {
  background: linear-gradient(135deg, var(--bp-primary) 0%, var(--bp-primary-dark) 100%);
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-2xl) var(--bp-spacing-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bp-spacing-xl);
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--bp-text-white);
}

.bp-cta-box::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-cta-box__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: var(--bp-text-white);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--bp-spacing-xs) var(--bp-spacing-md);
  border-radius: var(--bp-radius-full);
  margin-bottom: var(--bp-spacing-sm);
}

.bp-cta-box__content h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 var(--bp-spacing-xs);
}

.bp-cta-box__content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 var(--bp-spacing-lg);
  max-width: 480px;
}

.bp-cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-md);
}

.bp-cta-box__actions .bp-btn-primary {
  background: var(--bp-accent);
  color: var(--bp-text-primary);
  border: none;
}

.bp-cta-box__actions .bp-btn-primary:hover {
  background: #e09500;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 165, 0, 0.35);
}

.bp-cta-box__actions .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--bp-text-white);
}

.bp-cta-box__actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bp-text-white);
  transform: translateY(-2px);
}

.bp-cta-box__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.bp-cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bp-cta-orb--1 {
  width: 180px;
  height: 180px;
  top: -20px;
  right: 0;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.15), transparent 70%);
}

.bp-cta-orb--2 {
  width: 120px;
  height: 120px;
  bottom: 0;
  left: 20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
}

.bp-cta-orb--3 {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
}

.bp-cta-floating {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--bp-radius-full);
  padding: var(--bp-spacing-md) var(--bp-spacing-lg);
  color: var(--bp-text-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  animation: bp-float 4s ease-in-out infinite;
}

.bp-cta-floating--2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  animation-delay: 2s;
}

.bp-cta-floating i {
  color: var(--bp-accent);
}

.bp-footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--bp-spacing-lg);
}

.bp-footer-links__group h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bp-text-secondary);
  margin: 0 0 var(--bp-spacing-sm);
}

.bp-footer-links__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-xs);
}

.bp-footer-links__chips a {
  font-size: 0.8rem;
  color: var(--bp-text-secondary);
  text-decoration: none;
  padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
  border-radius: var(--bp-radius-sm);
  transition: var(--bp-transition-fast);
}

.bp-footer-links__chips a:hover {
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
}

@media (max-width: 1200px) {
  .bp-landing-hero__content {
    gap: var(--bp-spacing-lg);
  }
}

@media (max-width: 992px) {
  .bp-landing-hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .bp-landing-hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bp-landing-hero__text p {
    margin: 0 auto var(--bp-spacing-md);
  }

  .bp-landing-hero__actions {
    justify-content: center;
  }

  .bp-landing-hero__trust {
    justify-content: center;
  }

  .bp-landing-hero__visual {
    display: none;
  }

  .bp-steps-grid {
    grid-template-columns: 1fr;
    gap: var(--bp-spacing-md);
  }

  .bp-step-arrow {
    transform: rotate(90deg);
  }

  .bp-cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bp-cta-box__content p {
    margin: 0 auto var(--bp-spacing-lg);
  }

  .bp-cta-box__actions {
    justify-content: center;
  }

  .bp-cta-box__visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .bp-landing-hero {
    padding: 80px 0 40px;
  }

  .bp-landing-hero__text h1 {
    font-size: 2rem;
  }

  .bp-featured-grid {
    grid-template-columns: 1fr;
  }

  .bp-subject-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .bp-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .bp-section__header--library {
    flex-direction: column;
    align-items: stretch;
  }

  .bp-section--library .bp-filter-panel {
    padding: var(--bp-spacing-md);
  }

  .bp-section--library .bp-filter-panel__actions {
    flex-direction: column;
  }

  .bp-section--library .bp-quick-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: var(--bp-spacing-sm);
  }

  .bp-section--library .bp-quick-filters .bp-filter-chip {
    flex-shrink: 0;
  }

  .bp-cta-box {
    padding: var(--bp-spacing-lg);
  }

  .bp-footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .bp-landing-hero__text h1 {
    font-size: 1.75rem;
  }

  .bp-landing-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bp-landing-hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--bp-spacing-sm);
  }

  .bp-trust-divider {
    display: none;
  }

  .bp-subject-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bp-featured-card__thumb {
    height: 120px;
  }
}

/* ============================================
   19. SEO Landing Page
   ============================================ */
.bp-seo-hero {
  background: linear-gradient(135deg, var(--bp-primary) 0%, var(--bp-primary-dark) 40%, #0d3b2e 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.bp-seo-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-seo-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-seo-hero__content {
  position: relative;
  z-index: 1;
}

.bp-seo-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--bp-spacing-lg);
}

.bp-seo-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--bp-transition-fast);
}

.bp-seo-hero__breadcrumb a:hover {
  color: var(--bp-text-white);
}

.bp-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

.bp-seo-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bp-spacing-2xl);
  align-items: center;
}

.bp-seo-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  padding: var(--bp-spacing-xs) var(--bp-spacing-md);
  border-radius: var(--bp-radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--bp-text-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--bp-spacing-md);
}

.bp-seo-hero__text h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--bp-text-white);
  line-height: 1.08;
  margin: 0 0 var(--bp-spacing-md);
  letter-spacing: -0.03em;
}

.bp-seo-hero__text p {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  line-height: 1.7;
  margin: 0 0 var(--bp-spacing-lg);
}

.bp-seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-md);
  margin-bottom: var(--bp-spacing-xl);
}

.bp-seo-hero__trust {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-lg);
  flex-wrap: wrap;
}

.bp-seo-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-seo-hero-illustration {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-seo-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bp-seo-orb--1 {
  width: 250px;
  height: 250px;
  top: -30px;
  right: -30px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.12), transparent 70%);
}

.bp-seo-orb--2 {
  width: 180px;
  height: 180px;
  bottom: -20px;
  left: -20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
}

.bp-seo-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-xl);
  text-align: center;
  color: var(--bp-text-white);
  min-width: 200px;
}

.bp-seo-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--bp-radius-lg);
  background: rgba(240, 165, 0, 0.2);
  color: var(--bp-accent);
  font-size: 2rem;
  margin-bottom: var(--bp-spacing-sm);
}

.bp-seo-card__title {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.bp-seo-card__count {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--bp-spacing-xs);
}

.bp-seo-floating {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--bp-radius-full);
  padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  color: var(--bp-text-white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  animation: bp-float 4s ease-in-out infinite;
}

.bp-seo-floating--1 {
  top: 5%;
  right: -5%;
  animation-delay: 0s;
}

.bp-seo-floating--2 {
  bottom: 10%;
  left: -10%;
  animation-delay: 2s;
}

.bp-seo-floating i {
  color: var(--bp-accent);
}

.bp-seo-stats {
  background: var(--bp-surface);
  border-bottom: 1px solid var(--bp-border);
  padding: var(--bp-spacing-lg) 0;
}

.bp-seo-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--bp-spacing-md);
}

.bp-seo-stat {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-md);
  padding: var(--bp-spacing-md);
  border-radius: var(--bp-radius-md);
  transition: var(--bp-transition-normal);
}

.bp-seo-stat:hover {
  background: var(--bp-primary-soft);
}

.bp-seo-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--bp-radius-md);
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bp-seo-stat__number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bp-text-primary);
  line-height: 1.2;
}

.bp-seo-stat__label {
  display: block;
  font-size: 0.8rem;
  color: var(--bp-text-muted);
  font-weight: 600;
}

.bp-section--seo-about {
  background: var(--bp-bg);
  padding: var(--bp-spacing-2xl) 0;
}

.bp-seo-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bp-spacing-xl);
  align-items: center;
}

.bp-seo-about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bp-spacing-sm);
  margin-top: var(--bp-spacing-md);
}

.bp-seo-about__features span {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  font-size: 0.9rem;
  color: var(--bp-text-secondary);
  font-weight: 600;
}

.bp-seo-about__features i {
  color: var(--bp-completed);
  font-size: 0.85rem;
}

.bp-seo-about-card {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-xl);
  text-align: center;
  border: 1px solid var(--bp-border-light);
  box-shadow: var(--bp-shadow-md);
}

.bp-seo-about-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--bp-radius-lg);
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-primary-light));
  color: var(--bp-text-white);
  font-size: 2.5rem;
  margin-bottom: var(--bp-spacing-md);
}

.bp-seo-about-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
}

.bp-seo-about-card p {
  font-size: 0.9rem;
  color: var(--bp-text-secondary);
  margin: 0 0 var(--bp-spacing-md);
}

.bp-seo-about-card__stats {
  display: flex;
  justify-content: center;
  gap: var(--bp-spacing-lg);
  padding-top: var(--bp-spacing-md);
  border-top: 1px solid var(--bp-border);
}

.bp-seo-about-card__stats span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bp-text-secondary);
}

.bp-section--related {
  background: var(--bp-surface);
}

.bp-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--bp-spacing-lg);
}

.bp-related-group {
  background: var(--bp-bg);
  border-radius: var(--bp-radius-lg);
  padding: var(--bp-spacing-lg);
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
}

.bp-related-group:hover {
  border-color: var(--bp-primary);
  box-shadow: var(--bp-shadow-md);
}

.bp-related-group__head {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  margin-bottom: var(--bp-spacing-md);
}

.bp-related-group__head i {
  color: var(--bp-primary);
  font-size: 1.1rem;
}

.bp-related-group__head h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bp-text-primary);
  margin: 0;
}

.bp-related-group__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-xs);
}

.bp-related-chip {
  display: inline-block;
  padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
  border-radius: var(--bp-radius-full);
  background: var(--bp-surface);
  color: var(--bp-text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--bp-border);
  transition: var(--bp-transition-fast);
}

.bp-related-chip:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
  background: var(--bp-primary-soft);
}

.bp-related-chip.is-active {
  border-color: var(--bp-primary);
  background: var(--bp-primary);
  color: var(--bp-text-white);
}

.bp-section--faq {
  background: var(--bp-bg);
}

.bp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bp-spacing-md);
}

.bp-faq-item {
  display: flex;
  gap: var(--bp-spacing-md);
  padding: var(--bp-spacing-lg);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
}

.bp-faq-item:hover {
  border-color: var(--bp-primary);
  box-shadow: var(--bp-shadow-md);
}

.bp-faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--bp-radius-md);
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bp-faq-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-faq-item p {
  font-size: 0.9rem;
  color: var(--bp-text-secondary);
  margin: 0;
  line-height: 1.6;
}

.bp-section--seo-cta {
  padding-bottom: var(--bp-spacing-2xl);
}

@media (max-width: 992px) {
  .bp-seo-hero {
    padding: 100px 0 40px;
    min-height: auto;
  }

  .bp-seo-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bp-seo-hero__text p {
    margin: 0 auto var(--bp-spacing-md);
  }

  .bp-seo-hero__actions {
    justify-content: center;
  }

  .bp-seo-hero__trust {
    justify-content: center;
  }

  .bp-seo-hero__visual {
    display: none;
  }

  .bp-seo-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-seo-about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bp-seo-about__features {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .bp-faq-grid {
    grid-template-columns: 1fr;
  }

  .bp-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bp-seo-hero {
    padding: 80px 0 30px;
  }

  .bp-seo-hero__text h1 {
    font-size: 1.75rem;
  }

  .bp-seo-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bp-seo-hero__trust {
    flex-direction: column;
    align-items: center;
    gap: var(--bp-spacing-sm);
  }

  .bp-seo-stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--bp-spacing-sm);
  }

  .bp-seo-stat {
    padding: var(--bp-spacing-sm);
  }

  .bp-seo-stat__number {
    font-size: 1.2rem;
  }

  .bp-seo-about__features {
    grid-template-columns: 1fr;
  }

  .bp-faq-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--bp-spacing-sm);
  }
}

@media (max-width: 480px) {
  .bp-seo-stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bp-seo-stat {
    flex-direction: column;
    text-align: center;
    gap: var(--bp-spacing-xs);
  }

  .bp-seo-stat__icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .bp-related-group {
    padding: var(--bp-spacing-md);
  }
}

/* ============================================
   20. Quiz Library Items
   ============================================ */
.bp-subject-section__title-wrap {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  flex: 1;
}

.bp-subject-section__emoji {
  font-size: 1.4rem;
  line-height: 1;
}

.bp-subject-section__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--bp-text-primary);
}

.bp-subject-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 var(--bp-spacing-xs);
  border-radius: var(--bp-radius-full);
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.bp-subject-section__toggle {
  color: var(--bp-text-muted);
  font-size: 0.9rem;
}

.bp-subject-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bp-spacing-md);
}

.bp-subject-content .bp-quiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  justify-content: start;
  padding: var(--bp-spacing-lg);
}

.bp-subject-empty,
.bp-major-empty {
  text-align: center;
  padding: var(--bp-spacing-xl);
  color: var(--bp-text-muted);
}

.bp-subject-empty i,
.bp-major-empty i {
  font-size: 2rem;
  margin-bottom: var(--bp-spacing-sm);
  display: block;
}

.bp-major-empty h4 {
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-quiz-item {
  align-self: start;
}

.bp-quiz-item__card {
  position: relative;
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  border: 1px solid var(--bp-border-light);
  overflow: hidden;
  box-shadow: var(--bp-shadow-sm);
  transition: var(--bp-transition-normal);
  display: flex;
  flex-direction: column;
}

.bp-quiz-item__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bp-shadow-lg);
}

.bp-quiz-item__thumb {
  position: relative;
  height: 140px;
  overflow: hidden;
  background: var(--subject-bg, var(--bp-primary-soft));
}

.bp-quiz-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-quiz-item__thumb--auto {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-quiz-item__emoji {
  font-size: 3rem;
  line-height: 1;
}

.bp-quiz-item__thumb.bp-quiz-auto-thumb {
  height: 140px;
  min-height: 140px;
  border-radius: 0;
  justify-content: flex-start;
  gap: 0.35rem;
}

.bp-quiz-item__thumb.bp-quiz-auto-thumb .bp-quiz-auto-thumb__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bp-quiz-item__subject {
  position: absolute;
  top: var(--bp-spacing-sm);
  left: var(--bp-spacing-sm);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 5rem);
  padding: 0.2rem 0.55rem;
  border-radius: var(--bp-radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--subject-color, var(--bp-primary));
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-quiz-item__badge {
  position: absolute;
  top: var(--bp-spacing-sm);
  right: var(--bp-spacing-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--bp-radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--bp-text-white);
  background: var(--bp-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.bp-quiz-item__badge--primary {
  background: var(--bp-primary);
}

.bp-quiz-item__badge--warning {
  background: var(--bp-pending);
}

.bp-quiz-item__badge--success {
  background: var(--bp-completed);
}

.bp-quiz-item__badge--secondary {
  background: var(--bp-general);
}

.bp-quiz-item__body {
  padding: var(--bp-spacing-md) var(--bp-spacing-lg) var(--bp-spacing-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bp-quiz-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bp-text-primary);
  margin: 0 0 var(--bp-spacing-sm);
  line-height: 1.35;
}

.bp-quiz-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-sm);
  margin-bottom: var(--bp-spacing-sm);
  font-size: 0.75rem;
  color: var(--bp-text-muted);
  font-weight: 600;
}

.bp-quiz-item__meta i {
  margin-right: 0.15rem;
}

.bp-quiz-item__prefs-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bp-primary);
  background: var(--bp-primary-soft);
  padding: 0.15rem 0.5rem;
  border-radius: var(--bp-radius-full);
  margin-bottom: var(--bp-spacing-sm);
  width: fit-content;
}

.bp-quiz-item__actions {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  margin-top: var(--bp-spacing-sm);
}
}

.bp-quiz-item__actions-secondary {
  display: flex;
  gap: var(--bp-spacing-xs);
}

.bp-btn-sm {
  padding: var(--bp-spacing-xs) var(--bp-spacing-md);
  font-size: 0.8rem;
  border-radius: var(--bp-radius-md);
}

.bp-quiz-item__actions-secondary .bp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--bp-border);
  border-radius: var(--bp-radius-md);
  background: transparent;
  color: var(--bp-text-secondary);
  text-decoration: none;
  transition: var(--bp-transition-fast);
}

.bp-quiz-item__actions-secondary .bp-btn-outline:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
  background: var(--bp-primary-soft);
}

@media (max-width: 399.98px) {
  .bp-subject-content .bp-quiz-grid {
    grid-template-columns: 1fr;
    padding: var(--bp-spacing-md);
  }
}

/* ============================================
   21. Auth Pages
   ============================================ */
.bp-auth-hero {
  background: linear-gradient(135deg, var(--bp-primary) 0%, var(--bp-primary-dark) 40%, #0d3b2e 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.bp-landing-nav + .bp-auth-hero {
  padding-top: 100px;
}

.bp-auth-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-auth-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-auth-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bp-spacing-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.bp-auth-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  padding: var(--bp-spacing-xs) var(--bp-spacing-md);
  border-radius: var(--bp-radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--bp-text-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--bp-spacing-md);
}

.bp-auth-hero__text h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--bp-text-white);
  line-height: 1.08;
  margin: 0 0 var(--bp-spacing-md);
  letter-spacing: -0.03em;
}

.bp-auth-hero__text p {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  line-height: 1.7;
  margin: 0 0 var(--bp-spacing-lg);
}

.bp-auth-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-lg);
}

.bp-auth-hero__trust span {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

.bp-auth-hero__trust i {
  color: var(--bp-accent);
}

.bp-auth-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-auth-illustration {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-auth-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bp-auth-orb--1 {
  width: 240px;
  height: 240px;
  top: -20px;
  right: -20px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.12), transparent 70%);
}

.bp-auth-orb--2 {
  width: 160px;
  height: 160px;
  bottom: -10px;
  left: -10px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
}

.bp-auth-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-xl);
  text-align: center;
  color: var(--bp-text-white);
  min-width: 180px;
}

.bp-auth-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--bp-radius-lg);
  background: rgba(240, 165, 0, 0.2);
  color: var(--bp-accent);
  font-size: 1.8rem;
  margin-bottom: var(--bp-spacing-sm);
}

.bp-auth-card__title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.bp-auth-card__subtitle {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--bp-spacing-xs);
}

.bp-auth-floating {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--bp-radius-full);
  padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  color: var(--bp-text-white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  animation: bp-float 4s ease-in-out infinite;
}

.bp-auth-floating--1 {
  top: 5%;
  right: -5%;
  animation-delay: 0s;
}

.bp-auth-floating--2 {
  bottom: 10%;
  left: -10%;
  animation-delay: 2s;
}

.bp-auth-floating i {
  color: var(--bp-accent);
}

.bp-auth-form-section {
  padding: var(--bp-spacing-xl) 0 var(--bp-spacing-2xl);
  background: var(--bp-bg);
}

.bp-auth-form-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--bp-spacing-xl);
  align-items: start;
}

.bp-auth-form-wrapper--signup {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.bp-auth-form {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  box-shadow: var(--bp-shadow-lg);
  padding: var(--bp-spacing-xl);
}

.bp-auth-form__header {
  margin-bottom: var(--bp-spacing-lg);
}

.bp-auth-form__header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-auth-form__header p {
  color: var(--bp-text-secondary);
  margin: 0;
}

.bp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bp-spacing-lg);
}

.bp-form-section {
  grid-column: 1 / -1;
}

.bp-form-section__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bp-text-primary);
  margin: 0 0 var(--bp-spacing-md);
  padding-bottom: var(--bp-spacing-sm);
  border-bottom: 2px solid var(--bp-border-light);
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
}

.bp-form-section__title i {
  color: var(--bp-primary);
}

.bp-form-group {
  margin-bottom: var(--bp-spacing-md);
}

.bp-form-group:last-child {
  margin-bottom: 0;
}

.bp-form-label {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bp-text-primary);
  margin-bottom: var(--bp-spacing-xs);
}

.bp-required {
  color: #ef4444;
  font-weight: 700;
}

.bp-form-input,
.bp-form-select {
  width: 100%;
  padding: var(--bp-spacing-md);
  border: 2px solid var(--bp-border);
  border-radius: var(--bp-radius-md);
  font-size: 0.95rem;
  color: var(--bp-text-primary);
  background: var(--bp-surface);
  transition: var(--bp-transition-fast);
  outline: none;
}

.bp-form-input:focus,
.bp-form-select:focus {
  border-color: var(--bp-primary);
  box-shadow: 0 0 0 4px rgba(26, 95, 74, 0.1);
}

.bp-form-input::placeholder {
  color: var(--bp-text-muted);
}

.bp-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--bp-spacing-md) center;
  padding-right: var(--bp-spacing-xl);
}

.bp-form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--bp-text-muted);
  margin-top: var(--bp-spacing-xs);
}

.bp-password-wrapper {
  position: relative;
}

.bp-password-wrapper .bp-form-input {
  padding-right: 48px;
}

.bp-password-toggle {
  position: absolute;
  right: var(--bp-spacing-sm);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--bp-text-muted);
  padding: var(--bp-spacing-sm);
  cursor: pointer;
  transition: var(--bp-transition-fast);
  border-radius: var(--bp-radius-sm);
}

.bp-password-toggle:hover {
  color: var(--bp-text-primary);
  background: var(--bp-bg);
}

.bp-captcha-wrapper {
  display: flex;
  align-items: flex-end;
  gap: var(--bp-spacing-md);
  flex-wrap: wrap;
}

.bp-captcha-input {
  flex: 1;
  min-width: 160px;
}

.bp-captcha-image {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
}

.bp-captcha-img {
  border-radius: var(--bp-radius-md);
  border: 2px solid var(--bp-border);
  cursor: pointer;
  height: 44px;
  width: 120px;
  object-fit: contain;
  background: var(--bp-surface);
  transition: var(--bp-transition-fast);
}

.bp-captcha-img:hover {
  border-color: var(--bp-primary);
}

.bp-captcha-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--bp-border);
  border-radius: var(--bp-radius-md);
  background: var(--bp-surface);
  color: var(--bp-text-secondary);
  cursor: pointer;
  transition: var(--bp-transition-fast);
}

.bp-captcha-refresh:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
  background: var(--bp-primary-soft);
}

.bp-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: var(--bp-spacing-md) 0 var(--bp-spacing-lg);
}

.bp-checkbox {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--bp-text-secondary);
}

.bp-checkbox input {
  display: none;
}

.bp-checkbox__mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--bp-border);
  border-radius: var(--bp-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--bp-transition-fast);
  flex-shrink: 0;
}

.bp-checkbox input:checked + .bp-checkbox__mark {
  background: var(--bp-primary);
  border-color: var(--bp-primary);
}

.bp-checkbox input:checked + .bp-checkbox__mark::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--bp-text-white);
  font-size: 0.65rem;
}

.bp-form-actions {
  margin-top: var(--bp-spacing-lg);
  padding-top: var(--bp-spacing-lg);
  border-top: 1px solid var(--bp-border-light);
}

.bp-btn-full {
  width: 100%;
}

.bp-auth-form__footer {
  text-align: center;
  margin-top: var(--bp-spacing-lg);
  color: var(--bp-text-secondary);
}

.bp-auth-form__footer a {
  color: var(--bp-primary);
  font-weight: 700;
  text-decoration: none;
}

.bp-auth-form__footer a:hover {
  text-decoration: underline;
}

.bp-auth-form__sidebar {
  position: sticky;
  top: var(--bp-spacing-lg);
}

.bp-auth-features {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-xl);
  box-shadow: var(--bp-shadow-lg);
  border: 1px solid var(--bp-border-light);
}

.bp-auth-features h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-md);
  color: var(--bp-text-primary);
}

.bp-auth-features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--bp-spacing-lg);
}

.bp-auth-features ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--bp-spacing-md);
  padding: var(--bp-spacing-sm) 0;
  border-bottom: 1px solid var(--bp-border-light);
}

.bp-auth-features ul li:last-child {
  border-bottom: none;
}

.bp-auth-features ul li i {
  color: var(--bp-primary);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.bp-auth-features ul li strong {
  display: block;
  font-size: 0.85rem;
  color: var(--bp-text-primary);
}

.bp-auth-features ul li span {
  font-size: 0.8rem;
  color: var(--bp-text-muted);
}

.bp-auth-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bp-spacing-sm);
  padding: var(--bp-spacing-md) var(--bp-spacing-lg);
  border: 2px solid var(--bp-primary);
  border-radius: var(--bp-radius-md);
  background: transparent;
  color: var(--bp-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--bp-transition-fast);
}

.bp-auth-btn-outline:hover {
  background: var(--bp-primary-soft);
  color: var(--bp-primary-dark);
}

.bp-alert {
  display: flex;
  align-items: flex-start;
  gap: var(--bp-spacing-sm);
  padding: var(--bp-spacing-md) var(--bp-spacing-lg);
  border-radius: var(--bp-radius-md);
  margin-bottom: var(--bp-spacing-md);
  font-size: 0.9rem;
}

.bp-alert--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.bp-alert--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.bp-alert i {
  margin-top: 2px;
  flex-shrink: 0;
}

.bp-alert ul {
  margin: 0;
  padding-left: var(--bp-spacing-lg);
}

@media (max-width: 992px) {
  .bp-auth-hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bp-auth-hero__text p {
    margin: 0 auto var(--bp-spacing-lg);
  }

  .bp-auth-hero__trust {
    justify-content: center;
  }

  .bp-auth-hero__visual {
    display: none;
  }

  .bp-auth-form-wrapper {
    grid-template-columns: 1fr;
  }

  .bp-auth-form__sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .bp-auth-hero {
    padding: 60px 0 40px;
  }

  .bp-auth-hero__text h1 {
    font-size: 1.75rem;
  }

  .bp-auth-hero__trust {
    flex-direction: column;
    align-items: center;
    gap: var(--bp-spacing-sm);
  }

  .bp-auth-form {
    padding: var(--bp-spacing-md);
  }

  .bp-form-grid {
    grid-template-columns: 1fr;
    gap: var(--bp-spacing-md);
  }

  .bp-captcha-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .bp-captcha-image {
    justify-content: flex-start;
  }

  .bp-form-options {
    flex-direction: column;
    gap: var(--bp-spacing-sm);
    align-items: flex-start;
  }

  .bp-auth-features {
    padding: var(--bp-spacing-md);
  }
}

@media (max-width: 480px) {
  .bp-auth-hero__text h1 {
    font-size: 1.5rem;
  }

  .bp-auth-card {
    padding: var(--bp-spacing-md);
    min-width: 140px;
  }

  .bp-auth-card__icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .bp-form-input,
  .bp-form-select {
    font-size: 0.9rem;
    padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  }

  .bp-captcha-img {
    height: 38px;
    width: 100px;
  }
}

/* ============================================
   READING MODE - PREMIUM STYLES
   ============================================ */

.board-prep-main--fullscreen {
  padding: 0;
}

.board-prep-app-shell:has(.bp-reading-app) {
  max-width: none;
  padding: 0;
}

.bp-reading-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  background: var(--bp-bg);
  transition: background 0.3s ease;
}

.bp-reading-app--dark {
  --bp-bg: #0f172a;
  --bp-surface: #1e293b;
  --bp-border-light: #334155;
  --bp-text-primary: #f1f5f9;
  --bp-text-secondary: #94a3b8;
  --bp-text-muted: #64748b;
  background: #0f172a;
}

.bp-reading-app--light {
  --bp-bg: #f0f4f8;
  --bp-surface: #ffffff;
  --bp-border-light: #e2e8f0;
  --bp-text-primary: #0f172a;
  --bp-text-secondary: #475569;
  --bp-text-muted: #94a3b8;
}

.bp-reading-header {
  background: var(--bp-surface);
  border-bottom: 1px solid var(--bp-border-light);
  padding: 0.5rem 1rem;
  flex-shrink: 0;
  z-index: 10;
  transition: background 0.3s ease;
}

.bp-reading-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.bp-reading-header__brand {
  flex-shrink: 0;
}

.bp-reading-header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.bp-reading-header__logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.bp-reading-header__brand-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--bp-text-primary);
  transition: color 0.3s ease;
}

.bp-reading-header__brand-name span {
  color: var(--bp-primary);
}

.bp-reading-header__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.bp-reading-header__info-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--bp-text-secondary);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.bp-reading-header__info-item i {
  color: var(--bp-primary);
  font-size: 0.7rem;
}

.bp-reading-header__info-item--board i {
  color: #8b5cf6;
}

.bp-reading-header__info-item--chapter {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-reading-header__info-divider {
  width: 1px;
  height: 20px;
  background: var(--bp-border-light);
  flex-shrink: 0;
}

.bp-reading-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.bp-reading-header__progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-reading-header__progress-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bp-text-secondary);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.bp-reading-header__progress-bar {
  width: 80px;
  height: 4px;
  background: var(--bp-border-light);
  border-radius: 2px;
  overflow: hidden;
}

.bp-reading-header__progress-fill {
  height: 100%;
  background: var(--bp-primary);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.bp-reading-header__progress-pct {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bp-primary);
  min-width: 32px;
  text-align: right;
}

.bp-reading-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: var(--bp-bg);
  color: var(--bp-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bp-reading-header__btn:hover {
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
}

.bp-reading-sets {
  background: var(--bp-surface);
  border-bottom: 1px solid var(--bp-border-light);
  padding: 0.35rem 1rem;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.bp-reading-sets--hidden {
  display: none;
}

.bp-reading-sets__container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.bp-reading-sets__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--bp-border-light);
  border-radius: 6px;
  background: var(--bp-surface);
  color: var(--bp-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bp-reading-sets__btn:hover:not(:disabled) {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
  background: var(--bp-primary-soft);
}

.bp-reading-sets__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.bp-reading-sets__tabs {
  display: flex;
  gap: 0.2rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.1rem 0;
}

.bp-reading-sets__tabs::-webkit-scrollbar {
  display: none;
}

.bp-reading-sets__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.4rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--bp-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.bp-reading-sets__tab:hover {
  background: var(--bp-bg);
  color: var(--bp-text-primary);
}

.bp-reading-sets__tab.is-active {
  border-color: var(--bp-primary);
  background: var(--bp-primary);
  color: #fff;
}

.bp-reading-sets__info {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--bp-text-muted);
  white-space: nowrap;
}

.bp-reading-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.bp-reading-area {
  flex: 1;
  display: flex;
  gap: 1rem;
  overflow: hidden;
  padding: 0.75rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.bp-reading-navigator {
  width: 200px;
  flex-shrink: 0;
  background: var(--bp-surface);
  border-radius: 12px;
  border: 1px solid var(--bp-border-light);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  transition: background 0.3s ease;
}

.bp-reading-navigator__header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bp-text-secondary);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--bp-border-light);
}

.bp-reading-navigator__count {
  color: var(--bp-primary);
}

.bp-reading-navigator__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3rem;
  flex: 1;
  overflow-y: auto;
  align-content: start;
  padding-right: 0.2rem;
}

.bp-reading-navigator__grid::-webkit-scrollbar {
  width: 3px;
}

.bp-reading-navigator__grid::-webkit-scrollbar-track {
  background: transparent;
}

.bp-reading-navigator__grid::-webkit-scrollbar-thumb {
  background: var(--bp-border);
  border-radius: 2px;
}

.bp-reading-nav__num {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bp-border-light);
  border-radius: 6px;
  background: var(--bp-surface);
  color: var(--bp-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.bp-reading-nav__num:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
}

.bp-reading-nav__num--current {
  border-color: var(--bp-primary);
  background: var(--bp-primary);
  color: #fff;
}

.bp-reading-nav__num--visited {
  border-color: #dbeafe;
  background: #eff6ff;
  color: var(--bp-primary);
}

.bp-reading-nav__num--unread {
  border-color: var(--bp-border-light);
  background: var(--bp-surface);
  color: var(--bp-text-muted);
}

.bp-reading-navigator__legend {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--bp-border-light);
  font-size: 0.6rem;
  color: var(--bp-text-muted);
  flex-wrap: wrap;
}

.bp-reading-navigator__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 0.2rem;
}

.bp-reading-navigator__dot--current {
  background: var(--bp-primary);
}

.bp-reading-navigator__dot--visited {
  background: #3b82f6;
}

.bp-reading-navigator__dot--unread {
  background: var(--bp-border-light);
}

.bp-reading-cards {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.bp-reading-card {
  display: none;
  flex-direction: column;
  height: 100%;
  background: var(--bp-surface);
  border-radius: 12px;
  border: 1px solid var(--bp-border-light);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  overflow-y: auto;
}

.bp-reading-card.is-active {
  display: flex;
  animation: bp-card-fade-in 0.3s ease;
}

@keyframes bp-card-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bp-reading-card::-webkit-scrollbar {
  width: 4px;
}

.bp-reading-card::-webkit-scrollbar-track {
  background: transparent;
}

.bp-reading-card::-webkit-scrollbar-thumb {
  background: var(--bp-border);
  border-radius: 2px;
}

.bp-reading-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.bp-reading-card__badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.bp-reading-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
}

.bp-reading-card__badge--number {
  background: var(--bp-primary);
  color: #fff;
}

.bp-reading-card__badge--difficulty {
  background: #e2e8f0;
  color: #475569;
}

.bp-reading-card__badge--difficulty-easy {
  background: #dcfce7;
  color: #16a34a;
}

.bp-reading-card__badge--difficulty-medium {
  background: #fef3c7;
  color: #d97706;
}

.bp-reading-card__badge--difficulty-hard {
  background: #fee2e2;
  color: #dc2626;
}

.bp-reading-card__badge--difficulty-advanced {
  background: #f3e8ff;
  color: #7c3aed;
}

.bp-reading-card__badge--type {
  background: #dbeafe;
  color: #2563eb;
}

.bp-reading-card__set-info {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--bp-text-muted);
}

.bp-reading-card__question {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--bp-text-primary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem;
  background: var(--bp-bg);
  border-radius: 8px;
  border-left: 4px solid var(--bp-primary);
}

.bp-reading-card__answers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.bp-reading-answer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--bp-border-light);
  background: var(--bp-bg);
  transition: all 0.3s ease;
}

.bp-reading-answer--correct {
  border-color: #22c55e;
  background: #f0fdf4;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

.bp-reading-answer--correct .bp-reading-answer__check {
  opacity: 1;
  transform: scale(1);
}

.bp-reading-answer__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--bp-border-light);
  color: var(--bp-text-secondary);
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.bp-reading-answer--correct .bp-reading-answer__letter {
  background: #22c55e;
  color: #fff;
}

.bp-reading-answer__text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--bp-text-primary);
  line-height: 1.5;
}

.bp-reading-answer__check {
  font-size: 1.1rem;
  color: #22c55e;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s ease;
}

.bp-reading-answer--correct .bp-reading-answer__check {
  opacity: 1;
  transform: scale(1);
}

.bp-reading-answer--fill {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  background: #f0fdf4;
  border-color: #22c55e;
}

.bp-reading-answer__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #16a34a;
}

.bp-reading-answer__value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bp-text-primary);
}

.bp-reading-answer__value i {
  color: #22c55e;
}

.bp-reading-card__footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bp-border-light);
  flex-shrink: 0;
}

.bp-reading-card__hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--bp-text-muted);
}

.bp-reading-card__hint i {
  color: #f59e0b;
}

.bp-reading-complete {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--bp-surface);
  border-radius: 12px;
  border: 1px solid var(--bp-border-light);
  padding: 2rem;
  text-align: center;
  animation: bp-card-fade-in 0.5s ease;
}

.bp-reading-complete__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.bp-reading-complete h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bp-text-primary);
  margin-bottom: 0.5rem;
}

.bp-reading-complete p {
  color: var(--bp-text-secondary);
  margin-bottom: 1.5rem;
}

.bp-reading-complete__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.bp-reading-complete__stat {
  text-align: center;
}

.bp-reading-complete__stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bp-primary);
}

.bp-reading-complete__stat-label {
  font-size: 0.75rem;
  color: var(--bp-text-muted);
}

.bp-reading-complete__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.bp-reading-nav {
  flex-shrink: 0;
  background: var(--bp-surface);
  border-top: 1px solid var(--bp-border-light);
  padding: 0.5rem 1rem;
  position: relative;
  transition: background 0.3s ease;
}

.bp-reading-nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.bp-reading-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--bp-border-light);
  border-radius: 8px;
  background: var(--bp-surface);
  color: var(--bp-text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bp-reading-nav__btn:hover:not(:disabled) {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
  background: var(--bp-primary-soft);
}

.bp-reading-nav__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.bp-reading-nav__btn i {
  font-size: 0.8rem;
}

.bp-reading-nav__btn--next {
  background: var(--bp-primary);
  border-color: var(--bp-primary);
  color: #fff;
}

.bp-reading-nav__btn--next:hover:not(:disabled) {
  background: var(--bp-primary-dark);
  border-color: var(--bp-primary-dark);
  color: #fff;
}

.bp-reading-nav__center {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bp-reading-nav__position {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bp-text-primary);
}

.bp-reading-nav__set {
  font-size: 0.7rem;
  color: var(--bp-text-muted);
}

.bp-reading-nav__time {
  font-size: 0.7rem;
  color: var(--bp-text-muted);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.bp-reading-nav__navigator-toggle {
  display: none;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--bp-border-light);
  border-radius: 8px;
  background: var(--bp-surface);
  color: var(--bp-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bp-reading-nav__navigator-toggle:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
}

.bp-reading-nav__navigator-count {
  font-size: 0.7rem;
  font-weight: 600;
}

.bp-reading-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bp-reading-nav-overlay.is-open {
  display: flex;
}

.bp-reading-nav-overlay__content {
  background: var(--bp-surface);
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  padding: 1rem;
}

.bp-reading-nav-overlay__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--bp-text-primary);
}

.bp-reading-nav-overlay__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: var(--bp-bg);
  color: var(--bp-text-secondary);
  cursor: pointer;
}

.bp-reading-nav-overlay__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.bp-reading-nav-overlay__grid::-webkit-scrollbar {
  width: 3px;
}

.bp-reading-nav-overlay__grid::-webkit-scrollbar-thumb {
  background: var(--bp-border);
  border-radius: 2px;
}

.bp-reading-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 2rem;
}

.bp-reading-empty__illustration {
  font-size: 4rem;
  color: var(--bp-primary-soft);
  margin-bottom: 1rem;
}

.bp-reading-empty h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bp-text-primary);
  margin-bottom: 0.5rem;
}

.bp-reading-empty p {
  color: var(--bp-text-secondary);
  margin-bottom: 1rem;
}

@media (max-width: 992px) {
  .bp-reading-navigator {
    display: none;
  }

  .bp-reading-nav__navigator-toggle {
    display: inline-flex;
  }

  .bp-reading-header__info-item--chapter {
    max-width: 120px;
  }

  .bp-reading-header__info-item--board {
    display: none;
  }

  .bp-reading-header__progress-bar {
    width: 60px;
  }
}

@media (max-width: 768px) {
  .bp-reading-header {
    padding: 0.35rem 0.5rem;
  }

  .bp-reading-header__brand-name {
    font-size: 0.8rem;
  }

  .bp-reading-header__logo img {
    width: 28px;
    height: 28px;
  }

  .bp-reading-header__info {
    gap: 0.3rem;
  }

  .bp-reading-header__info-item {
    font-size: 0.65rem;
  }

  .bp-reading-header__info-divider {
    height: 14px;
  }

  .bp-reading-header__progress-text {
    font-size: 0.6rem;
  }

  .bp-reading-header__progress-bar {
    width: 40px;
  }

  .bp-reading-header__progress-pct {
    font-size: 0.6rem;
    min-width: 28px;
  }

  .bp-reading-header__btn {
    width: 28px;
    height: 28px;
  }

  .bp-reading-sets {
    padding: 0.25rem 0.5rem;
  }

  .bp-reading-sets__tab {
    min-width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }

  .bp-reading-sets__info {
    font-size: 0.6rem;
  }

  .bp-reading-area {
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .bp-reading-card {
    padding: 0.75rem 1rem;
  }

  .bp-reading-card__question {
    font-size: 0.95rem;
    padding: 0.4rem 0.6rem;
  }

  .bp-reading-answer {
    padding: 0.5rem 0.65rem;
  }

  .bp-reading-answer__text {
    font-size: 0.8rem;
  }

  .bp-reading-nav {
    padding: 0.35rem 0.5rem;
  }

  .bp-reading-nav__btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }

  .bp-reading-nav__center {
    gap: 0.5rem;
  }

  .bp-reading-nav__position {
    font-size: 0.7rem;
  }

  .bp-reading-nav__set {
    display: none;
  }

  .bp-reading-nav__time {
    font-size: 0.6rem;
  }

  .bp-reading-complete {
    padding: 1.5rem;
  }

  .bp-reading-complete__icon {
    font-size: 3rem;
  }

  .bp-reading-complete h2 {
    font-size: 1.2rem;
  }

  .bp-reading-complete__stats {
    gap: 1rem;
  }

  .bp-reading-complete__stat-number {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .bp-reading-header__info-item--chapter {
    display: none;
  }

  .bp-reading-header__progress-bar {
    display: none;
  }

  .bp-reading-card {
    padding: 0.5rem 0.75rem;
  }

  .bp-reading-card__question {
    font-size: 0.9rem;
  }

  .bp-reading-card__badge {
    font-size: 0.55rem;
    padding: 0.1rem 0.35rem;
  }

  .bp-reading-answer__letter {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }

  .bp-reading-answer__text {
    font-size: 0.75rem;
  }

  .bp-reading-nav__btn span {
    display: none;
  }

  .bp-reading-nav__btn i {
    font-size: 1rem;
  }

  .bp-reading-nav-overlay__content {
    padding: 0.75rem;
  }

  .bp-reading-nav-overlay__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.bp-btn-primary.bp-btn-sm,
.bp-btn-outline.bp-btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.bp-btn-full {
  width: 100%;
}

.bp-reading-app--dark .bp-reading-header__info-item {
  color: #94a3b8;
}

.bp-reading-app--dark .bp-reading-card {
  background: #1e293b;
}

.bp-reading-app--dark .bp-reading-answer {
  background: #0f172a;
}

.bp-reading-app--dark .bp-reading-answer--correct {
  background: #052e16;
  border-color: #22c55e;
}

.bp-reading-app--dark .bp-reading-card__question {
  background: #0f172a;
}

.bp-reading-card[dir="rtl"] .bp-reading-card__question,
.bp-reading-card.urdu-layout .bp-reading-card__question {
  border-left: none;
  border-right: 4px solid var(--bp-primary);
  text-align: right;
}

/* ============================================
   RESULT PAGE SPECIFIC STYLES
   ============================================ */

.bp-result-page {
  max-width: 740px;
  margin: 0 auto;
  padding: var(--bp-spacing-md) 0;
}

.bp-result-header {
  text-align: center;
  margin-bottom: var(--bp-spacing-lg);
}

.bp-result-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--bp-radius-full);
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 2rem;
  margin-bottom: var(--bp-spacing-sm);
}

.bp-result-header h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-result-header p {
  color: var(--bp-text-secondary);
  margin: 0;
  font-size: 1rem;
}

.bp-result-header p strong {
  color: var(--bp-text-primary);
}

.bp-result-card {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  overflow: hidden;
  box-shadow: var(--bp-shadow-lg);
  border: 1px solid var(--bp-border-light);
  margin-bottom: var(--bp-spacing-lg);
}

.bp-result-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--bp-spacing-md) var(--bp-spacing-lg);
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-primary-light));
  color: var(--bp-text-white);
}

.bp-result-card__brand {
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
}

.bp-result-card__badge {
  background: rgba(255, 255, 255, 0.2);
  padding: var(--bp-spacing-xs) var(--bp-spacing-md);
  border-radius: var(--bp-radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bp-result-card__body {
  padding: var(--bp-spacing-lg);
}

.bp-result-card__profile {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-md);
  padding-bottom: var(--bp-spacing-md);
  border-bottom: 1px solid var(--bp-border-light);
  margin-bottom: var(--bp-spacing-md);
}

.bp-result-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--bp-radius-full);
  object-fit: cover;
  border: 3px solid var(--bp-primary-soft);
}

.bp-result-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--bp-text-primary);
}

.bp-result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-sm) var(--bp-spacing-md);
  font-size: 0.8rem;
  color: var(--bp-text-muted);
}

.bp-result-card__meta span {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
}

.bp-result-card__quiz {
  margin-bottom: var(--bp-spacing-md);
}

.bp-result-card__quiz h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-result-card__quiz p {
  font-size: 0.85rem;
  color: var(--bp-text-secondary);
  margin: 0;
}

.bp-result-card__score {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--bp-spacing-md);
  align-items: center;
  background: var(--bp-bg);
  border-radius: var(--bp-radius-lg);
  padding: var(--bp-spacing-md) var(--bp-spacing-lg);
  margin-bottom: var(--bp-spacing-md);
}

.bp-score-item {
  text-align: center;
}

.bp-score-item__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bp-text-muted);
}

.bp-score-item__value {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bp-text-primary);
  line-height: 1.2;
}

.bp-score-item__value small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bp-text-muted);
}

.bp-score-item--primary .bp-score-item__value {
  color: var(--bp-primary);
  font-size: 1.6rem;
}

.bp-score-divider {
  width: 1px;
  height: 40px;
  background: var(--bp-border);
  flex-shrink: 0;
}

.bp-result-card__grade {
  text-align: center;
  margin-bottom: var(--bp-spacing-md);
}

.bp-grade-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  padding: var(--bp-spacing-sm) var(--bp-spacing-lg);
  border-radius: var(--bp-radius-full);
  font-weight: 700;
  font-size: 0.9rem;
}

.bp-grade--danger {
  background: #fef2f2;
  color: #dc2626;
}

.bp-grade--warning {
  background: #fffbeb;
  color: #d97706;
}

.bp-grade--primary {
  background: #eff6ff;
  color: #2563eb;
}

.bp-grade--purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.bp-grade--success {
  background: #f0fdf4;
  color: #16a34a;
}

.bp-result-card__message {
  font-size: 0.9rem;
  color: var(--bp-text-secondary);
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

.bp-result-card__message a {
  color: var(--bp-primary);
  font-weight: 600;
  text-decoration: none;
}

.bp-result-card__message a:hover {
  text-decoration: underline;
}

.bp-result-card__footer {
  display: flex;
  justify-content: space-between;
  padding: var(--bp-spacing-sm) var(--bp-spacing-lg);
  background: var(--bp-bg);
  border-top: 1px solid var(--bp-border-light);
  font-size: 0.75rem;
  color: var(--bp-text-muted);
}

.bp-certificate-section {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-lg);
  border: 2px solid #22c55e;
  box-shadow: var(--bp-shadow-lg);
  margin-bottom: var(--bp-spacing-lg);
}

.bp-certificate-section__header {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-md);
  margin-bottom: var(--bp-spacing-md);
}

.bp-certificate-section__header i {
  font-size: 2rem;
}

.bp-certificate-section__header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--bp-text-primary);
}

.bp-certificate-section__header p {
  font-size: 0.85rem;
  color: var(--bp-text-muted);
  margin: 0;
}

.bp-certificate {
  background: linear-gradient(135deg, #f8fafc, #eef2f6);
  border: 3px solid #22c55e;
  border-radius: var(--bp-radius-lg);
  padding: var(--bp-spacing-xl);
  position: relative;
  overflow: hidden;
}

.bp-certificate__decor {
  position: absolute;
  font-size: 3rem;
  opacity: 0.06;
  color: var(--bp-primary);
}

.bp-certificate__decor--tl { top: var(--bp-spacing-md); left: var(--bp-spacing-md); }
.bp-certificate__decor--tr { top: var(--bp-spacing-md); right: var(--bp-spacing-md); }
.bp-certificate__decor--bl { bottom: var(--bp-spacing-md); left: var(--bp-spacing-md); }
.bp-certificate__decor--br { bottom: var(--bp-spacing-md); right: var(--bp-spacing-md); }

.bp-certificate__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.bp-certificate__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--bp-radius-full);
  background: #fef3c7;
  color: #f59e0b;
  font-size: 2rem;
  margin-bottom: var(--bp-spacing-sm);
}

.bp-certificate h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bp-text-primary);
  margin: 0 0 var(--bp-spacing-xs);
}

.bp-certificate__subtitle {
  font-size: 0.9rem;
  color: var(--bp-text-muted);
  margin: 0 0 var(--bp-spacing-sm);
}

.bp-certificate__recipient {
  font-size: 1.4rem;
  font-weight: 700;
  color: #16a34a;
  margin: 0 0 var(--bp-spacing-xs);
}

.bp-certificate__parent {
  font-size: 0.85rem;
  color: var(--bp-text-muted);
  margin: 0 0 var(--bp-spacing-md);
}

.bp-certificate__description {
  font-size: 0.95rem;
  color: var(--bp-text-secondary);
  margin: 0 0 var(--bp-spacing-xs);
}

.bp-certificate__quiz-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bp-text-primary);
  margin: 0 0 var(--bp-spacing-xs);
}

.bp-certificate__subject {
  font-size: 0.85rem;
  color: var(--bp-text-muted);
  margin: 0 0 var(--bp-spacing-md);
}

.bp-certificate__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bp-spacing-md);
  padding: var(--bp-spacing-md) 0;
  border-top: 1px solid var(--bp-border);
  border-bottom: 1px solid var(--bp-border);
  margin-bottom: var(--bp-spacing-md);
}

.bp-certificate__stat {
  text-align: center;
}

.bp-certificate__stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bp-text-muted);
}

.bp-certificate__stat-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bp-text-primary);
}

.bp-certificate__stat-value--highlight {
  color: #16a34a;
}

.bp-certificate__footer {
  display: flex;
  justify-content: center;
  gap: var(--bp-spacing-lg);
  font-size: 0.8rem;
  color: var(--bp-text-muted);
}

.bp-certificate__footer span {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
}

.bp-certificate__stars {
  margin-top: var(--bp-spacing-md);
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 4px;
}

.bp-certificate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-sm);
  justify-content: center;
  margin-top: var(--bp-spacing-md);
}

.bp-certificate__status {
  text-align: center;
  font-size: 0.8rem;
  color: var(--bp-text-muted);
  margin: var(--bp-spacing-sm) 0 0;
}

.bp-result-download {
  text-align: center;
  margin-bottom: var(--bp-spacing-lg);
}

.bp-result-download__status {
  font-size: 0.8rem;
  color: var(--bp-text-muted);
  margin: var(--bp-spacing-sm) 0 0;
}

.bp-feedback-section {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-lg);
  box-shadow: var(--bp-shadow-sm);
  border: 1px solid var(--bp-border-light);
  margin-bottom: var(--bp-spacing-lg);
}

.bp-feedback-section__header {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-md);
  margin-bottom: var(--bp-spacing-md);
}

.bp-feedback-section__header i {
  font-size: 1.5rem;
  color: var(--bp-primary);
}

.bp-feedback-section__header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--bp-text-primary);
}

.bp-feedback-section__header p {
  font-size: 0.85rem;
  color: var(--bp-text-muted);
  margin: 0;
}

.bp-feedback-display {
  background: var(--bp-bg);
  border-radius: var(--bp-radius-md);
  padding: var(--bp-spacing-md);
  margin-bottom: var(--bp-spacing-md);
}

.bp-feedback-display__rating {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-md);
}

.bp-feedback-display__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bp-text-secondary);
}

.bp-feedback-display__comment {
  font-size: 0.9rem;
  color: var(--bp-text-primary);
  margin: var(--bp-spacing-sm) 0 0;
}

.bp-feedback-display__hint {
  font-size: 0.75rem;
  color: var(--bp-text-muted);
  margin: var(--bp-spacing-sm) 0 0;
}

.bp-feedback-form__rating {
  margin-bottom: var(--bp-spacing-md);
}

.bp-feedback-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bp-text-primary);
  margin-bottom: var(--bp-spacing-xs);
}

.bp-feedback-form__comment textarea {
  width: 100%;
  padding: var(--bp-spacing-md);
  border: 2px solid var(--bp-border);
  border-radius: var(--bp-radius-md);
  font-size: 0.9rem;
  color: var(--bp-text-primary);
  font-family: inherit;
  resize: vertical;
  transition: var(--bp-transition-fast);
  outline: none;
  min-height: 80px;
}

.bp-feedback-form__comment textarea:focus {
  border-color: var(--bp-primary);
  box-shadow: 0 0 0 4px rgba(26, 95, 74, 0.1);
}

.bp-star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.bp-star-rating--readonly i {
  font-size: 1.1rem;
  color: #d1d5db;
  transition: var(--bp-transition-fast);
}

.bp-star-rating--readonly i.is-active {
  color: #f59e0b;
}

.bp-star-btn {
  background: none;
  border: none;
  padding: var(--bp-spacing-xs);
  cursor: pointer;
  transition: var(--bp-transition-fast);
  font-size: 1.2rem;
}

.bp-star-btn i {
  color: #d1d5db;
  transition: var(--bp-transition-fast);
}

.bp-star-btn:hover i {
  color: #f59e0b;
  transform: scale(1.2);
}

.bp-star-btn i.is-active {
  color: #f59e0b;
}

.bp-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-sm);
  justify-content: center;
  margin-top: var(--bp-spacing-lg);
}

.bp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bp-spacing-xs);
  padding: var(--bp-spacing-sm) var(--bp-spacing-lg);
  background: transparent;
  color: var(--bp-primary);
  border: 2px solid var(--bp-primary);
  border-radius: var(--bp-radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--bp-transition-fast);
  cursor: pointer;
}

.bp-btn-outline:hover {
  background: var(--bp-primary-soft);
  color: var(--bp-primary-dark);
}

@media (max-width: 768px) {
  .bp-result-card__score {
    grid-template-columns: 1fr;
    gap: var(--bp-spacing-sm);
    padding: var(--bp-spacing-md);
  }

  .bp-score-divider {
    display: none;
  }

  .bp-result-card__profile {
    flex-direction: column;
    text-align: center;
  }

  .bp-result-card__meta {
    justify-content: center;
  }

  .bp-certificate__stats {
    grid-template-columns: 1fr;
    gap: var(--bp-spacing-sm);
  }

  .bp-certificate__footer {
    flex-direction: column;
    align-items: center;
    gap: var(--bp-spacing-xs);
  }

  .bp-certificate {
    padding: var(--bp-spacing-md);
  }

  .bp-feedback-display__rating {
    flex-direction: column;
    align-items: flex-start;
  }

  .bp-result-actions {
    flex-direction: column;
  }

  .bp-result-actions .bp-btn-primary,
  .bp-result-actions .bp-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .bp-result-header h1 {
    font-size: 1.4rem;
  }

  .bp-result-header__icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .bp-result-card__body {
    padding: var(--bp-spacing-md);
  }

  .bp-result-card__header {
    padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  }

  .bp-score-item__value {
    font-size: 1.1rem;
  }

  .bp-score-item--primary .bp-score-item__value {
    font-size: 1.3rem;
  }

  .bp-certificate-section,
  .bp-feedback-section {
    padding: var(--bp-spacing-md);
  }
}

/* Quiz topic detail modal */
.bp-quiz-detail-btn {
  flex-shrink: 0;
}

.bp-topic-modal .modal-header {
  border-bottom: 1px solid var(--bp-border, #e9ecef);
}

.bp-topic-modal .modal-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.bp-topic-modal__body {
  max-height: 60vh;
  overflow-y: auto;
}

.bp-topic-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: var(--bp-spacing-md, 1rem);
  background: var(--bp-surface-muted, #f8f9fb);
  border: 1px solid var(--bp-border-light, #eef0f3);
  border-radius: var(--bp-radius-md, 8px);
  font-size: 0.9rem;
  color: var(--bp-text-secondary, #5c6370);
}

.bp-topic-modal__meta-item strong {
  color: var(--bp-text-primary, #1a1a2e);
  font-weight: 600;
}

.bp-topic-modal__list {
  display: flex;
  flex-direction: column;
  gap: var(--bp-spacing-md, 1rem);
}

.bp-topic-modal__item {
  padding-bottom: var(--bp-spacing-md, 1rem);
  border-bottom: 1px solid var(--bp-border-light, #f0f0f0);
}

.bp-topic-modal__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.bp-topic-modal__name {
  font-weight: 600;
  color: var(--bp-text-primary, #1a1a2e);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.bp-topic-modal__subtopics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding-left: 1.15rem;
  list-style: disc;
  font-size: 0.925rem;
  color: var(--bp-text-secondary, #5c6370);
  line-height: 1.5;
}

.bp-topic-modal__subtopics li {
  margin: 0;
  padding: 0;
}

.bp-topic-modal__desc {
  margin: 0;
  font-size: 0.925rem;
  color: var(--bp-text-secondary, #5c6370);
  line-height: 1.55;
  white-space: pre-wrap;
}

.bp-topic-modal__empty {
  font-size: 0.95rem;
  text-align: center;
  padding: var(--bp-spacing-md, 1rem) 0;
}

.bp-topic-modal__item[dir="rtl"] .bp-topic-modal__name,
.bp-topic-modal__item[dir="rtl"] .bp-topic-modal__desc,
.bp-topic-modal__item[dir="rtl"] .bp-topic-modal__subtopics {
  text-align: right;
  font-family: var(--bp-font-urdu, 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif);
}

.bp-topic-modal__item[dir="rtl"] .bp-topic-modal__subtopics {
  padding-left: 0;
  padding-right: 1.15rem;
}

@media (max-width: 575px) {
  .bp-topic-modal__subtopics {
    grid-template-columns: 1fr;
  }
}

/* Embedded global quiz settings (guest landing / public catalog) */
.bp-quiz-prefs-embed {
  background: var(--bp-surface, #fff);
  border: 1px solid var(--bp-border-light, #e8eaed);
  border-radius: var(--bp-radius-xl, 16px);
  padding: var(--bp-spacing-md, 1rem) var(--bp-spacing-lg, 1.5rem);
  box-shadow: var(--bp-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
}

.bp-quiz-prefs-embed #quizPrefsPanel {
  margin-bottom: 0;
}

.bp-quiz-prefs-embed .quiz-pref-stepper {
  border-color: var(--bp-border-light, #dee2e6);
}

.bp-quiz-prefs-embed .quiz-pref-stepper__btn {
  color: var(--bp-primary, #1a5f4a);
}

.bp-section--library .bp-quiz-prefs-embed {
  margin-top: 0.5rem;
}

/* Dashboard compact quiz settings toolbar */
.quiz-prefs-panel--compact {
  padding: var(--bp-spacing-md, 1rem) var(--bp-spacing-lg, 1.5rem);
}

.quiz-prefs-panel--compact .alert {
  margin-bottom: var(--bp-spacing-sm, 0.5rem);
}

.quiz-prefs-panel__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--bp-spacing-md, 1rem);
}

.quiz-prefs-panel__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bp-spacing-sm, 0.5rem);
  flex-shrink: 0;
}

.quiz-prefs-panel__field {
  flex: 0 0 auto;
}

.quiz-prefs-panel__field .form-label {
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.quiz-prefs-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bp-spacing-sm, 0.5rem);
  margin-left: auto;
}

.bp-quiz-card-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--subject-bg, var(--bp-primary-soft));
}

.bp-quiz-card-thumb-emoji {
  font-size: 2.75rem;
  line-height: 1;
}

@media (max-width: 767.98px) {
  .quiz-prefs-panel__toolbar {
    align-items: stretch;
  }

  .quiz-prefs-panel__title {
    width: 100%;
  }

  .quiz-prefs-panel__actions {
    margin-left: 0;
    width: 100%;
  }
}

/* ============================================
   SHARE LANDING PAGE - PREMIUM STYLES
   ============================================ */

/* --- Skip Link --- */
.bp-skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--bp-spacing-sm) var(--bp-spacing-lg);
  background: var(--bp-primary);
  color: var(--bp-text-white);
  border-radius: 0 0 var(--bp-radius-md) var(--bp-radius-md);
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
}

.bp-skip-link:focus {
  top: 0;
}

/* --- Hero Section --- */
.bp-share-hero {
  background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 50%, #f8fafc 100%);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}
.bp-share-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 95, 74, 0.05), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-share-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bp-spacing-2xl);
  align-items: center;
}

/* --- Hero Visual --- */
.bp-share-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-hero-illustration {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.bp-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bp-hero-orb--1 {
  width: 300px;
  height: 300px;
  top: -40px;
  right: -40px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.08), transparent 70%);
}

.bp-hero-orb--2 {
  width: 200px;
  height: 200px;
  bottom: -30px;
  left: -30px;
  background: radial-gradient(circle, rgba(26, 95, 74, 0.06), transparent 70%);
}

.bp-hero-orb--3 {
  width: 120px;
  height: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04), transparent 70%);
}

.bp-hero-thumbnail {
  position: relative;
  z-index: 1;
  border-radius: var(--bp-radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
  aspect-ratio: 4/3;
  min-height: 260px;
  background: var(--bp-bg);
}

.bp-hero-thumbnail--generated .bp-quiz-auto-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  min-height: 0;
}

.bp-hero-thumbnail--generated .bp-quiz-auto-thumb__top {
  display: none;
}

.bp-hero-thumbnail--generated .bp-quiz-auto-thumb__center {
  flex: 0 0 auto;
  padding: 0;
}

.bp-hero-thumbnail--generated .bp-quiz-auto-thumb__icon {
  width: 5rem;
  height: 5rem;
  font-size: 2.25rem;
  border-radius: 1.35rem;
}

.bp-hero-thumbnail--generated .bp-quiz-auto-thumb__center strong {
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.bp-hero-thumbnail--generated .bp-quiz-auto-thumb__category {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bp-text-secondary);
  line-height: 1.3;
}

.bp-hero-thumbnail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-hero-thumbnail__auto {
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Auto-generated quiz thumbnails (catalog cards + share hero) */
.bp-quiz-auto-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: 120px;
  padding: 0.75rem 0.9rem;
  overflow: hidden;
  color: var(--bp-text-primary);
  background: linear-gradient(145deg, var(--bp-primary-soft) 0%, #ffffff 100%);
  border-radius: inherit;
}

.bp-quiz-auto-thumb__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.55;
}

.bp-quiz-auto-thumb__orb--one {
  width: 120px;
  height: 120px;
  top: -30px;
  right: -20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 70%);
}

.bp-quiz-auto-thumb__orb--two {
  width: 90px;
  height: 90px;
  bottom: -20px;
  left: -15px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75), transparent 70%);
}

.bp-quiz-auto-thumb__top,
.bp-quiz-auto-thumb__center,
.bp-quiz-auto-thumb__title {
  position: relative;
  z-index: 1;
}

.bp-quiz-auto-thumb__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bp-quiz-auto-thumb__subject {
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 1.5rem);
  padding: 0.2rem 0.55rem;
  border-radius: var(--bp-radius-full);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-quiz-auto-thumb__grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 1.5rem);
  padding: 0.2rem 0.55rem;
  border-radius: var(--bp-radius-full);
  background: var(--bp-primary);
  color: var(--bp-text-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.bp-quiz-auto-thumb__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  padding: 0.35rem 0.25rem;
}

.bp-quiz-auto-thumb__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font-size: 1.45rem;
}

.bp-quiz-auto-thumb__center strong {
  display: block;
  max-width: 100%;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--bp-text-primary);
}

.bp-quiz-auto-thumb__title {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--bp-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-quiz-auto-thumb--card,
.bp-quiz-thumbnail.bp-quiz-auto-thumb {
  min-height: 120px;
  height: 120px;
  border-radius: var(--bp-radius-lg) var(--bp-radius-lg) 0 0;
}

.bp-quiz-auto-thumb--compact,
.bp-quiz-card__thumb.bp-quiz-auto-thumb--compact {
  min-height: 72px;
  height: 72px;
  padding: 0.5rem 0.65rem;
  justify-content: center;
  background: linear-gradient(145deg, var(--subject-bg, var(--bp-primary-soft)) 0%, #ffffff 88%);
  border-bottom: 2px solid var(--subject-color, var(--bp-primary));
  border-radius: var(--bp-radius-lg) var(--bp-radius-lg) 0 0;
}

.bp-quiz-auto-thumb--compact .bp-quiz-auto-thumb__orb--one {
  width: 70px;
  height: 70px;
  top: -20px;
  right: -10px;
}

.bp-quiz-auto-thumb--compact .bp-quiz-auto-thumb__orb--two {
  width: 50px;
  height: 50px;
}

.bp-quiz-auto-thumb__compact-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

.bp-quiz-auto-thumb--compact .bp-quiz-auto-thumb__icon {
  width: 2rem;
  height: 2rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.bp-quiz-auto-thumb__compact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
  padding-right: 1.5rem;
}

.bp-quiz-auto-thumb--compact .bp-quiz-auto-thumb__subject {
  font-size: 0.62rem;
}

.bp-quiz-auto-thumb--compact .bp-quiz-auto-thumb__grade {
  font-size: 0.62rem;
  align-self: flex-start;
}

.bp-quiz-auto-thumb--hero,
.bp-hero-thumbnail .bp-quiz-auto-thumb {
  min-height: 100%;
  padding: 1.35rem;
}

.bp-hero-thumbnail .bp-quiz-auto-thumb__icon {
  width: 4.5rem;
  height: 4.5rem;
  font-size: 2rem;
  border-radius: 1.25rem;
}

.bp-hero-thumbnail .bp-quiz-auto-thumb__center strong {
  font-size: 0.95rem;
}

.bp-hero-thumbnail .bp-quiz-auto-thumb__subject {
  font-size: 0.72rem;
  padding: 0.28rem 0.65rem;
}

/* Subject palettes */
.bp-quiz-auto-thumb--chemistry {
  color: #0f766e;
  background: linear-gradient(145deg, #ccfbf1 0%, #f0fdfa 55%, #ffffff 100%);
}

.bp-quiz-auto-thumb--chemistry .bp-quiz-auto-thumb__icon {
  color: #0d9488;
}

.bp-quiz-auto-thumb--physics {
  color: var(--bp-physics);
  background: linear-gradient(145deg, var(--bp-physics-bg) 0%, #ffffff 100%);
}

.bp-quiz-auto-thumb--physics .bp-quiz-auto-thumb__icon {
  color: var(--bp-physics);
}

.bp-quiz-auto-thumb--math {
  color: var(--bp-math);
  background: linear-gradient(145deg, var(--bp-math-bg) 0%, #ffffff 100%);
}

.bp-quiz-auto-thumb--math .bp-quiz-auto-thumb__icon {
  color: var(--bp-math);
}

.bp-quiz-auto-thumb--computer {
  color: var(--bp-computer);
  background: linear-gradient(145deg, var(--bp-computer-bg) 0%, #ffffff 100%);
}

.bp-quiz-auto-thumb--computer .bp-quiz-auto-thumb__icon {
  color: var(--bp-computer);
}

.bp-quiz-auto-thumb--english {
  color: var(--bp-english);
  background: linear-gradient(145deg, var(--bp-english-bg) 0%, #ffffff 100%);
}

.bp-quiz-auto-thumb--english .bp-quiz-auto-thumb__icon {
  color: var(--bp-english);
}

.bp-quiz-auto-thumb--science {
  color: var(--bp-science);
  background: linear-gradient(145deg, var(--bp-science-bg) 0%, #ffffff 100%);
}

.bp-quiz-auto-thumb--science .bp-quiz-auto-thumb__icon {
  color: var(--bp-science);
}

.bp-quiz-auto-thumb--islamiat {
  color: var(--bp-islamiat);
  background: linear-gradient(145deg, var(--bp-islamiat-bg) 0%, #ffffff 100%);
}

.bp-quiz-auto-thumb--islamiat .bp-quiz-auto-thumb__icon {
  color: var(--bp-islamiat);
}

.bp-quiz-auto-thumb--general {
  color: var(--bp-general);
  background: linear-gradient(145deg, var(--bp-general-bg) 0%, #ffffff 100%);
}

.bp-quiz-auto-thumb--general .bp-quiz-auto-thumb__icon {
  color: var(--bp-primary);
}

.bp-quiz-auto-thumb--v2 {
  background-image: linear-gradient(155deg, rgba(255, 255, 255, 0.35), transparent 55%);
}

.bp-quiz-auto-thumb--v3 .bp-quiz-auto-thumb__orb--one {
  left: -20px;
  right: auto;
}

.bp-quiz-auto-thumb--v3 .bp-quiz-auto-thumb__orb--two {
  right: -15px;
  left: auto;
}

/* Hero Badges on Thumbnail */
.bp-hero-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
  border-radius: var(--bp-radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bp-hero-badge--free {
  top: var(--bp-spacing-sm);
  left: var(--bp-spacing-sm);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

.bp-hero-badge--trending {
  top: var(--bp-spacing-sm);
  right: var(--bp-spacing-sm);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.bp-hero-badge--questions {
  bottom: var(--bp-spacing-sm);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  backdrop-filter: blur(8px);
}

/* Floating Elements */
.bp-hero-float {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--bp-radius-full);
  padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bp-text-primary);
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: bp-float 4s ease-in-out infinite;
}

.bp-hero-float--1 {
  top: -10px;
  right: -20px;
  animation-delay: 0s;
}

.bp-hero-float--2 {
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  animation: bp-float-centered 4s ease-in-out infinite;
  animation-delay: 2s;
  white-space: nowrap;
}

/* --- Hero Content --- */
.bp-share-hero__content {
  position: relative;
}

.bp-hero-breadcrumb {
  margin-bottom: var(--bp-spacing-md);
}

.bp-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-xs);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--bp-text-muted);
}

.bp-breadcrumb-list a {
  color: var(--bp-primary);
  text-decoration: none;
}

.bp-breadcrumb-list a:hover {
  text-decoration: underline;
}

.bp-breadcrumb-sep {
  color: var(--bp-text-muted);
}

.bp-hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-xs);
  margin-bottom: var(--bp-spacing-md);
}

.bp-hero-badge-label {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
  border-radius: var(--bp-radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
}

.bp-hero-badge-label--grade {
  background: #fef3c7;
  color: #d97706;
}

.bp-hero-badge-label--board {
  background: #ede9fe;
  color: #7c3aed;
}

.bp-hero-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--bp-text-primary);
  margin: 0 0 var(--bp-spacing-sm);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bp-hero-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bp-text-secondary);
  margin: 0 0 var(--bp-spacing-md);
}

.bp-hero-description {
  font-size: 1.05rem;
  color: var(--bp-text-secondary);
  line-height: 1.7;
  margin: 0 0 var(--bp-spacing-lg);
  max-width: 560px;
}

/* Info Cards Grid */
.bp-hero-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bp-spacing-sm);
  margin-bottom: var(--bp-spacing-lg);
}

.bp-info-card {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  padding: var(--bp-spacing-sm) var(--bp-spacing-md);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-md);
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-fast);
}

.bp-info-card:hover {
  border-color: var(--bp-primary);
  box-shadow: var(--bp-shadow-sm);
}

.bp-info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--bp-radius-sm);
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.bp-info-card__content {
  min-width: 0;
}

.bp-info-card__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bp-text-muted);
}

.bp-info-card__value {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bp-text-primary);
  line-height: 1.2;
}

/* Hero Actions */
.bp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-sm);
  margin-bottom: var(--bp-spacing-md);
}

.bp-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--bp-spacing-md) var(--bp-spacing-xl);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--bp-radius-full);
  min-height: 52px;
  text-decoration: none;
}

.bp-btn-hero--primary {
  position: relative;
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-primary-light));
  color: var(--bp-text-white);
  border: none;
  box-shadow: 0 8px 24px rgba(26, 95, 74, 0.3);
}

.bp-btn-hero--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 95, 74, 0.4);
  color: var(--bp-text-white);
}

.bp-btn-hero--primary .bp-btn-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.6rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--bp-radius-full);
  font-weight: 700;
  text-transform: uppercase;
}

.bp-btn-hero--secondary {
  border: 2px solid var(--bp-border);
  background: var(--bp-surface);
  color: var(--bp-text-primary);
}

.bp-btn-hero--secondary:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
  background: var(--bp-primary-soft);
}

.bp-btn-hero--tertiary {
  border: 2px solid #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}

.bp-btn-hero--tertiary:hover {
  background: #dbeafe;
  border-color: #3b82f6;
}

/* Hero Trust */
.bp-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-md);
  margin-bottom: var(--bp-spacing-md);
}

.bp-hero-trust span {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bp-text-secondary);
}

/* Hero Share */
.bp-hero-share {
  margin-top: var(--bp-spacing-sm);
  padding-top: var(--bp-spacing-sm);
  border-top: 1px solid var(--bp-border-light);
}

/* --- Trust Bar --- */
.bp-trust-bar {
  background: var(--bp-surface);
  border-top: 1px solid var(--bp-border-light);
  border-bottom: 1px solid var(--bp-border-light);
  padding: var(--bp-spacing-md) 0;
}

.bp-trust-bar__context {
  margin-bottom: var(--bp-spacing-sm);
}

.bp-trust-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--bp-spacing-lg);
}

.bp-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bp-trust-item__number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bp-text-primary);
  line-height: 1.2;
}

.bp-trust-item__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--bp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bp-trust-divider {
  width: 1px;
  height: 30px;
  background: var(--bp-border);
}

/* --- Section Common --- */
.bp-section {
  padding: var(--bp-spacing-2xl) 0;
}

.bp-section__header {
  text-align: center;
  margin-bottom: var(--bp-spacing-xl);
}

.bp-section__badge {
  display: inline-block;
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--bp-spacing-xs) var(--bp-spacing-md);
  border-radius: var(--bp-radius-full);
  margin-bottom: var(--bp-spacing-sm);
}

.bp-section__header h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-section__header p {
  color: var(--bp-text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* --- Benefits Grid --- */
.bp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--bp-spacing-md);
}

.bp-benefit-card {
  text-align: center;
  padding: var(--bp-spacing-lg);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
}

.bp-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bp-shadow-md);
  border-color: var(--bp-primary);
}

.bp-benefit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--bp-radius-lg);
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 1.3rem;
  margin-bottom: var(--bp-spacing-sm);
}

.bp-benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-benefit-card p {
  font-size: 0.85rem;
  color: var(--bp-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* --- Overview Grid --- */
.bp-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--bp-spacing-sm);
}

.bp-overview-card {
  padding: var(--bp-spacing-md);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-md);
  border: 1px solid var(--bp-border-light);
  text-align: center;
}

.bp-overview-card__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bp-text-muted);
  margin-bottom: var(--bp-spacing-xs);
}

.bp-overview-card__value {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bp-text-primary);
}

/* --- Audience Grid --- */
.bp-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bp-spacing-md);
}

.bp-audience-card {
  text-align: center;
  padding: var(--bp-spacing-lg);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
}

.bp-audience-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bp-shadow-sm);
}

.bp-audience-card i {
  font-size: 2rem;
  color: var(--bp-primary);
  margin-bottom: var(--bp-spacing-sm);
}

.bp-audience-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-audience-card p {
  font-size: 0.85rem;
  color: var(--bp-text-secondary);
  margin: 0;
}

/* --- Outcomes Grid --- */
.bp-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--bp-spacing-md);
}

.bp-outcome-item {
  display: flex;
  gap: var(--bp-spacing-md);
  padding: var(--bp-spacing-md);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-md);
  border: 1px solid var(--bp-border-light);
  align-items: flex-start;
}

.bp-outcome-item__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--bp-radius-full);
  background: var(--bp-primary);
  color: var(--bp-text-white);
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.bp-outcome-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-outcome-item p {
  font-size: 0.85rem;
  color: var(--bp-text-secondary);
  margin: 0;
}

/* --- Features Grid --- */
.bp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--bp-spacing-md);
}

.bp-feature-card {
  text-align: center;
  padding: var(--bp-spacing-lg);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
}

.bp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bp-shadow-md);
}

.bp-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--bp-radius-md);
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  font-size: 1.1rem;
  margin-bottom: var(--bp-spacing-sm);
}

.bp-feature-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
}

.bp-feature-card p {
  font-size: 0.8rem;
  color: var(--bp-text-secondary);
  margin: 0;
}

/* --- Testimonials --- */
.bp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bp-spacing-md);
}

.bp-testimonial-card {
  padding: var(--bp-spacing-lg);
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
}

.bp-testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bp-shadow-md);
}

.bp-testimonial-card__stars {
  margin-bottom: var(--bp-spacing-sm);
  color: #d1d5db;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.bp-testimonial-card__stars .is-active {
  color: #f59e0b;
}

.bp-testimonial-card__text {
  font-size: 0.9rem;
  color: var(--bp-text-primary);
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 var(--bp-spacing-md);
}

.bp-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
}

.bp-testimonial-card__author img {
  width: 40px;
  height: 40px;
  border-radius: var(--bp-radius-full);
  object-fit: cover;
}

.bp-testimonial-card__author strong {
  display: block;
  font-size: 0.85rem;
  color: var(--bp-text-primary);
}

.bp-testimonial-card__author span {
  font-size: 0.75rem;
  color: var(--bp-text-muted);
}

/* --- Related Quizzes --- */
.bp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bp-spacing-md);
}

.bp-related-card {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-lg);
  overflow: hidden;
  border: 1px solid var(--bp-border-light);
  transition: var(--bp-transition-normal);
}

.bp-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bp-shadow-md);
}

.bp-related-card__thumb {
  height: 120px;
  background: var(--bp-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bp-related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-related-card__emoji {
  font-size: 2.5rem;
}

.bp-related-card__body {
  padding: var(--bp-spacing-md);
}

.bp-related-card__body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 var(--bp-spacing-xs);
  color: var(--bp-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-related-card__meta {
  display: flex;
  gap: var(--bp-spacing-md);
  font-size: 0.75rem;
  color: var(--bp-text-muted);
  margin-bottom: var(--bp-spacing-sm);
}

.bp-btn-full {
  width: 100%;
}

/* --- Subjects Grid --- */
.bp-subjects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-sm);
  justify-content: center;
}

.bp-subject-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-spacing-sm);
  padding: var(--bp-spacing-sm) var(--bp-spacing-lg);
  background: var(--bp-surface);
  border: 2px solid var(--bp-border-light);
  border-radius: var(--bp-radius-full);
  color: var(--bp-text-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--bp-transition-fast);
}

.bp-subject-chip:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
  background: var(--bp-primary-soft);
  transform: translateY(-2px);
}

.bp-subject-chip__icon {
  font-size: 0.9rem;
}

/* --- FAQ Section --- */
.bp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bp-spacing-md);
}

.bp-faq-item {
  background: var(--bp-surface);
  border-radius: var(--bp-radius-md);
  border: 1px solid var(--bp-border-light);
  overflow: hidden;
}

.bp-faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--bp-spacing-md);
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bp-text-primary);
  cursor: pointer;
  transition: var(--bp-transition-fast);
}

.bp-faq-item__trigger:hover {
  background: var(--bp-bg);
}

.bp-faq-item__trigger h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.bp-faq-item__trigger i {
  font-size: 0.8rem;
  color: var(--bp-text-muted);
  transition: var(--bp-transition-fast);
  flex-shrink: 0;
  margin-left: var(--bp-spacing-sm);
}

.bp-faq-item__content {
  padding: 0 var(--bp-spacing-md) var(--bp-spacing-md);
  display: none;
}

.bp-faq-item__content p {
  font-size: 0.9rem;
  color: var(--bp-text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* --- Final CTA --- */
.bp-final-cta {
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-primary-dark));
  border-radius: var(--bp-radius-xl);
  padding: var(--bp-spacing-2xl) var(--bp-spacing-xl);
  text-align: center;
  color: var(--bp-text-white);
}

.bp-final-cta__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: var(--bp-text-white);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--bp-spacing-xs) var(--bp-spacing-md);
  border-radius: var(--bp-radius-full);
  margin-bottom: var(--bp-spacing-sm);
}

.bp-final-cta h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 var(--bp-spacing-sm);
}

.bp-final-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto var(--bp-spacing-lg);
}

.bp-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-sm);
  justify-content: center;
  margin-bottom: var(--bp-spacing-md);
}

.bp-final-cta__actions .bp-btn-hero--primary {
  background: var(--bp-accent);
  color: var(--bp-text-primary);
  box-shadow: 0 8px 24px rgba(240, 165, 0, 0.3);
}

.bp-final-cta__actions .bp-btn-hero--primary:hover {
  background: #e09500;
  box-shadow: 0 12px 32px rgba(240, 165, 0, 0.4);
  color: var(--bp-text-primary);
}

.bp-final-cta__actions .bp-btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--bp-text-white);
}

.bp-final-cta__actions .bp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bp-text-white);
}

.bp-final-cta__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-spacing-lg);
  justify-content: center;
}

.bp-final-cta__trust span {
  display: flex;
  align-items: center;
  gap: var(--bp-spacing-xs);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --- Sticky Mobile CTA --- */
.bp-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  padding: var(--bp-spacing-sm) var(--bp-spacing-md) calc(var(--bp-spacing-sm) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--bp-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.bp-sticky-cta--hidden {
  transform: translateY(100%);
}

.bp-sticky-cta__container {
  display: flex;
  gap: var(--bp-spacing-sm);
  max-width: 480px;
  margin: 0 auto;
}

.bp-sticky-cta__container .bp-btn-full {
  flex: 1;
}

/* --- Animations --- */
@keyframes bp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bp-float-centered {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .bp-share-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--bp-spacing-lg);
  }

  .bp-share-hero__visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .bp-hero-title {
    font-size: 1.8rem;
  }

  .bp-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-faq-grid {
    grid-template-columns: 1fr;
  }

  .bp-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-outcomes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bp-share-hero {
    padding: 40px 0 30px;
  }

  .bp-hero-title {
    font-size: 1.5rem;
  }

  .bp-hero-description {
    font-size: 0.95rem;
  }

  .bp-hero-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-hero-actions {
    flex-direction: column;
  }

  .bp-hero-actions .bp-btn-hero {
    width: 100%;
    justify-content: center;
  }

  .bp-hero-trust {
    flex-direction: column;
    gap: var(--bp-spacing-xs);
  }

  .bp-trust-grid {
    gap: var(--bp-spacing-sm);
  }

  .bp-trust-divider {
    display: none;
  }

  .bp-benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bp-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bp-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .bp-related-grid {
    grid-template-columns: 1fr;
  }

  .bp-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bp-audience-grid {
    grid-template-columns: 1fr;
  }

  .bp-final-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .bp-final-cta__actions .bp-btn-hero {
    width: 100%;
    justify-content: center;
  }

  .bp-sticky-cta {
    display: block;
  }

  .bp-section {
    padding: var(--bp-spacing-xl) 0;
  }

  .bp-hero-badge--questions {
    font-size: 0.6rem;
    padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
  }

  .bp-hero-float {
    display: none;
  }
}

@media (max-width: 480px) {
  .bp-hero-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--bp-spacing-xs);
  }

  .bp-info-card {
    padding: var(--bp-spacing-xs) var(--bp-spacing-sm);
  }

  .bp-info-card__label {
    font-size: 0.5rem;
  }

  .bp-info-card__value {
    font-size: 0.75rem;
  }

  .bp-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bp-overview-card {
    padding: var(--bp-spacing-sm);
  }

  .bp-benefits-grid {
    grid-template-columns: 1fr;
  }

  .bp-features-grid {
    grid-template-columns: 1fr;
  }

  .bp-outcome-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bp-breadcrumb-list {
    font-size: 0.75rem;
  }

  .bp-hero-badge-group {
    gap: var(--bp-spacing-xs);
  }

  .bp-hero-badge-label {
    font-size: 0.6rem;
  }

  .bp-final-cta {
    padding: var(--bp-spacing-lg);
  }
}

/* ============================================
   VIDEO RECORDING MODE - PREMIUM STYLES
   ============================================ */

.board-prep-body:has(.bp-video-app) {
  overflow: hidden;
  height: 100dvh;
  min-height: 100dvh;
}

.board-prep-app-shell:has(.bp-video-app) {
  max-width: none;
  padding: 0;
}

.bp-video-app {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  z-index: 1;
}

.bp-video-top-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 50;
  display: flex;
  gap: 0.5rem;
}

.bp-video-top-actions--intro {
  z-index: 10;
}

.bp-video-top-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  padding: 0;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.bp-video-top-actions__btn--exit {
  text-decoration: none;
}

.bp-video-top-actions__btn:hover {
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  transform: scale(1.05);
}

.bp-video-screen {
  display: none;
  flex-direction: column;
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
}

.bp-video-screen.is-active {
  display: flex;
}

.bp-video-screen--intro {
  background: linear-gradient(135deg, #0f172a 0%, #1a3d32 50%, #0f172a 100%);
  color: #fff;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.bp-video-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1rem, 3vh, 2rem);
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  max-height: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.bp-video-intro__content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.bp-video-intro__card {
  width: 100%;
  max-width: 560px;
  max-height: 100%;
  overflow-y: auto;
  padding: clamp(1.25rem, 3.2vh, 2.25rem) clamp(1.15rem, 4vw, 2.25rem);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bp-video-intro__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.bp-video-intro__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bp-video-intro__orb--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.12), transparent 70%);
}

.bp-video-intro__orb--2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 70%);
}

.bp-video-intro__orb--3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 70%);
}

.bp-video-intro__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.bp-video-intro__logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
}

.bp-video-intro__logo span,
.bp-video-intro__brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.bp-video-intro__logo span span {
  color: #f0a500;
}

.bp-video-intro__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.bp-video-intro__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(8px);
}

.bp-video-intro__badge--board {
  background: rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

.bp-video-intro__badge--grade {
  background: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.bp-video-intro__title {
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 800;
  margin: 0 0 0.45rem;
  line-height: 1.15;
  color: #fff;
  position: relative;
  z-index: 1;
}

.bp-video-intro__description {
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
  margin: 0 auto 1rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.bp-video-intro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.bp-video-intro__stat {
  text-align: center;
}

.bp-video-intro__stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #f0a500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.bp-video-intro__stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.bp-video-intro__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0a500, #e09500);
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 30px rgba(240, 165, 0, 0.3);
}

.bp-video-intro__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(240, 165, 0, 0.4);
}

.bp-video-intro__btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.bp-video-intro__btn:hover i {
  transform: translateX(4px);
}

.bp-video-intro__footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  z-index: 1;
}

.bp-video-intro__card .bp-video-sets--intro {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1rem;
}

.bp-video-intro__footer strong {
  color: rgba(255, 255, 255, 0.6);
}

.bp-video-screen--question {
  background: var(--bp-bg, #f0f4f8);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.bp-video-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  min-height: 40px;
}

.bp-video-brand-bar__logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.bp-video-brand-bar__logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  padding: 3px;
}

.bp-video-brand-bar__logo span {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--bp-text-primary, #0f172a);
  white-space: nowrap;
}

.bp-video-brand-bar__logo span span {
  color: var(--bp-primary, #1a5f4a);
}

.bp-video-brand-bar__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.bp-video-brand-bar__tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.bp-video-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--bp-text-secondary, #475569);
  padding: 0.15rem 0.6rem;
  background: var(--bp-bg, #f8fafc);
  border-radius: 999px;
  border: 1px solid var(--bp-border-light, #e2e8f0);
  white-space: nowrap;
}

.bp-video-tag i {
  font-size: 0.55rem;
  color: var(--bp-primary, #1a5f4a);
}

.bp-video-brand-bar__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--bp-text-secondary, #475569);
  white-space: nowrap;
}

.bp-video-brand-bar__meta > span i {
  font-size: 0.6rem;
  color: var(--bp-primary, #1a5f4a);
}

.bp-video-brand-bar__chapter {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-video-brand-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.bp-video-brand-bar__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bp-bg, #f8fafc);
  color: var(--bp-text-secondary, #475569);
  font-size: 0.85rem;
  border: 1px solid var(--bp-border-light, #e2e8f0);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  padding: 0;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
}

.bp-video-brand-bar__action-btn:hover {
  background: var(--bp-surface-hover, #f1f5f9);
  color: var(--bp-text-primary, #0f172a);
  border-color: rgba(0, 0, 0, 0.12);
}

/* Video set navigator (URL ?set=N pagination) */
.bp-video-sets {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.35rem 1rem;
  flex-shrink: 0;
}

.bp-video-sets--intro {
  margin: 0 auto 1.25rem;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
}

.bp-video-sets--intro .bp-video-sets__btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

.bp-video-sets--intro .bp-video-sets__tab {
  color: rgba(255, 255, 255, 0.7);
}

.bp-video-sets--intro .bp-video-sets__tab.is-active {
  background: #f0a500;
  border-color: #f0a500;
  color: #0f172a;
}

.bp-video-sets--intro .bp-video-sets__info {
  color: rgba(255, 255, 255, 0.55);
}

.bp-video-sets__container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.bp-video-sets__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.bp-video-sets__btn:hover:not(:disabled) {
  border-color: var(--bp-primary, #1a5f4a);
  color: var(--bp-primary, #1a5f4a);
  background: rgba(26, 95, 74, 0.08);
}

.bp-video-sets__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.bp-video-sets__tabs {
  display: flex;
  gap: 0.2rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.1rem 0;
}

.bp-video-sets__tabs::-webkit-scrollbar {
  display: none;
}

.bp-video-sets__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.4rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.bp-video-sets__tab:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.bp-video-sets__tab.is-active {
  border-color: var(--bp-primary, #1a5f4a);
  background: var(--bp-primary, #1a5f4a);
  color: #fff;
}

.bp-video-sets__info {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.bp-video-app--dark .bp-video-sets {
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.bp-video-app--dark .bp-video-sets__btn {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-sets__tab {
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-sets__tab:hover {
  background: #0f172a;
  color: #f1f5f9;
}

.bp-video-app--dark .bp-video-sets__info {
  color: #64748b;
}

/* Video question navigator */
.bp-video-question-area {
  flex: 1;
  display: flex;
  gap: 1rem;
  overflow: hidden;
  min-height: 0;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.bp-video-navigator {
  width: 200px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  align-self: stretch;
  margin: clamp(0.5rem, 1.5vh, 1rem) 0;
  transition: width 0.25s ease, opacity 0.2s ease, padding 0.25s ease, margin 0.25s ease;
}

.bp-video-navigator--collapsed {
  width: 36px;
  min-width: 36px;
  padding: 0.5rem 0.35rem;
  opacity: 1;
  overflow: hidden;
  margin: clamp(0.5rem, 1.5vh, 1rem) 0;
}

.bp-video-navigator--collapsed .bp-video-navigator__grid,
.bp-video-navigator--collapsed .bp-video-navigator__legend {
  display: none;
}

.bp-video-navigator--collapsed .bp-video-navigator__header {
  flex-direction: column;
  border-bottom: none;
  padding-bottom: 0;
  gap: 0;
}

.bp-video-navigator--collapsed .bp-video-navigator__header > span {
  display: none;
}

.bp-video-question-area--nav-collapsed .bp-video-question-container {
  max-width: 100%;
}

.bp-video-navigator__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bp-text-secondary, #475569);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bp-video-navigator__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--bp-text-secondary, #475569);
  cursor: pointer;
  padding: 0;
  font-size: 0.55rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.bp-video-navigator__toggle:hover {
  border-color: var(--bp-primary, #1a5f4a);
  color: var(--bp-primary, #1a5f4a);
}

.bp-video-navigator__count {
  color: var(--bp-primary, #1a5f4a);
}

.bp-video-navigator__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3rem;
  flex: 1;
  overflow-y: auto;
  align-content: start;
  padding-right: 0.2rem;
  min-height: 0;
}

.bp-video-navigator__grid::-webkit-scrollbar {
  width: 3px;
}

.bp-video-navigator__grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

.bp-video-nav__num {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  background: var(--bp-surface, #ffffff);
  color: var(--bp-text-secondary, #475569);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.bp-video-nav__num:hover {
  border-color: var(--bp-primary, #1a5f4a);
  color: var(--bp-primary, #1a5f4a);
}

.bp-video-nav__num--current {
  border-color: var(--bp-primary, #1a5f4a);
  background: var(--bp-primary, #1a5f4a);
  color: #fff;
}

.bp-video-nav__num--visited {
  border-color: #dbeafe;
  background: #eff6ff;
  color: var(--bp-primary, #1a5f4a);
}

.bp-video-nav__num--unread {
  border-color: rgba(0, 0, 0, 0.06);
  background: var(--bp-surface, #ffffff);
  color: #94a3b8;
}

.bp-video-navigator__legend {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.6rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.bp-video-navigator__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 0.2rem;
}

.bp-video-navigator__dot--current {
  background: var(--bp-primary, #1a5f4a);
}

.bp-video-navigator__dot--visited {
  background: #3b82f6;
}

.bp-video-navigator__dot--unread {
  background: rgba(0, 0, 0, 0.1);
}

.bp-video-question-area .bp-video-question-container {
  flex: 1;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

.bp-video-controls__btn--nav {
  min-width: 36px;
}

.bp-video-controls__btn--nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.bp-video-controls__btn--nav-toggle {
  display: none;
}

.bp-video-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bp-video-nav-overlay.is-open {
  display: flex;
}

.bp-video-nav-overlay__content {
  background: var(--bp-surface, #ffffff);
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  padding: 1rem;
}

.bp-video-nav-overlay__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--bp-text-primary, #0f172a);
}

.bp-video-nav-overlay__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: var(--bp-bg, #f0f4f8);
  color: var(--bp-text-secondary, #475569);
  cursor: pointer;
}

.bp-video-nav-overlay__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.bp-video-nav-overlay__grid::-webkit-scrollbar {
  width: 3px;
}

.bp-video-nav-overlay__grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

.bp-video-app--dark .bp-video-navigator {
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.08);
}

.bp-video-app--dark .bp-video-navigator__header {
  color: #94a3b8;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.bp-video-app--dark .bp-video-navigator__toggle {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-navigator__toggle:hover {
  border-color: #94a3b8;
  color: #f1f5f9;
}

.bp-video-app--dark .bp-video-nav__num {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-nav__num--visited {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.bp-video-app--dark .bp-video-nav__num--unread {
  color: #64748b;
}

.bp-video-app--dark .bp-video-navigator__legend {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #64748b;
}

.bp-video-app--dark .bp-video-nav-overlay__content {
  background: #1e293b;
}

.bp-video-app--dark .bp-video-nav-overlay__header {
  color: #f1f5f9;
}

.bp-video-app--dark .bp-video-nav-overlay__close {
  background: #0f172a;
  color: #94a3b8;
}

@media (max-width: 992px) {
  .bp-video-navigator {
    display: none;
  }

  .bp-video-navigator__toggle {
    display: none;
  }

  .bp-video-controls__btn--nav-toggle {
    display: inline-flex;
  }

  .bp-video-question-area {
    padding: 0 0.75rem;
  }
}

.bp-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  gap: 1rem;
}

.bp-video-header__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.bp-video-header__brand img {
  border-radius: 6px;
}

.bp-video-header__brand span {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--bp-text-primary, #0f172a);
}

.bp-video-header__brand span span {
  color: var(--bp-primary, #1a5f4a);
}

.bp-video-header__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.bp-video-header__info-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--bp-text-secondary, #475569);
  white-space: nowrap;
}

.bp-video-header__info-item i {
  font-size: 0.65rem;
  color: var(--bp-primary, #1a5f4a);
}

.bp-video-header__info-item--chapter {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-video-header__info-divider {
  width: 1px;
  height: 16px;
  background: var(--bp-border-light, #e2e8f0);
  flex-shrink: 0;
}

.bp-video-header__progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.bp-video-header__progress-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bp-text-secondary, #475569);
}

.bp-video-header__progress-bar {
  width: 100px;
  height: 4px;
  background: var(--bp-border-light, #e2e8f0);
  border-radius: 2px;
  overflow: hidden;
}

.bp-video-header__progress-fill {
  height: 100%;
  background: var(--bp-primary, #1a5f4a);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.bp-video-header__progress-pct {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bp-primary, #1a5f4a);
  min-width: 32px;
  text-align: right;
}

.bp-video-question-container {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(0.75rem, 2vh, 2rem) clamp(1rem, 3vw, 3rem);
  overflow: hidden;
  min-height: 0;
}

.bp-video-question-card {
  width: 100%;
  max-width: 900px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bp-surface, #ffffff);
  border-radius: 24px;
  padding: clamp(1rem, 2.5vh, 2.5rem) clamp(1.25rem, 3vw, 3rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: box-shadow 0.3s ease;
}

.bp-video-question-card:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.bp-video-question__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bp-primary, #1a5f4a);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.bp-video-question__text {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--bp-text-primary, #0f172a);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  flex-shrink: 1;
  min-height: 0;
  max-height: min(38vh, 280px);
  overflow-y: auto;
  padding-left: 1rem;
  border-left: 4px solid var(--bp-primary, #1a5f4a);
}

.bp-video-timer-slot {
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.bp-video-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.bp-video-options.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bp-video-options.is-visible .bp-video-option {
  animation: bpVideoOptionIn 0.4s ease forwards;
  opacity: 0;
}

.bp-video-options.is-visible .bp-video-option:nth-child(1) { animation-delay: 0.05s; }
.bp-video-options.is-visible .bp-video-option:nth-child(2) { animation-delay: 0.1s; }
.bp-video-options.is-visible .bp-video-option:nth-child(3) { animation-delay: 0.15s; }
.bp-video-options.is-visible .bp-video-option:nth-child(4) { animation-delay: 0.2s; }

@keyframes bpVideoOptionIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bp-video-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 2px solid var(--bp-border-light, #e2e8f0);
  background: var(--bp-bg, #f8fafc);
  transition: all 0.4s ease;
  position: relative;
}

.bp-video-option__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bp-border-light, #e2e8f0);
  color: var(--bp-text-secondary, #475569);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.bp-video-option__text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--bp-text-primary, #0f172a);
  line-height: 1.5;
}

.bp-video-option__check {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s ease;
  color: #22c55e;
  font-size: 1.2rem;
}

.bp-video-option--correct {
  border-color: #22c55e;
  background: #f0fdf4;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bp-video-option--correct .bp-video-option__letter {
  background: #22c55e;
  color: #fff;
}

.bp-video-option--correct .bp-video-option__check {
  opacity: 1;
  transform: scale(1);
}

.bp-video-option--incorrect {
  border-color: #ef4444;
  background: #fef2f2;
  opacity: 0.6;
}

.bp-video-option--incorrect .bp-video-option__letter {
  background: #ef4444;
  color: #fff;
}

.bp-video-option--fill {
  border-color: #22c55e;
  background: #f0fdf4;
  padding: 0.75rem 1.25rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.bp-video-option__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #16a34a;
}

.bp-video-option__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bp-text-primary, #0f172a);
}

.bp-video-timer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.bp-video-timer.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.bp-video-timer__ring {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.bp-video-timer__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.bp-video-timer__ring-bg {
  fill: none;
  stroke: var(--bp-border-light, #e2e8f0);
  stroke-width: 6;
}

.bp-video-timer__ring-progress {
  fill: none;
  stroke: #f0a500;
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease;
}

.bp-video-timer__number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bp-text-primary, #0f172a);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.bp-video-timer__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bp-text-muted, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bp-video-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  min-height: 48px;
  overflow: hidden;
}

.bp-video-footer-brand {
  flex-shrink: 0;
  text-align: center;
  padding: 0.2rem 1rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.bp-video-controls__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.bp-video-controls__progress {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.bp-video-controls__progress-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bp-text-secondary, #475569);
  white-space: nowrap;
}

.bp-video-controls__progress-bar {
  width: 72px;
  height: 4px;
  background: var(--bp-border-light, #e2e8f0);
  border-radius: 2px;
  overflow: hidden;
}

.bp-video-controls__progress-fill {
  height: 100%;
  background: var(--bp-primary, #1a5f4a);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.bp-video-controls__progress-pct {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bp-primary, #1a5f4a);
  min-width: 28px;
  text-align: right;
}

.bp-video-controls__info {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bp-text-secondary, #475569);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-video-controls__divider {
  width: 1px;
  height: 16px;
  background: var(--bp-border-light, #e2e8f0);
}

.bp-video-controls__time {
  font-size: 0.75rem;
  color: var(--bp-text-muted, #94a3b8);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.bp-video-controls__right {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.bp-video-controls__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--bp-text-secondary, #475569);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  font-weight: 600;
}

.bp-video-controls__btn:hover {
  background: var(--bp-bg, #f1f5f9);
  color: var(--bp-text-primary, #0f172a);
}

.bp-video-controls__btn:active {
  transform: scale(0.95);
}

.bp-video-speed-menu {
  position: absolute;
  bottom: 70px;
  right: 1.5rem;
  background: var(--bp-surface, #ffffff);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--bp-border-light, #e2e8f0);
  padding: 0.3rem;
  display: none;
  flex-direction: column;
  z-index: 20;
  min-width: 80px;
}

.bp-video-speed-menu.is-open {
  display: flex;
}

.bp-video-speed-menu button {
  padding: 0.4rem 0.75rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--bp-text-secondary, #475569);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bp-video-speed-menu button:hover {
  background: var(--bp-bg, #f1f5f9);
}

.bp-video-speed-menu button.is-active {
  background: var(--bp-primary, #1a5f4a);
  color: #fff;
}

.bp-video-screen--complete {
  background: #f6f7fb;
  color: #0f172a;
  justify-content: stretch;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  display: none;
  height: 100%;
  max-height: 100dvh;
}

.bp-video-screen--intermission {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  color: #fff;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  display: none;
}

.bp-video-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.bp-video-complete__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bp-video-complete__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bp-video-complete__orb--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.12), transparent 70%);
}

.bp-video-complete__orb--2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08), transparent 70%);
}

.bp-video-complete__orb--3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 70%);
}

.bp-video-complete__icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  animation: bp-complete-bounce 1s ease;
}

@keyframes bp-complete-bounce {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.2); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.bp-video-complete__title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  margin: 0 0 0.25rem;
}

.bp-video-complete__subtitle {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.5rem;
}

.bp-video-complete__stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.bp-video-complete__stat {
  text-align: center;
}

.bp-video-complete__stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #f0a500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.bp-video-complete__stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.bp-video-complete__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.bp-video-complete__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.bp-video-complete__btn--primary {
  background: linear-gradient(135deg, #f0a500, #e09500);
  color: #0f172a;
}

.bp-video-complete__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240, 165, 0, 0.3);
}

.bp-video-complete__btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.bp-video-complete__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.bp-video-complete__footer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.bp-video-complete__footer strong {
  color: rgba(255, 255, 255, 0.5);
}

/* ========== Video completion screen (leq redesign) ========== */
.leq-complete {
  --leq-bg: #f6f7fb;
  --leq-surface: #ffffff;
  --leq-ink: #0f172a;
  --leq-muted: #64748b;
  --leq-border: rgba(15, 23, 42, 0.08);
  --leq-shadow: 0 20px 60px -30px rgba(15, 23, 42, 0.25);
  --leq-primary: #6366f1;
  --leq-primary-2: #8b5cf6;
  --leq-accent: #10b981;
  --leq-radius: 16px;
  position: relative;
  height: 100%;
  min-height: 0;
  padding: 10px 12px;
  background: var(--leq-bg);
  color: var(--leq-ink);
  font-family: 'Inter', system-ui, sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.bp-video-app--dark .leq-complete {
  --leq-bg: #0b1020;
  --leq-surface: #111827;
  --leq-ink: #e5e7eb;
  --leq-muted: #94a3b8;
  --leq-border: rgba(255, 255, 255, 0.08);
  --leq-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.6);
}

.leq-complete__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.leq-complete__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 40% at 20% 20%, rgba(99, 102, 241, 0.25), transparent 60%),
    radial-gradient(35% 35% at 80% 10%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(45% 45% at 60% 90%, rgba(16, 185, 129, 0.18), transparent 60%);
  filter: blur(40px);
}

.leq-complete__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--leq-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--leq-border) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  opacity: 0.5;
}

.leq-complete__float {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.45;
  animation: leqFloat 14s ease-in-out infinite;
}

.leq-complete__float--1 {
  width: 220px;
  height: 220px;
  top: 8%;
  left: -4%;
  background: radial-gradient(circle, color-mix(in oklab, var(--leq-primary) 35%, transparent), transparent 70%);
}

.leq-complete__float--2 {
  width: 180px;
  height: 180px;
  top: 55%;
  right: -3%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28), transparent 70%);
  animation-delay: -4s;
}

.leq-complete__float--3 {
  width: 140px;
  height: 140px;
  bottom: 10%;
  left: 35%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
  animation-delay: -8s;
}

.leq-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.leq-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.leq-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.leq-complete__shell {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  flex: 1;
  min-height: 0;
  display: grid;
  gap: 8px;
}

.leq-dash {
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
}

.leq-dash__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
  min-height: 0;
}

.leq-dash__header:not(:has(.leq-student--compact)) {
  grid-template-columns: 1fr;
}

.leq-dash__body {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

.leq-dash__body--no-topics {
  grid-template-columns: 1.4fr 0.85fr;
}

.leq-dash__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

.leq-dash__col--topics {
  min-width: 0;
}

.leq-dash__col--side {
  min-width: 0;
}

.leq-dash__panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

.leq-dash__panel--fill {
  flex: 1;
  min-height: 0;
}

.leq-dash__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--leq-ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.leq-dash__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: color-mix(in oklab, var(--leq-primary) 14%, transparent);
  color: var(--leq-primary);
}

.leq-dash__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
  min-height: 0;
}

.leq-card {
  background: color-mix(in oklab, var(--leq-surface) 88%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--leq-border);
  border-radius: var(--leq-radius);
  box-shadow: var(--leq-shadow);
  padding: clamp(10px, 1.2vw, 16px);
}

.leq-hero--compact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
}

.leq-hero__main {
  min-width: 0;
}

.leq-hero__headline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.leq-hero--compact .leq-hero__emoji {
  font-size: 36px;
  flex: none;
}

.leq-hero--compact .leq-hero__title {
  font-size: clamp(20px, 2.2vw, 28px);
  margin: 0;
}

.leq-hero--compact .leq-hero__subtitle {
  font-size: 13px;
  margin: 2px 0 0;
  line-height: 1.35;
}

.leq-hero--compact .leq-hero__ring {
  width: 88px;
  height: 88px;
  margin: 0;
  flex: none;
}

.leq-hero--compact .leq-hero__ring-label span {
  font-size: 22px;
}

.leq-hero--compact .leq-hero__ring-label em {
  font-size: 14px;
}

.leq-hero--compact .leq-hero__ring-label small {
  font-size: 9px;
  margin-top: 0;
}

.leq-student--compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  min-width: 220px;
  max-width: 320px;
}

.leq-student--compact .leq-student__avatar {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.leq-student--compact .leq-student__name {
  font-size: 15px;
}

.leq-student--compact .leq-student__details {
  font-size: 11px;
  gap: 4px 10px;
  margin-top: 2px;
}

.leq-hero {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.leq-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--leq-primary) 12%, transparent);
  color: var(--leq-primary);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 14px;
}

.leq-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leq-primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--leq-primary) 25%, transparent);
  animation: leqPulse 2s ease-in-out infinite;
}

.leq-hero__emoji {
  font-size: 56px;
  line-height: 1;
  animation: leqPop 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.leq-hero__title {
  font-size: clamp(30px, 4.4vw, 52px);
  margin: 8px 0 6px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--leq-primary), var(--leq-primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.leq-hero__subtitle {
  color: var(--leq-muted);
  font-size: 16px;
  margin: 0 0 22px;
}

.leq-hero__ring {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.leq-hero__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.leq-hero__ring-track {
  fill: none;
  stroke: var(--leq-border);
  stroke-width: 10;
}

.leq-hero__ring-fill {
  fill: none;
  stroke: url(#leqGrad);
  stroke: var(--leq-primary);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  animation: leqRing 1.4s ease-out 0.3s forwards;
}

.leq-hero__ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.leq-hero__ring-label span {
  font-size: 34px;
}

.leq-hero__ring-label em {
  font-style: normal;
  font-size: 18px;
  color: var(--leq-muted);
  margin-left: 2px;
}

.leq-hero__ring-label small {
  font-size: 11px;
  color: var(--leq-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.leq-student {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.leq-student__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 6px;
  color: var(--leq-muted);
  font-size: 14px;
  font-weight: 500;
}

.leq-student__details span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.leq-student__details i {
  color: var(--leq-primary);
  font-size: 12px;
}

.leq-student__avatar {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--leq-primary), var(--leq-primary-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.5);
}

.leq-student__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leq-student__status {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--leq-surface);
}

.leq-student__name {
  font-size: 18px;
  font-weight: 700;
}

.leq-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.leq-chip--verified {
  background: color-mix(in oklab, var(--leq-accent) 14%, transparent);
  color: var(--leq-accent);
}

.leq-student__score {
  text-align: right;
}

.leq-student__score span {
  display: block;
  font-size: 11px;
  color: var(--leq-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.leq-student__score strong {
  font-size: 16px;
}

.leq-section__head {
  margin: 8px 4px 12px;
}

.leq-section__head h2 {
  font-size: 20px;
  margin: 0 0 2px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.leq-section__head p {
  margin: 0;
  color: var(--leq-muted);
  font-size: 13px;
}

.leq-section__head--center {
  text-align: center;
}

.leq-quiz-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.leq-quiz-info--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leq-quiz-info--compact .leq-quiz-info__row {
  padding: 8px 10px;
  gap: 8px;
}

.leq-quiz-info--compact .leq-quiz-info__icon {
  width: 28px;
  height: 28px;
  font-size: 11px;
  border-radius: 8px;
}

.leq-quiz-info--compact .leq-quiz-info__label {
  font-size: 9px;
}

.leq-quiz-info--compact .leq-quiz-info__value {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.leq-quiz-info__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-bottom: 1px solid var(--leq-border);
  transition: background 0.2s ease;
}

.leq-quiz-info__row:hover {
  background: color-mix(in oklab, var(--leq-primary) 5%, var(--leq-surface));
}

.leq-quiz-info__row:nth-last-child(-n+2) {
  border-bottom: none;
}

.leq-quiz-info__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--leq-primary), var(--leq-primary-2));
  font-size: 15px;
}

.leq-quiz-info__label {
  font-size: 11px;
  color: var(--leq-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.leq-quiz-info__value {
  font-size: 16px;
  font-weight: 700;
  margin-top: 2px;
  line-height: 1.35;
}

.leq-topics {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--leq-primary) 40%, transparent) transparent;
  padding: 8px 10px;
}

.leq-topics--dash {
  max-height: none;
  height: 100%;
}

.leq-topics--dash .leq-topics__grid {
  gap: 6px 12px;
}

.leq-topics--dash .leq-topics__item {
  padding: 6px 8px;
}

.leq-topics--dash .leq-topics__check {
  width: 18px;
  height: 18px;
  font-size: 9px;
}

.leq-topics--dash .leq-topics__label {
  font-size: 12px;
  line-height: 1.3;
}

.leq-topics::-webkit-scrollbar {
  width: 6px;
}

.leq-topics::-webkit-scrollbar-thumb {
  background: color-mix(in oklab, var(--leq-primary) 40%, transparent);
  border-radius: 999px;
}

.leq-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.leq-info {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  background: var(--leq-surface);
  border: 1px solid var(--leq-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.leq-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--_c1), var(--_c2));
  opacity: 0.08;
  pointer-events: none;
}

.leq-info:hover {
  transform: translateY(-3px);
  box-shadow: var(--leq-shadow);
}

.leq-info__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--_c1), var(--_c2));
  margin-bottom: 10px;
}

.leq-info__label {
  font-size: 12px;
  color: var(--leq-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.leq-info__value {
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
}

.leq-info--indigo { --_c1: #6366f1; --_c2: #8b5cf6; }
.leq-info--violet { --_c1: #8b5cf6; --_c2: #d946ef; }
.leq-info--sky { --_c1: #0ea5e9; --_c2: #22d3ee; }
.leq-info--emerald { --_c1: #10b981; --_c2: #34d399; }
.leq-info--amber { --_c1: #f59e0b; --_c2: #fbbf24; }
.leq-info--rose { --_c1: #f43f5e; --_c2: #fb7185; }

.leq-topics__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.leq-topics__item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--leq-surface) 60%, transparent);
  border: 1px solid var(--leq-border);
  transition: background 0.2s ease;
}

.leq-topics__item:hover {
  background: color-mix(in oklab, var(--leq-primary) 8%, var(--leq-surface));
}

.leq-topics__check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  background: linear-gradient(135deg, var(--leq-primary), var(--leq-accent));
}

.leq-topics__label {
  font-size: 14px;
  font-weight: 500;
}

.leq-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.leq-stat-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.leq-stat--compact {
  padding: 8px 6px;
  border-radius: 12px;
}

.leq-stat--compact .leq-stat__icon {
  width: 28px;
  height: 28px;
  font-size: 12px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.leq-stat--compact .leq-stat__num {
  font-size: 18px;
}

.leq-stat--compact .leq-stat__num em {
  font-size: 12px;
}

.leq-stat--compact .leq-stat__value {
  font-size: 13px;
  line-height: 1.2;
}

.leq-stat--compact .leq-stat__label {
  font-size: 9px;
  margin-top: 2px;
}

.leq-achievement--compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

.leq-achievement--compact .leq-achievement__trophy {
  width: 44px;
  height: 44px;
  font-size: 20px;
  border-radius: 12px;
  flex: none;
}

.leq-achievement--compact .leq-achievement__eyebrow {
  font-size: 10px;
  margin-bottom: 2px;
}

.leq-achievement--compact .leq-achievement__title {
  font-size: 14px;
  margin: 0;
  line-height: 1.25;
}

.leq-share--compact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  flex: 1;
  min-height: 0;
}

.leq-share--compact .leq-dash__title {
  margin-bottom: 0;
}

.leq-share__hint {
  margin: 0;
  font-size: 11px;
  color: var(--leq-muted);
}

.leq-share--compact .leq-share__actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.leq-share--compact .leq-btn {
  padding: 8px 14px;
  font-size: 13px;
  flex: 1;
  min-width: 140px;
  justify-content: center;
}

.leq-share--compact .leq-share__qr {
  width: 64px;
  height: 64px;
  padding: 4px;
  margin-left: auto;
}

.leq-share--compact .leq-share__status {
  width: 100%;
  font-size: 12px;
}

.leq-cta--compact {
  gap: 8px;
  flex: 1;
  justify-content: flex-start;
}

.leq-cta--compact .leq-btn {
  padding: 8px 14px;
  font-size: 13px;
  min-height: 36px;
}

.leq-foot--compact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 0;
  text-align: right;
  font-size: 11px;
  color: var(--leq-muted);
  flex: none;
}

.leq-foot--compact .leq-foot__brand {
  font-size: 14px;
}

.leq-stat {
  padding: 22px 16px;
  border-radius: 18px;
  background: var(--leq-surface);
  border: 1px solid var(--leq-border);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leq-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--leq-shadow);
}

.leq-stat__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  margin: 0 auto 12px;
  font-size: 22px;
}

.leq-stat__icon--indigo { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.leq-stat__icon--violet { background: linear-gradient(135deg, #a855f7, #ec4899); }
.leq-stat__icon--emerald { background: linear-gradient(135deg, #10b981, #34d399); }
.leq-stat__icon--amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.leq-stat__icon--sky { background: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.leq-stat__icon--rose { background: linear-gradient(135deg, #f43f5e, #fb7185); }

.leq-stat__num {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.leq-stat__num em {
  font-style: normal;
  font-size: 18px;
  color: var(--leq-muted);
  margin-left: 2px;
}

.leq-stat__value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.leq-stat__label {
  font-size: 12px;
  color: var(--leq-muted);
  font-weight: 600;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.leq-achievement {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(135deg, color-mix(in oklab, #f59e0b 12%, var(--leq-surface)), color-mix(in oklab, var(--leq-primary) 8%, var(--leq-surface)));
  border-color: color-mix(in oklab, #f59e0b 25%, var(--leq-border));
}

.leq-achievement__trophy {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 32px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #f97316);
  box-shadow: 0 12px 32px -10px rgba(245, 158, 11, 0.55);
}

.leq-achievement__eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d97706;
  margin-bottom: 4px;
}

.leq-achievement__title {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.leq-achievement__text {
  margin: 0;
  color: var(--leq-muted);
  font-size: 14px;
}

.leq-ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.leq-ach {
  padding: 20px;
  border-radius: 18px;
  background: var(--leq-surface);
  border: 1px solid var(--leq-border);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leq-ach:hover {
  transform: translateY(-4px);
  box-shadow: var(--leq-shadow);
}

.leq-ach__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  margin: 0 auto 10px;
  font-size: 20px;
}

.leq-ach__icon--indigo { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.leq-ach__icon--violet { background: linear-gradient(135deg, #a855f7, #ec4899); }
.leq-ach__icon--emerald { background: linear-gradient(135deg, #10b981, #34d399); }
.leq-ach__icon--amber { background: linear-gradient(135deg, #f59e0b, #f97316); }

.leq-ach__num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.leq-ach__num em {
  font-style: normal;
  font-size: 18px;
  color: var(--leq-muted);
  margin-left: 2px;
}

.leq-ach__label {
  font-size: 13px;
  color: var(--leq-muted);
  font-weight: 600;
}

.leq-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.leq-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}

.leq-btn:hover {
  transform: translateY(-2px);
}

.leq-btn:focus-visible {
  outline: 2px solid var(--leq-primary);
  outline-offset: 3px;
}

.leq-btn--lg {
  min-height: 48px;
  padding: 16px 26px;
  font-size: 16px;
}

.leq-btn--primary {
  background: linear-gradient(135deg, var(--leq-primary), var(--leq-primary-2));
  color: #fff;
  box-shadow: 0 10px 30px -12px color-mix(in oklab, var(--leq-primary) 70%, transparent);
}

.leq-btn--ghost {
  background: var(--leq-surface);
  color: var(--leq-ink);
  border-color: var(--leq-border);
}

.leq-btn--outline {
  background: transparent;
  color: var(--leq-ink);
  border-color: var(--leq-border);
}

.leq-btn--ghost:hover,
.leq-btn--outline:hover {
  background: color-mix(in oklab, var(--leq-primary) 8%, var(--leq-surface));
}

.leq-share {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.leq-share h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}

.leq-share p {
  margin: 0 0 8px;
  color: var(--leq-muted);
}

.leq-share__brand {
  font-size: 14px;
  color: var(--leq-ink);
}

.leq-share__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  min-width: 200px;
}

.leq-share__status {
  min-height: 1.25em;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--leq-accent);
  text-align: center;
}

.leq-share__qr {
  width: 96px;
  height: 96px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--leq-border);
}

.leq-share__qr img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

.leq-foot {
  text-align: center;
  padding: 20px 0 8px;
  color: var(--leq-muted);
}

.leq-foot p {
  margin: 0 0 6px;
  font-size: 14px;
}

.leq-foot__brand {
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--leq-primary), var(--leq-primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.leq-foot__brand span {
  color: var(--leq-muted);
  -webkit-text-fill-color: var(--leq-muted);
}

.leq-foot__tag {
  font-size: 13px;
  margin-top: 4px;
}

@keyframes leqPop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes leqPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes leqRing {
  to { stroke-dashoffset: 0; }
}

@keyframes leqFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12px, -18px) scale(1.05); }
  66% { transform: translate(-10px, 12px) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .leq-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .leq-hero__badge-dot,
  .leq-hero__emoji,
  .leq-hero__ring-fill,
  .leq-complete__float {
    animation: none !important;
  }

  .leq-stat:hover,
  .leq-btn:hover,
  .leq-info:hover,
  .leq-ach:hover {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .leq-dash__body {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .leq-dash__body--no-topics {
    grid-template-columns: 1fr;
  }

  .leq-dash__col--side {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 8px;
  }

  .leq-dash__col--side .leq-achievement--compact,
  .leq-dash__col--side .leq-share--compact {
    flex: 1;
  }

  .leq-dash__col--topics {
    grid-column: 1 / -1;
    max-height: 28vh;
  }

  .leq-quiz-info--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .leq-stat-grid,
  .leq-stat-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .leq-quiz-info {
    grid-template-columns: 1fr;
  }

  .leq-quiz-info__row:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--leq-border);
  }

  .leq-quiz-info__row:last-child {
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  .bp-video-screen--complete {
    overflow-y: auto;
  }

  .leq-complete {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }

  .leq-dash {
    height: auto;
    grid-template-rows: auto auto auto;
  }

  .leq-dash__header {
    grid-template-columns: 1fr;
  }

  .leq-dash__body {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .leq-dash__col--side {
    flex-direction: column;
  }

  .leq-dash__col--topics {
    max-height: none;
  }

  .leq-dash__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .leq-foot--compact {
    align-items: center;
    text-align: center;
  }

  .leq-achievement {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .leq-achievement__trophy {
    margin: 0 auto;
  }
}

@media (max-height: 760px) {
  .leq-complete {
    padding: 6px 8px;
  }

  .leq-dash {
    gap: 6px;
  }

  .leq-hero--compact .leq-hero__ring {
    width: 72px;
    height: 72px;
  }

  .leq-hero--compact .leq-hero__emoji {
    font-size: 28px;
  }

  .leq-hero--compact .leq-hero__title {
    font-size: 18px;
  }

  .leq-student--compact {
    min-width: 0;
    max-width: none;
  }

  .leq-quiz-info--compact .leq-quiz-info__row {
    padding: 6px 8px;
  }

  .leq-stat--compact {
    padding: 6px 4px;
  }

  .leq-cta--compact .leq-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-height: 32px;
  }
}

@media (max-height: 800px) {
  .bp-video-intro__card {
    padding: 1rem 1.15rem;
    border-radius: 20px;
  }

  .bp-video-intro__logo img {
    width: 40px;
    height: 40px;
  }

  .bp-video-intro__logo span,
  .bp-video-intro__brand-name {
    font-size: 1.05rem;
  }

  .bp-video-intro__badges {
    margin-bottom: 0.75rem;
  }

  .bp-video-intro__stat-number {
    font-size: 1.1rem;
  }

  .bp-video-intro__btn {
    padding: 0.7rem 2rem;
    font-size: 0.95rem;
  }

  .bp-video-question-card {
    padding: 1.25rem 1.5rem;
  }
}

@media (max-height: 720px) {
  .bp-video-brand-bar {
    padding: 0.3rem 0.75rem;
    min-height: 36px;
  }

  .bp-video-footer-brand {
    display: none;
  }

  .bp-video-question-container {
    padding: 0.5rem 0.75rem;
  }

  .bp-video-question-card {
    padding: 0.75rem 1rem;
    border-radius: 16px;
  }

  .bp-video-question__number {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .bp-video-question__text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    max-height: min(32vh, 200px);
  }

  .bp-video-timer-slot {
    height: 40px;
    margin-bottom: 0.35rem;
  }

  .bp-video-option {
    padding: 0.55rem 0.75rem;
  }

  .bp-video-option__text {
    font-size: 0.85rem;
  }

  .bp-video-controls {
    padding: 0.25rem 0.5rem;
    min-height: 40px;
  }
}

@media (max-width: 768px) {
  .bp-video-brand-bar {
    padding-right: 1rem;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .bp-video-tag--grade {
    display: none;
  }

  .bp-video-brand-bar__chapter {
    max-width: 140px;
  }

  .bp-video-controls__progress-bar {
    width: 56px;
  }

  .bp-video-question-container {
    padding: 1rem;
  }

  .bp-video-question-card {
    padding: 1.5rem;
  }

  .bp-video-question__text {
    font-size: 1rem;
  }

  .bp-video-option__text {
    font-size: 0.85rem;
  }

  .bp-video-controls {
    padding: 0.35rem 0.75rem;
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .bp-video-controls__left {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .bp-video-controls__right {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.25rem;
  }

  .bp-video-controls__btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 0.75rem;
  }

  .bp-video-footer-brand {
    display: none;
  }

  .bp-video-controls__time {
    display: none;
  }

  .bp-video-intro__stats {
    gap: 1rem;
  }

  .bp-video-intro__stat-number {
    font-size: 1.1rem;
  }

  .bp-video-complete__stats {
    gap: 1.5rem;
  }

  .bp-video-complete__stat-number {
    font-size: 1.3rem;
  }

  .bp-video-timer__ring {
    width: 40px;
    height: 40px;
  }

  .bp-video-timer__number {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .bp-video-header__brand span {
    font-size: 0.7rem;
  }

  .bp-video-header__brand img {
    width: 24px;
    height: 24px;
  }

  .bp-video-header__progress-text {
    font-size: 0.6rem;
  }

  .bp-video-header__progress-pct {
    font-size: 0.6rem;
    min-width: 24px;
  }

  .bp-video-question-card {
    padding: 1rem;
  }

  .bp-video-question__number {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .bp-video-question__text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .bp-video-option {
    padding: 0.5rem 0.75rem;
  }

  .bp-video-option__letter {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }

  .bp-video-option__text {
    font-size: 0.8rem;
  }

  .bp-video-intro__logo img {
    width: 48px;
    height: 48px;
  }

  .bp-video-intro__logo span {
    font-size: 1.1rem;
  }

  .bp-video-intro__badges {
    gap: 0.3rem;
  }

  .bp-video-intro__badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
  }

  .bp-video-complete__actions {
    flex-direction: column;
    align-items: center;
  }

  .bp-video-complete__btn {
    width: 100%;
    justify-content: center;
  }
}

.bp-video-app--dark .bp-video-screen--question {
  background: #0f172a;
}

.bp-video-app--dark .bp-video-header {
  background: rgba(30, 41, 59, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.bp-video-app--dark .bp-video-header__brand span {
  color: #f1f5f9;
}

.bp-video-app--dark .bp-video-header__info-item {
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-question-card {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bp-video-app--dark .bp-video-question-card:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bp-video-app--dark .bp-video-question__text {
  color: #f1f5f9;
}

.bp-video-app--dark .bp-video-option {
  background: #0f172a;
  border-color: #334155;
}

.bp-video-app--dark .bp-video-option__text {
  color: #f1f5f9;
}

.bp-video-app--dark .bp-video-option__letter {
  background: #334155;
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-option--correct {
  background: #052e16;
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.bp-video-app--dark .bp-video-option--incorrect {
  background: #450a0a;
  border-color: #ef4444;
  opacity: 0.65;
}

.bp-video-app--dark .bp-video-option--incorrect .bp-video-option__letter {
  background: #ef4444;
  color: #fff;
}

.bp-video-app--dark .bp-video-controls {
  background: rgba(30, 41, 59, 0.95);
  border-top-color: rgba(255, 255, 255, 0.06);
}

.bp-video-app--dark .bp-video-controls__info {
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-controls__time {
  color: #64748b;
}

.bp-video-app--dark .bp-video-controls__btn {
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-controls__btn:hover {
  background: #334155;
  color: #f1f5f9;
}

.bp-video-app--dark .bp-video-footer-brand {
  color: rgba(255, 255, 255, 0.35);
  background: rgba(30, 41, 59, 0.9);
  border-top-color: rgba(255, 255, 255, 0.06);
}

.bp-video-app--dark .bp-video-timer {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bp-video-app--dark .bp-video-timer__number {
  color: #f1f5f9;
}

.bp-video-app--dark .bp-video-speed-menu {
  background: #1e293b;
  border-color: #334155;
}

.bp-video-app--dark .bp-video-speed-menu button {
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-speed-menu button:hover {
  background: #0f172a;
}

.bp-video-app--dark .bp-video-speed-menu button.is-active {
  background: var(--bp-primary, #1a5f4a);
  color: #fff;
}

.bp-video-app--dark .bp-video-brand-bar {
  background: rgba(30, 41, 59, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.bp-video-app--dark .bp-video-brand-bar__action-btn {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-brand-bar__action-btn:hover {
  background: #334155;
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.12);
}

.bp-video-app--dark .bp-video-brand-bar__logo span {
  color: #f1f5f9;
}

.bp-video-app--dark .bp-video-brand-bar__logo span span {
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-brand-bar__meta > span {
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-tag {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-tag i {
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-controls__progress-text,
.bp-video-app--dark .bp-video-controls__progress-pct {
  color: #94a3b8;
}

.bp-video-app--dark .bp-video-question__number {
  color: var(--bp-primary-light, #818cf8);
}

/* Homepage Cadet College promo (minimal — full theme in cadet_college.css) */
.bp-cadet-promo-card {
  background: linear-gradient(135deg, #f7f5f0 0%, #eef3e8 100%);
  border: 1px solid #d9e0cf;
  border-radius: 16px;
}

.bp-cadet-promo-card__badge {
  display: inline-block;
  background: #1a2744;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.bp-cadet-btn {
  background: #c9a84c !important;
  border-color: #c9a84c !important;
  color: #1a2744 !important;
  font-weight: 700;
}

.bp-schools-strip {
  padding-block: 1.5rem;
  background: var(--bp-primary-soft, #eef2ff);
  border-block: 1px solid var(--bp-border-light, #e2e8f0);
}

.bp-schools-strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bp-schools-strip .bp-section__badge {
  margin-bottom: 0.35rem;
}

.bp-schools-strip p {
  margin: 0;
  font-weight: 600;
  color: var(--bp-text, #0f172a);
}
