:root{--lyra-phone-width:393px;--android-frame-width:var(--lyra-phone-width)}
body.signed-in .workspace.sh-android{width:min(100%,var(--lyra-phone-width))}
.rtc-dialog{width:min(100%,var(--lyra-phone-width));height:100dvh;max-height:100dvh}
.sh-android .side-heading .row-edit-launch{border:0;background:#fff;color:#1c7fe3;font:500 13px/1 Roboto,Arial,sans-serif;min-height:40px;padding:0 8px;cursor:pointer;white-space:nowrap}
#workspace:not([data-lyra-tab="chats"]) .row-edit-launch,#workspace.sh-selecting .row-edit-launch{display:none}
.sh-android #entries{position:relative;overflow-x:hidden}.sh-android[data-lyra-tab=chats] #entries .entry{touch-action:pan-y;user-select:none;-webkit-user-select:none}
.sh-android #entries>.row-uncover{position:relative;z-index:1;background-color:white}
.sh-android #entries>.row-swipe-action{position:absolute;z-index:0;border:0;width:92px;border-radius:0;color:#fff;font:500 15px Roboto,Arial,sans-serif;cursor:pointer}
.row-delete{left:0;background:#c83238}.row-mark{right:0;background:#1769ad}
.row-peek{box-sizing:border-box;margin:auto;border:0;border-radius:16px;padding:0;width:min(530px,calc(min(100vw,var(--lyra-phone-width)) - 24px));max-width:100vw;height:min(680px,74dvh);max-height:90dvh;overflow:hidden;color:#121212;background:white;box-shadow:none}
.row-peek[open]{display:flex;flex-direction:column}.row-peek::backdrop{background:#0006}
.row-peek-head{display:flex;align-items:center;height:44px;flex:none;gap:5px;padding:0 8px;background:#fff;font:600 16px Roboto,Arial,sans-serif}
.row-peek-close{width:36px;height:40px;border:0;background:transparent;padding:7px}.row-peek-close img{width:100%;height:100%}.row-peek-head .avatar{border-radius:50%;width:32px;height:32px;background:#1788ee;overflow:hidden;color:white;display:grid;place-items:center}.row-peek-head .avatar img{width:100%;height:100%;object-fit:cover}
.row-peek-feed{flex:1;min-height:0;overflow:auto;background:#f5f5f5 url('/shell-assets/chatref_wallpaper.png') center/cover}
.row-peek-history{padding:8px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.row-peek-msg{max-width:78%;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border-radius:10px;padding:7px 9px;color:#141414;font:16px/1.28 Roboto,"Microsoft YaHei",sans-serif}.row-peek-msg.own{align-self:flex-end;background:#d5f0ff}
.row-peek-msg small{float:right;font-size:10px;color:#888;align-self:end;margin:6px 0 0 8px}.row-peek-quote{font-size:13px;border-left:3px solid #169bdf;padding:4px;background:#eff7fc;color:#335970;margin:0 0 5px}.row-peek-photo{max-width:100%;max-height:220px;display:block}.row-peek .row-peek-foot{height:38px;min-height:38px;display:grid;place-items:center;margin:0;padding:0;color:#586372;font:12px/1.2 Roboto,Arial,sans-serif;background:#fff}
.row-peek-older{display:block;margin:8px auto;border:0;background:none;color:#1983de}.row-peek-older[hidden]{display:none}
.xp-deck{box-sizing:border-box;display:flex;flex-direction:column;flex:0 1 43.8125dvh;height:43.8125dvh;min-height:0;overflow:hidden;background:#fff}.xp-tile-grid{overflow:auto;display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:103px;align-content:start;padding:30px 0}
.xp-deck button,.xp-gallery button{appearance:none;border:0;background:transparent;color:#121212;padding:0;border-radius:0;font:inherit;cursor:pointer}.xp-tile-grid button{display:flex;align-items:center;flex-direction:column;padding-top:4px;gap:8px;font-size:12px}.xp-tile-grid img{width:48px;height:48px}
.xp-content{flex:1;min-height:0;display:flex;flex-direction:column}.xp-cats{height:40px;display:flex;align-items:center;padding:0 16px;gap:16px}.xp-cat-scroll{flex:1;display:flex;align-items:center;gap:16px;overflow:auto;scrollbar-width:none}.xp-cat-scroll button,.xp-cat-scroll img{width:29px;height:29px;flex:none}.xp-cats>button img{width:24px;height:24px}.xp-emoji-grid{min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(7,1fr);align-content:start;padding:0 10px;flex:1;position:relative}.xp-emoji-grid button{height:51px;font:28px "Segoe UI Emoji",sans-serif}.xp-empty{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:12px;color:#8c8c8c}.xp-empty img{width:62px;height:62px}
.xp-modes{display:flex;justify-content:center;align-items:center;gap:16px;height:40px;background:#f5f5f5}.xp-modes button{width:34px;height:34px}.xp-modes img{width:24px;height:24px}
.xp-gallery[open]{margin:0 auto;width:min(100vw,var(--lyra-phone-width));height:100dvh;max-height:100dvh;border:0;border-radius:0}.xp-gallery .fx-body{height:calc(100% - 52px);display:flex;flex-direction:column;padding:0}.xp-gallery-tabs{display:flex;height:47px}.xp-gallery-tabs button{flex:1}.xp-gallery-tabs .on{color:#1c7fe3;border-bottom:2px solid #1c7fe3}.xp-gallery-grid{flex:1;overflow:auto;display:grid;align-content:start;grid-template-columns:repeat(3,1fr);gap:2px;position:relative}.xp-gallery-empty{position:absolute;inset:40% 0 auto;text-align:center;color:#888}.xp-gallery-grid button{position:relative}.xp-gallery-grid :is(img,video){width:100%;aspect-ratio:1;object-fit:cover}.xp-check{position:absolute;top:4px;right:4px;width:21px;height:21px;border-radius:50%;border:1px solid white;background:#0005;color:white}.xp-gallery-grid [aria-pressed=true] .xp-check{background:#1c7fe3}.xp-gallery-foot{display:flex;align-items:center;justify-content:space-between;padding:10px}.xp-gallery-foot button{color:#1c7fe3}.xp-gallery-foot button:disabled{color:#aaa}

dialog.xp-viewer[open]{background:#000;color:#fff;border:0;border-radius:0;margin:0 auto;width:min(100vw,var(--lyra-phone-width));max-width:100vw;max-height:100dvh;height:100dvh;box-shadow:none;overflow:hidden}.xp-viewer::backdrop{background:#111}
dialog.xp-viewer header{position:absolute;top:0;left:0;width:100%;z-index:2;display:flex;align-items:end;background:#000b;color:#fff;border:none;min-height:0;height:60px;padding:0 6px 3px}dialog.xp-viewer header[hidden],.xp-v-menu[hidden],.xp-v-caption[hidden]{display:none}
.xp-viewer header button{width:42px;height:44px;padding:10px;display:grid;place-items:center;border:0;background:transparent}.xp-viewer header button img{width:24px;height:24px}.xp-v-title{flex:1;display:flex;flex-direction:column;align-self:end;min-width:0;gap:1px;padding:2px 0 4px 12px}.xp-v-title b{font:500 15px Roboto,Arial,sans-serif}.xp-v-title small{font:11px Roboto,Arial,sans-serif}
.xp-viewer .fx-body{padding:0;height:100%;position:relative}.xp-v-stage{width:100%;height:100%;display:grid;place-items:center;overflow:hidden;touch-action:pan-y}.xp-v-stage :is(img,video){width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.xp-v-caption{position:absolute;bottom:14px;left:0;width:100%;color:#fff;background:#0009;padding:8px 12px;font-size:16px}.xp-v-menu{position:absolute;right:8px;top:22px;background:#fff;border-radius:8px;padding:3px 0;z-index:4;box-shadow:0 3px 15px #0003;min-width:135px}.xp-v-menu button{display:block;background:none;color:#111;border:0;height:50px;width:100%;font:15px Roboto,Arial,sans-serif;text-align:left;padding:0 16px}.xp-viewer .fx-status:not(:empty){position:absolute;bottom:18px;color:white;background:#222e}
.cl-bar,.side-heading>.cl-button,.cl-status,.cl-extra,.cl-attach{display:none!important}.cl-home .sh-android .sh-nav,.cl-home .sh-fab,.cl-home .sh-contacts-shortcuts,.cl-home .row-edit-launch,.cl-home .side-heading>.sh-icon,.cl-home .sh-shortcuts{display:none!important}
.cl-home .sh-android .sidebar>.cl-status,.cl-home .cl-status,.cl-home .side-heading h1::after{display:block!important}.cl-home .cl-status{background:#edf2f7;color:#4d6477;font:14px/20px Roboto,Arial,sans-serif;padding:5px 14px;margin:0}.cl-home .side-heading h1{font-size:0}.cl-home .side-heading h1::after{content:attr(data-classic-title);color:#152b43;font-size:21px}.cl-home .side-heading>.cl-button{display:inline-block!important}.cl-home #workspace:not([data-lyra-tab=people]) .side-heading>.cl-button:not(:last-child){display:none!important}
.cl-home #workspace:not(.in-room):not(.sh-has-page)>.cl-bar{display:flex!important;position:absolute;bottom:0;left:0;right:0;height:48px;background:white;gap:3px;padding:3px}.cl-home .cl-button,.cl-home .cl-attach{border:0;border-radius:3px;background:#e2e4e7;color:#1764bf;min-height:37px;padding:4px 12px;font:500 14px/1.2 Roboto,Arial,sans-serif;cursor:pointer}.cl-home .cl-bar button{flex:1}.cl-home .sh-android #entries{background:#f6f8fb}.cl-home .sh-android #entries .entry{min-height:66px}.cl-home .sh-android #entries .entry .row-time{display:none}.cl-home .sh-android .entry .row-title{font-size:17px;color:#152b43}.cl-home .sh-android .entry .row-snippet{font-size:14px;color:#4d6477}
.cl-home .sh-android .room{background:#f6f8fb}.cl-home .sh-android .cl-extra,.cl-home .sh-android .cl-attach{display:inline-block!important}.cl-home .sh-android .sh-dial,.cl-home .sh-android .sh-group-more,.cl-home .sh-android .sh-emoji-button,.cl-home .sh-android .sh-compose-tools,.cl-home .sh-android .sh-mic{display:none!important}.cl-home .sh-android #back img{display:none}.cl-home .sh-android #back::after{content:'返回';color:#1764bf;font:14px Roboto,Arial}.cl-home .sh-android #back{width:55px;background:#eee}.cl-home .sh-android #compose{background:white;display:flex;align-items:center}.cl-home .sh-android #send{display:block!important;visibility:visible!important;background:#e2e4e7;color:#1764bf;width:auto;height:40px;border-radius:3px}.cl-home .sh-android #send:after{content:'发送';font:14px Roboto,Arial}.cl-home .sh-android #send img{display:none}
.cl-home .cl-hub-entry{display:block;width:100%;text-align:left;min-height:66px;border:0;border-bottom:1px solid #d4dfe8;background:white;color:#152b43;padding:11px 18px;cursor:pointer}.cl-hub-entry b,.cl-hub-entry small{display:block}.cl-hub-entry b{font-size:17px}.cl-hub-entry small{font-size:14px;color:#4d6477}.cl-home .row-peek-feed{background:#f6f8fb}
.xe-map[open]{width:min(100vw,var(--lyra-phone-width));height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0 auto;display:flex;flex-direction:column}.xe-map header{height:44px;min-height:44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ddd}.xe-map header h2{font-size:17px}.xe-map header button{color:#1764bf;font-size:14px}.xe-map .fx-body{padding:0;flex:1;min-height:0;display:flex;flex-direction:column}.xe-map form,.xe-mapcontrols{padding:3px 8px;display:flex;gap:5px}.xe-map form input{flex:1;min-width:0;font-size:16px;padding:6px;border:0;border-bottom:1px solid #aaa;background:#fff;border-radius:0}.xe-map form button,.xe-mapcontrols button{color:#1764bf;border:0;border-radius:3px;background:#eee;padding:5px 9px;font-size:14px}.xe-mapresults{max-height:20%;overflow:auto}.xe-mapresults button{display:block;width:100%;text-align:left;background:#fff;color:#333;border:0;padding:7px}
.xe-mapsurface{flex:1;min-height:180px;position:relative;overflow:hidden;touch-action:none;background:#e9edf0}.xe-maptiles{position:absolute;inset:0;pointer-events:none}.xe-maptiles img{max-width:none;max-height:none;position:absolute;width:256px;height:256px}.xe-maptiles .xe-mapstatic{inset:0;width:100%;height:100%;object-fit:cover}.xe-pin{pointer-events:none;position:absolute;left:50%;top:50%;translate:-50% -50%;color:#db3e37;text-shadow:0 0 3px white;font-size:22px}.xe-mapcontrols button{flex:1}.xe-map .fx-body>p,.xe-map .fx-body>small{margin:4px 10px;font-size:13px;white-space:pre-line}.xe-map .fx-body>small{color:#777;font-size:11px}
.sh-mic{touch-action:none;user-select:none}.xe-recording #compose{visibility:hidden!important;height:0!important;min-height:0!important;padding:0!important;overflow:hidden}.xe-voicebar{position:relative;flex:none;display:flex;align-items:center;gap:8px;background:white;color:#222;min-height:52px;padding:6px 12px;font:14px Roboto,Arial,sans-serif}.xe-voicebar i{width:8px;height:8px;border-radius:50%;background:#e5464b}.xe-voicebar span{flex:1;text-align:center;color:#777}.xe-voicebar button{display:none;border:0;background:none;color:#147ee6;cursor:pointer;min-height:40px}.xe-voicebar.locked{flex-wrap:wrap;min-height:76px}.xe-voicebar.locked button{display:block}.xe-voicebar audio{width:100%;max-height:33px}.xe-voicebar.locked span{font-size:12px}
dialog.xe-alert[open]{height:auto;max-height:82dvh;width:min(calc(min(100vw,var(--lyra-phone-width)) - 42px),420px);margin:auto;border-radius:3px;box-shadow:0 12px 50px #0004}.xe-alert header{border:0;display:block;padding:16px 20px 6px;min-height:0}.xe-alert header h2{text-align:left;font-size:20px;font-weight:500}.xe-alert header button{display:none}.xe-alert .fx-body label{font-size:0}.xe-alert .fx-body :is(input,textarea){font-size:16px;border:0;border-bottom:1px solid #8a8a8a;border-radius:0}.xe-alert .fx-body textarea{min-height:62px}.xe-alert .fx-row{border:0;color:#1674c0}.xe-alert:not(.xe-vote) .fx-row{width:auto;display:inline-flex;min-height:40px;margin-right:16px;min-width:55px}.xe-alert .fx-row small{display:none}.xe-vote .fx-row small{display:inline}.xe-cardpicker[open]{width:min(100vw,var(--lyra-phone-width));height:100dvh;max-height:100dvh;margin:0 auto;border-radius:0}.xe-cardpicker .fx-body{padding:0 14px}.xe-cardpicker label{font-size:0}.xe-cardpicker input{font-size:15px;border:0;background:#f5f5f5;border-radius:6px;height:36px}.xe-cardpicker .fx-row{justify-content:flex-start;gap:12px;min-height:54px}.xe-cardpicker .fx-row small{display:none}.xe-card-avatar{background:#5798da;color:white;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;font-style:normal}
