/* Divine Blessed Couple — member area */
.dbc-member { max-width: 960px; margin: 0 auto; color: #302329; }
.dbc-member h2 { font-family: Georgia, serif; color: #401323; margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: left; max-width: none; }
.dbc-member h3 { margin: 0 0 14px; color: #401323; font-size: 1.15rem; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dbc-muted { color: #6c6268; }
.dbc-small { font-size: .88rem; }
.dbc-card, .dbc-hero-card { background: #fff; border: 1px solid #eadde0; border-radius: 16px; padding: 22px 24px; margin-bottom: 18px; }
.dbc-hero-card { display: flex; gap: 24px; align-items: center; background: linear-gradient(120deg, #fffaf2, #f8eeee); }
.dbc-hero-body { flex: 1; min-width: 0; }
.dbc-hero-body p { margin: 4px 0; }
.dbc-avatar { display: block; object-fit: cover; border-radius: 14px; background: #f5e8e8; }
.dbc-avatar-lg { width: 150px; height: 150px; flex: 0 0 150px; border: 3px solid #fff; box-shadow: 0 8px 24px rgba(65,19,35,.12); }
.dbc-avatar-card { width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: 12px 12px 0 0; }
.dbc-avatar-placeholder { display: grid; place-items: center; align-content: center; gap: 4px; color: #651e35; text-align: center; }
.dbc-avatar-placeholder span { font: 700 2.6rem/1 Georgia, serif; }
.dbc-avatar-placeholder small { font-size: .75rem; color: #6c6268; }
.dbc-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; margin: 6px 0; }
.dbc-badge-ok { background: #e6f4e7; color: #23602a; }
.dbc-badge-wait { background: #fff3dc; color: #8a5300; }
.dbc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dbc-btn { display: inline-block; padding: 11px 22px; border-radius: 999px; background: #651e35; color: #fff !important; font-weight: 700; text-decoration: none !important; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.dbc-btn:hover { background: #401323; }
.dbc-btn-light { background: #f3e6c8; color: #432b16 !important; }
.dbc-btn-light:hover { background: #e8d6a8; }
.dbc-btn-small { padding: 8px 16px; font-size: .9rem; }
.dbc-edit-link { font-size: .9rem; font-weight: 600; }
.dbc-alert { padding: 12px 16px; border-radius: 10px; background: #fff7e6; border-left: 4px solid #bd9852; margin-bottom: 16px; }
.dbc-alert-success { background: #eef8ee; border-left-color: #37833b; }
.dbc-dl { margin: 0; }
.dbc-dl-row { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f1e8ea; }
.dbc-dl-row:last-child { border-bottom: 0; }
.dbc-dl dt { color: #6c6268; }
.dbc-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.dbc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 10px; }
.dbc-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.dbc-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; align-items: end; background: #fff; border: 1px solid #eadde0; border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.dbc-filters label { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; font-weight: 600; }
.dbc-filters input, .dbc-filters select { padding: 9px 10px; border: 1px solid #cdbfc0; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; width: 100%; box-sizing: border-box; }
.dbc-filter-actions { display: flex; align-items: center; gap: 12px; }
.dbc-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.dbc-result { background: #fff; border: 1px solid #eadde0; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.dbc-result-photo { display: block; }
.dbc-result-body { padding: 14px 16px 16px; }
.dbc-result-body h3 { margin: 0 0 4px; font-size: 1.1rem; }
.dbc-result-body h3 a { text-decoration: none; color: #401323; }
.dbc-result-body p { margin: 4px 0; font-size: .92rem; }
.dbc-pager { display: flex; gap: 6px; justify-content: center; margin: 24px 0; }
.dbc-pager a { padding: 6px 12px; border: 1px solid #eadde0; border-radius: 8px; text-decoration: none; }
.dbc-pager a.is-current { background: #651e35; color: #fff; border-color: #651e35; }
.dbc-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; }
.dbc-table th, .dbc-table td { text-align: left; padding: 8px; border-bottom: 1px solid #f1e8ea; }
.dbc-table td:last-child, .dbc-table th:last-child { text-align: right; }
@media (max-width: 640px) {
  .dbc-hero-card { flex-direction: column; text-align: center; }
  .dbc-actions { justify-content: center; }
  .dbc-dl-row { grid-template-columns: 1fr; gap: 2px; }
  .dbc-card, .dbc-hero-card { padding: 18px; }
  .dbc-gallery { grid-template-columns: repeat(2, 1fr); }
}
/* Search & membership */
.dbc-lock { font-size: .65rem; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: #fff3dc; color: #8a5300; font-weight: 700; vertical-align: middle; }
.dbc-filters input:disabled, .dbc-filters select:disabled { background: #f4f1ee; color: #9a8f93; cursor: not-allowed; }
.dbc-upgrade { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.dbc-badge-gold { background: linear-gradient(90deg, #f6e3a8, #e0b85a); color: #4a3200; }
.dbc-badge-silver { background: linear-gradient(90deg, #eef0f3, #cfd4db); color: #33393f; }
.dbc-result-featured { border-color: #d9b964; box-shadow: 0 6px 20px rgba(189,152,82,.18); }
.dbc-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 16px; margin-bottom: 18px; }
.dbc-plan { background: #fff; border: 1px solid #eadde0; border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; }
.dbc-plan h3 { margin-bottom: 6px; }
.dbc-plan.is-current { outline: 2px solid #651e35; }
.dbc-plan-gold { border-color: #d9b964; background: linear-gradient(180deg, #fffaf0, #fff); }
.dbc-plan-silver { background: linear-gradient(180deg, #f7f8fa, #fff); }
.dbc-plan-price { margin: 0 0 12px; }
.dbc-plan-price strong { font: 700 2rem/1.1 Georgia, serif; color: #401323; }
.dbc-plan-price span { color: #6c6268; font-size: .9rem; }
.dbc-plan ul { margin: 0 0 18px; padding-left: 18px; flex: 1; font-size: .92rem; }
.dbc-plan li { margin-bottom: 6px; }
.dbc-btn-disabled { opacity: .7; cursor: default; text-align: center; }
.dbc-plan .dbc-btn { text-align: center; }
.dbc-pay-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.dbc-pay-form input, .dbc-pay-form textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #cdbfc0; border-radius: 8px; font: inherit; }
.dbc-form-errors { padding: 12px 16px; margin-bottom: 16px; background: #fff0f0; border-left: 4px solid #b42318; border-radius: 6px; }
.dbc-result-photo, .dbc-result-photo:hover { text-decoration: none; }
.dbc-plan { padding: 20px 16px; }

/* ===== Connections, chat, smart match ===== */
.dbc-badge-match { background: #651e35; color: #fff; }
.dbc-inline-form { display: inline-block; margin: 0; }
.dbc-link-btn { background: none; border: 0; padding: 6px 4px; color: #651e35; text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.dbc-member-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.dbc-member-actions .dbc-badge { margin: 0; }
.dbc-more-actions { position: relative; }
.dbc-more-actions summary { cursor: pointer; list-style: none; padding: 8px 14px; border-radius: 999px; background: #f4ece6; font-size: .9rem; font-weight: 600; }
.dbc-more-actions summary::-webkit-details-marker { display: none; }
.dbc-more-body { position: absolute; z-index: 20; right: 0; top: 110%; width: 280px; background: #fff; border: 1px solid #eadde0; border-radius: 12px; padding: 12px; box-shadow: 0 12px 30px rgba(65,19,35,.15); text-align: left; }
.dbc-more-body form { display: block; margin-bottom: 8px; }
.dbc-more-body label { display: block; font-size: .85rem; font-weight: 600; margin: 6px 0; }
.dbc-more-body select, .dbc-more-body textarea { width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid #cdbfc0; border-radius: 8px; font: inherit; font-weight: 400; margin-top: 4px; }
.dbc-why ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.dbc-why li { padding-left: 26px; position: relative; }
.dbc-why li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.dbc-why li.is-good::before { content: "✓"; color: #2e7d32; }
.dbc-why li.is-miss::before { content: "•"; color: #b26a00; }
.dbc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.dbc-stat { background: #fff; border: 1px solid #eadde0; border-radius: 14px; padding: 14px; text-align: center; text-decoration: none; color: #302329; }
.dbc-stat strong { display: block; font: 700 1.8rem/1.1 Georgia, serif; color: #651e35; }
.dbc-stat span { font-size: .85rem; color: #6c6268; }
.dbc-stat:hover { border-color: #d9b964; }
.dbc-pref-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; margin-top: 8px; }
.dbc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.dbc-tabs a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #eadde0; text-decoration: none; color: #401323; font-weight: 600; font-size: .92rem; }
.dbc-tabs a.is-active { background: #651e35; border-color: #651e35; color: #fff; }
.dbc-mini-list { display: grid; gap: 10px; }
.dbc-mini { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #eadde0; border-radius: 14px; padding: 12px; }
.dbc-mini-photo { flex: 0 0 auto; text-decoration: none; }
.dbc-avatar-sm { width: 64px; height: 64px; border-radius: 12px; }
.dbc-avatar-sm.dbc-avatar-placeholder span { font-size: 1.5rem; }
.dbc-avatar-sm.dbc-avatar-placeholder small { display: none; }
.dbc-avatar-xs { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px; }
.dbc-avatar-xs.dbc-avatar-placeholder span { font-size: 1.1rem; }
.dbc-avatar-xs.dbc-avatar-placeholder small { display: none; }
.dbc-mini-body { flex: 1; min-width: 0; }
.dbc-mini-body h3 { margin: 0; font-size: 1.02rem; }
.dbc-mini-body h3 a { text-decoration: none; color: #401323; }
.dbc-mini-body p { margin: 2px 0 4px; font-size: .88rem; }
.dbc-mini-body .dbc-badge { margin: 0; }
.dbc-mini-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; }
/* Chat */
.dbc-chat { display: grid; grid-template-columns: 280px 1fr; min-height: 520px; background: #fff; border: 1px solid #eadde0; border-radius: 16px; overflow: hidden; }
.dbc-chat-list { border-right: 1px solid #f1e8ea; padding: 14px; overflow-y: auto; max-height: 640px; }
.dbc-chat-list h3 { font-size: 1rem; margin: 0 0 10px; }
.dbc-chat-person { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; text-decoration: none; color: #302329; }
.dbc-chat-person span { flex: 1; min-width: 0; }
.dbc-chat-person strong { display: block; font-size: .95rem; }
.dbc-chat-person small { display: block; color: #6c6268; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbc-chat-person.is-active, .dbc-chat-person:hover { background: #f8eef0; }
.dbc-chat-thread { display: flex; flex-direction: column; min-width: 0; }
.dbc-chat-empty { margin: auto; }
.dbc-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #f1e8ea; }
.dbc-chat-head a { text-decoration: none; color: #401323; }
.dbc-chat-back { display: none; font-size: 1.2rem; }
.dbc-chat-messages { flex: 1; padding: 18px; overflow-y: auto; max-height: 480px; display: flex; flex-direction: column; gap: 8px; background: #fffaf6; }
.dbc-chat-tip { text-align: center; }
.dbc-bubble { max-width: 75%; align-self: flex-start; background: #fff; border: 1px solid #eadde0; border-radius: 14px 14px 14px 4px; padding: 8px 12px; }
.dbc-bubble.is-mine { align-self: flex-end; background: #651e35; color: #fff; border-color: #651e35; border-radius: 14px 14px 4px 14px; }
.dbc-bubble p { margin: 0; overflow-wrap: anywhere; }
.dbc-bubble time { display: block; font-size: .7rem; opacity: .7; margin-top: 2px; }
.dbc-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #f1e8ea; }
.dbc-chat-form textarea { flex: 1; padding: 10px; border: 1px solid #cdbfc0; border-radius: 12px; font: inherit; resize: vertical; }
.dbc-chat-locked { padding: 12px 18px; margin: 0; border-top: 1px solid #f1e8ea; }
.dbc-check { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.dbc-check input { width: auto !important; margin-top: 4px; }
@media (max-width: 760px) {
  .dbc-stats { grid-template-columns: repeat(2, 1fr); }
  .dbc-chat { grid-template-columns: 1fr; }
  .dbc-chat.has-thread .dbc-chat-list { display: none; }
  .dbc-chat:not(.has-thread) .dbc-chat-thread { display: none; }
  .dbc-chat-back { display: inline; }
  .dbc-mini { flex-wrap: wrap; }
  .dbc-mini-actions { width: 100%; justify-content: flex-start; }
  .dbc-more-body { right: auto; left: 0; }
}

.dbc-member .dbc-btn.dbc-btn-light, .dbc-member button.dbc-btn-light { background: #f3e6c8; color: #432b16 !important; }
.dbc-member .dbc-btn.dbc-btn-light:hover { background: #e8d6a8; }

/* Account */
.dbc-btn-danger { background: #b42318 !important; color: #fff !important; }
.dbc-btn-danger:hover { background: #8f1c13 !important; }
.dbc-delete { margin-top: 14px; border-top: 1px solid #f1e8ea; padding-top: 12px; }
.dbc-delete summary { cursor: pointer; color: #b42318; font-weight: 600; }
.dbc-delete form { display: grid; gap: 10px; max-width: 360px; width: 100%; margin-top: 10px; }
.dbc-delete label { display: grid; gap: 4px; font-size: .9rem; }
.dbc-delete input, .dbc-delete select, .dbc-delete textarea { width: 100%; box-sizing: border-box; padding: 9px; border: 1px solid #cdbfc0; border-radius: 8px; font: inherit; background: #fff; }
.dbc-delete .dbc-alert form { display: block; margin-top: 8px; max-width: none; }
.dbc-delete .dbc-alert { margin-top: 10px; }
.dbc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 999; max-width: min(92vw, 560px); background: #401323; color: #fff; padding: 14px 18px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); text-align: center; }

/* Mobile number: country code + number */
.dbc-phone { display: flex; gap: 8px; }
.dbc-registration-form .dbc-phone select { width: auto; flex: 0 0 46%; max-width: 230px; min-width: 0; }
.dbc-registration-form .dbc-phone input { flex: 1 1 auto; min-width: 0; }

/* Founding member badge */
.dbc-badge-founding { background: linear-gradient(90deg, #401323, #651e35); color: #f3d79b; border: 1px solid #bd9852; }

/* Homepage: sample profiles + founding members */
.dbc-samples-section { padding: 80px 0; background: #fff; text-align: center; }
.dbc-samples-section h2 { max-width: none; text-align: center; margin-left: auto !important; margin-right: auto !important; font-family: Georgia, serif; font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: #401323; margin: 0 0 8px; font-weight: normal; }
.dbc-samples-note { color: #6c6268; margin: 0 auto 34px; max-width: 640px; }
.dbc-sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; }
.dbc-sample-card { position: relative; background: #fffaf2; border: 2px dashed #d9c3a0; border-radius: 18px; padding: 28px 22px 22px; overflow: hidden; }
.dbc-sample-ribbon { position: absolute; top: 14px; right: -38px; transform: rotate(35deg); background: #bd9852; color: #401323; font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 5px 44px; }
.dbc-sample-avatar { width: 92px; height: 92px; display: block; margin-bottom: 14px; }
.dbc-sample-card h3 { margin: 0 0 4px; font-family: Georgia, serif; color: #651e35; font-size: 1.15rem; }
.dbc-sample-meta { margin: 0; color: #6c6268; font-size: .92rem; }
.dbc-sample-tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dbc-sample-tags li { background: #f5e8e8; color: #401323; border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 600; }
.dbc-sample-tags li.is-match { background: #651e35; color: #fff; }
.dbc-founding-box { margin: 44px auto 0; max-width: 620px; background: #fffaf2; border: 1px solid #eadde0; border-radius: 18px; padding: 30px 24px; }
.dbc-founding-box h3 { font-family: Georgia, serif; color: #401323; font-size: 1.45rem; margin: 10px 0 6px; font-weight: normal; }
.dbc-founding-box p { margin: 0 0 10px; }
.dbc-founding-left { color: #651e35; }
@media (max-width: 860px) { .dbc-sample-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } .dbc-samples-section { padding: 60px 0; } }

/* Community tag on profiles */
.dbc-community-tag { display: inline-block; margin: 4px 0 0; background: #f5e8e8; color: #651e35; border-radius: 999px; padding: 3px 12px; font-size: .85rem; font-weight: 600; }

/* ---- Registration wizard (Phase 2) ---- */
.dbc-reg-intro { color: var(--dbc-muted, #6c6268); margin: 0 0 18px; }
.dbc-registration-form fieldset.dbc-step { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.dbc-registration-form .dbc-step legend { font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; padding: 0; color: var(--dbc-burgundy, #651e35); }
.dbc-registration-form .dbc-step legend span[lang=hi] { display: block; font-weight: 500; font-size: .95rem; color: var(--dbc-muted, #6c6268); }
.dbc-wizard .dbc-step { display: none; }
.dbc-wizard .dbc-step.is-active { display: block; animation: dbcStepIn .22s ease-out; }
@keyframes dbcStepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.dbc-wizard .dbc-step legend { font-size: 1.45rem; line-height: 1.3; }
.dbc-reg-progress { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 12px; margin: 0 0 22px; }
.dbc-reg-progress[hidden] { display: none; }
.dbc-reg-back { background: none !important; color: var(--dbc-burgundy, #651e35) !important; border: 0; padding: 4px 0 !important; min-height: 0 !important; font-weight: 600; cursor: pointer; }
.dbc-reg-count { justify-self: end; font-size: .85rem; color: var(--dbc-muted, #6c6268); }
.dbc-reg-bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: #eadde0; overflow: hidden; }
.dbc-reg-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #bd9852, #651e35); transition: width .3s; }
.dbc-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dbc-choices-2 { grid-template-columns: 1fr 1fr; }
.dbc-choice { position: relative; display: block; margin: 0 !important; cursor: pointer; }
.dbc-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; pointer-events: none; }
.dbc-choice span { display: block; padding: 14px 14px; border: 1.5px solid #e1d3d6; border-radius: 14px; background: #fff; font-weight: 600; text-align: center; transition: border-color .15s, background .15s; }
.dbc-choice span small { display: block; font-weight: 500; color: var(--dbc-muted, #6c6268); margin: 2px 0 0 !important; }
.dbc-choice:hover span { border-color: #bd9852; }
.dbc-choice input:checked + span { border-color: #651e35; background: #f5e8e8; box-shadow: inset 0 0 0 1px #651e35; }
.dbc-choice input:focus-visible + span { outline: 2px solid #bd9852; outline-offset: 2px; }
.dbc-step-invalid .dbc-choice span { border-color: #b3261e; }
.dbc-step-note { font-size: .9rem; color: var(--dbc-muted, #6c6268); margin-top: 12px !important; }
.dbc-age-out.is-bad { color: #b3261e !important; font-weight: 600; }
.dbc-inline { display: inline !important; font-weight: 400; }
.dbc-pass-wrap { display: flex; gap: 8px; }
.dbc-pass-wrap input { flex: 1 1 auto; min-width: 0; }
.dbc-registration-form .dbc-pass-toggle { min-height: 0; padding: 0 16px; border-radius: 10px; background: #f5e8e8; color: #651e35; font-weight: 600; }
.dbc-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.dbc-consent input { margin: 5px 0 0 !important; flex: 0 0 auto; }
.dbc-reg-next-wrap[hidden] { display: none; }
.dbc-registration-form .dbc-reg-next, .dbc-registration-form .dbc-reg-submit { width: 100%; font-size: 1.05rem; }
.dbc-reg-login { text-align: center; color: var(--dbc-muted, #6c6268); }
.dbc-wizard input:not([type=checkbox]):not([type=radio]), .dbc-wizard select { font-size: 1.05rem; padding: 13px 14px; }
@media (max-width: 480px) { .dbc-choices { grid-template-columns: 1fr 1fr; } .dbc-wizard .dbc-step legend { font-size: 1.3rem; } }

/* ---- Phase 4 ---- */
/* Member menu */
.dbc-mnav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 20px; padding: 8px; background: #fff; border: 1px solid #eadde0; border-radius: 16px; }
.dbc-mnav-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; min-width: 0; flex: 1 1 auto; }
.dbc-mnav-links::-webkit-scrollbar { display: none; }
.dbc-mnav-links a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; color: #29242a; text-decoration: none; font-weight: 600; font-size: .92rem; }
.dbc-mnav-links a:hover { background: #f5e8e8; }
.dbc-mnav-links a.is-active { background: #651e35; color: #fff; }
.dbc-idsearch { display: flex; gap: 6px; flex: 0 1 260px; }
.dbc-idsearch input { flex: 1 1 auto; min-width: 0; padding: 7px 12px; border: 1px solid #cdbfc0; border-radius: 999px; font: inherit; font-size: .9rem; text-transform: uppercase; }
.dbc-idsearch input::placeholder { text-transform: none; }
@media (max-width: 640px) { .dbc-idsearch { flex: 1 1 100%; } }

/* Bell */
.dbc-bell { position: relative; }
.dbc-bell summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #eadde0; color: #651e35; position: relative; background: #fff; }
.dbc-bell summary::-webkit-details-marker { display: none; }
.dbc-bell summary .nav-count { position: absolute; top: -4px; right: -6px; margin: 0; }
.dbc-bell-menu { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, 86vw); background: #fff; border: 1px solid #eadde0; border-radius: 14px; box-shadow: 0 18px 50px rgba(65,19,35,.15); padding: 14px 16px; z-index: 50; }
.dbc-bell-menu ul { list-style: none; margin: 8px 0 0; padding: 0; }
.dbc-bell-menu li + li { border-top: 1px solid #f1e7e9; }
.dbc-bell-menu a { display: block; padding: 9px 0; color: #29242a; text-decoration: none; }
.dbc-bell-menu a:hover { color: #651e35; }
.dbc-bell-menu p { margin: 8px 0 0; color: #6c6268; }

/* Activity counters */
.dbc-stats-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 760px) { .dbc-stats-6 { grid-template-columns: repeat(3, 1fr); } }
.dbc-stat.is-active { outline: 2px solid #651e35; }

/* Profile strength */
.dbc-strength { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 14px; background: #fffaf2; border: 1px solid #eadde0; flex: 0 1 300px; align-self: flex-start; }
.dbc-ring { --p: 0; flex: 0 0 78px; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#651e35 calc(var(--p) * 1%), #eadde0 0); }
.dbc-ring span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; font-weight: 800; color: #651e35; }
.dbc-strength-body p { margin: 4px 0 6px; }
.dbc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dbc-chips a { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #f5e8e8; color: #651e35; font-size: .82rem; font-weight: 600; text-decoration: none; }
.dbc-pv-code { margin: 2px 0 6px; color: #6c6268; font-size: .9rem; }
.dbc-pv-code strong { color: #651e35; letter-spacing: .5px; }
@media (max-width: 760px) { .dbc-strength { flex-basis: 100%; } }

/* Profile page v2 */
.dbc-pv-hero { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 28px; background: #fff; border: 1px solid #eadde0; border-radius: 22px; padding: 22px; margin-bottom: 18px; box-shadow: 0 18px 50px rgba(65,19,35,.06); }
.dbc-pv-photo { position: relative; }
.dbc-pv-img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.dbc-pv-photo .dbc-avatar-placeholder.dbc-pv-img { display: grid; place-items: center; align-content: center; background: #f5e8e8; color: #651e35; font-size: 4rem; height: auto; }
.dbc-pv-photo .dbc-avatar-placeholder small { font-size: .85rem; }
.dbc-pv-count { position: absolute; left: 10px; bottom: 10px; background: rgba(41,36,42,.75); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .82rem; text-decoration: none; }
.dbc-pv-info h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.dbc-pv-facts { list-style: none; margin: 12px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.dbc-pv-facts li { line-height: 1.4; }
.dbc-pv-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.dbc-pv-badges a.dbc-badge { text-decoration: none; }
.dbc-pv-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; background: #fffaf2; padding: 8px 0; margin-bottom: 14px; border-bottom: 1px solid #eadde0; }
.dbc-pv-tabs[hidden] { display: none; }
.dbc-pv-tabs a { flex: 1; text-align: center; padding: 10px; border-radius: 12px; font-weight: 700; text-decoration: none; color: #6c6268; }
.dbc-pv-tabs a.is-active { background: #651e35; color: #fff; }
.dbc-pv-panel[hidden] { display: none; }
.dbc-prefmatch ul { list-style: none; margin: 0; padding: 0; }
.dbc-prefmatch li { display: grid; grid-template-columns: 120px 1fr 32px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1e7e9; }
.dbc-pm-label { color: #6c6268; font-size: .9rem; }
.dbc-pm-want { font-weight: 600; }
.dbc-pm-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; }
.dbc-prefmatch .is-good .dbc-pm-mark { background: #e3f1e6; color: #1e6b34; }
.dbc-prefmatch .is-miss .dbc-pm-mark { background: #fbe4e4; color: #b3261e; }
.dbc-prefmatch .is-unknown .dbc-pm-mark { background: #f1ede8; color: #6c6268; }
.dbc-sticky-bar { display: none; }
.dbc-sticky-note { align-self: center; font-weight: 700; color: #1e6b34; padding: 0 6px; }
.dbc-btn.is-disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 760px) {
  .dbc-pv-hero { grid-template-columns: 1fr; padding: 14px; gap: 14px; }
  .dbc-pv-img { aspect-ratio: 1 / 1; }
  .dbc-pv-facts { grid-template-columns: 1fr; }
  .dbc-profile-v2 { padding-bottom: 76px; }
  .dbc-sticky-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #eadde0; box-shadow: 0 -8px 24px rgba(65,19,35,.08); }
  .dbc-sticky-bar > * { flex: 1 1 0; }
  .dbc-sticky-bar form, .dbc-sticky-bar form button { width: 100%; }
  .dbc-sticky-bar .dbc-btn { width: 100%; justify-content: center; text-align: center; padding-left: 6px; padding-right: 6px; font-size: .92rem; }
}

/* Settings */
.dbc-check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; font-weight: 500; }
.dbc-check input { margin-top: 5px; }
.dbc-settings-form label:not(.dbc-check) { display: block; font-weight: 600; margin-bottom: 4px; }
.dbc-settings-form input[type=password] { width: 100%; max-width: 360px; padding: 10px 12px; border: 1px solid #cdbfc0; border-radius: 10px; font: inherit; }
.dbc-settings-form small { display: block; }
.dbc-hero-card { flex-wrap: wrap; } .dbc-hero-card .dbc-hero-body { flex: 1 1 320px; }
.dbc-hero-card .dbc-strength { flex: 1 1 100%; }
.dbc-hero-card .dbc-strength-body { text-align: left; }
.dbc-pv-facts small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; color: #9a8c90; font-weight: 600; }
.dbc-pv-photo { align-self: start; }

/* Phase 1 leftovers */
.dbc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.dbc-chip { display: inline-block; padding: 7px 14px; border: 1px solid #d9c3c8; border-radius: 999px; background: #fff; color: #76283b; font-size: .88rem; text-decoration: none; }
.dbc-chip.is-on { background: #76283b; color: #fff; border-color: #76283b; }
.dbc-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dbc-card-actions .dbc-inline-form { margin: 0; }
.dbc-bio-helper { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.dbc-bio-count { font-size: .85rem; color: #9a5a00; }
.dbc-bio-count.is-ok { color: #2f6f33; }
.dbc-wizard .dbc-bio-tpl { padding: 7px 12px; font-size: .85rem; background: #e8d6a8; color: #432b16; }
.dbc-photo-tips { background: #fbf4e4; border: 1px solid #eadcb8; border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; font-size: .9rem; font-weight: 400; }
.dbc-photo-tips ul { margin: 6px 0 0 18px; padding: 0; }
.dbc-celebrate { max-width: 850px; margin: 24px auto 0; padding: 22px; text-align: center; background: linear-gradient(135deg, #fff7e0, #fde9ec); border: 1px solid #eadcb8; border-radius: 16px; }
.dbc-celebrate h2 { color: #76283b; margin: 6px 0 8px; }
.dbc-celebrate-icon { font-size: 2.4rem; }
.dbc-celebrate ul { display: inline-block; text-align: left; margin: 4px 0 8px; }
.dbc-celebrate-id { margin: 8px 0 0; color: #6b5b60; }
