.doerby-dm-launch{border:1px solid #2c92c8;border-radius:999px;background:#0d253b;color:#78e6ff;font-weight:900;padding:7px 12px;cursor:pointer;white-space:nowrap}.doerby-dm-launch b{display:none;margin-left:5px;background:#ff2456;color:#fff;border-radius:99px;padding:1px 6px}.doerby-dm-launch.has-unread b{display:inline-block}
.doerby-dm{border:1px solid #268bc0;border-radius:22px;background:linear-gradient(145deg,#071526,#081b2d);color:#eff8ff;width:min(980px,94vw);height:min(720px,90dvh);max-width:none;max-height:none;padding:0;overflow:hidden;box-shadow:0 24px 90px #000c,0 0 35px #148ed02b}.doerby-dm::backdrop{background:rgba(0,7,16,.55);backdrop-filter:blur(4px)}
.doerby-dm-shell{display:grid;grid-template-columns:260px minmax(0,1fr);height:100%;min-height:0;overflow:hidden}.doerby-dm-side{display:flex;flex-direction:column;min-height:0;border-right:1px solid #27506d;padding:14px;background:linear-gradient(180deg,#07192a,#061321);overflow:hidden}.doerby-dm-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:2px 3px 7px}.doerby-dm-head h2{color:#69ddff;font-size:21px;margin:0;letter-spacing:.06em}.doerby-dm-head small{color:#65839d;font-size:10px;font-weight:800}.doerby-dm-search{flex:0 0 auto;width:100%;box-sizing:border-box;margin:7px 0 10px;padding:10px 12px;border:1px solid #325a79;border-radius:12px;background:#05111e;color:#fff;outline:0}.doerby-dm-search:focus{border-color:#37cbff;box-shadow:0 0 0 3px #2ac6ff1c}.doerby-dm-list{display:flex;flex-direction:column;gap:6px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#237ca8 transparent;padding-right:3px}.doerby-dm-contact{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;text-align:left;gap:9px;min-height:52px;border:1px solid #173b55;border-radius:14px;background:linear-gradient(135deg,#0c2338,#0b1c2e);color:#eff8ff;padding:6px 8px;cursor:pointer;transition:.16s ease}.doerby-dm-contact:hover{border-color:#2c8fc0;transform:translateX(2px)}.doerby-dm-contact.active{border-color:#35d9ff;background:linear-gradient(135deg,#0c4053,#12345b);box-shadow:inset 3px 0 #31e7c5,0 0 18px #1dc8ed20}.doerby-dm-contact span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800}.doerby-dm-avatar{width:38px;height:38px;border:2px solid #2b5877;border-radius:50%;object-fit:cover;background:#1d3450}.doerby-dm-contact.active .doerby-dm-avatar{border-color:#39f0c1}.doerby-dm-count{display:grid;place-items:center;min-width:22px;height:22px;background:linear-gradient(135deg,#ff2456,#ff6e42);border-radius:99px;padding:0 5px;color:#fff;font-size:11px;box-shadow:0 0 12px #ff245677}
.doerby-dm-main{display:grid;grid-template-rows:58px minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden;background:radial-gradient(circle at 80% 10%,#10365455,transparent 34%),#071526}.doerby-dm-title{padding:10px 14px 10px 18px;border-bottom:1px solid #27506d;font-weight:900;color:#72e2ff;background:#091b2d;min-width:0}.doerby-dm-title>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.doerby-dm-close{order:9;flex:0 0 38px;border:1px solid #3d6683;border-radius:50%;background:#152d46;color:#fff;font-size:25px;line-height:1;width:38px;height:38px;cursor:pointer}.doerby-dm-close:hover{border-color:#ff5278;background:#76233d}.doerby-dm-messages{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#268bb9 transparent;padding:14px 18px;display:flex;flex-direction:column;gap:8px}.doerby-dm-bubble{max-width:min(72%,560px);align-self:flex-start;border:1px solid #315673;border-radius:17px 17px 17px 5px;background:linear-gradient(145deg,#17304a,#102338);padding:9px 12px;overflow-wrap:anywhere;box-shadow:0 6px 18px #0003}.doerby-dm-bubble.mine{align-self:flex-end;border-color:#159b82;background:linear-gradient(145deg,#07504d,#07373c);border-radius:17px 17px 5px 17px}.doerby-dm-bubble time{display:block;color:#89a3bd;font-size:10px;margin-top:4px}.doerby-dm-bubble.mine time{color:#83ceb9}.doerby-dm-bubble img{display:block;max-width:min(360px,100%);max-height:330px;border-radius:11px;margin-bottom:7px;object-fit:contain}.doerby-dm-empty{margin:auto;color:#88a4ba;text-align:center;font-weight:700}.doerby-dm-form{padding:10px 12px;border-top:1px solid #27506d;gap:7px;background:#08192a}.doerby-dm-form textarea{resize:none;min-height:44px;max-height:100px;border:1px solid #315f80;border-radius:14px;background:#05111e;color:#fff;padding:11px 12px;outline:0}.doerby-dm-form textarea:focus{border-color:#39cfff}.doerby-dm-file,.doerby-dm-send{display:grid;place-items:center;border:1px solid #2d9dcc;border-radius:13px;background:#0d2c45;color:#7de6ff;font-weight:900;padding:0 13px;cursor:pointer}.doerby-dm-send{background:linear-gradient(135deg,#177bd4,#1ec8cb);color:#fff;border-color:#43cfff}.doerby-dm-file input{display:none}.doerby-dm-status{grid-column:1/-1;color:#ffcf62;font-size:11px}.doerby-dm-preview{grid-column:1/-1;display:none;align-items:center;gap:8px;color:#6ff0c7;font-size:11px}.doerby-dm-preview.on{display:flex}
@media(max-width:700px){.doerby-dm{width:100vw;height:100dvh;border:0;border-radius:0}.doerby-dm-shell{grid-template-columns:92px minmax(0,1fr)}.doerby-dm-side{padding:7px}.doerby-dm-head{display:block;text-align:center}.doerby-dm-head h2{font-size:13px}.doerby-dm-head small{display:none}.doerby-dm-search{font-size:11px;padding:8px 6px}.doerby-dm-contact{grid-template-columns:34px minmax(0,1fr);gap:5px;min-height:48px;padding:5px;position:relative}.doerby-dm-avatar{width:32px;height:32px}.doerby-dm-contact span{font-size:9px}.doerby-dm-count{grid-column:2;position:absolute;right:2px;top:1px;min-width:17px;height:17px;font-size:9px}.doerby-dm-main{grid-template-rows:50px minmax(0,1fr) auto}.doerby-dm-title{padding:7px 8px 7px 11px;font-size:13px}.doerby-dm-close{width:34px;height:34px;flex-basis:34px}.doerby-dm-messages{padding:10px 8px}.doerby-dm-bubble{max-width:84%;font-size:13px}.doerby-dm-form{padding:7px;grid-template-columns:auto auto minmax(0,1fr)}.doerby-dm-send{grid-column:1/-1;min-height:38px}.doerby-dm-form textarea{min-height:40px}}
