/* Professional profile, account, photo and post surfaces. */
.profile-hero {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto 24px;
    padding: 30px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.profile-hero .profile-picture { margin: 0; }
.profile-hero .profile-picture img {
    width: 190px;
    height: 190px;
    border: 5px solid #fff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(82, 40, 65, .16);
}

.profile-hero .profile-details { margin: 0; }
.profile-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--rose-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.profile-details h1 {
    margin: 0 0 16px;
    color: var(--plum);
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    line-height: 1.1;
}

.profile-meta { display: flex; gap: 10px; margin: 8px 0; }
.profile-meta .info { min-width: 44px; color: var(--muted); font-size: 13px; }
.profile-meta .personal-detail { color: var(--ink); font-size: 14px; font-weight: 500; }
.profile-hero #details {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.profile-hero #details span { margin: 0 5px 0 0; }
.profile-hero #details .info { color: var(--muted); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.profile-hero #details .personal-detail { color: var(--plum); font-size: 16px; }

.buttons-container { margin: 0 auto 24px; }
.links { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.links form { margin: 0; }
.links button, .links .view, .links .follow {
    min-width: auto;
    padding: 9px 14px;
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
}
.links button:hover, .links .view:hover { color: var(--rose-dark); background: #fff6f8; border-color: #e8b8c4; }
.links button[style] { color: #fff !important; background: var(--plum) !important; border-color: var(--plum); }
.short-hr { display: none; }

.edit-account-form {
    width: min(100%, 620px);
    margin: 0 auto;
    padding: 32px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.edit-account-form h2 { margin: 0 0 7px; color: var(--plum); font-family: 'Playfair Display', serif; font-size: 32px; text-align: left; }
.account-lead { margin: 0 0 25px; color: var(--muted); font-size: 14px; }
.edit-account-form .input-container { display: block; margin: 0 0 18px; }
.edit-account-form .account-name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.account-field label, .photo-upload-field p { display: block; margin: 0 0 6px; color: #655967; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.account-field input { width: 100%; margin: 0; }
.photo-upload-field .custom-file-upload { display: flex; align-items: center; gap: 8px; padding: 12px 14px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.account-actions .edit-button, .account-actions .change-password-button, .account-actions .delete-account-button { width: auto; margin: 0; padding: 11px 15px; border-radius: 9px; font-size: 13px; font-weight: 700; text-decoration: none; }
.account-actions .edit-button { color: #fff; background: var(--rose); }
.account-actions .change-password-button { color: var(--plum); background: #f8edf2; }
.account-actions .delete-account-button { color: #a93850; background: #fff4f5; }
.account-actions .edit-button:hover { background: var(--rose-dark); }
.account-actions .change-password-button:hover { background: #eee0e7; }
.account-actions .delete-account-button:hover { color: #fff; background: #b74b60; }

.photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-grid .feed-picture { display: block; }
.photo-grid .photo-container {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f5edf1;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(67, 35, 57, .07);
}
.photo-grid .feed-picture img { width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; object-fit: cover; transition: transform .3s ease; }
.photo-grid .photo-container:hover img { transform: scale(1.045); }
.icons-container { position: absolute; top: 10px; right: 10px; display: flex; gap: 7px; }
.delete-icon, .tick-icon { position: static; display: grid; width: 32px; height: 32px; place-items: center; color: #fff; background: rgba(49, 31, 46, .76); border-radius: 50%; backdrop-filter: blur(6px); }
.delete-icon:hover { color: #fff; background: #b64056; }
.tick-icon:hover { color: #fff; background: #52946a; }

.post-box { width: min(100%, 650px); padding: 24px; background: #fff; }
.post-details { gap: 12px; }
.post-box .description { color: #3f3541; font-size: 16px; line-height: 1.65; }
.thumbnail { width: 100%; border-color: var(--line); border-radius: 14px; }
.comment-container { margin: 12px 0; padding: 15px; background: #fbf6f8; border: 1px solid #f0e4e9; border-radius: 14px; }
.comment-area h3 { color: var(--plum); font-family: 'Playfair Display', serif; }

@media (max-width: 767px) {
    .profile-hero { grid-template-columns: 1fr; gap: 18px; padding: 22px; text-align: center; }
    .profile-hero .profile-picture img { width: 132px; height: 132px; }
    .profile-meta, .profile-hero #details, .links { justify-content: center; }
    .profile-details h1 { font-size: 31px; }
    .edit-account-form { padding: 24px 18px; }
    .edit-account-form .account-name-fields { grid-template-columns: 1fr; gap: 0; }
    .account-actions { flex-direction: column; }
    .account-actions .edit-button, .account-actions .change-password-button, .account-actions .delete-account-button { width: 100%; text-align: center; }
    .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .post-box { padding: 17px; }
}

/* Shared signed-in product language */
.page-heading { margin: 4px 0 26px; }
.page-heading .eyebrow { margin-bottom: 7px; }
.page-heading h1 { margin: 0 0 6px; color: var(--plum); font-family: 'Playfair Display', serif; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.8px; }
.page-heading p { max-width: 510px; margin: 0; color: var(--muted); font-size: 14px; }

img[src*="default-user.png"] {
    content: url("/media/app/default-user-professional.svg");
    background: linear-gradient(135deg, #f8dde4, #d7c3e5);
}

.mini-profile-picture, .user-photo img, .participant-photo { border: 2px solid #fff; box-shadow: 0 3px 10px rgba(70, 36, 61, .14); }
.online-indicator { width: 9px; height: 9px; background: #4caa72; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(76,170,114,.22); }
.notification-badge { min-width: 17px; padding: 2px 5px; background: var(--rose); border: 2px solid #31242f; box-shadow: none; font-size: 10px; }

.messages-container { width: min(100%, 680px); margin: 0 auto; }
.old-message, .new-message {
    width: 100%;
    margin: 0 0 12px;
    padding: 15px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 7px 20px rgba(67,35,57,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.old-message:hover, .new-message:hover { background: #fff; box-shadow: 0 12px 28px rgba(67,35,57,.11); transform: translateY(-2px); }
.new-message { border-color: #eab8c5; background: #fff9fb; }
.new-message::before, .group-new-message::before { width: 8px; height: 8px; background: var(--rose); box-shadow: 0 0 0 4px #fff2f5; }
.user-photo img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.message-content { padding-left: 12px; }.message-content .user-name { margin: 0 0 4px; color: var(--plum); font-size: 16px; }.message-text p { margin: 0; color: #615662; font-size: 14px; }.message-status, .old-message small, .new-message small { color: #9a8f99; font-size: 12px; }

.room-box { width: min(100%, 660px); margin: 0 auto 14px; padding: 20px; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(67,35,57,.07); }
.room-box.group-new-message { background: #fff8fa; border-color: #eab8c5; }.room-header { margin-bottom: 14px; }.room-name h3 { margin: 0; color: var(--plum); font-family: 'Playfair Display', serif; font-size: 22px; }.room-topic { margin: 8px 0 17px; color: var(--muted); font-size: 14px; }.join-button { width: auto; padding: 10px 20px; background: var(--plum); border-radius: 9px; font-size: 13px; font-weight: 700; }.join-button:hover { background: var(--rose-dark); }.dropdown-rooms button { color: var(--rose-dark); background: #fff6f8; border-radius: 8px; }

.notification-container { width: min(100%, 680px); margin: 0 auto; padding: 0; background: transparent; border: 0; box-shadow: none; }.notification-container .old-notification, .notification-container .new-notification { width: 100%; margin: 0 0 12px; padding: 15px; background: rgba(255,255,255,.93); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 7px 20px rgba(67,35,57,.06); }.notification-container .new-notification { border-color: #eab8c5; background: #fff8fa; }.notification-container .new-notification::before { width: 8px; height: 8px; top: 17px; right: 17px; background: var(--rose); }.notification-container .old-notification:hover, .notification-container .new-notification:hover { background: #fff; }

.chat-header { width: min(100%, 720px); margin: 0 auto 14px; padding: 16px 18px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 7px 20px rgba(67,35,57,.06); }.chat-log { width: min(100%, 720px); margin: 0 auto; padding: 8px; }.message-container { max-width: 74%; padding: 11px 14px; border-radius: 16px; word-break: break-word; }.sender-message { color: #fff; background: var(--plum); border-bottom-left-radius: 5px; }.receiver-message { color: #493f4b; background: #f3edf2; border-bottom-right-radius: 5px; }.type-send { width: min(100%, 720px); margin: 14px auto 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 7px 18px rgba(67,35,57,.05); }.item-send { color: #fff; background: var(--rose); border-radius: 10px; }.item-send:hover { background: var(--rose-dark); }

.modal-content, .confirmation-modal-content { width: min(92%, 460px); margin: 12vh auto; padding: 25px; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 55px rgba(44,25,40,.25); }.close { color: var(--rose); }.spinner { border-color: #f1d4dc; border-top-color: var(--rose); }
.search-error, .result-box { position: static; height: auto; padding: 28px; background: rgba(255,255,255,.93); border-color: var(--line); border-radius: 18px; box-shadow: var(--shadow); transform: none; }.result-box h1, .search-error h1 { margin: 0; font-size: 24px; }

@media (max-width: 767px) {
    .page-heading { margin: 2px 3px 20px; }.page-heading h1 { font-size: 30px; }
    .old-message, .new-message, .room-box { padding: 13px; border-radius: 14px; }.user-photo img { width: 46px; height: 46px; }.message-container { max-width: 86%; }.chat-header { padding: 13px; }.notification-container .old-notification, .notification-container .new-notification { padding: 13px; }
}

/* Desktop sidebar order: profile shortcuts above utility navigation on the left;
   online friends remain in their own right-side panel. */
@media (min-width: 768px) {
    .sidebar-left { left: 0; right: auto; border-right: 1px solid var(--line); border-left: 0; }
    .sidebar-right { top: 365px; right: auto; left: 0; height: calc(100vh - 365px); overflow-y: auto; border-right: 1px solid var(--line); border-left: 0; }
    .online-panel { position: fixed; top: 74px; right: 0; bottom: 0; width: 218px; padding: 16px 10px; background: rgba(255,253,254,.88); border-left: 1px solid var(--line); backdrop-filter: blur(16px); z-index: 100; overflow-y: auto; }
}

/* Dilvya dating discovery surfaces. These are intentionally original UI components,
   designed around the app's existing identity and member data. */
.main-content:has(.dating-workspace) { max-width: 1220px; margin: 0 auto; padding: 24px 18px 48px; }
.dating-workspace { width: 100%; }
.dating-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding: 14px 18px; background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(67,35,57,.05); }
.dating-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--plum); font-family: 'Playfair Display', serif; font-size: 23px; font-weight: 700; text-decoration: none; }.dating-brand:hover { color: var(--rose-dark); }.dating-brand small { color: var(--rose); font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.dating-brand-mark { display: grid; width: 35px; height: 35px; place-items: center; color: #fff; background: linear-gradient(135deg, #d3657e, #8c4d8c); border-radius: 12px; font-size: 15px; box-shadow: 0 6px 14px rgba(181, 73, 108, .25); }.dating-account { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }.dating-account img { width: 31px; height: 31px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(67,35,57,.16); }.dating-account a { color: var(--ink); text-decoration: none; }
.dating-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 28px; align-items: start; }.dating-nav { position: sticky; top: 92px; padding: 8px; background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 17px; }.dating-nav a { display: flex; align-items: center; gap: 11px; margin: 2px 0; padding: 10px 11px; color: #6c6270; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none; }.dating-nav a i { width: 17px; color: #aa94a9; text-align: center; }.dating-nav a:hover, .dating-nav a.active { color: var(--rose-dark); background: #fff0f4; }.dating-nav a.active i { color: var(--rose); }.dating-nav hr { margin: 10px 5px; border: 0; border-top: 1px solid var(--line); }.nav-count { margin-left: auto; min-width: 20px; padding: 1px 6px; color: #fff; background: var(--rose); border-radius: 999px; font-size: 10px; text-align: center; }.dating-note { display: flex; gap: 8px; margin: 14px 7px 5px; padding: 11px; color: #796c78; background: #f9f1f5; border-radius: 11px; font-size: 11px; line-height: 1.45; }.dating-note i { color: var(--rose); margin-top: 2px; }
.dating-page { min-width: 0; }.dating-page-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 6px 0 20px; }.dating-page-title .eyebrow { margin-bottom: 5px; }.dating-page-title h1 { margin: 0 0 4px; color: var(--plum); font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 40px); letter-spacing: -.8px; line-height: 1.1; }.dating-page-title p { margin: 0; color: var(--muted); font-size: 14px; }.dating-icon-button { display: grid; width: 40px; height: 40px; place-items: center; color: var(--rose-dark); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 5px 13px rgba(67,35,57,.06); text-decoration: none; }.dating-icon-button:hover { color: #fff; background: var(--rose); }
.discover-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }.discover-photo { position: relative; display: block; height: min(50vw, 410px); min-height: 290px; background: #f2eaf1; }.discover-photo::after { position: absolute; right: 0; bottom: 0; left: 0; height: 38%; background: linear-gradient(transparent, rgba(25,17,27,.55)); content: ''; }.discover-photo img { width: 100%; height: 100%; object-fit: cover; }.discover-online { position: absolute; bottom: 16px; left: 18px; z-index: 1; color: #fff; font-size: 12px; font-weight: 700; }.discover-online i { color: #61d280; margin-right: 5px; font-size: 9px; }.discover-body { padding: 23px 25px 22px; }.discover-name { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.discover-name h2 { margin: 0 0 3px; color: var(--plum); font-family: 'Playfair Display', serif; font-size: 27px; }.discover-name p, .profile-location { margin: 0; color: #867b86; font-size: 13px; }.discover-name p i, .profile-location i { color: var(--rose); margin-right: 4px; }.match-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; color: #b3415d; background: #fff0f4; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }.match-chip i { color: var(--rose); }.discover-intent { margin: 18px 0 6px; color: #493f4a; font-size: 16px; font-weight: 600; }.discover-bio { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }.discover-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 23px; }.discover-actions form { margin: 0; }.decision-button, .message-profile, .dating-primary, .dating-outline, .chat-now { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 10px 15px; border: 1px solid transparent; border-radius: 11px; font-family: inherit; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }.decision-button:hover, .message-profile:hover, .dating-primary:hover, .dating-outline:hover, .chat-now:hover { transform: translateY(-1px); }.decision-button { width: 100%; }.decision-button.pass { color: #806b75; background: #faf7f8; border-color: #eee6e9; }.decision-button.like, .dating-primary { color: #fff; background: linear-gradient(135deg, #cd607b, #a94360); box-shadow: 0 7px 15px rgba(177,60,92,.22); }.message-profile, .dating-outline { color: var(--rose-dark); background: #fff5f7; border-color: #f0cbd4; }.dating-primary.full { width: 100%; margin-top: 18px; }.dating-empty { padding: 56px 32px; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 21px; text-align: center; box-shadow: 0 10px 30px rgba(67,35,57,.06); }.dating-empty.compact { grid-column: 1 / -1; padding: 42px 24px; }.empty-icon { display: grid; width: 68px; height: 68px; margin: 0 auto 16px; place-items: center; color: var(--rose); background: #fff0f4; border-radius: 22px; font-size: 27px; }.dating-empty h2 { margin: 0 0 7px; color: var(--plum); font-family: 'Playfair Display', serif; font-size: 25px; }.dating-empty p { max-width: 400px; margin: 0 auto 20px; color: var(--muted); font-size: 14px; }.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; color: var(--rose-dark); font-size: 13px; font-weight: 700; text-decoration: none; }.profile-detail-card { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }.profile-detail-photo { min-height: 410px; background: #f3eaf1; }.profile-detail-photo img { width: 100%; height: 100%; object-fit: cover; }.profile-detail-body { padding: 36px 30px; }.profile-detail-body h1 { margin: 0 0 8px; color: var(--plum); font-family: 'Playfair Display', serif; font-size: 37px; }.profile-intent { margin: 23px 0 8px; color: #4c404c; font-size: 17px; font-weight: 600; }.profile-bio { color: var(--muted); font-size: 14px; line-height: 1.7; }.profile-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }.profile-detail-actions form { margin: 0; }
.connection-list, .conversation-list { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 25px rgba(67,35,57,.06); }.connection-row { display: grid; grid-template-columns: 55px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px; border-bottom: 1px solid var(--line); }.connection-row:last-child { border-bottom: 0; }.connection-avatar { position: relative; width: 55px; height: 55px; }.connection-avatar img { width: 100%; height: 100%; border-radius: 16px; object-fit: cover; }.connection-avatar span { position: absolute; right: -2px; bottom: -2px; width: 14px; height: 14px; background: #50bd70; border: 3px solid #fff; border-radius: 50%; }.connection-row h2, .visitor-card h2, .conversation-row h2 { margin: 0 0 2px; color: var(--plum); font-size: 16px; }.connection-row p, .visitor-card p, .conversation-row p { margin: 0; color: var(--muted); font-size: 13px; }.chat-now { min-height: 37px; color: #fff; background: #4aab6d; border-radius: 9px; }.chat-now:hover { color: #fff; background: #3e9560; }
.preference-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 19px; box-shadow: var(--shadow); }.preference-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 21px 24px; border-bottom: 1px solid var(--line); }.preference-row label, .switch-row strong { display: block; color: var(--ink); font-size: 15px; }.preference-row p, .switch-row small { display: block; margin: 3px 0 0; color: var(--muted); font-size: 12px; }.preference-row > input { width: min(230px, 45%); padding: 9px 10px; color: var(--ink); border: 1px solid #ddd2db; border-radius: 9px; font: inherit; }.age-inputs { display: flex; align-items: center; gap: 8px; }.age-inputs input { width: 70px; padding: 9px; color: var(--ink); border: 1px solid #ddd2db; border-radius: 9px; font: inherit; text-align: center; }.age-inputs span { color: var(--muted); font-size: 13px; }.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 24px; cursor: pointer; }.switch-row input { position: absolute; opacity: 0; }.switch-row i { position: relative; width: 43px; height: 24px; flex: 0 0 auto; background: #ded8df; border-radius: 999px; transition: background .2s; }.switch-row i::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.18); content: ''; transition: transform .2s; }.switch-row input:checked + i { background: var(--rose); }.switch-row input:checked + i::after { transform: translateX(19px); }.preference-card .dating-primary.full { width: calc(100% - 48px); margin: 6px 24px 24px; }.mini-profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }.mini-profile { position: relative; overflow: hidden; height: 150px; background: #f3eaf1; border-radius: 14px; text-decoration: none; }.mini-profile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }.mini-profile:hover img { transform: scale(1.05); }.mini-profile::after { position: absolute; right: 0; bottom: 0; left: 0; height: 45%; background: linear-gradient(transparent, rgba(25,17,27,.7)); content: ''; }.mini-profile span { position: absolute; z-index: 1; bottom: 11px; left: 12px; color: #fff; font-size: 13px; font-weight: 700; }
.boost-hero { margin-bottom: 17px; padding: 32px 25px; color: #fff; background: linear-gradient(135deg, #6f3b73, #c55170); border-radius: 20px; text-align: center; box-shadow: 0 15px 30px rgba(126,55,106,.2); }.boost-orb { display: grid; width: 62px; height: 62px; margin: 0 auto 13px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(255,255,255,.17); box-shadow: 0 0 0 9px rgba(255,255,255,.1); font-size: 25px; }.boost-hero h2 { margin: 0 0 5px; font-family: 'Playfair Display', serif; font-size: 27px; }.boost-hero p { max-width: 450px; margin: 0 auto; color: rgba(255,255,255,.9); font-size: 14px; }.boost-settings .switch-row { background: #fff7fa; }
.photo-prompt { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; padding: 14px 16px; background: #fff6df; border: 1px solid #f3dca4; border-radius: 13px; }.photo-prompt > i { color: #bc8122; font-size: 18px; }.photo-prompt div { flex: 1; }.photo-prompt strong, .photo-prompt span { display: block; }.photo-prompt strong { color: #654c26; font-size: 13px; }.photo-prompt span { color: #836d47; font-size: 12px; }.photo-prompt a { color: #8b5d12; font-size: 12px; font-weight: 700; white-space: nowrap; }.visitor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.visitor-card { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 12px; padding: 13px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 7px 18px rgba(67,35,57,.06); }.visitor-card > img { width: 65px; height: 65px; grid-row: span 2; border-radius: 14px; object-fit: cover; }.visitor-card .match-chip { margin-top: 5px; }.visitor-actions { display: flex; align-items: end; gap: 7px; }.visitor-actions a { display: grid; min-height: 32px; place-items: center; padding: 7px 9px; color: var(--rose-dark); background: #fff5f7; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; }.conversation-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 13px; border-bottom: 1px solid var(--line); text-decoration: none; }.conversation-row:last-child { border-bottom: 0; }.conversation-row:hover { background: #fff9fb; }.conversation-row img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }.conversation-row p { overflow: hidden; max-width: 390px; white-space: nowrap; text-overflow: ellipsis; }.conversation-row time { color: #9c909b; font-size: 11px; }
@media (max-width: 767px) { .main-content:has(.dating-workspace) { padding: 14px 12px 30px; }.dating-topbar { margin-bottom: 13px; padding: 11px 13px; }.dating-brand { font-size: 20px; }.dating-layout { display: block; }.dating-nav { position: static; display: flex; gap: 5px; overflow-x: auto; margin-bottom: 18px; padding: 5px; white-space: nowrap; }.dating-nav a { flex: 0 0 auto; padding: 8px 10px; font-size: 12px; }.dating-nav a i { display: none; }.dating-nav hr, .dating-note { display: none; }.dating-page-title { margin: 3px 2px 16px; }.dating-page-title h1 { font-size: 30px; }.discover-photo { height: 76vw; min-height: 260px; }.discover-body { padding: 18px; }.discover-name h2 { font-size: 24px; }.discover-actions { gap: 7px; }.decision-button, .message-profile { min-height: 42px; padding: 8px; }.decision-button span, .message-profile span { display: none; }.profile-detail-card { grid-template-columns: 1fr; }.profile-detail-photo { min-height: 300px; max-height: 400px; }.profile-detail-body { padding: 25px 20px; }.preference-row { align-items: flex-start; flex-direction: column; gap: 13px; padding: 18px; }.preference-row > input { width: 100%; }.age-row { flex-direction: row; align-items: center; }.switch-row { padding: 18px; }.preference-card .dating-primary.full { width: calc(100% - 36px); margin: 5px 18px 18px; }.mini-profile-grid { grid-template-columns: repeat(2, 1fr); }.visitor-grid { grid-template-columns: 1fr; }.photo-prompt { align-items: flex-start; flex-wrap: wrap; }.photo-prompt a { margin-left: 31px; }.connection-row { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 10px; }.connection-avatar { width: 50px; height: 50px; }.chat-now { padding: 8px 10px; font-size: 12px; }.dating-empty { padding: 42px 20px; } }

/* The shared shell gives every signed-in page the same dating-product frame. */
.dilvya-navbar { background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); box-shadow: 0 5px 18px rgba(67,35,57,.07); }
.dilvya-navbar li .app-name { color: var(--plum); }.dilvya-navbar li .app-name i { color: var(--rose); }.dilvya-navbar li .app-name:hover { color: var(--rose-dark); }
.dilvya-navbar li a { color: #665a65; }.dilvya-navbar li a:hover { color: var(--rose-dark); background: #fff0f4; }
.dilvya-nav-links { display: flex; align-items: center; gap: 3px; }.dilvya-nav-links li a, .dilvya-account-links li a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }.dilvya-nav-links li a i { color: var(--rose); }.dilvya-account-links { display: flex; align-items: center; gap: 3px; }.dilvya-account-links li:last-child a { color: #9a5868; }
.dilvya-global-sidebar { display: flex; flex-direction: column; width: 238px; padding: 15px 11px; background: rgba(255,253,254,.92); }.dilvya-member { display: flex; align-items: center; gap: 10px; margin: 2px 4px 14px; padding: 10px; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; background: #fff; text-decoration: none; box-shadow: 0 5px 13px rgba(67,35,57,.04); }.dilvya-member:hover { color: var(--rose-dark); background: #fff8fa; }.dilvya-member img { width: 37px; height: 37px; border: 2px solid #fff; border-radius: 12px; object-fit: cover; box-shadow: 0 2px 8px rgba(67,35,57,.16); }.dilvya-member strong, .dilvya-member small { display: block; }.dilvya-member strong { font-size: 13px; }.dilvya-member small { color: var(--muted); font-size: 11px; }
.dilvya-side-links { display: grid; gap: 2px; }.dilvya-side-links a, .dilvya-community-links a { display: flex; align-items: center; gap: 10px; padding: 10px 11px; color: #6a606b; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none; }.dilvya-side-links a i, .dilvya-community-links a i { width: 17px; color: #a898a8; text-align: center; }.dilvya-side-links a:hover, .dilvya-community-links a:hover { color: var(--rose-dark); background: #fff0f4; }.dilvya-side-links a:hover i { color: var(--rose); }.dilvya-side-links hr { width: calc(100% - 12px); margin: 8px 6px; border: 0; border-top: 1px solid var(--line); }.dilvya-community-links { margin-top: auto; padding-top: 18px; }.dilvya-community-links > span { display: block; margin: 0 11px 6px; color: #9b909b; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 768px) { .main-content:not(:has(.dating-workspace)) { max-width: 980px; margin: 0 28px 0 260px; padding: 32px 24px 52px; }.dilvya-global-sidebar { top: 74px; left: 0; right: auto; height: calc(100vh - 74px); border-right: 1px solid var(--line); border-left: 0; overflow-y: auto; }.dilvya-navbar { padding: 0 28px; } }
@media (max-width: 767px) { .dilvya-nav-links span, .dilvya-account-links span { display: none; }.dilvya-nav-links li a, .dilvya-account-links li a { padding: 9px 8px; }.dilvya-navbar .app-name { font-size: 20px; } }

/* Direct messages retain their real-time backend while using the Dilvya shell. */
.dilvya-chat-page { width: min(100%, 760px); margin: 0 auto; }.dilvya-chat-panel { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }.dilvya-chat-header { padding: 15px 18px; border-bottom: 1px solid var(--line); }.dilvya-chat-person { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }.dilvya-chat-person:hover strong { color: var(--rose-dark); }.dilvya-chat-person img { width: 48px; height: 48px; border: 2px solid #fff; border-radius: 15px; object-fit: cover; box-shadow: 0 3px 10px rgba(67,35,57,.14); }.dilvya-chat-person strong, .dilvya-chat-person small { display: block; }.dilvya-chat-person strong { color: var(--plum); font-size: 16px; }.dilvya-chat-person small { margin-top: 3px; color: var(--muted); font-size: 11px; }.dilvya-chat-person small i { color: #51ba70; font-size: 8px; }.dilvya-chat-log { display: flex; flex-direction: column; gap: 8px; width: 100%; min-height: 390px; max-height: 55vh; margin: 0; padding: 20px; background: linear-gradient(180deg, #fff, #fffafb); overflow-y: auto; }.dilvya-chat-log .message-container { display: flex; flex-direction: column; width: fit-content; max-width: 76%; margin: 0; padding: 10px 13px 7px; box-shadow: none; }.dilvya-chat-log .message-container > img, .dilvya-chat-log .message-container .participant-photo { display: none !important; }.dilvya-chat-log .message-container p { margin: 0; line-height: 1.45; }.dilvya-chat-log .message-meta { display: inline-flex; align-items: center; align-self: flex-end; gap: 4px; margin-top: 4px; font-size: 10px; line-height: 1; }.dilvya-chat-log .sender-message { align-self: flex-end; color: #fff; background: linear-gradient(135deg, #c85a76, #a7425e); border-radius: 15px 15px 4px 15px; }.dilvya-chat-log .sender-message .message-meta { color: rgba(255,255,255,.76); }.dilvya-chat-log .receiver-message { align-self: flex-start; color: #493f4b; background: #f2edf2; border-radius: 15px 15px 15px 4px; }.dilvya-chat-log .receiver-message .message-meta { color: #998e99; }.message-status-tick { font-size: 10px; font-style: normal; }.message-status-tick.is-seen { color: #8fe4ff; }.dilvya-chat-log .message-indicator, .dilvya-chat-log .sent-indicator, .dilvya-chat-log .received-indicator { position: static; align-self: center; width: auto; margin: 4px 0 0; padding: 0; color: #a398a3; background: transparent; font-size: 10px; line-height: 1.2; }.dilvya-chat-empty { margin: auto; color: var(--muted); text-align: center; }.dilvya-chat-empty i { display: grid; width: 45px; height: 45px; margin: 0 auto 10px; place-items: center; color: var(--rose); background: #fff0f4; border-radius: 15px; }.dilvya-chat-empty p { margin: 0 0 4px; color: var(--plum); font-weight: 700; }.dilvya-chat-empty span { font-size: 12px; }.dilvya-message-composer { display: flex; align-items: center; width: 100%; margin: 0; padding: 10px; background: #fff; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }.dilvya-message-composer .item-type { flex: 1; min-width: 0; padding: 10px 12px; color: var(--ink); background: #faf6f9; border: 1px solid #eee2e8; border-radius: 10px; font: inherit; }.dilvya-message-composer .item-send { display: grid; width: 42px; height: 42px; margin-left: 8px; place-items: center; color: #fff; background: var(--rose); border: 0; border-radius: 10px; cursor: pointer; }.dilvya-message-composer .item-send:hover { background: var(--rose-dark); }
@media (max-width: 767px) { .dilvya-chat-page { width: 100%; }.dilvya-chat-log { min-height: 52vh; padding: 15px; }.dilvya-chat-log .message-container { max-width: 86%; } }

/* First messages from the Online now list. */
.online-message-sent { color: #397451; font-size: 13px; font-weight: 700; text-align: center; }
.online-message-status { color: #397451; font-size: 13px; }
.first-message-dialog { width: min(500px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; overflow-y: auto; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 80px rgba(35, 18, 31, .25); }
.first-message-dialog::backdrop { background: rgba(27, 19, 27, .65); }
.first-message-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; padding: 0; color: var(--muted); background: #faf2f6; border: 0; border-radius: 50%; font-size: 25px; line-height: 1; cursor: pointer; }
.first-message-header { display: flex; align-items: center; gap: 14px; margin: 8px 16px 24px 0; }
.first-message-header img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.first-message-header h2 { margin: 0; font-family: inherit; font-size: 17px; line-height: 1.5; }
.first-message-header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.first-message-dialog label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.first-message-dialog textarea { display: block; box-sizing: border-box; width: 100%; min-height: 130px; padding: 13px; color: var(--ink); background: #fff; border: 1px solid #ddd2db; border-radius: 11px; resize: vertical; font: inherit; }
.first-message-dialog textarea:focus { outline: 2px solid var(--rose); outline-offset: 2px; }
.first-message-reminder { display: flex; gap: 8px; margin: 14px 0 0; padding: 12px; color: #8d4861; background: #fff0f4; border-radius: 10px; font-size: 12px; }
.first-message-error { margin: 12px 0 0; color: #b32943; font-size: 13px; }
.first-message-dialog button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 480px) { .first-message-dialog { padding: 23px 18px; }.online-message-sent { max-width: 85px; font-size: 12px; } }

/* Email, mobile, and provider authentication. */
.social-auth-actions { display: grid; gap: 10px; margin: 20px 0; }
.social-auth-actions form { margin: 0; }
.social-auth-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 46px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid #ddd2db; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.social-auth-button:hover { background: #faf6f9; border-color: var(--rose); }
.social-auth-button.facebook { color: #fff; background: #1877f2; border-color: #1877f2; }
.social-auth-button.facebook:hover { background: #1268d7; }
.social-auth-button i { font-size: 18px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { flex: 1; height: 1px; background: var(--line); content: ''; }
.auth-field-label { display: block; margin: 14px 0 3px; color: var(--ink); font-size: 13px; font-weight: 600; }
.auth-feedback { color: #b32943; font-size: 13px; }
.auth-feedback:empty { display: none; }
.social-profile-wrap { padding: 30px 18px; }
.social-profile-card { box-sizing: border-box; width: min(100%, 560px); margin: 0 auto; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.social-profile-card h2 { color: var(--plum); font-family: 'Playfair Display', serif; font-size: 30px; }
.social-profile-field { margin: 16px 0; }
.social-profile-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.social-profile-field input, .social-profile-field select { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px; border: 1px solid #ddd2db; border-radius: 9px; font: inherit; background: #fff; color: var(--ink); }

/* Gender and online matching preferences. */
.registration-preferences { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 8px; text-align: left; }
.registration-preferences > div { min-width: 0; }
.registration-preferences label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 600; }
.auth-card select.dating-preference-select, .edit-account-form select.dating-preference-select { display: block; box-sizing: border-box; width: 100%; min-height: 46px; margin: 0; padding: 10px 8px; color: var(--ink); background: #fff; border: 1px solid #ddd2db; border-radius: 9px; font: inherit; font-size: 14px; }
.dating-preference-select:focus { outline: 2px solid var(--rose); outline-offset: 2px; }
.matching-preference-help { margin: 9px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: left; }
.account-form-errors { margin-bottom: 18px; color: #b32943; font-size: 13px; }
@media (max-width: 480px) { .registration-preferences { grid-template-columns: 1fr; gap: 12px; } }

/* Passwordless mobile authentication. */
.auth-methods { display: flex; gap: 8px; margin: 0 0 22px; }
.auth-methods a { flex: 1; padding: 11px 8px; border: 1px solid #e8dce4; border-radius: 10px; color: var(--ink); text-align: center; font-size: 13px; text-decoration: none; }
.auth-methods a[aria-current="page"] { background: #fff0f5; border-color: var(--rose); color: #a33d60; font-weight: 700; }
.mobile-otp { width: 100%; margin: 8px 0 22px; text-align: left; }
.mobile-otp button { min-height: 44px; font: inherit; font-size: 14px; cursor: pointer; }
.mobile-otp button:disabled { opacity: .55; cursor: default; }
.mobile-otp .otp-code-fields[hidden] { display: none; }
.mobile-otp .otp-code-fields { margin-top: 16px; }
.mobile-otp .otp-verify { width: 100%; margin-top: 12px; }
.mobile-otp .otp-feedback { margin-bottom: 0; }

/* One master-city picker across profile and discovery forms. */
.city-picker { position: relative; width: 100%; min-width: 0; text-align: left; }
.city-picker input.city-query { box-sizing: border-box; display: block; width: 100%; min-width: 0; padding: 12px; margin: 8px 0; background: white; border: 1px solid #ddd2db; border-radius: 9px; font: inherit; color: var(--ink); }
.city-picker .city-results[hidden] { display: none; }
.city-results { position: absolute; top: 50px; left: 0; right: 0; z-index: 30; max-height: 240px; overflow-y: auto; margin: 0; padding: 4px; background: #fff; border: 1px solid #ddd2db; border-radius: 9px; box-shadow: 0 8px 20px #3420341a; list-style: none; }
.city-results li { padding: 10px; cursor: pointer; font-size: 14px; line-height: 1.4; }
.city-results li:hover, .city-results li[aria-selected="true"] { background: #fff0f5; color: #953452; }
.city-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.city-actions button { padding: 9px 11px; min-height: 40px; border: 1px solid #e4ccd8; background: #fff8fb; border-radius: 8px; color: #963a5e; cursor: pointer; font: inherit; font-size: 12px; }
.city-actions button:disabled { opacity: .55; cursor: wait; }
.city-help, .city-status { margin: 9px 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.city-status:empty { display: none; }
.city-attribution { display: block; margin-bottom: 15px; color: var(--muted); font-size: 10px; }
.city-attribution a { color: inherit; }
.city-filter-card { padding: 18px; margin-bottom: 22px; background: #fff; border: 1px solid #e8dce4; border-radius: 16px; }
.city-filter-card > label { font-size: 14px; font-weight: 600; }
.city-filter-card > .dating-primary { margin-top: 8px; }
.preference-row .city-picker { max-width: 440px; }
@media (max-width: 600px) { .preference-row:has(.city-picker) { align-items: stretch; flex-direction: column; gap: 10px; } }

/* Match preferences live beside Discover, leaving the profile canvas clear. */
.discover-nav-row { display: flex; align-items: center; flex: 0 0 auto; }
.discover-nav-row > a { flex: 1; min-width: 0; }
.match-preferences-trigger { flex: 0 0 34px; width: 34px; height: 36px; margin: 0 3px; border: 0; border-radius: 9px; background: transparent; color: #947a90; font-size: 17px; cursor: pointer; }
.match-preferences-trigger:hover, .match-preferences-trigger:focus-visible { background: #fff0f4; color: var(--rose-dark); }
.match-preferences-dialog { box-sizing: border-box; width: min(530px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow-y: auto; border: 1px solid #e7dce4; border-radius: 18px; color: var(--ink); background: #fff; box-shadow: 0 24px 85px #25142355; }
.match-preferences-dialog::backdrop { background: #20131eb3; }
.match-preferences-dialog > h2 { margin: 0; padding: 28px 48px 14px; text-align: center; font: 600 23px/1.4 var(--font-body, sans-serif); }
.match-preferences-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #4b4153; color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }
.match-preference-section { padding: 20px 28px; border-bottom: 1px solid #eee4eb; }
.match-age-heading { display: flex; justify-content: space-between; gap: 20px; font-size: 15px; }
.match-age-heading output { color: #776070; }
.match-age-slider { position: relative; height: 40px; margin-top: 14px; --age-min: 0%; --age-max: 100%; }
.match-age-slider::before { content: ''; position: absolute; height: 4px; left: 0; right: 0; top: 18px; border-radius: 4px; background: linear-gradient(to right, #e8e1e6 var(--age-min), var(--rose) var(--age-min), var(--rose) var(--age-max), #e8e1e6 var(--age-max)); }
.match-age-slider input[type="range"] { appearance: none; -webkit-appearance: none; position: absolute; top: 0; left: 0; width: 100%; height: 40px; padding: 0; margin: 0; border: 0; box-shadow: none; background: transparent; pointer-events: none; }
.match-age-slider input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 27px; height: 27px; border: 3px solid var(--rose); border-radius: 50%; background: #fff; pointer-events: auto; cursor: grab; }
.match-age-slider input::-moz-range-thumb { width: 23px; height: 23px; border: 3px solid var(--rose); border-radius: 50%; background: #fff; pointer-events: auto; cursor: grab; }
.match-age-slider input:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; border-radius: 8px; }
.match-city-section > label { font-size: 15px; }
.match-city-details > summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; cursor: pointer; list-style: none; font-size: 15px; }
.match-city-details > summary::-webkit-details-marker { display: none; }
.match-city-details > summary > span > span { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; }
.match-city-details > summary > i { color: var(--muted); font-size: 13px; }
.match-city-details[open] > summary > i { transform: rotate(90deg); }
.match-city-editor { padding-top: 10px; }
.match-preferences-dialog .city-help { font-size: 11px; }
.match-preferences-dialog .city-results { max-height: 170px; }
.match-preferences-dialog .switch-row { padding: 18px 28px; gap: 20px; border-bottom: 1px solid #eee4eb; }
.match-preferences-dialog .switch-row strong { font-weight: 500; font-size: 14px; line-height: 1.5; }
.match-preferences-footer { padding: 22px 28px; }
.match-preferences-footer .full { width: 100%; }
.match-preferences-footer button:disabled { opacity: .6; cursor: wait; }
.match-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 480px) { .match-preferences-dialog > h2 { font-size: 21px; padding-top: 22px; }.match-preference-section, .match-preferences-dialog .switch-row, .match-preferences-footer { padding: 17px 20px; } }

/* Multiple city filters keep each selection visible and removable. */
.city-selections { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.city-selections:empty { display: none; }
.city-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 10px; border: 1px solid #ecd2dd; border-radius: 16px; background: #fff3f7; color: #633e5d; font-size: 13px; }
.city-chip > span { overflow-wrap: anywhere; }
.city-chip button { flex-shrink: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 20px; line-height: 1; min-width: 28px; min-height: 28px; cursor: pointer; }
.city-chip button:hover { background: #f4dce5; }
.city-chip button:focus-visible { outline: 2px solid #b44067; outline-offset: 2px; }
#match-city-summary { overflow-wrap: anywhere; }

/* Signed-in header: profile photo followed by the member name. */
.dilvya-navbar .dilvya-profile-link { gap: 10px; }
.dilvya-header-avatar { display: block; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.dilvya-account-links .dilvya-profile-link span { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 767px) { .dilvya-account-links .dilvya-profile-link span { max-width: 110px; } }

/* One navigation shell for every signed-in page. */
.dilvya-side-links a.active, .dilvya-community-links a.active { color: var(--rose-dark); background: #fff0f4; }
.dilvya-side-links a.active i, .dilvya-community-links a.active i { color: var(--rose); }
.online-nav-row { display: flex; align-items: center; }
.online-nav-row > a { flex: 1; min-width: 0; }
.online-filters-trigger { flex: 0 0 34px; width: 34px; height: 36px; margin: 0 3px; border: 0; border-radius: 9px; background: transparent; color: #947a90; font-size: 15px; cursor: pointer; }
.online-filters-trigger:hover, .online-filters-trigger:focus-visible { background: #fff0f4; color: var(--rose-dark); }
.match-preferences-dialog .switch-row[hidden] { display: none !important; }
.app-shell .dating-layout { display: block; }
.app-shell .dating-page { min-width: 0; }
@media (min-width: 768px) {
    .app-shell .main-content { max-width: 1100px; margin: 0 28px 0 260px; padding: 32px 24px 52px; }
    .app-shell .dilvya-global-sidebar { width: 238px; box-sizing: border-box; }
}
@media (max-width: 767px) {
    .app-shell .phone-navbar { display: none; }
    .app-shell .dilvya-navbar { display: flex; flex-direction: row; height: 64px; padding: 0 16px; }
    .app-shell .dilvya-navbar li { margin-bottom: 0; }
    .app-shell .dilvya-global-sidebar { position: static; display: flex; flex-direction: row; align-items: center; width: 100%; height: auto; padding: 8px 12px; gap: 8px; overflow-x: auto; border-bottom: 1px solid var(--line); }
    .app-shell .dilvya-side-links, .app-shell .dilvya-community-links { display: flex; flex: 0 0 auto; align-items: center; gap: 3px; margin: 0; padding: 0; }
    .app-shell .dilvya-side-links a, .app-shell .dilvya-community-links a { flex: 0 0 auto; white-space: nowrap; }
    .app-shell .dilvya-side-links hr { width: 1px; height: 24px; margin: 0 6px; border: 0; background: var(--line); }
    .app-shell .dilvya-community-links > span { margin: 0 6px; }
    .app-shell .main-content { width: 100%; max-width: none; margin: 0; padding: 20px 14px 32px; box-sizing: border-box; }
}
