.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 18px max(20px, calc((100% - 1120px) / 2));
  background: #e8e4dc;
  color: #172027;
  font: 14px/1.5 system-ui, sans-serif;
}

.privacy-links a, .privacy-settings {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-settings {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.cookie-panel:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  position: fixed;
  z-index: 1000;
  inset: auto 16px max(16px, env(safe-area-inset-bottom)) 16px;
  max-width: 760px;
  max-height: 65dvh;
  overflow: auto;
  margin: 0 auto;
  padding: 18px;
  color: #fff;
  background: #172027;
  border: 1px solid #76838a;
  box-shadow: 0 8px 32px #0005;
  font: 14px/1.45 system-ui, sans-serif;
}

.cookie-panel h2 { margin: 0 0 6px; font-size: 19px; line-height: 1.2; }
.cookie-panel p { margin: 0; }
.cookie-panel a { color: #ffd9ca; text-decoration: underline; }
.cookie-status:not(:empty) { margin-top: 8px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #ffb79b;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.cookie-actions button:hover { background: #303e44; }
.cookie-panel :focus-visible, .privacy-links :focus-visible {
  outline: 2px solid #cf633e;
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .cookie-panel:not([hidden]) { grid-template-columns: minmax(0, 1fr); gap: 12px; inset-inline: 8px; }
  .cookie-actions button { flex: 1 1 auto; }
}
@media (max-width: 640px) {
  .site-footer + .mobile-sticky-cta ~ .privacy-links { padding-bottom: 82px; }
}
