/* Social drawer: one shared layout and neutral theme. */
body .friends-drawer{position:fixed;left:69px;top:10px;bottom:10px;width:320px;max-width:calc(100vw - 90px);box-sizing:border-box;padding:0;display:flex;flex-direction:column;overflow:hidden;z-index:16;background:#111;border:1px solid #292929;border-radius:8px;box-shadow:none;color:#eee;direction:rtl}
.friends-drawer[hidden],.social-tab-panel[hidden],.friends-drawer section[hidden],.social-empty[hidden]{display:none!important}
.friends-title{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;flex-shrink:0}.friends-title h2{font-size:20px;font-weight:800;margin:0;color:#eee}.friends-title button{border:0;background:none;color:#999;font-size:25px;cursor:pointer}
.friends-drawer h3{font-size:13px;color:#ddd;margin:12px 0 8px;border-top:1px solid #292929;padding-top:12px}.friends-drawer h3 small{font-size:9px;color:#999;margin-right:8px}.friends-hint{font-size:10px;color:#999;line-height:1.9;overflow-wrap:anywhere}.friends-drawer .friends-hint:first-child{display:none}
.friend-search{display:flex;gap:6px;margin:10px 0}.friends-drawer .friend-search input{min-width:0;flex:1;padding:10px;background:#1e1e1e;border:1px solid #303030;border-radius:5px;color:#eee;font-family:inherit;font-size:12px}
.friends-drawer button:not(:where(#friendsClose,[role="tab"])){font:700 10px Vazirmatn,Tahoma;background:#222;border:1px solid #3b3b3b;border-radius:5px;color:#ddd;padding:8px;cursor:pointer}.friends-drawer button:not(:where(#friendsClose,[role="tab"])):hover:not(:disabled){background:#303030;color:#eee}.friends-drawer button:disabled{opacity:.4;cursor:default}.friends-drawer button:focus-visible{outline:2px solid #b8b8b8;outline-offset:-2px}
.friend-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 0;border-bottom:1px solid #262626}.friend-row>div{flex:1;min-width:100px}.friend-row b{font-size:11px;overflow-wrap:anywhere}.friend-row small{display:block;font-size:9px;color:#999;line-height:1.9}.friend-avatar{width:32px;height:32px;flex-shrink:0;background:#262626}.party-controls{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}#socialMessage{font-size:11px;color:#ddd;line-height:1.8}.friends-drawer #partyStart{background:#80ceff;color:#07131b;border-color:#80ceff}.party-slot-avatar{width:60px;height:60px;font-size:25px!important}.party-slot b{font-size:11px;max-width:90%;overflow-wrap:anywhere}
.avatar,.account-avatar,.rail .user,.friend-avatar,.party-slot-avatar,.lobby-avatar{border-radius:50%!important;overflow:hidden;aspect-ratio:1/1}
.social-tabs{display:flex;align-items:stretch;padding:0 14px;gap:10px;flex-shrink:0;background:#111}
body .friends-drawer .social-tabs button{display:flex;align-items:center;justify-content:center;min-width:76px;box-sizing:border-box;border:0;background:transparent;border-radius:0;padding:15px 10px;font-family:inherit;font-weight:700;line-height:22px;font-size:13px;color:#96999c;position:relative;cursor:pointer;transition:color .16s ease}
body .friends-drawer .social-tabs button[aria-selected=true],body .friends-drawer .social-tabs button:hover:not(:disabled){background:transparent;color:#f0f0f0}
.social-tabs button[aria-selected=true]:after{content:'';height:3px;width:28px;border-radius:3px;background:#c6c9cc;position:absolute;bottom:0;left:50%;transform:translateX(-50%)}
@media(prefers-reduced-motion:reduce){body .friends-drawer .social-tabs button{transition:none}}
.social-tab-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;padding:0 12px}.social-friends-list{display:flex;flex-direction:column}.social-friends-list.is-empty{flex:1;min-height:200px}.social-friends-list.is-empty>h3{display:none}.social-empty{margin:auto 0;padding:24px 10px;color:#999;line-height:1.8;font-size:13px;text-align:right}.social-empty b{font-size:14px;color:#ddd}.social-empty p{margin:4px 0 0}.friends-drawer #myPlayerId{border-top:1px solid #262626;padding:12px 4px;margin:0;color:#888;font-size:10px}.friends-drawer #socialMessage:empty,.friends-drawer #friendResults:empty{display:none}
@media(max-width:720px){body .friends-drawer{left:10px;right:10px;top:60px;width:auto;max-width:none}}
#socialFriendsPanel{overflow-y:scroll;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;}
#socialFriendsPanel> *{flex-shrink:0}
#chatList,.chat-messages{min-height:0;overscroll-behavior-y:contain;scrollbar-gutter:stable;}
#chatList> *{flex-shrink:0}
#socialChatsPanel{padding:0;overflow:hidden}#chatList{overflow:auto;flex:1;display:flex;flex-direction:column;padding:12px 10px;gap:8px;background-color:#101112;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22280%22%20height%3D%22260%22%20viewBox%3D%220%200%20280%20260%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.025%22%3E%3Cpath%20d%3D%22M-50%20160%20160-50M80%20310%20310%2080M-50%20210%20210-50%22%2F%3E%3Cpath%20d%3D%22M24%2042h14m-7-7v14M240%20215h14m-7-7v14%22%2F%3E%3C%2Fg%3E%3Ctext%20x%3D%22140%22%20y%3D%22142%22%20text-anchor%3D%22middle%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.035%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2243%22%20font-weight%3D%22900%22%20letter-spacing%3D%227%22%3ERLF%3C%2Ftext%3E%3Ctext%20x%3D%22140%22%20y%3D%22161%22%20text-anchor%3D%22middle%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.045%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%226%22%20letter-spacing%3D%223%22%3EPLAY%20TO%20RISE%3C%2Ftext%3E%3C%2Fsvg%3E");background-size:280px 260px}#chatList[hidden],#chatThread[hidden]{display:none!important}#chatThread{display:flex;flex-direction:column;flex:1;min-height:0}.chat-heading{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #292929}.chat-heading b{font-size:13px;overflow-wrap:anywhere}.chat-messages{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:14px 12px;direction:ltr}.chat-bubble{max-width:85%;align-self:flex-start;background:#242424;border-radius:7px;padding:9px 11px;min-width:70px}.chat-bubble.mine{align-self:flex-end;background:#292929}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;margin:0;color:#eee;line-height:1.9}.chat-bubble time{display:block;text-align:right;font-size:9px;color:#999;margin-top:4px}#chatComposer{display:flex;gap:7px;padding:10px;border-top:1px solid #292929}#chatText{resize:none;min-width:0;flex:1;background:#202020;border:1px solid #383838;border-radius:4px;color:#eee;padding:9px;font:12px Vazirmatn,Tahoma;line-height:1.8}body .friends-drawer #chatComposer button{background:#262626;color:#ddd;border:1px solid #404040}#chatError{font-size:11px;color:#efaaaa;margin:0;padding:0 12px;line-height:1.8}#chatError:empty{display:none}.friends-drawer .chat-conversation{display:flex;gap:10px;align-items:center;width:100%;border:1px solid #303030!important;border-radius:9px!important;background:#18191aeF!important;text-align:right;padding:13px 12px!important;box-sizing:border-box;transition:background .15s ease,border-color .15s ease}.chat-conversation>span:nth-child(2){flex:1;min-width:0}.chat-conversation b{display:block;font-size:13px}.chat-conversation small{display:block;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:205px;font-size:11px}.chat-unread{background:#80ceff;color:#111;padding:1px 6px;border-radius:12px}
#socialChatsPanel:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}.chat-heading a{color:#d9e8f2;text-decoration:none}.chat-heading .friend-avatar{flex-shrink:0}.chat-heading button{font:20px Arial!important;padding:5px 9px!important}.chat-messages .social-empty{direction:rtl}.friends-drawer .chat-conversation:hover{background:#222324!important;border-color:#555!important}.chat-heading{background:linear-gradient(110deg,#141414,#1c1c1c);min-height:80px;padding:14px;flex-shrink:0}.chat-bubble{border:1px solid #333;border-radius:12px 12px 12px 3px}.chat-bubble.mine{border-color:#444;border-radius:12px 12px 3px 12px}.chat-messages{background-color:#101112;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22280%22%20height%3D%22260%22%20viewBox%3D%220%200%20280%20260%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.025%22%3E%3Cpath%20d%3D%22M-50%20160%20160-50M80%20310%20310%2080M-50%20210%20210-50%22%2F%3E%3Cpath%20d%3D%22M24%2042h14m-7-7v14M240%20215h14m-7-7v14%22%2F%3E%3C%2Fg%3E%3Ctext%20x%3D%22140%22%20y%3D%22142%22%20text-anchor%3D%22middle%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.035%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2243%22%20font-weight%3D%22900%22%20letter-spacing%3D%227%22%3ERLF%3C%2Ftext%3E%3Ctext%20x%3D%22140%22%20y%3D%22161%22%20text-anchor%3D%22middle%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.045%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%226%22%20letter-spacing%3D%223%22%3EPLAY%20TO%20RISE%3C%2Ftext%3E%3C%2Fsvg%3E");background-repeat:repeat;background-size:280px 260px;padding:16px 12px;gap:14px}#chatText:focus{outline:none;border-color:#80ceff}#chatComposer button:disabled{opacity:.5}#chatComposer textarea:disabled{opacity:.7}


/* Isolated party invitation preview; no live invitations are sent. */
.party-invite-preview{position:fixed;z-index:80;left:78px;top:190px;max-height:calc(100dvh - 202px);overflow-y:auto;width:350px;max-width:calc(100vw - 100px);padding:20px;box-sizing:border-box;background:#141414;border:1px solid #3c3c3c;border-radius:12px;box-shadow:0 16px 48px #0009;color:#eee;font-family:inherit;animation:invitePreviewEnter .24s ease-out}
.invite-preview-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;direction:ltr}.invite-preview-top>span{font-size:10px;letter-spacing:2px;color:#aaa;font-weight:800}.invite-preview-top small{font-size:10px;color:#999;letter-spacing:0;border:1px solid #383838;border-radius:4px;padding:3px 6px}
.invite-preview-player{display:flex;align-items:center;gap:12px}.invite-preview-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#292929;border:1px solid #555;font-size:22px;font-weight:800}.invite-preview-player b{font-size:17px}.invite-preview-player p,.invite-preview-copy{font-size:12px;line-height:1.9;color:#aaa;margin:3px 0}.invite-preview-copy{margin:16px 0 18px}
.invite-preview-footer{border-top:1px solid #303030;padding-top:14px}.invite-preview-time{display:block;font-size:11px;color:#999;margin-bottom:12px}.invite-preview-actions{display:flex;gap:8px}.party-invite-preview button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border:1px solid #505050;border-radius:7px;padding:8px 12px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;background:#272727;color:#eee}.party-invite-preview button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.party-invite-preview .invite-preview-accept{flex:1;color:#a0dfbd;border-color:#3c6550;background:#1b2b22}.party-invite-preview .invite-preview-reject{color:#e8a0a0;background:#2b1e1e;border-color:#604040}.party-invite-preview button:hover:not(:disabled){filter:brightness(1.2)}.party-invite-preview button:focus-visible{outline:2px solid #ddd;outline-offset:3px}.party-invite-preview button:disabled{opacity:.45;cursor:default}
.invite-preview-result{position:fixed;left:78px;top:50%;z-index:80;background:#1b2b22;color:#a0dfbd;border:1px solid #3c6550;border-radius:8px;padding:16px;font-size:13px}
@keyframes invitePreviewEnter{from{opacity:0;translate:-20px 0}to{opacity:1;translate:0 0}}
@media(max-width:720px){.party-invite-preview{left:12px;max-width:calc(100vw - 24px)}.invite-preview-result{left:12px;right:12px}}
@media(prefers-reduced-motion:reduce){.party-invite-preview{animation:none}}

/* Incoming requests have a distinct category and explicit decisions. */
.friends-drawer .friend-request-category{margin:12px 0;padding:12px;background:#191919;border:1px solid #333;border-radius:8px}
.friends-drawer .friend-request-category h3{display:flex;align-items:center;justify-content:space-between;border:0;margin:0;padding:0;font-size:13px}.friend-request-category h3 span{display:grid;place-items:center;min-width:22px;height:22px;border-radius:5px;background:#303030;color:#eee;font-size:11px}.request-category-hint{margin:6px 0 4px;color:#999;font-size:10px;line-height:1.9}
#socialFriendsPanel .friend-avatar,#friendRequests .friend-avatar{width:44px;height:44px;flex:0 0 44px;box-sizing:border-box}#friendRequests .friend-row:last-child{border-bottom:0;padding-bottom:0}#friendRequests .friend-request-actions{display:flex;gap:8px;flex:0 0 100%;min-width:0;padding-top:4px}
body .friends-drawer .friend-request-actions button{flex:1;font-size:11px;min-height:34px}body .friends-drawer .friend-request-actions .friend-request-accept{background:#203e2f;border-color:#3c7857;color:#a8e4be}body .friends-drawer .friend-request-actions .friend-request-reject{background:#402628;border-color:#804349;color:#f1b0b5}body .friends-drawer .friend-request-actions .friend-request-accept:hover:not(:disabled){background:#2b513d;color:#d1f4dd}body .friends-drawer .friend-request-actions .friend-request-reject:hover:not(:disabled){background:#563035;color:#ffd5d8}

/* Fit all three social tabs within the existing drawer. */
body .friends-drawer .social-tabs{gap:0;padding:0 10px}body .friends-drawer .social-tabs button{flex:1;min-width:0;padding-inline:5px;white-space:nowrap}

body .friends-drawer .friend-icon-action{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;box-sizing:border-box;padding:7px}body .friends-drawer .friend-icon-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

body .friends-drawer .friend-message-action svg{stroke-width:2.3;fill:currentColor;fill-opacity:.12}

/* Presence badge sits outside the clipped avatar image. */
.friends-drawer .friend-row .friend-avatar{overflow:visible!important}.friend-presence-dot{position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border:2px solid #111;border-radius:50%;background:#777;box-sizing:content-box;z-index:1}.friend-row[data-presence="online"] .friend-presence-dot{background:#72d49b}.friend-row[data-presence="afk"] .friend-presence-dot{background:#dbb769}.friend-row[data-presence="in_match"] .friend-presence-dot{background:#72d49b;box-shadow:0 0 0 2px #72d49b33}

/* Stable left action columns, independent of player text length. */
#friendList>.friend-row{display:grid;grid-template-columns:44px minmax(0,1fr) 34px 34px;gap:8px;direction:rtl;align-items:center}#friendList>.friend-row>a:not(.friend-avatar){min-width:0}#friendList>.friend-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#friendList>.friend-row small{overflow-wrap:anywhere}#friendList>.friend-row>.friend-icon-action{justify-self:center}

.friends-drawer .friend-row .friend-elo{display:inline-block;font-size:11px;font-weight:700;color:#c6c9cc;white-space:nowrap}

.social-invite-toast{position:fixed;top:22px;left:50%;transform:translateX(-50%);z-index:100;display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 36px);box-sizing:border-box;padding:13px 18px 15px;border:1px solid #426073;border-radius:10px;background:#15232d;color:#d9efff;font-family:inherit;font-size:13px;line-height:1.8;direction:rtl;box-shadow:0 8px 24px #0004;pointer-events:none;overflow:hidden;animation:socialToastEnter .28s cubic-bezier(.2,.7,.2,1) both}.social-invite-toast[hidden]{display:none}.social-invite-toast.is-leaving{animation:socialToastLeave .22s ease-in both}.social-toast-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid #7ebbd24d;border-radius:50%;background:#8bcbdf12}.social-toast-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.social-toast-progress{position:absolute;bottom:0;right:0;left:0;height:2px;background:#8fc7e0;transform-origin:left;animation:socialToastTime 3s linear both}@keyframes socialToastEnter{from{opacity:0;translate:0 -12px}to{opacity:1;translate:0 0}}@keyframes socialToastLeave{to{opacity:0;translate:0 -8px}}@keyframes socialToastTime{to{transform:scaleX(0)}}@media(prefers-reduced-motion:reduce){.social-invite-toast,.social-invite-toast.is-leaving{animation:none}.social-toast-progress{animation:none}}

#partyInvites>.friend-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:8px;direction:rtl;align-items:center}#partyInvites>.friend-row>a:not(.friend-avatar){min-width:0}#partyInvites>.friend-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#partyInvites>.friend-row>button{justify-self:end}

body .friends-drawer #partyInvites button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;box-sizing:border-box}#partyInvites button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}body .friends-drawer #partyInvites .party-invite-accept{background:#203e2f;border-color:#3c7857;color:#a8e4be}body .friends-drawer #partyInvites .party-invite-decline{background:#402628;border-color:#804349;color:#f1b0b5}body .friends-drawer #partyInvites .party-invite-accept:hover:not(:disabled){background:#2b513d;color:#d1f4dd}body .friends-drawer #partyInvites .party-invite-decline:hover:not(:disabled){background:#563035;color:#ffd5d8}

body .friends-drawer .friend-icon-action.is-cooling{position:relative}body .friends-drawer .friend-icon-action.is-cooling svg{width:24px;height:24px;flex-shrink:0;animation:inviteCooldownTurn .35s ease-out}.cooldown-track{opacity:.18}.cooldown-ring{stroke-dasharray:100;transform:rotate(-90deg);transform-origin:center}.cooldown-seconds{position:absolute;inset:0;display:grid;place-items:center;font:700 9px Arial;color:inherit}@keyframes inviteCooldownTurn{from{transform:rotate(-180deg);opacity:.4}to{transform:rotate(0);opacity:1}}@media(prefers-reduced-motion:reduce){body .friends-drawer .friend-icon-action.is-cooling svg{animation:none}}

/* Compact section symbols retain descriptive hover and accessible labels. */
.friends-drawer h3.social-section-icon{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:24px;color:#c6c9cc;margin:18px 0 8px;padding-top:14px;border-top:1px solid #343434}.social-section-icon svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* One section divider instead of adjacent heading and final-row borders. */
#socialFriendsPanel>section>div>.friend-row:last-child{border-bottom:0}#socialFriendsPanel>section{padding-bottom:2px}

/* Conversation avatars and presence match the friends list. */
#chatList .friend-avatar{position:relative;width:44px;height:44px;flex:0 0 44px;box-sizing:border-box;overflow:visible!important}.chat-conversation[data-presence="online"] .friend-presence-dot{background:#72d49b}.chat-conversation[data-presence="afk"] .friend-presence-dot{background:#dbb769}.chat-conversation[data-presence="in_match"] .friend-presence-dot{background:#72d49b;box-shadow:0 0 0 2px #72d49b33}.chat-conversation .chat-presence{font-size:10px;line-height:1.7;color:#aaa}.chat-conversation>span:nth-child(2){overflow:hidden}.chat-conversation small{max-width:100%}

/* Thread identity, sender avatars and compact composer. */
.chat-heading [data-back]{order:3;margin-inline-start:auto;width:34px;height:34px;display:grid;place-items:center;padding:0!important;flex:0 0 34px}.chat-heading [data-avatar]{order:0;width:44px;height:44px;flex:0 0 44px;box-sizing:border-box;overflow:visible!important}.chat-heading [data-profile]{order:1;min-width:0;display:flex;flex-direction:column;gap:3px;padding-inline-start:2px}.chat-heading [data-status]{display:block;font-size:10px;line-height:1.6;color:#aaa;font-weight:500}.chat-heading[data-presence="online"] .friend-presence-dot,.chat-heading[data-presence="in_match"] .friend-presence-dot{background:#72d49b}.chat-heading[data-presence="afk"] .friend-presence-dot{background:#dbb769}
.chat-message-row{display:flex;align-items:flex-end;gap:8px;align-self:flex-start;max-width:100%;min-width:0;flex-shrink:0}.chat-message-row.mine{align-self:flex-end;flex-direction:row-reverse}.chat-message-row>.friend-avatar{width:28px;height:28px;flex:0 0 28px;box-sizing:border-box}.chat-message-row .chat-bubble{min-width:0;max-width:calc(100% - 35px);box-sizing:border-box}.chat-message-row .chat-bubble p{text-align:start;word-break:break-word}
#chatComposer{align-items:center;gap:8px;padding:12px;background:#151515;flex-shrink:0}#chatText{box-sizing:border-box;height:48px;max-height:130px;border:1px solid #3b3b3b;border-radius:9px;background:#202020;padding:10px 12px;line-height:1.8;scrollbar-width:thin}#chatText::placeholder{color:#929292}#chatText:focus{border-color:#777;box-shadow:0 0 0 2px #ffffff08}body .friends-drawer #chatComposer button{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:9px;padding:9px}#chatComposer button svg{width:21px;height:21px;fill:currentColor;fill-opacity:.12;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}

.chat-heading [data-name]{display:block;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-heading [data-back]{border-color:transparent;background:transparent;border-radius:50%}.chat-heading [data-back]:hover{background:#303030;border-color:#444}.chat-heading[data-presence="online"] [data-status]{color:#87caa2}.chat-heading[data-presence="afk"] [data-status]{color:#dbb769}.chat-message-row .chat-bubble{background:#222426}.chat-message-row.mine .chat-bubble{background:#2c2d2f}.chat-message-row .chat-bubble time{font-size:9px;color:#a2a4a6;margin-top:6px}

#chatList .chat-conversation b{color:#eee;line-height:1.8}#chatList .chat-conversation small:last-child{margin-top:4px;color:#92969a}#chatList .chat-unread{min-width:22px;height:22px;display:grid;place-items:center;padding:0 5px;font-size:11px;font-weight:800;flex-shrink:0}#chatList .chat-conversation[data-presence="online"] .chat-presence{color:#87caa2}#chatList .chat-conversation[data-presence="afk"] .chat-presence{color:#dbb769}@media(prefers-reduced-motion:reduce){.friends-drawer .chat-conversation{transition:none}}

/* Requests share the restrained RLF social wallpaper and card surfaces. */
#socialRequestsPanel{padding:14px 12px;background-color:#101112;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22280%22%20height%3D%22260%22%20viewBox%3D%220%200%20280%20260%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.025%22%3E%3Cpath%20d%3D%22M-50%20160%20160-50M80%20310%20310%2080M-50%20210%20210-50%22%2F%3E%3Cpath%20d%3D%22M24%2042h14m-7-7v14M240%20215h14m-7-7v14%22%2F%3E%3C%2Fg%3E%3Ctext%20x%3D%22140%22%20y%3D%22142%22%20text-anchor%3D%22middle%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.035%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2243%22%20font-weight%3D%22900%22%20letter-spacing%3D%227%22%3ERLF%3C%2Ftext%3E%3Ctext%20x%3D%22140%22%20y%3D%22161%22%20text-anchor%3D%22middle%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.045%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%226%22%20letter-spacing%3D%223%22%3EPLAY%20TO%20RISE%3C%2Ftext%3E%3C%2Fsvg%3E");background-size:280px 260px}
#socialRequestsPanel .friend-request-category{margin:0;padding:0;background:transparent;border:0;border-radius:0}#socialRequestsPanel .friend-request-category h3{padding:4px 2px 10px;color:#eee}#socialRequestsPanel .request-category-hint{margin:0 2px 16px;color:#969a9e;line-height:1.9}#friendRequests{display:flex;flex-direction:column;gap:12px}#friendRequests>.friend-row,#friendRequests>.friend-row:last-child{padding:14px 12px;border:1px solid #303030;border-radius:9px;background:#18191aef;box-sizing:border-box}#friendRequests .friend-row b{font-size:12px;line-height:1.8}#friendRequests .friend-request-actions{padding-top:10px;gap:8px}body .friends-drawer #friendRequests .friend-request-actions button{min-height:36px;border-radius:6px}

.chat-heading [data-name]{font-size:14px;font-weight:800;color:#f0f0f0}.chat-heading [data-back] svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.party-member-menu{position:fixed;z-index:150;min-width:175px;padding:6px;background:#191919;border:1px solid #393939;border-radius:8px;box-shadow:0 12px 30px #0008}
.party-member-menu[hidden]{display:none}
.party-member-menu a,.party-member-menu button{display:block;width:100%;box-sizing:border-box;padding:11px 13px;text-align:right;text-decoration:none;background:none;border:0;border-radius:5px;color:#eee;font:inherit;font-size:12px;cursor:pointer}
.party-member-menu a:hover,.party-member-menu button:hover,.party-member-menu :focus-visible{background:#303030;outline:none}
.party-member-menu button:disabled{opacity:.45;cursor:default}
