.cookie-notice {
  position: fixed;
  inset-inline-start: max(14px, env(safe-area-inset-left), env(safe-area-inset-right));
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + 58px);
  z-index: 34;
  box-sizing: border-box;
  width: min(420px, calc(100% - 28px));
  padding: 12px;
  background: #fff;
  color: #193e44;
  border: 1px solid #cbd9ce;
  border-radius: 12px;
  box-shadow: 0 3px 12px #0a28243d;
  font-size: 14px;
}
.cookie-notice p { margin: 0 0 8px; }
.cookie-notice div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cookie-notice button, #cookie-settings button {
  min-height: 44px;
  border: 1px solid #193e44;
  background: #fff;
  color: #193e44;
  border-radius: 6px;
  padding: 5px 10px;
  font: inherit;
  cursor: pointer;
}
.cookie-notice a { text-decoration: underline; }
body:has(dialog[open]) .cookie-notice { visibility: hidden; }
