/* Consent card: white surface, hairline, sharp corners; sits above the glass edge and below the menu. */
.nw-consent {
  position: fixed;
  left: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 25;
  width: min(380px, calc(100vw - 32px));
  padding: 18px 18px 14px;
  background: #fff;
  color: #151515;
  border: 1px solid #15151524;
  font: 14px/1.45 'Neue Montreal', Arial, sans-serif;
  opacity: 0;
  translate: 0 8px;
  transition: opacity .5s cubic-bezier(.22,1,.36,1), translate .5s cubic-bezier(.22,1,.36,1);
}
.nw-consent.is-in { opacity: 1; translate: 0 0; }
.nw-consent p { margin: 0 0 14px; color: #605f5b; }
.nw-consent a { color: #151515; text-decoration: underline; text-underline-offset: 3px; }
.nw-consent-actions { display: flex; gap: 6px; justify-content: flex-end; }
.nw-consent button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #15151524;
  background: #fff;
  color: #151515;
  font: inherit;
  cursor: pointer;
}
.nw-consent button[data-v="granted"] { background: #151515; color: #fff; border-color: #151515; }
.nw-consent button:focus-visible { outline: 1px solid #151515; outline-offset: 3px; }
body:has(#menu:not([hidden])) .nw-consent { visibility: hidden; }
@media (max-width: 800px) { .nw-consent { left: 16px; right: 16px; width: auto; bottom: max(16px, env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .nw-consent { transition: none; } }
