.cookie-consent {
  position: fixed;
  inset: auto 20px 20px auto;
  z-index: 75;
  width: min(640px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 48px #0005;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent-notices { display: grid; gap: 18px; }
.cookie-consent-notice { display: flex; align-items: flex-start; gap: 12px; }
.cookie-consent-icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--lavender);
}
.cookie-consent-icon-analytics { color: var(--mint); background: #a4dbc018; }
.cookie-consent .cookie-consent-notice h2 { margin: 0 0 6px; font-size: 16px; font-weight: 800; line-height: 1.4; letter-spacing: normal; }
.cookie-consent p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.cookie-consent-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.cookie-consent-bottom > a { color: var(--accent-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.cookie-consent-actions button { min-height: 44px; font-size: 14px; }
@media (max-width: 991px) {
  .cookie-consent { bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 104px - env(safe-area-inset-bottom)); }
  .landing-page .cookie-consent { bottom: calc(12px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 24px - env(safe-area-inset-bottom)); }
}
@media (max-width: 575px) {
  .cookie-consent { right: 12px; width: calc(100% - 24px); padding: 16px; border-radius: 14px; }
  .cookie-consent-actions { width: 100%; }
  .cookie-consent-actions button { flex: 1 1 auto; }
}
@media print { .cookie-consent { display: none; } }
