:root{--green:#0a9565;--ink:#26353d;--muted:#7c878e;--line:#e3e7e9;--paper:#f5f6f7;--size:15px}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:var(--size)/1.6 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;background:#f7f8f9}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-app-region:no-drag}button{border:1px solid var(--line);border-radius:7px;background:white;color:inherit;padding:7px 12px;cursor:pointer}button:hover{background:#edf5f0}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:2px}input,textarea,select{border:1px solid #dce2e5;border-radius:7px;padding:9px 11px;background:white;color:inherit;max-width:100%}textarea{resize:vertical}a{color:var(--green)}h1,h2,h3,p{margin:0 0 12px}h1{font-size:24px}h2{font-size:19px}h3{font-size:16px}.loading{padding:40px}.primary{background:var(--green);color:white;border-color:var(--green)}.danger{color:#b84141}.muted{color:var(--muted);font-size:13px}.small{font-size:12px}.row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.row.spread{justify-content:space-between}.stack{display:grid;gap:12px}.grow{flex:1;min-width:0}.card{background:white;border:1px solid var(--line);border-radius:10px;padding:17px;margin:12px 0}.formfield{display:grid;gap:5px;margin:12px 0}.formfield span{font-size:13px;color:var(--muted)}.login{max-width:430px;margin:8vh auto;padding:30px;background:white;border:1px solid var(--line);border-radius:15px}.shell{height:100dvh;display:grid;grid-template-columns:72px 300px minmax(0,1fr);overflow:hidden}.rail{background:linear-gradient(#e8d9e4,#ddddeb);padding:21px 7px;display:flex;flex-direction:column;align-items:stretch;gap:9px;-webkit-app-region:drag}.rail button{border:0;background:transparent;font-size:13px;padding:10px 2px}.rail button.active{background:#ffffff99;color:var(--green)}.rail .avatar{margin:7px auto 18px}.rail .bottom{margin-top:auto}.avatar{width:42px;height:42px;border-radius:8px;background:#5aa58e;color:white;display:grid;place-items:center;flex-shrink:0;font-size:16px;object-fit:cover}.list-pane{border-right:1px solid var(--line);background:#fafafb;display:flex;flex-direction:column;overflow:hidden}.list-head{padding:20px 15px 12px;border-bottom:1px solid var(--line);-webkit-app-region:drag}.list-head input{width:100%;margin-bottom:10px}.list-head .row{gap:5px}.list-scroll{overflow:auto;flex:1}.conversation{display:flex;gap:12px;padding:14px 15px;cursor:pointer;border-bottom:1px solid #eef0f1}.conversation:hover{background:#f0f2f3}.conversation.active{background:#e5ebe8}.conversation strong{font-weight:550}.conversation p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0;color:var(--muted);font-size:13px}.badge{background:#df5c5c;color:white;border-radius:10px;padding:0 6px;font-size:11px;float:right}.draft{color:#bd6a39}.thread{min-width:0;display:flex;flex-direction:column;height:100dvh;background:#f3f4f5}.thread-head{padding:15px 22px;border-bottom:1px solid var(--line);background:#fafafa;min-height:78px;-webkit-app-region:drag}.thread-head h2{margin:0;font-weight:550}.thread-head .muted{min-height:20px}.thread-head .row{flex-wrap:nowrap}.messages{flex:1;overflow:auto;padding:22px;overscroll-behavior:contain}.empty{margin:auto;text-align:center;padding:35px;color:#8b959b}.empty strong{font-size:24px;display:block;color:#46a58a;margin-bottom:10px}.message{display:flex;align-items:flex-start;gap:10px;margin:16px 0;scroll-margin:80px}.message.mine{flex-direction:row-reverse}.message .bubblebox{max-width:78%;min-width:80px}.message .byline{font-size:11px;color:#929a9f;margin:0 0 4px}.message.mine .byline{text-align:right}.bubble{background:white;border:1px solid #e8ebec;border-radius:9px;padding:10px 13px;overflow-wrap:anywhere;white-space:pre-wrap;user-select:text}.mine .bubble{background:#aaeb91;border-color:#a3e08b}.bubble img{display:block;max-width:260px;max-height:260px;border-radius:5px;cursor:zoom-in}.bubble video{max-width:100%;max-height:280px}.bubble audio{max-width:100%;width:250px}.message .actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px;opacity:.6}.message .actions button{font-size:11px;padding:1px 5px;border:0;background:transparent}.message:hover .actions{opacity:1}.message.highlight .bubble{outline:3px solid #e7be5d}.quote{border-left:3px solid #b7c3c6;background:#00000005;padding:5px 9px;margin-bottom:8px;font-size:12px;color:#738087;cursor:pointer}.status{font-size:11px;color:#7b898d;margin-top:3px}.status.error{color:#b74242}.compose{padding:10px 20px 16px;background:white;border-top:1px solid var(--line);padding-bottom:max(16px,env(safe-area-inset-bottom))}.compose .tools{display:flex;gap:5px;flex-wrap:wrap}.tools button{border:0;padding:4px 8px;color:#6f7b80;font-size:13px}.compose :is(textarea,.chat-editor){width:100%;min-height:72px;max-height:180px;border:0;outline:0;padding:9px 2px;background:transparent;resize:none}.compose .send-row{display:flex;justify-content:space-between;align-items:center;gap:8px}.hold{touch-action:none;user-select:none;min-width:125px}.hold.recording{background:#d9f2e7;color:#08734d}.hold.cancel{background:#fce5e4;color:#a53434}.checkline{display:flex;align-items:center;gap:8px;margin:10px 0}.content-page{grid-column:2 / 4;overflow:auto;padding:28px;max-height:100dvh}.content-page>section{max-width:950px;margin:auto}.dialog-shade{position:fixed;inset:0;z-index:21000;background:#21343b60;display:grid;place-items:center;padding:20px}.dialog{width:min(680px,100%);max-height:90dvh;overflow:auto;background:white;border-radius:13px;box-shadow:0 20px 70px #12242b30;padding:22px}.dialog.wide{width:min(1000px,100%)}.dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.dialog header h2{margin:0}.dialog pre{white-space:pre-wrap;overflow-wrap:anywhere}.dialog .gallery{display:block;max-width:100%;max-height:64dvh;margin:auto;object-fit:contain;touch-action:pinch-zoom}.dialog .choice{display:flex;align-items:center;gap:10px;padding:9px;border-bottom:1px solid var(--line)}.dialog .choice input{width:18px;height:18px}.result{padding:11px;border-bottom:1px solid var(--line);cursor:pointer}.result:hover{background:#f3f7f4}.network{font-size:12px;color:#6f7f83;padding:6px 15px;background:#eef3f1}.network.offline{color:#9b633c;background:#fff0d7}.selectbox{margin-top:12px}.progress{height:4px;background:#d9eae2;border-radius:2px;overflow:hidden}.progress i{display:block;height:100%;background:#0ca66c}.privacy{padding:8px 0;color:#77848a;font-size:12px}.h5-center-button{display:none!important}#toast{position:fixed;z-index:35000;top:20px;left:50%;transform:translateX(-50%);background:#263c37;color:white;border-radius:8px;max-width:85vw;padding:0;white-space:pre-wrap}#toast:not(:empty){padding:10px 18px}.h5-call-mini{inset:auto 15px 15px auto;width:280px;display:block;padding:0;background:transparent;pointer-events:none}.h5-call-mini .h5-panel{pointer-events:auto;max-height:270px;padding:12px}.h5-call-mini .h5-panel h2,.h5-call-mini details{display:none}.h5-call-mini .h5-videos{min-height:100px;margin:5px 0}.h5-call-mini .h5-videos video{max-height:120px}.h5-call-mini .h5-action{font-size:10px;padding:2px 5px}.mobile-back{display:none}.two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.settings-nav{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.record-meter{height:8px;background:#f0f3f4;overflow:hidden;border-radius:4px}.record-meter i{display:block;background:var(--green);height:100%;width:0}body.large{--size:19px}body.dark{--ink:#d8e0e2;--muted:#a4b0b6;--line:#455359;--paper:#28363c;background:#28363c}.dark .thread,.dark .messages{background:#253137}.dark .list-pane,.dark .thread-head{background:#303f46}.dark .card,.dark .dialog,.dark .compose,.dark .bubble,.dark input,.dark select,.dark textarea,.dark button{background:#34454c;color:var(--ink)}.dark .mine .bubble{background:#315a43}.dark .conversation.active{background:#40554d}.dark .rail{background:#394248}.wallpaper .messages{background:var(--wallpaper,#eef5f1)}
@media(max-width:800px){.shell{grid-template-columns:62px 255px minmax(0,1fr)}.thread-head{padding:12px}.thread-head button{padding:6px}.thread-head button span{display:none}.messages{padding:12px}.compose{padding:10px}.message .bubblebox{max-width:82%}}@media(max-width:620px){.shell{grid-template-columns:55px minmax(0,1fr)}.thread{display:none}.shell.open-chat .rail,.shell.open-chat .list-pane{display:none}.shell.open-chat .thread{display:flex;grid-column:1 / 3}.mobile-back{display:block}.content-page{grid-column:2;padding:18px 12px}.rail{padding:12px 3px}.rail button{font-size:11px}.rail .avatar{width:35px;height:35px;font-size:13px}.list-head{padding-top:18px}.thread-head{min-height:67px}.message .avatar{width:33px;height:33px;font-size:13px}.message .bubblebox{max-width:83%}.bubble{padding:8px 10px}.bubble img{max-width:220px}.compose :is(textarea,.chat-editor){min-height:60px}.dialog-shade{padding:9px}.dialog{padding:16px;max-height:94dvh}.two{grid-template-columns:1fr}.login{margin:6vh 15px}.thread-head h2{font-size:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.h5-rtc{z-index:24000!important}.thread-head h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.primary:hover{background:#087d55;border-color:#087d55;color:white}

.messages{min-height:0;overflow-anchor:none}.bubble img{height:auto}.bubble img.inline-emoji{display:inline-block;width:28px;height:28px;max-width:28px;max-height:28px;margin:0 2px;vertical-align:middle;cursor:default;object-fit:contain}.classic-emojis{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:5px;max-height:210px;overflow:auto;margin:10px 0 18px}.classic-emojis button{padding:6px}.classic-emojis img{display:block;width:28px;height:28px;object-fit:contain}.image-failed{min-width:180px;min-height:65px;color:#a64436}

.seeyou-clipboard-probe{position:fixed;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none}

/* Keep optional login fields out of the compact device authorization view. */
.login [hidden]{display:none!important}

.login-verification { margin-block: 12px; }
.login-verification > p { margin: 0 0 8px; }
.login .registration-email-hint { margin: -6px 0 12px; font-size: .875rem; }
.login-verification > .registration-delivery-status { margin: 8px 0 0; font-size: .875rem; }
.registration-delivery-status:empty { display: none; }
.registration-mail-help { width: min(460px, 100%); }
.registration-mail-help .row { align-items: center; }
.registration-mail-help textarea { width: 100%; resize: vertical; }
.account-switch-current, .account-switch-option { display: grid; gap: 2px; text-align: left; overflow-wrap: anywhere; }
.account-switch-current { border: 1px solid var(--line); border-radius: 12px; padding: 10px 13px; }
.account-switch-current small, .account-switch-option small { color: var(--muted); }
.account-switch-choices { display: grid; gap: 8px; margin-top: 12px; }
.account-switch-choices > button { min-height: 44px; }

.qr-card-image { display: block; width: auto; height: auto; max-width: 100%; margin: 16px auto; image-rendering: pixelated; }
.qr-scan-status { margin: 0 0 10px; }
.qr-scan-controls { gap: 8px; }
.qr-scan-controls button { min-height: 44px; }
.qr-scan-video { margin-top: 12px; width: 100%; max-height: min(50dvh, 400px); border-radius: 12px; background: #24212d; }
.qr-scan-video[hidden] { display: none; }
