.cookie-consent {
  position: fixed;
  inset: auto auto calc(3.75rem + max(.75rem, env(safe-area-inset-bottom))) .75rem;
  box-sizing: border-box;
  z-index: 1000;
  width: min(21rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 5.25rem);
  overflow: auto;
  padding: .75rem;
  color: #183b5b;
  background: #fff;
  border: 1px solid #c9d6e0;
  border-radius: .75rem;
  box-shadow: 0 .25rem .9rem #183b5b1a;
}
.cookie-consent h2 { margin: 0 0 .2rem; font-size: 1rem; line-height: 1.3; }
.cookie-consent p { margin: 0; font-size: .8125rem; line-height: 1.45; }
.cookie-consent a, .cookie-preferences { text-decoration: underline; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.cookie-consent-actions button {
  flex: 1 1 7rem;
  min-height: 44px;
  padding: .35rem .5rem;
  color: #183b5b;
  background: #f0f6fa;
  border: 1px solid #c9d6e0;
  cursor: pointer;
  border-radius: .5rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
}
.cookie-consent-actions button:hover { background: #e2edf4; }
.cookie-consent :focus-visible, .cookie-preferences:focus-visible { outline: 2px solid #2074ae; outline-offset: 3px; }
.cookie-preferences { padding: .3rem 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: .875rem; }
[data-cookie-media-fallback] { padding: 1.25rem; }
[data-cookie-media-fallback] button { min-height: 44px; }
.cookie-consent[hidden], [data-cookie-media-fallback][hidden], video[data-cookie-source][hidden] { display: none; }
