html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

#zmmtg-root {
  width: 100vw;
  height: 100vh;
}

/* ── Loading overlay ── */
#loadingOverlay {
  position: fixed;
  inset: 0;
  background: #0f172a;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #2d8cff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-card {
  background: #1e293b;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #334155;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.error-card h3 {
  color: #f87171;
  margin: 0 0 12px;
  font-size: 20px;
}

.error-card p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ── Points toast (primerad only) ── */
#pointsToast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #3b5bdb;
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  gap: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 600;
  z-index: 2147483647;
  min-width: 260px;
  animation: slideIn 0.4s ease-out;
}

#pointsToast.show {
  display: flex;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

#pointsToast.hide {
  animation: slideOut 0.4s ease-in;
}

.toast-close {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ── Tab-blocked overlay ── */
#tabBlockOverlay {
  position: fixed;
  inset: 0;
  background: #0f172a;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 24px;
}

#tabBlockOverlay.show {
  display: flex;
}

.tbo-icon {
  font-size: 52px;
  margin-bottom: 18px;
}

.tbo-title {
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 10px;
}

.tbo-sub {
  font-size: 14px;
  color: #64748b;
  max-width: 360px;
  line-height: 1.65;
}

/* ── Attendance-paused banner ── */
#pauseBanner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #78350f, #92400e);
  color: #fef3c7;
  padding: 11px 20px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 9997;
  font-size: 13px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#pauseBanner.show {
  display: flex;
}

/* ── Pre-session info banner (primerad only) ── */
#preSessionBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  padding: 13px 22px;
  display: none;
  align-items: center;
  gap: 14px;
  z-index: 9998;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#preSessionBanner.show {
  display: flex;
}

.psb-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.psb-text {
  font-size: 12.5px;
  color: #94a3b8;
  flex: 1;
  line-height: 1.55;
}

.psb-text strong {
  color: #60a5fa;
}

.psb-close {
  background: none;
  border: none;
  color: #475569;
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  line-height: 1;
  flex-shrink: 0;
}

.psb-close:hover {
  color: #94a3b8;
}

/* ── Active-check modal ── */
#activeCheckModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2147483645;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#activeCheckModal.show {
  display: flex;
}

.acm-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 38px 34px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75);
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(16px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.acm-icon {
  font-size: 42px;
  margin-bottom: 14px;
}

.acm-title {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.acm-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.acm-countdown {
  font-size: 40px;
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.acm-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 36px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}

.acm-btn:hover {
  background: #1d4ed8;
}

/* ── Feedback-pending modal (primerad only) ── */
#feedbackPendingModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2147483646;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#feedbackPendingModal.show {
  display: flex;
}

.fpm-card {
  background: #111827;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fpm-icon {
  font-size: 44px;
  margin-bottom: 14px;
}

.fpm-title {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.fpm-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.fpm-actions {
  display: flex;
  gap: 10px;
}

.fpm-btn-stay {
  flex: 1;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}

.fpm-btn-stay:hover {
  background: #1d4ed8;
}

.fpm-btn-close {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}

.fpm-btn-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Feedback modal (primerad only) ── */
#feedbackModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2147483646;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
}

#feedbackModal.show {
  display: flex;
}

.fm-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  height: 82vh;
  max-height: 82vh;
  display: flex;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fm-sidebar {
  width: 230px;
  min-width: 230px;
  height: 100%;
  background: linear-gradient(170deg, #0d1f38 0%, #080e1c 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.fm-sidebar::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
  pointer-events: none;
}

.fm-sb-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.fm-sb-title {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.fm-sb-desc {
  font-size: 11.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.fm-sb-session {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.fm-sb-session-lbl {
  font-size: 9px;
  font-weight: 700;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.fm-sb-session-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
}

.fm-sb-rewards {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.fm-sb-reward {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.fm-sb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fm-sb-dot.blue {
  background: #3b82f6;
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.7);
}

.fm-sb-dot.green {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
}

.fm-sb-reward-text {
  flex: 1;
  font-size: 11.5px;
  color: #94a3b8;
}

.fm-sb-reward-pts {
  font-size: 11.5px;
  font-weight: 700;
  color: #e2e8f0;
}

.fm-sb-steps {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.fm-sb-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.fm-sb-step.active {
  background: rgba(59, 130, 246, 0.12);
}

.fm-sb-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #334155;
  flex-shrink: 0;
  transition: all 0.2s;
}

.fm-sb-step.active .fm-sb-step-num {
  border-color: #3b82f6;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
}

.fm-sb-step.done .fm-sb-step-num {
  border-color: #22c55e;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.fm-sb-step-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #334155;
  transition: color 0.2s;
}

.fm-sb-step.active .fm-sb-step-label {
  color: #93c5fd;
}

.fm-sb-step.done .fm-sb-step-label {
  color: #4ade80;
}

.fm-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.fm-panel-head {
  padding: 22px 26px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
}

.fm-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
}

.fm-panel-sub {
  font-size: 11.5px;
  color: #475569;
  margin-top: 3px;
}

.fm-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #475569;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.fm-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.fm-panel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 26px;
  scrollbar-width: thin;
  scrollbar-color: #1e3a5f transparent;
}

.fm-panel-body::-webkit-scrollbar {
  width: 4px;
}

.fm-panel-body::-webkit-scrollbar-thumb {
  background: #1e3a5f;
  border-radius: 4px;
}

.fm-panel-foot {
  padding: 14px 26px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.fm-screen {
  display: none;
}

.fm-screen.active {
  display: block;
}

.fm-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  gap: 14px;
}

.fm-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.fm-loading-text {
  font-size: 13px;
  color: #475569;
}

.fm-lbl {
  font-size: 10.5px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.fm-stars-row {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.fm-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px;
  line-height: 0;
  transition: transform 0.15s;
}

.fm-star-btn:hover:not(:disabled) {
  transform: scale(1.18);
}

.fm-star-btn:disabled {
  cursor: not-allowed;
}

.fm-star-btn svg {
  width: 34px;
  height: 34px;
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(255, 255, 255, 0.14);
  transition: fill 0.12s, stroke 0.12s;
}

.fm-star-btn.lit svg {
  fill: #f59e0b;
  stroke: #f59e0b;
}

.fm-star-hint {
  font-size: 12px;
  color: #475569;
  min-height: 18px;
  transition: color 0.2s;
}

.fm-star-hint.on {
  color: #f59e0b;
}

.fm-q-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s;
}

.fm-q-card.picked {
  border-color: rgba(59, 130, 246, 0.3);
}

.fm-q-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.fm-q-num {
  font-size: 9.5px;
  font-weight: 700;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.fm-q-text {
  font-size: 13px;
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.55;
  margin-bottom: 10px;
}

.fm-opts {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fm-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.15s;
  user-select: none;
}

.fm-opt:hover:not(.locked) {
  background: rgba(59, 130, 246, 0.07);
  border-color: rgba(59, 130, 246, 0.3);
}

.fm-opt.sel {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
}

.fm-opt.right {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.4);
  pointer-events: none;
}

.fm-opt.wrong {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.4);
  pointer-events: none;
}

.fm-opt.locked {
  pointer-events: none;
}

.fm-opt-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fm-opt.sel .fm-opt-radio {
  border-color: #3b82f6;
}

.fm-opt.right .fm-opt-radio {
  border-color: #22c55e;
}

.fm-opt.wrong .fm-opt-radio {
  border-color: #ef4444;
}

.fm-opt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: none;
}

.fm-opt.sel .fm-opt-dot {
  display: block;
  background: #3b82f6;
}

.fm-opt.right .fm-opt-dot {
  display: block;
  background: #22c55e;
}

.fm-opt.wrong .fm-opt-dot {
  display: block;
  background: #ef4444;
}

.fm-opt-text {
  font-size: 12.5px;
  color: #94a3b8;
  flex: 1;
  line-height: 1.4;
}

.fm-opt.sel .fm-opt-text {
  color: #bfdbfe;
}

.fm-opt.right .fm-opt-text {
  color: #86efac;
}

.fm-opt.wrong .fm-opt-text {
  color: #fca5a5;
}

.fm-opt-icon {
  font-size: 13px;
  flex-shrink: 0;
}

.fm-score-banner {
  display: none;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  gap: 12px;
  align-items: center;
  border: 1px solid transparent;
}

.fm-score-banner.show {
  display: flex;
}

.fm-score-banner.perfect {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
}

.fm-score-banner.partial {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
}

.fm-score-banner.zero {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}

.fm-score-emoji {
  font-size: 22px;
  flex-shrink: 0;
}

.fm-score-title {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}

.fm-score-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.fm-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 12px;
}

.fm-success.active {
  display: flex;
}

.fm-success-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.fm-success-title {
  font-size: 19px;
  font-weight: 700;
  color: #f1f5f9;
}

.fm-success-sub {
  font-size: 13px;
  color: #475569;
  max-width: 260px;
  line-height: 1.6;
}

.fm-pts-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 50px;
  padding: 10px 22px;
  margin-top: 4px;
}

.fm-pts-lbl {
  font-size: 12px;
  color: #475569;
}

.fm-pts-val {
  font-size: 22px;
  font-weight: 800;
  color: #60a5fa;
}

.fm-btn {
  flex: 1;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s;
  letter-spacing: 0.1px;
}

.fm-btn:active {
  transform: scale(0.97);
}

.fm-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.fm-btn-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.fm-btn-primary:hover:not(:disabled) {
  background: #1d4ed8;
}

.fm-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #475569;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.fm-btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

@media (max-width: 600px) {
  #feedbackModal {
    padding: 0;
    align-items: flex-end;
  }

  .fm-card {
    flex-direction: column;
    border-radius: 20px 20px 0 0;
    height: unset;
    max-height: 92vh;
  }

  .fm-sidebar {
    width: 100%;
    min-width: unset;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 18px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .fm-sb-logo {
    margin-bottom: 0;
    width: 36px;
    height: 36px;
    font-size: 17px;
    border-radius: 10px;
  }

  .fm-sb-title {
    font-size: 13px;
  }

  .fm-sb-desc,
  .fm-sb-session,
  .fm-sb-rewards,
  .fm-sb-steps,
  .fm-sidebar::before {
    display: none;
  }

  .fm-panel-body {
    padding: 16px 18px;
  }

  .fm-panel-head {
    padding: 14px 18px 12px;
  }

  .fm-panel-foot {
    padding: 10px 18px 18px;
  }
}

/* ── MSS Faculty Widget ── */
#mssFacultyWidget {
  position: fixed;
  top: 60px;
  /* Below pause banner if it shows */
  left: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 16px;
  display: none;
  /* Shown via JS */
  align-items: center;
  gap: 12px;
  z-index: 9996;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#mssFacultyWidget.show {
  display: flex;
}

.mfw-img-container {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #01172a, #06b6d4);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.mfw-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mfw-info {
  display: flex;
  flex-direction: column;
}

.mfw-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.mfw-name {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #mssFacultyWidget {
    top: auto;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 300px;
  }
}
