/* V61.10.439 — independent notification and private-message workspaces. */
.site-header .header-utility .pb-header-hub-links{display:flex;align-items:center;gap:7px;margin-right:5px}
.pb-header-hub-link{position:relative;display:inline-flex;align-items:center;gap:5px;text-decoration:none;color:#36516f;font-size:12px;font-weight:600;padding:7px 9px;border-radius:9px;white-space:nowrap}
.pb-header-hub-link:hover,.pb-header-hub-link:focus-visible{background:#eaf3ff;color:#176cdb}
.pb-header-hub-link .pb-hub-count{display:none;min-width:17px;height:17px;line-height:17px;text-align:center;border-radius:10px;background:#e44350;color:white;font-size:10px;padding:0 3px}
.pb-header-hub-link .pb-hub-count:not(:empty){display:inline-block}
.pb-notifications-panel{padding:22px;min-height:330px}
.pb-notify-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:13px}
.pb-notify-categories{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.pb-notify-categories button{background:#f6f8fb;border:1px solid transparent;color:#64788d;border-radius:9px;cursor:pointer;min-height:38px;padding:0 15px;font-weight:600;font-size:13px}
.pb-notify-categories button.active{background:#eaf3ff;border-color:#cde0fa;color:#1675e5}
.pb-notify-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#53687f;font-size:12px}
.pb-notify-actions .btn{min-height:38px}.pb-notify-actions label{cursor:pointer;display:flex;align-items:center;gap:5px}
.pb-notify-summary{padding:13px 0;color:#8090a4;font-size:12px;margin:0}
.pb-notify-list{border-top:1px solid #e8eef5}
.pb-notify-item{display:flex;align-items:flex-start;gap:13px;min-width:0;padding:18px 0;border-bottom:1px solid #e8eef5}
.pb-notify-item.is-unread .pb-notify-info strong:before{content:' ';display:inline-block;width:6px;height:6px;border-radius:50%;background:#1677ff;margin:0 7px 1px 0}
.pb-notify-type{display:inline-grid;place-items:center;flex:none;min-width:40px;min-height:38px;padding:0 7px;border-radius:9px;background:#f0f6ff;color:#3974be;font-size:12px;font-weight:600}
.pb-notify-info{flex:1;min-width:0}.pb-notify-info strong{color:#173653;font-size:14px}.pb-notify-info p{color:#667e96;line-height:1.6;margin:5px 0;font-size:13px;overflow-wrap:anywhere}.pb-notify-info time{color:#98a7b7;font-size:11px}
.pb-notify-ops{display:flex;gap:7px;align-self:center;flex-wrap:wrap}.pb-notify-ops .btn{min-height:35px;padding:0 10px;font-size:12px}
.pb-notify-empty{text-align:center;padding:75px 15px;color:#91a2b7;font-size:14px}
#section-messages .uc-message-panel{min-height:450px}
.pb-dm-search{padding:12px 12px 8px;border-bottom:1px solid #e6edf6}
.pb-dm-search input{box-sizing:border-box;border:1px solid #dbe6f2;border-radius:9px;background:#f9fbfd;width:100%;height:39px;padding:0 13px;outline:none;font-size:13px}
.pb-dm-search input:focus{border-color:#82b3ef}
#section-messages .uc-chat-row{width:100%;border:0;border-bottom:1px solid #e8eef7;border-radius:0;cursor:pointer;text-align:left;display:flex;align-items:center;background:#fff}
#section-messages .uc-chat-row:hover,#section-messages .uc-chat-row.active{background:#f1f7ff}
#section-messages .uc-chat-avatar{flex:0 0 40px;display:grid;place-items:center;width:40px;min-width:40px;height:40px;border-radius:50%;overflow:hidden;background:#eaf3ff;color:#376eac}
#section-messages .uc-chat-avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
#section-messages .uc-chat-avatar-fallback[hidden]{display:none!important}
#section-messages .uc-chat-row-top{display:flex;align-items:center;justify-content:space-between;gap:5px}
#section-messages .uc-chat-row-main{flex:1;min-width:0;display:block}
#section-messages .uc-chat-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#section-messages .uc-chat-row-top time{flex:none}
@media(max-width:700px){
 .pb-notifications-panel{padding:14px}.pb-notify-item{flex-wrap:wrap;gap:9px}.pb-notify-info{flex-basis:calc(100% - 60px)}.pb-notify-ops{width:100%;justify-content:flex-end}
 .site-header .header-utility .pb-header-hub-links{gap:1px}.pb-header-hub-link{padding:6px}
 #section-messages .uc-message-panel{min-height:430px}
 #section-messages.pb-chat-mobile-open #ucMessageList,#section-messages.pb-chat-mobile-open .pb-dm-search{display:none}
 #section-messages .uc-conversation-panel.open{width:100%;min-width:0}
}
@media(max-width:700px){.pb-header-hub-link .pb-hub-label{display:none}.pb-header-hub-link .pb-hub-icon{font-size:16px}.pb-header-hub-link{min-width:28px;justify-content:center}}

#section-messages .pb-dm-sidebar{min-width:0;display:flex;flex-direction:column;background:#fff;overflow:hidden}
#section-messages .pb-dm-sidebar .uc-message-list{flex:1;min-height:0;overflow:auto}
@media(min-width:900px){#section-messages .uc-message-panel{grid-template-columns:minmax(0,40%) minmax(0,60%)}}
@media(max-width:899px){#section-messages.pb-chat-mobile-open .pb-dm-sidebar{display:none}}

/* The former avatar notification dot is superseded by independent counters. */
.site-header .header-utility:has(.pb-header-hub-links) .js-auth-message-dot{display:none!important}

/* V61.10.440 — floating notification preview, independent from direct messages. */
.pb-notify-preview-popover{position:fixed;z-index:100090;background:#fff;border:1px solid #dae6f3;border-radius:13px;box-shadow:0 16px 46px rgba(24,52,89,.18);max-height:min(74vh,530px);display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}
.pb-notify-preview-popover[hidden]{display:none!important}
.pb-notify-preview-head{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;border-bottom:1px solid #e8eef5;gap:10px}
.pb-notify-preview-head>div{display:flex;align-items:center;gap:8px;min-width:0}
.pb-notify-preview-head strong{color:#1a3553;font-size:15px}
.pb-notify-preview-head small{color:#8393a6;font-size:12px}
.pb-notify-preview-head button{background:transparent;border:0;color:#1772e1;font-size:12px;cursor:pointer}
.pb-notify-preview-head button:disabled{color:#a1adba;cursor:default}
.pb-notify-preview-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}
.pb-notify-preview-item{padding:12px 15px;display:flex;gap:10px;align-items:flex-start;text-decoration:none;border-bottom:1px solid #eff3f8;color:#22415f}
.pb-notify-preview-item:last-child{border-bottom:0}
.pb-notify-preview-item.is-unread{background:#f5f9ff}
.pb-notify-preview-item:hover,.pb-notify-preview-item:focus-visible{background:#eef6ff}
.pb-notify-preview-symbol{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#edf4ff;color:#3175c1;font-size:15px}
.pb-notify-preview-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;font-size:12px}
.pb-notify-preview-text b{font-size:13px;color:#203e5c}
.pb-notify-preview-text span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#637b92}
.pb-notify-preview-text small{font-size:11px;color:#95a5b6}
.pb-notify-preview-empty{padding:45px 12px;text-align:center;color:#8396aa;font-size:13px}
.pb-notify-preview-all{padding:13px;display:block;text-align:center;background:#f8fbff;color:#176dda;border-top:1px solid #e7eef7;text-decoration:none;font-weight:600;font-size:13px}
.pb-notify-preview-all:hover{background:#edf5ff}
/* Notification center refinement. */
.pb-notify-toolbar{align-items:flex-start}
.pb-notify-categories button span{font-weight:400;font-size:11px;margin-left:4px;color:#8497ad}
.pb-notify-ops{align-self:center}
.pb-notify-ops a{min-height:35px;padding:0 11px;display:inline-flex;align-items:center;text-decoration:none;font-size:12px}
.pb-notify-item.is-unread{background:#fafcff}
.pb-notify-date-group{font-size:12px;font-weight:600;color:#667e99;background:#f7faff;padding:11px 13px;margin:0 -4px}
.pb-notify-item .pb-notify-info time{display:block;margin-top:6px}
.pb-notify-item .pb-notify-ops [data-notify-markread]{color:#47739d}
@media(max-width:480px){.pb-notify-preview-popover{max-height:68vh;border-radius:11px}.pb-notify-preview-head{padding:12px}.pb-notify-preview-item{padding:10px 12px}.pb-notify-categories button{min-height:36px;padding:0 10px}.pb-notify-date-group{margin:0}}

/* V61.10.441 — image-enabled private messaging; shared between full page and quick composer. */
.pb-dm-compose-form{display:flex;flex-direction:column;gap:8px;min-width:0}
/* Shared composer layout: user center and quick popup use one structure and one visual specification. */
#section-messages .pb-dm-compose-box,.pobing-message-composer .pb-dm-compose-box{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
#section-messages .pb-dm-compose-box textarea,.pobing-message-composer .pb-dm-compose-box textarea{box-sizing:border-box;display:block;flex:none;min-height:72px;max-height:180px;resize:vertical;width:100%;border:1px solid #dce7f1;border-radius:10px;background:#fff;color:#23405d;padding:11px 13px;font:inherit;font-size:13px;line-height:1.6;outline:none;box-shadow:none}
#section-messages .pb-dm-compose-box textarea:focus,.pobing-message-composer .pb-dm-compose-box textarea:focus{border-color:#70a6e9;box-shadow:none}
/* Keep send/edit actions on the same lower row, including the popup's cancel-edit button. */
.pobing-message-composer .pmc-foot.pb-dm-compose-actions{display:flex;width:100%;box-sizing:border-box;justify-content:flex-start;align-items:center;gap:9px;margin:0}
.pobing-message-composer .pmc-foot.pb-dm-compose-actions .btn{flex:none;min-height:44px}
.pobing-message-composer .pmc-foot.pb-dm-compose-actions .pb-dm-compose-hint{flex:0 1 auto;max-width:none;margin:0;white-space:normal}
/* V61.10.568: one shared lower-left hint/feedback slot for both DM composers. */
#section-messages .pb-dm-compose-notices,
.pobing-message-composer .pb-dm-compose-notices{flex:1 1 auto;min-width:0;min-height:18px}
#section-messages .pb-dm-compose-status,
.pobing-message-composer .pmc-compose-status{margin:0;color:#8a9aaa;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#section-messages .pb-dm-compose-status[hidden],
#section-messages .pb-dm-compose-feedback[hidden],
.pobing-message-composer .pmc-compose-status[hidden],
.pobing-message-composer .pb-dm-compose-feedback[hidden]{display:none!important}
/* The conversation canvas and received/sent bubbles match the front-end popup. */
#section-messages .uc-conversation-panel,
#section-messages .uc-conversation-panel .conversation-messages{background:#fff}
#section-messages .uc-chat-bubble-row.theirs .uc-chat-bubble{background:#f4f8fb;color:#29465f;box-shadow:none}
#section-messages .uc-chat-bubble-row.mine .uc-chat-bubble{background:#e9f4ff;color:#29465f;box-shadow:none}
#section-messages .uc-chat-bubble-row .uc-chat-bubble.recalled{background:#f5f6f7;color:#9aa7b2}
/* V61.10.569: inbox messages mirror the quick composer: sender + timestamp above the bubble. */
#section-messages .uc-chat-meta{display:flex;align-items:baseline;gap:7px;min-width:0;margin:0 4px 5px}
#section-messages .uc-chat-meta .uc-chat-sender{display:inline;min-width:0;margin:0;overflow-wrap:anywhere}
#section-messages .uc-chat-meta time{display:inline;flex:none;margin:0;font-size:11px;color:#a3afb8;white-space:nowrap}
#section-messages .uc-chat-bubble-row.mine .uc-chat-meta{justify-content:flex-end}
.pb-dm-compose-actions{display:flex;align-items:center;gap:9px;min-width:0}
.pb-dm-compose-actions .btn{margin-left:auto;min-width:74px;height:44px}
.pb-dm-attach-btn{flex:none;min-height:36px;padding:0 12px;border:1px solid #cfdeee;background:#fff;color:#2466ac;border-radius:9px;cursor:pointer;font-size:13px;font-weight:600;white-space:nowrap}
.pb-dm-attach-btn:hover,.pb-dm-attach-btn:focus-visible{background:#edf6ff;border-color:#82b6ed}
.pb-dm-compose-hint{min-width:0;color:#899bab;font-size:11px;line-height:1.4}
.pb-dm-queue[hidden]{display:none!important}
.pb-dm-queue{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}
.pb-dm-queued-item{position:relative;width:68px;height:68px;flex:none;border:1px solid #dae5f1;background:#f5f8fb;border-radius:8px;overflow:visible}
.pb-dm-queued-item img{display:block;width:100%;height:100%;object-fit:cover;border-radius:7px}
.pb-dm-queued-item button{position:absolute;right:-8px;top:-9px;width:24px;height:24px;border:0;border-radius:50%;background:#384b62;color:#fff;cursor:pointer;font-size:18px;line-height:20px}
.pb-dm-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,148px));gap:7px;max-width:100%;margin-top:7px}
.pb-dm-image-thumb{display:flex;align-items:center;justify-content:center;min-width:0;max-width:100%;aspect-ratio:4/3;padding:0;border:1px solid #dbe6f2;background:#f4f7fc;color:#7c92a8;border-radius:8px;overflow:hidden;font-size:11px;text-align:center;cursor:pointer}
.pb-dm-image-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.pb-dm-image-thumb:hover{border-color:#69a7ed}
.pb-dm-lightbox{position:fixed;inset:0;background:rgba(10,25,42,.89);z-index:200100;display:flex;align-items:center;justify-content:center;padding:42px 18px;box-sizing:border-box}
.pb-dm-lightbox>img{max-width:100%;max-height:100%;object-fit:contain}
.pb-dm-lightbox-close{position:absolute;right:16px;top:12px;border:0;background:rgba(255,255,255,.16);color:#fff;border-radius:50%;width:40px;height:40px;font-size:26px;cursor:pointer}
#section-messages .uc-chat-bubble{white-space:normal;overflow-wrap:anywhere}
#section-messages .uc-chat-bubble .pb-dm-image-grid{width:min(300px,100%)}
.pobing-message-composer .pb-dm-compose-box .pb-dm-attach-btn{min-height:36px}
.pobing-message-composer .pb-dm-queue{margin-bottom:9px}
.pobing-message-composer .pmc-msg-bubble{white-space:normal;overflow-wrap:anywhere}
.pobing-message-composer .pmc-msg-bubble .pb-dm-image-grid{width:min(280px,100%)}
@media(max-width:480px){
 #section-messages .conversation-form{padding:11px}
 .pb-dm-compose-hint{font-size:10px}
 .pb-dm-compose-actions{gap:5px}
 .pb-dm-compose-actions .btn{min-width:64px}
 .pb-dm-queued-item{width:56px;height:56px}

 .pobing-message-composer .pmc-history{max-height:30vh}
}
.pmc-head-actions{display:flex;align-items:center;gap:8px;flex:none}
.pmc-open-full{color:#1b73d8;font-size:12px;text-decoration:none;white-space:nowrap}
.pmc-open-full:hover{text-decoration:underline}
.pb-dm-empty-chat{padding:60px 12px;text-align:center;color:#879bad;font-size:13px}

/* V61.10.443 — single / bulk conversation clear, reporting and blocking */
#section-messages .pb-dm-manage-toolbar{min-height:40px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:6px 15px;border-bottom:1px solid #edf1f6;background:#fbfcfe}
#section-messages .pb-dm-manage-toolbar button{border:0;background:transparent;color:#4273a5;cursor:pointer;padding:5px 7px;font-size:12px;white-space:nowrap}
#section-messages .pb-dm-manage-toolbar button:hover{color:#1769d2;background:#eef5fd;border-radius:6px}
#section-messages .pb-dm-manage-toolbar #ucDmBulkDelete{color:#b95355}
#section-messages .pb-dm-manage-toolbar #ucDmBulkDelete:disabled{opacity:.45;cursor:default}
#section-messages .pb-dm-manage-toolbar span{color:#70869a;font-size:12px}
#section-messages [hidden],.pb-dm-dropdown[hidden]{display:none!important}
#section-messages .pb-dm-list-item{position:relative;display:flex;align-items:center;min-width:0;border-bottom:1px solid #edf1f5;background:#fff}
#section-messages .pb-dm-list-item:hover{background:#f7fbff}
#section-messages .pb-dm-list-item .uc-chat-row{flex:1;min-width:0;border-bottom:0!important}
#section-messages .pb-dm-list-item .pb-dm-bulk-check{flex:none;margin:0 0 0 13px;width:17px;height:17px;accent-color:#237bd1;cursor:pointer}
#section-messages .pb-dm-list-item.active{background:#f1f7ff}
#section-messages .pb-dm-list-item.active .uc-chat-row{background:transparent}
#section-messages .pb-dm-list-item:hover .uc-chat-row{background:transparent}
#section-messages .pb-dm-list-item.active .pb-dm-list-more,#section-messages .pb-dm-list-item.active .pb-dm-bulk-check{background:transparent}
#section-messages .pb-dm-list-more{flex:none;margin-right:8px;width:30px;height:32px;border:0;border-radius:8px;background:transparent;color:#8092a5;cursor:pointer;font-weight:700;font-size:8px}
#section-messages .pb-dm-list-more:hover,#section-messages .pb-dm-list-more:focus-visible{background:#e9f2ff;color:#2269bb}
.pb-dm-chat-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.pb-dm-head-menu{position:relative}
#ucDmConversationMore{min-height:34px;border:1px solid #dce6f2;background:#fff;color:#50718e;border-radius:8px;padding:0 11px;cursor:pointer;white-space:nowrap;font-size:12px}
#ucDmConversationMore:hover{background:#f2f7ff}
.pb-dm-dropdown{position:absolute;right:7px;top:calc(100% - 2px);width:142px;z-index:100;box-shadow:0 8px 22px rgba(19,50,86,.15);border:1px solid #e0e8f2;border-radius:10px;padding:5px;background:#fff;display:flex;flex-direction:column}
.pb-dm-head-menu .pb-dm-dropdown{right:0;top:calc(100% + 5px)}
.pb-dm-dropdown button{display:block;width:100%;padding:9px 10px;border:0;background:none;text-align:left;font-size:12px;color:#34526d;cursor:pointer;border-radius:6px;white-space:nowrap}
.pb-dm-dropdown button:hover,.pb-dm-dropdown button:focus-visible{background:#edf5ff;color:#176bc8}
.pb-dm-dropdown button.is-danger{color:#bd5355}
.pmc-head-actions{position:relative}
.pmc-manage{flex:none;min-width:30px;height:30px;background:#f4f7fa;border:0;border-radius:8px;color:#617b92;font-weight:700;font-size:8px;cursor:pointer}
.pmc-manage-menu{position:absolute;right:34px;top:36px;z-index:1;display:flex;flex-direction:column;width:120px;padding:5px;background:#fff;border:1px solid #e1eaf3;border-radius:10px;box-shadow:0 9px 25px rgba(32,66,110,.16)}
.pmc-manage-menu button{border:0;text-align:left;background:transparent;color:#36536d;padding:10px 9px;border-radius:6px;cursor:pointer;font-size:12px}
.pmc-manage-menu button:hover{background:#edf5ff}
.pb-dm-modal{position:fixed;inset:0;z-index:200110;display:grid;place-items:center;padding:16px;box-sizing:border-box}
.pb-dm-modal-scrim{position:absolute;inset:0;background:rgba(22,40,65,.48)}
.pb-dm-modal-card{position:relative;box-sizing:border-box;width:min(440px,100%);max-height:90vh;overflow-y:auto;background:#fff;border-radius:16px;padding:21px;box-shadow:0 20px 60px rgba(10,35,60,.22);display:flex;flex-direction:column;gap:12px}
.pb-dm-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pb-dm-modal-header h3{margin:0;font-size:18px;color:#1c3b59}
.pb-dm-modal-close{border:0;background:#f2f5f9;border-radius:8px;width:32px;height:32px;font-size:22px;color:#607b90;cursor:pointer}
.pb-dm-modal-card p{font-size:12px;color:#647c91;line-height:1.7;margin:0}
.pb-dm-modal-card label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:#36536f}
.pb-dm-modal-card select,.pb-dm-modal-card textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid #d5e1ee;border-radius:9px;outline:none;background:#fff;color:#23405c;font:inherit;font-size:13px;font-weight:400}
.pb-dm-modal-card select:focus,.pb-dm-modal-card textarea:focus{border-color:#579ce2}
.pb-dm-modal-card .pb-dm-report-notice{background:#f7f9fc;border-radius:8px;padding:10px;color:#8193a6}
.pb-dm-modal-actions{display:flex;justify-content:flex-end;gap:9px}
.pb-dm-modal-actions button{min-height:40px}
@media(max-width:700px){#section-messages .pb-dm-chat-head-actions{gap:6px}#section-messages .uc-conversation-head{padding:11px 12px;flex-wrap:wrap}#section-messages .pb-dm-list-item .uc-chat-row{padding:12px 9px}#section-messages .pb-dm-manage-toolbar{gap:4px;padding:6px 8px}.pmc-manage-menu{right:20px}}

/* V61.10.446 — blocked-send feedback belongs inside the current conversation,
   never disables the text box or image picker and is not saved as a chat message. */
.pb-dm-block-notice{box-sizing:border-box;max-width:min(92%,460px);width:max-content;margin:14px auto 10px;padding:10px 14px;border:1px solid #e1e8f1;border-radius:10px;background:#f5f7fa;color:#61758b;font-size:12px;line-height:1.75;text-align:center;overflow-wrap:anywhere;clear:both}
#section-messages .conversation-messages .pb-dm-block-notice,.pobing-message-composer .pmc-history .pb-dm-block-notice{display:block}

/* V61.10.450 — narrow screens may wrap the common action row without clipping. */
@media(max-width:480px){
 #section-messages .pb-dm-compose-actions,.pobing-message-composer .pb-dm-compose-actions{flex-wrap:wrap}
 #section-messages .pb-dm-compose-actions .pb-dm-compose-hint,.pobing-message-composer .pb-dm-compose-actions .pb-dm-compose-hint{flex:1 1 96px;max-width:none;min-width:0}
}

/* V61.10.451 — pinned contacts, compact chat title and mobile-only navigation. */
#section-messages .pb-dm-list-item.is-pinned{background:#f8fbff}
#section-messages .pb-dm-list-item.is-pinned .uc-chat-row{background:transparent}
#section-messages .pb-dm-list-item.is-pinned.active{background:#edf5ff}
#section-messages .pb-dm-list-item.is-pinned .uc-chat-row.active{background:transparent}
#section-messages .pb-dm-pin-label{flex:none;color:#2674c5;background:#e9f3ff;font-weight:600;font-size:10px;padding:2px 5px;line-height:1.35;border-radius:5px;white-space:nowrap}
#section-messages .uc-chat-row-top strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#section-messages .pb-dm-conversation-title{flex:1;min-width:0}
#section-messages .pb-dm-conversation-title strong,#section-messages .pb-dm-conversation-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#section-messages .pb-dm-mobile-back{display:none;flex:none;width:34px;height:34px;align-items:center;justify-content:center;cursor:pointer;border:1px solid #dce6f2;border-radius:8px;background:#fff;color:#3974b6;font-size:27px;line-height:1}
@media(max-width:899px){#section-messages .pb-dm-mobile-back{display:inline-flex}}
@media(max-width:480px){#section-messages .pb-dm-pin-label{font-size:10px;padding:2px 4px}}

/* V61.10.452 — compact private-message filters beside batch management. */
#section-messages .pb-dm-manage-toolbar{min-height:45px;gap:6px;padding:5px 12px;align-items:center}
#section-messages .pb-dm-list-filters{display:flex;align-items:center;gap:3px;flex:0 0 auto;min-width:0}
#section-messages .pb-dm-list-filters button{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:5px 7px;border:0;border-radius:6px;background:transparent;color:#677f96;font-size:12px;font-weight:600;white-space:nowrap;box-sizing:border-box}
#section-messages .pb-dm-list-filters button.active{color:#1769d2}
#section-messages .pb-dm-list-filters button:hover{color:#1769d2;background:#eef5fd;border-radius:6px}
#section-messages .pb-dm-list-filters b{display:inline-grid;place-items:center;min-width:16px;height:16px;padding:0 3px;border-radius:10px;background:#eef3f8;color:#7991a9;font-size:10px;font-weight:600;box-sizing:border-box}
#section-messages .pb-dm-list-filters .active b{background:#e8f2ff;color:#1769d2}
#section-messages #ucDmBulkToggle{margin-left:auto;color:#4273a5;font-weight:600}
@media(max-width:480px){#section-messages .pb-dm-manage-toolbar{padding:5px 8px;gap:3px}#section-messages .pb-dm-list-filters{gap:0}#section-messages .pb-dm-list-filters button{padding:5px 6px}#section-messages #ucDmBulkToggle{padding:5px 4px}}

/* V61.10.456 — private-message filters use text color only to indicate selection; no underline. */

/* V61.10.457 — preserve room for notification/private-message icons on
   narrow phones without expanding the site's header beyond the viewport. */
@media (max-width:360px){
 .site-header .header-inner{gap:4px}
 .site-header .header-utility{gap:2px;min-width:0}
 .site-header .header-utility .pb-header-hub-links{gap:0;margin-right:0}
 .site-header .header-utility .pb-header-hub-link{min-width:26px;padding:5px 3px}
}
@media (max-width:360px){
 .site-header .header-inner{gap:0}
 .site-header .header-utility{gap:0}
}

/* V61.10.459 — reliable all-page mobile top navigation. */
@media (min-width:1041px){
 .site-header .header-inner > .nav.pb-mobile-nav{display:none!important}
}
@media (max-width:1040px){
 .site-header .header-inner{position:relative}
 .site-header .header-inner > .nav.open{
   display:flex;
   top:100%;
   z-index:70;
   max-height:calc(100vh - 72px);
   max-height:calc(100dvh - 72px);
   overflow-y:auto;
   overscroll-behavior:contain;
 }
 .site-header .header-utility .menu-btn{
   position:relative;
   z-index:1;
   cursor:pointer;
   min-width:32px;
   min-height:36px;
   border:0;
   flex:none;
   touch-action:manipulation;
 }
}

/* V61.10.475 — direct messages: prioritize the conversation, keeping a readable contact rail.
   Applies only to the user-center private-message workspace on desktop. */
@media (min-width:900px){
  #section-messages .uc-message-panel{
    grid-template-columns:minmax(240px,30%) minmax(0,1fr);
  }
  #section-messages .pb-dm-list-item .uc-chat-row{
    padding:14px 11px;
    gap:10px;
  }
  #section-messages .pb-dm-list-item .uc-chat-row-main{min-width:0;}
  #section-messages .pb-dm-list-item .uc-chat-row-top strong{
    overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  }
  #section-messages .pb-dm-list-item .uc-chat-preview{
    overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  }
}

/* V61.10.476 — private-message batch operations on a dedicated second row.
   The first row never competes with the batch actions for narrow contact-column space. */
#section-messages .pb-dm-manage-toolbar{
  flex-wrap:nowrap;
  justify-content:space-between;
  min-width:0;
}
#section-messages #ucDmBulkToggle{flex:none;margin-left:auto;}
#section-messages .pb-dm-bulk-toolbar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  column-gap:8px;
  row-gap:3px;
  min-width:0;
  padding:7px 12px;
  border-bottom:1px solid #e4ebf4;
  background:#f5f9ff;
  box-sizing:border-box;
}
#section-messages .pb-dm-bulk-toolbar[hidden]{display:none!important;}
#section-messages .pb-dm-bulk-toolbar #ucDmBulkCount{
  flex:1 1 62px;
  min-width:0;
  color:#58728d;
  font-size:11px;
  white-space:nowrap;
}
#section-messages .pb-dm-bulk-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex:0 0 auto;
  gap:3px;
  margin-left:auto;
  white-space:nowrap;
}
#section-messages .pb-dm-bulk-actions button{
  flex:none;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#3673ba;
  cursor:pointer;
  min-height:30px;
  padding:4px 5px;
  font-size:11px;
  line-height:1.4;
  font-weight:600;
  white-space:nowrap;
}
#section-messages .pb-dm-bulk-actions button:hover,
#section-messages .pb-dm-bulk-actions button:focus-visible{
  background:#e8f2ff;
  color:#1268cd;
}
#section-messages .pb-dm-bulk-actions #ucDmBulkDelete{color:#b95355;}
#section-messages .pb-dm-bulk-actions #ucDmBulkDelete:disabled{
  opacity:.45;
  cursor:default;
  background:transparent;
}
@media(max-width:480px){
  #section-messages .pb-dm-bulk-toolbar{padding:6px 8px;gap:3px;}
  #section-messages .pb-dm-bulk-actions{gap:2px;}
  #section-messages .pb-dm-bulk-actions button{padding:4px 4px;}
}


/* V61.10.479 — fixed-height desktop workspace with independently scrolling contacts. */
@media(min-width:900px){
 #section-messages .uc-message-panel{
  height:clamp(500px,calc(100dvh - 265px),760px);
  min-height:0;
  overflow:hidden;
 }
 #section-messages .pb-dm-sidebar{min-height:0;max-height:100%;overflow:hidden;}
 #section-messages .pb-dm-sidebar .uc-message-list{
  flex:1 1 auto;min-height:0;max-height:none;
  overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;
 }
}
#section-messages .pb-dm-sidebar .uc-message-list{
 scrollbar-width:thin;scrollbar-color:#c2d2e4 transparent;
}
#section-messages .pb-dm-sidebar .uc-message-list::-webkit-scrollbar{width:7px;}
#section-messages .pb-dm-sidebar .uc-message-list::-webkit-scrollbar-thumb{
 background:#c2d2e4;border-radius:7px;
}
/* Unread marker belongs to the avatar, never the time/metadata column. */
#section-messages .pb-dm-contact-avatar{
 position:relative;display:block;flex:0 0 40px;width:40px;height:40px;
}
#section-messages .pb-dm-contact-avatar .uc-chat-avatar{
 width:40px;height:40px;min-width:40px;overflow:hidden;
}
#section-messages .pb-dm-contact-avatar .uc-chat-unread-dot{
 position:absolute;right:-2px;top:-3px;left:auto;bottom:auto;
 display:block;width:10px;height:10px;box-sizing:border-box;
 border:2px solid #fff;border-radius:50%;background:#ef5350;
 z-index:1;pointer-events:none;
}


/* V61.10.480 — align chat composer bottom with independently scrolling contacts.
   Desktop only: preserve the existing one-panel-at-a-time mobile presentation. */
@media (min-width:900px){
  #section-messages .uc-conversation-panel.open{
    display:flex;
    flex-direction:column;
    height:100%;
    min-height:0;
    min-width:0;
    box-sizing:border-box;
    overflow:hidden;
  }
  #section-messages .uc-conversation-panel.open .uc-conversation-head{
    flex:0 0 auto;
  }
  #section-messages .uc-conversation-panel.open .conversation-messages{
    flex:1 1 auto;
    min-height:0;
    max-height:none;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:contain;
  }
  #section-messages .uc-conversation-panel.open .conversation-form{
    flex:0 0 auto;
    min-width:0;
    margin:0;
    box-sizing:border-box;
  }
}


/* V61.10.487 - Notification center uses the same integrated pill-tab language as My Publishing.
   Keep the read filter/actions in a compact second row, not inside the tab strip. */
#section-notifications .pb-notifications-panel{
  padding:0;
  overflow:hidden;
  border-radius:16px;
  min-width:0;
}
#section-notifications .pb-notify-toolbar{
  display:block;
  padding:14px 18px 12px;
  border-bottom:1px solid #e8eef5;
  background:linear-gradient(180deg,#fbfdff 0%,#f7faff 100%);
}
#section-notifications .pb-notify-categories{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:10px;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
}
#section-notifications .pb-notify-categories::-webkit-scrollbar{display:none}
#section-notifications .pb-notify-categories button{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  padding:10px 14px;
  flex:none;
  min-height:0;
  line-height:1.4;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
  color:#6f8096;
  background:transparent;
  border:1px solid transparent;
  border-radius:999px;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
#section-notifications .pb-notify-categories button:hover{
  background:#f4f8fe;
  border-color:#e4edf8;
  color:#327bff;
}
#section-notifications .pb-notify-categories button.active{
  background:#edf5ff;
  border-color:#d7e6fb;
  color:#327bff;
}
#section-notifications .pb-notify-categories button:focus-visible{
  outline:2px solid #327bff;
  outline-offset:2px;
}
#section-notifications .pb-notify-tab-total,
#section-notifications .pb-notify-categories button .pb-notify-tab-total{
  display:inline;
  margin:0;
  padding:0;
  min-width:0;
  height:auto;
  border:0;
  border-radius:0;
  background:transparent;
  font-size:12px;
  font-weight:700;
  line-height:inherit;
  color:inherit;
  font-variant-numeric:tabular-nums;
}
#section-notifications .pb-notify-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px 20px;
  min-width:0;
  padding:12px 20px;
  border-bottom:1px solid #e8eef5;
  background:#fff;
}
#section-notifications .pb-notify-summary{
  flex:1 1 auto;
  min-width:0;
  margin:0;
  padding:0;
  color:#8696aa;
  font-size:12px;
  line-height:1.5;
}
#section-notifications .pb-notify-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  color:#53687f;
  font-size:12px;
}
#section-notifications .pb-notify-unread-filter{
  display:inline-flex;
  align-items:center;
  gap:7px;
  cursor:pointer;
  white-space:nowrap;
  user-select:none;
}
#section-notifications .pb-notify-unread-filter input{
  width:15px;
  height:15px;
  margin:0;
  accent-color:#327bff;
  cursor:pointer;
}
#section-notifications .pb-notify-actions .btn{
  min-height:34px;
  padding:0 12px;
  font-size:12px;
  font-weight:600;
  border-radius:8px;
  white-space:nowrap;
}
#section-notifications .pb-notify-actions .btn:disabled{opacity:.5;cursor:default}
#section-notifications .pb-notify-list{border-top:0}
#section-notifications .pb-notify-date-group{margin:0;padding:12px 20px}
#section-notifications .pb-notify-item{padding:18px 20px}
#section-notifications .pb-notify-empty{padding:74px 18px}
@media(max-width:720px){
  #section-notifications .pb-notify-toolbar{padding:12px 12px 10px}
  #section-notifications .pb-notify-categories{gap:8px}
  #section-notifications .pb-notify-categories button{padding:9px 12px}
  #section-notifications .pb-notify-controls{
    flex-wrap:wrap;
    gap:9px;
    padding:12px;
  }
  #section-notifications .pb-notify-summary{flex-basis:100%}
  #section-notifications .pb-notify-actions{width:100%;justify-content:space-between}
  #section-notifications .pb-notify-date-group{padding:11px 12px}
  #section-notifications .pb-notify-item{padding:15px 12px}
}

/* V61.10.487 - In the header preview, unread items stay white.
   A small blue dot next to the title and stronger text indicate unread status. */
.pb-notify-preview-item,
.pb-notify-preview-item.is-unread{background:#fff}
.pb-notify-preview-item:hover,
.pb-notify-preview-item.is-unread:hover,
.pb-notify-preview-item:focus-visible,
.pb-notify-preview-item.is-unread:focus-visible{background:#f6f9ff}
.pb-notify-preview-text b{font-weight:600;color:#455e78}
.pb-notify-preview-item.is-unread .pb-notify-preview-text b{font-weight:700;color:#173653}
.pb-notify-preview-item.is-unread .pb-notify-preview-text b::before{
  content:'';
  display:inline-block;
  vertical-align:middle;
  margin:0 7px 2px 0;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#287af2;
}
.pb-notify-preview-item:not(.is-unread) .pb-notify-preview-text span{color:#7b8da0}


/* V61.10.488 — Full notification center: unread means blue dot and
   stronger title, not a solid tinted row. Keep read/unread backgrounds white. */
#section-notifications .pb-notify-list{background:#fff}
#section-notifications .pb-notify-item,
#section-notifications .pb-notify-item.is-unread{background:#fff}
#section-notifications .pb-notify-item:hover{background:#f7faff}
#section-notifications .pb-notify-info strong{
  color:#506984;
  font-weight:600;
}
#section-notifications .pb-notify-item.is-unread .pb-notify-info strong{
  color:#173653;
  font-weight:700;
}
#section-notifications .pb-notify-item.is-unread .pb-notify-info strong::before{
  content:'';
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#287af2;
  vertical-align:middle;
  margin:0 8px 2px 0;
}
#section-notifications .pb-notify-item:not(.is-unread) .pb-notify-info p{color:#8191a2}
#section-notifications .pb-notify-item.is-unread .pb-notify-info p{color:#637b92}
#section-notifications .pb-notify-date-group{
  background:#f7f9fc;
  color:#6d8097;
  border-bottom:1px solid #edf2f7;
}

/* V61.10.560: keep edit cancellation and save as a 10px-spaced button pair.
   A shared group prevents the two buttons from separating when the small-screen
   action row wraps. In normal sending mode the same group contains only Send. */
#section-messages .pb-dm-compose-actions .pb-dm-edit-actions,
.pobing-message-composer .pb-dm-compose-actions .pb-dm-edit-actions{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:10px;
  margin-left:auto;
  white-space:nowrap;
}
#section-messages .pb-dm-compose-actions .pb-dm-edit-actions>.btn,
.pobing-message-composer .pb-dm-compose-actions .pb-dm-edit-actions>.btn{
  margin-left:0;
  flex:0 0 auto;
}

/* V61.10.562: centralize private-message inline feedback under the editor,
   with prompt text on the left and the live character count on the right. */
#section-messages .pb-dm-compose-meta,
.pobing-message-composer .pb-dm-compose-meta{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  margin-top:-2px;
}
#section-messages .pb-dm-compose-feedback,
.pobing-message-composer .pb-dm-compose-feedback{
  flex:1 1 auto;
  min-height:18px;
  min-width:0;
  font-size:12px;
  line-height:1.5;
  color:#5e748a;
  overflow-wrap:anywhere;
}
#section-messages .pb-dm-compose-feedback.is-info,
.pobing-message-composer .pb-dm-compose-feedback.is-info{color:#2468c9}
#section-messages .pb-dm-compose-feedback.is-success,
.pobing-message-composer .pb-dm-compose-feedback.is-success{color:#1f7a45}
#section-messages .pb-dm-compose-feedback.is-error,
.pobing-message-composer .pb-dm-compose-feedback.is-error{color:#c13e3e}
#section-messages .pb-dm-char-count,
.pobing-message-composer .pb-dm-char-count{
  flex:0 0 auto;
  align-self:flex-start;
  font-size:11px;
  line-height:1.4;
  color:#899bab;
  font-weight:400;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
@media(max-width:560px){
  #section-messages .pb-dm-compose-meta,
  .pobing-message-composer .pb-dm-compose-meta{
    gap:8px;
  }
  #section-messages .pb-dm-compose-feedback,
  .pobing-message-composer .pb-dm-compose-feedback{
    font-size:11px;
  }
}

/* V61.10.563: when a chat has been cleared, inline management feedback
   remains visible beside the contact list, rather than a floating toast. */
#section-messages .pb-dm-list-feedback{
  margin:8px 10px;
  padding:7px 10px;
  border:1px solid #dae6f3;
  border-radius:8px;
  background:#f7fbff;
  color:#5e748a;
  font-size:12px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
#section-messages .pb-dm-list-feedback[hidden]{display:none!important}
#section-messages .pb-dm-list-feedback.is-info{color:#2468c9}
#section-messages .pb-dm-list-feedback.is-success{color:#1f7a45}
#section-messages .pb-dm-list-feedback.is-error{color:#c13e3e}

/* V61.10.565: unblock/report confirmation inside the conversation history.
   Unlike the composer feedback, this stays near the related chat messages. */
.pb-dm-chat-action-notice{
  box-sizing:border-box;
  display:block;
  width:max-content;
  max-width:min(92%,460px);
  margin:12px auto;
  padding:8px 13px;
  border:1px solid #d7e8de;
  border-radius:10px;
  background:#f1faf4;
  color:#287343;
  font-size:12px;
  line-height:1.6;
  text-align:center;
  overflow-wrap:anywhere;
  clear:both;
}
.pb-dm-chat-action-notice.is-error{background:#fff7f7;border-color:#f5d9d9;color:#bf4242}

/* V61.10.570 — active/selected direct-message list item background now spans the full row, including the batch checkbox and overflow-action column, so the contact card uses one consistent background color. */

/* V61.10.571 — follow/history search results keep the existing contact row style.
   Search-only people are not active DM threads and have no bulk/delete controls. */
#section-messages .pb-dm-list-item.pb-dm-search-only .uc-chat-row{min-height:79px;}
#section-messages .pb-dm-list-item.pb-dm-search-only .uc-chat-preview{color:#6f87a1;}

/* V61.10.572 — same real-name badge next to the DM partner's name in both composers. */
#section-messages .pb-dm-conversation-name-row{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;line-height:1.25;}
#section-messages .pb-dm-conversation-name-row #ucConversationName{flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;}
#section-messages .pb-dm-conversation-name-row #ucConversationName a{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#section-messages .pb-dm-conversation-name-row .pb-dm-verified-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 15px;width:15px;height:15px;min-width:15px;margin:0;border-radius:50%;overflow:visible;white-space:nowrap;font-size:10px;line-height:15px;box-shadow:0 0 0 2px #f4f9f6;}
.pobing-message-composer .pmc-name-row{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;line-height:1.25;flex-wrap:nowrap;}
.pobing-message-composer .pmc-name-row strong{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.pobing-message-composer .pmc-head .pb-dm-verified-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 15px;width:15px;height:15px;min-width:15px;margin:0;border-radius:50%;line-height:15px;font-size:10px;vertical-align:middle;box-shadow:0 0 0 2px #f4f9f6;transform:none;align-self:center;}
#section-messages .pb-dm-verified-icon[hidden],.pobing-message-composer .pb-dm-verified-icon[hidden]{display:none!important;}

/* V61.10.574 — override dashboard.css's generic .uc-conversation-head span rule,
   which made the white check inherit the muted gray header text color and a 4px offset. */
#section-messages .uc-conversation-head #ucConversationVerified{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 20px;
  width:20px;
  height:20px;
  margin:0;
  padding:0;
  border-radius:50%;
  background-color:#16845b;
  color:#fff;
  -webkit-text-fill-color:#fff;
  font-family:Arial,Helvetica,sans-serif;
  font-size:14px;
  font-weight:800;
  line-height:1;
  text-align:center;
  box-shadow:0 0 0 2px #eef9f4;
}
#section-messages .uc-conversation-head #ucConversationVerified[hidden]{display:none!important;}

/* V61.10.597 — followers can open the latest-name profile from the inbox. */
#section-notifications .pb-notify-follow-user{color:#0879e6;text-decoration:none;font-weight:600}
#section-notifications .pb-notify-follow-user:hover,#section-notifications .pb-notify-follow-user:focus-visible{text-decoration:underline}
.pb-notify-preview-text .pb-notify-follow-name{color:#0879e6;font-style:normal;font-weight:600}

/* V61.10.642 — private messages: unread divider, consistent with group chat */
#section-messages .pb-dm-unread-divider,
.pobing-message-composer .pb-dm-unread-divider{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin:18px 0;padding:6px 0;color:#2875c6;font-size:12px;font-weight:600;text-align:center}
#section-messages .pb-dm-unread-divider:before,
#section-messages .pb-dm-unread-divider:after,
.pobing-message-composer .pb-dm-unread-divider:before,
.pobing-message-composer .pb-dm-unread-divider:after{content:"";min-width:12px;height:1px;flex:1;background:#d7e6f8}
#section-messages .pb-dm-unread-divider button,
.pobing-message-composer .pb-dm-unread-divider button{padding:5px 9px;border:1px solid #cddff6;background:#fff;color:#236fb9;border-radius:7px;cursor:pointer;font:inherit;font-weight:500;white-space:nowrap}
#section-messages .pb-dm-unread-divider button:hover,
.pobing-message-composer .pb-dm-unread-divider button:hover{background:#edf6ff}

/* V61.10.643 — floating "latest messages" controls for both DM surfaces. */
.pb-dm-latest-button{position:fixed;z-index:100080;min-height:38px;border:1px solid #cfe2f8;border-radius:24px;background:#fff;color:#1671d5;box-shadow:0 5px 18px rgba(35,86,139,.13);padding:8px 14px;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap;max-width:calc(100vw - 24px)}
.pb-dm-latest-button[hidden]{display:none!important}
.pb-dm-latest-button:hover{background:#edf6ff;border-color:#a8c9f0}
.pb-dm-latest-button:focus-visible{outline:2px solid #0879e6;outline-offset:2px}
@media(max-width:620px){.pb-dm-latest-button{min-height:42px;padding:9px 13px;font-size:12px}}

/* V61.10.644 — identical private-message reading affordances in popup and inbox. */
#section-messages .pb-dm-unread-divider button:focus-visible,
.pobing-message-composer .pb-dm-unread-divider button:focus-visible{outline:2px solid #0879e6;outline-offset:2px}
#section-messages .pb-dm-unread-divider,
.pobing-message-composer .pb-dm-unread-divider{max-width:100%;box-sizing:border-box}
@media(max-width:580px){
 #section-messages .pb-dm-unread-divider,
 .pobing-message-composer .pb-dm-unread-divider{gap:6px;font-size:11px}
 #section-messages .pb-dm-unread-divider button,
 .pobing-message-composer .pb-dm-unread-divider button{min-height:36px;padding:6px 9px}
}

/* V61.10.645 — mobile private message usability and keyboard safety. */
@media(max-width:700px){
 .pobing-message-composer.open{
  box-sizing:border-box;
  top:var(--pb-dm-vtop, 0px);
  bottom:auto;
  height:var(--pb-dm-vh, 100dvh);
  padding:10px 10px max(10px,env(safe-area-inset-bottom));
  align-items:flex-end;
  overflow:hidden;
 }
 .pobing-message-composer .pmc-card{
  display:flex;flex-direction:column;
  box-sizing:border-box;
  max-height:100%;min-height:0;
  width:100%;overflow:hidden;
  padding:14px 14px max(12px,env(safe-area-inset-bottom));
 }
 .pobing-message-composer .pmc-head,.pobing-message-composer .pmc-context{
  flex-shrink:0;
 }
 .pobing-message-composer .pmc-history{
  flex:1 1 auto;min-height:70px;
  max-height:none;overflow-y:auto;overscroll-behavior:contain;
 }
 .pobing-message-composer .pb-dm-compose-box{
  flex:0 0 auto;min-height:0;
 }
 .pobing-message-composer .pb-dm-compose-box textarea{
  min-height:58px;max-height:120px;font-size:16px;
 }
 .pobing-message-composer .pmc-head-actions{gap:5px}
 .pobing-message-composer .pmc-open-full{font-size:11px}
 #section-messages.pb-chat-mobile-open .uc-message-panel{
  min-height:0;height:min(680px,calc(100dvh - 155px));
  overflow:hidden;
 }
 #section-messages.pb-chat-mobile-open .uc-conversation-panel.open{
  display:flex;flex-direction:column;
  height:100%;min-height:0;overflow:hidden;
 }
 #section-messages.pb-chat-mobile-open .uc-conversation-head{flex:0 0 auto}
 #section-messages.pb-chat-mobile-open .conversation-messages{
  flex:1 1 auto;min-height:0;max-height:none;
  overflow-y:auto;overscroll-behavior:contain;
 }
 #section-messages.pb-chat-mobile-open .conversation-form{flex:0 0 auto;min-width:0}
 #section-messages .conversation-form textarea{font-size:16px}
 .pb-dm-latest-button{min-height:44px;max-width:calc(100vw - 24px)}
}
@media(max-width:380px){
 .pobing-message-composer .pmc-card{padding:11px}
 .pobing-message-composer .pmc-head h3{font-size:15px}
 .pobing-message-composer .pmc-open-full{max-width:72px;white-space:normal;text-align:center}
}

/* V61.10.646 — DM bubbles match group-chat message styling.
   The wording, message state, alignment and actions are unchanged. */
.pobing-message-composer .pmc-msg-row.theirs .pmc-msg-bubble,
#section-messages .uc-chat-bubble-row.theirs .uc-chat-bubble{
 background:#f2f6fc;color:#314e6d;border:1px solid #e7eef6;
 border-radius:4px 12px 12px 12px;box-shadow:none;
}
.pobing-message-composer .pmc-msg-row.mine .pmc-msg-bubble,
#section-messages .uc-chat-bubble-row.mine .uc-chat-bubble{
 background:#e7f2ff;color:#314e6d;border:1px solid #d9eafb;
 border-radius:12px 4px 12px 12px;box-shadow:none;
}
.pobing-message-composer .pmc-msg-row .pmc-msg-bubble.recalled,
#section-messages .uc-chat-bubble-row .uc-chat-bubble.recalled{
 background:#f7f8fa;color:#94a2b2;border:1px dashed #e7eef6;
 font-style:italic;
}
