/* Keep the background stationary while CookieYes owns the modal focus. */
html:has(.cky-modal.cky-modal-open),
body:has(.cky-modal.cky-modal-open) {
  overflow: hidden !important;
}
@media (max-width: 576px) {
  .cky-modal.cky-modal-open {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    transform: none !important;
    margin: 0 !important;
  }
  .cky-modal.cky-modal-open .cky-preference-center {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
  }
  .cky-modal.cky-modal-open .cky-preference-body-wrapper {
    min-height: 0;
    overscroll-behavior: contain;
  }
}
