#mobile-chat-nav{display:none}
@media(max-width:700px){
  body[data-mobile-chat]{overflow:hidden!important;width:100%;margin:0}
  body[data-mobile-chat] #app,body[data-mobile-chat] .app-wrapper{height:var(--chat-viewport-height,100dvh)!important;min-width:0!important;width:100%!important;overflow:hidden!important}
  body[data-mobile-chat] .header-page{height:48px!important;min-height:48px!important;padding:0 8px!important;overflow:hidden;white-space:nowrap}
  body[data-mobile-chat] .header-page .logo-box{min-width:0;flex:1}
  body[data-mobile-chat] .header-page .logo-img,body[data-mobile-chat] .header-page .electron-menu{display:none!important}
  body[data-mobile-chat] .header-page .nav-ul{margin:0!important;padding:0;gap:4px}
  body[data-mobile-chat] .header-page .nav-li{padding:0 9px!important;margin:0!important;font-size:14px!important;height:40px!important;white-space:nowrap;flex-shrink:0}
  body[data-mobile-chat] .header-page .menu-box .nick-name{max-width:58px;overflow:hidden;text-overflow:ellipsis;font-size:12px!important}
  body[data-mobile-chat] .header-page .nav-icon{font-size:16px!important}
  body[data-mobile-chat] .main-container{width:100%!important;min-width:0!important;margin:0!important}
  body[data-mobile-chat] .app-main{position:fixed!important;top:96px!important;left:0!important;right:0!important;width:100%!important;height:calc(var(--chat-viewport-height,100dvh) - 96px)!important;padding:0!important;border-radius:0!important;min-width:0!important;background:#fff;overflow:hidden}
  body[data-mobile-chat] #mobile-chat-nav:not([hidden]){position:fixed;top:48px;left:0;right:0;height:48px;z-index:100;display:flex;align-items:center;gap:10px;padding:0 12px;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;background:#fff}
  #mobile-chat-nav strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;color:#243448}
  #mobile-chat-nav button{min-height:40px;border:0;background:#fff;color:#008b95;font-size:15px;padding:0 6px;flex-shrink:0}
  #mobile-chat-nav [hidden]{display:none!important}
  body[data-mobile-chat] .aside-page-container,body[data-mobile-chat] .conversation-page{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;height:100%!important;border-radius:0!important}
  body[data-mobile-chat] .aside-page{width:100%!important;min-width:0!important;height:100%!important;display:flex!important;flex-direction:column}
  body[data-mobile-chat] .wechats-list{width:100%;flex:1;overflow-y:auto!important;padding:0 10px!important;min-height:0}
  body[data-mobile-chat] .wechat-item{width:100%!important;min-height:72px!important;display:flex!important;align-items:center!important;gap:12px;padding:10px!important;border-bottom:1px solid #edf0f4}
  body[data-mobile-chat] .wechat-item .wechat-nick{font-size:15px!important;flex:1;min-width:0;width:auto!important;text-align:left!important}
  body[data-mobile-chat] .wechat-item .wechatImg{width:44px!important;height:44px!important}
  body[data-mobile-chat] .wechats-state{padding:12px!important;min-height:44px}
  body[data-mobile-chat=accounts] .conversation-page{display:none!important}
  body[data-mobile-chat=contacts] .aside-page-container,body[data-mobile-chat=chat] .aside-page-container{display:none!important}
  body[data-mobile-chat=contacts] .conversation-chats,body[data-mobile-chat=contacts] .conversation-tools{display:none!important}
  body[data-mobile-chat=chat] .frist-part,body[data-mobile-chat=chat] .conversation-tools{display:none!important}
  body[data-mobile-chat] .frist-part{width:100%!important;min-width:0!important;max-width:100%!important;border:0!important;flex:1!important}
  body[data-mobile-chat] .frist-part .friends-content{min-height:0;-webkit-overflow-scrolling:touch}
  body[data-mobile-chat] .frist-part .friend-info{min-height:72px!important;height:72px!important;border-bottom:1px solid #edf0f4;align-items:center}
  body[data-mobile-chat] .frist-part .nick-content{flex:1;min-width:0!important;width:auto!important}
  body[data-mobile-chat] .frist-part .search-box{padding:8px!important}
  body[data-mobile-chat] .frist-part .el-tabs__item{height:48px!important;line-height:48px!important;font-size:16px}
  body[data-mobile-chat] input,body[data-mobile-chat] textarea{font-size:16px!important}
  body[data-mobile-chat] .conversation-chats{width:100%!important;min-width:0!important;height:100%!important;flex:1}
  body[data-mobile-chat] .conversation-chats .chats-title{height:32px!important;min-height:32px!important;overflow:hidden}
  body[data-mobile-chat] .chats-content{min-height:0;overflow:hidden!important}
  body[data-mobile-chat] .show-chats{flex:1 1 0!important;height:auto!important;min-height:60px!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  body[data-mobile-chat] .input-window{height:190px!important;min-height:140px!important;flex:0 0 190px!important;padding-bottom:env(safe-area-inset-bottom)}
  body[data-mobile-chat] .tool-bar{overflow-x:auto!important;overflow-y:hidden!important;min-height:40px!important;flex-shrink:0}
  body[data-mobile-chat] .tool-bar .tool-start,body[data-mobile-chat] .tool-bar .tool-end{flex-shrink:0;white-space:nowrap}
  body[data-mobile-chat] .tool-bar .tool-icon{font-size:20px!important}
  body[data-mobile-chat] .show-chats .content-content{max-width:76%!important}
  body[data-mobile-chat] .show-chats .send-state{max-width:18%!important}
  body[data-mobile-chat] .big-img-box{display:none!important}
  body[data-mobile-chat] .el-dialog{width:calc(100vw - 24px)!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important}
  body[data-mobile-chat] .el-message-box{width:calc(100vw - 24px)!important}
}
@media(max-width:700px) and (max-height:540px){body[data-mobile-chat] .input-window{height:140px!important;flex-basis:140px!important}}

.bm-mobile-tabs,.bm-mobile-status,.bm-mobile-account,.bm-mobile-inbox{display:none}
@media(max-width:700px){
 body[data-mobile-chat] .header-page{display:none!important}
 body[data-mobile-chat] #mobile-chat-nav:not([hidden]){top:0!important;height:48px!important;padding:0 10px!important;background:#fff;border:0!important;z-index:200;gap:6px}
 body[data-mobile-chat] #mobile-chat-nav strong{font-size:14px;color:#8f271f}
 body[data-mobile-chat] #mobile-chat-nav button{font-size:13px;color:#5f6570;min-width:38px;min-height:42px}
 body[data-mobile-chat] #mobile-chat-nav button[aria-pressed=true]{color:#a42b22;background:#fff1ed;border-radius:7px}
 .bm-mobile-tabs:not([hidden]){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;top:48px;height:48px;z-index:150;background:#fff;border-bottom:1px solid #eee}
 .bm-mobile-tabs button{border:0;background:#fff;color:#4d5663;font:600 15px system-ui;position:relative;touch-action:manipulation}
 .bm-mobile-tabs button.selected{color:#b12b23;background:#fff8f5}
 .bm-mobile-tabs button.selected:after{content:'';position:absolute;height:3px;border-radius:3px;background:#b12b23;bottom:0;left:25%;right:25%}
 .bm-mobile-status:not([hidden]){display:block;position:fixed;left:0;right:0;top:96px;height:24px;line-height:24px;text-align:center;font:12px/24px system-ui;background:#f4f7f5;color:#527066;z-index:150;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .bm-mobile-status[data-state=authenticating],.bm-mobile-status[data-state=connecting],.bm-mobile-status[data-state=replaced],.bm-mobile-status[data-state=expired]{background:#fff4e7;color:#9b4a15}
 .bm-mobile-account:not([hidden]){display:block;position:fixed;top:124px;left:12px;width:calc(100% - 24px);height:36px;border:1px solid #eee;border-radius:7px;background:#fff;font-size:14px!important;padding:0 9px;z-index:120;color:#4f5967}
 body[data-mobile-chat] .app-main{top:120px!important;height:calc(var(--chat-viewport-height,100dvh) - 120px)!important}
 body[data-mobile-chat=groups] .app-main,body[data-mobile-chat=contacts] .app-main{top:168px!important;height:calc(var(--chat-viewport-height,100dvh) - 168px)!important}
 body[data-mobile-chat=inbox] .app-main{visibility:hidden!important;pointer-events:none!important}
 body[data-mobile-chat=groups] .aside-page-container{display:none!important}
 body[data-mobile-chat=groups] .conversation-chats,body[data-mobile-chat=groups] .conversation-tools{display:none!important}
 body[data-mobile-chat=groups] .frist-part .tabs-wrap,body[data-mobile-chat=contacts] .frist-part .tabs-wrap{display:none!important}
 .bm-mobile-inbox:not([hidden]){display:block;position:fixed;inset:164px 0 auto;height:calc(var(--chat-viewport-height,100dvh) - 164px);overflow-y:auto;background:#fff;z-index:100;padding:8px 12px 20px;box-sizing:border-box;overscroll-behavior:contain}
 .bm-mobile-inbox input{box-sizing:border-box;width:100%;border:1px solid #e5e8ed;background:#f7f8fa;border-radius:9px;height:40px;padding:0 12px;margin-bottom:5px;font-size:16px;position:sticky;top:0;z-index:1}
 .bm-mobile-row{border:0;border-bottom:1px solid #f0f0f0;background:white;display:flex;align-items:center;gap:11px;text-align:left;padding:13px 0;width:100%;min-height:92px;font-family:inherit;color:#273142;touch-action:manipulation}
 .bm-mobile-avatar{position:relative;width:44px;height:44px;flex:0 0 44px;border-radius:10px;background:#f6eae6;color:#ad6250;text-align:center;line-height:44px;font-size:16px;overflow:hidden}
 .bm-mobile-avatar img{position:absolute;inset:0;width:44px;height:44px;object-fit:cover}
 .bm-mobile-rowbody{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.bm-mobile-rowtop{display:flex;align-items:center;gap:8px;min-width:0}.bm-mobile-rowtop>strong{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.bm-mobile-time{flex-shrink:0;color:#9aa1aa;font-size:11px;font-weight:400}
 .bm-mobile-rowbody>strong,.bm-mobile-owner,.bm-mobile-preview{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 .bm-mobile-rowbody>strong{font-size:16px;font-weight:500}.bm-mobile-owner{font-size:11px;color:#a46252}.bm-mobile-preview{font-size:13px;color:#8a929d}
 .bm-mobile-unread{background:#d92942;color:#fff;font-size:12px;padding:2px 6px;border-radius:14px;flex-shrink:0}
 .bm-mobile-empty{font-size:12px;text-align:center;color:#9098a3;margin:16px 0}.bm-mobile-inbox>button{display:block;width:100%;min-height:44px;border:1px solid #eee;background:#fff;border-radius:8px;color:#9a3126}
 .bm-mobile-menu{position:absolute;right:8px;top:46px;width:150px;background:#fff;box-shadow:0 8px 28px #17232d22;border:1px solid #eee;border-radius:10px;padding:6px;z-index:250}.bm-mobile-menu button{display:block;width:100%;text-align:left;padding:10px!important}
 body[data-mobile-chat] .juliao-reply-banner,body[data-mobile-chat] .juliao-connection-banner{display:none!important}
 body[data-mobile-chat] .conversation-chats .chats-title{height:38px!important;min-height:38px!important;font-size:15px}
 body[data-mobile-chat] .chats-title .nick-name{max-width:calc(100vw - 30px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .bm-mobile-inbox [hidden],.bm-mobile-menu[hidden]{display:none!important}
}

@media(max-width:700px){
 body[data-mobile-chat]{--mobile-content-top:120px}
 body[data-mobile-chat=contacts],body[data-mobile-chat=groups]{--mobile-content-top:168px}
 body[data-mobile-chat] #mobile-chat-nav:not([hidden]){top:var(--chat-viewport-top,0px)!important}
 body[data-mobile-chat] .bm-mobile-tabs{top:calc(var(--chat-viewport-top,0px) + 48px)}
 body[data-mobile-chat] .bm-mobile-status{top:calc(var(--chat-viewport-top,0px) + 96px)}
 body[data-mobile-chat] .bm-mobile-account{top:calc(var(--chat-viewport-top,0px) + 124px)}
 body[data-mobile-chat] .bm-mobile-inbox{top:calc(var(--chat-viewport-top,0px) + 164px)}
 body[data-mobile-chat] .app-main{top:calc(var(--chat-viewport-top,0px) + var(--mobile-content-top))!important;height:calc(var(--chat-viewport-height,100dvh) - var(--mobile-content-top))!important}
 body[data-mobile-chat] .anwser-window,body[data-mobile-chat] .anwser-window .show-content{min-height:0!important}
 body[data-mobile-chat] .anwser-window .opration-btn{height:44px!important;min-height:44px!important;flex-shrink:0}
 body[data-mobile-chat] .show-content-textarea{width:100%;min-height:30px;box-sizing:border-box}
 body[data-mobile-chat=chat][data-mobile-keyboard]{--mobile-content-top:40px}
 body[data-mobile-chat=chat][data-mobile-keyboard] #mobile-chat-nav{height:40px!important}
 body[data-mobile-chat=chat][data-mobile-keyboard] #mobile-chat-nav button{min-height:36px!important}
 body[data-mobile-chat=chat][data-mobile-keyboard] .bm-mobile-tabs,body[data-mobile-chat=chat][data-mobile-keyboard] .bm-mobile-status{display:none!important}
 body[data-mobile-chat=chat][data-mobile-keyboard] .input-window{height:128px!important;min-height:128px!important;flex-basis:128px!important;padding-bottom:0!important}
 body[data-mobile-chat=chat][data-mobile-keyboard] .tool-bar{height:32px!important;min-height:32px!important}
 body[data-mobile-chat=chat][data-mobile-keyboard] .conversation-chats .chats-title{height:28px!important;min-height:28px!important}
 body[data-mobile-keyboard] .br-dialog header{padding-top:7px;padding-bottom:7px}
 body[data-mobile-keyboard] .br-dialog nav{display:none}
 body[data-mobile-keyboard] .br-fixed-actions{padding-top:6px;padding-bottom:6px}
 .br-backdrop{box-sizing:border-box;bottom:auto}
}

.bm-quick-phrases{display:none}
@media(max-width:700px){
 html[data-bowen-mobile]{height:var(--chat-viewport-height,100dvh)!important;min-height:0!important;overflow:hidden!important;overscroll-behavior:none}
 body[data-mobile-chat]{height:var(--chat-viewport-height,100dvh)!important;min-height:0!important;max-height:var(--chat-viewport-height,100dvh)!important;overscroll-behavior:none}
 body[data-mobile-chat] #mobile-chat-nav button[aria-label="返回列表"]{min-width:68px!important;min-height:44px!important;font-size:18px!important;font-weight:600;color:#a22d22;background:#fff0eb;border-radius:8px;padding:0 8px!important}
 body[data-mobile-chat=chat][data-mobile-keyboard] #mobile-chat-nav{height:48px!important}
 body[data-mobile-chat=chat][data-mobile-keyboard]{--mobile-content-top:48px}
 body[data-mobile-chat=chat][data-mobile-keyboard] #mobile-chat-nav button[aria-label="返回列表"]{min-height:44px!important}
 body[data-mobile-chat] .bm-quick-phrases{display:inline-flex;align-items:center;justify-content:center;border:1px solid #b62920;border-radius:7px;background:#fff0eb;color:#a32019;font-size:16px;font-weight:600;height:40px;min-width:90px;flex-shrink:0;margin-right:8px;touch-action:manipulation}
 body[data-mobile-chat] .tool-bar .br-toolbar{display:none!important}
 .bm-mobile-pending{color:#b33022;font-size:11px}.bm-mobile-rowbody{gap:3px}
 .br-dialog .br-phrase-card{display:flex;align-items:center;gap:6px;padding:5px 0;min-height:52px}
 .br-dialog .br-phrase-card .br-phrase{flex:1;min-width:0;padding:5px 0;flex-wrap:wrap;gap:4px 6px;min-height:40px}
 .br-dialog .br-phrase-card .br-phrase-preview{flex-basis:100%;font-size:13px;line-height:1.4}
 .br-dialog .br-phrase-actions{flex-shrink:0}.br-dialog .br-phrase-actions .br-edit-action{display:none}
 .br-dialog .br-phrase-actions .primary{min-width:54px;min-height:42px;padding:5px 9px;font-size:14px;border-radius:6px}
 .br-dialog .br-phrase-label{font-size:12px;padding:2px 5px;max-width:180px}.br-dialog .br-categories button{padding:5px 2px;min-height:32px}.br-dialog .br-categories{gap:4px;max-height:110px;margin-bottom:6px}
 .br-dialog nav button:not(:first-child){display:none!important}.br-dialog nav{padding:3px 12px}.br-dialog nav button:first-child{background:transparent;border:0;color:#a32b22;min-height:32px;padding:3px}
 .br-dialog .br-search{padding:7px 0}.br-dialog .br-search input{padding:8px}.br-dialog main{padding:0 10px 12px}
 .br-dialog .br-phrase-card.br-expanded{flex-wrap:wrap}.br-dialog .br-readonly{flex-basis:100%;max-height:240px;overflow:auto;background:#fafafa;padding:7px;white-space:pre-wrap;line-height:1.5}
 .br-readonly img{max-width:100%;max-height:180px;object-fit:contain;display:block}
}

@media(max-width:700px){.header-page .bm-desktop-aggregate{display:none!important}}

.aside-page .bowen-aggregate-pin{flex:0 0 auto;padding:0 10px 8px;background:#fff}
.aside-page .bowen-aggregate-pin-button{width:100%;min-height:40px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #edd8d3;border-radius:7px;background:#fff7f3;color:#a72b21;font:600 15px system-ui,-apple-system,'Microsoft YaHei',sans-serif;cursor:pointer;touch-action:manipulation}
.aside-page .bowen-aggregate-pin-button:hover,.aside-page .bowen-aggregate-pin-button.is-active{background:#b72d23;border-color:#b72d23;color:#fff}
.aside-page .bowen-aggregate-pin-button:focus-visible{outline:2px solid #9f291e;outline-offset:2px}
.aside-page .wechats-list{min-height:0}
@media(max-width:700px){.aside-page .bowen-aggregate-pin{display:none!important}}

.bm-mobile-countdown{font-size:12px;color:#08979c}.bm-mobile-countdown.late{color:#c00}

@media(max-width:700px){
 body[data-mobile-chat] .chats-content{flex:1 1 0!important;min-height:0!important}
 body[data-mobile-chat] .input-window{box-sizing:border-box;margin-top:auto}
 body[data-mobile-chat=chat][data-mobile-keyboard] .show-chats{min-height:0!important}
 body[data-mobile-chat=chat][data-mobile-keyboard] .input-window .opration-btn{flex-shrink:0!important}
}
