.cookie-notice[hidden] { display: none; }
.cookie-notice {
  position: fixed;
  inset: auto max(12px, env(safe-area-inset-left), env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom));
  margin: 0 auto;
  max-width: 470px;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  box-sizing: border-box;
  z-index: 20;
  padding: 16px;
  border: 1px solid var(--line, #dce1d6);
  border-radius: 19px;
  background: var(--bg, #f7f8f3);
  color: var(--ink, #20362b);
  box-shadow: 0 8px 28px rgb(32 54 43 / 16%);
  font: 14px/1.5 system-ui, sans-serif;
  text-align: left;
}
.cookie-notice h2 { margin: 0 0 7px; font: 700 17px/1.25 system-ui, sans-serif; color: inherit; letter-spacing: normal; }
.cookie-notice p { margin: 0 0 13px; font: inherit; color: inherit; }
.cookie-notice a { color: #365443; text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice button {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 0;
  border-radius: 13px;
  background: var(--lime, #c5e86d);
  color: var(--ink, #20362b);
  cursor: pointer;
  font: 700 15px/1.2 system-ui, sans-serif;
}
.cookie-notice button:hover { background: #b5d760; }
.cookie-notice :is(button,a):focus-visible { outline: 2px solid #365443; outline-offset: 3px; }
.cookie-revoke:focus-visible { outline: 2px solid #155eb4; outline-offset: 3px; }
.cookie-revoke { min-height: 44px; padding: 7px 14px; border: 1px solid currentColor; border-radius: 9px; background: transparent; color: #185991; cursor: pointer; font: inherit; }
