/* Nuvorelix 4.7.1 · Messaging drawer isolated from the new navbar */
.message-drawer-layer{
  z-index:1200!important;
}
.message-drawer-backdrop{
  position:absolute!important;
  inset:0!important;
  background:rgba(6,9,17,.58)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
}
.message-drawer{
  inset:94px auto 18px 18px!important;
  width:min(560px,calc(100vw - 36px))!important;
  height:auto!important;
  max-height:calc(100dvh - 112px)!important;
  border:1px solid var(--px-line)!important;
  border-radius:24px!important;
  box-shadow:0 28px 90px rgba(4,6,12,.34)!important;
}
.message-drawer-head{
  border-radius:24px 24px 0 0!important;
}
.message-drawer-actions{
  border-radius:0 0 24px 24px!important;
}
body.cm-message-drawer-open .nova-navbar,
body.cm-message-drawer-open .nova-mobile-drawer,
body.cm-message-drawer-open .nova-mobile-overlay{
  pointer-events:none!important;
}
body.cm-message-drawer-open .cm-mobile-dock,
body.cm-message-drawer-open .cm-mobile-buybar,
body.cm-message-drawer-open .cm-compare-tray{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

@media(max-width:1024px){
  .message-drawer{
    inset:88px 12px 12px 12px!important;
    width:auto!important;
    max-height:calc(100dvh - 100px)!important;
    border-radius:22px!important;
  }
  .message-drawer-head{border-radius:22px 22px 0 0!important}
  .message-drawer-actions{border-radius:0 0 22px 22px!important}
}

@media(max-width:560px){
  .message-drawer{
    inset:84px 8px 8px 8px!important;
    max-height:calc(100dvh - 92px)!important;
    border-radius:20px!important;
  }
  .message-drawer-head{
    padding:17px 16px 15px!important;
    border-radius:20px 20px 0 0!important;
  }
  .message-drawer-body{padding:16px!important}
  .message-drawer-actions{
    padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))!important;
    border-radius:0 0 20px 20px!important;
  }
}
