/* Shared midnight/purple surfaces with compact, independent component layouts. */
#workspace.messaging-workspace #messages .dm-message-footer{display:grid;grid-template-rows:0fr;position:relative;clear:both;min-width:0}#workspace.messaging-workspace #messages .dm-message-footer>div{overflow:hidden;min-height:0;text-align:right}#workspace.messaging-workspace #messages .dm-message-time{display:inline-block;position:static!important;visibility:hidden;opacity:0;padding:3px 5px;font-size:10px!important;line-height:16px;white-space:nowrap;color:#c4b5d9}#workspace.messaging-workspace #messages :is(.message-time-peek,[data-message-id]:focus-within) .dm-message-footer{grid-template-rows:1fr}#workspace.messaging-workspace #messages :is(.message-time-peek,[data-message-id]:focus-within) .dm-message-time{visibility:visible;opacity:1}#workspace.messaging-workspace #messages .message-time-peek .dm-message-time{color:#edd5ff}@media(hover:hover){#workspace.messaging-workspace #messages [data-message-id]:hover .dm-message-footer{grid-template-rows:1fr}#workspace.messaging-workspace #messages [data-message-id]:hover .dm-message-time{visibility:visible;opacity:1}}
#workspace.profile-page-active>#user-profile-page{display:block!important;grid-area:2/2/3/-1!important;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:0!important;padding:20px 28px 80px;background:#080d20;color:#f8fafc;border:0;border-radius:0}#workspace>#user-profile-page[hidden]{display:none!important}#user-profile-page .profile-page-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:18px}#user-profile-page .profile-page-toolbar h1{font-size:18px;margin:0}#user-profile-page .profile-page-body{max-width:1100px;margin:auto;background:linear-gradient(135deg,#15132b,#0d1029);border:1px solid #573578;border-radius:20px;overflow:visible}#user-profile-page .profile-page-banner{height:210px;overflow:hidden;border-radius:20px 20px 0 0;background:radial-gradient(at 75% 10%,#9333ea88,transparent 65%),linear-gradient(125deg,#17122d,#261746)}#user-profile-page .profile-page-banner img{width:100%;height:100%;object-fit:cover}#user-profile-page .profile-page-identity{display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding:0 28px 22px;position:relative}#user-profile-page .profile-page-avatar{width:112px;height:112px;margin-top:-30px;flex:none;position:relative;z-index:1}#user-profile-page .profile-page-avatar>.avatar{width:112px!important;height:112px!important;min-width:112px!important;border-radius:50%;font-size:32px;border:5px solid #0d1029;box-sizing:border-box}#user-profile-page .profile-page-name{display:flex;align-items:center;gap:4px;font-size:26px!important;margin:14px 0 6px;color:#f8fafc!important}#user-profile-page .verified-mark{width:17px!important;height:17px!important;flex:none}#user-profile-page .verified-mark svg{width:17px;height:17px}#user-profile-page .profile-page-identity p{font-size:13px;color:#a9b4cc;margin:4px 0}#user-profile-page .profile-page-presence{font-size:12px;color:#a9b4cc}#user-profile-page .profile-page-plus{font-size:11px;padding:4px 9px;margin-left:10px;background:#713bb4;border-radius:20px}#user-profile-page .profile-page-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}#user-profile-page button{min-height:40px;padding:8px 15px;border:1px solid #624080;border-radius:12px;color:#f8fafc;background:#211a3c;font-size:13px}#user-profile-page button.primary{background:linear-gradient(120deg,#a855f7,#7920c4)}#user-profile-page button:disabled{opacity:.5;cursor:not-allowed}#user-profile-page .profile-page-tabs{display:flex;gap:8px;border-block:1px solid #432963;padding:12px 24px}#user-profile-page .profile-page-tabs [aria-selected=true]{background:#9333ea}#user-profile-page .profile-page-content{padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:16px}#user-profile-page .profile-page-card{min-width:0;align-self:start;padding:18px;border:1px solid #432963;border-radius:14px;background:#151b3b}#user-profile-page .profile-page-card h2{font-size:16px!important;margin:0 0 12px}#user-profile-page .profile-page-card p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}#user-profile-page .profile-page-card small{color:#a9b4cc}#user-profile-page .badge{width:32px!important;height:32px!important;min-width:32px!important;padding:3px!important}#user-profile-page .badge img{width:26px!important;height:26px!important}#user-profile-page .profile-page-row{display:flex;align-items:center;gap:12px;width:100%;margin-top:7px;text-align:left}#user-profile-page .profile-page-row>.avatar,#user-profile-page .profile-page-row>img{width:32px!important;height:32px!important;min-width:32px!important;object-fit:cover;border-radius:50%}
#notifications-dialog#notifications-dialog{width:min(620px,calc(100vw - 24px))!important;padding:22px;background:#0d1029!important;border:1px solid #75429a!important;color:#f8fafc!important}#notifications-dialog .notice-tabs{background:#15132b;border-color:#432963}#notifications-dialog .notice-tabs button[aria-selected=true]{background:#9333ea;color:white}#notifications-dialog .notice-settings-button,#notifications-dialog #notifications-read-all{color:#d8b4fe;background:#211a3c;border-color:#624080}#notifications-dialog .notification-row{display:flex;align-items:center;padding:0;margin:7px 0;gap:0;min-height:76px;background:#151b3b;border-color:#34294b;border-radius:12px}#notifications-dialog .notification-row.unread{background:linear-gradient(110deg,#311b4b,#151b3b);border-color:#75429a}#notifications-dialog .notice-open-row{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:12px;background:transparent;border:0;text-align:left;color:#f8fafc}#notifications-dialog .notice-open-row .avatar{width:36px!important;height:36px!important;min-width:36px!important;border-radius:50%}#notifications-dialog .notice-row-copy{min-width:0;flex:1}#notifications-dialog .notice-row-copy b{color:#f8fafc;margin:4px 0;font-size:13px}#notifications-dialog .notice-row-copy p{font-size:12px;color:#a9b4cc;overflow-wrap:anywhere}#notifications-dialog .notice-meta{color:#c084fc;font-size:11px}#notifications-dialog .notice-event{display:inline-flex;align-items:center;gap:5px}#notifications-dialog .notice-event svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}#notifications-dialog .notice-read-one{width:32px;height:32px;min-height:32px!important;padding:0;margin-right:10px;flex:none;background:#261e42;border:1px solid #624080;border-radius:50%;color:#d8b4fe}#notifications-dialog .notice-settings{background:#151b3b;border-color:#432963}#notifications-dialog .notice-toggle{border-color:#432963;color:#f8fafc}#notifications-dialog .notice-toggle input:checked{background:#9333ea;border-color:#a855f7}#notifications-dialog .notice-empty>span{background:#311b4b;color:#c084fc}#notifications-dialog .notice-day{color:#a9b4cc}#incoming-popup.incoming-popup{background:linear-gradient(125deg,#271638,#0d1029);border-color:#75429a;border-left-color:#a855f7}#incoming-popup .incoming-popup-open{min-height:80px;padding:12px}#incoming-popup .notice-meta{color:#c084fc}#incoming-popup .notice-more{color:#c084fc}#notice-header-bell#notice-header-bell{overflow:visible!important;flex-shrink:0!important;padding:9px!important;box-sizing:border-box;color:#d8b4fe!important;background:#15132b!important;border-color:#624080!important}#notice-header-bell svg{width:22px!important;height:22px!important;min-width:22px;overflow:visible}#notice-header-bell .notice-header-count{top:-4px!important;right:-4px!important;min-width:18px!important;line-height:14px!important;padding:0 3px!important;box-sizing:border-box;border-color:#0d1029!important;background:#9333ea!important}.server-rail:has(#notice-header-bell){overflow:visible!important}
#user-voice-settings .dm-sound-settings{align-content:start;grid-auto-rows:max-content;height:auto;min-height:0;gap:12px}#user-voice-settings .dm-sound-settings label{min-height:32px;margin:0;padding:0}
@media(max-width:760px),(pointer:coarse) and (max-width:1100px){#workspace.profile-page-active>#user-profile-page{grid-area:2/1/3/-1!important;padding:12px 12px calc(78px + env(safe-area-inset-bottom));border-radius:0}#user-profile-page .profile-page-banner{height:155px}#user-profile-page .profile-page-identity{gap:12px;padding:0 16px 18px}#user-profile-page .profile-page-avatar,#user-profile-page .profile-page-avatar>.avatar{width:88px!important;height:88px!important;min-width:88px!important}#user-profile-page .profile-page-name{font-size:22px!important}#user-profile-page .profile-page-actions{width:100%;margin:0}#user-profile-page .profile-page-content{grid-template-columns:1fr;padding:14px;gap:12px}#user-profile-page .profile-page-tabs{padding:10px 14px;gap:5px}#user-profile-page .profile-page-tabs button{flex:1;padding:8px;font-size:12px}#notifications-dialog#notifications-dialog{padding:18px 12px}#notifications-dialog .notice-tabs{flex-wrap:nowrap;min-width:0;width:100%}#notifications-dialog .notice-toolbar{gap:10px}#notifications-dialog .notice-meta{gap:6px}}
@media(prefers-reduced-motion:reduce){#workspace.messaging-workspace #messages .dm-message-footer{transition:none}}

#notifications-dialog .notice-open-row .avatar{flex:0 0 36px!important}#notifications-dialog .notice-open-row{flex:1;min-width:0}#workspace #user-profile-page .profile-page-tabs button[aria-selected=true]{background:linear-gradient(120deg,#a855f7,#7920c4)!important}#workspace.messaging-workspace #channel-title[role=button]{cursor:pointer}
/* Delivery checks remain separate from swipe/hover timestamps. */
.nexo-v2 #workspace.messaging-workspace .dm-delivery-receipt{color:#c5badb!important;letter-spacing:-2px;padding-right:2px!important;line-height:14px!important;min-height:14px;font-size:13px!important}
.nexo-v2 #workspace.messaging-workspace .dm-delivery-receipt.seen{color:#60a5fa!important;text-shadow:0 0 7px #3b82f644}
