.privacy-consent {
  position: fixed;
  z-index: 950;
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(16px, 3vw, 34px);
  left: clamp(16px, 3vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  width: min(1180px, calc(100% - clamp(32px, 6vw, 84px)));
  margin-inline: auto;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(39, 58, 136, .16);
  border-radius: 42px 42px 42px 14px;
  background: rgba(255, 255, 255, .98);
  color: var(--text, #1d2a4b);
  box-shadow: 0 26px 78px rgba(17, 29, 61, .26);
  backdrop-filter: blur(18px);
}

.privacy-consent[hidden] { display: none; }
.privacy-consent__copy { min-width: 0; }
.privacy-consent__eyebrow {
  margin: 0 0 8px;
  color: var(--sky-text, #356b98);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.privacy-consent h2 {
  margin: 0;
  color: var(--ink, #273a88);
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.08;
}
.privacy-consent h2:focus { outline: none; }
.privacy-consent #privacy-consent-description {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted, #66738f);
  font-size: 16px;
  line-height: 1.55;
}
.privacy-consent #privacy-consent-description a[data-consent-policy] {
  color: var(--ink, #273a88);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.privacy-consent #privacy-consent-description a[data-consent-policy]:hover {
  color: var(--text, #1d2a4b);
  text-decoration-thickness: 2px;
}
.privacy-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 14px 0 0;
}
.privacy-consent__links a {
  color: var(--ink, #273a88);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.privacy-consent__status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--muted, #66738f);
  font-size: 14px;
  line-height: 1.45;
}
.privacy-consent__status.is-error { color: #9d2d2d; font-weight: 700; }
.privacy-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px;
}
.privacy-consent__actions button {
  min-height: 52px;
  padding: 13px 18px;
  border: 2px solid var(--ink, #273a88);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #273a88);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.privacy-consent__actions button:hover {
  background: var(--mist, #edf5fa);
  transform: translateY(-1px);
}
.privacy-consent__actions button[data-consent-choice="accepted"] {
  background: var(--ink, #273a88);
  color: #fff;
}
.privacy-consent__actions button[data-consent-choice="accepted"]:hover {
  border-color: var(--text, #1d2a4b);
  background: var(--text, #1d2a4b);
}
.privacy-consent__actions button:disabled { cursor: wait; opacity: .62; transform: none; }
.privacy-consent a:focus-visible,
.privacy-consent button:focus-visible,
.footer-cookie-settings:focus-visible {
  outline: 3px solid var(--sky, #6aa6cf);
  outline-offset: 3px;
}
.footer-cookie-settings {
  display: block;
  margin: 0 0 13px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d7e0f2;
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
}
.footer-cookie-settings:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .privacy-consent { grid-template-columns: 1fr; align-items: stretch; }
  .privacy-consent__actions { width: 100%; }
}

@media (max-width: 540px) {
  .privacy-consent {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    max-height: calc(100dvh - 20px - env(safe-area-inset-bottom));
    padding: 22px;
    overflow-y: auto;
    border-radius: 32px 32px 32px 12px;
  }
  .privacy-consent #privacy-consent-description { font-size: 15px; }
  .privacy-consent__actions { grid-template-columns: 1fr; }
  .privacy-consent__actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-consent__actions button { transition: none; }
}
