.avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.form-view{background:#f6f7f9}
.form-scroll{overflow:auto;flex:1;padding:18px}
.form-scroll>p{font-size:13px;color:#697983;line-height:1.6;margin:0 0 16px}
.form-scroll form,.avatar-editor{display:grid;gap:12px;background:#fff;border-radius:12px;padding:18px;margin-bottom:16px}
.form-scroll label{font-size:13px;font-weight:700}
.form-scroll input{border:1px solid #d5e0e6;border-radius:8px;background:#fff;padding:11px;color:#243b48;outline:none}
.form-scroll small{font-size:12px;color:#8798a2;line-height:1.5}
.form-scroll button{background:#21a6e5;color:#fff;border-radius:8px;padding:11px}
.form-scroll button.subtle{background:#f3f7f9;color:#476979}
.form-scroll button:disabled{opacity:.5}
.form-scroll [role=status],.form-scroll [role=alert]{min-height:1em;margin:0;font-size:12px;color:#bd4b55}
.avatar-editor{justify-items:center}
.avatar-editor img{width:88px;height:88px;border-radius:50%;object-fit:cover;border:2px solid #d5e8f2}
.avatar-editor button{width:100%}
.pred-pick{display:grid;gap:8px;padding:16px;margin:8px 0;background:#fff;text-align:center}
.pred-pick small{font-size:12px;color:#678b9e}
.pred-pick strong{font-size:22px;color:#148cc9}
.pred-pick span:last-child{font-size:11px;color:#90a7b2}
.pred-source{padding:10px 12px 22px;margin:0;color:#7192a3;font-size:11px;line-height:1.5}
.pred-source a{color:#1477a5}
.pred-table td{padding:12px 4px}
.referral-hint{margin:18px 0 0;color:#2b86aa;font-size:12px;line-height:1.5}
.promotion-card{display:grid;gap:10px;background:#fff;border-radius:12px;padding:18px;margin-bottom:14px}
.promotion-card label{font-size:13px;font-weight:700}
.promotion-card input{width:100%;border:1px solid #d5e0e6;border-radius:8px;background:#f8fbfc;padding:11px;color:#243b48;font-size:12px}
.promotion-card button{background:#21a6e5;color:#fff;border-radius:8px;padding:11px}
.promotion-card h2{font-size:16px;margin:0}
.promotion-card h2 strong{color:#178fc7}
.promotion-card [role=status]{min-height:1em;margin:0;font-size:12px;color:#29815f}
.promotion-note{font-size:12px!important;color:#7c919b!important;line-height:1.5!important;margin:0 0 14px!important}
.promotion-card .promotion-note{margin:0!important}
.promotion-item{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #edf2f5;padding:11px 0;font-size:13px}
.promotion-item small{white-space:nowrap;font-size:11px}
.promotion-empty{color:#9aa5ae;text-align:center;font-size:13px;margin:10px 0}
#bottom-nav button{color:#adb8c1}
#bottom-nav button.active{color:#168bd3}
#bottom-nav button svg{display:block;width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.group-view{background:#f5f7f9}
.group-scroll{overflow:auto;flex:1;padding:16px 14px 28px}
.group-info-scroll{display:flex;flex-direction:column}
.group-hero{display:flex;align-items:center;gap:14px;background:#fff;border-radius:12px;padding:18px;margin-bottom:14px}
.group-hero .avatar{width:54px;height:54px;flex:none;font-size:22px}
.group-hero div{display:grid;gap:6px;min-width:0}
.group-hero strong{font-size:17px;color:#263d4a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.group-hero small,.group-note{font-size:12px;color:#8a9aa4;line-height:1.55}
.group-card{background:#fff;border-radius:12px;padding:16px;margin-bottom:12px}
.group-card-title{display:flex;justify-content:space-between;align-items:center}
.group-card-title strong{font-size:14px;color:#2b4451}
.group-card-title button{color:#168fd0;font-size:13px;padding:4px 0}
#group-description{white-space:pre-wrap;word-break:break-word;font-size:13px;color:#5c737f;line-height:1.6;margin:11px 0 0}
#group-description-form{display:grid;gap:10px;margin-top:12px}
#group-description-input{width:100%;resize:vertical;min-height:110px;border:1px solid #d8e4ea;border-radius:8px;padding:10px;font:inherit;color:#334d5a}
.group-form-actions{display:flex;justify-content:flex-end;gap:8px}
.group-form-actions button,#group-copy,.group-more{padding:9px 14px;border-radius:8px;background:#eaf6fc;color:#168bd3;font-size:13px}
.group-form-actions button:last-child,#group-copy{background:#168bd3;color:#fff}
.group-row{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;background:#fff;padding:16px;border-bottom:1px solid #edf2f4;color:#2e4550;font-size:14px}
.group-row:first-of-type{border-radius:12px 12px 0 0}
.group-row b{color:#9aaab3;font-size:13px;font-weight:400;white-space:nowrap}
.group-row span{display:grid;gap:4px}
.group-row small{font-size:11px;color:#99a8b1}
.group-row:disabled{opacity:.55}
.group-switch{width:40px;height:23px;border-radius:20px;background:#ccd6dc;position:relative;flex:none;transition:background .2s}
.group-switch:after{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;transition:transform .2s}
.group-row[aria-checked="true"] .group-switch{background:#1ca1dc}
.group-row[aria-checked="true"] .group-switch:after{transform:translateX(17px)}
#group-share-panel{display:grid;gap:10px;margin-top:10px}
#group-share-panel label{font-size:13px;font-weight:700}
#group-link{width:100%;padding:10px;border:1px solid #dbe5e9;border-radius:8px;color:#395563;font-size:12px}
#group-share-panel small{color:#859aa5;font-size:11px;line-height:1.5}
.group-note{margin:16px 4px}
.group-list-heading{font-size:13px;color:#6f8793;margin:2px 5px 12px}
.group-people{padding:0 14px}
.group-person{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #edf2f4;min-width:0}
.group-person:last-child{border-bottom:0}
.group-person .avatar{width:38px;height:38px;flex:none;font-size:15px}
.group-person-name{display:grid;gap:3px;min-width:0;flex:1}
.group-person-name strong,.group-person-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.group-person-name strong{font-size:13px;color:#294250}
.group-person-name small{font-size:11px;color:#9aaab3}
.group-role{font-size:11px;color:#168bd3;background:#eaf6fc;border-radius:20px;padding:4px 7px;white-space:nowrap}
.group-person-action{font-size:11px;color:#168bd3;white-space:nowrap;padding:5px}
.group-person-action:disabled{opacity:.5}
.group-more{display:block;margin:14px auto}
.group-scroll [role=status]{font-size:12px;color:#278568;min-height:1em;padding:0 4px}
.room-state{display:inline-block;color:#178fc7;background:#e9f5fb;border-radius:4px;font-size:10px;padding:2px 4px;margin-right:5px;vertical-align:middle}
.room-state.muted{color:#8597a1;background:#f0f3f5;margin-left:5px;margin-right:0}
.group-leave{display:block;width:100%;margin-top:auto;padding:15px;border-radius:10px;background:#fff;color:#d9535b;font-size:14px;font-weight:600;text-align:center}
.group-leave:disabled{opacity:.55}
.group-leave-confirm{margin-top:10px;padding:14px;border-radius:10px;background:#fff;border:1px solid #f1d3d5}
.group-leave-confirm p{margin:0 0 12px;color:#647985;font-size:12px;line-height:1.55}
.group-leave-confirm div{display:flex;justify-content:flex-end;gap:8px}
.group-leave-confirm button{padding:8px 12px;border-radius:7px;background:#f2f5f7;color:#536b77;font-size:12px}
.group-leave-confirm button:last-child{background:#d9535b;color:#fff}
.group-leave-confirm button:disabled{opacity:.5}
.chat-tabs{height:48px;flex:none;display:flex;background:#fff;border-bottom:1px solid #e8eef2}
.chat-tabs button{flex:1;position:relative;color:#7d8992;font-size:15px;font-weight:600}
.chat-tabs button.active{color:#168bd3}
.chat-tabs button.active:after{content:'';position:absolute;left:27%;right:27%;bottom:0;height:3px;border-radius:3px 3px 0 0;background:#168bd3}
.sessions-panel{display:flex;flex:1;min-height:0;flex-direction:column}
.sessions-panel .list-tools{padding-bottom:8px}
.platforms-panel{flex:1;min-height:0;overflow:auto;background:#fff;padding:12px 8px 22px}
.platforms-caption{margin:0 0 10px 4px;color:#6e8491;font-size:12px}
.platforms-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.platform-card{min-height:124px;width:100%;min-width:0;display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid #c1e1f9;border-left:3px solid #168fe5;border-radius:12px;background:linear-gradient(110deg,#f7fcff,#eef8ff);text-decoration:none;text-align:left;color:#0877bd}
.platform-card:hover{background:#e8f5ff}
.platform-logo{width:72px;height:72px;flex:none;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:linear-gradient(135deg,#b6e1fc,#348dc8);box-shadow:0 2px 7px #39708a22;color:#fff;font-size:27px;font-weight:800}
.platform-card:nth-child(2n) .platform-logo{background:linear-gradient(135deg,#73c6de,#195780)}
.platform-card:nth-child(3n) .platform-logo{background:linear-gradient(135deg,#f5d787,#aa761e)}
.platform-logo img{width:100%;height:100%;object-fit:cover}
.platform-copy{display:grid;gap:6px;flex:1;min-width:0;text-align:left}
.platform-copy strong{font-size:18px;color:#0879bf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.platform-copy small{font-size:13px;color:#879aa5;white-space:nowrap}
.platform-arrow{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:#e5f4ff;color:#168bd3;font-size:25px;line-height:1}
.platforms-note{color:#8a9da8;font-size:11px;line-height:1.55;margin:16px 5px 0}
.platforms-result{color:#1585b8;font-size:12px;min-height:1em;margin:10px 5px}
.profile-link[href]{color:inherit;text-decoration:none}
.image-attach{width:38px;height:38px;padding:0;display:grid;place-items:center;overflow:hidden;border-radius:10px}
.image-attach img{display:block;width:48px;height:48px;max-width:none;object-fit:contain}
.compose-row #text{flex:1;min-width:0;min-height:37px;max-height:95px;overflow-y:auto;padding:7px 11px;border:1px solid #b7d7af;border-radius:18px;background:#fff;color:#20252b;font-size:16px;line-height:23px;white-space:pre-wrap;overflow-wrap:anywhere;outline:none}
.message-time{display:block;margin-top:5px;text-align:right;white-space:nowrap;color:#8797a1;font-size:10px;line-height:1.2}
.message.own .message-time{color:#527c91}
.form-scroll input{font-size:16px}
.compose-row #text:empty:before{content:attr(data-placeholder);color:#8d9aa3;pointer-events:none}
.compose-row #text .sticker-sprite{vertical-align:middle;margin:0 1px}
#emoji.active{color:#168bd3}
.emoji-picker{margin:0 0 8px;padding:8px 7px 10px;border:1px solid #e8edf1;border-radius:12px;background:#fafcfd;box-shadow:0 -5px 16px #25485e12}
.emoji-picker-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 5px;color:#5e7785;font-size:12px}
.emoji-picker-head button{width:29px;height:29px;color:#879ca8;font-size:22px;line-height:1}
.emoji-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:2px;max-height:194px;overflow-y:auto;overscroll-behavior:contain}
.emoji-grid button{height:36px;border-radius:8px;display:grid;place-items:center;padding:0}
.emoji-grid button:hover,.emoji-grid button:focus-visible{background:#e8f3fa;outline:none}
.sticker-sprite{display:inline-block;flex:none;background-repeat:no-repeat;vertical-align:middle;mix-blend-mode:multiply}
.bubble .sticker-sprite{margin:0 1px}
