/* ========== First-run Onboarding ========== */
.ob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* NON-BLOCKING: the dim backdrop must never swallow page clicks.
     Clicks pass through to the page behind; only the card is interactive. */
  pointer-events: none;
}
body.ob-no-scroll { overflow: hidden; }
.ob-card {
  position: relative;
  /* Re-enable interaction on the guide card only. */
  pointer-events: auto;
  width: min(420px, 90vw);
  background: var(--panel-bg);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 28px 24px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-main);
}
.ob-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 15px;
  cursor: pointer;
  opacity: 0.6;
}
.ob-close:hover { opacity: 1; background: var(--card-hover-bg); }
.ob-icon { font-size: 40px; margin-bottom: 8px; line-height: 1; }
.ob-title { font-size: 18px; font-weight: 700; margin: 4px 0 8px; }
.ob-body { font-size: 13px; line-height: 1.6; color: var(--text-mid); margin: 0 auto 16px; max-width: 320px; }
.ob-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 18px; }
.ob-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-dim); opacity: 0.4; transition: all 0.2s; }
.ob-dot-active { opacity: 1; background: #818cf8; width: 18px; border-radius: 4px; }
.ob-nav { display: flex; gap: 8px; justify-content: center; }
.ob-btn {
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid var(--panel-border);
  background: var(--btn-bg);
  color: var(--text-main);
  transition: all 0.15s;
}
.ob-btn:hover { background: var(--btn-hover-bg); }
.ob-btn-primary {
  background: linear-gradient(135deg, #818cf8, #6366f1);
  border: none;
  color: #fff;
  font-weight: 600;
}
.ob-btn-primary:hover { filter: brightness(1.08); }
