.cookie-consent {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1000;
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid #2a2a2a;
  border-radius: 32px;
  background: #111;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cookie-consent[hidden], .cookie-consent [hidden] { display: none; }
.cookie-consent h2 { margin: 0 0 8px; font-size: 16px; }
.cookie-consent p { margin: 0 0 16px; color: #aaa; text-align: left; }
.cookie-consent a { color: #5e5e5e; }
.cookie-consent .cookie-consent-error { color: #ff8a80; }
.cookie-consent-actions { display: flex; gap: 8px; }
.cookie-consent-actions button, .cookie-settings {
  padding: 9px 16px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.cookie-consent-actions button { flex: 1; border-radius: 999px; }
.cookie-consent-actions button[data-choice="accepted"] {
  border-color: #fff;
  background: #fff;
  color: #000;
}
.cookie-consent-actions button:hover, .cookie-settings:hover { opacity: 0.8; }
