[data-cookie-preferences] {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
[data-cookie-preferences]:focus-visible,
.am-consent :is(a, button):focus-visible {
  outline: 3px solid #ff9a57;
  outline-offset: 3px;
}
#artmosfera-footer .af-legal > div, .ins-pagefooter { flex-wrap: wrap; }
.am-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 2147483600;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  width: min(590px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(18px, 3vw, 28px);
  color: #17283d;
  background: #fffdf6;
  border: 1px solid #b5bbc0;
  border-top: 4px solid #f96204;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgb(9 17 29 / 25%);
  font-family: var(--sans, "Avenir Next", Arial, sans-serif);
  font-size: 15px;
  line-height: 1.5;
}
.am-consent[hidden] { display: none !important; }
.am-consent h2 {
  margin: 0 42px 8px 0;
  padding: 0;
  font: 650 clamp(20px, 3vw, 25px)/1.2 var(--sans, "Avenir Next", Arial, sans-serif);
  letter-spacing: -.025em;
  color: #17283d;
}
.am-consent p { margin: 8px 0; color: #28374a; font: inherit; }
.am-consent .am-consent-detail { font-size: 14px; }
.am-consent a { color: #223b59; text-decoration: underline; text-underline-offset: .16em; }
.am-consent button {
  appearance: none;
  cursor: pointer;
  font: 600 14px/1.25 var(--sans, "Avenir Next", Arial, sans-serif);
}
.am-consent button:disabled { cursor: default; opacity: .65; }
.am-consent-close {
  position: absolute;
  right: 12px;
  top: 10px;
  height: 40px;
  width: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #17283d;
  background: transparent;
}
.am-consent .am-consent-close { font-size: 26px; font-weight: 400; }
.am-consent-close:hover { background: #ece9de; }
.am-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.am-consent-actions button {
  flex: 1 1 165px;
  min-height: 44px;
  padding: 10px 12px;
  color: #fffdf6;
  background: #253b54;
  border: 1px solid #253b54;
  border-radius: 7px;
}
.am-consent-actions button:hover:not(:disabled) { background: #17283d; }
.am-consent .am-consent-status { font-size: 14px; margin-bottom: 0; }
.am-consent .am-consent-status:empty { display: none; }
@media (max-width: 440px) {
  #artmosfera-footer .af-legal > div { gap: 10px 18px; }
  .am-consent-actions button { flex-basis: 100%; }
}
@media print { .am-consent, [data-cookie-preferences] { display: none !important; } }
