/* CookieYes preference centre, open state only. On small screens the vendor
   scrolls the whole panel, so the title and close button scroll away above and
   the choice buttons sit below the fold. Pinning the header and footer keeps
   both in view while the categories scroll between them, whichever element the
   vendor makes scroll. Small native buttons get 44px hit areas without moving
   their layout. Shared by the Next layout and the static partner pages; never
   sets display, visibility or opacity, so the closed state and the banner stay
   the vendor's, as do its wording and attribution. */
.cky-modal.cky-modal-open > .cky-preference-center > :has([data-cky-tag="detail-close"]) {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: inherit;
}
.cky-modal.cky-modal-open > .cky-preference-center > :has([data-cky-tag="detail-accept-button"]) {
  position: sticky;
  bottom: 0;
  z-index: 1;
  background-color: inherit;
}
/* 24px controls grow to 44px; the negative margin returns the extra 20px. */
.cky-modal.cky-modal-open [data-cky-tag="detail-close"] {
  min-width: 44px;
  min-height: 44px;
  margin: -10px;
}
.cky-modal.cky-modal-open .cky-accordion-btn {
  min-height: 44px;
  margin-block: -10px;
}
