:root{font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#27313d;background:#eef1f5;font-synthesis:none;--blue:#5588ed;--line:#e1e6ed;--chat:#f6f7fa;--bubble:#d4e3f5;--muted:#9197a0}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:transparent;color:inherit}button:disabled{cursor:default;opacity:.55}a{color:#5186de;text-decoration:none}input,textarea,select{border:1px solid var(--line);border-radius:7px;padding:10px;background:#fff;color:inherit}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#aeb6c2}:focus-visible{outline:2px solid #6b9bfd;outline-offset:2px}.icon{font-size:21px;line-height:1}.icon-btn{width:36px;height:36px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:5px}.icon-btn:hover,.text-button:hover{background:#edf2fb}.primary{background:var(--blue);color:#fff;border-radius:7px;padding:10px 17px;font-weight:500}.secondary{background:#f0f3f8;border-radius:7px;padding:10px 17px}.danger{color:#cf4652}.muted{color:var(--muted)}.small{font-size:12px}.row{display:flex;align-items:center;gap:10px}.stack{display:grid;gap:12px}.grow{flex:1;min-width:0}.spread{justify-content:space-between}.hidden{display:none!important}.truncate{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:35px;text-align:center;color:#98a0aa;gap:12px}.empty-icon{width:66px;height:66px;border-radius:18px;background:#eaf0fa;display:grid;place-items:center;color:#6894dc;font-size:30px}.error-box{color:#be3a45;background:#fff1f3;border-radius:7px;padding:10px;line-height:1.6}.network-banner{height:28px;background:#fff5df;color:#96712d;font-size:12px;display:flex;align-items:center;justify-content:center;gap:8px}.toast-region{position:fixed;top:max(22px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:200;display:grid;gap:9px;pointer-events:none;max-width:min(90vw,460px)}.toast{padding:11px 18px;background:#263445ee;color:white;box-shadow:0 6px 24px #15284b30;border-radius:9px;line-height:1.5}
.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:28px;background:linear-gradient(135deg,#eef4ff,#e5f0fc 55%,#f7f9fc)}.auth-card{width:min(440px,100%);background:#fff;border:1px solid #e5edf6;border-radius:16px;overflow:hidden;box-shadow:0 18px 65px #6085b226}.auth-brand{padding:27px 32px 23px;background:#4c91f0 url('assets/intro_bg.png') center/cover;display:flex;align-items:center;gap:15px;color:#fff}.auth-mark{width:44px;height:44px;display:grid;place-items:center;border:1px solid #ffffff80;border-radius:13px;background:#ffffff20;font-size:28px}.auth-brand h1{font-size:22px;margin:0}.auth-brand p{font-size:12px;margin:7px 0 0;opacity:.88}.auth-body{padding:26px 31px}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:23px}.auth-tabs button{flex:1;padding:12px;font-size:15px;color:#8d97a4;border-bottom:2px solid transparent}.auth-tabs button.active{color:var(--blue);border-color:var(--blue)}.field{display:grid;gap:7px;font-size:13px}.field label{color:#768293}.field input,.field select{width:100%}.auth-form{display:grid;gap:16px}.auth-form .primary{margin-top:3px;min-height:43px}.auth-footer{margin:20px 0 0;color:#a0a8b3;display:flex;justify-content:space-between;font-size:12px}.connection-settings{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.connection-settings summary{cursor:pointer;color:#8592a4;font-size:12px}.connection-settings .stack{padding-top:12px}.auth-success{padding:10px;background:#eaf8f1;color:#218656;border-radius:7px}
.shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.workspace{flex:1;display:grid;grid-template-columns:64px 294px minmax(0,1fr);min-height:0;background:#fff}.rail{background:#f4f6fa;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:20px 8px 12px;gap:12px}.rail-logo{width:38px;height:38px;background:#5792ee;color:#fff;border-radius:10px;display:grid;place-items:center;font-size:23px;margin-bottom:15px}.rail .nav-item{width:46px;min-height:48px;border-radius:9px;display:flex;align-items:center;justify-content:center;position:relative;color:#929eac}.rail .nav-item.active{color:#578deb;background:#e3ecfa}.rail .nav-item:hover{background:#e9eff9}.nav-item span:last-child{display:none}.rail-spacer{flex:1}.nav-dot{position:absolute;background:#ef5a68;min-width:15px;height:15px;display:grid;place-items:center;border:2px solid #f4f6fa;border-radius:10px;right:1px;top:3px;font-size:9px;color:white}.left-pane{display:flex;flex-direction:column;border-right:1px solid var(--line);min-height:0;background:#fff}.left-header{padding:21px 18px 13px;height:96px}.left-title{font-size:17px;font-weight:600;margin-bottom:13px}.searchbox{display:flex;align-items:center;background:#f3f5f8;border-radius:7px;color:#a1a8b2;padding:0 10px;height:33px}.searchbox input{border:0;padding:6px 8px;min-width:0;width:100%;background:transparent;font-size:12px}.left-content{overflow-y:auto;flex:1;padding:7px 0}.conversation{display:flex;align-items:center;padding:14px 17px;gap:11px;cursor:pointer;border-left:3px solid transparent;min-height:75px}.conversation:hover{background:#f5f8fc}.conversation.active{background:#e9f1fc;border-color:#6799ed}.avatar{width:42px;height:42px;flex-shrink:0;border-radius:50%;background:#cbdff3;display:grid;place-items:center;color:#4675a4;font-weight:600;font-size:16px;object-fit:cover}.avatar.small-avatar{width:32px;height:32px;font-size:12px}.avatar.large-avatar{width:72px;height:72px;font-size:28px}.conv-info{flex:1;min-width:0}.conv-top{display:flex;justify-content:space-between;gap:7px;margin-bottom:7px}.conv-title{font-size:14px;color:#3d4855;font-weight:500}.conv-time{font-size:10px;white-space:nowrap;color:#a5adb8}.conv-preview{font-size:12px;color:#98a1ac}.conv-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px}.unread-badge{background:#ff6f75;min-width:17px;height:17px;border-radius:10px;color:#fff;display:grid;place-items:center;font-size:10px;padding:0 4px}.section-caption{font-size:11px;color:#a1a9b5;text-transform:uppercase;letter-spacing:1px;padding:18px 19px 6px}.contact-row{display:flex;align-items:center;gap:12px;padding:12px 19px}.contact-row:hover{background:#f4f7fc}.contact-row button{font-size:12px}.contact-row .avatar{width:36px;height:36px}.friend-request{margin:9px 12px;padding:12px;background:#f4f7fc;border-radius:8px}.main-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--chat)}.chat-header{height:65px;flex-shrink:0;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.chat-title{font-size:16px;font-weight:500}.chat-subtitle{font-size:11px;color:#a0a7b2;margin-top:4px}.chat-actions{display:flex;gap:3px;color:#929ba6}.back-button{display:none}.message-scroller{flex:1;overflow-y:auto;min-height:0;padding:18px 24px 22px;overscroll-behavior:contain}.history-more{text-align:center;padding:0 0 20px;color:#95a0af}.history-more button{font-size:12px;color:#8799b2}.message-list{display:flex;flex-direction:column;gap:21px}.message-row{display:flex;gap:9px;align-items:flex-start;position:relative}.message-row.outgoing{flex-direction:row-reverse}.message-body{max-width:min(70%,620px);min-width:35px;display:flex;flex-direction:column;align-items:flex-start}.outgoing .message-body{align-items:flex-end}.message-sender{font-size:11px;color:#8b96a5;padding:0 0 5px 4px}.bubble{padding:11px 14px;background:white;border-radius:9px 9px 9px 0;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;position:relative}.outgoing .bubble{background:var(--bubble);border-radius:9px 9px 0 9px}.message-meta{display:flex;gap:10px;align-items:center;color:#999fa9;font-size:10px;margin-top:5px;line-height:1.5}.outgoing .message-meta{flex-direction:row-reverse}.message-status{font-size:10px;color:#9ca3ae;white-space:nowrap}.message-status.failed{color:#d35461}.message-status.pending{color:#a0a8b4}.message-media{display:block;max-width:100%;width:auto;max-height:310px;border-radius:9px;cursor:zoom-in;background:#ebedf2}.image-bubble{padding:0;background:transparent!important}.message-actions{display:flex;gap:4px;opacity:0;align-self:center}.message-row:hover .message-actions,.message-row:focus-within .message-actions{opacity:1}.message-actions button{font-size:11px;border-radius:5px;background:#e8edf3;color:#778496;padding:5px}.message-file{display:flex;align-items:center;gap:11px;min-width:180px;color:inherit}.file-icon{width:42px;height:44px;background:#f0f4fb;border-radius:8px;display:grid;place-items:center;font-size:22px}.message-file small{color:#919baa}.message-audio{max-width:100%;height:38px}.revoked-text{color:#a2a9b3;font-size:12px;font-style:italic}.quote{border-left:3px solid #8eb2dc;padding:5px 9px;background:#ffffff60;font-size:11px;color:#7f8d9e;margin-bottom:8px;white-space:normal;max-width:100%}.redpacket-bubble{background:linear-gradient(135deg,#ee785c,#e95f4c)!important;color:#fff;min-width:215px;padding:18px!important;cursor:pointer;border-radius:9px!important}.redpacket-icon{font-size:25px;margin-bottom:9px}.redpacket-bubble small{display:block;margin-top:8px;color:#fff8}.date-separator{text-align:center;font-size:11px;color:#adb4bd;margin:8px 0}.typing-line{font-size:11px;color:#97a3b4;min-height:21px;padding:3px 24px}
.composer{margin:0 18px;background:white;border:1px solid var(--line);border-bottom:0;position:relative;flex-shrink:0}.composer-toolbar{height:39px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 9px;color:#969ba2}.composer-tools{display:flex;gap:2px}.composer-toolbar .icon-btn{height:32px;width:30px;font-size:18px}.toolbar-image{width:17px;height:17px;object-fit:contain;opacity:.7}.history-button{font-size:12px;display:flex;align-items:center;gap:11px;height:32px}.composer textarea{width:100%;height:113px;max-height:220px;resize:none;border:0;border-radius:0;padding:13px 11px 41px;font-size:13px;line-height:1.6;display:block}.composer textarea:focus-visible{outline:none}.composer-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:0 13px;position:absolute;bottom:14px;right:0;pointer-events:none}.composer-footer>*{pointer-events:auto}.send-button{display:grid;place-items:center;width:32px;height:27px;color:#5b87ee;transform:rotate(-9deg)}.send-button svg{width:22px;height:22px}.original-control{display:flex;align-items:center;gap:4px;color:#a0a5ad;font-size:11px}.original-control input{padding:0;margin:0;accent-color:#6f9feb;width:12px;height:12px}.attachment-preview{display:flex;gap:9px;padding:10px 11px;min-height:76px;border-bottom:1px solid var(--line);align-items:center}.attachment-thumb{position:relative;width:59px;height:59px;border-radius:3px;border:1px solid #e6ebf1;flex-shrink:0}.attachment-thumb img{width:100%;height:100%;object-fit:contain}.attachment-remove{position:absolute;top:-5px;right:-5px;width:17px;height:17px;border-radius:50%;background:#9fa7b4;color:#fff;font-size:12px;padding:0}.attachment-name{font-size:12px;color:#8895a6;max-width:70%}.quote-preview{padding:8px 13px;background:#f8faff;border-bottom:1px solid var(--line);font-size:11px;color:#8f9cad;display:flex;justify-content:space-between;gap:10px}.emoji-picker{position:absolute;bottom:155px;left:8px;width:276px;padding:12px;display:grid;grid-template-columns:repeat(8,1fr);gap:4px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 5px 30px #30416022;z-index:3}.emoji-picker button{font-size:22px;padding:4px}.recording-banner{padding:10px 13px;background:#fff4f2;color:#c16d64;display:flex;align-items:center;gap:10px;font-size:12px}.recording-dot{width:7px;height:7px;background:#ed655c;border-radius:50%;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.3}}.composer-disabled{position:absolute;inset:39px 0 0;background:#fffc;display:grid;place-items:center;color:#a6aab0;font-size:12px}.global-view{padding:26px;overflow:auto;flex:1;min-height:0}.view-title{font-size:20px;font-weight:600;margin:0 0 22px}.card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px;margin-bottom:17px}.discover-carousel{position:relative;overflow:hidden;border-radius:12px;background:#e3edf9;height:220px;margin-bottom:24px}.discover-carousel img{width:100%;height:100%;object-fit:cover}.discover-carousel .caption{position:absolute;bottom:0;left:0;right:0;padding:25px 20px 17px;background:linear-gradient(transparent,#162b56a6);color:white;font-size:19px}.carousel-dots{display:flex;justify-content:center;gap:7px;margin-top:10px}.carousel-dots button{width:7px;height:7px;padding:0;background:#c2cad6;border-radius:50%}.carousel-dots button.active{background:#6295ec}.site-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px}.site-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;gap:15px;align-items:center;color:inherit}.site-card img{width:45px;height:45px;border-radius:9px;object-fit:cover}.site-card small{display:block;color:#9aa5b3;margin-top:7px}.profile-card{display:flex;align-items:center;gap:19px}.settings-list{display:grid;gap:1px}.settings-item{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #eef1f5}.settings-item:last-child{border-bottom:0}.wallet-amount{font-size:35px;font-weight:600;color:#477ed9;margin:15px 0 8px}.wallet-actions{display:flex;gap:10px;flex-wrap:wrap}.ledger-item{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #edf0f5}.ledger-item small{color:#99a5b3;display:block;margin-top:5px}.positive{color:#359874}.negative{color:#d66a6a}.list-table{width:100%;border-collapse:collapse}.list-table td,.list-table th{padding:10px 9px;border-bottom:1px solid var(--line);text-align:left;font-size:12px}.list-table th{color:#8c97a6;font-weight:500}.inline-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.status-pill{background:#edf2fa;color:#7f95b5;padding:4px 8px;border-radius:12px;font-size:10px}.mobile-tabs{display:none}.mobile-only{display:none}
dialog{border:1px solid #dde5ef;border-radius:13px;padding:0;width:min(520px,calc(100vw - 30px));max-height:85dvh;color:#2c3746;box-shadow:0 20px 80px #263b6236}dialog::backdrop{background:#1e2c4266;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line);font-weight:600;font-size:16px}.modal-body{padding:21px 22px;overflow:auto;max-height:68dvh}.modal-footer{padding:14px 22px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px}.modal-close{font-size:22px;color:#9ba5b2}.check-row{display:flex;align-items:center;gap:10px;padding:9px 0}.check-row input{accent-color:#6296f0}.check-row .avatar{width:33px;height:33px}.group-member{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #eff2f7}.group-member .avatar{width:31px;height:31px;font-size:12px}.group-member select{padding:5px;font-size:11px}.group-member button{font-size:11px}.image-viewer{width:auto;max-width:95vw;max-height:95dvh;background:#122032eb;border:0;padding:40px 20px 18px;overflow:auto;text-align:center}.image-viewer img{display:block;max-width:88vw;max-height:80dvh;object-fit:contain;margin:auto}.image-viewer a{display:block;padding-top:13px;color:#c1d5f5;font-size:12px}.viewer-close{position:absolute;right:10px;top:6px;color:white;font-size:28px}.call-dialog{width:min(680px,95vw);background:#1b273a;color:#fff}.call-top{display:flex;justify-content:space-between;padding:18px 20px;color:#d2dceb}.call-videos{position:relative;background:#101b2c;min-height:260px}.call-videos video.remote{width:100%;max-height:480px;min-height:260px;object-fit:contain}.call-videos video.local{position:absolute;right:12px;bottom:12px;width:130px;border-radius:7px;background:#233147;object-fit:cover}.call-info{text-align:center;padding:18px;color:#b5c4d9}.call-buttons{display:flex;justify-content:center;gap:12px;padding:18px}.call-buttons button{border-radius:25px;padding:11px 23px;background:#35465d;color:white}.call-buttons .hangup{background:#e45e6d}.call-buttons .accept{background:#35a57a}.loading-indicator{display:inline-block;width:16px;height:16px;border:2px solid #c4d3ee;border-top-color:#5d91ee;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.workspace{grid-template-columns:72px 320px minmax(0,1fr)}.message-scroller{padding-left:38px;padding-right:38px}.composer{margin-left:28px;margin-right:28px}.chat-header{padding-left:32px;padding-right:32px}}
@media(max-width:900px){.workspace{grid-template-columns:58px 250px minmax(0,1fr)}.message-scroller{padding:16px}.message-body{max-width:78%}.chat-header{padding:0 15px}.composer{margin:0 12px}.global-view{padding:18px}}
@media(max-width:680px){body{font-size:14px}.workspace{display:flex;flex:1;min-height:0}.rail{display:none}.left-pane{flex:1;width:100%;border-right:0}.main-pane{display:none;flex:1;width:100%}.shell.chat-open .left-pane{display:none}.shell.chat-open .main-pane{display:flex}.shell.global-open .left-pane{display:none}.shell.global-open .main-pane{display:flex}.shell.global-open .chat-header{display:none}.left-header{height:104px;padding:20px 18px 14px;padding-top:max(20px,env(safe-area-inset-top))}.left-title{font-size:21px}.left-content{padding-top:9px}.conversation{padding:15px 18px;min-height:84px}.conv-title{font-size:15px}.avatar{width:46px;height:46px;border-radius:7px}.conv-preview{font-size:12px}.chat-header{height:63px;padding:0 12px;padding-top:env(safe-area-inset-top);min-height:63px;box-sizing:content-box;background:#f5f5f5}.chat-title{font-size:16px}.chat-subtitle{font-size:10px}.back-button{display:inline-flex;margin-right:7px}.chat-actions{gap:0}.chat-actions .icon-btn{width:30px}.message-scroller{padding:17px 12px 18px;background:#f2f2f2}.message-list{gap:22px}.message-body{max-width:76%}.avatar.small-avatar{width:34px;height:34px;border-radius:5px}.bubble{font-size:14px;padding:10px 12px;border-radius:5px!important}.outgoing .bubble{background:#d4e3f5}.message-media{max-height:270px}.message-actions{opacity:1;align-self:flex-end;position:absolute;bottom:-13px;right:42px}.message-row:not(.outgoing) .message-actions{right:auto;left:42px}.message-actions button{font-size:9px;padding:3px 4px;background:transparent}.message-meta{font-size:9px}.composer{margin:0;border-left:0;border-right:0;padding-bottom:env(safe-area-inset-bottom)}.composer textarea{height:92px;padding:11px 12px 34px}.composer-footer{bottom:calc(12px + env(safe-area-inset-bottom))}.composer-toolbar{padding:0 8px}.history-button{font-size:11px}.emoji-picker{bottom:132px}.typing-line{padding:3px 13px}.mobile-tabs{display:flex;height:63px;flex-shrink:0;border-top:1px solid var(--line);background:#fff;align-items:center;padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box}.mobile-tabs button{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;color:#99a2ad;font-size:10px;position:relative}.mobile-tabs button .icon{font-size:22px}.mobile-tabs button.active{color:#5689e4}.mobile-tabs .nav-dot{right:calc(50% - 22px);top:-4px;border-color:white}.shell.chat-open .mobile-tabs{display:none}.mobile-only{display:initial}.global-view{padding:21px 17px}.view-title{font-size:21px}.card{padding:17px;border-radius:3px}.discover-carousel{height:180px}.auth-screen{padding:18px;background:linear-gradient(#3599f3,#75d7ef)}.auth-card{border:0;border-radius:8px;background:#fffe}.auth-body{padding:24px}.image-viewer{padding-left:8px;padding-right:8px}.image-viewer img{max-width:91vw}.call-videos{min-height:250px}.call-videos video.local{width:95px}.profile-card{gap:15px}.message-audio{width:230px;max-width:100%}.network-banner{font-size:10px}}


.rail .nav-item > span:nth-of-type(2){display:none}.packet-tabs{display:flex;margin-bottom:22px;border:1px solid #e78086;border-radius:6px;overflow:hidden}.packet-tabs button{flex:1;font-size:12px;padding:10px;color:#c7666e}.packet-tabs button.active{background:#ed6775;color:#fff}.packet-total{text-align:center;font-size:34px;font-weight:500;margin:17px 0;color:#242b34}.packet-total small{font-size:12px;color:#a0a6b0}.packet-send{background:linear-gradient(90deg,#f05f76,#ef7f71)}.packet-detail-top{text-align:center;background:linear-gradient(135deg,#ee6072,#ed765f);color:white;padding:22px;margin:-21px -22px 23px;border-radius:0 0 40% 40% / 0 0 12% 12%}.packet-detail-top .avatar{margin:auto;background:#edb364;color:white}.packet-detail .ledger-item{align-items:center}.group-announcement{padding:9px 22px;font-size:12px;color:#8d9ab0;background:#f0f5fb;border-bottom:1px solid #e5ebf3}.group-announcement span{color:#b3bdca;margin-right:7px}.composer.is-muted textarea{background:#fafbfc}.avatar-option{display:block}.auth-options-note{font-size:12px;color:#a9b2bf}

.compose-input-row{display:contents}.mobile-compose{display:none}
@media(max-width:680px){.compose-input-row{display:flex;align-items:center;gap:7px;background:#f6f6f6;padding:7px 9px}.mobile-compose{display:grid;place-items:center;color:#929aab;width:28px;height:32px;flex-shrink:0;font-size:22px;padding:0}.mobile-send{color:#6694e8}.mobile-send svg{width:19px;height:19px}.compose-input-row textarea{height:34px;min-height:34px;max-height:90px;border:1px solid #e0e4e9;border-radius:17px;flex:1;min-width:0;padding:6px 12px;line-height:20px;background:white;font-size:13px;scrollbar-width:none}.composer-toolbar{display:none;background:#f7f8fa;order:1}.composer.mobile-expanded .composer-toolbar{display:flex;height:46px}.composer.mobile-expanded .composer-tools{flex:1;justify-content:space-around}.composer.mobile-expanded .history-button{margin-left:12px}.composer-footer{display:none}.composer{padding-bottom:env(safe-area-inset-bottom)}.emoji-picker{bottom:52px}.composer-tools .icon-btn{font-size:21px}.attachment-preview{background:white}.composer-disabled{inset:0;background:#ffffffe0}.group-announcement{padding:8px 13px;font-size:11px}}

@media(max-width:680px){.message-actions{opacity:0;visibility:hidden;pointer-events:none}.message-row.actions-open .message-actions{opacity:1;visibility:visible;pointer-events:auto;background:#e6ebf2;border-radius:5px;padding:2px 5px}.message-row.actions-open .message-actions button{padding:4px 5px}}

/* ==========================================================================
   PC reference layout — 800 × 600 original desktop capture.
   Scoped to .pc-layout above the existing mobile breakpoint.
   New PC-only elements stay hidden on mobile; no mobile rules are replaced.
   ========================================================================== */
.pc-left-header,
.pc-tabs,
.desktop-titlebar,
.desktop-send-label,
.pc-bubble-time,
.pc-split,
.pc-capture,
.pc-menu,
.pc-extra-menu,
.pc-extra-toggle,
.composer-tools .pc-call {
  display: none;
}

@media (min-width: 681px) {
  .pc-layout {
    --line: #e1e1e0;
    --chat: #f8f8f7;
    color: #333333;
  }

  /* The fixed sidebar remains 273px at both 800px and wider window sizes. */
  .pc-layout .workspace {
    display: grid;
    grid-template-columns: 273px minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
  }

  .pc-layout .rail,
  .pc-layout .left-header,
  .pc-layout .mobile-tabs {
    display: none;
  }

  .pc-layout .left-pane {
    width: 273px;
    min-width: 273px;
    min-height: 0;
    border-right: 1px solid #e1e1e0;
    background: #ffffff;
  }

  .pc-layout .pc-left-header {
    position: relative;
    display: flex;
    flex: 0 0 61px;
    height: 61px;
    align-items: center;
    gap: 12px;
    padding: 0 13px;
    border-bottom: 1px solid #f1f1f1;
  }

  .pc-layout .pc-left-header .icon-btn {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #999999;
    border-radius: 3px;
  }

  .pc-layout .pc-left-header .searchbox {
    flex: 1;
    min-width: 0;
    height: 35px;
    padding: 0 8px;
    border-radius: 3px;
    background: #f9fafb;
    color: #999999;
  }

  .pc-layout .pc-left-header .searchbox input {
    padding: 6px 7px;
    color: #333333;
    font-size: 12px;
  }

  .pc-layout .pc-tabs {
    display: flex;
    flex: 0 0 70px;
    height: 70px;
    border-bottom: 1px solid #f1f1f1;
    background: #ffffff;
  }

  .pc-layout .pc-tab {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px 0 9px;
    color: #94999f;
    background: transparent;
  }

  .pc-layout .pc-tab .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 23px;
    line-height: 24px;
  }

  .pc-layout .pc-tab .icon img,
  .pc-layout .pc-tab .icon svg {
    display: block;
    width: 23px;
    height: 23px;
    object-fit: contain;
  }

  .pc-layout .pc-tab .tab-label {
    display: block;
    font-size: 11px;
    line-height: 15px;
    color: #9d9c95;
  }

  .pc-layout .pc-tab.active .tab-label {
    color: #111111;
  }

  .pc-layout .pc-tab.active .icon {
    color: #3195d5;
  }

  .pc-layout .pc-tab:hover {
    background: #fafafa;
  }

  .pc-layout .pc-tab .nav-dot {
    top: 6px;
    right: calc(50% - 25px);
    border-color: #ffffff;
  }

  .pc-layout .left-content {
    min-height: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
  }

  .pc-layout .conversation {
    position: relative;
    height: 64px;
    min-height: 64px;
    padding: 10px 15px;
    gap: 10px;
    border-left: 0;
    border-bottom: 1px solid #f9fafb;
    border-radius: 0;
    text-align: left;
  }

  .pc-layout .conversation:hover {
    background: #f5f5f4;
  }

  .pc-layout .conversation.active {
    background: #f0f0ef;
    border-left: 0;
    border-color: #f0f0ef;
  }

  .pc-layout .conversation .avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 9px;
    font-size: 18px;
    font-weight: 400;
  }

  .pc-layout .avatar:not(img) {
    background: var(--avatar-bg, #63b2dc);
    color: #ffffff;
  }

  .pc-layout img.avatar {
    background: transparent;
  }

  .pc-layout .conv-top {
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
  }

  .pc-layout .conv-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: #111111;
  }

  .pc-layout .conv-time {
    color: #999893;
    font-size: 10px;
    line-height: 14px;
  }

  .pc-layout .conv-preview {
    font-size: 12px;
    line-height: 18px;
    color: #a09e97;
  }

  .pc-layout .main-pane {
    min-width: 0;
    min-height: 0;
    background: #f8f8f7;
  }

  .pc-layout .chat-header {
    flex: 0 0 61px;
    height: 61px;
    min-height: 61px;
    padding: 0 15px 0 12px;
    background: #ffffff;
    border-bottom: 1px solid #f1f1f1;
  }

  .pc-layout .chat-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #111111;
  }

  .pc-layout .chat-subtitle {
    margin-top: 3px;
    font-size: 12px;
    line-height: 16px;
    color: #a09e97;
  }

  .pc-layout .chat-actions {
    align-items: center;
    gap: 14px;
    margin-left: 14px;
  }

  .pc-layout .chat-actions .icon-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    color: #9d9c95;
    background: #f0f0ef;
  }

  .pc-layout .chat-actions .icon-btn:hover {
    background: #e8e8e6;
  }

  .pc-layout .chat-actions .pc-split {
    display: inline-flex;
  }

  .pc-layout .chat-actions .pc-call-header {
    display: none;
  }

  .pc-layout .chat-actions .icon-btn svg,
  .pc-layout .chat-actions .icon-btn img {
    width: 18px;
    height: 18px;
  }

  .pc-layout .message-scroller {
    padding: 0 20px 16px;
    background: #f8f8f7;
    scrollbar-width: thin;
    scrollbar-color: #cececa transparent;
  }

  .pc-layout .message-list {
    gap: 19px;
  }

  .pc-layout .message-row {
    gap: 9px;
  }

  .pc-layout .message-row .small-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
  }

  .pc-layout .message-actions {
    position: absolute;
    right: 8px;
    bottom: -16px;
    z-index: 2;
  }

  .pc-layout .message-body {
    min-width: 0;
    max-width: calc(100% - 49px);
  }

  .pc-layout .bubble,
  .pc-layout .outgoing .bubble {
    position: relative;
    border-radius: 9px;
    padding: 10px 11px 26px;
    background: #ffffff;
    color: #333333;
    font-size: 13px;
    line-height: 20px;
  }

  .pc-layout .outgoing .bubble {
    background: #dceef9;
  }

  .pc-layout .bubble.text-bubble {
    padding-bottom: 26px;
  }

  /* New evidence: codex-clipboard-69b9ebca-9564-4770-9348-70827bc3373e.png
     shows outgoing PC text in #3bbcff with white text and timestamp. */
  body:not(.night-mode) .pc-layout .outgoing .text-bubble {
    background: #3bbcff;
    color: #ffffff;
  }

  body:not(.night-mode) .pc-layout .outgoing .text-bubble .pc-bubble-time,
  body:not(.night-mode) .pc-layout .outgoing .text-bubble a {
    color: #ffffff;
  }

  body:not(.night-mode) .pc-layout .outgoing .text-bubble .quote {
    color: #ffffff;
    border-color: #ffffff80;
    background: #00000014;
  }

  /* Reserve a timestamp row even when the message contains media. */
  .pc-layout .bubble.image-bubble {
    padding: 0 0 26px;
  }

  .pc-layout .image-bubble .pc-bubble-time {
    bottom: 4px;
    padding: 2px 5px;
    border-radius: 3px;
    background: #ffffff;
  }

  .pc-layout .redpacket-bubble {
    padding-bottom: 30px !important;
  }

  .pc-layout .redpacket-bubble .pc-bubble-time {
    color: #ffffffdd;
  }

  .pc-layout .pc-bubble-time {
    display: block;
    position: absolute;
    right: 8px;
    bottom: 7px;
    color: #a09e97;
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
    white-space: nowrap;
  }

  .pc-layout .message-meta time {
    display: none;
  }

  .pc-layout .message-row:not(.outgoing) .message-meta {
    display: none;
  }

  .pc-layout .outgoing .message-meta {
    margin-top: 3px;
    font-size: 10px;
    line-height: 12px;
  }

  .pc-layout .message-status {
    font-size: 10px;
    color: #a09e97;
  }

  .pc-layout .message-status.failed {
    color: #d35461;
  }

  .pc-layout .message-status.pending {
    color: #999999;
  }

  .pc-layout .history-more {
    padding-bottom: 10px;
    font-size: 11px;
  }

  .pc-layout .history-more:not(:has(button)) {
    display: none;
  }

  .pc-layout .typing-line:empty {
    display: none;
    min-height: 0;
    height: 0;
    padding: 0;
  }

  /* 43px toolbar + 135px input; preview/quote rows may expand this panel. */
  .pc-layout .composer {
    flex: 0 0 auto;
    min-height: 178px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 -1px 0 #e1e1e0;
  }

  .pc-layout .composer-toolbar {
    position: relative;
    display: flex;
    height: 43px;
    padding: 0 16px;
    border: 0;
    background: #ffffff;
    color: #605e58;
  }

  .pc-layout .composer-tools {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .pc-layout .composer-tools .icon-btn {
    display: inline-flex;
    width: 34px;
    height: 32px;
    padding: 0;
    color: #605e58;
    font-size: 21px;
    border-radius: 4px;
  }

  .pc-layout .composer-tools .icon-btn svg,
  .pc-layout .composer-tools .icon-btn img {
    display: block;
    width: 21px;
    height: 21px;
    object-fit: contain;
  }

  .pc-layout .composer-tools .extra-compose-tool,
  .pc-layout .history-button {
    display: none;
  }

  .pc-layout .composer-tools .pc-file,
  .pc-layout .composer-tools .pc-capture,
  .pc-layout .composer-tools .pc-emoji,
  .pc-layout .composer-tools .pc-call {
    display: inline-flex;
  }

  .pc-layout .composer textarea {
    display: block;
    width: 100%;
    height: 135px;
    min-height: 135px;
    max-height: 135px;
    padding: 4px 22px 47px;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    color: #222222;
    resize: none;
    font-size: 13px;
    line-height: 20px;
  }

  .pc-layout .composer textarea:focus::placeholder {
    color: transparent;
  }

  .pc-layout .composer-footer {
    right: 10px;
    bottom: 10px;
    gap: 12px;
    padding: 0;
  }

  .pc-layout .send-button {
    width: 75px;
    height: 35px;
    padding: 0 13px;
    transform: none;
    color: #222222;
    background: #ffffff;
    border: 1px solid #8d8b87;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 400;
    line-height: 33px;
  }

  .pc-layout .send-button:hover {
    background: #f7f7f6;
    border-color: #6f6d68;
  }

  .pc-layout .send-button .desktop-send-label {
    display: inline;
  }

  .pc-layout .send-button .mobile-send-icon {
    display: none;
  }

  .pc-layout .emoji-picker {
    bottom: 181px;
    left: 16px;
  }

  /* PC menus are real action lists rendered by the client. */
  .pc-layout .pc-menu,
  .pc-layout .pc-extra-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 40;
    width: 172px;
    padding: 5px 0;
    background: #ffffff;
    border: 1px solid #dededb;
    border-radius: 5px;
    box-shadow: 0 5px 18px #20202022;
    color: #45443f;
  }

  .pc-layout .pc-menu {
    left: 12px;
    top: 54px;
  }

  .pc-layout .pc-extra-menu {
    left: auto;
    right: 12px;
    top: auto;
    bottom: calc(100% + 3px);
  }

  .pc-layout .pc-menu button,
  .pc-layout .pc-extra-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    padding: 8px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 12px;
    line-height: 20px;
    text-align: left;
    white-space: nowrap;
  }

  .pc-layout .pc-menu button:hover,
  .pc-layout .pc-extra-menu button:hover {
    background: #f0f0ef;
  }

  .pc-layout .pc-extra-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 32px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #605e58;
    font-size: 21px;
  }

  .pc-layout .pc-extra-toggle:hover {
    background: #f0f0ef;
  }

  .pc-layout .pc-extra-toggle img,
  .pc-layout .pc-extra-toggle svg {
    width: 21px;
    height: 21px;
  }

  /* A frameless native window has exactly one 21px draggable title strip. */
  body.desktop-native {
    height: 100dvh;
    overflow: hidden;
    background: #ffffff;
  }

  body.desktop-native .desktop-titlebar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 21px;
    min-height: 21px;
    padding: 0;
    background: #f1f1f1;
    color: #a6a6a6;
    -webkit-app-region: drag;
    user-select: none;
  }

  body.desktop-native .desktop-titlebar .rightbuttons {
    display: flex;
    align-items: stretch;
    height: 21px;
    margin-left: auto;
    -webkit-app-region: no-drag;
  }

  body.desktop-native .desktop-titlebar button {
    display: grid;
    place-items: center;
    width: 25px;
    height: 21px;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #a6a6a6;
    border: 0;
    border-radius: 0;
    font-size: 13px;
    -webkit-app-region: no-drag;
  }

  body.desktop-native .desktop-titlebar button:hover {
    background: #e1e1e1;
    color: #6f6f6f;
  }

  body.desktop-native .desktop-titlebar button:last-child:hover {
    background: #d94e58;
    color: #ffffff;
  }

  body.desktop-native #app {
    height: calc(100dvh - 21px);
    min-height: 0;
  }

  body.desktop-native #app .shell {
    height: 100%;
    max-height: 100%;
  }

  body.desktop-native .auth-screen {
    min-height: calc(100dvh - 21px);
  }
}
/* End of PC reference layout. */



/* Ysz 2.4.9 PC drawer, settings and local night theme.
   Drawer measured from new-recording/frame-06s.jpg and frame-40s.jpg;
   settings measured from frame-20s.jpg and frame-38s.jpg. */
.pc-drawer-backdrop,
.pc-drawer {
  display: none;
}

@media (min-width: 681px) {
  .shell.pc-layout {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100%;
    max-height: 100%;
  }

  .pc-layout .pc-drawer-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 50;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #00000080;
    animation: pc-drawer-fade 140ms ease-out;
  }

  .pc-layout .pc-drawer {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 51;
    top: 0;
    bottom: 0;
    left: 0;
    width: 274px;
    max-width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: #242923;
    box-shadow: 3px 0 12px #00000014;
    animation: pc-drawer-slide 160ms ease-out;
  }

  .pc-layout .pc-drawer-profile {
    position: relative;
    flex: 0 0 180px;
    height: 180px;
    padding: 40px 16px 10px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(170deg, #c6dceb 0%, #c3dce9 43%, #a8c2d4 64%, #60676d 100%);
  }

  .pc-layout .pc-drawer-profile .avatar {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 400;
  }

  .pc-layout .pc-drawer-name {
    max-width: 178px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 18px;
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .pc-layout .pc-drawer-username {
    max-width: 178px;
    margin-top: 1px;
    font-size: 13px;
    line-height: 20px;
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .pc-layout .pc-drawer-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    position: absolute;
    right: 15px;
    bottom: 12px;
    color: #ffffff;
  }

  .pc-layout .pc-drawer-actions button {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    color: inherit;
  }

  .pc-layout .pc-drawer-actions button:hover {
    background: #ffffff25;
  }

  .pc-layout .pc-drawer-actions svg {
    width: 23px;
    height: 23px;
  }

  .pc-layout .pc-drawer-list {
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .pc-layout .pc-drawer-row {
    display: flex;
    align-items: center;
    gap: 23px;
    width: 100%;
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 0 25px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #242923;
    font-size: 13px;
    line-height: 20px;
    text-align: left;
  }

  .pc-layout .pc-drawer-row > .icon,
  .pc-layout .pc-drawer-row > svg {
    display: grid;
    place-items: center;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    color: #686c63;
  }

  .pc-layout .pc-drawer-row .icon svg,
  .pc-layout .pc-drawer-row .icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
  }

  .pc-layout .pc-drawer-row:hover,
  .pc-layout .pc-drawer-row.active {
    background: #38b8ef;
    color: #153844;
  }

  .pc-layout .pc-drawer-row:hover > .icon,
  .pc-layout .pc-drawer-row.active > .icon {
    color: #153844;
  }

  .pc-layout .pc-drawer-footer {
    flex: 0 0 auto;
    padding: 0 0 16px;
    background: #ffffff;
  }

  .pc-layout .pc-drawer-version {
    padding: 9px 29px 0;
    color: #999c96;
    font-size: 12px;
    line-height: 22px;
  }

  .pc-layout .pc-drawer-version a {
    color: inherit;
  }

  .pc-layout .pc-switch,
  .pc-layout .pc-drawer-row input[type="checkbox"],
  .pc-settings-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 17px;
    min-height: 17px;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #686c63;
    cursor: pointer;
  }

  .pc-layout .pc-switch::before,
  .pc-layout .pc-drawer-row input[type="checkbox"]::before,
  .pc-settings-row input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 1.5px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px #00000025;
    transition: transform 120ms ease-out;
  }

  .pc-layout .pc-switch[aria-checked="true"],
  .pc-layout .pc-switch.on,
  .pc-layout .pc-drawer-row input[type="checkbox"]:checked,
  .pc-settings-row input[type="checkbox"]:checked {
    background: #46a7d0;
  }

  .pc-layout .pc-switch[aria-checked="true"]::before,
  .pc-layout .pc-switch.on::before,
  .pc-layout .pc-drawer-row input[type="checkbox"]:checked::before,
  .pc-settings-row input[type="checkbox"]:checked::before {
    transform: translateX(12px);
  }

  body:has(.pc-layout) #modal {
    border: 0;
    border-radius: 3px;
    background: #ffffff;
    color: #262b27;
    box-shadow: 0 3px 17px #00000024;
  }

  body:has(.pc-layout) #modal::backdrop {
    background: #00000080;
    backdrop-filter: none;
  }

  body:has(.pc-layout) #modal .modal-header {
    min-height: 60px;
    height: 60px;
    padding: 0 22px;
    border-bottom: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
  }

  body:has(.pc-layout) #modal .modal-close {
    width: 30px;
    height: 30px;
    padding: 0;
    color: #676d63;
    font-size: 26px;
    line-height: 30px;
  }

  body:has(.pc-layout) #modal .modal-footer {
    padding: 12px 22px;
    border-top-color: #efefed;
  }

  dialog.pc-settings {
    width: min(392px, calc(100vw - 30px));
    overflow: hidden;
  }

  .pc-settings .modal-body {
    padding: 0;
    max-height: calc(85dvh - 60px);
    scrollbar-width: thin;
    scrollbar-color: #a2a59d transparent;
  }

  .pc-settings-profile {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 110px;
    height: 110px;
    padding: 14px 19px;
    background: #ffffff;
  }

  .pc-settings-profile .avatar {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 400;
  }

  .pc-settings-profile .pc-settings-name {
    font-size: 14px;
    line-height: 21px;
    color: #394239;
  }

  .pc-settings-profile .pc-settings-status {
    margin-top: 5px;
    color: #3f9bb5;
    font-size: 13px;
    line-height: 18px;
  }

  .pc-settings-section {
    padding: 10px 0;
    border-top: 8px solid #f0f0ef;
    background: #ffffff;
  }

  .pc-settings-row {
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 26px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #252b26;
    font-size: 13px;
    line-height: 20px;
    text-align: left;
  }

  .pc-settings-row > .icon,
  .pc-settings-row > svg {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    color: #686c63;
  }

  .pc-settings-row .icon svg,
  .pc-settings-row .icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  .pc-settings-row:hover {
    background: #f0f0ef;
  }

  .pc-settings-value {
    margin-left: auto;
    color: #399dbc;
    font-size: 12px;
    white-space: nowrap;
  }

  .pc-settings .modal-header .icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #676d63;
  }

  #app:has(.pc-layout) {
    zoom: var(--interface-scale, 1);
    width: calc(100% / var(--interface-scale, 1));
    height: calc(100dvh / var(--interface-scale, 1));
    min-height: 0;
  }

  body.desktop-native #app:has(.pc-layout) {
    height: calc((100dvh - 21px) / var(--interface-scale, 1));
  }
}

@keyframes pc-drawer-slide {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes pc-drawer-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-drawer,
  .pc-drawer-backdrop {
    animation: none !important;
  }
}

@media (max-width: 680px) {
  #app,
  #app:has(.pc-layout) {
    zoom: 1;
    width: 100%;
    height: 100dvh;
  }
}

/* Night mode changes color, without changing the mobile or PC layout. */
body.night-mode,
body.night-mode .pc-layout {
  color-scheme: dark;
  --blue: #69a8fa;
  --line: #364450;
  --chat: #111b25;
  --bubble: #254b64;
  --muted: #aab7c5;
  background: #111b25;
  color: #e5edf5;
}

body.night-mode .workspace,
body.night-mode .left-pane,
body.night-mode .left-header,
body.night-mode .pc-left-header,
body.night-mode .pc-tabs,
body.night-mode .chat-header,
body.night-mode .composer,
body.night-mode .composer-toolbar,
body.night-mode .pc-menu,
body.night-mode .pc-extra-menu,
body.night-mode .pc-drawer,
body.night-mode .pc-drawer-footer,
body.night-mode .pc-settings-profile,
body.night-mode .pc-settings-section,
body.night-mode .mobile-tabs,
body.night-mode .emoji-picker,
body.night-mode .card,
body.night-mode .site-card,
body.night-mode .friend-request,
body.night-mode .auth-card,
body.night-mode .auth-body,
body.night-mode .modal-header,
body.night-mode .modal-body,
body.night-mode .modal-footer,
body.night-mode dialog:not(.image-viewer):not(.call-dialog) {
  background: #1b2732;
  color: #e5edf5;
  border-color: #364450;
}

body.night-mode:has(.pc-layout) #modal {
  background: #1b2732;
  color: #e5edf5;
}

body.night-mode .main-pane,
body.night-mode .message-scroller,
body.night-mode .auth-screen {
  background: #111b25;
  color: #e5edf5;
}

body.night-mode .pc-drawer-profile {
  background: linear-gradient(165deg, #385a73 0%, #2a4a63 45%, #20303e 100%);
  color: #ffffff;
}

body.night-mode .pc-drawer-row,
body.night-mode .pc-settings-row,
body.night-mode .chat-title,
body.night-mode .conv-title,
body.night-mode .pc-settings-name,
body.night-mode .pc-tab.active .tab-label,
body.night-mode .packet-total {
  color: #e5edf5;
}

body.night-mode .pc-drawer-row > .icon,
body.night-mode .pc-drawer-row > svg,
body.night-mode .pc-settings-row > .icon,
body.night-mode .pc-settings-row > svg,
body.night-mode .chat-actions,
body.night-mode .composer-tools .icon-btn,
body.night-mode .pc-extra-toggle,
body.night-mode .modal-close {
  color: #b6c1ca;
}

body.night-mode .pc-tab .tab-label,
body.night-mode .chat-subtitle,
body.night-mode .conv-preview,
body.night-mode .conv-time,
body.night-mode .pc-drawer-version,
body.night-mode .section-caption,
body.night-mode .date-separator,
body.night-mode .message-sender,
body.night-mode .message-meta,
body.night-mode .message-file small,
body.night-mode .field label,
body.night-mode .auth-footer,
body.night-mode .list-table th {
  color: #aab7c5;
}

body.night-mode .conversation:hover,
body.night-mode .contact-row:hover,
body.night-mode .pc-tab:hover,
body.night-mode .pc-menu button:hover,
body.night-mode .pc-extra-menu button:hover,
body.night-mode .pc-settings-row:hover,
body.night-mode .icon-btn:hover,
body.night-mode .pc-extra-toggle:hover {
  background: #2a3c4d;
  color: #eff6fc;
}

body.night-mode .conversation.active,
body.night-mode .pc-drawer-row:hover,
body.night-mode .pc-drawer-row.active {
  background: #25465c;
  color: #eff6fc;
  border-color: #25465c;
}

body.night-mode .pc-drawer-row:hover > .icon,
body.night-mode .pc-drawer-row.active > .icon {
  color: #d7ebf8;
}

body.night-mode input:not([type="checkbox"]):not([type="radio"]),
body.night-mode textarea,
body.night-mode select,
body.night-mode .composer textarea,
body.night-mode .composer.is-muted textarea,
body.night-mode .compose-input-row textarea {
  background: #14212b;
  color: #eaf2fa;
  border-color: #3b4c5b;
}

body.night-mode input::placeholder,
body.night-mode textarea::placeholder {
  color: #91a2b3;
}

body.night-mode .searchbox,
body.night-mode .pc-left-header .searchbox {
  background: #253442;
  color: #aab7c5;
}

body.night-mode .searchbox input,
body.night-mode .pc-left-header .searchbox input {
  background: transparent;
  color: #eaf2fa;
}

body.night-mode .chat-actions .icon-btn {
  background: #2b3b49;
  color: #b6c1ca;
}

body.night-mode .chat-actions .icon-btn:hover {
  background: #354b5b;
}

body.night-mode .pc-layout .bubble {
  background: #253745;
  color: #e5edf5;
}

body.night-mode .pc-layout .outgoing .bubble,
body.night-mode .outgoing .bubble {
  background: #254b64;
  color: #eaf4fb;
}

body.night-mode .pc-layout .pc-bubble-time,
body.night-mode .message-status {
  color: #b4c4d1;
}

body.night-mode .pc-layout .image-bubble .pc-bubble-time {
  background: #253745;
  color: #d3dfe9;
}

body.night-mode .pc-layout .redpacket-bubble,
body.night-mode .pc-layout .redpacket-bubble .pc-bubble-time {
  color: #ffffff;
}

body.night-mode .message-status.failed,
body.night-mode .negative,
body.night-mode .danger {
  color: #ff9a9e;
}

body.night-mode .positive {
  color: #70d2b4;
}

body.night-mode .message-actions button,
body.night-mode .file-icon,
body.night-mode .empty-icon,
body.night-mode .secondary,
body.night-mode .status-pill {
  background: #2a3d4e;
  color: #d7e7f3;
}

body.night-mode .primary:not(.packet-send) {
  background: #4d88c4;
  color: #ffffff;
}

body.night-mode .send-button {
  background: #1b2732;
  color: #eaf2fa;
  border-color: #8798a6;
}

body.night-mode .send-button:hover {
  background: #304557;
}

body.night-mode .quote,
body.night-mode .quote-preview,
body.night-mode .group-announcement {
  background: #1b2c39;
  color: #b8c8d8;
  border-color: #41617a;
}

body.night-mode .attachment-preview,
body.night-mode .compose-input-row {
  background: #1b2732;
  color: #b8c8d8;
  border-color: #364450;
}

body.night-mode .attachment-thumb {
  border-color: #536575;
}

body.night-mode .composer-disabled {
  background: #1b2732e8;
  color: #bac6d1;
}

body.night-mode .recording-banner {
  background: #442a2d;
  color: #ffc4bc;
}

body.night-mode .settings-item,
body.night-mode .ledger-item,
body.night-mode .group-member,
body.night-mode .list-table td,
body.night-mode .list-table th {
  border-color: #364450;
}

body.night-mode .pc-settings-section {
  border-top-color: #111b25;
}

body.night-mode .wallet-amount,
body.night-mode .pc-settings-value,
body.night-mode .pc-settings-status {
  color: #7bb8e1;
}

body.night-mode .desktop-titlebar {
  background: #18232d;
  color: #aab7c5;
}

body.night-mode .desktop-titlebar button {
  color: #aab7c5;
}

body.night-mode .desktop-titlebar button:hover {
  background: #304453;
  color: #ffffff;
}

body.night-mode .composer {
  box-shadow: 0 -1px 0 #364450;
}

body.night-mode .conversation {
  border-bottom-color: #2a3742;
}

/* End Ysz PC drawer, settings and local night theme. */

/* PC image sending flow observed in QQ2026104-42320.mp4, 1–8s. */
.image-caption{padding:8px 10px 22px;white-space:pre-wrap;overflow-wrap:anywhere;min-width:120px}
@media(min-width:681px){
 dialog.pc-image-confirm{width:364px;max-width:calc(100vw - 32px);border-radius:3px}
 .pc-image-confirm .modal-header{display:none}
 .pc-image-confirm .modal-body{padding:34px 28px 20px}
 .image-send-form{display:grid;gap:14px}
 .image-send-preview{width:100%;height:140px;object-fit:contain;background:#f1f1f1}
 .image-send-option{display:flex;align-items:center;gap:12px;font-size:13px;line-height:24px}
 .image-send-option input{width:21px;height:21px;accent-color:#55a9c9;margin:0}
 .image-send-caption{position:relative;display:grid;color:#55a1be;font-size:13px;gap:4px}
 .image-send-caption textarea{border:0;border-bottom:2px solid #64abc7;border-radius:0;padding:3px 30px 5px 0;resize:vertical;background:transparent;min-height:30px;font-size:13px}
 .image-send-caption .icon-btn{position:absolute;bottom:5px;right:0;color:#858585}
 .image-send-actions{display:flex;justify-content:flex-end;gap:22px;padding-top:8px;color:#559dba;font-size:13px}
 #image-caption-emojis{display:flex;gap:6px;flex-wrap:wrap}
 #image-caption-emojis.hidden{display:none}
 #image-caption-emojis button{font-size:22px}
 .pc-layout .image-bubble.has-caption{background:#fff!important;overflow:hidden;border-radius:8px}
 .pc-layout .outgoing .image-bubble.has-caption{background:#3bbcff!important;color:#fff}
 .pc-layout .image-bubble.has-caption .message-media{border-radius:0}
 .pc-layout .image-bubble.has-caption .pc-bubble-time{position:absolute;right:9px;bottom:5px;background:transparent;color:inherit}
 body.night-mode .pc-layout .image-bubble.has-caption{background:#2a3947!important;color:#dfe7ed}
 body.night-mode .pc-layout .outgoing .image-bubble.has-caption{background:#356785!important;color:#fff}
}

@media(min-width:681px){.pc-layout .image-bubble.has-caption{padding:0!important}.pc-layout .image-bubble.has-caption .image-caption{padding:6px 56px 6px 10px;min-height:32px}.pc-layout .image-bubble.has-caption .pc-bubble-time{bottom:8px}}

/* Message edit bar observed in QQ2026104-43939.mp4. */
.edit-preview{display:flex;align-items:center;gap:14px;padding:8px 14px;border-bottom:1px solid var(--line);font-size:13px;background:#fff;min-height:48px}.edit-preview .grow{min-width:0}.edit-preview .grow>span{color:#57a9c8}.edit-preview-icon{font-size:28px;color:#57a9c8}.edit-preview button{font-size:22px;color:#71746f}
.message-context-menu{position:fixed;z-index:1000;background:#fff;border:1px solid #e2e5e6;border-radius:3px;box-shadow:0 4px 20px #0003;min-width:172px;padding:5px 0;color:#30352e}.message-context-menu button{display:block;width:100%;padding:9px 16px;font-size:13px;text-align:left}.message-context-menu button:hover{background:#eef1ef}
.pinned-message{display:flex;align-items:center;gap:12px;background:#fff;border-bottom:1px solid var(--line);border-left:3px solid #55afd0;padding:8px 18px;font-size:12px;flex-shrink:0}.pinned-message button{text-align:left}.pinned-message strong{color:#55a1c0}
body.night-mode .edit-preview,body.night-mode .message-context-menu,body.night-mode .pinned-message{background:#273543;color:#e6edf2;border-color:#364450}body.night-mode .message-context-menu button:hover{background:#364450}

@media(min-width:681px){.peer-network{flex:0 1 350px;min-width:140px;max-width:46%;font-size:11px;line-height:14px;color:#101010;overflow:hidden}.peer-network>div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-header>.row.grow{min-width:70px}.chat-header .chat-actions{flex-shrink:0}body.night-mode .peer-network{color:#e4eaf0}}
@media(max-width:680px){.peer-network{display:none}}

/* Folded contact groups. */
.qq-contact-groups{--qq-paper:#fff;--qq-hover:#f3f6fa;--qq-active:#e7f1fa;--qq-text:#27313d;--qq-muted:#8c96a2;--qq-border:#e3e7ec;color:var(--qq-text);background:var(--qq-paper);min-height:100%}
.qq-groups-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:8px;height:46px;padding:0 12px;background:var(--qq-paper);border-bottom:1px solid var(--qq-border)}
.qq-groups-kinds{display:flex;align-self:stretch;flex:1;gap:22px}.qq-groups-kinds button{padding:0 7px;font-size:14px;color:var(--qq-muted);border-bottom:2px solid transparent}.qq-groups-kinds button.active{color:var(--blue);border-bottom-color:var(--blue)}
.qq-new-group{width:28px;height:28px;font-size:22px;border-radius:4px;color:var(--qq-muted)}.qq-folder-heading{display:flex;align-items:center;height:38px}.qq-folder-toggle{display:flex;align-items:center;gap:7px;flex:1;min-width:0;height:100%;padding:0 12px;text-align:left}.qq-folder-arrow{width:12px;flex:none;color:var(--qq-muted);font-size:13px}.qq-folder-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.qq-folder-count{flex:none;color:var(--qq-muted);font-size:12px}.qq-folder-manage{width:30px;height:30px;margin-right:6px;border-radius:4px;color:var(--qq-muted);font-size:19px}
.qq-group-item{display:flex;align-items:center;min-height:58px}.qq-group-item.active{background:var(--qq-active)}.qq-group-open{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:8px 8px 8px 24px;text-align:left}.qq-group-avatar{position:relative;display:block;flex:none}.qq-group-avatar>.avatar{width:36px;height:36px;border-radius:5px;font-size:15px}.qq-online-dot{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border:2px solid var(--qq-paper);border-radius:50%;background:#49b66a}.qq-group-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.qq-group-name,.qq-group-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qq-group-name{font-size:13px;line-height:18px}.qq-group-copy small{font-size:11px;line-height:15px;color:var(--qq-muted)}.qq-pin-mark{margin-right:4px;color:var(--qq-muted);font-size:11px}.qq-group-item-tools{display:flex;flex:none;padding-right:4px;opacity:0}.qq-group-item-tools button{width:21px;height:27px;border-radius:4px;color:var(--qq-muted);font-size:15px}.qq-group-item:hover,.qq-folder-heading:hover{background:var(--qq-hover)}.qq-group-item.active:hover{background:var(--qq-active)}.qq-group-item:hover .qq-group-item-tools,.qq-group-item:focus-within .qq-group-item-tools{opacity:1}.qq-new-group:hover,.qq-folder-manage:hover,.qq-group-item-tools button:hover{background:var(--qq-border)}.qq-group-empty{padding:12px 20px 14px 30px;color:var(--qq-muted);font-size:12px}
body.night-mode .qq-contact-groups{--qq-paper:#212d39;--qq-hover:#2c3a48;--qq-active:#354d62;--qq-text:#e0e8ef;--qq-muted:#9eacba;--qq-border:#3a4958}

#modal:has(#bulk-panel){width:min(720px,calc(100vw - 30px))}#modal:has(#bulk-panel) .modal-footer{display:flex;flex-wrap:wrap;gap:8px}.bulk-panel{display:grid;gap:14px}.bulk-panel p,.bulk-panel h3{margin:0}.bulk-panel textarea{width:100%;min-height:120px}.bulk-select-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.bulk-select-tools input{flex:1 1 220px;min-width:0}.bulk-select-tools button{padding:8px 11px;font-size:12px}.bulk-targets{max-height:245px;overflow-y:auto;border:1px solid var(--line);border-radius:8px}.bulk-choice{display:flex;align-items:center;gap:11px;padding:11px 13px;cursor:pointer}.bulk-choice+.bulk-choice{border-top:1px solid var(--line)}.bulk-choice:hover{background:var(--chat)}.bulk-choice input{flex-shrink:0;accent-color:var(--blue)}.bulk-choice span,.bulk-name{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.bulk-choice small,.bulk-name small{color:var(--muted)}.bulk-result-list{margin:0;padding:0;list-style:none;max-height:240px;overflow-y:auto}.bulk-result-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}.bulk-outcome{flex:0 1 45%;text-align:right;overflow-wrap:anywhere;font-size:12px}.bulk-ok{color:#248554}.bulk-failed{color:#c54954}.bulk-preview{margin:0;padding:13px;max-height:200px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6;background:var(--chat);border:1px solid var(--line);border-radius:8px}.bulk-previous summary{cursor:pointer;color:var(--muted)}@media(max-width:680px){.bulk-select-tools input{flex-basis:100%}.bulk-outcome{flex-basis:40%}#modal:has(#bulk-panel) .modal-footer button{flex:1}}

.self-avatar-button{display:inline-flex;padding:0;border-radius:9px}.avatar-dialog{border:0;background:rgba(25,35,43,.96);color:white;width:min(900px,95vw);height:min(850px,94vh);padding:38px;overflow:hidden}.avatar-dialog::backdrop{background:rgba(18,28,35,.85)}.avatar-original{width:100%;height:100%;object-fit:contain}.avatar-close{position:absolute;right:12px;top:9px;font-size:26px}.avatar-view-actions{position:absolute;right:15px;bottom:13px;display:flex;gap:16px}.avatar-dropdown{position:absolute;right:15px;bottom:48px;background:#343b40;box-shadow:0 5px 20px #0008;min-width:130px}.avatar-dropdown button{display:block;width:100%;padding:10px 16px;text-align:left}.avatar-dropdown button:hover{background:#52616b}.avatar-crop{background:var(--paper);color:var(--text);width:min(400px,95vw);height:auto;max-height:94vh;padding:22px;overflow:auto}.avatar-crop header{display:flex;justify-content:space-between;margin-bottom:15px}.avatar-crop canvas{display:block;width:320px;max-width:100%;margin:auto;touch-action:none;cursor:move;border:1px solid var(--line)}.avatar-crop .row{margin-top:14px;justify-content:flex-end}.avatar-crop input{flex:1}

.emoji-picker.gif-picker{display:flex;flex-direction:column;width:min(360px,calc(100vw - 24px));padding:10px;gap:8px}.gif-picker .gif-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);padding-bottom:7px}.gif-picker .gif-tabs button{font-size:12px;padding:6px 10px;border-radius:5px;white-space:nowrap}.gif-picker .gif-tabs button[aria-pressed=true]{color:#5689e4;background:#edf4ff}.gif-picker .gif-unicode{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}.gif-picker .gif-unicode button{font-size:22px;padding:4px}.gif-picker .gif-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:auto;max-height:min(280px,40vh)}.gif-picker .gif-tile{min-width:0;border:1px solid var(--line);border-radius:6px;overflow:hidden}.gif-picker .gif-use{width:100%;height:88px;display:grid;place-items:center;padding:5px}.gif-picker .gif-use img{width:100%;height:100%;max-height:78px;object-fit:contain}.gif-picker .gif-remove{font-size:11px;padding:4px 8px;width:100%;border-top:1px solid var(--line);color:#a55a5a}.gif-picker .gif-status,.gif-picker .gif-empty{font-size:11px;color:var(--muted);line-height:1.5;margin:0}.gif-picker .gif-empty{padding:24px 8px;text-align:center}.gif-picker button:disabled{opacity:.55;cursor:wait}.gif-picker input[type=search]{width:100%;font-size:12px;padding:7px 9px;box-sizing:border-box}.gif-picker [hidden]{display:none!important}.gif-picker .row{justify-content:space-between}.gif-picker .secondary{font-size:12px;padding:6px 10px}@media(max-width:680px){.emoji-picker.gif-picker{left:8px;bottom:52px}}body.night-mode .gif-picker .gif-tabs button[aria-pressed=true]{background:#263b52;color:#87b4ef}

.history-input-tools{display:flex}.history-input-tools button{width:22px;padding:0;font-size:18px}.history-browser{height:100%;display:flex;flex-direction:column;min-height:0;background:var(--panel,#fff)}.history-browser-caption{display:flex;justify-content:space-between;padding:8px 12px;background:#f0f0f0;color:#929292;font-size:12px}.history-browser-scope{display:flex;align-items:center;gap:8px;padding:10px}.history-browser-scope>span{flex:1}.history-browser-scope .avatar{flex:none}.history-browser-results{flex:1;min-height:0;overflow:auto}.history-browser-result{padding:12px;border-bottom:1px solid var(--line)}.history-hit{text-align:left;width:100%;font-size:12px}.history-hit time{display:block;font-size:10px;color:var(--muted);margin:4px 0}.history-hit-body{display:flex;gap:8px;overflow-wrap:anywhere;white-space:pre-wrap}.history-hit-body img{width:52px;height:52px;object-fit:cover}.history-browser-pages{display:flex;justify-content:space-between;padding:10px}.history-jump-highlight{outline:2px solid #69b9ef;outline-offset:4px;border-radius:6px}.history-calendar{margin-top:15px}.history-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:10px}.history-calendar-grid button{position:relative;height:36px;border-radius:50%;padding:0}.history-calendar-grid button:not(:disabled){background:#dceefa;color:#197bad}.history-calendar-grid img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}.history-calendar-grid button:has(img) span{position:relative;background:#fff9;font-size:11px;border-radius:4px}.history-calendar-grid button:disabled{opacity:.4}

.ca-menu{position:fixed;z-index:1000;width:180px;padding:7px 0;background:#fff;border:1px solid var(--line);box-shadow:0 4px 18px #25314730}.ca-menu button{display:block;width:100%;padding:9px 15px;text-align:left;font-size:13px}.ca-menu button:hover{background:#58b7e7;color:white}.ca-menu button:disabled{opacity:.45}.ca-card{display:flex;gap:12px;align-items:center;padding:10px 0}.ca-blocked{position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:#fff}.ca-blocked button{color:#c4675d}#composer{position:relative}

#main-pane{position:relative}#chat-latest-arrow{position:absolute;right:22px;bottom:220px;z-index:3;border:1px solid #d4d7dc;border-radius:50%;background:#fff;width:35px;height:35px;font-size:23px;color:#4f9eca;box-shadow:0 2px 7px #0002}#chat-latest-arrow[hidden]{display:none}.message-date{align-self:center;margin:14px auto;padding:3px 8px;border-radius:4px;font-size:11px;color:#fff;background:#bdc2c680;width:max-content}.nudge-bubble{background:transparent!important;box-shadow:none!important;color:#999;font-size:12px}.window-shaking{animation:lsim-shake .65s ease}@keyframes lsim-shake{10%,50%,90%{transform:translateX(7px)}30%,70%{transform:translateX(-7px)}100%{transform:none}}@media(prefers-reduced-motion:reduce){.window-shaking{animation:none}}@media(max-width:680px){#chat-latest-arrow{bottom:155px}}

.image-viewer{overflow:hidden}.image-viewer>img{transform-origin:center;touch-action:none;transition:none}.image-zoom-controls{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:8px;padding:6px 12px;border-radius:8px;background:#252a31dd;color:white;z-index:5}.image-zoom-controls button{min-width:36px}.image-viewer>a{right:20px;left:auto}

body:not([data-can-add-friends="true"]) [data-action="add-friend"],
body:not([data-can-add-friends="true"]) [data-action="request-friend"],
body:not([data-can-add-friends="true"]) [data-action="friend-accept"] {
  display: none !important;
}
