/* Preserve the original layout while allowing narrow phones to keep scale 1. */
@media (max-width: 991px) {
  :root body { min-width: 0; }
  :root[data-amorus-chat-dialog] .chatLayout_wrapper__CRn_M {
    height: var(--amorus-chat-height) !important;
  }
  /* The optional push offer must sit above the original z-index:4000 nav. */
  :root .ant-modal-root:has(.style_modal__DlpXe) .ant-modal-mask { z-index: 4001 !important; }
  :root .ant-modal-root:has(.style_modal__DlpXe) .ant-modal-wrap { z-index: 4002 !important; }
  :root .ant-modal.style_modal__DlpXe .ant-modal-content {
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }
}
@media (max-width: 374px) {
  :root .header-amorus_wrapperMenu__OEPF7 { padding-inline: 12px; gap: 8px; }
  :root .header-amorus_logo__LjMX6 { width: 36px; }
  :root .header-amorus_logo__LjMX6 svg { max-width: 100%; height: auto; }
  :root .header-amorus_wrapper_right__yo5dO,
  :root .header-amorus_right__P4OJO { gap: 6px; }
  :root .premiumButton_button__RcUXB { padding-inline: 10px; white-space: nowrap; }
  :root .bottomNavigation_item__tImv0 { min-width: 0; padding-inline: 2px; }
  :root .bottomNavigation_item__text__uM1l3 { font-size: 11px; }
}
@media (max-width: 374px) {
  :root .footer-amorus_columns___jZ9w { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root .footer-amorus_column___UxwT { min-width: 0; overflow-wrap: anywhere; }
}
