.private-message-entry{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid #d8d4cc;border-radius:10px;background:#111014;color:#fff;font:750 12px Inter,sans-serif}
.private-unread{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:12px;background:#baff39;color:#111014;font:850 11px Inter,sans-serif}
.private-unread[hidden]{display:none}
#dm-dialog:not([open]){display:none}
#dm-dialog{width:min(1000px,calc(100% - 40px));height:min(760px,calc(100dvh - 60px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #ffffff24;border-radius:24px;background:#151418;color:#fff;box-shadow:0 30px 100px #0005;font:14px Inter,sans-serif;overflow:hidden}
#dm-dialog::backdrop{background:#0008;backdrop-filter:blur(16px)}
#dm-dialog [hidden]{display:none!important}
.dm-top{height:78px;display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #ffffff18}.dm-top h2{margin:0;font:850 24px Inter,sans-serif;letter-spacing:-.04em}.dm-top p{margin:5px 0 0;color:#aca6b4;font-size:12px}.dm-top button,.dm-thread-head button{width:40px;height:40px;border:1px solid #ffffff26;border-radius:50%;background:#ffffff0a;color:#fff;font-size:22px}
.dm-layout{display:grid;grid-template-columns:300px minmax(0,1fr);height:calc(100% - 78px);min-height:0}.dm-inbox{padding:18px 12px;border-right:1px solid #ffffff18;overflow-y:auto}.dm-inbox-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 6px 12px}.dm-inbox-title button,#dm-list-more,#dm-older{min-height:36px;padding:8px 12px;border:1px solid #ffffff20;border-radius:8px;background:transparent;color:#c5bece;font:650 11px Inter,sans-serif}
#dm-list-status{color:#aaa2b4;font-size:12px;line-height:1.6;padding:0 6px}.dm-conversation{width:100%;display:flex;align-items:center;gap:12px;padding:14px 10px;border:0;border-radius:12px;background:transparent;color:#fff;text-align:left}.dm-conversation[aria-pressed=true]{background:#ffffff0c}.dm-avatar{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:13px;background:#baff3918;color:#baff39;font:850 19px Inter,sans-serif}.dm-conversation>span:nth-child(2){min-width:0;flex:1}.dm-conversation strong{display:block;font-size:13px;overflow-wrap:anywhere}.dm-conversation small{display:block;margin-top:5px;color:#aaa2b4;font-size:11px}.dm-dot{width:8px;height:8px;border-radius:50%;background:#baff39;flex-shrink:0}
.dm-thread{display:flex;flex-direction:column;min-width:0;min-height:0}.dm-thread-head{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 20px;border-bottom:1px solid #ffffff12}.dm-thread-head h3{flex:1;min-width:0;font:750 15px Inter,sans-serif;margin:0;overflow-wrap:anywhere}#dm-back{display:none}.dm-thread-actions{display:flex;gap:8px;flex-shrink:0}.dm-thread-actions button{min-height:32px;padding:0 12px;border:1px solid #ffffff24;border-radius:20px;background:transparent;color:#c5bece;font:650 11px Inter,sans-serif;width:auto}.dm-thread-actions button[aria-pressed=true]{background:#ff453a;border-color:#ff453a;color:#fff}#dm-history{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0;overflow-y:auto;padding:24px 20px;overscroll-behavior:contain}.dm-message{align-self:flex-start;max-width:85%;padding:13px 16px;border-radius:18px 18px 18px 4px;background:#29262f;color:#f6f4f8}.dm-message.mine{align-self:flex-end;background:#baff39;color:#111014;border-radius:18px 18px 4px 18px}.dm-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.dm-message time{display:block;margin-top:7px;font-size:10px;opacity:.65}#dm-status{margin:0;padding:8px 20px;color:#bdb5c6;font-size:12px;line-height:1.5}#dm-form{display:flex;align-items:flex-end;gap:12px;padding:14px 20px 20px;border-top:1px solid #ffffff12}#dm-input{min-width:0;flex:1;min-height:48px;max-height:160px;resize:vertical;padding:13px 15px;border:1px solid #ffffff24;border-radius:14px;background:#201e25;color:#fff;font:16px/1.4 Inter,sans-serif}#dm-send{min-height:48px;padding:12px 18px;border:0;border-radius:14px;background:#baff39;color:#111014;font:800 13px Inter,sans-serif}#dm-send:disabled{opacity:.4;cursor:default}#dm-dialog :focus-visible{outline:2px solid #baff39;outline-offset:2px}
@media(max-width:760px){#dm-dialog{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding-top:env(safe-area-inset-top,0px)}.dm-layout{grid-template-columns:1fr;height:calc(100% - 78px - env(safe-area-inset-top,0px))}.dm-top{padding:16px 20px}.dm-inbox{border:0;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.dm-thread{display:none}.dm-has-thread .dm-inbox{display:none}.dm-has-thread .dm-thread{display:flex}#dm-back{display:block}#dm-form{padding:12px 14px calc(14px + env(safe-area-inset-bottom,0px));gap:8px}#dm-history{padding:18px 14px}.dm-thread-head{padding:10px 14px}.dm-thread-actions button{padding:0 9px;font-size:10px}.dm-message{max-width:90%}#dm-send{padding:12px}}
.od-head-btn.messages{position:relative}.od-head-btn.messages .private-unread{position:absolute;top:-8px;right:-5px}
@media(max-width:700px){.od-head-btn.messages>span:not(.private-unread){display:none}}
