/* Shared presentation only: the original button owns the consent cookie. */
body.stalkon-cookie-ready .Cookies {
  position: fixed;
  right: auto;
  bottom: 62px;
  left: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  width: min(760px, calc(100% - 160px));
  max-width: calc(100% - 160px);
  min-width: 0;
  box-sizing: border-box;
  transform: translateX(-50%);
}
body.stalkon-cookie-ready .Cookies.hidden,
body.stalkon-cookie-ready .Cookies[hidden] { display: none !important; }
body.stalkon-cookie-ready .stalkon-cookie-details { flex: 1 1 0; min-width: 0; }
body.stalkon-cookie-ready .stalkon-cookie-details summary { display: none; }
body.stalkon-cookie-ready .Cookies p {
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  font-variant: normal;
  font-feature-settings: normal;
}
body.stalkon-cookie-ready .Cookies > .btn { flex: 0 0 auto; }

@media (max-width: 767px) {
  body.stalkon-cookie-ready .Cookies {
    right: calc(84px + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    left: calc(16px + env(safe-area-inset-left, 0px)) !important;
    flex-wrap: wrap;
    gap: 8px 10px;
    width: auto !important;
    max-width: none !important;
    padding: 12px !important;
    margin: 0 !important;
    transform: none !important;
    font-variant: normal;
    font-feature-settings: normal;
  }
  body.stalkon-cookie-ready .stalkon-cookie-details summary {
    display: block;
    list-style: none;
    cursor: pointer;
  }
  body.stalkon-cookie-ready .stalkon-cookie-details summary::-webkit-details-marker { display: none; }
  body.stalkon-cookie-ready .stalkon-cookie-details summary:focus-visible {
    outline: 2px solid #086bca;
    outline-offset: 4px;
    border-radius: 2px;
  }
  body.stalkon-cookie-ready .stalkon-cookie-title { display: block; font-size: 12px; line-height: 1.4; }
  body.stalkon-cookie-ready .stalkon-cookie-more { display: inline-block; margin-top: 3px; color: #086bca; font-size: 12px; line-height: 1.4; }
  body.stalkon-cookie-ready .stalkon-cookie-details[open] { flex-basis: 100%; }
  body.stalkon-cookie-ready .Cookies p {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: min(200px, 35svh);
    margin: 10px 0 0 !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: 12px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  body.stalkon-cookie-ready .Cookies > .btn {
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 36px;
    margin-left: auto;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.35;
  }

}
