.social-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:9px;border:1px solid #30383b;border-radius:50%;background:transparent;color:#deded8;flex-shrink:0}.social-bell svg,.social-message-link svg,.dm-start svg{width:22px;height:22px}.social-badge{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;border-radius:10px;background:#ed8d71;color:#171310;font:700 10px/18px Arial;text-align:center;padding:0 4px}.social-badge[hidden]{display:none!important}a:has(>[data-social-badge]){position:relative}.sidebar .social-bell{align-self:flex-start}.mobile-header .social-bell{width:32px;height:32px;padding:6px;margin-left:auto;margin-right:12px}.mobile-rankings{font-size:12px;margin-left:auto;margin-right:12px;color:#b9c5c8}.profile-social{margin:24px 0}.profile-counts{display:flex;justify-content:center;gap:20px}.profile-counts button{padding:4px;border:0;background:transparent;font-size:14px;color:#aeb9bc}.profile-counts strong{color:#faf9f4;margin-right:5px}.profile-social-actions{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:18px;flex-wrap:wrap}.profile-social-actions>button,.social-message-link{display:inline-flex;align-items:center;gap:8px;padding:10px 22px;border:1px solid #465356;background:#a7d4d5;color:#101719;border-radius:24px;font-weight:600}.profile-social-actions>button[aria-pressed=true],.social-message-link{background:#1a2428;color:#dbe4e3}.social-feedback:empty{display:none}.social-feedback{font-size:13px;color:#edac96}.social-dialog{background:#151b1e;color:#f4f3ee;border:1px solid #3b4549;border-radius:18px;padding:0;width:min(460px,calc(100vw - 28px));max-height:75dvh;box-shadow:0 18px 80px #0008}.social-dialog::backdrop{background:#0009}.social-dialog header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #303a3e}.social-dialog h2{font:600 20px Arial;margin:0}.social-dialog header button{background:transparent;border:0;font-size:26px;padding:0 6px}.social-dialog-body{padding:12px 18px;overflow:auto;max-height:60dvh}.social-person{display:flex;align-items:center;gap:12px;padding:14px 8px;border-radius:10px;font:14px/1.5 Arial;color:#e8ece8}.social-person:hover{background:#242e32}.social-person>span:last-child{flex:1}.social-person>span:last-child:not(:has(strong)){color:#98a8ad;font-size:12px;text-align:right}.social-person small{display:block;color:#97a9ae;margin-top:4px}.social-unread{background:#21343b}.social-dialog-body>[data-mark-read]{font-size:12px;margin-bottom:10px;background:transparent;color:#a7d4d5;border:0}.social-dialog-body>[data-more]{width:100%;margin-top:14px}.shell:has(.messages-main){grid-template-columns:240px minmax(0,1fr)}.shell:has(.messages-main)>.rail{display:none}.shell>.messages-main{padding:0;background:#111719;min-width:0}.messages-main .dm-layout{display:grid;grid-template-columns:minmax(250px,32%) minmax(0,1fr);height:100dvh;min-height:500px;max-height:1100px;color:#edf0eb;font-family:Arial,sans-serif}.dm-sidebar{display:flex;flex-direction:column;min-width:0;border-right:1px solid #2b363a;background:#141c1f;overflow:hidden}.dm-sidebar>header{display:flex;justify-content:space-between;align-items:center;padding:28px 22px 18px}.dm-sidebar .eyebrow{font-size:9px;color:#8da5aa;letter-spacing:2px;margin:0}.messages-main .dm-sidebar h1{font:600 28px Arial;letter-spacing:-1px;line-height:1.3;margin:8px 0 0}.dm-search{padding:0 18px 16px}.dm-search>label{display:block;font-size:11px;color:#91a5aa;margin:0 0 8px}.dm-search>div{display:flex;align-items:center;background:#202c30;border-radius:12px;border:1px solid #344248;padding-right:8px}.dm-search input{background:transparent;border:0;flex:1;width:100%;font-size:14px;padding:12px}.dm-search button{background:transparent;border:0;padding:3px 7px;font-size:24px;color:#acc5ca}.dm-thread-list{flex:1;overflow:auto;min-height:0;padding:4px 9px}.dm-thread{display:flex;gap:11px;align-items:center;padding:14px 11px;margin-bottom:3px;border-radius:12px;color:#e5eceb}.dm-thread:hover,.dm-thread.selected{background:#25383d}.dm-thread>.user-avatar,.dm-result>.user-avatar{width:42px;height:42px;flex-shrink:0}.dm-thread>span:nth-child(2){flex:1;min-width:0}.dm-thread strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.dm-thread small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#92a6ac;font-size:12px;margin-top:6px}.dm-thread-meta{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex-shrink:0}.dm-thread-meta time{font-size:10px;color:#8ea3a9}.dm-thread-meta b{background:#a7d4d5;color:#17282a;font-size:10px;border-radius:10px;padding:3px 6px}.dm-empty-list{padding:18px;color:#93a8ae;font-size:13px;line-height:1.7}.dm-my-profile{display:flex;align-items:center;gap:12px;padding:17px 22px;border-top:1px solid #2c393e;font-size:13px}.dm-my-profile small{display:block;margin-top:4px;color:#94a8ad;font-size:11px}.dm-chat{display:flex;flex-direction:column;min-width:0;min-height:0;background:radial-gradient(ellipse at 80% 50%,#25323844,transparent 70%),#101719}.dm-chat-header{display:flex;align-items:center;gap:12px;padding:20px 26px;border-bottom:1px solid #2b383c;background:#141e21}.dm-peer{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.dm-peer strong{display:block;word-break:break-word}.dm-peer small{display:block;margin-top:5px;color:#95abb0}.dm-chat-header>button{font-size:11px;padding:7px 10px;background:transparent;color:#a8bbbd}.dm-back{display:none}.dm-log{flex:1;overflow:auto;min-height:0;padding:20px 28px;overscroll-behavior:contain}.dm-day{text-align:center;color:#8fa5aa;font-size:10px;margin:12px 0 22px}.dm-row{display:flex;margin:8px 0;justify-content:flex-start}.dm-row.own{justify-content:flex-end}.dm-bubble{max-width:78%;min-width:64px;background:#25353b;border-radius:16px 16px 16px 4px;padding:11px 14px;color:#e5edec}.dm-row.own .dm-bubble{background:#b2d7d3;color:#102b2b;border-radius:16px 16px 4px 16px}.dm-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.55 Arial;margin:0}.dm-bubble time{display:block;text-align:right;font-size:9px;opacity:.65;margin-top:5px}.dm-compose{display:flex;align-items:end;gap:10px;padding:12px 24px 8px;background:#141e21}.dm-compose textarea{flex:1;resize:vertical;min-width:0;min-height:46px;max-height:150px;border:1px solid #34474d;border-radius:14px;background:#202e33;color:#edf4ee;padding:13px 15px;font:14px/1.4 Arial}.dm-compose button{padding:13px 20px;border:0;border-radius:14px;background:#b2d7d3;color:#122e2c;font-weight:700;min-height:46px}.dm-compose-hint{display:block;padding:0 26px 13px;background:#141e21;font-size:10px;color:#859da4}.dm-error{color:#f0ac95;font-size:12px;margin:0;padding:10px 24px;background:#141e21}.dm-error:empty{display:none}.dm-welcome,.dm-signin{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:36px;flex:1;min-height:65vh}.dm-welcome>svg,.dm-signin>svg{width:62px;height:62px;color:#9cc1c4;margin-bottom:18px}.messages-main .dm-welcome h2,.messages-main .dm-signin h1{font:400 clamp(24px,3vw,38px)/1.2 Georgia,serif;letter-spacing:-.5px;max-width:420px;margin:10px 0}.dm-welcome p,.dm-signin p{color:#93a8ae;font-size:14px;max-width:340px;line-height:1.7}.dm-signin button{background:#b2d7d3;color:#142e2e;margin-top:15px}.dm-start-note{text-align:center;color:#96aab0;font-size:13px;padding:40px 12px}.dm-unavailable{padding:20px 24px;color:#b7a69d;background:#211d1c;font-size:13px}.dm-results{max-height:230px;overflow:auto;padding:0 18px 12px;border-bottom:1px solid #2e3e43}.dm-result{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:13px}.dm-result>a:first-of-type{flex:1}.dm-start{padding:5px}.dm-results p{font-size:12px;color:#9db0b4}.dm-log>[data-older]{display:block;margin:0 auto 18px;font-size:11px;background:transparent;color:#a6c5c8}.messages-main button:disabled{opacity:.5;cursor:default}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px) and (min-width:701px){.shell:has(.messages-main){grid-template-columns:190px minmax(0,1fr)}.messages-main .dm-layout{grid-template-columns:235px minmax(0,1fr)}.dm-chat-header{padding:16px}.dm-log{padding:16px}.dm-compose{padding:12px}}
@media(max-width:700px){.shell:has(.messages-main){display:block}.shell>.messages-main{padding:0!important}.messages-main .dm-layout{display:block;height:calc(100dvh - 132px - env(safe-area-inset-bottom,0px));min-height:350px;max-height:none}.dm-sidebar{height:100%;border:0}.dm-sidebar>header{padding:20px}.dm-chat{display:none;height:100%}.dm-layout.has-conversation .dm-sidebar{display:none}.dm-layout.has-conversation .dm-chat{display:flex}.dm-back{display:block;font-size:24px;padding:5px}.dm-chat-header{padding:12px;gap:9px}.dm-peer .user-avatar{width:36px;height:36px}.dm-peer strong{font-size:14px}.dm-peer small{font-size:10px}.dm-chat-header>button{padding:7px}.dm-log{padding:12px}.dm-bubble{max-width:85%}.dm-compose{padding:9px 12px 6px;gap:8px}.dm-compose textarea{font-size:16px;padding:11px}.dm-compose button{padding:12px 15px}.dm-compose-hint{padding:0 14px 8px;font-size:9px}.dm-my-profile{padding:12px 20px}.dm-welcome{min-height:45vh}.mobile-dock .social-badge{top:2px;right:8px}.profile-counts{gap:15px}.profile-social-actions{gap:8px}.social-dialog{max-height:80dvh}}
.sidebar nav i svg{width:26px;height:26px}.dm-thread-list>[data-more-threads]{width:100%;font-size:12px;margin:10px 0}

/* Group chats */
.dm-head-actions{display:flex;align-items:center;gap:8px}
.dm-new-group{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;padding:0;border:1px solid #30383b;border-radius:50%;background:transparent;color:#deded8;font:500 12.5px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.dm-new-group:hover{background:#ffffff0f}
.dm-new-group svg{width:21px;height:21px}
.dm-new-group span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.dm-thread>.user-avatar{flex:0 0 42px;width:42px;height:42px;align-self:center}
.dm-group-face{display:inline-flex;align-items:center;justify-content:center;background:#20282b;color:#a9c9d4}
.dm-group-face svg{width:58%;height:58%}
.dm-group-open{flex:1;min-width:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.dm-system{width:fit-content;max-width:85%;margin:6px auto;padding:3px 10px;border-radius:10px;background:#ffffff0d;color:#9aa2a5;font:400 12px/1.4 "Segoe UI",system-ui,Arial,sans-serif;text-align:center}
.dm-row.in-group{position:relative;padding-left:36px}
.dm-sender-face{position:absolute;left:0;top:2px;width:28px;height:28px;text-decoration:none}
.dm-sender-face .user-avatar{width:28px;height:28px;font-size:11px}
.dm-sender{display:block;margin-bottom:2px;color:#8fd0e3;font:600 12px/1.3 "Segoe UI",system-ui,Arial,sans-serif}
.dm-group-form{display:grid;gap:14px}
.dm-group-form label,.dm-group-label{display:block;color:#c4c9cb;font:500 13px "Segoe UI",system-ui,Arial,sans-serif}
.dm-group-form input,.dm-group-info input{width:100%;height:40px;margin-top:6px;padding:0 12px;border:1px solid #30383b;border-radius:8px;background:#0b0d0e;color:#f1f3f3;font:400 14px "Segoe UI",system-ui,Arial,sans-serif;box-sizing:border-box}
.dm-group-results{display:grid;max-height:200px;overflow-y:auto;margin-top:4px}
.dm-group-results .muted{margin:8px 2px;font-size:13px}
.dm-group-person{display:flex;align-items:center;gap:10px;width:100%;padding:7px 4px;border:0;border-radius:8px;background:none;color:#f1f3f3;font:400 14px "Segoe UI",system-ui,Arial,sans-serif;text-align:left;cursor:pointer}
.dm-group-person:hover{background:#ffffff0d}
.dm-group-person strong{flex:1;min-width:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-group-person>span:last-child{color:#8fd0e3;font-size:12.5px}
.dm-chips{display:flex;flex-wrap:wrap;gap:6px}
.dm-chips:not(:empty){margin-top:8px}
.dm-chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px 0 4px;border:1px solid #30383b;border-radius:15px;background:#191e20;color:#f1f3f3;font:500 12.5px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}
.dm-chip .user-avatar{width:22px;height:22px;font-size:10px}
.dm-group-primary{height:42px;border:0;border-radius:10px;background:#f5efc9;color:#111;font:600 14px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}
.dm-group-primary:disabled{opacity:.4;cursor:not-allowed}
.dm-group-form .dm-error,.dm-group-info .dm-error{margin:0;min-height:0}
.dm-group-info h3{margin:16px 0 6px;color:#9aa2a5;font:600 12px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:.3px}
.dm-rename{display:flex;gap:8px}
.dm-rename input{margin:0;flex:1;min-width:0}
.dm-rename button{flex:none;height:40px;padding:0 14px;border:1px solid #30383b;border-radius:8px;background:#191e20;color:#f1f3f3;font:500 13px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}
.dm-member{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:7px 0}
.dm-member>a{display:flex;align-items:center;gap:10px;min-width:0;color:#f1f3f3;font:400 14px "Segoe UI",system-ui,Arial,sans-serif;text-decoration:none}
.dm-member>a strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-admin-tag{padding:1px 7px;border:1px solid #3a5560;border-radius:9px;color:#8fd0e3;font:500 11px "Segoe UI",system-ui,Arial,sans-serif}
.dm-member-actions{display:flex;gap:4px;margin-left:auto}
.dm-member-actions button{padding:3px 8px;border:0;border-radius:6px;background:none;color:#9aa2a5;font:500 12px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}
.dm-member-actions button:hover{background:#ffffff0f;color:#fff}
.dm-member-actions .dm-danger:hover{color:#ef9b97;background:#ef9b9714}
.dm-group-leave{width:100%;height:40px;margin-top:14px;border:1px solid #4a2f2f;border-radius:10px;background:none;color:#ef9b97;font:500 13.5px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}
.dm-group-leave:hover{background:#ef9b9714}

/* Chat redesign */
.shell>.messages-main{background:#0c1014}
.messages-main .dm-layout{font-family:"Segoe UI",system-ui,Arial,sans-serif;color:#e7e9ea;max-height:none}
.dm-sidebar{background:#0c1014;border-right:1px solid #232a30;overflow:visible}
.dm-sidebar>header{padding:12px 16px 10px;position:relative;z-index:5}
.messages-main .dm-sidebar h1{margin:0;font:700 22px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:0}
.dm-head-actions{gap:8px}
.dm-round{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#181d22;color:#e7e9ea;cursor:pointer}
.dm-round:hover,.dm-filter-button:hover{background:#222930}
.dm-round svg{width:22px;height:22px}
.dm-filter{position:relative}
.dm-filter-button{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px 0 18px;border:1px solid #2c343b;border-radius:22px;background:#0c1014;color:#e7e9ea;font:600 15px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}
.dm-filter-button svg{width:17px;height:17px}
.dm-menu{position:absolute;z-index:20;top:calc(100% + 6px);right:0;min-width:230px;padding:8px;border:1px solid #2c343b;border-radius:16px;background:#14191e;box-shadow:0 10px 30px #0009}
.dm-menu>span{display:block;padding:6px 12px 8px;color:#8b98a5;font:600 13px "Segoe UI",system-ui,Arial,sans-serif}
.dm-menu>button,.dm-menu>a{display:flex;align-items:center;gap:14px;width:100%;box-sizing:border-box;padding:10px 12px;border:0;border-radius:10px;background:none;color:#e7e9ea;text-decoration:none;text-align:left;cursor:pointer}
.dm-menu>button:hover,.dm-menu>a:hover{background:#1f262c}
.dm-menu>button>svg,.dm-menu>a>svg{flex:none;width:22px;height:22px}
.dm-menu b{flex:1;font:600 15px "Segoe UI",system-ui,Arial,sans-serif}
.dm-menu hr{margin:6px 8px;border:0;border-top:1px solid #2c343b}
.dm-search{position:relative;display:flex;align-items:center;margin:0 16px 12px;padding:0 16px;height:44px;border-radius:22px;background:#181d22;color:#8b98a5}
.dm-search>svg{flex:none;width:20px;height:20px;margin-right:10px}
.dm-search input{flex:1;min-width:0;padding:0;border:0;outline:0;background:none;color:#e7e9ea;font:400 16px "Segoe UI",system-ui,Arial,sans-serif}
.dm-search input::placeholder{color:#8b98a5}
.dm-thread-list{padding:2px 8px;overflow-y:auto}
.dm-thread{gap:14px;padding:11px 12px;margin-bottom:2px;border-radius:14px;color:#e7e9ea;text-decoration:none}
.dm-thread:hover{background:#141a1f}
.dm-thread.selected{background:#181d22}
.dm-thread>.user-avatar{flex:0 0 56px;width:56px;height:56px}
.dm-thread strong{font-size:16px;font-weight:600}
.dm-thread small{margin-top:3px;color:#8b98a5;font-size:15px}
.dm-thread-meta time{color:#8b98a5;font-size:12px}
.dm-thread-meta b{min-width:10px;background:#1d9bf0;color:#fff;font-size:11px;text-align:center}
.dm-empty-list{color:#8b98a5;font-size:15px}
.dm-results{max-height:none;padding:8px 12px;border:0}
.dm-results h2{margin:8px 0 4px;color:#8b98a5;font:600 13px "Segoe UI",system-ui,Arial,sans-serif}
.dm-results p{color:#8b98a5;font-size:14px}
.dm-result{font-size:15px}
.dm-result>a:first-of-type{color:#e7e9ea}
.dm-chat{position:relative;background:#0c1014}
.dm-chat-header{gap:12px;padding:8px 16px;border:0;background:#0c1014}
.dm-peer{color:#e7e9ea;text-decoration:none}
.dm-peer .user-avatar,.dm-group-open .user-avatar{flex:0 0 44px;width:44px;height:44px}
.dm-peer strong{font-size:18px;font-weight:600}
.dm-peer small{margin-top:1px;color:#8b98a5;font-size:13px}
.dm-more-wrap{position:relative;flex:none}
.dm-chat-header .dm-round{width:40px;height:40px;background:none;border:1px solid #2c343b;color:#e7e9ea;font-size:0}
.dm-log{padding:12px 20px}
.dm-intro{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 0 14px;color:#8b98a5;font-size:15px}
.dm-intro p{margin:0}
.dm-pill{display:inline-flex;align-items:center;height:40px;padding:0 20px;border:0;border-radius:20px;background:#1e252b;color:#e7e9ea;font:600 15px "Segoe UI",system-ui,Arial,sans-serif;text-decoration:none;cursor:pointer}
.dm-pill:hover{background:#283037}
.dm-admin-note{max-width:460px;margin:0 auto 10px;color:#6f7b86;font-size:12.5px;line-height:1.45;text-align:center}
.dm-day{margin:18px 0 14px;color:#8b98a5;font-size:13px;font-weight:600}
.dm-row{margin:3px 0}
.dm-bubble{max-width:min(70%,520px);min-width:0;padding:9px 15px;border-radius:20px;background:#1e252b;color:#e7e9ea}
.dm-row.own .dm-bubble{background:#1d9bf0;color:#fff;border-radius:20px}
.dm-bubble p{font:400 15.5px/1.38 "Segoe UI",system-ui,Arial,sans-serif}
.dm-status{margin:3px 4px 6px;color:#8b98a5;font-size:12.5px;text-align:right}
.dm-sender{color:#8b98a5;font-weight:600}
.dm-system{background:none;color:#8b98a5;font-size:13px}
.dm-bubble.has-media{padding:0;overflow:hidden;background:#1e252b}
.dm-bubble.has-media p{padding:8px 14px 10px}
.dm-bubble.has-media .dm-sender{padding:8px 14px 6px;margin:0}
.dm-media{position:relative;display:block;width:100%;padding:0;border:0;background:#000;cursor:pointer}
.dm-media img,.dm-media video{display:block;width:100%;max-width:340px;min-width:180px;max-height:420px;object-fit:cover}
.dm-play{position:absolute;top:50%;left:50%;display:flex;align-items:center;justify-content:center;width:54px;height:54px;margin:-27px 0 0 -27px;border-radius:50%;background:#000a;color:#fff}
.dm-play svg{width:28px;height:28px}
.dm-attachment{display:flex;align-items:center;gap:12px;margin:0 20px 8px;padding:8px;border:1px solid #2c343b;border-radius:14px;background:#14191e}
.dm-attachment img,.dm-attachment video{flex:none;width:56px;height:56px;border-radius:9px;object-fit:cover;background:#000}
.dm-attachment>span{flex:1;min-width:0}
.dm-attachment strong{display:block;overflow:hidden;color:#e7e9ea;font:600 14px "Segoe UI",system-ui,Arial,sans-serif;text-overflow:ellipsis;white-space:nowrap}
.dm-attachment small{display:block;margin-top:2px;color:#8b98a5;font-size:13px}
.dm-progress{display:block;height:4px;margin-top:6px;border-radius:2px;background:#2c343b;overflow:hidden}
.dm-progress b{display:block;height:100%;background:#1d9bf0;transition:width .2s}
.dm-attachment>button{flex:none;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#1e252b;color:#e7e9ea;font-size:20px;line-height:1;cursor:pointer}
.dm-compose{align-items:flex-end;gap:10px;padding:8px 20px 14px;background:#0c1014}
.dm-compose .dm-round{width:48px;height:48px;background:#181d22;color:#e7e9ea;min-height:0}
.dm-emoji-wrap{position:relative;flex:none}
.dm-field{flex:1;min-width:0;display:flex;align-items:flex-end;min-height:48px;padding:0 6px 0 20px;border-radius:24px;background:#181d22}
.dm-compose textarea{display:block;flex:1;min-width:0;min-height:0;max-height:140px;padding:13px 0;border:0;outline:0;border-radius:0;background:none;color:#e7e9ea;font:400 16px/22px "Segoe UI",system-ui,Arial,sans-serif;resize:none}
.dm-compose textarea::placeholder{color:#8b98a5}
.dm-compose .dm-send{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-height:0;margin:6px 0;padding:0;border-radius:50%;background:#1d9bf0;color:#fff;cursor:pointer}
.dm-compose .dm-send svg{width:19px;height:19px}
.dm-emoji{top:auto;right:auto;bottom:calc(100% + 8px);left:-58px;width:330px;max-width:calc(100vw - 32px);box-sizing:border-box}
.dm-emoji input{width:100%;box-sizing:border-box;height:38px;padding:0 12px;border:0;outline:0;border-radius:10px;background:#1e252b;color:#e7e9ea;font:400 14px "Segoe UI",system-ui,Arial,sans-serif}
.dm-emoji-tabs{display:flex;gap:2px;margin:6px 0;overflow-x:auto}
.dm-emoji-tabs button{flex:none;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:none;font-size:18px;cursor:pointer}
.dm-emoji-tabs button[aria-pressed=true]{background:#1e252b}
.dm-emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);height:230px;overflow-y:auto;align-content:start}
.dm-emoji-grid button{aspect-ratio:1;padding:0;border:0;border-radius:8px;background:none;font-size:22px;line-height:1;cursor:pointer}
.dm-emoji-grid button:hover{background:#1e252b}
.dm-emoji-grid p{grid-column:1/-1;color:#8b98a5;font-size:14px}
.dm-error{padding:6px 20px;background:#0c1014;color:#f4a79d}
.dm-unavailable{background:#14191e;color:#8b98a5}
.dm-welcome>svg{color:#8b98a5}
.messages-main .dm-welcome h2{font:700 26px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:0}
.dm-welcome p{color:#8b98a5}
.dm-viewer{max-width:100vw;max-height:100vh;width:100vw;height:100vh;padding:0;border:0;background:#000d;overflow:hidden}
.dm-viewer[open]{display:flex;align-items:center;justify-content:center}
.dm-viewer::backdrop{background:#000d}
.dm-viewer img,.dm-viewer video{max-width:94vw;max-height:92vh;object-fit:contain}
.dm-viewer button{position:fixed;top:14px;right:14px;z-index:1;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:#1e252b;color:#fff;font-size:24px;cursor:pointer}
.social-dialog{background:#14191e;border-color:#2c343b}
.social-dialog header{border-color:#2c343b}
@media(max-width:700px){.dm-sidebar{overflow:hidden}.dm-sidebar:has(.dm-menu){overflow:visible}.dm-chat-header{padding:8px 10px}.dm-peer strong{font-size:16px}.dm-peer .user-avatar{width:38px;height:38px;flex-basis:38px}.dm-log{padding:10px 12px}.dm-bubble{max-width:82%}.dm-compose{gap:6px;padding:6px 10px 10px}.dm-compose .dm-round{width:42px;height:42px}.dm-field{min-height:42px;padding-left:14px}.dm-compose textarea{padding:10px 0}.dm-compose .dm-send{width:32px;height:32px;margin:5px 0}.dm-attachment{margin:0 10px 6px}.dm-thread>.user-avatar{flex-basis:50px;width:50px;height:50px}.dm-emoji{left:-50px}}
/* Admin: chats */
.admin-chats #chat-search{width:min(420px,100%);height:40px;margin:6px 0 2px;padding:0 12px;box-sizing:border-box}
.admin-chats td button{padding:0;border:0;background:none;color:#8fd0e3;font:600 14px "Segoe UI",system-ui,Arial,sans-serif;text-align:left;cursor:pointer;text-decoration:underline}
.admin-chat-log{display:grid;gap:12px;max-width:680px;margin-top:12px}
.admin-chat-log article{padding:10px 12px;border:1px solid #2c343b;border-radius:10px}
.admin-chat-log article b{margin-right:8px}
.admin-chat-log time{color:#8b98a5;font-size:12px}
.admin-chat-log p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.admin-chat-log img,.admin-chat-log video{display:block;max-width:320px;max-height:320px;margin-top:8px;border-radius:8px}
.admin-chat-system{color:#8b98a5;font-size:13px;text-align:center}
.dm-compose .dm-round{padding:0;border:0;border-radius:50%}
.dm-compose .dm-round svg{width:24px;height:24px}
.dm-compose .dm-send{border:0}
.shell:has(.messages-main),.shell:has(.messages-main) .sidebar{background-color:#0c1014}
/* New chat and people search */
.social-dialog header{padding:16px 20px;border-bottom:0}
.social-dialog header h2{font:700 20px "Segoe UI",system-ui,Arial,sans-serif}
.social-dialog header button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border-radius:50%;color:#e7e9ea;font-size:22px;line-height:1}
.social-dialog header button:hover{background:#ffffff14}
.social-dialog-body{padding:0 20px 18px}
.dm-picker-search{display:flex;align-items:center;gap:10px;height:44px;padding:0 16px;border-radius:22px;background:#1e252b;color:#8b98a5}
.dm-picker-search:focus-within{box-shadow:0 0 0 1px #1d9bf0}
.dm-picker-search svg{flex:none;width:19px;height:19px}
.dm-picker-search input.dm-group-search,.dm-group-form .dm-picker-search input.dm-group-search,.dm-group-info .dm-picker-search input.dm-group-search{flex:1;width:auto;min-width:0;height:auto;margin:0;padding:0;border:0;outline:0!important;box-shadow:none;background:none;color:#e7e9ea;font:400 15px "Segoe UI",system-ui,Arial,sans-serif}
.dm-picker-search input::-webkit-search-cancel-button{display:none}
.dm-group-results{max-height:320px;margin-top:6px}
.dm-group-results h3{margin:12px 2px 6px;color:#8b98a5;font:600 13px "Segoe UI",system-ui,Arial,sans-serif}
.dm-group-person{gap:12px;padding:8px 10px;border-radius:12px;font-size:15px}
.dm-group-person .user-avatar{flex:0 0 42px;width:42px;height:42px}
.dm-group-person>span:last-child:not(.user-avatar){color:#1d9bf0;font-weight:600;font-size:13px}
.dm-new-group-row{margin-top:10px}
.dm-new-group-row .dm-group-face{color:#1d9bf0}
/* Empty chat panel */
.dm-welcome-icon{display:flex;align-items:center;justify-content:center;width:112px;height:112px;margin-bottom:22px;border-radius:50%;background:#181d22;color:#e7e9ea}
.dm-welcome-icon svg{width:52px;height:52px}
.messages-main .dm-welcome h2{max-width:none;margin:0 0 10px;font-size:25px}
.dm-welcome p{margin:0;font-size:16px;line-height:1.45}
.dm-welcome-start{height:44px;margin-top:22px;padding:0 22px;border:0;border-radius:22px;background:#fff;color:#0c1014;font:600 16px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}
.dm-welcome-start:hover{background:#d9dee2}
.dm-welcome p{max-width:460px}
/* The Lounge */
.lounge{display:flex;flex-direction:column;height:100dvh;min-height:500px;background:#0c1013;color:#f3f1ee;font-family:"Segoe UI",system-ui,Arial,sans-serif}
.messages-main .lounge{background:#0c1013}
.lounge .dm-chat-header{flex:none;gap:14px;border-bottom:1px solid #252c30;padding:12px 22px;background:linear-gradient(110deg,#10171a,#0c1013 72%)}
.lounge .dm-chat-header>.user-avatar{flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:#202b2f;color:#a9d4e1}
.lounge .dm-chat-header>.user-avatar svg{width:55%;height:55%}
.messages-main .lounge h1{margin:0;color:#f3f1ee;font:750 17px/1.15 "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:-.035em}
.lounge .dm-peer small{display:block}
.lounge .dm-log{padding-top:16px}
.lounge .dm-emoji{left:0}
.lounge-empty{padding:40px 12px;color:#8b98a5;font-size:15px;text-align:center}.lounge-empty strong{display:block;margin-bottom:6px;color:inherit;font-size:16px}.lounge-empty p{margin:0 0 14px}.lounge-starter{padding:9px 16px;border:1px solid #e2cda0;border-radius:999px;background:#e2cda0;color:#141414;font:600 14px/1.2 "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}.lounge-starter:focus-visible{outline:2px solid #39b6d8;outline-offset:2px}.guest-picks-note{margin:12px auto 0;max-width:460px;font-size:14px;line-height:1.5;text-align:center;color:inherit;opacity:.8}
.lounge-message{position:relative;display:flex;flex-direction:column;align-items:flex-start;max-width:min(70%,520px)}
.lounge .dm-row.own .lounge-message{align-items:flex-end}
.lounge-message .dm-bubble{max-width:100%;box-sizing:border-box}
.lounge-actions{position:absolute;z-index:3;left:100%;top:0;margin-left:8px;opacity:0;pointer-events:none;transition:opacity .15s ease}
.lounge .dm-row.own .lounge-actions{left:auto;right:100%;margin-left:0;margin-right:8px}
.lounge-message:is(:hover,:focus-within) .lounge-actions{opacity:1;pointer-events:auto}
.lounge-actions:before{content:"";position:absolute;right:100%;top:0;width:10px;height:100%}
.lounge .dm-row.own .lounge-actions:before{right:auto;left:100%}
.lounge-message.open .lounge-actions{opacity:1;pointer-events:auto}
.lounge-toolbar{display:flex;align-items:center;gap:2px;width:max-content;padding:4px 6px;border-radius:25px;background:#24272a;box-shadow:0 5px 18px #0005;white-space:nowrap}
.lounge .dm-row.own .lounge-toolbar{margin-left:auto}
.lounge-toolbar button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#e7e9ea;font-size:23px;cursor:pointer}
.lounge-toolbar button:hover,.lounge-toolbar button:focus-visible{background:#383d40}
.lounge-toolbar svg{width:19px;height:19px}
.lounge-reactions{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.lounge-reactions button{border:1px solid #414a51;border-radius:18px;background:#252d33;color:#e7e9ea;padding:3px 7px;cursor:pointer}
.lounge-reactions button[aria-pressed=true]{border-color:#64b5ef;background:#183e59}
.lounge-quote{display:flex;flex-direction:column;gap:2px;max-width:100%;margin-bottom:6px;padding:5px 8px;border-left:3px solid currentColor;border-radius:5px;background:#ffffff20;font-size:12px}
.lounge-quote span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.8}
.lounge-reply-preview{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 24px 8px;background:#141e21;color:#e7e9ea;font:14px/1.35 "Segoe UI",system-ui,Arial,sans-serif}
.lounge-reply-preview[hidden]{display:none}
.lounge-reply-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.lounge-reply-copy strong{font-weight:600}
.lounge-reply-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a9b6c0}
.lounge-reply-preview button{flex:none;border:0;background:none;color:#a9b6c0;font-size:22px;line-height:1;cursor:pointer}
.lounge-reply-preview+.dm-compose{padding-top:8px}
:root[data-theme="light"] .lounge-reply-preview{background:#f7fafd;color:#222324}
:root[data-theme="light"] .lounge-reply-copy span,:root[data-theme="light"] .lounge-reply-preview button{color:#58616a}
@media(max-width:700px){.lounge-reply-preview{padding:10px 14px 6px}}
.lounge-picker{position:absolute;z-index:5;top:42px;left:calc(100% + 8px);width:260px;padding:8px;border:1px solid #39434a;border-radius:12px;background:#20272d;box-shadow:0 12px 30px #0007}
.lounge .dm-row.own .lounge-picker{left:auto;right:calc(100% + 8px)}
.lounge-picker input{width:100%;padding:8px;border:1px solid #39434a;border-radius:8px;background:#141a1f;color:#fff}
.lounge-picker-grid{display:grid;grid-template-columns:repeat(7,1fr);max-height:180px;overflow:auto}
.lounge-picker-grid button{padding:4px;border:0;background:none;font-size:22px;cursor:pointer}
.lounge-picker-tabs{display:flex;gap:2px;overflow-x:auto;margin-top:6px;padding-top:6px;border-top:1px solid #39434a}
.lounge-picker-tabs button{flex:none;display:grid;place-items:center;width:31px;height:31px;padding:0;border:0;border-radius:7px;background:none;color:#e7e9ea;font-size:18px;cursor:pointer}
.lounge-picker-tabs button[aria-pressed=true],.lounge-picker-tabs button:hover{background:#39434a}
@media(max-width:700px){.lounge-message{max-width:82%}.lounge-actions{top:auto;bottom:100%;left:0;margin:0 0 4px}.lounge .dm-row.own .lounge-actions{left:auto;right:0;margin:0 0 4px}.lounge-message:active .lounge-actions{opacity:1;pointer-events:auto}.lounge-toolbar button{width:30px;height:30px;font-size:20px}.lounge-picker,.lounge .dm-row.own .lounge-picker{left:0;right:auto;top:0;width:min(260px,75vw)}}
.dm-signin>svg{color:#8b98a5}
.mobile-dock{grid-template-columns:repeat(6,minmax(0,1fr))}
.admin-chats .admin-lounge-open{padding:8px 14px;cursor:pointer}
.admin-chat-log article>button{margin-top:6px;padding:2px 9px;font-size:12px;cursor:pointer}
.admin-chat-removed{opacity:.5}
@media(max-width:700px){.lounge{height:calc(100dvh - 132px - env(safe-area-inset-bottom,0px));min-height:350px}}
/* GIFs */
.dm-gif-wrap{position:relative;flex:none}
.dm-emoji{left:-116px}
.lounge .dm-emoji{left:-58px}
.dm-gif{top:auto;right:auto;bottom:calc(100% + 8px);left:-58px;width:340px;max-width:calc(100vw - 32px);box-sizing:border-box}
.lounge .dm-gif{left:0}
.dm-gif input{width:100%;box-sizing:border-box;height:38px;padding:0 12px;border:0;outline:0;border-radius:10px;background:#1e252b;color:#e7e9ea;font:400 14px "Segoe UI",system-ui,Arial,sans-serif}
.dm-gif-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;height:270px;margin-top:8px;overflow-y:auto;align-content:start}
.dm-gif-grid button{aspect-ratio:1;padding:0;border:0;border-radius:8px;background:#1e252b;overflow:hidden;cursor:pointer}
.dm-gif-grid img{display:block;width:100%;height:100%;object-fit:cover}
.dm-gif-grid p{grid-column:1/-1;margin:12px 4px;color:#8b98a5;font-size:14px}
.dm-gif small{display:block;margin-top:6px;color:#8b98a5;font-size:11px;text-align:right}
.lounge .dm-gif{left:auto;right:0}
:is(.lounge,.dm-chat) .lounge-media-picker{left:auto;right:-44px;width:360px;max-width:calc(100vw - 24px);padding:12px;background:#171c24;border:1px solid #39444d;border-radius:14px;box-shadow:0 16px 42px #0009}
.lounge-media-tabs{display:flex;gap:4px;margin-bottom:10px;padding:3px;border-radius:9px;background:#222a34}
.lounge-media-tabs button{flex:1;min-height:36px;border:0;border-radius:7px;background:none;color:#a9b8c2;font:600 13px "Segoe UI",system-ui,sans-serif;cursor:pointer}
.lounge-media-tabs button[aria-pressed=true]{background:#35454e;color:#f1f5f4}
:is(.lounge,.dm-chat) .lounge-media-picker .lounge-gif-content{position:static;inset:auto;display:block;width:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:none;box-shadow:none;overflow:visible}
:is(.lounge,.dm-chat) .lounge-media-picker .lounge-gif-content[hidden]{display:none!important}
:is(.lounge,.dm-chat) .lounge-media-picker :is(.dm-emoji-grid,.dm-gif-grid) button:hover{background:#35454e}
.dm-chat-compose .dm-field{min-height:42px}
.dm-chat-compose .dm-send{align-self:center}
.dm-gif-image{display:block;width:100%;max-width:260px;min-width:160px}
.lounge textarea:disabled{cursor:not-allowed}
.dm-compose button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.dm-emoji{left:-96px}.lounge .dm-emoji{left:-48px}.dm-gif{left:-48px}.lounge .dm-gif{left:0}.dm-compose .dm-round{width:40px;height:40px}.dm-compose{gap:5px}}
/* Admin: reports and mutes */
.admin-report{margin:10px 0;padding:12px 14px;border:1px solid #2c343b;border-radius:10px}
.admin-report-final{border-color:#a8574f}
.admin-report time{color:#8b98a5;font-size:12px}
.admin-report ul{margin:6px 0 10px;padding-left:18px}
.admin-report li{overflow-wrap:anywhere}
.content-action-dialog{width:min(92vw,420px);max-height:90vh;padding:0;border:1px solid #45515a;border-radius:12px;background:#171d21;color:#f4f4f0;box-shadow:0 20px 60px #0009}
.content-action-dialog::backdrop{background:#000a}
.content-action-dialog form{display:grid;gap:12px;padding:18px}
.content-action-dialog header,.content-action-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.content-action-dialog h2{margin:0;font-size:19px}
.content-action-dialog label{display:grid;gap:6px;font-size:13px}
.content-action-dialog textarea,.content-action-dialog input{width:100%;box-sizing:border-box;padding:10px;border:1px solid #556168;border-radius:8px;background:#0e1113;color:#fff;font:14px/1.5 system-ui,sans-serif;resize:vertical}
.content-action-dialog button{padding:8px 12px;border:1px solid #556168;border-radius:8px;background:#252e33;color:#fff;cursor:pointer}
.content-action-dialog [type=submit]{background:#e7d1a8;color:#261e13;font-weight:700}
.content-action-dialog small{color:#b6c1c3}
.content-action-dialog .over-limit,.content-action-error{color:#ffad94}
.content-action-dialog .content-action-error:empty{display:none}
.dm-message-more{position:relative;align-self:center;color:#b6c1c3}
.dm-message-more summary{display:grid;place-items:center;min-width:30px;min-height:30px;list-style:none;cursor:pointer;font-size:17px;letter-spacing:1px}
.dm-message-more summary::-webkit-details-marker{display:none}
.dm-message-more>div{position:absolute;top:100%;right:0;z-index:20;min-width:110px;padding:5px;border:1px solid #45515a;border-radius:8px;background:#252e33;box-shadow:0 8px 18px #0007}
.dm-message-more button{display:block;width:100%;padding:8px 10px;border:0;border-radius:5px;background:transparent;color:#fff;text-align:left;cursor:pointer}
.dm-message-more button:hover{background:#364249}
.lounge-actions{z-index:6}
.lounge-toolbar .dm-message-more summary{width:34px;height:34px;min-width:34px;min-height:34px;font-size:16px}
.lounge-toolbar .dm-message-more>div button{display:block;width:100%;height:auto;padding:8px 10px;border-radius:5px;font-size:13px;text-align:left}
.message-quick{display:flex;align-items:center;gap:2px;width:max-content;padding:4px;border:1px solid #485258;border-radius:22px;background:#24272a;box-shadow:0 8px 20px #0008}
.message-quick button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#f2f2ef;font-size:21px;cursor:pointer}
.message-quick button:hover,.message-quick button:focus-visible{background:#3b4448}
.lounge-actions .message-quick{margin-top:5px}
.message-actions{position:absolute;z-index:6;top:0;left:calc(100% + 8px);opacity:0;pointer-events:none;transition:opacity .15s ease}
.dm-row{position:relative}
.dm-row.own .message-actions{left:auto;right:calc(100% + 8px)}
.dm-row:is(:hover,:focus-within,.open) .message-actions{opacity:1;pointer-events:auto}
.message-toolbar{display:flex;align-items:center;gap:2px;width:max-content;padding:4px 6px;border-radius:24px;background:#24272a;box-shadow:0 5px 18px #0006}
.dm-row.own .message-toolbar{margin-left:auto}
.message-toolbar>button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#e7e9ea;cursor:pointer}
.message-toolbar>button:hover,.message-toolbar>button:focus-visible{background:#383d40}
.message-toolbar svg{width:19px;height:19px}
.message-actions .message-quick{margin-top:5px}
.message-container .message-picker{top:40px;left:calc(100% + 8px)}
.dm-row.own .message-container .message-picker{left:auto;right:calc(100% + 8px)}
.message-container{position:relative;display:flex;flex-direction:column;align-items:flex-start;max-width:min(70%,520px);min-width:64px}
.dm-row.own .message-container{align-items:flex-end}
.message-container .dm-bubble{box-sizing:border-box;max-width:100%}
.dm-row.own>.lounge-reactions{margin-left:auto}
@media(max-width:700px){.message-container{max-width:82%}.message-actions{left:0;top:auto;bottom:100%;margin-bottom:4px}.dm-row.own .message-actions{left:auto;right:0}.message-container .message-picker,.dm-row.own .message-container .message-picker{left:0;right:auto;top:0;width:min(260px,75vw)}.message-toolbar>button,.lounge-toolbar .dm-message-more summary,.message-quick button{width:30px;height:30px;min-width:30px;min-height:30px}}
.admin-people p{display:flex;align-items:center;gap:12px;margin:6px 0}
.admin-people span{min-width:140px}
.admin-ban-form{display:grid;gap:12px;padding-top:6px}
.admin-ban-form label{display:grid;gap:6px;font-size:13px}
.admin-ban-form select{height:40px;padding:0 10px}

/* Polls */
.shell>.polls-main{padding:36px clamp(18px,4vw,56px) 60px;color:#ece9e4;font-family:"Segoe UI",system-ui,Arial,sans-serif}
.polls-head{display:flex;align-items:center;gap:14px;max-width:760px;margin:0 auto 22px}
.polls-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#d7193f1f;color:#ff5a76}
.polls-icon svg{width:24px;height:24px}
.polls-main h1{margin:0;font:700 28px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:-.3px}
.polls-head p{margin:3px 0 0;color:#9a928e;font-size:14px}
[data-polls-root]{max-width:760px;margin:0 auto}
.poll-list{display:grid;gap:14px}
.poll-card{padding:18px 20px;border:1px solid #2a2526;border-radius:14px;background:#121010}
.poll-card.open{border-color:#4a2129}
.poll-card h2{margin:10px 0 14px;font:700 19px/1.35 "Segoe UI",system-ui,Arial,sans-serif;color:#f6f2ee}
.poll-chip{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;border-radius:5px;font:700 10.5px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:.6px;text-transform:uppercase}
.poll-chip.live,.poll-chip.open{background:#d7193f;color:#fff}
.poll-chip.live i{width:6px;height:6px;border-radius:50%;background:#fff;animation:poll-pulse 1.6s infinite}
.poll-chip.upcoming{background:#2b2f3a;color:#c9d2ff}
.poll-chip.closed{background:#2a2626;color:#a49c98}
@keyframes poll-pulse{50%{opacity:.35}}
.poll-options{display:grid;gap:8px}
.poll-option{position:relative;display:flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;overflow:hidden;border:1px solid #332c2d;border-radius:10px;background:#181515;color:#ece9e4;font:500 15px "Segoe UI",system-ui,Arial,sans-serif;text-align:left}
button.poll-option{width:100%;cursor:pointer;transition:border-color .15s,background .15s}
button.poll-option:hover{border-color:#d7193f;background:#1d1617}
.poll-option.mine{border-color:#d7193f}
.poll-option.muted{opacity:.6}
.poll-fill{position:absolute;inset:0 auto 0 0;background:#d7193f2b;transition:width .5s ease}
.poll-option.mine .poll-fill{background:#d7193f4d}
.poll-label{position:relative;flex:1;min-width:0}
.poll-label b{color:#ff8197;font-weight:600;font-size:12.5px}
.poll-percent{position:relative;font-weight:700;font-variant-numeric:tabular-nums}
.poll-foot{margin:12px 0 0;color:#8f8783;font-size:13px}
.poll-login{padding:6px 14px;border:0;border-radius:8px;background:#d7193f;color:#fff;font:600 13px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}
.polls-empty,.polls-notice{color:#9a928e;font-size:14px;text-align:center;padding:24px 0}
.polls-notice{color:#f4a79d;padding:0 0 12px}
.poll-suggest{margin-top:26px;padding:18px 20px;border:1px dashed #3a3334;border-radius:14px}
.poll-suggest h2{margin:0;font:700 17px "Segoe UI",system-ui,Arial,sans-serif}
.poll-suggest p{margin:4px 0 12px;color:#9a928e;font-size:13.5px}
.poll-suggest textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #332c2d;border-radius:10px;background:#141212;color:#ece9e4;font:400 14px/1.4 "Segoe UI",system-ui,Arial,sans-serif;resize:vertical}
.poll-suggest textarea:focus{outline:0;border-color:#d7193f}
.poll-suggest form>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.poll-suggest small{color:#b9b1ad;font-size:12.5px}
.poll-suggest button{padding:9px 16px;border:0;border-radius:8px;background:#d7193f;color:#fff;font:600 13.5px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}
.poll-suggest button:disabled{opacity:.6}
/* Admin: polls */
.admin-polls h2,.admin-poll-suggestions h2{margin:26px 0 10px}
.poll-admin-form{display:grid;gap:10px;max-width:640px}
.poll-admin-form label{display:grid;gap:5px;font-size:13px}
.poll-admin-form input,.poll-admin-form textarea{padding:8px 10px;box-sizing:border-box;width:100%}
.poll-admin-times{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.poll-admin-row{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.poll-admin-row button[aria-pressed=true]{background:#d7193f;color:#fff;border-color:#d7193f}
.poll-admin-card{margin:12px 0;padding:14px 16px;border:1px solid #30363a;border-radius:12px}
.poll-admin-card>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.poll-admin-card h3{margin:8px 0 4px}
.poll-adjust{display:flex;gap:4px;align-items:center}
.poll-adjust input{width:76px}
.poll-voters p{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:6px 0;padding:6px 0;border-bottom:1px solid #2a3034}
.poll-suggestions article{margin:8px 0;padding:10px 12px;border:1px solid #30363a;border-radius:10px}
.poll-suggestions article.is-new{border-color:#d7193f}
.poll-suggestions article p{margin:0 0 4px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:700px){.shell>.polls-main{padding:18px 14px 30px}.poll-card,.poll-suggest{padding:14px}.poll-admin-times{grid-template-columns:1fr}}
.shell>.polls-main .polls-head h1,:root[data-theme] .shell>.polls-main .polls-head h1{margin:0;font:700 26px/1.2 "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:-.3px}
.shell>.main.polls-main:not(.leaderboard-main):not(.admin):not(.tea-main):not(.shot-main):not(.home-main):not(.messages-main) .polls-head h1{margin:0;font-size:26px}

/* Polls redesign: #0c1014 background, colourful options, fuller layout. */
.shell:has(.polls-main){background:#0c1014}
.shell>.polls-main{background:#0c1014;padding:30px clamp(18px,3vw,44px) 60px;color:#eef0f2}
.polls-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:26px 28px;margin-bottom:22px;border-radius:20px;background:radial-gradient(120% 140% at 0% 0%,#ff4d6d33,transparent 55%),radial-gradient(90% 120% at 100% 100%,#4cc9f02b,transparent 60%),#121821;border:1px solid #1f2731}
.polls-kicker{font:700 11px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:2.4px;color:#ffb020}
.shell>.main.polls-main:not(.leaderboard-main):not(.admin):not(.tea-main):not(.shot-main):not(.home-main):not(.messages-main) .polls-hero h1{margin:6px 0 4px;font:800 clamp(30px,3.4vw,44px)/1.05 "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:-1px;color:#fff}
.polls-hero p{margin:0;color:#a7b0ba;font-size:15px}
.poll-stats{display:flex;gap:10px}
.poll-stats span{display:flex;flex-direction:column;align-items:center;min-width:78px;padding:10px 12px;border-radius:14px;background:#0c1014;border:1px solid #232c36;color:#8e98a3;font:600 11px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:.5px;text-transform:uppercase}
.poll-stats b{font:800 24px "Segoe UI",system-ui,Arial,sans-serif;color:#fff;letter-spacing:0}
.poll-stats span:first-child b{color:#ff4d6d}
.polls-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.polls-side{position:sticky;top:20px;display:grid;gap:14px}
.poll-section{margin-bottom:26px}
.poll-section h3{margin:0 0 12px;font:800 15px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:.3px;color:#dfe3e7}
.poll-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px}
.poll-section.is-live .poll-grid{grid-template-columns:1fr}
.poll-card{position:relative;padding:20px 22px;border:1px solid #1f2731;border-radius:18px;background:#121821;transition:transform .2s ease}
.poll-card.open{background:linear-gradient(#121821,#121821) padding-box,linear-gradient(120deg,#ff4d6d,#ffb020,#4cc9f0,#b388ff) border-box;border:1.5px solid transparent;box-shadow:0 10px 40px #ff4d6d14}
.poll-card.pop{animation:poll-pop .45s ease}
@keyframes poll-pop{40%{transform:scale(1.015)}}
.poll-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.poll-time{color:#ffb020;font:600 12.5px "Segoe UI",system-ui,Arial,sans-serif}
.poll-card h2{margin:12px 0 16px;font:800 clamp(18px,1.6vw,23px)/1.3 "Segoe UI",system-ui,Arial,sans-serif;color:#fff}
.poll-chip{border-radius:999px;height:24px;padding:0 11px}
.poll-chip.upcoming{background:#4cc9f022;color:#8fe1ff}
.poll-chip.closed{background:#ffffff12;color:#b6bec6}
.poll-options{gap:10px}
.poll-option{min-height:52px;gap:12px;padding:0 16px 0 10px;border:1px solid #232c36;border-radius:14px;background:#0f141b;font-size:15.5px}
button.poll-option:hover{border-color:var(--c);background:#151c25;transform:translateY(-1px)}
button.poll-option:active{transform:scale(.99)}
button.poll-option{transition:transform .12s ease,border-color .15s,background .15s}
.poll-option.mine{border-color:var(--c);box-shadow:0 0 0 1px var(--c) inset}
.poll-letter{position:relative;z-index:1;display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:color-mix(in srgb,var(--c) 22%,transparent);color:var(--c);font:800 14px "Segoe UI",system-ui,Arial,sans-serif}
.poll-label{z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.poll-label em{font:700 11.5px "Segoe UI",system-ui,Arial,sans-serif;font-style:normal;color:var(--c)}
.poll-label em.lead{padding:2px 7px;border-radius:999px;background:#ffb02024;color:#ffcf66}
.poll-percent{z-index:1;font:800 16px "Segoe UI",system-ui,Arial,sans-serif;color:#fff}
.poll-go{z-index:1;padding:5px 11px;border-radius:999px;background:color-mix(in srgb,var(--c) 18%,transparent);color:var(--c);font:700 12px "Segoe UI",system-ui,Arial,sans-serif;opacity:0;transition:opacity .15s}
button.poll-option:hover .poll-go,button.poll-option:focus-visible .poll-go{opacity:1}
.poll-fill,.poll-option.mine .poll-fill{position:absolute;inset:0 auto 0 0;z-index:0;background:linear-gradient(90deg,color-mix(in srgb,var(--c) 34%,transparent),color-mix(in srgb,var(--c) 14%,transparent));border-radius:13px 0 0 13px;animation:poll-grow .7s ease}
@keyframes poll-grow{from{width:0}}
.poll-option.leading{border-color:color-mix(in srgb,var(--c) 70%,transparent)}
.poll-foot{margin:14px 0 0;color:#8e98a3;font-size:13.5px}
.poll-foot b{color:#fff}
.poll-countdown{display:flex;gap:8px;margin:-4px 0 16px}
.poll-countdown span{display:flex;flex-direction:column;align-items:center;min-width:58px;padding:8px 6px;border-radius:12px;background:#4cc9f014;border:1px solid #4cc9f033}
.poll-countdown b{font:800 24px "Segoe UI",system-ui,Arial,sans-serif;color:#8fe1ff;font-variant-numeric:tabular-nums}
.poll-countdown small{font:600 10px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:1px;text-transform:uppercase;color:#7c8a96}
.poll-card.upcoming .poll-option{opacity:.75}
.poll-suggest{position:relative;margin:0;padding:22px 20px;border:1px solid transparent;border-radius:18px;background:linear-gradient(#121821,#121821) padding-box,linear-gradient(135deg,#ffb020,#ff4d6d) border-box}
.poll-suggest-emoji{position:absolute;top:-14px;right:16px;font-size:30px;filter:drop-shadow(0 4px 10px #000a)}
.poll-suggest h2{font:800 18px "Segoe UI",system-ui,Arial,sans-serif;color:#fff}
.poll-suggest p{color:#a7b0ba}
.poll-suggest textarea{border-color:#232c36;background:#0c1014;border-radius:12px}
.poll-suggest textarea:focus{border-color:#ffb020}
.poll-suggest form{display:grid;gap:10px}
.poll-suggest button{width:100%;padding:11px;border-radius:12px;background:linear-gradient(90deg,#ff4d6d,#ffb020);color:#160b0b;font:800 14px "Segoe UI",system-ui,Arial,sans-serif}
.poll-suggest small{color:#c9d0d6}
.poll-suggest small:empty{display:none}
.poll-how{padding:16px 18px;border:1px solid #1f2731;border-radius:18px;background:#10151c}
.poll-how h3{margin:0 0 8px;font:800 14px "Segoe UI",system-ui,Arial,sans-serif;color:#dfe3e7}
.poll-how p{margin:6px 0;color:#9aa4ae;font-size:13.5px;line-height:1.4}
.polls-blank{padding:50px 20px;border:1px dashed #2a3440;border-radius:18px;text-align:center}
.polls-blank span{font-size:44px}
.polls-blank h2{margin:10px 0 4px;color:#fff}
.polls-blank p{margin:0;color:#9aa4ae}
.poll-confetti{position:fixed;inset:0;z-index:999;pointer-events:none}
.poll-confetti i{position:absolute;width:8px;height:12px;border-radius:2px;animation:poll-burst .9s cubic-bezier(.2,.7,.3,1) forwards}
@keyframes poll-burst{to{transform:translate(var(--x),var(--y)) rotate(var(--r));opacity:0}}
@media(max-width:1100px){.polls-layout{grid-template-columns:1fr}.polls-side{position:static}.poll-how{display:none}}
@media(max-width:700px){.shell>.polls-main{padding:16px 12px 30px}.polls-hero{padding:18px;border-radius:16px}.poll-stats{width:100%}.poll-stats span{flex:1;min-width:0}.poll-grid{grid-template-columns:1fr}.poll-card{padding:16px}.poll-option{min-height:48px}}
@media(prefers-reduced-motion:reduce){.poll-fill,.poll-card.pop{animation:none}}
.polls-main [data-polls-root]{max-width:1500px}

/* Polls: quiet luxury. One champagne accent, serif headings, hairline borders. */
.polls-hero{background:linear-gradient(180deg,#11161c,#0e1217);border:1px solid #1d242c;border-radius:16px;padding:30px 32px}
.polls-kicker{color:#c9b68f;letter-spacing:3px;font-weight:600}
.shell>.main.polls-main:not(.leaderboard-main):not(.admin):not(.tea-main):not(.shot-main):not(.home-main):not(.messages-main) .polls-hero h1{font:400 clamp(34px,3.6vw,48px)/1.05 Georgia,"Times New Roman",serif;letter-spacing:-.5px;color:#f3efe7}
.polls-hero p{color:#8d959e}
.poll-stats span{background:transparent;border:1px solid #1f262e;border-radius:12px;color:#7d858e;letter-spacing:1.2px}
.poll-stats b,.poll-stats span:first-child b{font:400 26px Georgia,"Times New Roman",serif;color:#f3efe7}
.poll-section h3{font:600 11px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:2.4px;text-transform:uppercase;color:#8d959e}
.poll-card,.poll-card.open{background:#10151b;border:1px solid #1d242c;border-radius:16px;box-shadow:none}
.poll-card.open{border-color:#3a3427}
.poll-card h2{font:400 clamp(20px,1.8vw,26px)/1.3 Georgia,"Times New Roman",serif;color:#f3efe7}
.poll-chip.live{background:transparent;border:1px solid #c9b68f;color:#e6d6b3;height:22px;letter-spacing:1.4px}
.poll-chip.live i{background:#c9b68f}
.poll-chip.upcoming,.poll-chip.closed{background:transparent;border:1px solid #2a323b;color:#9aa3ac;height:22px;letter-spacing:1.4px}
.poll-time{color:#9aa3ac;font-weight:500}
.poll-option{border:1px solid #1f262e;background:#0d1116;border-radius:12px}
button.poll-option:hover{border-color:#4a4presented;transform:none}
button.poll-option:hover{border-color:#5a5241;background:#11161c}
.poll-option.mine{border-color:#c9b68f;box-shadow:none}
.poll-letter{background:transparent;border:1px solid #2c343d;color:#b9ad93;font:500 13px Georgia,"Times New Roman",serif;border-radius:8px}
.poll-option.mine .poll-letter{border-color:#c9b68f;color:#e6d6b3}
.poll-label em{color:#c9b68f;font-weight:600;letter-spacing:.3px}
.poll-label em.lead{background:transparent;padding:0;color:#e6d6b3;font-weight:600}
.poll-label em.lead:before{content:"· "}
.poll-label em:not(.lead):before{content:"· "}
.poll-percent{font:400 17px Georgia,"Times New Roman",serif;color:#f3efe7}
.poll-go{background:transparent;color:#c9b68f;letter-spacing:1px;text-transform:uppercase;font-size:11px}
.poll-fill,.poll-option.mine .poll-fill{background:linear-gradient(90deg,#c9b68f2b,#c9b68f12);border-radius:11px 0 0 11px}
.poll-option.leading{border-color:#3a3427}
.poll-foot{color:#7d858e}
.poll-countdown span{background:transparent;border:1px solid #1f262e}
.poll-countdown b{font:400 26px Georgia,"Times New Roman",serif;color:#f3efe7}
.poll-countdown small{color:#7d858e;letter-spacing:1.5px}
.poll-suggest{background:#10151b;border:1px solid #1d242c;border-radius:16px}
.poll-suggest h2{font:400 21px Georgia,"Times New Roman",serif;color:#f3efe7}
.poll-suggest p{color:#8d959e}
.poll-suggest textarea{border-color:#1f262e;background:#0c1014}
.poll-suggest textarea:focus{border-color:#c9b68f}
.poll-suggest button{background:#c9b68f;color:#121212;font:600 13px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:1.2px;text-transform:uppercase;border-radius:10px}
.poll-suggest button:hover{background:#d8c7a2}
.poll-how{background:transparent;border:1px solid #1d242c;border-radius:16px}
.poll-how h3{font:600 11px "Segoe UI",system-ui,Arial,sans-serif;letter-spacing:2.4px;text-transform:uppercase;color:#8d959e}
.poll-how p{color:#8d959e}
.poll-card.pop{animation:none}
.poll-login{background:#c9b68f;color:#121212}
/* Polls: every surface is #0c1014; thin outlines separate them. */
.shell:has(.polls-main),.shell>.polls-main,.polls-hero,.poll-card,.poll-card.open,.poll-option,button.poll-option:hover,.poll-suggest,.poll-suggest textarea,.poll-how,.poll-stats span,.poll-countdown span{background:#0c1014}
.polls-hero,.poll-card,.poll-suggest,.poll-how{border-color:#1e252d}
.poll-option{border-color:#20272f}

/* Support replies in the notification bell. */
.support-reply-note{cursor:default;align-items:flex-start}.support-reply-icon{flex:0 0 36px;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#16323b;color:#8bd9ed;font:700 16px Georgia,serif}.support-reply-note q{display:block;margin:5px 0;color:#a3a3a3;font-size:13px;font-style:italic;overflow-wrap:anywhere}.support-reply-body{display:block;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}

/* The Lounge for visitors who are not logged in: read-only, with a join bar instead of the message box. */
.lounge-guest{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0 0;padding:12px 14px;border:1px solid #2d3336;border-radius:14px;background:#111516}
.lounge-guest p{margin:0;font:400 13px/1.45 "Segoe UI",system-ui,Arial,sans-serif;color:#a9b0b2}
.lounge-guest p b{color:#eef1f1;font-weight:600}
.lounge-guest-actions{display:flex;gap:8px}
.lounge-guest-actions button{font:600 13px "Segoe UI",system-ui,Arial,sans-serif;padding:8px 16px;border-radius:999px;border:1px solid #3a4144;background:#14181a;color:#e8e8e4;cursor:pointer}
.lounge-guest-actions .lounge-guest-signup{background:#e2cda0;border-color:#e2cda0;color:#141414}
:root[data-theme="light"] .lounge-guest{background:#fff;border-color:#e2ddd7}
:root[data-theme="light"] .lounge-guest p{color:#6b655f}
:root[data-theme="light"] .lounge-guest p b{color:#22201d}
:root[data-theme="light"] .lounge-guest-actions button{background:#fff;border-color:#d9d2cb;color:#2b2622}
:root[data-theme="light"] .lounge-guest-actions .lounge-guest-signup{background:#2b2622;border-color:#2b2622;color:#fff}

/* Instant sending: a message shows immediately, faded until the server saves it. */
.dm-bubble.is-pending{opacity:.62;transition:opacity .2s}
.dm-bubble.is-failed{opacity:.85;outline:1px solid #e0525266}
.dm-sending{display:block;margin:3px 4px 0;font-size:11px;color:#8a9396;text-align:right}
.dm-retry{display:block;margin:4px 0 0 auto;padding:3px 9px;border:0;border-radius:999px;background:#3a1416;color:#ff8f8f;font:600 11.5px "Segoe UI",system-ui,Arial,sans-serif;cursor:pointer}
.dm-retry:hover{background:#4a1a1c}
:root[data-theme="light"] .dm-retry{background:#fde8e8;color:#b42318}
