.ndmc4{--pink:#f31b91;--pink2:#d719a0;--line:#20283d;--panel:#080e1b;--panel2:#0c1222;--muted:#9098ad;--gold:#f0b82d;margin:18px auto 28px;color:#f5f5f8;font-family:Arial,Helvetica,sans-serif}
.ndmc4 *{box-sizing:border-box}.ndmc4 button,.ndmc4 input{font:inherit}.ndmc4-grid{height:calc(100vh - 120px);min-height:650px;max-height:780px;display:grid;grid-template-columns:25.5% 49.5% 25%;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#070c17;box-shadow:0 0 60px rgba(70,0,90,.08)}
.ndmc4-left{min-width:0;background:linear-gradient(180deg,#0a0f1d,#080d19);border-right:1px solid var(--line);display:flex;flex-direction:column}.ndmc4-left h2{font-size:16px;letter-spacing:.04em;margin:23px 16px 14px}.ndmc4-search{height:39px;margin:0 16px 12px;padding:0 12px;display:flex;align-items:center;gap:10px;background:#151329;border:1px solid #292440;border-radius:11px;color:#a6a9bc}.ndmc4-search input{width:100%;border:0;outline:0;background:none;color:#ddd;font-size:13px}.ndmc4-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 16px 14px}.ndmc4-filters button{height:34px;border-radius:19px;border:1px solid #222941;background:#0c1221;color:#d4d6df;font-size:11px;cursor:pointer}.ndmc4-filters .active{border-color:#c831d8;background:linear-gradient(90deg,#df23c9,#a94dff);color:white;box-shadow:0 0 20px rgba(235,28,174,.25)}.ndmc4-list{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#473153 transparent}.ndmc4-row{position:relative;width:100%;min-height:61px;padding:7px 11px 7px 16px;border:0;border-bottom:1px solid rgba(36,42,63,.75);background:transparent;color:inherit;text-align:left;display:grid;grid-template-columns:46px minmax(0,1fr) 34px;gap:17px;align-items:center;cursor:pointer}.ndmc4-row.selected{background:linear-gradient(90deg,rgba(238,26,145,.24),rgba(88,25,89,.16))}.ndmc4-row.selected:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--pink)}.avatar{position:relative;display:inline-block;width:44px;height:44px}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.avatar>i{position:absolute;right:-1px;bottom:2px;width:10px;height:10px;border-radius:50%;background:#4b5160;border:1px solid #0a0f1d}.avatar>i.on{background:#0bd275}.copy{min-width:0}.copy .top{display:flex;align-items:center;gap:5px;white-space:nowrap}.copy b{font-size:12px}.copy em,.person em,.hero-copy em{font-style:normal;font-size:9px;color:var(--gold);border:1px solid rgba(240,184,45,.25);background:rgba(138,66,34,.25);border-radius:6px;padding:2px 5px}.copy small{font-size:8px;color:#9299aa;margin-left:auto}.copy small i,.ndmc4-chathead small i,.hero-copy small i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#08d275;margin-right:4px}.preview{display:block;color:#a2a8b8;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.meta{align-self:stretch;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-around}.meta time{font-size:9px;color:#8c93a7}.meta strong{width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:var(--pink);font-size:9px}.ndmc4-center{min-width:0;display:grid;grid-template-rows:72px minmax(0,1fr) 80px;background:radial-gradient(circle at 50% 35%,#0d1427 0,#070c18 58%);border-right:1px solid var(--line)}.ndmc4-chathead{display:flex;align-items:center;padding:0 13px;border-bottom:1px solid var(--line);background:rgba(7,12,23,.8)}.avatar.big{width:49px;height:49px}.ndmc4-chat-identity{margin-left:12px;min-width:0}.person{display:flex;align-items:center;gap:12px}.person b{font-size:17px}.ndmc4-chathead small{font-size:10px;color:#9da4b6}.tools{margin-left:auto!important;display:flex;gap:8px}.tools button{width:39px;height:39px;border:1px solid var(--line);border-radius:10px;background:#080e1a;color:#ddd;font-size:17px}.ndmc4-messages{overflow-y:auto;padding:12px 12px 20px;scrollbar-width:thin;scrollbar-color:#3c2c48 transparent}.day{width:max-content;margin:0 auto 12px;padding:5px 11px;border-radius:7px;background:#11182a;color:#9da3b5;font-size:10px}.msg{display:flex;align-items:flex-end;gap:8px;margin:0 0 15px}.msg p{margin:0;padding:11px 14px;border-radius:13px;font-size:12px;line-height:1.45;max-width:58%}.msg time{font-size:9px;color:#7f879b;margin-bottom:3px}.msg.in p{background:#171b34;border-bottom-left-radius:5px}.avatar.mini{width:33px;height:33px;flex:0 0 33px}.msg.out{justify-content:flex-end}.msg.out p{order:1;background:linear-gradient(135deg,#ef1d91,#d81b9b);border-bottom-right-radius:5px}.msg.out time{order:2;color:#f0d9e9}.ndmc4-compose{display:flex;align-items:center;gap:8px;padding:14px 13px;border-top:1px solid var(--line)}.ndmc4-compose>button:not(.send){border:0;background:transparent;color:#b8bdcb;font-size:19px}.ndmc4-compose input{height:46px;min-width:0;flex:1;border:1px solid #252b43;border-radius:12px;background:#111329;color:#ddd;padding:0 15px;outline:0;font-size:12px}.ndmc4-compose .send{width:52px;height:52px;border:0;border-radius:50%;background:linear-gradient(145deg,#fa299e,#d9148d);color:white;font-size:22px;box-shadow:0 0 22px rgba(239,27,145,.3)}.ndmc4-right{min-width:0;background:#080e1a;overflow-y:auto;scrollbar-width:none}.hero{position:relative;height:322px;overflow:hidden}.hero>img{width:100%;height:100%;object-fit:cover;display:block}.shade{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(4,7,12,.03) 45%,rgba(4,7,12,.94) 100%)}.hero>button{position:absolute;z-index:3;width:30px;height:30px;border:0;border-radius:50%;background:rgba(7,10,17,.58);color:#fff;font-size:24px}.hero .prev{left:8px;top:45%}.hero .next{right:8px;top:45%}.hero .close{right:8px;top:10px;font-size:20px}.hero-copy{position:absolute;z-index:2;left:14px;right:14px;bottom:13px}.hero-copy>div{display:flex;align-items:center;gap:9px}.hero-copy b{font-size:23px}.hero-copy small{display:block;font-size:10px;margin:4px 0}.hero-copy>span{font-size:11px}.thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:10px 12px;border-bottom:1px solid var(--line)}.thumbs button{height:55px;padding:0;border:1px solid #2b3246;border-radius:7px;overflow:hidden;background:#11182a;color:white}.thumbs img{width:100%;height:100%;object-fit:cover}.thumbs .more{font-size:13px}.profilebody{padding:2px 13px 15px}.profilebody h3{font-size:11px;margin:14px 0 7px}.profilebody p{font-size:10px;line-height:1.5;color:#a8aebb;margin:0}.profilebody p span{color:#f263b4}.profilebody p small{font-size:6px;color:#545b6c}.chips{display:flex;flex-wrap:wrap;gap:7px}.chips span{padding:7px 13px;border-radius:18px;background:#111a2e;border:1px solid #19243a;font-size:10px}.full,.fav{height:43px;width:100%;display:flex;align-items:center;justify-content:center;border-radius:10px;font-weight:700;font-size:11px}.full{margin-top:17px;background:linear-gradient(90deg,#f21b91,#e61a9c);color:#fff}.fav{margin-top:8px;background:transparent;border:1px solid var(--pink);color:#fff;gap:9px;font-size:17px}.fav span{font-size:10px;font-weight:400}
@media(max-width:1000px){.ndmc4-grid{grid-template-columns:34% 66%}.ndmc4-right{display:none}}@media(max-width:700px){.ndmc4{margin-top:12px}.ndmc4-grid{display:block;height:calc(100dvh - 105px);min-height:560px}.ndmc4-left{height:100%}.ndmc4-center{display:none;height:100%}.ndmc4.is-chat .ndmc4-left{display:none}.ndmc4.is-chat .ndmc4-center{display:grid}}

.ndmc4-verified-slot{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:0}.ndmc4-verified-slot:empty{display:none}.ndmc4-verified-slot .ndmc4-verified,.ndmc4-verified-slot svg{width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important;display:block!important;margin:0!important;position:static!important}

.thumbs .ndmc4-thumb{position:relative;display:block;cursor:pointer}.thumbs .ndmc4-private{height:55px;border:1px solid #2b3246;border-radius:7px;overflow:visible;background:#11182a;cursor:default}.ndmc4-private-blur{position:absolute;inset:0;border-radius:6px;overflow:hidden;background:linear-gradient(135deg,#273047,#11182a 45%,#34223d);filter:blur(4px);opacity:.9}.ndmc4-lock{position:absolute;inset:0;display:grid;place-items:center;border-radius:6px;background:rgba(5,9,18,.35);pointer-events:none}.ndmc4-lock-icon{width:24px;height:24px;fill:none;stroke:#e8b735;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px rgba(232,183,53,.18))}.ndmc4-private:after{content:attr(data-private-label);position:absolute;left:50%;bottom:-8px;z-index:8;transform:translate(-50%,100%);padding:5px 8px;border:1px solid #343d52;border-radius:6px;background:#0b101b;color:#f0f1f5;font-size:10px;line-height:1;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .14s ease,visibility .14s ease}.ndmc4-private:before{content:"";position:absolute;left:50%;bottom:-8px;z-index:9;transform:translate(-50%,50%) rotate(45deg);width:7px;height:7px;border-left:1px solid #343d52;border-top:1px solid #343d52;background:#0b101b;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .14s ease,visibility .14s ease}.ndmc4-private:hover:after,.ndmc4-private:hover:before{opacity:1;visibility:visible}
.ndmc4-lightbox[hidden]{display:none!important}.ndmc4-lightbox{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;background:rgba(2,5,12,.42);padding:32px}.ndmc4-lightbox-stage{position:relative;display:inline-block;padding:0;border:1px solid #2b344a;border-radius:11px;background:transparent;box-shadow:0 22px 70px rgba(0,0,0,.52);overflow:hidden;line-height:0}.ndmc4-lightbox figure{position:relative;margin:0;display:block;line-height:0}.ndmc4-lightbox figure img{display:block;max-width:56vw;max-height:58vh;width:auto;height:auto;object-fit:contain;border-radius:10px}.ndmc4-lightbox figcaption{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:3;margin:0;padding:5px 10px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(5,10,19,.72);color:#fff;font-size:12px;line-height:1.2;white-space:nowrap}.ndmc4-lightbox button{position:absolute;z-index:4;border:1px solid rgba(255,255,255,.18);background:rgba(5,10,19,.68);color:#fff;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(4px)}.ndmc4-lightbox-close{top:12px;right:12px;width:34px;height:34px;border-radius:50%;font-size:21px;line-height:1}.ndmc4-lightbox-prev,.ndmc4-lightbox-next{top:50%;transform:translateY(-50%);width:38px;height:52px;border-radius:11px;font-size:30px;line-height:1}.ndmc4-lightbox-prev{left:12px}.ndmc4-lightbox-next{right:12px}.ndmc4-lightbox button:disabled{opacity:.25;cursor:default}
@media(max-width:700px){.ndmc4-lightbox{padding:18px}.ndmc4-lightbox-stage{max-width:calc(100vw - 36px)}.ndmc4-lightbox figure img{max-width:calc(100vw - 36px);max-height:72vh}.ndmc4-lightbox-prev,.ndmc4-lightbox-next{width:34px;height:48px;font-size:26px}.ndmc4-lightbox-prev{left:8px}.ndmc4-lightbox-next{right:8px}.ndmc4-lightbox-close{right:8px;top:8px}.ndmc4-lightbox figcaption{bottom:9px}}

.ndmc4-lightbox figure img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}

.ndmc4-tool-wrap{position:relative}.ndmc4-chat-search-pop{position:absolute;z-index:30;top:45px;right:0;width:248px;padding:5px;display:grid;grid-template-columns:minmax(0,1fr) auto 28px 28px;gap:4px;align-items:center;border:1px solid #293149;border-radius:9px;background:#0a101d;box-shadow:0 14px 38px rgba(0,0,0,.38)}.ndmc4-chat-search-pop[hidden]{display:none!important}.ndmc4-chat-search-pop input{min-width:0;height:32px;border:0;border-radius:6px;background:transparent;color:#f1f3f7;padding:0 8px;outline:0;font-size:11px}.ndmc4-chat-search-pop input::placeholder{color:#8f96a8;font-size:11px}.ndmc4-chat-search-pop input:focus{background:#181226}.ndmc4-chat-search-pop span{font-size:9px;color:#9ca5b8;white-space:nowrap}.ndmc4-chat-search-pop button{width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:#f1f3f7;font-size:16px}.ndmc4-chat-search-pop button:hover{background:#181226;color:#ff4da8}.ndmc4-more-wrap:hover .ndmc4-chat-menu,.ndmc4-more-wrap:focus-within .ndmc4-chat-menu{opacity:1;visibility:visible;transform:translateY(0)}.ndmc4-chat-menu{position:absolute;z-index:30;top:45px;right:0;min-width:130px;padding:5px;border:1px solid #293149;border-radius:9px;background:#0a101d;box-shadow:0 14px 38px rgba(0,0,0,.38);opacity:0;visibility:hidden;transform:translateY(-4px);transition:.14s ease}.ndmc4-chat-menu button{width:100%;height:34px;border:0;border-radius:6px;background:transparent;color:#f1f3f7;text-align:left;padding:0 10px;font-size:11px}.ndmc4-chat-menu button:hover{background:#181226;color:#ff4da8}.ndmc4-search-hit{outline:1px solid rgba(238,27,145,.45);outline-offset:3px}.ndmc4-search-hit-active{outline:2px solid #ee1b91;background:rgba(238,27,145,.08)}.fav.is-favorite{background:rgba(238,27,145,.1)}

.ndmc4-chat-menu{min-width:210px}.ndmc4-chat-menu button+button{margin-top:2px}.ndmc4-confirm{position:fixed;inset:0;z-index:100020;display:grid;place-items:center;padding:24px;background:rgba(2,5,14,.62)}.ndmc4-confirm[hidden]{display:none!important}.ndmc4-confirm-card{position:relative;width:min(420px,calc(100vw - 40px));padding:28px;border:1px solid #30384e;border-radius:14px;background:#090f1b;box-shadow:0 24px 70px rgba(0,0,0,.55);color:#fff}.ndmc4-confirm-card h3{margin:0 36px 10px 0;font-size:19px}.ndmc4-confirm-card p{margin:0 0 22px;color:#b7bfd0;line-height:1.5}.ndmc4-confirm-x{position:absolute;top:10px;right:10px;width:32px;height:32px;border:1px solid #30384e;border-radius:50%;background:transparent;color:#fff;font-size:20px}.ndmc4-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ndmc4-confirm-actions button{height:42px;border:0;border-radius:9px;color:#fff;font-weight:700}.ndmc4-confirm-yes{background:#c93543}.ndmc4-confirm-no{background:#24965a}

.ndmc4-confirm{background:rgba(2,5,12,.30);backdrop-filter:none;-webkit-backdrop-filter:none;padding:20px}
.ndmc4-confirm-card{width:min(390px,calc(100vw - 36px));padding:22px 22px 20px;border:1px solid rgba(232,27,145,.42);border-radius:12px;background:linear-gradient(180deg,rgba(9,15,27,.97),rgba(7,12,23,.97));box-shadow:0 18px 55px rgba(0,0,0,.44),0 0 24px rgba(226,26,153,.07)}
.ndmc4-confirm-card h3{margin:0 34px 8px 0;font-size:17px;line-height:1.25}
.ndmc4-confirm-card p{margin:0 0 18px;color:#aab1c2;font-size:12px;line-height:1.45}
.ndmc4-confirm-x{top:9px;right:9px;width:29px;height:29px;border-color:#343b50;background:rgba(7,12,23,.72);font-size:18px;cursor:pointer}
.ndmc4-confirm-actions{gap:9px}.ndmc4-confirm-actions button{height:38px;border-radius:8px;font-size:12px;cursor:pointer}
.ndmc4-confirm-yes{background:#a92d3b;border:1px solid rgba(235,81,96,.36)!important}.ndmc4-confirm-no{background:#1f7548;border:1px solid rgba(72,184,121,.32)!important}

.ndmc4-row[hidden]{display:none!important}.ndmc4-list-empty[hidden]{display:none!important}

.ndmc4-list-empty{padding:18px 14px 10px;text-align:center;font-size:13px;line-height:1.45;font-weight:400;color:#8190a8;letter-spacing:.01em}
@keyframes ndmc4UnreadPulseVerified{0%,100%{box-shadow:inset 0 0 0 1px rgba(104,194,255,.14),0 0 4px rgba(104,194,255,.08)}50%{box-shadow:inset 0 0 0 1px rgba(104,194,255,.52),0 0 24px rgba(104,194,255,.38)}}
@keyframes ndmc4UnreadPulsePremium{0%,100%{box-shadow:inset 0 0 0 1px rgba(216,174,72,.14),0 0 4px rgba(216,174,72,.08)}50%{box-shadow:inset 0 0 0 1px rgba(216,174,72,.56),0 0 24px rgba(216,174,72,.38)}}
@keyframes ndmc4UnreadPulseFree{0%,100%{box-shadow:inset 0 0 0 1px rgba(225,231,240,.11),0 0 4px rgba(225,231,240,.06)}50%{box-shadow:inset 0 0 0 1px rgba(225,231,240,.40),0 0 21px rgba(225,231,240,.24)}}
.ndmc4-row.ndmc4-unread-pulse.ndmc4-tier-verified{animation:ndmc4UnreadPulseVerified 4s ease-in-out infinite}
.ndmc4-row.ndmc4-unread-pulse.ndmc4-tier-premium{animation:ndmc4UnreadPulsePremium 2.8s ease-in-out infinite}
.ndmc4-row.ndmc4-unread-pulse.ndmc4-tier-free{animation:ndmc4UnreadPulseFree 5.2s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.ndmc4-row.ndmc4-unread-pulse{animation:none!important}}

.ndmc4-row.ndmc4-unread-pulse{overflow:hidden;isolation:isolate}
.ndmc4-row.ndmc4-unread-pulse>*{position:relative;z-index:2}
.ndmc4-row.ndmc4-unread-pulse::after{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;transform:translateX(-115%);opacity:0;background:linear-gradient(105deg,transparent 0%,transparent 30%,var(--ndmc4-sweep,rgba(225,231,240,.18)) 50%,transparent 70%,transparent 100%);animation-name:ndmc4UnreadSweep;animation-timing-function:ease-in-out;animation-iteration-count:infinite}
.ndmc4-row.ndmc4-tier-verified{--ndmc4-sweep:rgba(104,194,255,.28)}
.ndmc4-row.ndmc4-tier-premium{--ndmc4-sweep:rgba(216,174,72,.28)}
.ndmc4-row.ndmc4-tier-free{--ndmc4-sweep:rgba(225,231,240,.20)}
@keyframes ndmc4UnreadSweep{0%,12%{transform:translateX(-115%);opacity:0}24%{opacity:.75}62%{opacity:.55}78%,100%{transform:translateX(115%);opacity:0}}
@media (prefers-reduced-motion:reduce){.ndmc4-row.ndmc4-unread-pulse::after{animation:none!important}}

.ndmc4:not(.has-selection) .ndmc4-center>*{visibility:hidden;pointer-events:none}
.ndmc4:not(.has-selection) .ndmc4-right{visibility:hidden;pointer-events:none}
.ndmc4-row.ndmc4-unread-pulse.ndmc4-tier-free::after{animation-duration:6.4s}
.ndmc4-row.ndmc4-unread-pulse.ndmc4-tier-verified::after{animation-duration:4.8s}
.ndmc4-row.ndmc4-unread-pulse.ndmc4-tier-premium::after{animation-duration:3.3s}

.ndmc4-chathead small{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){.ndmc4-chathead small{font-size:9px;max-width:38vw}}

.ndmc4-mobile-back,.ndmc4-mobile-menu-search{display:none}.ndmc4-compose-field{position:relative;min-width:0;flex:1}.ndmc4-compose-field input{width:100%;padding-right:72px}.ndmc4-char-count{position:absolute;right:10px;bottom:5px;color:#7f879b;font-size:9px;line-height:1}.ndmc4-char-count.near-limit{color:#d8ae48}
@media(max-width:700px){
 .ndmc4-chathead{padding:0 9px;gap:7px}.ndmc4-mobile-back{display:grid;place-items:center;flex:0 0 32px;width:32px;height:38px;border:0;background:transparent;color:#f1f3f7;font-size:30px;line-height:1;cursor:pointer}.ndmc4-chathead .avatar.big{width:46px;height:46px;flex:0 0 46px}.ndmc4-chathead>div:nth-of-type(1){min-width:0;margin-left:0}.ndmc4-chat-identity{margin-left:0}.ndmc4-chathead .person{gap:6px;min-width:0;flex-wrap:wrap}.ndmc4-chathead .person b{font-size:16px;max-width:42vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ndmc4-chathead [data-chat-badge]{font-size:9px;padding:5px 7px}.ndmc4-chathead .tools{gap:5px}.ndmc4-chathead .tools button{width:39px;height:39px}.ndmc4-tool-search{display:none!important}.ndmc4-mobile-menu-search{display:block!important}.ndmc4-chat-search-pop{position:fixed;top:92px;left:16px;right:16px;width:auto}.ndmc4-chathead small{max-width:48vw}.ndmc4-compose{gap:6px;padding:10px 9px}.ndmc4-compose>button:not(.send){display:none}.ndmc4-compose .send{width:46px;height:46px;flex:0 0 46px}.ndmc4-compose-field input{height:46px}
}

@media(max-width:700px){
 .ndmc4-more-wrap{position:relative}
 .ndmc4-chat-menu{top:44px;right:0;left:auto;width:min(250px,calc(100vw - 32px));min-width:0;max-width:calc(100vw - 32px);padding:6px;display:flex;flex-direction:column;gap:2px}
 .ndmc4-chat-menu button{display:block;width:100%;height:auto;min-height:40px;padding:9px 11px;white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.25;text-align:left;font-size:12px}
 .ndmc4-chat-menu button+button{margin-top:0;border-top:1px solid rgba(41,49,73,.72);border-radius:0}
 .ndmc4-chat-menu [data-remove-contact]{color:#e08b95}
}

@media (max-width: 760px){
 .ndmc4 .ndmc4-chat-menu{
  top:50px;right:0;left:auto;
  width:min(270px,calc(100vw - 28px));min-width:240px;max-width:calc(100vw - 28px);
  padding:7px;
  display:flex;flex-direction:column;gap:0;
  background:linear-gradient(180deg,rgba(10,17,31,.99),rgba(8,14,27,.99));
  border:1px solid rgba(76,91,130,.62);border-radius:14px;
  box-shadow:0 16px 38px rgba(0,0,0,.42),0 0 0 1px rgba(129,63,160,.08) inset;
  overflow:hidden;z-index:80;
 }
 .ndmc4 .ndmc4-chat-menu button{
  box-sizing:border-box;display:flex;align-items:center;width:100%;min-height:44px;height:44px;
  padding:0 13px;margin:0;border:0;border-radius:9px;background:transparent;
  color:#e9edf7;font:600 13px/1.1 inherit;text-align:left;
  white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;
 }
 .ndmc4 .ndmc4-chat-menu button+button{border-top:1px solid rgba(67,79,112,.36);border-radius:0}
 .ndmc4 .ndmc4-chat-menu button:hover,.ndmc4 .ndmc4-chat-menu button:focus-visible{background:rgba(44,75,116,.24);color:#fff;outline:none}
 .ndmc4 .ndmc4-chat-menu [data-remove-contact]{color:#f08b9d}
 .ndmc4 .ndmc4-chat-menu [data-remove-contact]:hover,.ndmc4 .ndmc4-chat-menu [data-remove-contact]:focus-visible{background:rgba(190,53,89,.12);color:#ff9eb0}
}
\n\n
@media (max-width:760px){
 .ndmc4 .ndmc4-more-wrap:not(.is-open) .ndmc4-chat-menu{opacity:0!important;visibility:hidden!important;transform:translateY(-4px)!important;pointer-events:none!important}
 .ndmc4 .ndmc4-more-wrap.is-open .ndmc4-chat-menu{opacity:1!important;visibility:visible!important;transform:translateY(0)!important;pointer-events:auto!important}
 .ndmc4 .ndmc4-chat-menu{width:min(260px,calc(100vw - 32px));min-width:0;max-width:calc(100vw - 32px);padding:8px;border-radius:12px}
 .ndmc4 .ndmc4-chat-menu button{min-height:46px;height:46px;padding:0 14px;font-size:13px;font-weight:600;letter-spacing:0;white-space:nowrap!important}
 .ndmc4 .ndmc4-chat-menu button+button{border-top:1px solid rgba(72,84,116,.34)}
 .ndmc4 .ndmc4-chat-menu .ndmc4-mobile-menu-search{background:rgba(37,67,108,.25);color:#fff}
 .ndmc4 .ndmc4-chat-search-pop{position:fixed!important;left:16px!important;right:16px!important;width:auto!important;max-width:none!important;z-index:100010!important;padding:7px!important;border-radius:11px!important;background:linear-gradient(180deg,rgba(10,17,31,.995),rgba(8,14,27,.995))!important;border-color:rgba(76,91,130,.66)!important;box-shadow:0 16px 38px rgba(0,0,0,.44)!important}
}

@media (max-width:760px){
 .ndmc4 .ndmc4-chat-menu[hidden]{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}
 .ndmc4 .ndmc4-chat-search-pop[hidden]{display:none!important}
}












@keyframes ndmc4-premium-gold-pulse{
  0%,100%{box-shadow:0 0 18px rgba(255,196,57,.18),0 0 0 0 rgba(255,196,57,.18);}
  50%{box-shadow:0 0 28px rgba(255,196,57,.58),0 0 0 5px rgba(255,196,57,.10);}
}

@keyframes ndmc4-premium-pink-pulse{
  0%,100%{box-shadow:0 0 18px rgba(255,38,143,.20),0 0 0 0 rgba(255,60,169,.16);}
  50%{box-shadow:0 0 30px rgba(255,60,169,.62),0 0 0 5px rgba(197,54,239,.12);}
}

@media (min-width:701px){
  .ndmc4-row{column-gap:25px}
  .ndmc4-chat-identity{margin-left:12px}
}

.ndmc4-messages .msg p{font-family:inherit;font-size:12px;font-weight:400;line-height:1.45;max-width:58%;overflow-wrap:anywhere;word-break:normal}

.ndmc4.ndmc4-profile-embedded{width:100%;max-width:none;min-width:0;margin:0}
.ndmc4.ndmc4-profile-embedded .ndmc4-grid{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;height:560px;max-height:70vh}
.ndmc4.ndmc4-profile-embedded .ndmc4-left,.ndmc4.ndmc4-profile-embedded .ndmc4-right{display:none!important}
.ndmc4.ndmc4-profile-embedded .ndmc4-center{min-width:0;width:100%;height:100%;display:flex;flex-direction:column}
.ndmc4.ndmc4-profile-embedded .ndmc4-messages{flex:1;min-height:0;overflow-y:auto}
.ndmc4.ndmc4-profile-embedded .ndmc4-mobile-back{display:none!important}
@media(max-width:640px){.ndmc4.ndmc4-profile-embedded .ndmc4-grid{height:490px;max-height:65vh}}

.ndmc4 .ndmc4-grid{min-height:0}
.ndmc4 .ndmc4-center{min-height:0;overflow:hidden;grid-template-rows:72px minmax(0,1fr) 80px}
.ndmc4 .ndmc4-messages{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.ndmc4 .ndmc4-compose{min-height:0;flex-shrink:0;box-sizing:border-box}
.ndmc4.ndmc4-profile-embedded .ndmc4-center{min-height:0;overflow:hidden}
.ndmc4.ndmc4-profile-embedded .ndmc4-compose{flex:0 0 80px}

.ndmc4-confirm-card .ndmc4-confirm-notice{color:#facc15;font-weight:600;margin-top:-8px;margin-bottom:18px}.ndmc4-confirm-notice[hidden]{display:none!important}

.ndmc4-report-modal .ndmc4-confirm-card{max-width:520px;max-height:90vh;overflow-y:auto;text-align:left}.ndmc4-report-modal label{display:block;margin:12px 0 5px;color:#eee;font-size:13px}.ndmc4-report-modal select,.ndmc4-report-modal textarea,.ndmc4-report-modal input[type=file]{box-sizing:border-box;width:100%;background:#151b2b;color:#fff;border:1px solid #48506a;border-radius:7px;padding:9px}.ndmc4-report-modal .ndmc4-report-safety{color:#facc15;font-size:12px;line-height:1.5}.ndmc4-report-modal .ndmc4-report-status{font-size:12px;color:#facc15}.ndmc4-report-modal[hidden]{display:none!important}

.ndmc4-report-toast{position:fixed;z-index:2147483000;left:50%;bottom:28px;transform:translateX(-50%);width:min(420px,calc(100vw - 32px));box-sizing:border-box;padding:17px 20px;border:1px solid rgba(226,75,174,.45);border-radius:14px;background:#141323;color:#fff;box-shadow:0 12px 38px rgba(0,0,0,.5);font:inherit;text-align:left;display:flex;flex-direction:column;gap:7px}
.ndmc4-report-toast strong{font-size:15px;font-weight:700}
.ndmc4-report-toast span{font-size:13px;line-height:1.5;color:#e5dce9}
.ndmc4.ndmc4-report-complete .ndmc4-center,.ndmc4.ndmc4-report-complete .ndmc4-right{visibility:hidden}

.ndmc4 [data-chat-messages] .ndmc4-attributed{display:block;margin:0 0 16px;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.ndmc4 [data-chat-messages] .ndmc4-message-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:4px;font-size:12px}
.ndmc4 [data-chat-messages] .ndmc4-sender{font-weight:700;color:#d8a1e8}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-sender{color:#60a5fa}
.ndmc4 [data-chat-messages] .ndmc4-message-heading time{font-size:10px;color:#9299aa}
.ndmc4 [data-chat-messages] .ndmc4-message-body{font-size:inherit;line-height:1.5;white-space:pre-wrap}
.ndmc4 [data-chat-messages] .ndmc4-date-divider{display:flex;align-items:center;gap:12px;width:100%;background:transparent;text-align:center;margin:16px 0;color:#aab1c1}
.ndmc4 [data-chat-messages] .ndmc4-date-divider:before,.ndmc4 [data-chat-messages] .ndmc4-date-divider:after{content:'';height:1px;flex:1;background:#293044}

.ndmc4{font-family:Arial,Helvetica,sans-serif}
.ndmc4 .ndmc4-left h2,.ndmc4 .hero-copy b{font-size:23px;line-height:1.15}
.ndmc4 .person b{font-size:17px}
.ndmc4 [data-chat-messages] .ndmc4-message-heading,.ndmc4 .ndmc4-compose textarea,.ndmc4 .ndmc4-search input,.ndmc4 .ndmc4-filters button,.ndmc4 .ndmc4-chat-menu button{font-size:14px}
.ndmc4 .ndmc4-chathead small,.ndmc4 .preview,.ndmc4 .profilebody p{font-size:13px;line-height:1.45}
.ndmc4 [data-chat-messages] .ndmc4-message-heading time,.ndmc4 [data-chat-messages] .ndmc4-date-divider,.ndmc4 .meta time,.ndmc4 .msg time{font-size:12px}
.ndmc4 .ndmc4-center{grid-template-rows:72px minmax(0,1fr) auto}
.ndmc4 .ndmc4-compose{min-height:80px;align-items:center}
.ndmc4 .ndmc4-compose-field{min-width:0;flex:1}
.ndmc4 .ndmc4-compose textarea{display:block;box-sizing:border-box;width:100%;height:46px;min-height:46px;max-height:132px;resize:none;overflow-x:hidden;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;border:1px solid #252b43;border-radius:12px;background:#111329;color:#ddd;padding:12px 72px 12px 15px;outline:0;font-family:Arial,Helvetica,sans-serif;line-height:1.45}
.ndmc4.ndmc4-profile-embedded .ndmc4-compose{flex:0 0 auto;min-height:80px}
@media(max-width:700px){.ndmc4 .ndmc4-compose textarea{min-height:46px}}

.ndmc4 .ndmc4-compose-field{position:relative;padding-bottom:19px}
.ndmc4 .ndmc4-compose-field .ndmc4-char-hint{position:absolute;left:2px;bottom:1px;font:400 11px/1.2 Arial,Helvetica,sans-serif;color:#8e94a4}
.ndmc4 .ndmc4-compose-field .ndmc4-char-count{right:2px;bottom:1px;font:400 11px/1.2 Arial,Helvetica,sans-serif;color:#8e94a4}
.ndmc4 .ndmc4-compose-field .ndmc4-char-count.near-limit{color:#d8ae48}

.ndmc4 .ndmc4-compose-field{position:relative;padding-bottom:20px;min-width:0}
.ndmc4 .ndmc4-compose-field .ndmc4-char-hint{display:none}
.ndmc4 .ndmc4-compose-field .ndmc4-char-count{position:absolute;top:auto;left:auto;right:0;bottom:1px;display:block;font:400 12px/1.3 Arial,Helvetica,sans-serif;color:#9ca3af;pointer-events:none}
.ndmc4 .ndmc4-compose-field .ndmc4-char-count.near-limit{color:#eab308}
.ndmc4 .ndmc4-compose-field .ndmc4-char-count.warning-limit{color:#f59e0b}
.ndmc4 .ndmc4-compose-field .ndmc4-char-count.at-limit{color:#ef4444}

.ndmc4 .ndmc4-list{flex:0 1 auto;max-height:calc(8 * 77px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#b32b83 #111329}
.ndmc4 .ndmc4-list::-webkit-scrollbar,.ndmc4 .ndmc4-compose textarea::-webkit-scrollbar{width:7px}
.ndmc4 .ndmc4-list::-webkit-scrollbar-track,.ndmc4 .ndmc4-compose textarea::-webkit-scrollbar-track{background:#111329;border-radius:9px}
.ndmc4 .ndmc4-list::-webkit-scrollbar-thumb,.ndmc4 .ndmc4-compose textarea::-webkit-scrollbar-thumb{background:#a72a80;border-radius:9px;border:1px solid #111329}
.ndmc4 .ndmc4-compose textarea{scrollbar-width:thin;scrollbar-color:#a72a80 #111329}
.ndmc4 .ndmc4-compose>button:not(.send){display:none!important}
.ndmc4 .ndmc4-compose .ndmc4-compose-field{min-width:0;flex:1}



.ndmc4 .ndmc4-compose-field .ndmc4-typing{position:absolute;left:0;bottom:1px;max-width:calc(100% - 75px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 12px/1.3 Arial,Helvetica,sans-serif;color:#a5b4fc;pointer-events:none}
.ndmc4 .ndmc4-compose-field .ndmc4-typing[hidden]{display:none!important}

.ndmc4 .ndmc4-unread-dot[hidden]{display:none!important}

.ndmc4 .ndmc4-unread-dot svg{display:block;width:12px;height:12px}

.ndmc4{--ndmc4-accent:var(--nd-pink,var(--pink,#e73592));--ndmc4-accent-muted:#b83379;--ndmc4-quiet:#a1a7b6;--ndmc4-track:#101525}
.ndmc4 .ndmc4-filters .active{background:#9f286f;border-color:#b13a81;box-shadow:none;color:#fff}
.ndmc4 .ndmc4-row.selected{background:linear-gradient(90deg,rgba(181,42,113,.17),rgba(16,21,37,.45))}
.ndmc4 .ndmc4-row.selected:before{background:#c23a86}
.ndmc4 [data-chat-messages] .ndmc4-sender{color:#e9c3d7}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-sender{color:#e5a3c6}
.ndmc4 [data-chat-messages] .ndmc4-message-heading time,
.ndmc4 [data-chat-messages] .ndmc4-date-divider{color:var(--ndmc4-quiet)}
.ndmc4 .ndmc4-compose .send{background:#c52c82;box-shadow:0 0 10px rgba(197,44,130,.15)}
.ndmc4 .ndmc4-compose .send:hover{background:#d73791}
.ndmc4 .ndmc4-compose textarea{background:#101525;border-color:#283047;color:#f1f1f5;scrollbar-color:#76405e var(--ndmc4-track)}
.ndmc4 .ndmc4-compose-field .ndmc4-typing{color:#a9a5b5}
.ndmc4 .ndmc4-messages{scrollbar-color:#76405e var(--ndmc4-track)}
.ndmc4 .ndmc4-list::-webkit-scrollbar-thumb,.ndmc4 .ndmc4-messages::-webkit-scrollbar-thumb,
.ndmc4 .ndmc4-compose textarea::-webkit-scrollbar-thumb{background:#76405e}
.ndmc4 .ndmc4-list::-webkit-scrollbar-thumb:hover,.ndmc4 .ndmc4-messages::-webkit-scrollbar-thumb:hover,
.ndmc4 .ndmc4-compose textarea::-webkit-scrollbar-thumb:hover{background:#aa4b81}

.ndmc4 [data-chat-messages] .ndmc4-sender{color:var(--ndmc4-accent,#e73592)}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-sender{color:#b9bfcb}

.ndmc4 [data-chat-messages] .ndmc4-message-heading{margin-bottom:2.5px}
.ndmc4 [data-chat-messages] .ndmc4-sender{color:#d98ab7}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-sender{color:#cbd1df}
.ndmc4 [data-chat-messages] .ndmc4-message-body{color:#e5e7ef}
.ndmc4 [data-chat-messages] .ndmc4-message-heading time{color:#929ab0}
.ndmc4 [data-chat-messages] .ndmc4-date-divider{color:#a4aabd}

.ndmc4 .ndmc4-row{grid-template-columns:46px minmax(0,1fr) 56px;gap:12px}
.ndmc4 .ndmc4-row .copy .top{display:block;overflow:hidden;text-overflow:ellipsis}
.ndmc4 .ndmc4-row .copy .top b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ndmc4 .ndmc4-row .ndmc4-last-preview{display:block;margin-top:5px;color:#aab2c6;font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ndmc4 .ndmc4-row .meta{justify-content:flex-start;align-items:flex-end;padding-top:5px}
.ndmc4 .ndmc4-row .meta time{font-size:10px;white-space:nowrap}
.ndmc4 .ndmc4-row .ndmc4-unread-dot,.ndmc4 .ndmc4-row .ndmc4-verified-slot,.ndmc4 .ndmc4-row .copy em,.ndmc4 .ndmc4-row .copy small{display:none!important}
.ndmc4 .ndmc4-list-avatar .ndmc4-avatar-tier{position:absolute;left:-3px;bottom:-3px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;font-size:10px;font-weight:700;border:1px solid #0a0f1d;z-index:2}
.ndmc4 .ndmc4-list-avatar .ndmc4-avatar-tier.premium{color:#f0b82d;background:#392913}
.ndmc4 .ndmc4-list-avatar .ndmc4-avatar-tier.verified{color:#7ccaff;background:#10243d}
.ndmc4 .ndmc4-list-avatar .ndmc4-avatar-tier.free{color:#b4b8c4;background:#2a2e3a}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-sender{color:#60a5fa}

.ndmc4 .ndmc4-row .meta{padding-top:0;align-self:stretch;justify-content:flex-start;align-items:stretch;min-width:0}
.ndmc4 .ndmc4-row .ndmc4-row-meta-top{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-height:17px;white-space:nowrap}
.ndmc4 .ndmc4-row .ndmc4-unread-dot:not([hidden]){position:static!important;display:inline-flex!important;flex:0 0 12px;width:12px;height:12px;color:#4ca9ff}
.ndmc4 .ndmc4-row .ndmc4-unread-dot[hidden]{display:none!important}
.ndmc4 .ndmc4-chathead [data-chat-verified],.ndmc4 .ndmc4-chathead [data-chat-badge]{display:none!important}
.ndmc4 .ndmc4-header-avatar .ndmc4-avatar-tier{position:absolute;left:-3px;bottom:-3px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;font-size:10px;font-weight:700;border:1px solid #0a0f1d;z-index:2}
.ndmc4 .ndmc4-header-avatar .ndmc4-avatar-tier.premium{color:#f0b82d;background:#392913}
.ndmc4 .ndmc4-header-avatar .ndmc4-avatar-tier.verified{color:#7ccaff;background:#10243d}
.ndmc4 .ndmc4-header-avatar .ndmc4-avatar-tier.free{color:#b4b8c4;background:#2a2e3a}


.ndmc4 [data-chat-messages] .ndmc4-message-heading{margin-bottom:0}
.ndmc4 [data-chat-messages] .ndmc4-message-body{margin-top:-0.5px}

.ndmc4 .ndmc4-compose .send{align-self:flex-start;margin-top:0;flex-shrink:0;transform:translateY(-3px);transition:transform 130ms ease,outline-color 130ms ease,box-shadow 130ms ease;cursor:pointer}
.ndmc4 .ndmc4-compose .send:hover,.ndmc4 .ndmc4-compose .send:focus-visible{outline:2px solid #fff;outline-offset:3px}
.ndmc4 .ndmc4-compose .send:active{transform:translateY(-3px) scale(.94)}
@media(prefers-reduced-motion:reduce){.ndmc4 .ndmc4-compose .send{transition:none}}

.ndmc4 .ndmc4-compose .send{width:48px;height:48px;min-width:48px;min-height:48px;flex:0 0 48px;font-size:19px;line-height:1;padding:0;display:inline-flex;align-items:center;justify-content:center}
.ndmc4 .ndmc4-compose .send svg{width:20px;height:20px}
@media(max-width:767px){.ndmc4 .ndmc4-compose .send{width:48px;height:48px;flex-basis:48px}}

.ndmc4 [data-chat-messages] .ndmc4-message-heading{position:relative}
.ndmc4 .ndmc4-message-actions{margin-left:auto;position:relative;opacity:0;transition:opacity .15s}
.ndmc4 .ndmc4-attributed:hover .ndmc4-message-actions,.ndmc4 .ndmc4-message-actions:focus-within{opacity:1}
.ndmc4 .ndmc4-message-more{border:1px solid #303047;background:#171728;color:#cbd1df;border-radius:50%;width:25px;height:25px;cursor:pointer}
.ndmc4 .ndmc4-message-pop{position:absolute;right:0;top:27px;z-index:20;background:#211b30;border:1px solid #40314e;border-radius:12px;padding:6px;min-width:130px;box-shadow:0 8px 22px #0008}
.ndmc4 .ndmc4-message-pop[hidden],.ndmc4 .ndmc4-delete-overlay[hidden]{display:none!important}
.ndmc4 .ndmc4-message-pop button{background:none;border:0;color:#f0b8c9;padding:9px 12px;cursor:pointer;width:100%;text-align:left}
.ndmc4 .ndmc4-message-pop button:hover{background:#422439;border-radius:8px}
.ndmc4 .ndmc4-deleted-message{font-style:italic;color:#929ab0}
.ndmc4 .ndmc4-delete-overlay{position:fixed;inset:0;background:#0008;z-index:99999;display:grid;place-items:center}
.ndmc4 .ndmc4-delete-dialog{background:#202033;border:1px solid #39334d;border-radius:18px;padding:20px 24px;max-width:calc(100vw - 32px);color:#e5e7ef;box-shadow:0 15px 45px #0008}
.ndmc4 .ndmc4-delete-dialog p{margin:0 0 18px}
.ndmc4 .ndmc4-delete-dialog>div{display:flex;gap:12px;justify-content:flex-end}
.ndmc4 .ndmc4-delete-dialog button{border:0;background:transparent;color:#bfc2d4;padding:10px 14px;border-radius:20px;cursor:pointer}
.ndmc4 .ndmc4-delete-dialog [data-ndmc4-delete-yes]{background:#53263d;color:#f4b5c5}
@media(hover:none){.ndmc4 .ndmc4-message-actions{opacity:1}}

.ndmc4 [data-chat-messages] .ndmc4-message-actions{margin-left:0;display:inline-flex;align-items:center;align-self:center;flex:0 0 auto;position:relative}
.ndmc4 [data-chat-messages] .ndmc4-message-more{display:inline-flex;align-items:center;justify-content:center;width:25px;height:22px;min-width:25px;padding:0;border-radius:8px;font-size:16px;font-weight:700;line-height:1;letter-spacing:0;white-space:nowrap}
.ndmc4 [data-chat-messages] .ndmc4-message-pop{left:calc(100% + 6px);right:auto;top:0;min-width:130px}
.ndmc4 [data-chat-messages] .ndmc4-message-pop.ndmc4-pop-flip{left:auto;right:calc(100% + 6px)}
.ndmc4 [data-chat-messages] .ndmc4-message-actions:has(.ndmc4-message-pop:not([hidden])){opacity:1}

.ndmc4-message-pop [data-message-delete]{display:flex;align-items:center;gap:8px}
.ndmc4-message-pop .ndmc4-trash-icon{display:block;flex:none}

/* v0.0.151: Filter the complete row wrapper, not just its button. */
.ndmc4 .ndmc4-list>.ndmc4-row-shell[hidden]{display:none!important}

/* v0.0.153: Existing After Dark palette for profile actions; favorite badge uses ND Favoriter state. */
.ndmc4 .profilebody .full,.ndmc4 .profilebody .fav{box-sizing:border-box;text-decoration:none;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.ndmc4 .profilebody .full{background:linear-gradient(90deg,#f21b91,#c831d8);border:1px solid rgba(255,150,221,.38);color:#fff}
.ndmc4 .profilebody .fav{background:rgba(242,27,145,.09);border:1px solid #e92b9d;color:#fff}
.ndmc4 .profilebody .full:hover,.ndmc4 .profilebody .fav:hover{box-shadow:0 0 16px rgba(233,43,157,.24);filter:brightness(1.08)}
.ndmc4 .profilebody .fav.is-favorite{background:rgba(242,27,145,.2);border-color:#f21b91}
.ndmc4 .profilebody .full:not([href]){opacity:.55;pointer-events:none}
.ndmc4 .ndmc4-favorite-mark{position:absolute;z-index:7;top:-5px;right:-5px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#f21b91;color:white;border:2px solid #080e1a;font-size:10px;line-height:1;box-sizing:border-box;pointer-events:none}
.ndmc4 .ndmc4-favorite-mark[hidden]{display:none!important}

/* v0.0.164: compact close action, leaving room for time and unread bubble. */
.ndmc4-row-shell{position:relative}
.ndmc4-row-shell>.ndmc4-row{padding-right:40px!important}
.ndmc4-row-shell>.ndmc4-close-row{position:absolute;right:8px;top:10px;z-index:3;display:flex;align-items:center;justify-content:center;width:25px;height:25px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#a8aec1;font-size:21px;line-height:1;cursor:pointer;opacity:.75}
.ndmc4-row-shell>.ndmc4-close-row:hover,.ndmc4-row-shell>.ndmc4-close-row:focus-visible{opacity:1;color:#fff;background:#332238;border-color:#76516a}
.ndmc4-row-shell>.ndmc4-close-row:focus-visible{outline:2px solid #d847a4;outline-offset:1px}
.ndmc4-row-shell .meta{margin-right:2px}

/* Confirmation for hiding a conversation, shares existing ND dialog design. */
.ndmc4 .ndmc4-close-dialog[hidden]{display:none!important}
.ndmc4 .ndmc4-close-dialog .ndmc4-confirm-card{position:relative;max-width:460px}
.ndmc4 .ndmc4-close-dialog .ndmc4-confirm-card p{line-height:1.6}
.ndmc4 .ndmc4-close-dialog .ndmc4-confirm-x{position:absolute;top:10px;right:12px}

.ndmc4-admin-message-delete{background:transparent;border:0;color:inherit;opacity:.75;cursor:pointer;font-size:12px;text-decoration:underline;margin-top:4px}

/* v0.0.173: Locked desktop template, verified ND Profiles fact keys; no message transport changes. */
@media(min-width:1001px){
/* Keep existing responsive grid sizing; no arbitrary column ratio override. */
.ndmc4 .ndmc4-right .hero{height:225px;border-radius:9px 9px 0 0;margin:5px 5px 0}
.ndmc4 .ndmc4-right .hero-copy{display:block}
.ndmc4 .ndmc4-right .thumbs{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:6px 5px 8px}
.ndmc4 .ndmc4-right .thumbs .ndmc4-thumb{height:53px}
.ndmc4 .ndmc4-right .profilebody{padding:0 7px 12px}
.ndmc4 .ndmc4-right .profilebody section{border:1px solid #1c2b43;border-radius:10px;padding:10px 12px;margin:5px 0;background:#09101e}
.ndmc4 .ndmc4-right .profilebody h3{font-size:13px;margin:0 0 8px}
.ndmc4 .ndmc4-right .profilebody p{font-size:12px;line-height:1.45}
.ndmc4 .ndmc4-right .ndmc4-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ndmc4 .ndmc4-right .ndmc4-facts>div{display:flex;flex-direction:column;gap:3px;font-size:11px;min-width:0}
.ndmc4 .ndmc4-right .ndmc4-facts strong{color:#9da7bf;font-weight:400}
.ndmc4 .ndmc4-right .ndmc4-facts span{color:#f3f4fa;overflow-wrap:anywhere}
.ndmc4 .ndmc4-right .ndmc4-hidden-interests{display:none}
.ndmc4 .ndmc4-right .ndmc4-profile-actions{display:flex;align-items:center;gap:7px;margin-top:8px}
.ndmc4 .ndmc4-right .ndmc4-profile-actions .full{flex:1;min-width:0;margin:0}
.ndmc4 .ndmc4-right .ndmc4-profile-actions .fav{flex:0 0 43px;width:43px;height:43px;margin:0;border-radius:11px;font-size:23px;color:#f31b91}
.ndmc4 .ndmc4-right .ndmc4-profile-actions .fav span{display:none}
}

/* v0.0.174: desktop corrections to the approved design reference. No message API changes. */
@media(min-width:1001px){
/* The real engine uses .ndmc4-attributed, not the legacy demo .msg markup. */
.ndmc4 [data-chat-messages] .ndmc4-attributed{display:flex;flex-direction:column;align-items:flex-start;max-width:100%;margin:0 0 12px}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine{align-items:flex-end}
.ndmc4 [data-chat-messages] .ndmc4-message-body{display:inline-block;width:fit-content;max-width:75%;margin:0!important;padding:10px 14px;border-radius:14px 14px 14px 5px;background:#171f31;color:#f5f5fa;white-space:pre-wrap}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-body{background:linear-gradient(110deg,#ec168f,#ce189d);border-radius:14px 14px 5px 14px;color:#fff}
.ndmc4 [data-chat-messages] .ndmc4-message-heading{display:flex;gap:9px;align-items:center;margin:0 0 5px;font-size:12px}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-heading{justify-content:flex-end}
/* Move the profile identity visually below the gallery, keeping the same live data nodes. */
.ndmc4 .ndmc4-right .hero{overflow:visible;margin-bottom:0}
.ndmc4 .ndmc4-right .hero .shade{display:none}
.ndmc4 .ndmc4-right .hero-copy{position:static;display:none}
.ndmc4 .ndmc4-right .ndmc4-profile-identity{padding:10px 12px 7px}
.ndmc4 .ndmc4-right .ndmc4-profile-identity .hero-copy{display:block;position:static}
.ndmc4 .ndmc4-right .ndmc4-profile-identity .hero-copy b{font-size:22px}
.ndmc4 .ndmc4-right .ndmc4-profile-identity .hero-copy>span{display:block;margin-top:5px}
.ndmc4 .ndmc4-right .ndmc4-profile-identity .hero-copy small{font-size:12px}
.ndmc4 .ndmc4-right .thumbs{grid-template-columns:repeat(6,minmax(0,1fr))}
}

/* v0.0.175: compact conversations, distinct desktop panels, requested active marker. */
@media(min-width:1001px){
.ndmc4 .ndmc4-grid{gap:10px;border:0;overflow:visible;background:transparent;box-shadow:none}
.ndmc4 .ndmc4-left,.ndmc4 .ndmc4-center,.ndmc4 .ndmc4-right{border:1px solid var(--line);border-radius:13px;overflow:hidden}
.ndmc4 .ndmc4-right{overflow-y:auto}
.ndmc4 .ndmc4-row{min-height:0;padding-top:5px;padding-bottom:5px}
.ndmc4 .ndmc4-row.selected:before{width:6px}
}
.ndmc4 .ndmc4-attachments{display:flex;gap:5px;position:relative;align-items:center}
.ndmc4 .ndmc4-attachments>button{width:35px;height:35px;border:1px solid #243047;border-radius:10px;background:#0b1424;color:#e4e8f4;font-size:23px;cursor:pointer}
.ndmc4 .ndmc4-attachments>button:disabled{opacity:.4;cursor:wait}
.ndmc4 .ndmc4-emoji-panel{position:absolute;bottom:calc(100% + 12px);left:0;z-index:50;width:244px;display:grid;grid-template-columns:repeat(6,1fr);gap:3px;padding:9px;border:1px solid #29364f;border-radius:12px;background:#111b2b;box-shadow:0 10px 35px #000a}
.ndmc4 .ndmc4-emoji-panel[hidden]{display:none!important}
.ndmc4 .ndmc4-emoji-panel button{background:transparent;border:0;border-radius:7px;font-size:22px;cursor:pointer;padding:5px}
.ndmc4 .ndmc4-emoji-panel button:hover{background:#283249}
.ndmc4 .ndmc4-chat-image{display:block;max-width:min(280px,100%);max-height:320px;object-fit:contain;border-radius:9px}
.ndmc4 .ndmc4-message-body:has(.ndmc4-chat-image){padding:4px!important}
@media(min-width:1001px){.ndmc4 .ndmc4-grid{grid-template-columns:minmax(0,25.5fr) minmax(0,49.5fr) minmax(0,25fr)}}

/* v0.0.176: Conversation row vertical padding 16px -> 12px (4px less per side). Keep avatar and horizontal spacing unchanged. */
@media(min-width:1001px){
}

/* v0.0.177: message layout matching the locked chat reference. */
.ndmc4 [data-chat-messages] .ndmc4-attributed{display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-start;gap:9px;margin:0 0 8px;max-width:100%}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine{justify-content:flex-end}
.ndmc4 [data-chat-messages] .ndmc4-msg-avatar{width:38px;height:38px;flex:0 0 38px;display:block;border-radius:50%;overflow:hidden;background:#141e30}
.ndmc4 [data-chat-messages] .ndmc4-msg-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.ndmc4 [data-chat-messages] .ndmc4-message-bubble{position:relative;display:flex;align-items:center;gap:14px;max-width:min(80%,560px);min-width:0;padding:11px 13px;border-radius:14px 14px 14px 5px;background:#192638;color:#f5f5fa}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble{border-radius:14px 14px 5px 14px;background:linear-gradient(110deg,#ec168f,#ce189d)}
.ndmc4 [data-chat-messages] .ndmc4-message-bubble .ndmc4-message-body,.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble .ndmc4-message-body{display:block;width:auto;max-width:none;padding:0!important;margin:0!important;border:0;border-radius:0;background:transparent!important;min-width:0;overflow-wrap:anywhere}
.ndmc4 [data-chat-messages] .ndmc4-message-meta{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;flex:0 0 auto;align-self:flex-end;padding-bottom:2px}
.ndmc4 [data-chat-messages] .ndmc4-message-meta time{font-size:11px;color:#a4aec1}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-meta time{color:#f3c5df}
.ndmc4 [data-chat-messages] .ndmc4-sent-ticks{font-size:12px;letter-spacing:-4px;padding-right:4px;color:#f5d8eb;line-height:1}
.ndmc4 [data-chat-messages] .ndmc4-message-bubble .ndmc4-message-actions{position:absolute;right:0;top:-20px}
@media(max-width:700px){.ndmc4 [data-chat-messages] .ndmc4-message-bubble{max-width:calc(100% - 48px);gap:8px}.ndmc4 [data-chat-messages] .ndmc4-msg-avatar{width:32px;height:32px;flex-basis:32px}}

/* v0.0.178: only the approved composer, message alignment and scrollbar refinements. */
.ndmc4 [data-chat-messages] .ndmc4-message-bubble{align-items:center}
.ndmc4 [data-chat-messages] .ndmc4-message-meta{align-self:center;padding-bottom:0;line-height:1.5}
.ndmc4 [data-chat-messages] .ndmc4-message-meta time,.ndmc4 [data-chat-messages] .ndmc4-sent-ticks{line-height:1.5}
.ndmc4 .ndmc4-compose-pill{display:flex;align-items:center;flex:1;min-width:0;border:1px solid #283047;border-radius:999px;background:#101525;padding:4px 7px;gap:7px}
.ndmc4 .ndmc4-compose-pill .ndmc4-attachments{flex:0 0 auto;align-self:center}
.ndmc4 .ndmc4-compose-pill .ndmc4-attachments>button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;line-height:1}
.ndmc4 .ndmc4-compose-pill .ndmc4-attachments>button svg{display:block;width:21px;height:21px}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field{flex:1;min-width:0;display:flex;align-items:center}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field textarea{display:block;width:100%;min-height:38px;height:38px;line-height:22px;padding:8px 7px;margin:0;border:0!important;box-shadow:none!important;outline:none;background:transparent!important;resize:none;box-sizing:border-box}
/* Keep native scroll functionality; visually shorten the pink section of the native thumb. */
.ndmc4 .ndmc4-list::-webkit-scrollbar-thumb,.ndmc4 .ndmc4-messages::-webkit-scrollbar-thumb{background:linear-gradient(to bottom,transparent 0 22%,#a72a80 22% 78%,transparent 78% 100%)!important;border:0!important}
.ndmc4 .ndmc4-list::-webkit-scrollbar-thumb:hover,.ndmc4 .ndmc4-messages::-webkit-scrollbar-thumb:hover{background:linear-gradient(to bottom,transparent 0 22%,#cf319b 22% 78%,transparent 78% 100%)!important}

/* v0.0.179: compact composer only, matching approved reference. */
.ndmc4 .ndmc4-compose{min-height:66px;padding:7px 12px;gap:9px;align-items:center;box-sizing:border-box}
.ndmc4 .ndmc4-compose-pill{height:52px;min-height:52px;box-sizing:border-box;padding:4px 7px;gap:9px;align-items:center}
.ndmc4 .ndmc4-compose-pill .ndmc4-attachments{display:flex;gap:5px;align-items:center;height:100%}
.ndmc4 .ndmc4-compose-pill .ndmc4-attachments>button{width:34px;height:34px;min-width:34px;min-height:34px;box-sizing:border-box;padding:0;flex:0 0 34px;border-radius:10px}
.ndmc4 .ndmc4-compose-pill .ndmc4-attachments>button svg{width:19px;height:19px;flex:none}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field{position:relative;display:flex;align-items:center;align-self:stretch;padding:0 0 0 3px;min-height:0}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field textarea{height:40px;min-height:40px;max-height:40px;line-height:20px;padding:10px 4px;box-sizing:border-box;align-self:center;font-size:14px;vertical-align:middle}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field textarea::placeholder{line-height:20px}
.ndmc4 .ndmc4-compose-field .ndmc4-char-count{position:absolute;right:2px;bottom:-17px;line-height:14px;font-size:11px}
.ndmc4 .ndmc4-compose .send{width:48px;height:48px;min-width:48px;min-height:48px;flex:0 0 48px;align-self:center;transform:none;margin:0}
.ndmc4 .ndmc4-compose .send:active{transform:scale(.94)}
@media(max-width:700px){.ndmc4 .ndmc4-compose{padding:7px 8px;gap:6px}.ndmc4 .ndmc4-compose-pill{gap:5px;padding:4px 5px}.ndmc4 .ndmc4-compose-pill .ndmc4-attachments>button{width:32px;height:32px;min-width:32px;min-height:32px;flex-basis:32px}}

/* v0.0.180: dedicated, aligned status row beneath the compact composer pill. */
.ndmc4 .ndmc4-compose{padding-bottom:25px;align-items:flex-start}
.ndmc4 .ndmc4-compose-pill{position:relative;flex:1 1 auto}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field{position:static}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field .ndmc4-typing,
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field .ndmc4-char-count{position:absolute;top:calc(100% + 4px);bottom:auto;line-height:15px;font-size:11px;white-space:nowrap}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field .ndmc4-typing{left:12px;right:66px;max-width:none;overflow:hidden;text-overflow:ellipsis}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field .ndmc4-char-count{left:auto;right:9px}
@media(max-width:700px){.ndmc4 .ndmc4-compose{padding-bottom:25px}}

/* v0.0.181: keep the existing message deletion menu, but place its trigger inside the bubble and compact the popup. */
.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-message-bubble{padding-right:40px}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble{padding-right:13px;padding-left:40px}
.ndmc4 [data-chat-messages] .ndmc4-message-bubble .ndmc4-message-actions{position:absolute;right:8px;left:auto;top:50%;transform:translateY(-50%);z-index:5}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble .ndmc4-message-actions{right:auto;left:8px}
.ndmc4 [data-chat-messages] .ndmc4-message-more{width:22px;min-width:22px;height:21px;border-radius:7px;font-size:14px}
.ndmc4 [data-chat-messages] .ndmc4-message-pop{top:calc(100% + 5px);left:0;right:auto;width:110px;min-width:110px;box-sizing:border-box;padding:3px;border-radius:9px}
.ndmc4 [data-chat-messages] .ndmc4-message-pop.ndmc4-pop-flip{left:auto;right:0}
.ndmc4 [data-chat-messages] .ndmc4-message-pop [data-message-delete]{display:flex;align-items:center;gap:6px;width:100%;min-height:29px;padding:5px 7px;border-radius:6px;font-size:12px;line-height:16px;white-space:nowrap}
.ndmc4 [data-chat-messages] .ndmc4-message-pop .ndmc4-trash-icon{width:14px;height:14px}

/* v0.0.182: deletion action belongs to sent messages only; compact outgoing bubbles. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble{padding:8px 11px;gap:9px}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble .ndmc4-message-actions{left:-18px;right:auto;top:50%;transform:translateY(-50%)}
.ndmc4 [data-chat-messages] .ndmc4-attributed:not(.mine) .ndmc4-message-actions{display:none!important}

/* v0.0.183: shift the outgoing delete trigger 3px inward and let pink bubbles fit their contents without surplus right-side space. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble{width:max-content;max-width:min(80%,560px);box-sizing:border-box;padding-left:11px;padding-right:11px}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble .ndmc4-message-body{flex:0 1 auto;min-width:0}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble .ndmc4-message-actions{left:-15px}

/* v0.0.184: reduce only the unused horizontal space in outgoing message bubbles. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble{max-width:min(80%,500px);gap:4px}

/* v0.0.185: balance wrapped outgoing text lines to reduce unused right-side space without moving metadata. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble .ndmc4-message-body{text-wrap:balance}

/* Accessible, language-aware report attachment selector. Native input remains in FormData. */
.ndmc4-report-modal .ndmc4-report-native-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.ndmc4-report-file-picker{display:flex;align-items:center;gap:10px;min-height:45px;box-sizing:border-box;width:100%;padding:7px 10px;background:#151b2b;border:1px solid #48506a;border-radius:7px;color:#fff}
.ndmc4-report-file-button{display:inline-block!important;flex:none;margin:0!important;padding:5px 10px;border:1px solid #9ca3af;border-radius:3px;background:#e5e7eb;color:#111827!important;cursor:pointer;font-size:13px!important}
.ndmc4-report-native-file:focus-visible + .ndmc4-report-file-button{outline:2px solid #facc15;outline-offset:3px}
.ndmc4-report-file-name{min-width:0;overflow-wrap:anywhere;font-size:13px;color:#e5e7eb}

/* ND-BUG-0053: clear camera icon in image conversation preview */
.ndmc4 .ndmc4-row .ndmc4-last-preview .ndmc4-preview-camera{display:inline-block;width:16px;height:16px;vertical-align:-3px;margin-right:6px;flex-shrink:0}

/* v0.0.211 – message replies */
.ndmc4 .ndmc4-reply-action{border:0;background:transparent;color:#c5b4d2;cursor:pointer;padding:3px 6px;font-size:18px;opacity:.7}
.ndmc4 .ndmc4-reply-action:hover,.ndmc4 .ndmc4-reply-action:focus-visible{opacity:1;color:#f0c477}
.ndmc4 .ndmc4-reply-reference{display:block;max-width:100%;text-align:left;background:rgba(255,255,255,.07);border:0;border-left:3px solid #f0c477;border-radius:4px;color:inherit;padding:6px 9px;margin-bottom:5px;cursor:pointer;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ndmc4 .ndmc4-reply-composer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 15px;background:#14182b;border-left:3px solid #f0c477;color:#e8e2ef;font-size:12px}
.ndmc4 .ndmc4-reply-composer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ndmc4 .ndmc4-reply-composer button{border:0;background:transparent;color:inherit;font-size:20px;cursor:pointer}
.ndmc4 .ndmc4-reply-highlight .ndmc4-message-bubble{outline:2px solid #f0c477;outline-offset:2px}
@media(hover:none){.ndmc4 .ndmc4-reply-action{opacity:1;min-width:32px;min-height:32px}}

/* v0.0.212: ND-BUG-0046, approved Design 3 – Minimal. Visual-only refinements. */
.ndmc4 [data-chat-messages] .ndmc4-attributed{position:relative}
.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-reply-action{position:absolute;right:3px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:#d9d6e3;opacity:0;transition:opacity .15s,background .15s;z-index:2;padding:0;cursor:pointer}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-reply-action{right:auto;left:3px}
.ndmc4 [data-chat-messages] .ndmc4-attributed:hover .ndmc4-reply-action,.ndmc4 [data-chat-messages] .ndmc4-reply-action:focus-visible{opacity:1}
.ndmc4 [data-chat-messages] .ndmc4-reply-action:hover,.ndmc4 [data-chat-messages] .ndmc4-reply-action:focus-visible{background:rgba(255,255,255,.10);color:#f0c477}
.ndmc4 [data-chat-messages] .ndmc4-reply-reference{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;max-width:100%;width:100%;box-sizing:border-box;padding:6px 9px;margin:0 0 5px;border:0;border-left:3px solid #ef2b8e;border-radius:5px;background:rgba(0,0,0,.16);color:inherit;cursor:pointer;text-align:left;overflow:hidden}
.ndmc4 [data-chat-messages] .ndmc4-reply-reference strong{font-size:11px;font-weight:600;color:inherit;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ndmc4 [data-chat-messages] .ndmc4-reply-reference span{font-size:11px;opacity:.88;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ndmc4 .ndmc4-reply-composer{display:flex;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box;padding:8px 11px;border:1px solid rgba(255,255,255,.14);border-left:3px solid #ef2b8e;border-radius:8px;background:#252633;color:#f3eff5}
.ndmc4 .ndmc4-reply-composer-content{display:flex;flex-direction:column;gap:2px;min-width:0;overflow:hidden}
.ndmc4 .ndmc4-reply-composer-content strong{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ndmc4 .ndmc4-reply-composer-content span{font-size:12px;opacity:.82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ndmc4 .ndmc4-reply-composer .ndmc4-reply-cancel{flex:none;border:0;background:transparent;color:#e6dce9;font-size:22px;line-height:1;cursor:pointer;padding:4px 6px}
@media(hover:none),(pointer:coarse){.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-reply-action{opacity:1;min-width:36px;min-height:36px}}
@media(prefers-reduced-motion:reduce){.ndmc4 [data-chat-messages] .ndmc4-reply-action{transition:none}}

/* v0.0.213: keep quoted reply within the message bubble's vertical content flow. */
.ndmc4 [data-chat-messages] .ndmc4-message-bubble:has(> .ndmc4-reply-reference){flex-direction:column;align-items:stretch;gap:4px}
.ndmc4 [data-chat-messages] .ndmc4-message-bubble:has(> .ndmc4-reply-reference) > .ndmc4-reply-reference{flex:0 0 auto;align-self:stretch;min-width:0;width:100%;max-width:100%;margin:0 0 3px;line-height:1.35}
.ndmc4 [data-chat-messages] .ndmc4-message-bubble:has(> .ndmc4-reply-reference) > .ndmc4-message-body{align-self:stretch;min-width:0;width:100%;overflow-wrap:anywhere}
.ndmc4 [data-chat-messages] .ndmc4-message-bubble:has(> .ndmc4-reply-reference) > .ndmc4-message-meta{align-self:flex-end}

/* v0.0.214 – ND-BUG-0046: compact Design 3 quoted replies, no narrow columns. */
.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-message-bubble:has(> .ndmc4-reply-reference){
  box-sizing:border-box;width:max-content;min-width:min(190px,calc(100% - 48px));
  max-width:min(80%,560px);flex:0 1 auto;display:flex;flex-direction:column;
  align-items:stretch;gap:5px;padding:10px 13px;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-message-bubble:has(> .ndmc4-reply-reference) > .ndmc4-reply-reference{
  display:flex;flex-direction:column;align-items:stretch;gap:2px;
  box-sizing:border-box;width:100%;min-width:0;max-width:100%;
  padding:5px 8px;margin:0 0 2px;border-left:3px solid #ef2b8e;
  overflow:hidden;white-space:normal;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-reply-reference strong,
.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-reply-reference span{
  display:block;width:100%;max-width:100%;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  overflow-wrap:normal;word-break:normal;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-message-bubble:has(> .ndmc4-reply-reference) > .ndmc4-message-body{
  display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;
  white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;text-wrap:wrap;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-message-bubble:has(> .ndmc4-reply-reference) > .ndmc4-message-meta{
  align-self:flex-end;white-space:nowrap;margin-top:1px;
}
@media(max-width:700px){
 .ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-message-bubble:has(> .ndmc4-reply-reference){max-width:calc(100% - 48px);min-width:min(180px,calc(100% - 48px))}
}

/* v0.0.215 – one contextual action menu for reply and delete. */
.ndmc4 [data-chat-messages] .ndmc4-attributed:not(.mine) .ndmc4-message-actions{display:inline-flex!important}
.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-reply-action{display:none!important}
.ndmc4 [data-chat-messages] .ndmc4-message-pop{width:126px;min-width:126px}
.ndmc4 [data-chat-messages] .ndmc4-message-pop [data-message-reply],
.ndmc4 [data-chat-messages] .ndmc4-message-pop [data-message-delete]{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:6px 8px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit;font-size:12px;white-space:nowrap}
.ndmc4 [data-chat-messages] .ndmc4-message-pop [data-message-reply]:hover,
.ndmc4 [data-chat-messages] .ndmc4-message-pop [data-message-delete]:hover{background:rgba(255,255,255,.09)}
.ndmc4 [data-chat-messages] .ndmc4-attributed:not(.mine) .ndmc4-message-bubble .ndmc4-message-actions{left:auto;right:-16px;top:50%;transform:translateY(-50%)}

/* v0.0.216 – keep mobile controls inside bubbles and constrain menus to viewport. */
@media(max-width:700px),(pointer:coarse){
 .ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-message-bubble{padding-right:38px!important}
 .ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble{padding-left:38px!important;padding-right:11px!important}
 .ndmc4 [data-chat-messages] .ndmc4-attributed:not(.mine) .ndmc4-message-bubble .ndmc4-message-actions{left:auto!important;right:8px!important;top:8px!important;transform:none!important}
 .ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble .ndmc4-message-actions{left:8px!important;right:auto!important;top:8px!important;transform:none!important}
 .ndmc4 [data-chat-messages] .ndmc4-message-actions{opacity:1!important}
 .ndmc4 [data-chat-messages] .ndmc4-message-more{min-width:26px;width:26px;height:26px}
 .ndmc4 [data-chat-messages] .ndmc4-message-pop:not([hidden]){z-index:1000;max-width:calc(100vw - 16px)}
}

/* v0.0.219: ND contact restriction, scoped to chat only. */
.ndmc4 .ndmc4-contact-overlay[hidden],.ndmc4 .ndmc4-contact-composer-note[hidden]{display:none!important}
.ndmc4 .ndmc4-contact-overlay{position:fixed;inset:0;z-index:100050;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(5,5,12,.76);backdrop-filter:blur(4px)}
.ndmc4 .ndmc4-contact-dialog{position:relative;width:min(100%,420px);box-sizing:border-box;border:1px solid rgba(223,49,142,.36);border-radius:18px;background:#15131e;color:#f7f3f7;padding:34px 28px 26px;text-align:center;box-shadow:0 24px 65px rgba(0,0,0,.55);font-family:inherit}
.ndmc4 .ndmc4-contact-symbol{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:0 auto 18px;border:2px solid #d32782;border-radius:50%;color:#f5a4d0;font-size:27px;font-weight:700}
.ndmc4 .ndmc4-contact-dialog h3{margin:0 0 12px;color:#fff;font-size:21px;line-height:1.3;font-weight:700}
.ndmc4 .ndmc4-contact-dialog p{margin:0 0 24px;color:#d5cad4;font-size:15px;line-height:1.6}
.ndmc4 .ndmc4-contact-ok{border:0;border-radius:10px;background:#a90d63;color:#fff;min-height:43px;padding:10px 28px;font:inherit;font-weight:650;cursor:pointer}
.ndmc4 .ndmc4-contact-ok:hover{background:#c21a79}
.ndmc4 .ndmc4-contact-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#c8b8c4;font-size:26px;cursor:pointer}
.ndmc4 .ndmc4-contact-composer-note{padding:9px 14px;color:#e6b6d0;font-size:13px;line-height:1.4;text-align:center}
.ndmc4 .ndmc4-compose textarea:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:700px){.ndmc4 .ndmc4-contact-dialog{padding:30px 20px 24px}}

/* ND Member Chat 4 – locked desktop design, scoped to this plugin. Header/footer stay with ND Theme. */
.ndmc4{--pink:#dc277f;--pink2:#bf2477;--line:#20283b;--panel:#090f1d;--panel2:#0d1425;--muted:#a8aec0;margin:20px auto 26px;color:#f7f6fa}
.ndmc4 .ndmc4-grid{height:clamp(650px,calc(100dvh - 210px),900px);min-height:650px;max-height:none;display:grid;grid-template-columns:minmax(265px,23%) minmax(420px,1fr) minmax(265px,23%);gap:14px;background:transparent;border:0;border-radius:0;overflow:visible;box-shadow:none}
.ndmc4 .ndmc4-left,.ndmc4 .ndmc4-center,.ndmc4 .ndmc4-right{min-width:0;border:1px solid var(--line);border-radius:16px;background:linear-gradient(155deg,#0a1121,#080e1b);overflow:hidden}
.ndmc4 .ndmc4-left{border-right:1px solid var(--line)}
.ndmc4 .ndmc4-left h2{font-size:clamp(20px,1.65vw,27px);letter-spacing:.012em;margin:24px 20px 18px;font-weight:750}
.ndmc4 .ndmc4-search{margin:0 20px 14px;height:46px;background:#18162c;border-color:#2a2740;border-radius:13px}
.ndmc4 .ndmc4-search input{font-size:14px}
.ndmc4 .ndmc4-filters{margin:0 20px 18px;gap:8px}
.ndmc4 .ndmc4-filters button{height:39px;font-size:13px;background:transparent;border:1px solid #262d40;color:#e4e3ea}
.ndmc4 .ndmc4-filters .active{background:#bf2b7b;border-color:#bf2b7b;box-shadow:none}
.ndmc4 .ndmc4-row{min-height:75px;grid-template-columns:52px minmax(0,1fr) 44px;gap:12px;padding:10px 15px;border-bottom:1px solid rgba(36,42,63,.52)}
.ndmc4 .ndmc4-row.selected{background:linear-gradient(90deg,rgba(211,38,126,.17),rgba(99,40,81,.13))}
.ndmc4 .ndmc4-row.selected:before{width:4px}
.ndmc4 .ndmc4-row .avatar{width:51px;height:51px}
.ndmc4 .ndmc4-row .copy b{font-size:14px}
.ndmc4 .ndmc4-row .preview{font-size:12px;color:#b4b9c9}
.ndmc4 .ndmc4-row .meta time{font-size:11px}
.ndmc4 .ndmc4-center{grid-template-rows:78px minmax(0,1fr) 86px;border-right:1px solid var(--line)}
.ndmc4 .ndmc4-chathead{padding:0 20px}
.ndmc4 .ndmc4-chathead .person b{font-size:20px}
.ndmc4 .ndmc4-chathead small{font-size:13px}
.ndmc4 .ndmc4-messages{padding:22px 22px 24px}
.ndmc4 .ndmc4-compose{padding:12px 18px}
.ndmc4 .ndmc4-compose .send{background:#d62b81;box-shadow:none}
.ndmc4 .ndmc4-right{border:1px solid var(--line)}
.ndmc4 .hero{height:clamp(200px,22vw,270px);margin:22px 20px 0;border-radius:15px;overflow:hidden}
.ndmc4 .hero .shade{background:transparent}
.ndmc4 .hero-copy{position:static;display:none}
.ndmc4 .thumbs{border:0;padding:10px 20px 0}
.ndmc4 .profilebody{padding:14px 20px 20px}
.ndmc4 .profilebody h3{font-size:15px}
.ndmc4 .profilebody p{font-size:13px;line-height:1.6}
.ndmc4 .full{background:#25273e;color:#fff}
.ndmc4 .fav{background:transparent;border:1px solid #343a50}
.ndmc4 .ndmc4-empty-center,.ndmc4 .ndmc4-empty-profile{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px;color:#f4f3f7}
.ndmc4 .ndmc4-empty-center{grid-row:1 / -1}
.ndmc4 .ndmc4-empty-icon{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;background:#1a2134;color:#d4d7e3;margin-bottom:24px}
.ndmc4 .ndmc4-empty-icon svg{width:58px;height:58px}
.ndmc4 .ndmc4-empty-center h2{font-size:clamp(22px,2vw,30px);margin:0 0 14px}
.ndmc4 .ndmc4-empty-center p,.ndmc4 .ndmc4-empty-profile p{font-size:16px;line-height:1.65;color:#bfc4d2;margin:0 0 30px}
.ndmc4 .ndmc4-find-profiles{display:inline-flex;align-items:center;justify-content:center;padding:15px 35px;border-radius:40px;background:#d32b81;color:white;text-decoration:none;font-size:15px;font-weight:700}
.ndmc4 .ndmc4-find-profiles:hover{background:#e63b91;color:white}
.ndmc4 .ndmc4-empty-profile .ndmc4-empty-icon{width:88px;height:88px}
.ndmc4 .ndmc4-empty-profile .ndmc4-empty-icon svg{width:43px;height:43px}
.ndmc4 .ndmc4-empty-profile h3{font-size:20px;margin:0 0 12px}
.ndmc4 .ndmc4-empty-profile p{font-size:14px;margin:0}
.ndmc4 .ndmc4-list-empty:not([hidden]){display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;text-align:center;padding:25px;color:#bfc4d2;font-size:14px}
@media(max-width:1100px){.ndmc4 .ndmc4-grid{grid-template-columns:minmax(260px,34%) minmax(0,1fr)}.ndmc4 .ndmc4-right{display:none}}
@media(max-width:700px){.ndmc4{margin:12px auto}.ndmc4 .ndmc4-grid{display:block;height:calc(100dvh - 155px);min-height:520px}.ndmc4 .ndmc4-left,.ndmc4 .ndmc4-center{height:100%;border-radius:14px}.ndmc4 .ndmc4-center{display:none}.ndmc4.is-chat .ndmc4-left{display:none}.ndmc4.is-chat .ndmc4-center{display:grid}.ndmc4 .ndmc4-empty-center p br{display:none}.ndmc4 .ndmc4-empty-center h2{font-size:22px}}

/* v0.1.2: actual empty-state visibility and locked three-panel design.
   The legacy no-selection rule hid BOTH empty placeholders; override only those placeholders. */
.ndmc4:not(.has-selection) .ndmc4-center>.ndmc4-empty-center{visibility:visible;pointer-events:auto}
.ndmc4:not(.has-selection) .ndmc4-right:has(>.ndmc4-empty-profile){visibility:visible;pointer-events:auto}
.ndmc4 .ndmc4-grid{grid-template-columns:minmax(0,23fr) minmax(0,54fr) minmax(0,23fr)}
.ndmc4 .ndmc4-center:has(>.ndmc4-empty-center){display:flex;align-items:stretch;justify-content:center}
.ndmc4 .ndmc4-center>.ndmc4-empty-center{width:100%;min-height:100%;grid-row:auto}
.ndmc4 .ndmc4-right:has(>.ndmc4-empty-profile){display:flex;align-items:stretch}
.ndmc4 .ndmc4-right>.ndmc4-empty-profile{width:100%;min-height:100%}
.ndmc4 .ndmc4-list{flex:1;min-height:0}
.ndmc4 .ndmc4-list-empty:not([hidden]){display:flex;min-height:0;flex:1;gap:12px;align-items:center;justify-content:center;padding:20px 16px;font-size:14px;color:#c1c5d1}
.ndmc4 .ndmc4-list-empty-symbol{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:#1b2235;color:#c7cbd9;margin-bottom:10px}
.ndmc4 .ndmc4-list-empty-symbol svg{width:30px;height:30px}
.ndmc4 .ndmc4-list-empty strong{font-size:17px;color:#f5f5f8;line-height:1.3}
.ndmc4 .ndmc4-list-empty [data-chat-empty-desc]{max-width:240px;line-height:1.65;color:#b6bdcb}
.ndmc4 .ndmc4-find-profiles{gap:11px;min-height:51px}
.ndmc4 .ndmc4-empty-center .ndmc4-empty-icon{width:120px;height:120px}
.ndmc4 .ndmc4-empty-center .ndmc4-empty-icon svg{width:64px;height:64px}
@media(max-width:1100px){.ndmc4 .ndmc4-grid{grid-template-columns:minmax(260px,34%) minmax(0,1fr)}}
@media(max-width:700px){.ndmc4 .ndmc4-grid{display:block}.ndmc4 .ndmc4-center:has(>.ndmc4-empty-center){display:none}.ndmc4.is-chat .ndmc4-center:has(>.ndmc4-empty-center){display:flex}}


/* v0.1.3: lock the chat workspace between the existing Theme header/footer.
   Only conversation/message/profile content scrolls; never alter Theme markup. */
.ndmc4:not(.ndmc4-profile-embedded) .ndmc4-grid{
  height:var(--ndmc4-viewport-height,calc(100dvh - 210px));
  min-height:0;max-height:none;overflow:hidden;
}
.ndmc4:not(.ndmc4-profile-embedded) .ndmc4-left,
.ndmc4:not(.ndmc4-profile-embedded) .ndmc4-center,
.ndmc4:not(.ndmc4-profile-embedded) .ndmc4-right{
  min-height:0;max-height:100%;overflow:hidden;
}
.ndmc4:not(.ndmc4-profile-embedded) .ndmc4-left{display:flex;flex-direction:column}
.ndmc4:not(.ndmc4-profile-embedded) .ndmc4-list{
  flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;
  overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#59435a transparent;
}
.ndmc4:not(.ndmc4-profile-embedded) .ndmc4-messages{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.ndmc4:not(.ndmc4-profile-embedded) .ndmc4-right{overflow-y:auto;overscroll-behavior:contain}
@media(max-width:700px){
  .ndmc4:not(.ndmc4-profile-embedded) .ndmc4-grid{height:var(--ndmc4-viewport-height,calc(100dvh - 155px));min-height:0}
  .ndmc4:not(.ndmc4-profile-embedded) .ndmc4-left,
  .ndmc4:not(.ndmc4-profile-embedded) .ndmc4-center{height:100%;min-height:0}
  .ndmc4:not(.ndmc4-profile-embedded):not(.is-chat) .ndmc4-center{display:none}
  .ndmc4:not(.ndmc4-profile-embedded).is-chat .ndmc4-left{display:none}
}

/* v0.1.4: preserve active thread and its profile on desktop. */
@media(min-width:1101px){.ndmc4:not(.ndmc4-profile-embedded).has-selection .ndmc4-right{display:block;min-width:0;overflow-y:auto}.ndmc4:not(.ndmc4-profile-embedded) .ndmc4-row.selected{background:linear-gradient(90deg,rgba(207,37,117,.18),rgba(207,37,117,.07));border-left:4px solid #d82c83}}

/* v0.1.6 — Desktop chat/list styling retained; profile panel reverted to v0.1.4. */
@media(min-width:1101px){
.ndmc4{margin:18px auto 20px}
.ndmc4 .ndmc4-grid{grid-template-columns:minmax(290px,26fr) minmax(460px,49fr) minmax(290px,25fr);gap:14px}
.ndmc4 .ndmc4-left,.ndmc4 .ndmc4-center,.ndmc4 .ndmc4-right{border-color:#1b273b;border-radius:16px;background:linear-gradient(155deg,#09101f,#080d19)}
.ndmc4 .ndmc4-left h2{font-size:24px;margin:22px 20px 18px}
.ndmc4 .ndmc4-row{min-height:86px;padding:10px 16px;grid-template-columns:58px minmax(0,1fr) 52px;gap:12px}
.ndmc4 .ndmc4-row .avatar{width:57px;height:57px}
.ndmc4 .ndmc4-row .copy b{font-size:16px}
.ndmc4 .ndmc4-row .preview{font-size:13px;margin-top:6px}
.ndmc4 .ndmc4-row .meta time{font-size:12px}
.ndmc4 .ndmc4-row.selected{background:linear-gradient(90deg,rgba(200,39,114,.20),rgba(117,43,86,.11));border-left:0}
.ndmc4 .ndmc4-row.selected:before{width:5px;background:#d12a7d}
.ndmc4 .ndmc4-close-row{opacity:0;transition:opacity .15s ease}
.ndmc4 .ndmc4-row-shell:hover .ndmc4-close-row,.ndmc4 .ndmc4-close-row:focus-visible{opacity:1}
.ndmc4 .ndmc4-center{grid-template-rows:80px minmax(0,1fr) 90px}
.ndmc4 .ndmc4-chathead{background:transparent;border-color:#1d283c;padding:0 22px}
.ndmc4 .ndmc4-chathead .avatar.big{width:58px;height:58px}
.ndmc4 .ndmc4-messages{padding:26px 26px 30px}
.ndmc4 .day{background:transparent;color:#bbc0cf;font-size:12px;margin-bottom:24px}
.ndmc4 .ndmc4-compose{border-color:transparent;padding:12px 18px}
.ndmc4 .ndmc4-compose .send{box-shadow:none;background:#c92d77}

}
@media(max-width:1100px){.ndmc4 .ndmc4-grid{grid-template-columns:minmax(260px,34%) minmax(0,1fr)}.ndmc4 .ndmc4-right{display:none}}

/* v0.1.7: Premium stars are not shown on chat avatars. */
.ndmc4 .ndmc4-avatar-tier.premium{display:none!important}

/* v0.1.8 – locked design: filter totals and rounded active conversation. */
.ndmc4 .ndmc4-filters button{display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;min-width:0;padding:0 7px}
.ndmc4 .ndmc4-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#424760;color:#f4f3fa;font-size:11px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.ndmc4 .ndmc4-filters button.active .ndmc4-filter-count{background:#df6caa;color:#fff}
.ndmc4 .ndmc4-row-shell{border-radius:12px;overflow:hidden;margin:2px 7px}
.ndmc4 .ndmc4-row-shell>.ndmc4-row{border-radius:12px;border-bottom-color:transparent}
.ndmc4 .ndmc4-row-shell>.ndmc4-row.selected{border-radius:12px!important}
.ndmc4 .ndmc4-row-shell>.ndmc4-row.selected:before{border-radius:12px 0 0 12px}
.ndmc4 .ndmc4-row-shell>.ndmc4-close-row{right:9px}


/* v0.1.9 — scoped visual changes; no message or profile logic changes. */
/* Round the visible hero photograph, including the image clipping boundary. */
.ndmc4 .ndmc4-right .hero{border-radius:16px!important;overflow:hidden!important;isolation:isolate}
.ndmc4 .ndmc4-right .hero>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
/* Quiet, neutral profile actions; preserve a distinguishable saved-favorite state. */
.ndmc4 .profilebody .full{background:#272a40!important;border:1px solid #35394f!important;color:#fff!important;box-shadow:none!important}
.ndmc4 .profilebody .fav{background:#1a1d2d!important;border:1px solid #41465b!important;color:#b9bfd0!important;box-shadow:none!important}
.ndmc4 .profilebody .full:hover,.ndmc4 .profilebody .fav:hover{background:#34374d!important;border-color:#555b70!important;box-shadow:none!important;filter:none!important}
.ndmc4 .profilebody .fav.is-favorite{background:#30283d!important;border-color:#9a6488!important;color:#e9a8ce!important}
/* Less saturated outgoing bubble, retaining accessible white text and status. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble{background:#c72d72!important;color:#fff}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-meta{color:rgba(255,255,255,.78)}
/* Compact conversation rows to match locked layout, without changing filters or selection. */
.ndmc4 .ndmc4-row-shell>.ndmc4-row{min-height:76px;padding:9px 34px 9px 12px;grid-template-columns:52px minmax(0,1fr) 44px;gap:10px}
.ndmc4 .ndmc4-row .avatar{width:52px;height:52px}
.ndmc4 .ndmc4-row .copy b{font-size:16px;font-weight:600}
.ndmc4 .ndmc4-row .preview{font-size:13px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ndmc4 .ndmc4-row .meta time{font-size:12px}
.ndmc4 .ndmc4-row-shell{margin-top:2px;margin-bottom:2px;border-radius:12px}
.ndmc4 .ndmc4-row-shell>.ndmc4-row.selected{border-radius:12px!important}
@media(max-width:700px){.ndmc4 .ndmc4-row-shell>.ndmc4-row{min-height:72px}}

/* v0.1.10 — compact conversation rows to the locked reference proportions.
   Scoped to the conversation list; profile, chat, header and footer untouched. */
.ndmc4 .ndmc4-list .ndmc4-row-shell{
  margin:2px 7px;
  border-radius:10px;
  overflow:hidden;
}
.ndmc4 .ndmc4-list .ndmc4-row-shell>.ndmc4-row{
  box-sizing:border-box;
  min-height:66px;
  padding:7px 32px 7px 10px!important;
  grid-template-columns:48px minmax(0,1fr) 40px;
  gap:9px;
  border-radius:10px;
  border-left:0;
}
.ndmc4 .ndmc4-list .ndmc4-row .avatar{width:48px;height:48px}
.ndmc4 .ndmc4-list .ndmc4-row .copy b{font-size:15px;line-height:1.2;font-weight:600}
.ndmc4 .ndmc4-list .ndmc4-row .preview{font-size:12px;line-height:1.3;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ndmc4 .ndmc4-list .ndmc4-row .meta time{font-size:11px;line-height:1.2}
.ndmc4 .ndmc4-list .ndmc4-row-shell>.ndmc4-row.selected{border-radius:10px!important;border-left:0}
.ndmc4 .ndmc4-list .ndmc4-row-shell>.ndmc4-row.selected:before{width:4px;border-radius:10px 0 0 10px}
@media(max-width:700px){.ndmc4 .ndmc4-list .ndmc4-row-shell>.ndmc4-row{min-height:66px}}

.ndmc4 .thumbs button.ndmc4-private{cursor:pointer;padding:0}.ndmc4 .thumbs button.ndmc4-private:focus-visible{outline:2px solid #e8b735;outline-offset:2px}.ndmc4 .thumbs button.ndmc4-private:disabled{cursor:default;opacity:.8}

/* v0.1.12 – Scoped Google Fonts typography. Aliases match the approved font names. */
@font-face{font-family:"Rubik Fallback";src:local("Rubik");font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:"Quicksand Text";src:local("Quicksand");font-style:normal;font-weight:100 900;font-display:swap}
.ndmc4, .ndmc4 input, .ndmc4 textarea, .ndmc4 button, .ndmc4 select{font-family:"Quicksand Text","Quicksand",Arial,sans-serif}
.ndmc4 h1,.ndmc4 h2,.ndmc4 h3,.ndmc4 h4,.ndmc4 h5,.ndmc4 h6,
.ndmc4 .ndmc4-row .copy .top b,.ndmc4 .ndmc4-row .copy b,
.ndmc4 .ndmc4-chathead .person b,.ndmc4 .hero-copy b{font-family:"Rubik Fallback","Rubik",Arial,sans-serif}
.ndmc4 .ndmc4-compose textarea,.ndmc4 .ndmc4-messages .msg p{font-family:"Quicksand Text","Quicksand",Arial,sans-serif}


/* v0.1.13 — balanced desktop sizing, scoped to ND Member Chat 4.
   Locked palette, behavior and theme header/footer remain unchanged. */
@media (min-width:1101px){
 .ndmc4 .ndmc4-grid{grid-template-columns:minmax(260px,24%) minmax(0,51%) minmax(280px,25%)}
 .ndmc4 .ndmc4-left h2{font-size:24px;line-height:1.2;margin:20px 20px 14px}
 .ndmc4 .ndmc4-search{height:44px;margin-left:20px;margin-right:20px}
 .ndmc4 .ndmc4-filters{margin-left:20px;margin-right:20px;gap:8px}
 .ndmc4 .ndmc4-filters button{height:38px}
 .ndmc4 .ndmc4-chathead{min-height:72px;padding-left:18px;padding-right:18px}
 .ndmc4 .ndmc4-chathead .avatar.big{width:52px;height:52px;flex:0 0 52px}
 .ndmc4 .ndmc4-chathead .person b{font-size:20px}
 .ndmc4 .ndmc4-center{grid-template-rows:72px minmax(0,1fr) 78px}
 .ndmc4 .ndmc4-compose{min-height:78px;padding-top:9px;padding-bottom:9px}
 .ndmc4 .ndmc4-compose textarea{height:52px;min-height:52px}
 .ndmc4 .ndmc4-right .hero{height:auto;aspect-ratio:1.25/1;max-height:300px}
 .ndmc4 .ndmc4-right .hero>img{height:100%}
 .ndmc4 .profilebody{padding-left:12px;padding-right:12px}
 .ndmc4 .profilebody h3{font-size:14px;line-height:1.25;margin:12px 0 7px}
 .ndmc4 .profilebody p{font-size:13px;line-height:1.5}
 .ndmc4 .profilebody .full,.ndmc4 .profilebody .fav{height:44px}
}
.ndmc4 [data-chat-messages] .ndmc4-message-bubble{max-width:min(70%,520px);min-width:0}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble{max-width:min(70%,520px)}
.ndmc4 [data-chat-messages] .ndmc4-message-body{font-size:14px;line-height:1.48;overflow-wrap:anywhere;word-break:normal;white-space:pre-wrap}
.ndmc4 [data-chat-messages] .ndmc4-message-meta time{font-size:11px}
.ndmc4 .ndmc4-row .copy b{font-size:15px}
.ndmc4 .ndmc4-list .ndmc4-row .avatar{width:46px;height:46px}
.ndmc4 .ndmc4-filter-count{min-width:20px;height:20px}
@media (max-width:1100px){.ndmc4 [data-chat-messages] .ndmc4-message-bubble,.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble{max-width:min(82%,520px)}}

/* v0.1.14 – quiet message annotations and faded separators */
.ndmc4 .ndmc4-response-label{display:flex;align-items:center;gap:7px;color:#c5a8be;font-size:11px;font-weight:600;margin-bottom:7px;line-height:1.3}
.ndmc4 .ndmc4-response-label svg{color:#d58caf;flex-shrink:0}
.ndmc4 .ndmc4-sent-ticks{letter-spacing:-3px;padding-right:3px;color:#a4aabc}
.ndmc4 .ndmc4-sent-ticks.is-read{color:#d8b3d0}
.ndmc4 .ndmc4-date-divider{display:flex;align-items:center;gap:14px;width:100%;color:#9fa8bc}
.ndmc4 .ndmc4-date-divider:before,.ndmc4 .ndmc4-date-divider:after{content:"";height:1px;flex:1;min-width:8px;background:linear-gradient(90deg,transparent,rgba(151,162,188,.27))}
.ndmc4 .ndmc4-date-divider:after{transform:rotate(180deg)}

/* v0.1.15 – incoming read acknowledgement; reply heading on its own row */
.ndmc4 [data-chat-messages] .ndmc4-attributed:not(.mine) .ndmc4-message-bubble{display:flex;flex-direction:column;align-items:stretch;gap:0}
.ndmc4 [data-chat-messages] .ndmc4-attributed:not(.mine) .ndmc4-response-label{display:flex;width:100%;margin:0 0 7px;align-items:center;gap:7px}
.ndmc4 [data-chat-messages] .ndmc4-attributed:not(.mine) .ndmc4-message-body{display:block;width:100%;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.ndmc4 [data-chat-messages] .ndmc4-attributed:not(.mine) .ndmc4-message-meta{display:flex;align-self:flex-end;margin-top:5px;gap:7px}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-sent-ticks{display:none!important}

/* v0.1.16: read timestamp outside outgoing bubble; no double-check glyphs. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine{flex-wrap:wrap;column-gap:0;row-gap:0}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble{margin-left:auto}
.ndmc4 [data-chat-messages] .ndmc4-read-receipt{flex:0 0 100%;width:100%;text-align:right;color:#9fa8bc;font-size:11px;line-height:1.4;margin-top:3px;padding-right:3px;box-sizing:border-box}
.ndmc4 [data-chat-messages] .ndmc4-sent-ticks{display:none!important}

/* v0.1.17: sender-only read acknowledgement, physically outside the bubble. */
.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-message-stack{display:flex;flex-direction:column;min-width:0;max-width:min(70%,520px);flex:0 1 auto;align-items:flex-start}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine{justify-content:flex-end;flex-wrap:nowrap}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-stack{margin-left:auto;align-items:flex-end}
.ndmc4 [data-chat-messages] .ndmc4-message-stack>.ndmc4-message-bubble{width:fit-content;max-width:100%;margin:0;box-sizing:border-box}
.ndmc4 [data-chat-messages] .ndmc4-message-stack>.ndmc4-read-receipt{display:block;flex:none;width:auto;max-width:100%;align-self:flex-end;text-align:right;margin:4px 2px 0;padding:0;background:transparent!important;border:0!important;color:#9fa8bc;font-size:11px;line-height:1.4;white-space:nowrap}
@media(max-width:1100px){.ndmc4 [data-chat-messages] .ndmc4-attributed .ndmc4-message-stack{max-width:min(82%,520px)}}

/* v0.1.20 – outgoing bubbles: readable minimum width, natural wrapping and clear timestamp. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-stack{width:auto;max-width:min(70%,520px);min-width:0}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-stack>.ndmc4-message-bubble{display:flex;flex-direction:column;align-items:stretch;gap:5px;width:max-content;min-width:min(160px,100%);max-width:100%;padding:9px 13px;box-sizing:border-box}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble .ndmc4-message-body{width:100%;min-width:0;flex:none;text-wrap:wrap;overflow-wrap:break-word;word-break:normal;white-space:pre-wrap}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-bubble .ndmc4-message-meta{align-self:flex-end;flex:none;margin:0;padding:0;white-space:nowrap}
@media(max-width:1100px){.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-stack{max-width:min(82%,520px)}}
@media(max-width:480px){.ndmc4 [data-chat-messages] .ndmc4-attributed.mine .ndmc4-message-stack{max-width:calc(100% - 12px)}}

/* v0.1.21: no sent timestamps inside any message bubbles. Read receipt remains outside, sender-only. */
.ndmc4 [data-chat-messages] .ndmc4-message-bubble .ndmc4-message-meta{display:none!important}

/* v0.1.23: Public profile thumbnails are decorative; only private request lock is interactive. */
.ndmc4 .thumbs .ndmc4-static-thumb{cursor:default;pointer-events:none}
.ndmc4 .thumbs .ndmc4-private{cursor:pointer}

/* v0.1.24: Restore locked-design rounded corners after button-to-span thumbnail change. */
.ndmc4 .ndmc4-right .thumbs .ndmc4-static-thumb{
  display:block;
  height:53px;
  min-width:0;
  border:1px solid #2b3246;
  border-radius:7px;
  overflow:hidden;
  background:#11182a;
  box-sizing:border-box;
}
.ndmc4 .ndmc4-right .thumbs .ndmc4-static-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}

/* v0.1.25: Keep conversation rows fixed and Unicode/WordPress emoji inline.
   Scoped to chat content; no global typography or layout changes. */
.ndmc4 .ndmc4-list .ndmc4-row-shell>.ndmc4-row{height:66px;min-height:66px;max-height:66px;overflow:hidden}
.ndmc4 .ndmc4-list .ndmc4-row .copy{min-width:0;max-width:100%;overflow:hidden;align-self:center}
.ndmc4 .ndmc4-list .ndmc4-row .ndmc4-last-preview{display:block;max-width:100%;height:1.3em;max-height:1.3em;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.ndmc4 .ndmc4-list .ndmc4-row .ndmc4-last-preview img.emoji,
.ndmc4 .ndmc4-list .ndmc4-row .ndmc4-last-preview img.wp-smiley{display:inline-block!important;width:1em!important;height:1em!important;max-width:1em!important;max-height:1em!important;margin:0 .05em!important;vertical-align:-.1em!important;object-fit:contain!important}
.ndmc4 [data-chat-messages] .ndmc4-message-body{font-size:14px!important;line-height:1.48!important}
.ndmc4 [data-chat-messages] .ndmc4-message-body img.emoji,
.ndmc4 [data-chat-messages] .ndmc4-message-body img.wp-smiley{display:inline-block!important;width:1.2em!important;height:1.2em!important;max-width:1.2em!important;max-height:1.2em!important;margin:0 .05em!important;vertical-align:-.18em!important;object-fit:contain!important}
.ndmc4 [data-chat-messages] .ndmc4-message-body:not(:has(.ndmc4-chat-image)){overflow-wrap:anywhere;word-break:normal}
@media(max-width:700px){.ndmc4 .ndmc4-list .ndmc4-row-shell>.ndmc4-row{height:66px;max-height:66px}}

/* v0.1.27: Only outgoing replies have a wider bubble and explicit reply context. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-bubble{
  width:clamp(260px,55%,500px);max-width:min(80%,500px);min-width:0;
  display:flex;flex-direction:column;align-items:stretch;gap:5px;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-body{width:100%;text-wrap:wrap}
.ndmc4 [data-chat-messages] .ndmc4-outgoing-reply-label{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.4;color:#ffe0f1;font-weight:500}
.ndmc4 [data-chat-messages] .ndmc4-outgoing-reply-label svg{flex:0 0 14px}
@media(max-width:700px){.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-bubble{width:min(300px,calc(100vw - 105px));max-width:100%}}

/* v0.1.28: Keep the outgoing reply heading on one line when space permits. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-bubble{
  width:clamp(340px,55%,500px);max-width:min(90%,500px);box-sizing:border-box;
}
.ndmc4 [data-chat-messages] .ndmc4-outgoing-reply-label{white-space:nowrap;min-width:0}
.ndmc4 [data-chat-messages] .ndmc4-outgoing-reply-label span{white-space:nowrap}
@media(max-width:700px){
  .ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-bubble{width:min(340px,calc(100vw - 105px));max-width:100%}
  .ndmc4 [data-chat-messages] .ndmc4-outgoing-reply-label{white-space:normal}
  .ndmc4 [data-chat-messages] .ndmc4-outgoing-reply-label span{white-space:normal}
}

/* v0.1.29 – outgoing quoted replies: reserve real space for the full heading. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-stack{
  width:min(390px,100%);max-width:min(90%,520px);min-width:0;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-stack>.ndmc4-message-bubble{
  box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding-left:16px;padding-right:16px;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-outgoing-reply-label{
  display:flex;align-items:center;gap:7px;min-width:0;white-space:nowrap;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-outgoing-reply-label span{white-space:nowrap}
@media(max-width:700px){
 .ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-stack{width:min(390px,100%);max-width:calc(100% - 8px)}
 .ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-outgoing-reply-label,
 .ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-outgoing-reply-label span{white-space:normal}
}

/* v0.1.30 – compact outgoing quoted replies; truncate heading, never enlarge for its text. */
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-stack{
  width:min(255px,100%);max-width:min(90%,520px);min-width:0;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-stack>.ndmc4-message-bubble{
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-outgoing-reply-label{
  display:flex;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;
}
.ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-outgoing-reply-label span{
  display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
@media(max-width:700px){
 .ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-message-stack{width:min(255px,100%);max-width:calc(100% - 8px)}
 .ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-outgoing-reply-label,
 .ndmc4 [data-chat-messages] .ndmc4-attributed.mine.ndmc4-has-reply .ndmc4-outgoing-reply-label span{white-space:nowrap}
}

/* v0.1.32: Keep incoming quoted-reply heading readable without changing ordinary bubbles. */
.ndmc4 [data-chat-messages] .ndmc4-attributed:not(.mine).ndmc4-has-reply .ndmc4-message-bubble{min-width:min(220px,100%)}
.ndmc4 [data-chat-messages] .ndmc4-attributed:not(.mine).ndmc4-has-reply .ndmc4-response-label{white-space:nowrap}

/* Chat Security: local-only system notice in the active conversation. */
.ndmc4-security-notice{max-width:480px;margin:14px auto;padding:14px 17px;border:1px solid rgba(240,196,119,.35);border-radius:9px;background:rgba(240,196,119,.065);color:#e3deda;font-size:13px;line-height:1.55;text-align:left}.ndmc4-security-notice strong{display:block;color:#f0c477;font-size:14px;margin-bottom:6px}.ndmc4-security-notice p{margin:6px 0 0}.ndmc4-security-notice a{color:#f0c477;text-decoration:underline}

/* Security notice: dismiss control and unobtrusive countdown */
.ndmc4-security-notice{position:relative;padding-right:38px}
.ndmc4-security-notice-close{position:absolute;top:8px;right:9px;background:transparent!important;border:0!important;box-shadow:none!important;color:inherit;opacity:.75;cursor:pointer;font-size:23px;line-height:1;padding:3px 7px}
.ndmc4-security-notice-close:hover,.ndmc4-security-notice-close:focus-visible{opacity:1}
.ndmc4-security-countdown{font-size:11px;line-height:1.3;text-align:right;opacity:.7;margin-top:8px;font-weight:400}

/* v0.1.58: Security notice countdown follows outgoing read-receipt layout. */
.ndmc4 [data-chat-messages] .ndmc4-security-notice-stack{display:flex;flex-direction:column;align-items:flex-end;max-width:480px;margin:14px auto;}
.ndmc4 [data-chat-messages] .ndmc4-security-notice-stack>.ndmc4-security-notice{box-sizing:border-box;width:100%;max-width:100%;margin:0;padding:14px 17px;}
.ndmc4 [data-chat-messages] .ndmc4-security-notice-stack>.ndmc4-security-countdown{align-self:flex-end;text-align:right;margin:4px 2px 0;padding:0;background:transparent;border:0;color:#9fa8bc;opacity:1;font-size:11px;line-height:1.4;font-weight:400;white-space:nowrap;}

/* v0.1.62: one short shake when a newly blocked message is shown. */
@keyframes ndmc4-security-shake{0%,100%{transform:translateX(0)}15%,45%,75%{transform:translateX(-5px)}30%,60%,90%{transform:translateX(5px)}}
.ndmc4 .ndmc4-security-notice-shake{animation:ndmc4-security-shake 200ms ease-in-out 1;}
@media (prefers-reduced-motion: reduce){.ndmc4 .ndmc4-security-notice-shake{animation:none}}

/* v0.1.66: auto-growing composer, fixed send-button alignment and no internal scrolling. */
.ndmc4 .ndmc4-center{grid-template-rows:72px minmax(0,1fr) auto}
.ndmc4 .ndmc4-compose{height:auto;min-height:78px;align-items:flex-end;padding-bottom:25px}
.ndmc4 .ndmc4-compose-pill{height:auto;min-height:52px;align-items:flex-end;border-radius:26px}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field{align-self:stretch;align-items:stretch}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field textarea,
.ndmc4 .ndmc4-compose textarea{height:auto;min-height:40px;max-height:none;overflow-y:hidden;resize:none;align-self:stretch}
.ndmc4 .ndmc4-compose-pill .ndmc4-attachments{align-self:flex-end;height:42px}
.ndmc4 .ndmc4-compose .send{align-self:flex-end;flex-shrink:0}
@media(min-width:1101px){.ndmc4 .ndmc4-center{grid-template-rows:72px minmax(0,1fr) auto}.ndmc4 .ndmc4-compose{height:auto;padding-bottom:25px}.ndmc4 .ndmc4-compose textarea{height:auto;min-height:40px}}

/* v0.1.79: unobtrusive report-user hint above message composer. */
.ndmc4 .ndmc4-report-hint{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 6px;padding:7px 12px 3px;text-align:center;font-size:12px;line-height:1.5;color:#aab3c5}
.ndmc4 .ndmc4-report-hint button{appearance:none;-webkit-appearance:none;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;margin:0;color:#e53a91!important;font:inherit;font-weight:600;line-height:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.ndmc4 .ndmc4-report-hint button:hover{color:#ff69ad!important}
.ndmc4 .ndmc4-report-hint button:focus-visible{outline:2px solid #e53a91;outline-offset:3px;border-radius:2px}

/* v0.1.80: align report hint to composer text pill, excluding send button. */
.ndmc4 .ndmc4-report-hint{box-sizing:border-box;width:calc(100% - 57px);margin-right:57px;padding:15px 18px 0;justify-content:center}
@media(max-width:700px){.ndmc4 .ndmc4-report-hint{width:calc(100% - 54px);margin-right:54px;padding-left:8px;padding-right:8px}}

/* v0.1.81: report link and character counter share one baseline below the message pill. */
.ndmc4 .ndmc4-compose-pill .ndmc4-report-hint{position:absolute;top:calc(100% + 4px);bottom:auto;left:8px;right:58px;width:auto;margin:0;padding:0;min-height:15px;height:15px;display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:5px;white-space:nowrap;overflow:hidden;font-size:11px;line-height:15px;text-align:center;box-sizing:border-box}
.ndmc4 .ndmc4-compose-pill .ndmc4-report-hint button{flex-shrink:0;line-height:15px}
.ndmc4 .ndmc4-compose-pill .ndmc4-compose-field .ndmc4-char-count{top:calc(100% + 4px);line-height:15px;z-index:1}
@media(max-width:520px){.ndmc4 .ndmc4-compose-pill .ndmc4-report-hint{font-size:10px;left:0;right:45px;gap:3px}}

/* v0.1.84 – single authoritative outer chat width, shared with ND Theme.
   Desktop/tablet/mobile gutters are owned by the theme; fallback covers standalone plugin use.
   Component widths and responsive three-column behavior are unchanged. */
.ndmc4 {
  box-sizing:border-box;
  width:calc(100% - 2 * var(--nd-page-gutter, 24px));
  max-width:var(--nd-page-max-width, 1240px);
  margin-inline:auto;
}
@media(max-width:767px){
  .ndmc4 { width:calc(100% - 2 * var(--nd-page-gutter, 16px)); }
}
