/* Unorthodox Ops — first-run onboarding.
   Full-screen modal, 4 questions + ready screen. Dark premium theme. */

.ob-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity 0.3s ease;
}
.ob-overlay.show { opacity: 1; }
.ob-overlay.hide { opacity: 0; pointer-events: none; }

.ob-top { padding: calc(20px + env(safe-area-inset-top)) 20px 0; display: flex; align-items: center; justify-content: space-between; }
.ob-back {
  background: none; border: none; color: var(--muted);
  font-size: 15px; font-weight: 700; cursor: pointer; padding: 8px;
  visibility: hidden;
}
.ob-back.visible { visibility: visible; }
.ob-skip { background: none; border: none; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px; }

.ob-dots { display: flex; gap: 8px; justify-content: center; padding: 16px 0 8px; }
.ob-dot { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.12); transition: background 0.3s ease; }
.ob-dot.on { background: var(--red); }

.ob-body { flex: 1; overflow: hidden; position: relative; }
.ob-screen {
  position: absolute; inset: 0; padding: 24px 24px 0;
  display: flex; flex-direction: column;
  transform: translateX(60px); opacity: 0; pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 0.9, 0.28, 1), opacity 0.28s ease;
}
.ob-screen.active { transform: none; opacity: 1; pointer-events: auto; }
.ob-screen.exit-left { transform: translateX(-60px); opacity: 0; }

.ob-eyebrow {
  color: var(--red-soft); font-size: 11px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase; margin: 8px 0 12px;
}
.ob-title {
  font-family: var(--font-display); font-weight: 800; font-size: 42px;
  line-height: 1.02; letter-spacing: 0.5px; margin: 0 0 10px;
}
.ob-sub { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0 0 28px; }

.ob-options { display: flex; flex-direction: column; gap: 12px; }
.ob-opt {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; color: var(--text); font-family: var(--font-body);
  font-size: 16px; font-weight: 700; text-align: left; cursor: pointer;
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
  width: 100%;
}
.ob-opt:active { transform: scale(0.98); }
.ob-opt.selected { border-color: var(--red); background: rgba(225, 6, 0, 0.10); }
.ob-opt .ob-opt-icon { font-size: 24px; }
.ob-opt .ob-opt-check {
  margin-left: auto; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: transparent; transition: all 0.15s ease;
}
.ob-opt.selected .ob-opt-check { border-color: var(--red); background: var(--red); color: #fff; }

.ob-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ob-day {
  aspect-ratio: 1; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--text); font-family: var(--font-display);
  font-size: 34px; font-weight: 800; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}
.ob-day small { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 1px; }
.ob-day:active { transform: scale(0.96); }
.ob-day.selected { border-color: var(--red); background: rgba(225, 6, 0, 0.10); }
.ob-day.selected small { color: var(--red-soft); }

.ob-foot { padding: 16px 24px calc(24px + env(safe-area-inset-bottom)); }
.ob-cta {
  width: 100%; height: 56px; border: none; border-radius: 16px;
  background: var(--red); color: #fff; font-family: var(--font-body);
  font-size: 16px; font-weight: 800; letter-spacing: 0.5px; cursor: pointer;
  transition: transform 0.12s ease, opacity 0.2s ease;
}
.ob-cta:active { transform: scale(0.98); }
.ob-cta:disabled { opacity: 0.35; }

.ob-ready { text-align: center; padding-top: 40px; }
.ob-ready .ob-bolt { font-size: 72px; margin-bottom: 16px; animation: obPulse 1.6s ease infinite; }
@keyframes obPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.ob-ready .ob-title { margin-bottom: 12px; }
