
.chat-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.chat-page-heading .heading{margin:0}.chat-page-heading .row-actions{flex-wrap:wrap;justify-content:flex-end}.chat-shell{display:grid;grid-template-columns:280px minmax(0,1fr);height:min(780px,calc(100dvh - 245px));min-height:480px;border:1px solid #dedee5;border-radius:20px;overflow:hidden;background:white;box-shadow:0 10px 35px #20203006}.chat-sidebar{min-width:0;border-right:1px solid #e5e5eb;overflow:auto;background:#fcfcfd;padding:20px 12px}.chat-sidebar h2{font-size:17px;margin:0 10px 19px}.chat-room{display:flex;align-items:center;width:100%;gap:11px;padding:13px 10px;text-align:left;background:transparent;border:1px solid transparent;border-radius:12px;margin-bottom:6px;color:#22222b}.chat-room.active{background:#fcecf0;border-color:#f0c6d1}.chat-room:hover{background:#f5f2f5}.chat-room .avatar{width:40px;height:40px;flex-shrink:0;object-fit:cover}.chat-room-copy{min-width:0;flex:1}.chat-room-copy strong{display:block;font-size:14px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-room-copy small{display:block;color:#62626c;font-size:12px;line-height:1.4;margin-top:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-unread{background:#c8102e;color:white;font-size:11px;font-weight:800;min-width:21px;height:21px;padding:2px 6px;border-radius:12px;text-align:center}.chat-conversation{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.chat-header{padding:17px 22px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #e8e8ed}.chat-header h2{margin:0;font-size:18px;line-height:1.3;overflow-wrap:anywhere}.chat-header>div:last-child{min-width:0}.chat-header>div>span{color:#62626d;font-size:12px}.chat-header .avatar{width:40px;height:40px;object-fit:cover}.chat-list-back{display:none}.chat-messages{overflow-y:auto;overscroll-behavior:contain;padding:16px 24px 22px;background:#faf9fb;scrollbar-gutter:stable;min-height:0}.chat-message{display:flex;align-items:flex-start;gap:10px;margin:16px 0;max-width:94%}.chat-message>.avatar{flex-shrink:0;object-fit:cover;width:32px;height:32px;font-size:12px;margin-top:3px}.chat-message-main{min-width:0;max-width:100%}.chat-message.is-mine{margin-left:auto;flex-direction:row-reverse;justify-content:flex-start}.chat-author{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:6px;line-height:1.5}.chat-author .profile-link{font-size:13px;font-weight:750}.chat-author .role-title{font-size:10px;padding:3px 6px;line-height:1.35}.chat-author time{font-size:11px;color:#74747f}.chat-bubble{padding:12px 15px;border:1px solid #e3e1e8;border-radius:2px 14px 14px;background:white;box-shadow:0 2px 7px #19192503}.is-mine .chat-bubble{background:#fcecf0;border-color:#efd1d9;border-radius:14px 2px 14px 14px}.chat-message-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;margin:0;font-size:14px;line-height:1.65;color:#24242e}.chat-message-text.deleted-message{font-style:italic;color:#74747e;font-size:13px}.chat-edited{font-size:10px;color:#77707b;display:block;margin-top:4px}.chat-day{font-size:11px;font-weight:700;text-align:center;color:#6d6370;margin:16px auto 18px;clear:both}.chat-message-footer{display:flex;align-items:start;justify-content:space-between;gap:7px;margin-top:5px;min-height:20px}.chat-reactions{display:flex;gap:5px;flex-wrap:wrap}.chat-reaction{border:1px solid #e0dce6;background:#fff;border-radius:11px;padding:3px 7px;font-size:13px;color:#4e4655;line-height:1.3}.chat-reaction b{font-size:11px}.chat-reaction.is-mine{background:#fce7ee;border-color:#d97590;color:#a7082e}.chat-message-menu{position:relative;flex-shrink:0}.chat-message-menu>summary{font-size:18px;line-height:20px;padding:0 8px;list-style:none;cursor:pointer;color:#77707c}.chat-message-menu>summary::-webkit-details-marker{display:none}.chat-message-actions{position:absolute;z-index:8;right:0;bottom:24px;width:205px;background:#fff;border:1px solid #ded9e3;border-radius:13px;padding:7px;box-shadow:0 8px 28px #25203020}.chat-message-actions>button{display:block;background:white;color:#33303a;text-align:left;padding:10px 12px;border-radius:7px;width:100%;font-size:13px}.chat-message-actions>button:hover{background:#f7f4f7}.chat-emoji-picker{display:flex;justify-content:space-between;border-bottom:1px solid #eee8ee;padding:6px 0 10px;margin-bottom:4px}.chat-emoji-picker>button{font-size:19px;padding:3px;background:none;border-radius:6px}.chat-emoji-picker>button:hover{background:#fce9ee}.chat-reply{display:grid;gap:3px;border-left:3px solid #c8102e;padding:5px 10px;margin:0 0 10px;background:#c8102e06;border-radius:0 5px 5px 0}.chat-reply strong{font-size:11px;color:#a60d2d}.chat-reply span{font-size:12px;line-height:1.4;color:#5b515e;white-space:pre-wrap;overflow-wrap:anywhere}.chat-compose-wrap{border-top:1px solid #e3dfe7;padding:13px 18px 14px;background:#fff}.chat-input-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}#chat-compose-form textarea{display:block;resize:none;width:100%;border:1px solid #ddd8e2;border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.5;min-height:64px;max-height:180px;color:#25222c;background:#fdfcfe}#chat-compose-form textarea:focus{outline:2px solid #c8102e55;outline-offset:0;border-color:#c8102e}#chat-compose-form .error{margin:5px 0 0;min-height:0}.chat-compose-bottom{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:9px}.chat-compose-bottom .btn{min-height:38px;padding:9px 18px}.chat-compose-bottom #chat-mute-status{font-size:12px;color:#b70d30;line-height:1.5;margin-right:auto}.chat-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 12px}.chat-context>div{min-width:0;display:grid;gap:4px;border-left:3px solid #c8102e;padding-left:10px}.chat-context strong{font-size:12px;color:#aa0b2a}.chat-context span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#605563}.chat-context>button{background:#f5f1f5;color:#67556b;border-radius:50%;width:27px;height:27px;font-size:20px;flex-shrink:0}.chat-empty{text-align:center;color:#6c606d;margin:60px 0}.chat-empty img{border-radius:50%;margin-bottom:12px}.chat-empty p{font-size:14px}.chat-older{text-align:center;margin-bottom:12px}.chat-dialog{width:min(520px,calc(100vw - 28px));max-height:85dvh;border:1px solid #e6dfe9;border-radius:20px;padding:24px;color:#25222d;background:#fff}.chat-dialog::backdrop{background:#17101f70;backdrop-filter:blur(3px)}.chat-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.chat-dialog-heading h2{font-size:23px;margin:0}.chat-dialog-heading>button{background:#f3eef4;border-radius:50%;width:32px;height:32px;color:#614d69;font-size:24px}.chat-person-list{display:grid;gap:7px}.chat-person-list>button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 8px;background:white;border-radius:10px;text-align:left}.chat-person-list>button:hover{background:#fcf0f4}.chat-person-list>button[hidden]{display:none}.chat-person-list .avatar{object-fit:cover;flex-shrink:0}.chat-person-list>button>span:last-child{display:grid;gap:7px}.chat-person-list strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.chat-person-list .role-title{font-size:10px;width:fit-content}.chat-mutes>div{padding:15px 0;border-top:1px solid #e6e0e9;display:grid;gap:7px}.chat-mutes strong{font-size:14px}.chat-mutes span,.chat-mutes p{font-size:13px;color:#66596b;margin:0;overflow-wrap:anywhere}.chat-mutes .text-action{text-align:left;padding-left:0}.chat-role-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px;align-items:start}.chat-role-layout h2{font-size:22px;margin:0 0 20px}.chat-role-help{font-size:13px;line-height:1.7;color:#61556b;margin:0 0 20px}.chat-role-order{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:8px}.chat-role-order li{display:flex;align-items:center;gap:10px;min-height:53px;border:1px solid #e4dfe9;border-radius:10px;padding:10px 12px;background:#fff;cursor:grab}.chat-role-order .pinned-role{background:#f8f1fd;border-color:#dfc3f0;cursor:default}.role-grip{font-size:22px;color:#8a7c95;width:18px}.pinned-role .role-grip{font-size:14px;color:#a020f0}.role-order-controls{margin-left:auto;display:flex;gap:5px;align-items:center}.role-order-controls>span{font-size:11px;color:#76558a}.role-order-controls>button{background:#f5f2f8;color:#544263;min-width:29px;min-height:29px;font-size:16px;border-radius:6px}.chat-extra-roles{display:grid;gap:12px;margin:23px 0 26px}.chat-extra-roles>label{display:flex;align-items:center;gap:12px;cursor:pointer}.chat-extra-roles input{width:18px;height:18px;accent-color:#c8102e}.chat-gold{font-size:10px!important;font-weight:800!important;border-color:#e6b743!important;background:linear-gradient(110deg,#fff3c4,#fff9e5)!important;color:#8b5e00!important}
@media(max-width:1050px){.chat-shell{grid-template-columns:235px minmax(0,1fr)}.chat-messages{padding:14px}.chat-role-layout{grid-template-columns:1fr}.chat-author .role-title{font-size:9px}}
@media(max-width:700px){.chat-page-heading{align-items:flex-start;gap:12px}.chat-page-heading h1{font-size:27px}.chat-page-heading .row-actions{gap:7px}.chat-page-heading .btn{font-size:11px;padding:10px;min-height:38px}.chat-shell{display:block;height:calc(100dvh - 220px);min-height:470px;border-radius:15px}.chat-sidebar{display:none;height:100%;border-right:0}.chat-conversation{height:100%}.chat-shell.show-chat-list .chat-sidebar{display:block}.chat-shell.show-chat-list .chat-conversation{display:none}.chat-list-back{display:block;background:#f6f1f5;border-radius:9px;min-width:33px;min-height:33px;color:#a70a2a;font-size:18px}.chat-header{padding:13px 12px;gap:9px}.chat-header h2{font-size:16px}.chat-header .avatar{width:32px;height:32px}.chat-messages{padding:8px 10px 20px}.chat-message{max-width:100%;gap:7px}.chat-message>.avatar{width:25px;height:25px;font-size:10px}.chat-author{gap:5px}.chat-author .profile-link{font-size:12px}.chat-author time{font-size:10px}.chat-author .role-title{font-size:8px;padding:2px 4px}.chat-bubble{padding:10px 11px}.chat-message-text{font-size:13px}.chat-compose-wrap{padding:10px}.chat-compose-bottom .btn{font-size:12px;padding:9px 12px}.chat-dialog{padding:20px}.chat-role-order .role-title{font-size:10px}.chat-role-order li{gap:7px;padding:9px}.role-order-controls>span{font-size:9px}.chat-role-layout .panelbody{padding:20px}}
@media(prefers-reduced-motion:reduce){.chat-shell *{scroll-behavior:auto}}

.chat-message-footer:has(.chat-message-menu[open]){flex-wrap:wrap}.chat-message-menu[open]{margin-left:auto}.chat-message-menu[open]>summary{text-align:right;margin-bottom:5px}.chat-message-menu[open] .chat-message-actions{position:relative;right:auto;bottom:auto;max-width:100%;width:205px}

.chat-layout .main{height:100dvh;display:flex;flex-direction:column;min-height:0}
.chat-layout .topbar{flex-shrink:0}
.chat-layout #content{max-width:none;width:100%;flex:1;min-height:0;display:flex;flex-direction:column;padding:14px 22px 16px;animation:none}
.chat-layout .chat-page-heading{flex-shrink:0;margin-bottom:12px;gap:12px}
.chat-layout .chat-page-heading h1{font-size:28px;margin:0}
.chat-layout .chat-page-heading .btn{min-height:36px;padding:8px 14px}
.chat-layout .chat-shell{flex:1;height:auto;min-height:0;border-radius:14px;box-shadow:none}
.chat-header{padding:10px 18px;gap:10px}.chat-header .avatar{width:34px;height:34px}
.chat-messages{padding:8px 18px 12px}.chat-message{margin:8px 0;gap:8px}.chat-author{margin-bottom:3px;gap:6px;line-height:1.3}
.chat-author .role-title{padding:2px 5px}.chat-author .chat-gold{padding:2px 5px!important}
.chat-bubble{padding:6px 10px;border-radius:2px 10px 10px;box-shadow:none;width:fit-content;max-width:100%}
.is-mine .chat-bubble{border-radius:10px 2px 10px 10px;margin-left:auto}
.chat-message-text{line-height:1.45}.chat-day{margin:10px auto}.chat-reply{padding:4px 8px;margin-bottom:5px}
.chat-message-footer{margin-top:2px;min-height:16px}.chat-message-menu>summary{font-size:17px;line-height:16px}.chat-reaction{padding:2px 6px;font-size:12px}
.chat-compose-wrap{padding:9px 14px}#chat-compose-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:0 10px}
#chat-compose-form textarea{min-height:42px;height:42px;padding:10px 12px;line-height:20px;border-radius:10px}
.chat-compose-bottom{margin-top:0}.chat-compose-bottom .btn{min-height:42px}.chat-compose-bottom #chat-mute-status:empty{display:none}
#chat-compose-form .error{grid-column:1/-1}#chat-compose-form .error:empty{display:none}
.chat-layout .support-widget{right:12px;bottom:12px}.chat-layout .support-widget>summary{width:30px;height:30px}.chat-layout .support-widget>summary svg{width:16px;height:16px}
.chat-layout .chat-compose-wrap{padding-right:48px}
@media(max-width:700px){.chat-layout #content{padding:10px 8px 8px}.chat-layout .chat-page-heading{margin-bottom:9px}.chat-layout .chat-page-heading h1{font-size:23px}.chat-layout .chat-page-heading .btn{padding:8px;font-size:10px;min-height:32px}.chat-layout .chat-shell{min-height:0}.chat-message{gap:6px;margin:7px 0}.chat-messages{padding:7px 9px}.chat-header{padding:9px 10px}.chat-compose-wrap{padding:8px}.chat-compose-bottom .btn{padding:8px;font-size:11px}.chat-author .role-title{font-size:8px}.chat-author .chat-gold{font-size:8px!important}.chat-compose-bottom{flex-wrap:wrap}.chat-compose-bottom #chat-mute-status{font-size:10px;max-width:100px}.chat-layout .support-widget{right:8px;bottom:12px}.chat-layout .chat-compose-wrap{padding-right:42px}}

.chat-layout .chat-shell{grid-template-columns:var(--chat-sidebar-width,280px) 7px minmax(0,1fr)}
.chat-layout .chat-sidebar{border-right:0}
.chat-divider{position:relative;background:#f4f2f5;border-inline:1px solid #e5e1e8;cursor:col-resize;touch-action:none;transition:background .15s}
.chat-divider:after{content:'';position:absolute;left:2px;top:calc(50% - 18px);height:36px;width:1px;background:#b9acba;border-radius:2px}
.chat-divider:hover,.chat-divider:focus-visible,.resizing-chat .chat-divider{background:#f5dce4}
.resizing-chat{user-select:none;cursor:col-resize}
@media(max-width:700px){.chat-divider{display:none}}

.chat-layout #content{max-width:1560px;margin-inline:auto}
.chat-messages{background:#e9eaed;padding-inline:max(18px,calc((100% - 960px)/2));}
.chat-message{max-width:82%;width:fit-content;min-width:0;margin-block:9px}
.chat-message-main{min-width:0;max-width:min(100%,640px);display:flex;flex-direction:column;align-items:flex-start}
.chat-message.is-mine>.chat-message-main{align-items:flex-end}
.chat-author{max-width:100%;overflow-wrap:anywhere}.chat-author .profile-link{overflow-wrap:anywhere;min-width:0}
.chat-bubble{background:#fff;border:1px solid #dce0e5;max-width:100%;padding:8px 12px;border-radius:3px 14px 14px;box-shadow:0 1px 2px #23293808}
.is-mine .chat-bubble{background:#fce6ec;border-color:#ecc7d1;border-radius:14px 3px 14px 14px}
.chat-message-text{overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;font-size:14px;line-height:1.5}
.chat-message-footer{width:fit-content;max-width:100%;min-width:0;gap:8px}.chat-reactions{min-width:0}.chat-message.is-mine .chat-message-footer{justify-content:flex-end}.chat-message-footer:has(.chat-message-menu[open]){width:min(100%,240px)}.chat-message-menu[open] .chat-message-actions{width:min(205px,100%)}
.chat-delete-hint{color:#5c5260;font-size:14px;margin:0 0 22px;line-height:1.6}
.chat-delete-choices{display:flex;gap:10px;flex-wrap:wrap}.chat-delete-choices .btn{flex:1;min-width:140px;font-size:13px;padding:13px}
.chat-delete-cancel{display:block;margin:18px auto 0;padding:8px 18px;background:transparent;color:#62556a;font-size:13px}
#chat-delete-dialog{max-width:440px}#chat-delete-dialog .error:empty{display:none}
@media(max-width:700px){.chat-messages{padding-inline:10px}.chat-message{max-width:94%}.chat-message-main{max-width:calc(100% - 31px)}.chat-bubble{padding:7px 10px}.chat-message-text{font-size:13px}}

#chat-notifications{position:fixed;right:18px;bottom:78px;display:grid;gap:8px;width:min(320px,calc(100vw - 36px));z-index:31;pointer-events:none}
.chat-notification{display:flex;min-width:0;align-items:flex-start;border:1px solid #e3dce2;border-left:3px solid var(--accent);border-radius:12px;background:#fff;box-shadow:0 8px 24px #27202c22;pointer-events:auto}
.chat-notice-message{display:grid;gap:4px;flex:1;min-width:0;padding:11px 10px 11px 13px;text-align:left;background:transparent;color:var(--ink)}
.chat-notice-message small{color:var(--muted);font-size:11px}
.chat-notice-message span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.chat-notice-dismiss{background:transparent;color:var(--muted);padding:8px 10px;font-size:18px}
.telegram-settings{display:flex;flex-wrap:wrap;gap:8px}.telegram-settings p{flex-basis:100%;margin:0 0 7px}

.chat-icon-button{display:inline-grid;place-items:center;flex:none;width:42px;height:42px;padding:0;color:#4b424c;background:#fff;border:1px solid #ddd5dd;border-radius:9px}
.chat-icon-button:hover{background:#f6f1f5}
.chat-icon-button[aria-pressed="false"]{color:#756b75;background:#f4f1f4}
.chat-icon-button:focus-visible{outline:2px solid #a10a2d;outline-offset:2px}
.chat-delivery{display:inline-flex;flex:none;color:#6a6570;align-items:center;justify-content:center}
button.chat-delivery{min-width:25px;min-height:24px;padding:0;border:0;border-radius:6px;background:transparent}
button.chat-delivery:hover{background:#170d2110}
.chat-delivery.is-read{color:#16763f}
.chat-reader-list{max-height:min(55dvh,400px);overflow:auto}
.chat-reader-list p{margin:0;font-size:14px}
.chat-reader-list ul{margin:0;padding:0;list-style:none}
.chat-reader-list li{display:flex;align-items:baseline;justify-content:space-between;gap:6px 14px;flex-wrap:wrap;padding:9px 0;border-top:1px solid #eee8ee;font-size:14px;overflow-wrap:anywhere}
.chat-reader-list time{color:#625a65;white-space:nowrap;font-size:12px}
.chat-send-failed{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;max-width:100%;color:#a10a2d;font-size:11px}
.chat-send-failed button{color:inherit;background:transparent;text-decoration:underline;padding:4px}

/* Conversations use the same quiet surfaces and club accents as profiles. */
.chat-layout .chat-shell{border-color:#e2d9e1;background:#fff;border-radius:15px}
.chat-sidebar{padding:12px 10px;background:#fcfafc}
.chat-sidebar h2{margin:4px 8px 11px;color:#514153;font-size:14px}
.chat-room{padding:9px 8px;margin-bottom:4px;border-radius:10px}
.chat-room.active{background:#f7e8ef;border-color:#ead0dc;box-shadow:inset 3px 0 #b1264d}
.chat-room-copy strong{color:#332735}
.chat-header{grid-row:1;background:white;border-bottom-color:#ece5ec}
.chat-conversation{grid-template-rows:auto auto minmax(0,1fr) auto}
.chat-messages{grid-row:3;background:linear-gradient(155deg,#f7f2f7,#f4f0f5 50%,#f6f2f5);overflow-x:hidden}
.chat-compose-wrap{grid-row:4;border-top-color:#ece4ec}
.chat-day{width:max-content;border-radius:20px;padding:4px 11px;background:#eee7f0;color:#5e5264}
.chat-message{align-items:flex-end;margin-block:9px;transform:translateX(var(--chat-swipe-x,0px));touch-action:pan-y pinch-zoom}
.chat-message.joins-before{margin-top:2px}
.chat-message.joins-after{margin-bottom:2px}
.chat-message-avatar{display:block;width:30px;flex:0 0 30px}
.chat-message-avatar .avatar{width:30px;height:30px;display:grid}
.chat-author{margin-bottom:4px;color:#3c3040}
.chat-bubble{display:grid;grid-template-columns:minmax(0,auto) auto;align-items:end;column-gap:5px;min-width:72px;padding:5px 8px;border-color:#e6dde6;border-radius:13px 13px 13px 4px}
.chat-bubble>.chat-reply{grid-column:1/-1}
.chat-bubble>.chat-message-text{min-width:0}
.is-mine .chat-bubble{background:#f9e7ed;border-color:#edd1dd;border-radius:13px 13px 4px 13px}
.chat-message.joins-after .chat-bubble{border-bottom-left-radius:5px}
.chat-message.joins-before .chat-bubble{border-top-left-radius:5px}
.chat-message.is-mine.joins-after .chat-bubble{border-bottom-right-radius:5px;border-bottom-left-radius:13px}
.chat-message.is-mine.joins-before .chat-bubble{border-top-right-radius:5px;border-top-left-radius:13px}
.chat-bubble-meta{display:flex;justify-content:flex-end;align-items:center;gap:3px;margin-top:1px;min-height:20px}
.chat-bubble-time{display:inline-flex;align-items:center;gap:4px;color:#625966;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
.chat-bubble-time .chat-delivery svg{width:13px;height:13px}
button.chat-message-menu{display:grid;place-items:center;width:23px;height:21px;border-radius:5px;padding:0;background:transparent;color:#67586a;font-size:17px;line-height:1}
button.chat-message-menu:hover,button.chat-message-menu[aria-expanded='true']{background:#ebe2ec;color:#462d49}
.chat-message-footer{margin-top:2px;min-height:0}
.chat-message-popup{
 position:fixed;inset:auto;margin:0;width:min(232px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;
 padding:6px;border:1px solid #e2d8e2;border-radius:12px;background:#fff;color:#382b3a;box-shadow:0 10px 30px #40204025;
}
.chat-message-popup>button{display:block;width:100%;min-height:34px;padding:7px 9px;border-radius:7px;background:none;text-align:left;color:inherit;font-size:13px}
.chat-message-popup>button:hover,.chat-message-popup>button:focus-visible{background:#f4edf5}
.chat-message-popup>button.danger-text{color:#9b193c}
.chat-message-popup .chat-emoji-picker{padding:3px 1px 5px;margin-bottom:3px;border-bottom:1px solid #eee6ee;justify-content:space-between}
.chat-pins{grid-row:2;background:#fcf5f8;border-bottom:1px solid #eadce5;color:#584058}
.chat-pins[hidden]{display:none}
.chat-pins summary{display:flex;align-items:center;gap:7px;padding:6px 12px;cursor:pointer;min-width:0;list-style:none}
.chat-pins summary::-webkit-details-marker{display:none}
.chat-pins summary>span:not(.chat-pin-chevron){min-width:0;display:grid;gap:2px;flex:1}
.chat-pins summary strong,.chat-pin-text strong{font-size:11px;color:#943252}
.chat-pins summary small,.chat-pin-text span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-pin-chevron{font-size:17px}
.chat-pin-list{max-height:min(210px,32dvh);overflow:auto;border-top:1px solid #eadce5;padding:4px 8px}
.chat-pin-row{display:flex;align-items:center;gap:4px}
.chat-pin-text{display:grid;flex:1;min-width:0;gap:3px;background:none;text-align:left;color:#49374a;padding:6px;border-radius:6px}
.chat-pin-text:hover,.chat-pin-remove:hover{background:#f1e4ed}
.chat-pin-remove{background:none;color:#6b5169;padding:4px 8px;border-radius:6px;font-size:18px}
.chat-pin-options{display:flex;gap:8px;flex-wrap:wrap}
.chat-pin-options>.btn{flex:1;min-width:140px}
#chat-pin-dialog .error:empty{display:none}
.chat-highlight .chat-bubble{outline:2px solid #c04d72;outline-offset:2px}
body:has(.chat-layout) #support-widget{display:none}
.chat-layout .chat-compose-wrap{padding-right:14px}

/* Chat shares the larger typography and soft surfaces without animating history updates. */
.chat-layout .chat-shell{border-radius:22px;box-shadow:0 10px 32px #58304408}
.chat-sidebar{background:linear-gradient(150deg,#fff,#faf3f8)}
.chat-room{border-radius:16px;min-height:70px;transition:background-color .2s,border-color .2s}
.chat-room-copy strong{font-size:16px}.chat-room-copy small{font-size:14px}
.chat-messages{background:#eeedf2}
.chat-bubble{border-radius:16px;padding:9px 12px;box-shadow:0 2px 6px #3c233a06}
.is-mine .chat-bubble{border-radius:16px;background:#fbe6ee;border-color:#edcbd7}
.chat-message-text{font-size:16px;line-height:1.5}
.chat-author .profile-link{font-size:14px}.chat-author time{font-size:12px}
.chat-author .role-title,.chat-author .chat-gold{font-size:11px!important}
.chat-reaction{font-size:15px;padding:4px 8px;min-height:30px}.chat-reaction b{font-size:12px}
.chat-header h2{font-size:21px}.chat-header>div>span{font-size:14px}
.chat-compose-wrap textarea{font-size:16px;border-radius:14px}
.chat-layout .chat-page-heading .btn,.chat-compose-bottom .btn{min-height:44px;font-size:14px}
.chat-message-popup>button{font-size:15px;min-height:42px;padding:10px;border-radius:10px}
.chat-message-popup{border-radius:16px;animation:soft-reveal .16s ease-out}
.chat-layout .chat-compose-wrap{border-radius:0 0 22px 22px}
.chat-pins summary small,.chat-pin-text span{font-size:14px}.chat-pins summary strong{font-size:13px}
@media(max-width:700px){
 .chat-layout #content{padding:12px 8px 8px}.chat-layout .chat-shell{border-radius:18px}
 .chat-layout .chat-page-heading h1{font-size:27px}.chat-author .profile-link{font-size:14px}.chat-author time{font-size:12px}
 .chat-author .role-title,.chat-author .chat-gold{font-size:11px!important}.chat-message-text{font-size:16px}
 .chat-header h2{font-size:19px}.chat-header>div>span{font-size:13px}.chat-layout .chat-page-heading .btn{min-height:42px;font-size:14px}
 .chat-compose-bottom .btn{min-height:44px;font-size:14px;padding:10px 13px}
 .chat-message{max-width:96%}
}
@media(max-width:700px){
 .chat-message{max-width:96%}
 .chat-message-avatar{width:24px;flex-basis:24px}
 .chat-message-avatar .avatar{width:24px;height:24px}
 .chat-bubble{padding-inline:7px}
 button.chat-message-menu{width:25px;height:25px}
}
