:root {
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --violet: #7c3aed;
  --glass: rgba(255, 255, 255, 0.72);
  --radius: 1rem;
  --sidebar-w: 260px;
}

.bg-indigo { background: linear-gradient(135deg, var(--indigo), var(--violet)) !important; }

/* Brand logo */
.brand-logo {
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}
.navbar-logo {
  background: #fff;
  border-radius: 0.45rem;
  padding: 0.2rem 0.35rem;
  height: 36px !important;
}
.sidebar-logo {
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.25rem 0.4rem;
  height: 40px !important;
  max-width: 120px;
}
.footer-logo {
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.3rem 0.45rem;
  height: 40px !important;
}
.hero-logo {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.75rem;
  padding: 0.45rem 0.75rem;
  height: 64px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.auth-card .brand-logo {
  max-height: 72px;
}
.guest-body { background: #f4f6fb; min-height: 100vh; }
.app-body { background: #f0f2f8; min-height: 100vh; }

.hero-section {
  background: radial-gradient(ellipse at top left, #818cf8 0%, #4f46e5 40%, #312e81 100%);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.feature-card, .chapter-card, .stat-card, .mode-card, .path-step {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
  background: #fff;
}
.feature-card:hover, .chapter-card:hover, .mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.15);
}

.footer-dark { background: #1e1b4b; }

.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: linear-gradient(180deg, #312e81 0%, #1e1b4b 100%);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  flex-shrink: 0;
}
.sidebar .nav-link {
  border-radius: .6rem;
  padding: .65rem .9rem;
  transition: background .15s;
}
.sidebar .nav-link:hover, .sidebar .nav-link.active {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
}

.main-panel { min-width: 0; }

.auth-card {
  max-width: 440px;
  margin: 2.5rem auto;
  border: none;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.12);
}

.learning-path {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.path-step {
  padding: .55rem .9rem;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.path-step.active {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  border-color: transparent;
}
.path-step.done { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }

.content-panel {
  border-radius: var(--radius);
  background: #fff;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 24px rgba(15,23,42,.06);
  line-height: 1.7;
}
.content-panel h1, .content-panel h2, .content-panel h3 { color: #1e1b4b; margin-top: 1.25rem; }
.content-panel h1:first-child, .content-panel h2:first-child { margin-top: 0; }
.content-panel table { width: 100%; margin: 1rem 0; }
.content-panel table th, .content-panel table td {
  border: 1px solid #e2e8f0;
  padding: .5rem .75rem;
  font-size: .92rem;
}
.content-panel table th { background: #eef2ff; }
.content-panel blockquote {
  border-left: 4px solid var(--indigo);
  background: #eef2ff;
  padding: .75rem 1rem;
  border-radius: 0 .5rem .5rem 0;
  margin: 1rem 0;
}
.content-panel pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: .75rem;
  overflow-x: auto;
  font-size: .85rem;
}

.chat-box {
  height: 420px;
  overflow-y: auto;
  background: #f8fafc;
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid #e2e8f0;
}
.chat-bubble {
  max-width: 85%;
  padding: .75rem 1rem;
  border-radius: 1rem;
  margin-bottom: .75rem;
  white-space: pre-wrap;
  line-height: 1.55;
}
.chat-bubble.user {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: .25rem;
}
.chat-bubble.assistant {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: .25rem;
}

.quiz-option {
  display: block;
  border: 2px solid #e2e8f0;
  border-radius: .75rem;
  padding: .75rem 1rem;
  margin-bottom: .5rem;
  cursor: pointer;
  transition: all .15s;
}
.quiz-option:hover, .quiz-option:has(input:checked) {
  border-color: var(--indigo);
  background: #eef2ff;
}

.progress-ring { width: 72px; height: 72px; }

[data-bs-theme="dark"] body,
[data-bs-theme="dark"] .app-body,
[data-bs-theme="dark"] .guest-body { background: #0f172a; color: #e2e8f0; }
[data-bs-theme="dark"] .feature-card,
[data-bs-theme="dark"] .chapter-card,
[data-bs-theme="dark"] .stat-card,
[data-bs-theme="dark"] .content-panel,
[data-bs-theme="dark"] .auth-card,
[data-bs-theme="dark"] .topbar,
[data-bs-theme="dark"] .mode-card { background: #1e293b; color: #e2e8f0; }
[data-bs-theme="dark"] .path-step { background: #1e293b; color: #cbd5e1; border-color: #334155; }
[data-bs-theme="dark"] .chat-box { background: #0f172a; border-color: #334155; }
[data-bs-theme="dark"] .chat-bubble.assistant { background: #1e293b; border-color: #334155; }

@media (max-width: 991.98px) {
  .sidebar {
    position: fixed;
    z-index: 1040;
    left: calc(-1 * var(--sidebar-w));
    transition: left .25s ease;
  }
  .sidebar.show { left: 0; }
}

/* Hindi module */
.hindi-hero {
  background: linear-gradient(135deg, #fff7ed 0%, #eef2ff 50%, #fdf2f8 100%);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(79, 70, 229, 0.08);
}
.hindi-unit-card { min-height: 180px; }
.hindi-lesson-body [lang="hi"],
.flash-card [lang="hi"],
td[lang="hi"],
.fs-5[lang="hi"] {
  font-family: "Noto Sans Devanagari", "Mangal", "Arial Unicode MS", system-ui, sans-serif;
  line-height: 1.6;
}
.flash-card {
  min-height: 220px;
  cursor: pointer;
  user-select: none;
  transition: transform .15s ease;
}
.flash-card:hover { transform: scale(1.01); }
.min-h-build { min-height: 48px; }
.match-en.active { border-color: var(--indigo) !important; background: #eef2ff; }
.express-card { border-left: 4px solid #f59e0b; }
[data-bs-theme="dark"] .hindi-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #e2e8f0;
}
[data-bs-theme="dark"] .hindi-hero .text-muted { color: #cbd5e1 !important; }

/* Voice Assist */
.voice-assist { position: relative; z-index: 1080; }
.va-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: #fff;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.va-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(239, 68, 68, 0.4); }
.va-fab.listening {
  animation: va-pulse 1.2s ease infinite;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}
.va-fab-label { font-size: 0.9rem; }
@keyframes va-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
}
.va-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5rem;
  width: min(380px, calc(100vw - 1.5rem));
  max-height: min(82vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 1.1rem;
  border: 1px solid #e2e8f0;
  display: none;
}
.va-panel.open { display: block; animation: va-in .18s ease; }
@keyframes va-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.va-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  border-radius: 1.1rem 1.1rem 0 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
.va-panel-body { padding: 0.9rem 1rem 1rem; }
.va-phrase-card {
  background: linear-gradient(180deg, #eef2ff, #fff);
  border: 1px solid #e0e7ff;
  border-radius: 0.85rem;
}
.va-hi {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.35;
  font-family: "Noto Sans Devanagari", "Mangal", system-ui, sans-serif;
}
.va-roman { margin-top: 0.25rem; }
.va-heard-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.6rem 0.75rem;
}
.va-heard { font-weight: 600; min-height: 1.4em; word-break: break-word; }
.va-status {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
}
.va-status.va-listen { color: #dc2626; font-weight: 600; }
.va-status.va-ok { color: #059669; }
.va-status.va-error { color: #b91c1c; }
.va-status.va-mid { color: #d97706; }
.va-score {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}
.va-score-great { color: #059669; }
.va-score-ok { color: #0891b2; }
.va-score-mid { color: #d97706; }
.va-score-bad { color: #dc2626; }
#vaMicBtn.listening {
  animation: va-pulse 1.2s ease infinite;
}
.va-wave {
  display: flex;
  gap: 3px;
  height: 18px;
  align-items: flex-end;
  margin-top: 0.35rem;
  opacity: 0;
}
.va-wave.active { opacity: 1; }
.va-wave span {
  width: 4px;
  height: 6px;
  background: #ef4444;
  border-radius: 2px;
  animation: va-bar 0.8s ease-in-out infinite;
}
.va-wave span:nth-child(2) { animation-delay: 0.1s; }
.va-wave span:nth-child(3) { animation-delay: 0.2s; }
.va-wave span:nth-child(4) { animation-delay: 0.3s; }
.va-wave span:nth-child(5) { animation-delay: 0.4s; }
@keyframes va-bar {
  0%, 100% { height: 5px; }
  50% { height: 16px; }
}
.tiny { font-size: 0.72rem; }
.btn-voice-practice { white-space: nowrap; }
.social-share .btn { min-width: auto; }

/* —— Science lab animations (Physics / Chemistry) —— */
.science-lab { margin-bottom: 1.25rem; }
.particle-box {
  position: relative;
  height: 220px;
  border-radius: 1rem;
  background: linear-gradient(180deg, #eff6ff, #f8fafc);
  border: 2px solid #bfdbfe;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #93c5fd, #2563eb);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}
.particle-box[data-state="solid"] .particle {
  animation: vibrate 0.6s ease-in-out infinite;
}
.particle-box[data-state="liquid"] .particle {
  animation: liquidDrift 2.4s ease-in-out infinite;
  background: radial-gradient(circle at 30% 30%, #67e8f9, #0891b2);
}
.particle-box[data-state="gas"] .particle {
  animation: gasFly 3s linear infinite;
  background: radial-gradient(circle at 30% 30%, #fcd34d, #f59e0b);
  width: 12px;
  height: 12px;
}
.particle-box[data-state="cycle"] {
  background: linear-gradient(90deg, #dbeafe, #fef3c7, #fee2e2);
}
.particle-box[data-state="cycle"] .particle {
  animation: cycleHop 4s ease-in-out infinite;
}
@keyframes vibrate {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(1px, -1px); }
  50% { transform: translate(-1px, 1px); }
  75% { transform: translate(1px, 1px); }
}
@keyframes liquidDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, 4px); }
}
@keyframes gasFly {
  0% { transform: translate(0, 0); }
  25% { transform: translate(18px, -22px); }
  50% { transform: translate(-12px, 16px); }
  75% { transform: translate(20px, 10px); }
  100% { transform: translate(0, 0); }
}
@keyframes cycleHop {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-12px) scale(1.05); }
  70% { transform: translateY(6px) scale(0.95); }
  100% { transform: translateY(0) scale(1); }
}
.sci-mini-card {
  border-radius: 1rem;
  padding: 1rem;
  height: 100%;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.sci-mini-title { font-weight: 700; margin-bottom: 0.5rem; }
.sci-mini-anim {
  height: 64px;
  position: relative;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  background: #f8fafc;
  overflow: hidden;
}
.solid-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px 14px;
}
.solid-grid span {
  width: 12px; height: 12px; border-radius: 50%;
  background: #3b82f6;
  justify-self: center;
  animation: vibrate 0.7s ease-in-out infinite;
}
.liquid-flow { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 12px; }
.liquid-flow span {
  width: 14px; height: 14px; border-radius: 50%; background: #06b6d4;
  animation: liquidBob 1.4s ease-in-out infinite;
}
.liquid-flow span:nth-child(2) { animation-delay: 0.1s; }
.liquid-flow span:nth-child(3) { animation-delay: 0.2s; }
.liquid-flow span:nth-child(4) { animation-delay: 0.3s; }
.liquid-flow span:nth-child(5) { animation-delay: 0.4s; }
@keyframes liquidBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.gas-spread { position: relative; height: 64px; }
.gas-spread span {
  position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #f59e0b;
  animation: gasFly 2.5s linear infinite;
}
.gas-spread span:nth-child(1) { left: 10%; top: 40%; }
.gas-spread span:nth-child(2) { left: 30%; top: 20%; animation-delay: 0.3s; }
.gas-spread span:nth-child(3) { left: 50%; top: 55%; animation-delay: 0.6s; }
.gas-spread span:nth-child(4) { left: 65%; top: 25%; animation-delay: 0.9s; }
.gas-spread span:nth-child(5) { left: 80%; top: 45%; animation-delay: 1.1s; }
.gas-spread span:nth-child(6) { left: 45%; top: 15%; animation-delay: 1.4s; }

.state-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.state-node { text-align: center; font-size: 0.8rem; font-weight: 600; }
.state-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; margin: 0 auto 0.25rem;
}
.solid-icon { background: #2563eb; }
.liquid-icon { background: #0891b2; }
.gas-icon { background: #d97706; }
.state-arrow { text-align: center; min-width: 90px; }
.arrow-label { display: block; font-size: 0.7rem; font-weight: 600; }
.arrow-line {
  display: block; height: 4px; border-radius: 2px; margin-top: 4px;
  background: linear-gradient(90deg, #f97316, #ef4444);
  animation: pulseLine 1.5s ease-in-out infinite;
}
.state-arrow.cool .arrow-line {
  background: linear-gradient(90deg, #38bdf8, #2563eb);
}
@keyframes pulseLine {
  0%, 100% { opacity: 0.5; transform: scaleX(0.92); }
  50% { opacity: 1; transform: scaleX(1); }
}
.diffusion-box {
  display: flex; height: 80px; border-radius: 0.75rem; overflow: hidden;
  border: 1px solid #e2e8f0; margin-bottom: 0.75rem;
}
.diff-side { flex: 1; position: relative; }
.diff-side.left { background: #dbeafe; }
.diff-side.right { background: #fef3c7; }
.diff-side span {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
}
.diff-side.left span { background: #2563eb; animation: diffLeft 3s ease-in-out infinite; }
.diff-side.right span { background: #d97706; animation: diffRight 3s ease-in-out infinite; }
.diff-side span:nth-child(1) { top: 20%; left: 20%; }
.diff-side span:nth-child(2) { top: 50%; left: 40%; animation-delay: 0.4s; }
.diff-side span:nth-child(3) { top: 70%; left: 30%; animation-delay: 0.8s; }
.diff-side span:nth-child(4) { top: 35%; left: 60%; animation-delay: 1.2s; }
@keyframes diffLeft {
  0% { transform: translateX(0); }
  50% { transform: translateX(70px); }
  100% { transform: translateX(0); }
}
@keyframes diffRight {
  0% { transform: translateX(0); }
  50% { transform: translateX(-70px); }
  100% { transform: translateX(0); }
}
.sci-table td, .sci-table th { font-size: 0.82rem; text-align: center; vertical-align: middle; }
.sci-caption strong { color: #1e40af; font-size: 1.05rem; }

[data-bs-theme="dark"] .particle-box,
[data-bs-theme="dark"] .sci-mini-card,
[data-bs-theme="dark"] .sci-demo,
[data-bs-theme="dark"] .sci-cycle { background: #1e293b; border-color: #334155; color: #e2e8f0; }
[data-bs-theme="dark"] .particle-box { background: linear-gradient(180deg, #0f172a, #1e293b); }

/* —— GK Adventure Zone (kids) —— */
.gk-hero {
  background: linear-gradient(135deg, #fef3c7 0%, #ede9fe 45%, #dbeafe 100%);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 2px solid #e9d5ff;
}
.gk-badge {
  display: inline-block;
  background: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.gk-score-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}
.gk-tip {
  background: #fff;
  border-radius: 1rem;
  border: 1px dashed #c4b5fd;
}
.gk-mission-card {
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.1rem;
  border-top: 5px solid var(--gk, #8b5cf6);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.gk-mission-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.18);
}
.gk-mission-emoji {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
  animation: gkBob 2.5s ease-in-out infinite;
}
@keyframes gkBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.gk-stars .on { color: #f59e0b; }
.gk-stars .off { color: #e2e8f0; }
.gk-stars.big { font-size: 1.6rem; letter-spacing: 2px; }
.gk-cheer {
  background: linear-gradient(90deg, #fef9c3, #fce7f3);
  border-radius: 1rem;
}
.gk-mission-hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--gk) 12%, white), #fff);
  border-radius: 1.15rem;
  padding: 1.25rem 1.5rem;
  border: 2px solid color-mix(in srgb, var(--gk) 25%, #e2e8f0);
}
.gk-play-panel {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e9d5ff;
}
.gk-card-stage {
  background: linear-gradient(180deg, #faf5ff, #eff6ff);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  min-height: 160px;
  border: 2px dashed #c4b5fd;
}
.gk-emoji-xl { font-size: 3rem; line-height: 1; margin-bottom: 0.5rem; }
.gk-clue { font-size: 1.15rem; max-width: 36rem; margin: 0 auto; }
.gk-feedback {
  min-height: 1.5rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.gk-feedback.ok { color: #059669; }
.gk-feedback.bad { color: #dc2626; }
.gk-feedback.info { color: #2563eb; }
.gk-option-btn {
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
  text-align: left;
  width: 100%;
  margin-bottom: 0.4rem;
}
.gk-option-btn:hover { border-color: #8b5cf6; background: #f5f3ff; }
.gk-option-btn.correct { border-color: #10b981; background: #ecfdf5; }
.gk-option-btn.wrong { border-color: #ef4444; background: #fef2f2; }
.gk-fact-box {
  background: #fffbeb;
  border-radius: 1rem;
  border: 1px solid #fde68a;
}
.gk-options { display: grid; gap: 0.35rem; }

[data-bs-theme="dark"] .gk-hero { background: linear-gradient(135deg, #312e81, #1e1b4b); color: #e2e8f0; }
[data-bs-theme="dark"] .gk-mission-card,
[data-bs-theme="dark"] .gk-play-panel,
[data-bs-theme="dark"] .gk-score-card,
[data-bs-theme="dark"] .gk-tip { background: #1e293b; color: #e2e8f0; border-color: #334155; }
[data-bs-theme="dark"] .gk-card-stage { background: #0f172a; border-color: #4c1d95; }

[data-bs-theme="dark"] .va-panel { background: #1e293b; border-color: #334155; color: #e2e8f0; }
[data-bs-theme="dark"] .va-phrase-card { background: #0f172a; border-color: #334155; }
[data-bs-theme="dark"] .va-heard-box { background: #0f172a; border-color: #475569; }

@media (max-width: 576px) {
  .va-fab-label { display: none; }
  .va-panel { right: 0.75rem; left: 0.75rem; width: auto; bottom: 4.5rem; }
}
