.audio-icon.supplied-mic{width:28px;height:28px;object-fit:contain}.person .avatar img{display:block;max-width:30px;max-height:32px;object-fit:contain}.compose-tools button#handBtn.supplied-hand{background-image:url('/assets/member-status/hand.png');background-size:25px 29px;background-position:center}.name-kind-mark{display:inline-block;object-fit:contain;vertical-align:middle;width:24px;height:28px;flex:none;margin-left:5px}.person .name-kind-mark{margin-left:0}.name-tag .name-kind-mark{width:18px;height:21px;vertical-align:middle;margin-left:5px}.member-menu{position:fixed;z-index:35;display:flex;flex-direction:column;min-width:195px;padding:3px;background:white;border:1px solid #999;box-shadow:1px 3px 5px #0006;direction:rtl}.member-menu button{border:0;background:white;padding:10px;font:12px Tahoma;text-align:right;color:#111}.member-menu button:hover{background:#d6edfc}.me-menu{flex-wrap:wrap}.me-menu #myProfileBtn{flex-basis:100%;background:#fff;text-align:right}.status-choices .selected{font-weight:bold;background:#e4f3ff}.profile-overlay{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:8px;background:#2227;direction:ltr}.profile-window{width:578px;max-width:100%;max-height:96dvh;display:flex;flex-direction:column;background:#e3e3e3;border:1px solid #777;padding:3px;box-shadow:inset 0 0 0 1px #5bafdb;font:14px Tahoma;color:#333}.profile-title{height:25px;display:flex;align-items:center;justify-content:space-between;flex:none;padding:0 5px;font:12px Tahoma;background:#ccc}.profile-title button{border:0;background:#aa1a1a;color:#fff;width:18px;height:18px;font:bold 20px Arial;line-height:16px;padding:0;border-radius:2px}.profile-scroll{overflow:auto;min-height:0}.profile-cover{height:305px;position:relative;padding:100px 42px 20px;overflow:hidden;background:#c6c6c6}.profile-cover-blur{position:absolute;inset:-15px;background:radial-gradient(ellipse at 50% 30%,#666,#111 55%,#bbb);filter:blur(14px)}.profile-identity{position:relative;border:2px solid #e2cf5b;border-bottom-color:white;color:white;min-height:180px;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:7px;padding:90px 10px 18px}.profile-photo{position:absolute;left:50%;top:-66px;transform:translateX(-50%);border:2px solid #d9bd31;border-radius:50%;width:150px;height:150px;background:#f5f5f5;display:grid;place-items:center;overflow:hidden}.profile-photo .ninja-avatar{transform:scale(2.5);transform-origin:center}.profile-identity h2{font:bold 23px Arial;margin:0;direction:rtl}.profile-identity p{font:bold 15px Tahoma;margin:0;direction:rtl;min-height:18px;max-width:100%;overflow-wrap:anywhere}.profile-tabs{display:flex;height:49px;background:white;border:2px solid #444;margin:8px 3px 0}.profile-tabs button{flex:1;border:0;background:#fff;color:#333;font:bold 16px Arial;cursor:pointer;direction:rtl}.profile-tabs button.selected{background:#ddd;color:#fff;box-shadow:0 2px 9px #aaa}.profile-pane{padding:30px 13px 45px;min-height:365px}.profile-statistics{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:7px 2px 20px}.profile-statistics>div{border:1px solid #d2d2d2;border-radius:3px;background:#f8f8f8;min-height:120px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;font:14px Tahoma}.profile-statistics b{font-weight:normal}.profile-stat-icon{width:62px;height:48px;display:block;background:url('/assets/profile-reference.jpg') -46px -435px /578px 811px no-repeat}.stat-active{background-position:-178px -435px}.stat-talking{background-position:-306px -435px}.stat-ban{background-position:-431px -435px}.profile-message-label{display:block;direction:rtl;margin:0 5px 12px;font:14px Tahoma}.profile-message{background:#f4f4f4;border:1px solid #ccc;border-radius:3px;min-height:62px;display:grid;place-items:center;text-align:center;padding:10px;direction:rtl;white-space:pre-wrap;overflow-wrap:anywhere}.profile-pane #editProfileBtn{margin:15px 0 0 auto;display:block;border:1px solid #aaa;background:#f6f6f6;padding:8px;font:12px Tahoma}.profile-info-card{position:relative;border-radius:4px;height:301px;color:#fff;text-align:center;display:flex;align-items:center;flex-direction:column;padding:38px 45px 55px}.profile-info-symbol{width:126px;height:90px;display:block;flex:none;background-position:-225px -456px;background-repeat:no-repeat;background-size:578px 806px}.profile-info-card h3{font:bold 16px Tahoma;margin:4px 0 12px}.profile-info-card p{font:15px Tahoma;direction:rtl;margin:0;overflow-wrap:anywhere;max-width:100%}.info-arrow{position:absolute;top:135px;width:31px;height:31px;border-radius:50%;background:#ddd9;color:#fff;border:0;font:bold 27px Arial;line-height:26px;padding:0}.info-arrow.previous{left:10px}.info-arrow.next{right:10px}.profile-info-nav{display:flex;position:absolute;bottom:8px;left:50%;transform:translateX(-50%);gap:2px}.profile-info-nav button{height:35px;width:44px;padding:0;border:0;border-bottom:2px solid transparent;background:url('/assets/profile-info-1.jpg') calc(-125px - var(--info-i)*46px) -676px/578px 806px no-repeat}.profile-info-nav button.selected{border-bottom-color:white}.profile-footer{height:33px;flex:none;display:flex;align-items:center;justify-content:flex-end;padding:0 20px;background:linear-gradient(#eee,#ccc);border-top:1px solid #fff;box-shadow:0 -1px #5bafdb}.profile-footer button{background:none;border:0;font:11px Tahoma;color:#111;padding:5px}.profile-empty{text-align:center;direction:rtl;margin:35px 0;color:#777}.profile-editor{padding:15px;direction:rtl;font:12px Tahoma;min-height:365px}.profile-editor>p{color:#555}.profile-editor label{display:grid;grid-template-columns:115px minmax(0,1fr);align-items:center;gap:7px;margin-bottom:9px}.profile-editor input,.profile-editor textarea{width:100%;font:13px Tahoma;border:1px solid #bbb;padding:7px;min-width:0}.profile-editor textarea{height:65px;resize:vertical}.profile-editor-actions{display:flex;gap:10px;margin-top:15px}.profile-editor-actions button{border:1px solid #aaa;background:#f6f6f6;padding:8px 15px;font:12px Tahoma}.background-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:245px;overflow:auto;padding:5px;border:1px solid #bbb}.background-choice{height:55px;border:2px solid transparent;background:white;padding:0;color:#333;font:12px Tahoma}.background-choice img{display:block;width:100%;height:100%;object-fit:fill}.background-choice.selected{border-color:#008eb1}.profile-overlay button:focus-visible{outline:2px solid #008eb1}.falcon-syria{background:none;background-color:#0c2d48}.falcon-syria:before{content:'';position:absolute;left:0;top:0;width:86px;height:44px;background:url('/assets/approved-directory.png') -503px -190px/1704px 923px no-repeat}.falcon-syria .falcon-flag{top:44px;left:5px;right:5px;height:36px;clip-path:none;box-shadow:none}
@media(max-width:750px){.profile-overlay{padding:4px}.profile-window{max-height:97dvh}.profile-cover{height:250px;padding:90px 22px 15px}.profile-identity{min-height:140px;padding-top:60px;padding-bottom:10px}.profile-photo{width:115px;height:115px;top:-60px}.profile-photo .ninja-avatar{transform:scale(2)}.profile-identity h2{font-size:19px}.profile-identity p{font-size:12px}.profile-pane{padding:20px 8px 25px;min-height:330px}.profile-tabs button{font: bold 13px Tahoma}.profile-statistics>div{font:11px Tahoma;min-height:106px}.profile-stat-icon{transform:scale(.8);margin:-3px}.profile-info-card{padding-left:35px;padding-right:35px}.profile-info-nav{gap:0}.profile-info-nav button{width:40px}.person .avatar img{max-width:21px;max-height:25px}.name-kind-mark{width:19px;height:22px}.profile-editor label{grid-template-columns:85px minmax(0,1fr)}.profile-photo .ninja-avatar{margin:0}.member-menu{min-width:180px}}

.ninja-avatar{width:32px;height:31px;background-position:-292px -132px}.profile-stat-icon{width:72px}

.profile-photo>img{width:100%;height:100%;object-fit:cover}#profilePhotos>img{display:block;max-width:100%;max-height:260px;object-fit:contain;margin:8px auto}#profilePhotos>button{display:block;margin:10px auto}.profile-media-preview{display:flex;align-items:center;gap:8px;padding:5px}.profile-media-preview img{width:90px;height:65px;object-fit:contain}.profile-media-preview button{font:12px Tahoma}#profileMediaEditor{border:1px solid var(--room-dark);padding:8px;margin:10px 0}

/* Current RoomSyria profile and private conversations. */
.profile-window{background:#edf5fd;border-color:#27669e}.profile-title{height:38px;background:#1766a9;color:white;gap:8px}.profile-brand{height:29px;width:29px;object-fit:contain}.profile-title #profileWindowTitle{flex:1}.profile-cover{background:#1766a9}.profile-cover-blur{background:linear-gradient(145deg,#0c3159,#247bc0);filter:none}.profile-identity{border-color:#91c7ef}.profile-photo{border-color:#b4dbfa}.profile-tabs{border-color:#a6c7e4}.profile-tabs button.selected{background:#1766a9;color:white;box-shadow:none}.profile-scroll>#editProfileBtn{display:block;margin:10px 12px 0 auto;padding:8px 20px;background:#1766a9;color:white;border:0;border-radius:4px}.profile-scroll>#editProfileBtn[hidden]{display:none}.account-rank-group{border:1px solid #bad0e3;border-radius:5px;margin:10px 0;padding:8px}.account-rank-title{margin:0 0 8px;font: bold 14px Tahoma}.account-rank-empty{color:#777;font:12px Tahoma}.permission-member>div{flex:1;min-width:0}.permission-member b,.permission-member small{display:block;overflow-wrap:anywhere}
#chatTabs{flex-direction:column;overflow-y:auto;max-height:240px;align-items:stretch}.private-tab{flex:none;width:100%;display:flex;align-items:center;min-height:36px}.private-tab>button:first-child{flex:1;min-width:0;overflow-wrap:anywhere;text-align:right}.private-return-public{display:none}.private-has-unread{animation:roomsyria-private-alert 1s infinite}@keyframes roomsyria-private-alert{0%,100%{background:#c71420;color:white;box-shadow:0 0 5px #e31835}50%{background:#ffb0b8;color:#9d0010;box-shadow:0 0 12px #f44358}}
@media(max-width:750px){#chatTabs #allTab{display:none!important}.show-mobile-private #chatTabs{display:flex;flex-direction:column;inset:66px 8px auto;max-height:55dvh;padding:8px;border:1px solid #88a9c8;box-shadow:0 5px 15px #0004}.private-return-public{display:block;order:1000;padding:10px}.private-tab{border-bottom:1px solid #ddd}.profile-title{height:38px}}

.private-list-header{display:none}
@media(max-width:750px){
 #mobileHeader #mobilePrivate.private-has-unread{border-radius:6px;animation:roomsyria-private-alert 1s infinite!important}
 #mobileHeader #mobilePrivate.private-has-unread>img{filter:drop-shadow(0 0 2px #ff1d36)}
 .show-mobile-private #chatTabs{direction:rtl;gap:0;border-radius:8px;padding:0;overflow-x:hidden;background:#fff;z-index:55}
 #chatTabs .private-list-header{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;background:#dcefee;color:#245f63;border-bottom:1px solid #bad6d4;flex:none}
 #chatTabs .private-list-header strong{font:bold 15px Tahoma}
 #chatTabs .private-list-header button{border:0;background:transparent;color:#245f63;padding:0 4px;font:24px Arial}
 #chatTabs .private-tab{direction:rtl;min-height:54px;padding:4px 8px;box-sizing:border-box;gap:8px;border-bottom:1px solid #e4eaea;background:white}
 #chatTabs .private-tab>button:first-child{display:flex;align-items:center;gap:7px;border:0;background:white;text-align:right;font:15px Tahoma;color:#234f61;padding:10px 3px;box-shadow:none}
 #chatTabs .private-tab>button:last-child{border:0;background:transparent;color:#7b8e91;padding:6px;font:19px Arial}
 #chatTabs .private-tab .unread{background:#d82039;color:white;border-radius:12px;min-width:23px;padding:4px 6px;text-align:center;font:bold 12px Arial;box-sizing:border-box}
 #chatTabs .private-tab .unread[hidden]{display:none!important}
 #chatTabs .private-return-public{border:0;border-radius:0;background:#eef6f5;color:#2a6268;font:14px Tahoma;min-height:44px;width:100%;flex:none}
}
@media(max-width:750px){.show-mobile-private #chatTabs{height:auto!important;min-height:0!important;max-height:55dvh!important;bottom:auto!important}}

#profileAvatar[role=button]{cursor:pointer}#profileAvatar[role=button]:focus-visible{outline:3px solid #8b4ac0;outline-offset:3px}.profile-photo-window{width:min(560px,94vw);max-width:94vw;max-height:90dvh;overflow:auto;box-sizing:border-box;direction:rtl;font:14px/1.7 Tahoma,Arial,sans-serif;color:#234a65;border:1px solid #8cb3d1;border-radius:12px;padding:16px;background:#f4f9ff;box-shadow:0 12px 40px #0005}.profile-photo-window::backdrop{background:#142b4a80}.profile-photo-window header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.profile-photo-window button{font:13px Tahoma;padding:9px 12px;background:#e6f1fc;border:1px solid #a8c1dc;border-radius:5px;color:#254a6c;cursor:pointer}.profile-photo-window button:disabled{opacity:.5;cursor:wait}.profile-photo-window-preview{display:block;width:100%;height:220px;object-fit:contain;background:#fff;border:1px solid #dce5ef;border-radius:6px}.profile-photo-window-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-block:12px}.profile-photo-window-gallery>div{display:flex;flex-direction:column;gap:6px;min-width:0}.profile-photo-window-gallery img{width:100%;height:100px;object-fit:contain;background:white;cursor:pointer;border-radius:5px}.profile-photo-window-gallery>p{grid-column:1/-1;text-align:center;color:#607587}.profile-photo-window-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.profile-photo-window small{color:#637f92}.profile-photo-window p[role=status]{margin:8px 0 0}@media(max-width:750px){.profile-photo-window{padding:12px}.profile-photo-window-preview{height:170px}.profile-photo-window-actions button{flex:1 1 auto}}

/* A permanently visible desktop entry point shares the mobile unread total. */
#privateEmptyState{display:none;margin:0;padding:18px 12px;text-align:center;font:13px Tahoma;color:#637d86}#privateEmptyState[hidden]{display:none!important}
@media(min-width:751px){
 #chatTabs #desktopPrivate{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-width:144px;height:33px;margin:0;padding:0 6px;border:1px solid #8aacb4;border-radius:4px;background:#e4f2f2;color:#244a57;font:12px Tahoma;overflow:visible;white-space:nowrap}
 #chatTabs #desktopPrivate>img{width:18px;height:18px;object-fit:contain}
 #desktopPrivate .desktop-private-unread{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 3px;box-sizing:border-box;border-radius:50%;background:#dc233b;color:#fff;font:bold 11px Arial;direction:ltr}
 #desktopPrivate .desktop-private-unread[hidden]{display:none!important}
 #desktopPrivate.private-has-unread{animation:roomsyria-private-alert 1s infinite!important;border-color:#e1223b}
 .show-desktop-private #privateConversations{position:fixed;z-index:1400;left:var(--desktop-private-left,12px);top:var(--desktop-private-top,54px);right:auto;bottom:auto;width:340px;max-width:calc(100vw - 16px);height:auto!important;min-height:0;max-height:min(60dvh,520px);display:flex!important;flex-direction:column;align-items:stretch;gap:0;overflow:auto;direction:rtl;padding:0;border:1px solid #86aeb9;border-radius:8px;background:white;box-shadow:0 6px 20px #142c4d42}
 .show-desktop-private #privateConversations #allTab{display:none!important}
 .show-desktop-private #privateConversations .private-list-header{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;background:#dcefee;color:#245f63;border-bottom:1px solid #bad6d4;flex:none}
 .show-desktop-private #privateConversations .private-list-header strong{font:bold 15px Tahoma}
 .show-desktop-private #privateConversations .private-list-header button{border:0;background:transparent;color:#245f63;padding:0 4px;font:24px Arial}
 .show-desktop-private #privateConversations .private-tab{direction:rtl;min-height:50px;padding:4px 8px;box-sizing:border-box;gap:8px;border-bottom:1px solid #e4eaea;background:white}
 .show-desktop-private #privateConversations .private-tab>button:first-child{display:flex;align-items:center;gap:7px;border:0;background:white;text-align:right;font:14px Tahoma;color:#234f61;padding:9px 3px;box-shadow:none}
 .show-desktop-private #privateConversations .private-tab>button:last-child{border:0;background:transparent;color:#7b8e91;padding:6px;font:19px Arial}
 .show-desktop-private #privateConversations .private-tab .unread{background:#d82039;color:white;border-radius:12px;min-width:23px;padding:4px 6px;text-align:center;font:bold 12px Arial;box-sizing:border-box}
 .show-desktop-private #privateConversations .private-tab .unread[hidden]{display:none!important}
 .show-desktop-private #privateConversations .private-return-public{display:block;order:1000;flex:none;border:0;border-radius:0;background:#eef6f5;color:#2a6268;font:14px Tahoma;min-height:42px;width:100%}
 .show-desktop-private #privateEmptyState:not([hidden]){display:block}
}
@media(max-width:750px){#desktopPrivate{display:none!important}.show-mobile-private #privateEmptyState:not([hidden]){display:block}}

.profile-photo-window-gallery{max-height:36dvh;overflow-y:auto;align-content:start;padding:2px}.profile-photo-window-actions{position:sticky;bottom:0;z-index:2;background:#f4f9ff;padding-block:8px}

/* Keep desktop room and private controls adjacent while the private list opens below. */
#privateConversations{display:contents}
@media(min-width:751px){#chatTabs{flex-direction:row;align-items:stretch;overflow:visible;max-height:none;flex:none}#chatTabs #allTab{display:flex!important}#privateConversations{display:none}.show-desktop-private #privateConversations{display:flex}#chatTabs #desktopPrivate{border-radius:0;font-weight:bold;font-size:11px}#chatTabs #desktopPrivate>img{width:18px;height:18px}}
