/* Yunliao 0.6.44. Presentation only: existing controls, APIs and account state stay intact. */
:root {
  --accent:#315cc9; --ink:#202d43; --muted:#657389;
  --line:#e7ebf2; --hover:#f0f3f8;
  --yl-canvas:#f5f7fa; --yl-soft:#edf2fc; --yl-radius:12px;
}
body {font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;letter-spacing:0;color:var(--ink);background:var(--yl-canvas)}
button {border-radius:9px;transition:background-color .12s,color .12s;touch-action:manipulation}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:2px solid var(--accent);outline-offset:2px}
button:disabled {opacity:.45}
input,select {color:var(--ink);background:#f6f8fb;border:1px solid #dfe5ef;border-radius:9px}
input::placeholder,textarea::placeholder {color:#788598;opacity:1}
dialog {border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 70px #17273f24;color:var(--ink);background:#fff}
dialog::backdrop {background:#17273f55}
dialog h2 {font-size:20px;letter-spacing:-.3px;color:var(--ink)}
dialog p {color:var(--muted)}
dialog label {color:#516077}
dialog button[type=submit],#saveSelfProfile,#sendCard,#pasteImageSend,.create-group-actions #createGroupSubmit {background:var(--accent);color:#fff}
.ui-icon {stroke-width:1.7}

/* Two compact rails retain direct access to up to 50 account sessions. */
body:not(.mobile-client) #accounts {width:60px;padding:20px 6px 14px;background:#1d2b40;border:0;align-items:center}
#accounts .brand {width:42px;height:40px;display:grid;place-items:center;margin:0 0 20px;color:#f5f8ff;font-size:22px;font-weight:650}
body:not(.mobile-client) #accountList {width:100%;padding:3px 0}
body:not(.mobile-client) #accounts #accountList .account,
body:not(.mobile-client) #accounts #addAccount {width:40px;height:40px;min-height:40px;margin:0 4px 14px;border-radius:13px;background:#34445d;color:#dce5f4;font-weight:500;box-shadow:none}
body:not(.mobile-client) #accounts #accountList .account:hover {background:#465a78}
body:not(.mobile-client) #accounts #accountList .account.active {box-shadow:0 0 0 2px #1d2b40,0 0 0 4px #9ab7ff;background:#426ad4;color:#fff}
body:not(.mobile-client) #accounts #addAccount {border:1px solid #6c7b91;background:transparent;color:#c1cede;font-size:25px;margin-top:12px;margin-bottom:0}
body:not(.mobile-client) #functionRail {flex:0 0 78px;width:78px;background:#f3f5f9;border-right:1px solid var(--line);padding:16px 7px 12px;gap:20px;scrollbar-width:thin;scrollbar-color:#c5cfdf transparent}
body:not(.mobile-client) #functionRail #changeAvatar {width:54px;height:54px;min-height:54px;padding:3px;border-radius:18px;background:white;border:1px solid #e1e7f0}
body:not(.mobile-client) #functionRail #changeAvatar .self-avatar {width:46px;height:46px;min-width:46px;border-radius:14px;background:#7592ce;font-size:21px}
#functionRail #mainNavigation {width:100%;gap:8px;margin:0;padding:0;border:0}
#functionRail .rail-nav,#functionRail #settingsButton {width:62px;min-height:62px;height:62px;border-radius:12px;color:#6c7b91;background:transparent;font-size:11px;font-weight:500;gap:6px;position:relative}
#functionRail .rail-nav:hover,#functionRail #settingsButton:hover {background:#e9edf5;color:#334b73}
#functionRail .rail-nav[aria-current=page],#functionRail #settingsButton[aria-current=page] {background:#e3ebfb;color:#2c56ba}
#functionRail .rail-nav[aria-current=page]::before {content:'';position:absolute;left:-7px;top:21px;height:20px;width:3px;border-radius:0 4px 4px 0;background:var(--accent)}
#functionRail .rail-icon.ui-icon {width:23px;height:23px}
#functionRail #settingsButton {margin-top:auto;flex-shrink:0}
.nav-badge {background:#d95469;top:4px;right:4px;font-size:10px}

/* Quiet list surfaces and a distinctly visible selected conversation. */
#conversations {border:0;background:#fff}
body:not(.mobile-client) #conversations>header {height:76px;min-height:76px;padding:25px 22px 21px;display:flex;align-items:center;justify-content:space-between;border:0}
#conversations>header>b {font-size:21px;font-weight:650;letter-spacing:.4px}
body:not(.mobile-client) #status {font-size:11px;color:#477565;background:#eef6f1;border-radius:20px;padding:4px 9px;float:none}
body:not(.mobile-client) #search {margin:0 60px 16px 18px;height:40px;min-height:40px;border:1px solid #e9edf3;border-radius:10px;background:#f5f7fa;padding:10px 13px;font-size:12px}
body:not(.mobile-client) #conversations>.quick-actions {top:76px;right:16px}
body:not(.mobile-client) #plusMenu {height:40px;width:36px;border:1px solid #e9edf3;border-radius:10px;background:#fff;color:#46638e;font-size:24px}
body:not(.mobile-client) #plusMenu:hover {background:var(--yl-soft)}
#plusActions,.room-menu {border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 10px 35px #1427421c}
#plusActions button,.room-menu button {font-size:13px;min-height:38px;color:#35445a;border-radius:7px}
#plusActions button:hover,.room-menu button:hover {background:var(--yl-soft);color:var(--accent)}
body:not(.mobile-client) .contact-tabs {margin:0 18px 10px;padding:4px;gap:2px;background:#f2f4f8;border:0;border-radius:10px;flex-shrink:0}
.contact-tabs>button {background:transparent;color:#69758a;border-radius:7px;min-height:32px;padding:6px 8px;font-size:12px}
.contact-tabs>button[aria-selected=true] {background:#fff;color:#2c4c91;box-shadow:0 1px 4px #1d315e0d;font-weight:600}
#roomList {padding:4px 10px 14px;scrollbar-color:#c9d2e0 transparent}
#roomList .room {height:76px;padding:12px 11px;margin:3px 0;gap:11px;border:0;border-radius:11px;background:#fff;color:var(--ink)}
#roomList .room:hover {background:#f3f6fb}
#roomList .list-avatar {width:46px;height:46px;border-radius:14px;background:#718dc7;font-size:19px;font-weight:500}
#roomList .room:nth-child(3n+2) .list-avatar {background:#78a598}
#roomList .room:nth-child(3n+3) .list-avatar {background:#a08db5}
#roomList .room-body {padding-right:25px}
#roomList .room-body strong {font-size:14px;line-height:21px;padding-right:14px;font-weight:600}
#roomList .room-body small {font-size:12px;line-height:18px;color:#728096;margin-top:4px;padding-right:10px}
#roomList .room-time {right:12px;top:16px;color:#758297;font-size:10px;font-variant-numeric:tabular-nums}
#roomList .room .badge {right:12px;bottom:13px;background:#5177d1;font-size:10px;min-width:18px;padding:1px 5px}
#roomList .room.pinned:not(.active) {background:#f0f4fc;box-shadow:inset 2px 0 #9aafdc}
#roomList .room.pinned:not(.active):hover {background:#e8eefb}
#roomList .room.active,#roomList .room.active:hover {background:#2b53ae;color:#fff;box-shadow:none}
#roomList .room.active small,#roomList .room.active .room-time,#roomList .room.active .friend-presence {color:#e0e9ff}
#roomList .room.active .badge {background:#fff;color:#2b53ae}
#roomList .room.pinned.active {box-shadow:inset 2px 0 #b7ccff}
#roomList .room.active .list-avatar {box-shadow:0 0 0 1px #ffffff32}
.room-pin-label {font-size:10px;font-weight:500;bottom:12px;right:11px;background:#dfe8fa;color:#47679f;padding:1px 5px}
#roomList .room.pinned .badge {right:62px}
#roomList .room.pinned .room-body small {padding-right:50px}
#roomList .room:has(.friend-presence) {height:91px}
.room-body .friend-presence {font-size:11px;line-height:15px;margin-top:4px}
.folder-heading {min-height:42px}
.folder-toggle {font-size:12px;color:#66758b;padding:10px 8px}
.folder-count {color:#758399;font-size:11px}
.folder-manage {color:#6a7890;font-size:20px;padding:5px 8px}
.contact-folder {border:0}
#conversationDivider {flex-basis:5px;width:5px;border-left:1px solid #e7ebf2;background:#f6f8fb}
#conversationDivider::after {left:1px;width:2px;height:34px;top:calc(50% - 17px);background:#d5dce8}
#conversationDivider:hover::after {background:var(--accent)}

/* Flat, high contrast messages; no wallpaper, blur, or continuous animations. */
#chatPane,#chatPane.is-chat-home {background:var(--yl-canvas);background-image:none}
#chatTitle {height:76px;min-height:76px;padding:14px 28px;border-bottom:1px solid var(--line);background:#fff;gap:12px;font-size:15px}
#chatTitle>.avatar {width:42px;height:42px;min-width:42px;border-radius:14px;background:#7994c5}
#chatTitle strong {font-size:15px;font-weight:600;color:var(--ink)}
#chatTitle small {font-size:11px;color:#64758c;line-height:1.5;margin-top:3px}
#messages {padding:28px clamp(20px,3.2vw,52px) 18px;scrollbar-color:#cbd4e0 transparent;scrollbar-gutter:stable}
.message-row {max-width:min(82%,660px);gap:10px;align-items:flex-end}
.message-row>.avatar {width:34px;height:34px;min-width:34px;border-radius:12px;background:#7c96be;font-size:13px}
.msg {margin-bottom:20px}
.message-content>small {font-size:11px;line-height:16px;color:#65738b;margin:0 2px 7px}
.message-content>small .message-timestamp {color:#7a879d;font-size:10px;font-variant-numeric:tabular-nums}
.mine .message-content>small>.message-author {display:none}
#chatTitle .group-title {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#263b5b;font-size:15px;font-weight:600;padding:3px 0}
#chatTitle>small {flex-shrink:0}
.bubble {padding:12px 16px;border:1px solid #e8edf4;border-radius:14px 14px 14px 4px;background:#fff;color:#26344a;font-size:14px;line-height:1.75;box-shadow:0 2px 3px #20365003}
.mine .bubble {background:#e8efff;border:1px solid #dce6fc;border-radius:14px 14px 4px 14px;color:#233d72}
.message-content>.read-receipt {font-size:10px;margin:5px 2px 0;color:#62779b}
.system-msg {color:#6b798e;background:#e9eef5;border-radius:7px;padding:5px 12px;font-size:11px;line-height:1.5}
.image-bubble,.mine .image-bubble {padding:4px;max-width:100%;overflow:hidden}
.image-bubble img {border-radius:10px}
.reply-quote,.mine .bubble .reply-quote {background:#f0f4fa;color:#465874;border-color:#dce5f1;border-left:3px solid #8aa4d2;border-radius:7px}
.mine .bubble .reply-quote {background:#dce7fc;border-color:#c8d8f5;border-left-color:#7594cc}
.reply-quote strong,.reply-compose strong {color:#47669d}
.contact-card {color:#345b9b}
.contact-card span {color:#667998;border-color:#d9e3f4}
.group-announcement-banner {background:#f8f6ed!important;border-color:#ebe6d5!important;color:#8a7548!important;font-size:12px!important}
.direct-pins-banner {background:#eff3fb;border-color:#e0e7f4;min-height:56px}
.direct-pins-summary {border-color:#90a7d4}
.pin-banner-jump {color:#4d6caa}
.pin-list-open {background:#fff;border-color:#dce4f2;color:#486aa9}
body:not(.mobile-client) #composer {height:196px;min-height:176px;max-height:32vh;margin:0 24px 20px;padding:0 16px 13px;border:1px solid #e0e6f0;border-radius:15px;box-shadow:0 4px 12px #243b5b04;background:#fff;grid-template-columns:minmax(0,1fr) 48px;grid-template-rows:46px auto minmax(64px,1fr);gap:0 10px}
#composer .chat-tools {height:46px;gap:4px;border-bottom:1px solid #eff2f7}
#composer .chat-tools>button {color:#687b98;min-width:36px;min-height:36px;padding:7px;border-radius:8px}
#composer .chat-tools>button .ui-icon {width:22px;height:22px}
#composer .chat-tools>button:hover {background:#eff3fc;color:var(--accent)}
#composer .chat-tools #recordsButton {font-size:13px;font-weight:500;min-height:32px;padding:7px 11px;background:#f2f5fb;color:#48669d;border-radius:8px}
#composer #text {min-height:64px;padding:14px 2px 6px;font-size:14px;line-height:1.75;color:#26344a;outline:none}
#composer #text:focus-visible {outline:none}
#composer:focus-within {border-color:#aebfe8;box-shadow:0 0 0 2px #315cc908}
#composer #send {width:42px;height:42px;border-radius:13px;background:#315cc9;box-shadow:0 3px 7px #315cc91a;align-self:end}
#composer #send:hover {background:#264eae}
#composer #send::after {content:'➤';font-size:22px;transform:rotate(-28deg)}
#composer .reply-compose {grid-row:2;grid-column:1/-1;background:#f0f4fb;border-color:#dce5f3;border-left-color:#839dcc;border-radius:8px;padding:6px 10px;margin:5px 0 0;max-height:76px;overflow:auto}
#composer #uploadState:not(:empty) {grid-row:4;padding:4px 0 0;color:#657998;font-size:11px}
#backToLatest {border-radius:13px;border-color:#dce4f0;color:#5173b8;box-shadow:0 3px 12px #243b5b12}
#chatHome {color:var(--ink);padding:32px}
.chat-home-art {width:180px;opacity:.8;margin-bottom:20px}
#chatHome h1 {font-size:23px;letter-spacing:.5px;color:#2a3b58;font-weight:550;margin:0 0 13px}
#chatHome p {font-size:13px;color:#708097;line-height:1.9}
#chatHome small {margin-top:24px;font-size:11px;color:#72829a}
#chatHome kbd {border-radius:5px;background:#fff;border-color:#dfe5f0;color:#617493}
#notice {background:#263a57;color:#fff;border:1px solid #ffffff1a;border-radius:10px;font-size:13px;box-shadow:0 8px 28px #182e4a20;max-width:calc(100vw - 32px)}

/* Information panels and profile sheets share the same spacing and readable text. */
#settingsPane,#remindersPane {background:var(--yl-canvas)}
#settingsPane>header,#remindersPane>header {height:76px;min-height:76px;border-bottom:1px solid var(--line);padding:18px 30px}
#settingsPane header strong,#remindersPane header strong {font-size:20px;color:var(--ink);font-weight:600}
.settings-content,.reminder-content {padding:28px clamp(20px,4vw,60px)}
.settings-card {border:1px solid var(--line);border-radius:14px;padding:22px 24px;max-width:900px}
.settings-card h2 {color:#65758f;font-size:12px;font-weight:600}
.settings-card button {border-radius:9px}
.settings-card #openBroadcast small,.settings-card small,.reminder-footnote {color:#738198}
.request-row {border:1px solid var(--line);border-radius:12px!important;padding:18px 20px;margin-bottom:10px}
.request-info strong {font-size:14px;line-height:1.6}
.request-info small {color:#708198;line-height:1.6}
.request-type {font-size:11px!important;color:#71809a!important;background:#f2f5fa!important}
.request-state {color:#7c6b46}
.request-actions .accept-request {background:var(--accent)}
.reminder-empty {border:1px dashed #dce3ee;background:#fafbfd;color:#73839b;border-radius:12px;font-size:13px}
#selfProfileDialog,#selfProfileDialog.is-other-profile {border:1px solid #e0e7f0;border-radius:16px;background:#fff;box-shadow:0 18px 65px #1c34542b}
#selfProfileDialog #profileDragHandle {background:#f0f4fb;color:#687b97;border-bottom:1px solid #e4ebf5}
#selfProfileDialog.is-other-profile #profileDragHandle {background:#edf2fa;min-height:68px}
#selfProfileDialog .profile-card-hero {gap:14px;padding-top:12px;padding-bottom:10px}
#selfProfileDialog #profileCardAvatar,#selfProfileDialog.is-other-profile #profileCardAvatar {border-radius:17px;background:#7893c3}
#selfProfileDialog .profile-card-identity h2 {font-size:19px;line-height:1.4;letter-spacing:0}
#selfProfileDialog #friendNoteValue {background:#f6f8fc;border-color:#dce4f0;border-radius:9px;color:#263650}
#selfProfileDialog .friend-profile-fields,#selfProfileDialog .profile-card-about {font-size:13px;line-height:1.65;gap:9px 12px}
#selfProfileDialog .friend-profile-fields dt,#selfProfileDialog .profile-card-about dt {font-size:12px;color:#6a7b94;font-weight:400}
#selfProfileDialog .friend-profile-fields dd,#selfProfileDialog .profile-card-about dd {color:#2b3d57}
#groupSettingsDialog {background:#f5f7fb;border:1px solid #e0e7f0;border-radius:16px;box-shadow:0 12px 50px #172a431e}
#groupSettingsDialog .gs-top {border-color:var(--line);min-height:66px}
#groupSettingsDialog .gs-body {padding:18px}
#groupSettingsDialog .gs-card {border:1px solid var(--line);border-radius:12px;margin-bottom:16px}
#groupSettingsDialog .gs-row {font-size:13px;min-height:48px}
#groupSettingsDialog .gs-row>small,.gs-hint,.gs-card h3 {color:#718098}
#groupSettingsDialog .gs-hero {padding:18px 15px;gap:12px}
#groupSettingsDialog .gs-avatar {border-radius:14px;background:#7f98c4}
#groupSettingsDialog .gs-identity strong {font-size:15px;color:#293a56;font-weight:600}
#groupSettingsDialog .gs-action-icon {width:50px;height:50px;background:#f1f5fd;color:#5374b5;border:1px solid #d5e0f3;border-radius:14px;box-shadow:0 2px 0 #dfe6f1;transition:none}
#groupSettingsDialog .gs-action-remove .gs-action-icon {background:#fdf2f2;color:#b56d76;border-color:#eedbdf;box-shadow:0 2px 0 #f0e1e3}
#groupSettingsDialog .gs-action-label {font-size:12px;font-weight:500;color:#667eaa}
.gs-primary {background:var(--accent)!important}
#recordsDialog {padding:26px;border-radius:16px}
#recordsSearch {gap:10px}
#recordsList article {padding:17px 4px;border-color:var(--line)}
#recordsList p {color:#344760;line-height:1.8}
.forward-avatar,.gc-avatar {border-radius:12px}
.forward-choice:hover,.card-choice.chosen {background:#edf2fc}
#createGroupDialog {border-radius:16px}

/* A calm split login screen. The form keeps the original real authentication flow. */
#loginDialog {width:780px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);padding:0;border:1px solid #e0e7f1;border-radius:20px;box-shadow:0 28px 90px #1b305426;overflow:hidden}
#loginDialog[open] {display:grid;grid-template-columns:280px minmax(0,1fr)}
#loginDialog[data-startup=true]::backdrop {background:#e9eef6}
.auth-intro {display:flex;flex-direction:column;position:relative;padding:38px 30px;background:#eaf0fb;color:#29436f;overflow:hidden;text-align:left;min-width:0}
.auth-intro-brand {font-size:22px;letter-spacing:2px;font-weight:650;display:flex;align-items:center;gap:11px}
.auth-intro-mark {height:34px;width:34px;display:grid;place-items:center;border-radius:11px;background:#315cc9;color:white;font-size:20px;letter-spacing:0}
.auth-intro-title {font-size:30px;line-height:1.65;font-weight:500;letter-spacing:1px;margin:78px 0 16px}
.auth-intro p {font-size:12px;line-height:2.1;color:#6b7e9e;position:relative}
.auth-intro-art {width:190px;height:146px;margin:35px auto 44px;flex-shrink:0}
.auth-intro-footer {margin-top:auto;font-size:10px;color:#798cab;letter-spacing:2px}
#loginForm {max-height:calc(100dvh - 48px);overflow-y:auto;min-width:0;padding:38px 42px 30px;gap:16px;scrollbar-width:thin;scrollbar-color:#d2dcec transparent}
#loginForm>.auth-logo {display:none}
#loginDialog h2 {font-size:24px;font-weight:600;text-align:left;letter-spacing:1px;color:#22344f}
#loginDialog .auth-subtitle {text-align:left;font-size:12px;color:#75839a;line-height:1.7;margin-top:-7px!important}
#loginDialog .auth-tabs {width:100%;align-self:stretch;background:#f1f4f9;border-radius:10px;padding:4px;margin:5px 0 2px;flex-shrink:0}
#loginDialog .auth-tabs button {font-size:13px;border-radius:7px;min-height:36px;color:#71809a;padding:8px}
#loginDialog .auth-tabs [aria-selected=true] {color:#365aa4;background:#fff;box-shadow:0 1px 3px #213d6a0b}
#loginDialog .auth-field {gap:7px;color:#4e607a;font-size:12px;font-weight:500}
#loginDialog .auth-field {text-align:left}
#loginDialog input:not([type=checkbox]) {height:44px;border-radius:9px;border-color:#dde5f0;background:#f8faff;padding:11px 13px;font-size:13px;color:#2a3d5b}
#loginDialog #rememberRow {font-size:12px;color:#63758f;display:flex;align-items:center;gap:7px}
#loginDialog input[type=checkbox] {accent-color:var(--accent);width:15px;height:15px;margin:0}
#loginDialog #authSubmit {height:44px;min-height:44px;margin:0;border-radius:10px;background:var(--accent);font-size:14px;box-shadow:0 3px 6px #315cc91a}
#loginDialog #authSubmit:hover {background:#274eac}
#loginDialog #togglePassword {font-size:11px;color:#6a7e9d;top:5px}
#loginDialog .auth-footer {font-size:10px;color:#8190a8;line-height:1.7;margin-top:0}
#loginDialog #savedLoginPanel {gap:5px 8px;margin:0;padding:0}
#loginDialog #savedLoginAccounts {height:36px;min-height:36px;font-size:11px;color:#607694;background:#f4f7fc;border:1px solid #e4ebf5;border-radius:8px}
#loginDialog #savedLoginStatus {font-size:10px;color:#71839f}
#loginDialog #savedLoginStatus:empty {display:none}
#loginDialog #registerAvatarPreview {width:64px;height:64px;border-radius:18px;border:1px dashed #aebfdb;background:#f0f5fd;color:#7d95bb}
#loginDialog #registerFields,#loginDialog #registerExtra {gap:13px}
#loginDialog .register-avatar small {font-size:10px;color:#7789a3}
#loginDialog #authError {color:#ae3f51}
#loginDialog #authSuccess {font-size:12px;line-height:1.7}

/* Phone overrides follow desktop rules explicitly, including startup registration. */
body.mobile-client {background:#fff}
.mobile-client #conversations>header {height:68px;min-height:68px;padding:12px 16px;border-color:#eef1f6}
.mobile-client #conversations>header>b {font-size:21px;letter-spacing:.5px}
.mobile-client #mobileHeaderAvatar {width:38px;height:38px;min-width:38px;min-height:38px;border-radius:12px;background:#315cc9}
.mobile-client #status {color:#5c8072;right:16px;top:55px}
.mobile-client #roomList {padding:5px 8px 14px}
.mobile-client #roomList .room {height:82px;min-height:82px;margin:2px 0;padding:12px 9px;border:0;border-radius:12px}
.mobile-client #roomList .room-body strong {font-size:15px}
.mobile-client #roomList .room-body small {font-size:12px}
.mobile-client #roomList .list-avatar {width:48px;height:48px;border-radius:15px}
.mobile-client #roomList .room:has(.friend-presence) {height:94px}
.mobile-client .mobile-tabs {background:#fff;border-top:1px solid #e8edf4;padding-top:6px}
.mobile-client .mobile-tabs button {color:#72829a!important;font-size:10px}
.mobile-client .mobile-tabs button[aria-current=page] {color:#315cc9!important}
.mobile-client .mobile-tabs button[aria-current=page] .ui-icon {fill:#315cc910}
.mobile-client[data-mobile-tab=contacts] .contact-tabs {background:#f2f5fa;padding:4px;margin:12px 16px 6px;gap:4px;border:0;border-radius:10px}
.mobile-client .contact-tabs button {font-size:14px;min-height:36px}
.mobile-client #chatTitle {height:auto;min-height:66px;padding:11px 13px 11px 51px;gap:10px}
.mobile-client #chatTitle>.avatar {width:36px;height:36px;min-width:36px;border-radius:12px}
.mobile-client #chatTitle strong {font-size:14px}
.mobile-client #chatTitle small {font-size:10px;line-height:1.4}
.mobile-client #messages {padding:18px 12px;scrollbar-gutter:auto}
.mobile-client .bubble {font-size:15px;line-height:1.7;padding:10px 12px}
.mobile-client .image-bubble {padding:3px}
.mobile-client .message-row {max-width:96%;gap:7px}
.mobile-client #composer {height:auto;min-height:132px;max-height:250px;margin:0;border:0;border-top:1px solid #e1e7f0;border-radius:0;padding:0 12px calc(10px + env(safe-area-inset-bottom,0px));box-shadow:none;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:43px auto minmax(62px,1fr)}
.mobile-client #composer .chat-tools {height:43px;gap:1px}
.mobile-client #composer .chat-tools>button {min-width:35px;min-height:36px;padding:6px}
.mobile-client #composer .chat-tools #recordsButton {font-size:11px;padding:6px 7px;min-height:31px}
.mobile-client #composer #text {min-height:62px;height:64px;font-size:16px;padding:12px 0 5px}
.mobile-client #composer #send {width:40px;height:40px;border-radius:12px;align-self:end}
.mobile-client #mobileMe {background:#f5f7fb;padding:14px 12px}
.mobile-client .mobile-profile-entry {border:1px solid #e5ebf4;border-radius:16px;padding:22px 17px;margin-bottom:16px;gap:14px}
.mobile-client .mobile-my-avatar {width:62px;height:62px;border-radius:19px;background:#e6eefa;color:#4e71b6}
.mobile-client .mobile-my-identity strong {font-size:21px;font-weight:600;color:#293b58}
.mobile-client .mobile-my-identity small {font-size:12px;color:#6e809c}
.mobile-client .mobile-my-row {min-height:59px;padding:12px 16px;border:1px solid #e8edf5;margin-bottom:6px;border-radius:10px}
.mobile-client .mobile-my-row>span {font-size:14px;color:#354963}
.mobile-client .mobile-my-row>.ui-icon {color:#6d87b0}
.mobile-client .mobile-my-row>small {font-size:11px;color:#71839e}
.mobile-client #settingsPane>header,.mobile-client #remindersPane>header {height:auto;min-height:66px;padding:11px 14px}
.mobile-client .settings-content,.mobile-client .reminder-content {padding:14px}
.mobile-client dialog {border-radius:16px}
.mobile-client #loginDialog[open] {display:block;padding:24px;width:calc(100% - 24px)!important;max-height:calc(var(--mobile-height) - 24px)!important}
.mobile-client #loginDialog[data-startup=true] {padding:34px 28px;height:var(--mobile-height);width:100%!important;max-height:var(--mobile-height)!important;background:#fff;border-radius:0}
.mobile-client #loginDialog .auth-intro {display:none}
.mobile-client #loginForm {padding:0;max-height:none;overflow:visible;gap:17px;max-width:400px}
.mobile-client #loginForm>.auth-logo {display:grid;align-self:start;width:48px;height:48px;margin:0 0 12px;background:#315cc9;border-radius:15px;font-size:25px}
.mobile-client #loginDialog h2 {font-size:26px}
.mobile-client #loginDialog .auth-subtitle {font-size:13px;margin-bottom:8px!important}
.mobile-client #loginDialog input:not([type=checkbox]) {height:47px;font-size:16px}
.mobile-client #loginDialog .auth-tabs button {min-height:40px;font-size:14px}
.mobile-client #loginDialog #authSubmit {min-height:48px;font-size:15px}
.mobile-client #loginDialog #savedLoginAccounts {font-size:13px;height:40px}
.mobile-client #loginDialog #captchaImage {width:88px;height:38px}
.mobile-client #loginDialog #refreshCaptcha {font-size:11px;min-width:42px}
.mobile-client #groupSettingsDialog {padding:0!important}
.mobile-client #groupSettingsDialog .gs-body {padding:14px}
body:not(.mobile-client) #accounts #settingsButton {width:44px;height:58px;min-height:58px;margin:12px 0 0;padding:5px 0;font-size:10px;gap:5px;border-radius:12px}
#accounts #settingsButton .ui-icon {width:22px;height:22px}
#accounts #settingsButton[aria-current=page] {background:#354966;color:#c5d7fb}
@media(max-width:1000px) and (min-width:821px) {
 body:not(.mobile-client) #accounts {width:54px;padding-left:3px;padding-right:3px}
 body:not(.mobile-client) #functionRail {width:68px;flex-basis:68px;padding-left:3px;padding-right:3px}
 #functionRail .rail-nav,#functionRail #settingsButton {width:60px}
 body:not(.mobile-client) #composer {margin:0 14px 14px;padding-left:12px;padding-right:12px}
 #messages {padding-left:18px;padding-right:18px}
 #chatTitle {padding-left:20px;padding-right:20px}
}
@media(max-height:720px) and (min-width:821px) {
 body:not(.mobile-client) #composer {height:166px;min-height:155px;margin-bottom:14px}
 #functionRail .rail-nav,#functionRail #settingsButton {height:54px;min-height:54px}
 #functionRail #mainNavigation {gap:4px}
 #loginForm {padding-top:26px;padding-bottom:22px;gap:13px}
 .auth-intro-title {margin-top:48px}
 .auth-intro-art {margin-top:20px;margin-bottom:20px}
}
@media(prefers-reduced-motion:reduce) {button {transition:none}}
