/* ===== ONBOARDING MODAL ===== */
    .ob-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
    }

    .ob-overlay.active {
      display: flex;
    }

    .ob-modal {
      width: 1440px;
      max-width: 100vw;
      height: 900px;
      max-height: 100vh;
      background: var(--white);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
    }

    .ob-left {
      width: 560px;
      flex-shrink: 0;
      background: var(--primary);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
      padding: 60px;
    }

    .ob-logo-circle {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.19);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ob-brand-name {
      font-size: 40px;
      font-weight: 700;
      color: var(--white);
      letter-spacing: -1px;
    }

    .ob-tagline {
      font-size: 18px;
      color: rgba(255, 255, 255, 0.8);
      text-align: center;
      line-height: 1.6;
    }

    .ob-right {
      flex: 1;
      background: var(--bg);
      display: flex;
      flex-direction: column;
      padding: 40px 80px;
      overflow-y: auto;
    }

    .ob-progress {
      display: flex;
      gap: 6px;
      width: 400px;
      padding-bottom: 24px;
    }

    .ob-progress-seg {
      flex: 1;
      height: 4px;
      border-radius: 2px;
      background: #E5E4E1;
    }

    .ob-progress-seg.filled {
      background: var(--primary);
    }

    .ob-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 24px;
      width: 400px;
    }

    .ob-header {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .ob-title {
      font-size: 28px;
      font-weight: 700;
      color: #1A1918;
      letter-spacing: -0.5px;
    }

    .ob-subtitle {
      font-size: 15px;
      color: #6D6C6A;
      line-height: 1.5;
    }

    .ob-form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .ob-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-primary);
    }

    .ob-input-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 14px 16px;
      transition: border-color 0.2s;
    }

    .ob-input-wrap:focus-within {
      border-color: var(--primary);
    }

    .ob-input-wrap svg {
      width: 16px;
      height: 16px;
      color: var(--text-light);
      flex-shrink: 0;
    }

    .ob-input-wrap input {
      flex: 1;
      border: none;
      outline: none;
      background: transparent;
      font-family: var(--font);
      font-size: 15px;
      color: var(--text-primary);
    }

    .ob-input-wrap input::placeholder {
      color: var(--text-light);
    }

    .ob-spacer {
      flex: 1;
    }

    .ob-bottom {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      padding-top: 16px;
    }

    .ob-btn-continue {
      width: 280px;
      height: 52px;
      background: var(--primary);
      color: var(--white);
      border-radius: 14px;
      border: none;
      font-family: var(--font);
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: opacity 0.2s;
    }

    .ob-btn-continue:hover {
      opacity: 0.9;
    }

    .ob-btn-continue:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .ob-btn-back {
      font-family: var(--font);
      font-size: 14px;
      color: var(--text-muted);
      background: none;
      border: none;
      cursor: pointer;
    }

    .ob-btn-back:hover {
      color: var(--text-primary);
    }

    .ob-step {
      display: none;
      flex-direction: column;
      gap: 24px;
      flex: 1;
    }

    .ob-step.active {
      display: flex;
    }

    .ob-helper {
      font-size: 13px;
      color: #9C9B99;
      line-height: 1.4;
    }

    .ob-step-error {
      color: #C0392B;
      font-size: 13px;
      text-align: center;
      min-height: 0;
      margin-top: 8px;
      transition: all 0.2s ease;
    }
    .ob-step-error:not(:empty) {
      min-height: 20px;
    }
    .ob-input-wrap.ob-input-error {
      border-color: #C0392B !important;
    }
    .ob-radio-group.ob-input-error .ob-radio-card {
      border-color: #C0392B;
    }

    /* Location detected pill */
    .ob-detected {
      display: flex;
      align-items: center;
      gap: 12px;
      background: var(--primary-light);
      border-radius: 12px;
      padding: 14px 16px;
    }

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

    .ob-detected-icon {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ob-detected-text {
      display: flex;
      flex-direction: column;
      gap: 1px;
    }

    .ob-detected-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--primary);
    }

    .ob-detected-value {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* Age badge */
    .ob-age-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: var(--primary-light);
      border-radius: 16px;
      padding: 6px 12px;
      font-size: 13px;
      font-weight: 500;
      color: var(--primary);
    }

    /* Radio cards (gender) */
    .ob-radio-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .ob-radio-card {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px;
      border: 1px solid var(--border);
      border-radius: 12px;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      background: var(--white);
    }

    .ob-radio-card:hover {
      border-color: var(--text-light);
    }

    .ob-radio-card.selected {
      border-color: var(--primary);
      background: var(--white);
    }

    .ob-radio-dot {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 2px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: border-color 0.2s;
    }

    .ob-radio-card.selected .ob-radio-dot {
      border-color: var(--primary);
    }

    .ob-radio-dot-inner {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: transparent;
      transition: background 0.2s;
    }

    .ob-radio-card.selected .ob-radio-dot-inner {
      background: var(--primary);
    }

    .ob-radio-label {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-primary);
    }

    /* Interest selection */
    .ob-comm-badge {
      display: inline-flex;
      align-self: flex-start;
      align-items: center;
      gap: 4px;
      background: var(--primary-light);
      border-radius: 16px;
      padding: 6px 12px;
      font-size: 13px;
      font-weight: 500;
      color: var(--primary);
    }

    .ob-search {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--white);
      border-radius: 12px;
      padding: 12px 16px;
      border: 1px solid var(--border);
    }

    .ob-search input {
      border: none;
      outline: none;
      background: transparent;
      font-family: var(--font);
      font-size: 14px;
      color: var(--text-primary);
      flex: 1;
    }

    .ob-search input::placeholder { color: var(--text-light); }

    /* Category Tabs */
    .ob-tabs-wrap {
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .ob-tabs-arrow {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: var(--white);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-primary);
      transition: all 0.2s;
    }
    .ob-tabs-arrow:hover {
      border-color: var(--text-light);
      background: var(--bg);
    }
    .ob-tabs-arrow.hidden {
      opacity: 0;
      pointer-events: none;
    }
    .ob-tabs {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 2px;
    }
    .ob-tabs::-webkit-scrollbar { display: none; }
    .ob-tab {
      flex-shrink: 0;
      padding: 8px 16px;
      border-radius: 100px;
      font-family: var(--font);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-primary);
      transition: all 0.2s;
      white-space: nowrap;
    }
    .ob-tab:hover { border-color: var(--text-light); }
    .ob-tab.active {
      background: var(--primary);
      border-color: var(--primary);
      color: #fff;
      font-weight: 600;
    }

    /* Step 5 overrides — interest picker flows naturally, parent scrolls */
    .ob-content:has(#ob-step-5.active) {
      flex: 0 0 auto;
      width: 600px;
    }
    #ob-step-5 .ob-spacer { display: none; }
    #ob-step-5 .ob-bottom {
      position: sticky;
      bottom: 0;
      background: var(--bg);
      padding-bottom: 8px;
      border-top: 1px solid #E5E4E1;
      z-index: 1;
    }

    /* Interest Pills Container */
    .ob-pills-scroll {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    /* Category Group */
    .ob-cat-group { display: flex; flex-direction: column; gap: 8px; }
    .ob-cat-label {
      font-family: var(--font);
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      letter-spacing: 0.5px;
    }

    /* Pill rows */
    .ob-pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

    /* Individual pill */
    .ob-pill {
      padding: 8px 14px;
      border-radius: 100px;
      font-family: var(--font);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      border: 1px solid var(--border);
      background: var(--white);
      color: var(--text-primary);
      transition: all 0.15s;
      white-space: nowrap;
    }
    .ob-pill:hover { border-color: var(--text-light); }
    .ob-pill.selected {
      background: var(--primary-light);
      border-color: var(--primary);
      color: #3D5020;
      font-weight: 600;
    }

    /* Confirmation */
    .ob-confirm {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
      text-align: center;
    }

    .ob-bell-circle {
      width: 96px;
      height: 96px;
      border-radius: 50%;
      background: var(--primary-light);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ob-confirm-title {
      font-size: 32px;
      font-weight: 600;
      color: #1A1918;
      letter-spacing: -0.5px;
    }

    .ob-confirm-body {
      font-size: 16px;
      color: #6D6C6A;
      line-height: 1.6;
      max-width: 380px;
    }

    .ob-position-pill {
      background: var(--white);
      border-radius: 20px;
      padding: 8px 16px;
      font-size: 14px;
      font-weight: 500;
      color: #6D6C6A;
    }

    .ob-btn-done {
      width: 280px;
      height: 52px;
      background: var(--primary);
      color: var(--white);
      border-radius: 14px;
      border: none;
      font-family: var(--font);
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: opacity 0.2s;
    }

    .ob-btn-done:hover { opacity: 0.9; }

    .ob-share-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      padding-bottom: 24px;
      width: 100%;
    }

    .ob-share-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: 44px;
      padding: 0 24px;
      border-radius: 100px;
      font-family: var(--font);
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      border: none;
      transition: opacity 0.2s;
    }

    .ob-share-btn:hover { opacity: 0.9; }

    .ob-share-copy {
      background: transparent;
      border: 1.5px solid #D4D2CE;
      color: var(--primary);
    }

    .ob-share-share {
      background: var(--primary);
      color: var(--white);
    }

    @media (max-width: 768px) {
      .ob-modal {
        flex-direction: column;
        height: 100vh;
        border-radius: 0;
      }

      .ob-left {
        display: none;
      }

      .ob-right {
        padding: 24px;
      }

      .ob-progress {
        width: 100%;
      }

      .ob-content,
      .ob-content:has(#ob-step-5.active) {
        width: 100%;
      }

      .ob-tabs-arrow {
        display: none;
      }

      .ob-btn-continue,
      .ob-btn-done {
        width: 100%;
      }

      .ob-confirm-title {
        font-size: 24px;
      }

      .ob-confirm-body {
        font-size: 14px;
      }
    }