/* v9.7.9 Messenger redesign — no changes to the native bottom navigation or other pages. */
body.hcm972-messenger-page{--msg-bg:#0b0f0e;--msg-panel:#131a17;--msg-edge:#294035;--msg-text:#f2f8f4}
body.hcm972-messenger-page .hcm976-messenger{background:var(--msg-bg)!important;color:var(--msg-text)!important;border-radius:14px!important;box-shadow:none!important}
body.hcm972-messenger-page .hcm976-chat-inbox{background:#090f0d!important;border-color:#263c31!important}
body.hcm972-messenger-page .hcm976-chat-stage{background:#0b1512!important}
body.hcm972-messenger-page .hcm976-inbox-head{padding:18px 18px 12px!important;gap:12px}
body.hcm972-messenger-page .hcm976-inbox-head h2{font:750 29px system-ui,sans-serif!important;letter-spacing:-.04em!important;color:white!important;margin:0 0 4px!important}
.hcm979-inbox-caption{font-size:12px;color:#9ab9a6}
body.hcm972-messenger-page .hcm976-compose-new{background:#1c372b!important;border:1px solid #3d6e54!important;border-radius:12px!important;color:#e1ffe7!important}
body.hcm972-messenger-page .hcm976-chat-search{background:#222d28!important;border:0!important;border-radius:22px!important;margin-bottom:8px!important}
body.hcm972-messenger-page .hcm976-chat-search input{color:white!important}
.hcm979-inbox-filters{display:flex;align-items:center;gap:8px;padding:2px 14px 12px;flex-wrap:wrap}
body.hcm972-messenger-page .hcm979-inbox-filters button,body.hcm972-messenger-page .hcm979-inbox-filters a{padding:7px 14px;background:#202b25!important;color:#c5d9ce!important;border:1px solid #32473b!important;border-radius:15px!important;font-size:12px;font-weight:750;line-height:1.35;text-decoration:none}
body.hcm972-messenger-page .hcm979-inbox-filters button.active{background:#296249!important;color:#fff!important;border-color:#559675!important}
.hcm979-recent-people{display:flex;gap:14px;overflow-x:auto;padding:9px 16px 16px;border-bottom:1px solid #23372c;scrollbar-width:thin}
.hcm979-recent-people a{display:flex;flex-direction:column;align-items:center;flex:0 0 62px;min-width:0;gap:7px;text-align:center;color:#deeae2!important;font-size:11px;text-decoration:none}
.hcm979-recent-people .avatar{width:56px!important;height:56px!important;min-width:56px!important;object-fit:cover;border:2px solid #426c56}
.hcm979-recent-people span{display:block;max-width:64px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
body.hcm972-messenger-page .hcm976-peer-row{border-radius:8px!important;padding:13px 10px!important;min-height:75px}
body.hcm972-messenger-page .hcm976-peer-row.selected{background:#1e3b2b!important}
body.hcm972-messenger-page .hcm976-peer-row .avatar{height:52px!important;width:52px!important;min-width:52px!important}
body.hcm972-messenger-page .hcm976-peer-info strong{font-size:15px!important;color:white!important}
body.hcm972-messenger-page .hcm976-peer-info small{font-size:13px!important;color:#aabcb1!important}
.hcm979-no-filter{padding:20px;color:#a7bcb0;text-align:center}
body.hcm972-messenger-page .hcm976-chat-head{background:#13251d!important;border-bottom:1px solid #2a4435!important;min-height:68px!important}
body.hcm972-messenger-page .hcm976-chat-head .avatar{height:44px!important;width:44px!important;min-width:44px!important}
body.hcm972-messenger-page .hcm976-chat-identity strong{font-size:17px!important}
body.hcm972-messenger-page .hcm976-chat-identity small{color:#acd1b8!important}
.hcm979-peer-profile{font-size:25px;color:#a8e2bf!important;text-decoration:none;line-height:1;margin-right:6px}
body.hcm972-messenger-page .hcm976-chat-stage>.hcm976-message-history{background:linear-gradient(160deg,#0f231a 0%,#0c1b16 50%,#111e1b 100%)!important;padding-left:18px!important;padding-right:18px!important;gap:3px!important}
body.hcm972-messenger-page .hcm976-chat-stage .bubblemsg{background:#26322c!important;box-shadow:none!important;border-radius:17px 17px 17px 5px!important;padding:10px 13px 7px!important;margin:2px 0!important;max-width:80%!important}
body.hcm972-messenger-page .hcm976-chat-stage .bubblemsg.mine{background:#236e53!important;border-radius:17px 17px 5px 17px!important}
body.hcm972-messenger-page .hcm976-day{margin:12px 0!important}
body.hcm972-messenger-page .hcm976-day span{background:transparent!important;border:0!important;color:#b4cbbd!important}
body.hcm972-messenger-page .hcm976-chat-stage>.hcm976-message-composer{background:#15261e!important;min-height:65px!important;padding:9px 11px!important;gap:7px!important;align-items:center!important;overflow:visible!important}
body.hcm972-messenger-page .hcm976-message-composer .hcm979-composer-input{display:flex;min-width:0;align-items:center;flex:1;position:relative;border-radius:24px;background:#0a1410;border:1px solid #426352}
body.hcm972-messenger-page .hcm976-message-composer .hcm979-composer-input>input[name=body]{min-width:0!important;width:100%!important;flex:1!important;border:0!important;background:transparent!important;box-shadow:none!important;padding-left:15px!important;padding-right:3px!important}
body.hcm972-messenger-page .hcm979-emoji-toggle{flex:none;background:transparent!important;color:#a2efb8!important;border:0!important;min-width:36px;font-size:24px;padding:4px!important}
body.hcm972-messenger-page .hcm979-emoji-panel{position:absolute;bottom:calc(100% + 8px);right:0;background:#1e3026;border:1px solid #4b7158;box-shadow:0 12px 35px #0009;border-radius:15px;padding:9px;display:grid;grid-template-columns:repeat(5,38px);gap:3px;z-index:30}
.hcm979-emoji-panel[hidden]{display:none!important}
body.hcm972-messenger-page .hcm979-emoji-panel button{background:transparent!important;border:0!important;font-size:22px;line-height:1.4;padding:4px!important}
body.hcm972-messenger-page .hcm979-quick-like{flex:none;background:transparent!important;border:0!important;font-size:22px!important;min-width:32px;padding:4px!important;color:white!important}
body.hcm972-messenger-page .hcm979-photo-status{position:absolute;bottom:calc(100% + 6px);left:12px;background:#204a36;color:#fff;border:1px solid #468d64;padding:8px 12px;border-radius:10px;font-size:12px;max-width:calc(100% - 24px)}
body.hcm972-messenger-page .hcm979-photo-status[hidden]{display:none!important}
body.hcm972-messenger-page .hcm976-attach{background:#245139!important;color:#d6ffe2!important;border-radius:50%!important}
html[data-theme=light] body.hcm972-messenger-page .hcm976-messenger{color:#f2f8f4!important}
@media(max-width:950px){
 body.hcm972-messenger-page .hcm976-messenger{border-radius:0!important}
 body.hcm972-messenger-page .hcm976-chat-head{padding:8px 12px!important;min-height:62px!important}
 body.hcm972-messenger-page .hcm976-inbox-head{padding:14px 17px 12px!important}
 body.hcm972-messenger-page .hcm976-chat-stage>.hcm976-message-history{padding:14px 13px 20px!important}
 body.hcm972-messenger-page .hcm976-chat-stage .bubblemsg{max-width:86%!important}
 body.hcm972-messenger-page .hcm976-chat-stage>.hcm976-message-composer{min-height:62px!important;padding:8px 9px!important}
}
