#pf-cookie-choice {
  box-sizing: border-box;
  position: fixed;
  z-index: 45;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(408px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 18px 20px 15px;
  border: 1px solid #b9c4ba;
  border-radius: 15px;
  background: #fffdf8;
  color: #203d34;
  box-shadow: 0 6px 28px #17382e26;
  text-align: left;
  font: 16px/1.45 system-ui, sans-serif;
}
#pf-cookie-choice[hidden] { display: none !important; }
#pf-cookie-choice h2 {
  margin: 0 0 6px;
  color: #183f32;
  font: 650 19px/1.22 system-ui, sans-serif;
}
#pf-cookie-choice p {
  margin: 0 0 13px;
  color: #35453d;
  font: inherit;
}
#pf-cookie-choice .pf-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#pf-cookie-choice button {
  box-sizing: border-box;
  flex: 1 1 125px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #557769;
  border-radius: 7px;
  background: #fffdf8;
  color: #204b3c;
  cursor: pointer;
  font: 600 16px/1.25 system-ui, sans-serif;
}
#pf-cookie-choice button[data-choice="yes"] { background: #224d3e; color: white; }
#pf-cookie-choice .pf-cookie-details {
  display: inline-block;
  margin-top: 9px;
  padding: 3px 0;
  color: #335a49;
  font: 14px/1.4 system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#pf-cookie-choice :is(a, button):focus-visible { outline: 3px solid #987329; outline-offset: 2px; }
@media (max-width: 760px), (max-width: 1024px) and (orientation: portrait) and (pointer: coarse) {
  #pf-cookie-choice { right: max(10px, env(safe-area-inset-right)); left: max(10px, env(safe-area-inset-left)); width: auto; max-width: 425px; margin-inline: auto; padding: 14px 16px 10px; }
  body:has(#nav) #pf-cookie-choice { bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 100px - env(safe-area-inset-bottom)); }
  body:has(.mobile-nav) #pf-cookie-choice { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-height: 510px) {
  #pf-cookie-choice { padding-block: 10px; }
  #pf-cookie-choice p { margin-bottom: 8px; }
}
@media (forced-colors: active) {
  #pf-cookie-choice { border: 2px solid CanvasText; }
  #pf-cookie-choice button { border-color: ButtonText; }
}

@media (min-width: 700px) and (max-device-width: 600px) and (orientation: portrait) {
  #pf-cookie-choice { inset-inline: 2.5vw; max-width: none; font-size: 4vw; padding: .85em 1em .65em; border-radius: .8em; }
  #pf-cookie-choice h2 { margin-bottom: .3em; font-size: 1.2em; }
  #pf-cookie-choice p { margin-bottom: .65em; }
  #pf-cookie-choice .pf-cookie-actions { gap: .5em; }
  #pf-cookie-choice button { font-size: 1em; min-height: 2.8em; border-radius: .4em; }
  #pf-cookie-choice .pf-cookie-details { font-size: .88em; margin-top: .5em; }
  body:has(#nav, .mobile-nav) #pf-cookie-choice { bottom: calc(19vw + env(safe-area-inset-bottom)); max-height: calc(100dvh - 22vw); }
}
