/* Mobile-first messenger layout. Android and iPhone share behavior, not native binaries. */
:root{--green:#07c160;--green-mid:#07a652;--muted:#999;--border:#e5e5e5;--canvas:#ededed;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#191919;background:#dfe2e5}
body{background:#dfe2e5}.icon-button{color:#252525;border-radius:4px}.icon-button:hover{background:#e2e2e2;color:#111}.primary,.send-button{background:#07c160;border-radius:5px;color:#fff;box-shadow:none;font-weight:500}.primary:hover,.send-button:hover{background:#06ae56;box-shadow:none}.avatar,.avatar.large{border-radius:5px}.avatar{font-weight:500}.avatar.mint{background:#a9d6bb;color:#276744}.avatar.blue{background:#9fc4e2;color:#2b5276}.avatar.apricot{background:#e9bf91;color:#80552b}.avatar.lilac{background:#c9b6e1;color:#63507c}.avatar.rose{background:#e7b3bd;color:#885361}.eyebrow{color:#999;letter-spacing:0}
/* A preview switch on computers; real phones use their full viewport and safe areas. */
.device-toolbar{height:52px;display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:720px;padding:0 20px;margin:auto;font-size:12px;color:#687178}.device-toolbar b{color:#252a2d;font-weight:600}.device-toolbar>div{display:flex;background:#cdd2d5;border-radius:6px;padding:3px;gap:2px}.device-toolbar button{font-size:11px;padding:6px 11px;border-radius:4px;color:#677075}.device-toolbar button.active{background:#fff;color:#20282a;box-shadow:0 1px 4px #0001}.app-shell{width:430px;max-width:100%;height:calc(100dvh - 76px);max-height:930px;min-height:420px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;background:#ededed;border:1px solid #c5cbd0;border-radius:14px;overflow:hidden;box-shadow:0 14px 50px #25374218;position:relative;margin:auto}.sidebar{grid-column:1;grid-row:1;border:0;min-height:0;overflow:hidden;background:#fff}.rail{grid-column:1;grid-row:2;padding:0 0 env(safe-area-inset-bottom);height:auto;background:#f7f7f7;border:0;border-top:1px solid #dadada;display:block;z-index:4}.rail-links{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0;width:100%}.rail-button{width:100%;height:62px;border-radius:0;gap:4px;justify-content:center;padding:7px 0 6px;color:#1e1e1e}.rail-button>.icon{width:25px;height:25px;stroke-width:1.7}.rail-button span{font-size:10px;line-height:1.1}.rail-button.active,.rail-button:hover{background:transparent;color:#07b75a}.rail-button.active>.icon{fill:#07c16012;stroke-width:2}.rail-button i{right:calc(50% - 20px);top:6px;background:#fa5151;width:8px;height:8px}.rail-logo,.rail-bottom{display:none}.chat-panel{display:none}.app-shell.chat-open{display:flex;flex-direction:column}.chat-open .rail,.chat-open .sidebar{display:none}.chat-open .chat-panel{display:flex;flex:1;height:100%;min-height:0;width:100%}.empty-state{display:none}
/* Chat list and contacts */
.sidebar-header{height:60px;min-height:60px;padding:0 16px 0 19px;background:#ededed;position:relative;border:0;align-items:center}.sidebar-header h1{font-size:19px;font-weight:550;margin:0;letter-spacing:0}.sidebar-caption{display:none}.header-buttons{display:flex;gap:7px;align-items:center}.sidebar-header .icon-button{width:32px;height:34px;background:transparent;border-radius:0}.sidebar-header .icon-button .icon{width:22px;height:22px}.search-box{height:33px;min-height:33px;border:0;margin:0;background:#dedede;border-radius:6px;padding:0 11px;width:calc(100% - 22px);align-self:center;gap:7px;outline:6px solid #ededed;position:relative;z-index:1}.search-box>.icon{width:15px;height:15px;color:#8e8e8e}.search-box input{font-size:13px;color:#333;height:100%}.search-box input::placeholder{color:#969696}.sidebar-section{background:#ededed;padding:9px 16px 8px;min-height:21px;font-size:10px;color:#aaa;letter-spacing:0}.sidebar-section>span{visibility:hidden}.conversation-list{padding:0;scrollbar-width:none;overflow-x:hidden}.conversation{padding:14px 15px;gap:12px;border-radius:0;margin:0;width:100%;min-height:77px;align-items:center;background:#fff}.conversation:after{content:"";position:absolute;left:76px;right:0;bottom:0;height:1px;background:#efefef}.conversation:hover,.conversation.selected{background:#fafafa}.conversation.selected:before{display:none}.conversation.pinned{background:#f4f4f4}.conversation .avatar{width:49px;height:49px;font-size:20px;border-radius:5px}.conversation-top{padding-top:0}.conversation-top b{font-size:16px;font-weight:400;letter-spacing:0;color:#181818}.conversation-top time{font-size:10px;color:#b2b2b2}.conversation-content{padding-top:0}.conversation-bottom{margin-top:8px;gap:5px;min-height:16px}.conversation-bottom>span{font-size:12px;color:#999}.conversation-bottom>.icon{width:13px;height:13px;color:#b3b3b3}.conversation .badge{position:absolute;right:-5px;top:-5px;min-width:17px;height:17px;border-radius:9px;background:#fa5151;border:1px solid #fff;font-size:10px;line-height:15px;padding:0 4px;color:#fff;font-style:normal;z-index:2}.conversation .badge.muted-badge{min-width:9px;width:9px;height:9px;padding:0;top:-2px;right:-2px}.online-dot,.group-label{display:none}.sidebar-note{display:none}.connection-status{background:#f6f6f6;padding:5px 15px;min-height:21px;flex:none;font-size:8px;color:#aaa;border-top:1px solid #efefef}.connection-status i.live{background:#07c160}.connection-status>span:last-child{display:none}.list-empty{font-size:13px;color:#9b9b9b}.list-empty small{font-size:11px}.list-empty>.icon{color:#ccc}.contact-item{padding:12px 17px;border-radius:0;gap:12px;position:relative;min-height:69px}.contact-item:after{content:"";position:absolute;bottom:0;left:72px;right:0;height:1px;background:#efefef}.contact-item:hover{background:#f8f8f8}.contact-item .avatar{width:42px;height:42px;border-radius:4px}.contact-item b{font-size:15px;font-weight:400;color:#191919}.contact-item small{font-size:10px;color:#a3a3a3;margin-top:5px}.contact-item>.icon{width:15px;height:15px;color:#bcbcbc}.contact-section,.request-heading{background:#ededed;color:#969696;font-size:11px;padding:8px 16px}.request-card{background:#fff;border-radius:0;margin:0;padding:15px 18px;border-bottom:1px solid #ededed}.request-card b{font-size:14px;font-weight:400}.request-card small{font-size:11px;color:#999}.request-actions .small-button{background:#07c160;font-size:12px;padding:5px 17px;border-radius:4px}.request-actions .text-link{font-size:12px;color:#999}.request-card .avatar{width:44px;height:44px}
/* Android chat */
.chat-panel{background:#ededed}.chat-header{height:62px;min-height:62px;background:#ededed;padding:0 9px 0 3px;border-bottom:1px solid #dcdcdc;gap:3px}.chat-person{gap:1px;min-width:0;flex:1}.chat-person #back-list{display:inline-flex;width:39px;height:42px;flex:none}.chat-person #back-list .icon{width:22px;height:22px}.chat-person>div{min-width:0}.chat-person h2{font-size:17px;font-weight:500;margin:0 0 4px;max-width:240px;letter-spacing:0}.chat-person h2 small{font-size:14px;margin-left:0;color:#303030;font-weight:400}.chat-person p{font-size:9px;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:235px}.chat-person p i{display:none}.chat-actions{gap:0}.chat-actions .icon-button{width:31px;height:35px}.chat-actions .icon-button .icon{width:19px;height:19px}.retention-strip{background:#fff9e8;color:#a28c55;padding:7px 13px;min-height:29px;gap:5px}.retention-strip>.icon{width:12px;height:12px}.retention-strip button{margin:0;color:#a28c55;font-size:10px;gap:4px}.retention-strip button .icon{width:12px;height:12px}.demo-strip{background:#e7f0e5;color:#8b9b86;font-size:8px;padding:5px 8px;line-height:1.4;letter-spacing:0}.message-scroll{background:#ededed;background-image:none;padding:17px 12px 21px;scrollbar-width:none}.history-note{display:none}.date-divider{margin:9px 0 20px}.date-divider span{background:#d5d5d5;border-radius:3px;color:#fff;font-size:10px;padding:3px 8px}.message{gap:9px;margin:0 0 18px;animation:none}.message>.avatar{width:39px;height:39px;border-radius:4px;font-size:16px}.message-main{max-width:calc(100% - 62px);align-items:flex-start}.bubble{position:relative;background:#fff;border:0;border-radius:4px!important;padding:10px 12px;font-size:15px;line-height:1.6;color:#1c1c1c;box-shadow:none;min-height:40px}.text-bubble:before{content:"";position:absolute;left:-6px;top:14px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:7px solid #fff}.mine .bubble{background:#95ec69;border:0;border-radius:4px;color:#111}.mine .text-bubble:before{left:auto;right:-6px;border-right:0;border-left:7px solid #95ec69}.message-meta{font-size:8px;color:#aeb0b2;min-height:10px;margin-top:4px;padding:0;gap:6px}.message-meta>.icon{display:none}.sender-name{color:#929292;font-size:10px;margin-bottom:5px}.revoke-button{opacity:1;font-size:8px;color:#a9a9a9}.image-bubble{border-radius:4px;max-width:240px}.image-bubble img{max-height:280px}.file-bubble{min-width:228px;max-width:100%;gap:9px;background:#fff!important;padding:13px}.file-symbol{width:39px;height:46px;border-radius:4px;background:#f1f1f1!important;color:#8b8b8b}.file-bubble b{font-size:13px;font-weight:400;color:#242424}.file-bubble small{font-size:10px;color:#aaa}.file-bubble>.icon{width:15px;height:15px;color:#aaa}.voice-bubble{width:240px;padding:9px 12px}.voice-label{font-size:12px}.voice-label span{font-size:10px;color:#638a4e}.voice-bubble audio{height:31px}.call-bubble{font-size:12px;gap:8px}.system-message{font-size:10px;color:#aaa}.chat-empty{color:#a5a5a5;font-size:12px;line-height:1.9}.load-earlier{border:0;color:#6f85a5;font-size:11px}
/* Compact composer; all icons are functional. */
.composer{background:#f7f7f7;border-top:1px solid #d6d6d6;padding:4px 10px max(8px,env(safe-area-inset-bottom));min-height:88px}.composer-toolbar{height:32px;min-height:32px;padding:0}.composer-toolbar>div{gap:12px;margin:0}.composer-toolbar .icon-button{width:29px;height:29px;color:#444}.composer-toolbar .icon-button .icon{width:20px;height:20px}#typing-status{font-size:9px;color:#aaa}.composer #message-form{display:flex;align-items:flex-end;gap:8px;padding-top:4px}.composer #message-input{flex:1;min-height:37px;height:37px;max-height:100px;overflow-y:auto;border:1px solid #e2e2e2;background:#fff;border-radius:5px;padding:7px 10px;font-size:15px;line-height:21px;box-shadow:none}.composer-bottom{display:block;flex:none}.composer-bottom>div{display:block}.composer-bottom small,.composer-bottom>span{display:none}.send-button{background:#07c160;padding:8px 13px;min-height:37px;font-size:14px;border-radius:4px}.send-button:hover{background:#06ad56}.emoji-panel{left:10px;bottom:95px;width:calc(100% - 20px);grid-template-columns:repeat(8,1fr);background:#f5f5f5;border:1px solid #ddd;box-shadow:0 4px 25px #0001;border-radius:7px}.emoji-panel button{font-size:25px;padding:8px 3px}.emoji-panel button:hover{background:#e5e5e5}#upload-progress{font-size:11px;color:#777;padding:7px}#recording-panel{min-height:75px;gap:11px;padding:8px 4px}#recording-panel b{font-size:12px}#recording-panel small{font-size:9px;color:#999}#recording-panel .primary{font-size:11px;min-height:35px;padding:8px 10px}.record-pulse{background:#fa5151;box-shadow:0 0 0 5px #fa515115}#recording-panel .text-link{font-size:11px}.drag-over:after{background:#eaf7eff5;border-color:#07c160;color:#05964a;font-size:17px;border-radius:6px}
/* Discovery and account pages use familiar grouped mobile settings rows. */
.sidebar.hub-page{background:#ededed}.hub-page .sidebar-section,.hub-page .connection-status{display:none}.hub-page .conversation-list{padding-top:8px}.hub-section{margin-bottom:10px;background:#fff}.hub-row{display:flex;align-items:center;gap:14px;width:100%;background:#fff;padding:16px 18px;text-align:left;position:relative;min-height:57px;font-size:15px;font-weight:400}.hub-row:after{content:"";position:absolute;bottom:0;left:58px;right:0;height:1px;background:#eee}.hub-row:last-child:after{display:none}.hub-row:hover{background:#f9f9f9}.hub-row>span:nth-child(2){flex:1}.hub-row>.icon:last-child{width:16px;height:16px;color:#bcbcbc;margin-left:auto}.hub-row>small{font-size:12px;color:#aaa;margin-left:auto}.row-symbol{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex:none}.row-symbol .icon{width:23px;height:23px}.row-symbol.green{color:#07b45a}.row-symbol.orange{color:#efa43b}.row-symbol.blue{color:#4c87d1}.contact-entry{padding:13px 17px;gap:12px}.contact-entry .row-symbol{width:42px;height:42px;border-radius:4px;color:#fff}.contact-entry .green{background:#07c160}.contact-entry .orange{background:#f6ae45}.contact-entry .row-symbol .icon{width:26px;height:26px}.contact-entry>span:nth-child(2){font-size:14px}.inline-badge{background:#fa5151;color:#fff;font-size:10px;font-style:normal;border-radius:8px;padding:2px 5px;margin-left:5px}.hub-caption{font-size:11px;line-height:1.9;color:#aaa;padding:15px 20px;text-align:center}.me-card{width:100%;padding:25px 19px 32px;background:#fff;text-align:left;display:flex;align-items:center;gap:16px;margin-bottom:10px}.me-card .avatar{width:62px;height:62px;font-size:27px;flex:none;border-radius:7px}.me-card>span:nth-child(2){min-width:0;flex:1}.me-card b{display:block;font-size:20px;font-weight:550;margin-bottom:11px}.me-card small{font-size:12px;color:#9a9a9a;display:block;overflow-wrap:anywhere}.me-card>.icon{width:16px;height:16px;color:#bbb}.self-shortcut{display:flex;align-items:center;gap:12px;background:#f6f6f6;border:1px solid #e6e6e6;border-radius:6px;text-align:left;padding:13px;width:100%;margin-top:22px}.self-shortcut>span:nth-child(2){flex:1;min-width:0}.self-shortcut b{display:block;font-size:12px;font-weight:500}.self-shortcut small{display:block;font-size:10px;color:#999;margin-top:6px;overflow-wrap:anywhere}.self-shortcut>.icon{width:14px;height:14px;color:#aaa}.setting-row{display:flex!important;align-items:center;justify-content:space-between;font-size:14px!important;font-weight:400!important;padding:16px 0!important;margin:0!important;border-bottom:1px solid #eee}.setting-row input{appearance:none;-webkit-appearance:none;position:relative;width:43px;height:25px;background:#ddd;border-radius:15px;cursor:pointer;outline:0}.setting-row input:before{content:"";position:absolute;width:21px;height:21px;border-radius:50%;background:#fff;top:2px;left:2px;box-shadow:0 1px 3px #0002;transition:transform .18s}.setting-row input:checked{background:#07c160}.setting-row input:checked:before{transform:translateX(18px)}.setting-row input:focus-visible{outline:2px solid #07c160;outline-offset:3px}.style-option{display:flex;justify-content:space-between;align-items:center;padding:17px;width:100%;border-bottom:1px solid #ededed;font-size:14px;background:#fff}.style-option.selected{color:#07ad56}.style-option .icon{width:18px;height:18px}
/* Forms and modal sheets */
dialog{width:min(400px,calc(100vw - 28px));border:0;border-radius:11px;background:#fff;color:#191919;padding:24px;max-height:calc(100dvh - 34px);box-shadow:0 10px 70px #0002}dialog::backdrop{background:#0006;backdrop-filter:none}.dialog-heading h2{font-size:19px;font-weight:550;color:#191919;margin:0}.dialog-heading .eyebrow{display:none}.dialog-description{color:#8f8f8f;font-size:12px;margin:15px 0 20px}.dialog-tabs{background:#ededed;border-radius:5px;margin-top:20px}.dialog-tabs button{color:#999;border-radius:3px;font-size:13px}.dialog-tabs button.active{color:#07ab55;background:white;box-shadow:none}dialog .primary{background:#07c160;border-radius:5px;margin-top:15px}dialog .primary:hover{background:#06ad56}dialog label{font-size:13px}dialog input:not([type=checkbox]),dialog select{border-radius:5px;border-color:#e5e5e5;color:#222;font-size:14px}.soft-note{background:#f5f5f5;color:#999;border-radius:5px;padding:13px;font-size:11px;line-height:1.7}.soft-note b{color:#666}.field-help{color:#999;font-size:10px}.privacy-hero{background:#e9f6ef;color:#64a87e;border-radius:7px}.privacy-hero b{color:#07ae58;font-family:inherit}.privacy-hero p{font-size:11px}.detail-text p{color:#888;font-size:12px}.detail-text b{color:#333}.profile-detail h3{color:#333;font-size:20px}.profile-detail p{color:#999}.danger-outline{border-color:#eee;color:#e65757;border-radius:5px;font-size:14px}.member-grid{grid-template-columns:repeat(4,1fr);padding:10px 0}.member-grid span:last-child{color:#777;font-size:11px}.group-choice{border-radius:4px;background:#f5f5f5}.group-choice input{accent-color:#07c160}.image-dialog{width:min(900px,calc(100vw - 24px))}.history-search{display:flex;align-items:center;gap:8px}.history-search input{margin:0!important;min-width:0;flex:1}.history-search .primary{margin:0;min-height:44px;padding:10px 15px;font-size:13px}.history-result{padding:17px 0;border-bottom:1px solid #eee}.history-result>div{display:flex;gap:10px;align-items:center}.history-result .avatar{width:31px;height:31px;font-size:12px;border-radius:4px}.history-result>div>span:nth-child(2){flex:1;display:flex;align-items:center;justify-content:space-between;gap:9px}.history-result b{font-size:12px;font-weight:400}.history-result small{font-size:9px;color:#aaa}.history-result p{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;color:#555}.history-result a{font-size:11px;color:#576b95;display:flex;gap:5px;margin-top:10px;align-items:center;overflow-wrap:anywhere}.history-result a>.icon{width:14px;height:14px}.toast{background:#333e;border:0;color:#fff;border-radius:7px;font-size:13px;box-shadow:none;backdrop-filter:none}.toast.bad{background:#933d35ee}
.feedback-dialog textarea{display:block;width:100%;resize:vertical;background:#f9f9f9;border:1px solid #e5e5e5;border-radius:5px;padding:10px;font:inherit;font-size:14px;color:#222;line-height:1.7;margin-top:8px}.feedback-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 5px}.feedback-heading h3{font-size:15px;font-weight:500}.feedback-card{padding:17px 0;border-bottom:1px solid #eee;overflow-wrap:anywhere}.feedback-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.feedback-card b{font-size:13px;font-weight:500}.feedback-card small{font-size:10px;color:#999}.feedback-card>div:first-child>small{color:#08a253;background:#e9f6ee;padding:4px 6px;border-radius:3px;white-space:nowrap}.feedback-card p{white-space:pre-wrap;font-size:13px;line-height:1.8;color:#666;margin:10px 0}.feedback-reply{background:#f1f8f3;padding:12px;border-radius:5px;margin:10px 0}.feedback-reply b{color:#079d4e;font-size:11px}.feedback-reply p{margin-bottom:0}.feedback-date{display:block;margin-top:12px}
/* Email account flow keeps the requested custom registration rules. */
.auth-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:26px;background:#ededed}.auth-story{display:none}.auth-panel{width:430px;max-width:100%;padding:43px 32px;background:#fff;border:1px solid #e3e3e3;border-radius:10px;min-height:600px}.auth-form-wrap,.auth-form-wrap.wide-form{max-width:100%}.mini-logo{display:flex;width:55px;height:55px;background:#07c160;color:#fff;border-radius:10px;margin:0 auto 31px}.mini-logo>.icon{width:30px;height:30px}.wide-form .mini-logo{display:none}.auth-form-wrap h2{font-size:24px;font-weight:500;color:#191919;text-align:center;margin-bottom:14px}.form-subtitle{font-size:12px;color:#999;text-align:center;line-height:1.8;margin-bottom:30px}.auth-form-wrap label{font-size:13px;color:#555;font-weight:400}.auth-form-wrap input,select{border-radius:4px;background:#f9f9f9;border-color:#e5e5e5;font-size:14px;min-height:46px}.form-between{font-size:11px;color:#aaa}.text-link{color:#576b95;font-weight:400;font-size:12px}.auth-form-wrap .primary{margin-top:10px;font-size:15px;min-height:45px}.form-switch{color:#aaa;font-size:12px}.demo-button{border:0;color:#576b95;font-size:13px;background:transparent}.demo-button:hover{background:#f4f4f4}.auth-privacy{font-size:10px;color:#aaa;margin-top:25px}.security-heading{font-size:13px;color:#555;margin-top:25px}.question-row{grid-template-columns:1fr 1fr;gap:8px}.question-row label{font-size:11px}.question-row input,.question-row select{font-size:11px;min-height:39px;padding:8px}.form-grid{grid-template-columns:1fr;gap:0}.form-grid label{margin-top:14px}.form-error{font-size:12px;color:#e14e4e}
/* Calls share the native-inspired full mobile dialog. */
#call-dialog{width:min(430px,calc(100vw - 16px));padding:23px 17px;background:#242c29;border-radius:12px;color:#fff;border:0}.call-stage{height:min(46dvh,360px);background:#333d38;margin:24px 0 10px;border-radius:7px}.call-controls{gap:29px}.call-control.accept>.icon{background:#07c160}.call-control.danger>.icon{background:#fa5151}.call-control>.icon{background:#4c5651}.call-protection{color:#929b95!important}.call-footnote{color:#8c9790;font-size:9px;margin-top:29px}#call-person h2{font-size:22px}#call-person p{color:#aeb5b0}.call-stage #local-video{width:92px;height:130px;border-radius:5px}
/* iPhone-specific navigation and spacing; same working screens and APIs. */
html[data-platform=ios] .sidebar-header{height:57px;min-height:57px;justify-content:center}.sidebar-header>div:first-child{min-width:0}html[data-platform=ios] .sidebar-header h1{font-size:18px;font-weight:600;text-align:center}html[data-platform=ios] .header-buttons{position:absolute;right:12px;top:11px}html[data-platform=ios] .header-buttons #focus-search{display:none}html[data-platform=ios] .chat-header{height:61px;min-height:61px;position:relative}html[data-platform=ios] .chat-person>div{position:absolute;left:55px;right:100px;text-align:center;pointer-events:none}html[data-platform=ios] .chat-person h2{font-size:16px;font-weight:600;max-width:none}html[data-platform=ios] .chat-person p{font-size:8px;max-width:none}html[data-platform=ios] .chat-person #back-list{color:#191919}html[data-platform=ios] .rail-button{height:65px}html[data-platform=ios] .rail-button>.icon{width:26px;height:26px}html[data-platform=ios] .rail-button span{font-size:10px}html[data-platform=ios] .search-box{border-radius:9px;background:#dedee0}html[data-platform=ios] .conversation{min-height:79px;padding-top:15px;padding-bottom:15px}html[data-platform=ios] .composer #message-input{border-radius:6px}html[data-platform=ios] .app-shell{border-radius:24px}html[data-platform=ios] .auth-form-wrap h2{font-weight:550}html[data-platform=ios] dialog{border-radius:14px}
@media(max-width:760px){body,#root{background:#ededed}.device-toolbar{display:none}.app-shell,html[data-platform=ios] .app-shell{width:100%;max-width:none;height:100dvh;min-height:0;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none}.rail{grid-column:1;grid-row:2;position:relative;display:block;padding:0 0 env(safe-area-inset-bottom);background:#f7f7f7}.sidebar{grid-column:1;grid-row:1}.chat-open .rail,.chat-open .sidebar{display:none}.chat-open .chat-panel{height:100%;min-height:0}.rail-button{height:59px}.auth-page{padding:0;background:#fff;display:block;min-height:100dvh}.auth-panel{width:100%;border:0;border-radius:0;min-height:100dvh;padding:35px 28px;align-items:center}.auth-form-wrap{max-width:390px}.auth-form-wrap.wide-form{max-width:430px}.wide-form .auth-privacy{margin-bottom:15px}.mini-logo{display:flex}.auth-form-wrap h2{font-size:24px}.chat-person h2{max-width:175px}.chat-person p{max-width:190px}.chat-actions .icon-button{width:29px}.chat-actions .icon-button .icon{width:18px}.message>.avatar{width:37px;height:37px}.bubble{font-size:15px}.message-main{max-width:calc(100% - 57px)}.voice-bubble{width:232px}.conversation .avatar{width:48px;height:48px}.conversation-top b{font-size:16px}.conversation-top time{font-size:10px}.conversation-bottom>span{font-size:12px}.conversation.selected{background:#fff}.conversation.pinned{background:#f4f4f4}.composer-toolbar>div{gap:13px}.message-scroll{padding:17px 11px}.image-bubble{max-width:235px}.chat-header{padding-right:6px}.call-stage{height:46dvh}html[data-platform=ios] .rail-button{height:62px}dialog{max-height:calc(100dvh - 36px);padding:22px}.form-grid{grid-template-columns:1fr}}
@media(max-width:355px){.chat-actions .icon-button{width:25px}.chat-person h2{max-width:145px}.chat-person p{max-width:155px}.chat-person #back-list{width:31px}.voice-bubble{width:208px}.file-bubble{min-width:200px}.bubble{font-size:14px}.question-row{grid-template-columns:1fr}.composer-toolbar>div{gap:10px}}
.profile-id{display:block;overflow-wrap:anywhere;font-size:11px;color:#8a948e;line-height:1.7;margin:10px 0}
