.cookie-consent {
  position: fixed;
  z-index: 5000;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 960px;
  margin-inline: auto;
  padding: 20px 22px;
  border: 1px solid #d8e1e8;
  border-radius: 18px;
  background: #fff;
  color: #172b3f;
  box-shadow: 0 14px 48px rgb(2 17 34 / 25%);
  font: 14px/1.5 system-ui, sans-serif;
}
.cookie-consent__copy { flex: 1; }
.cookie-consent__copy strong { font-size: 16px; }
.cookie-consent__copy p { margin: 5px 0 7px; color: #40556a; }
.cookie-consent__copy a { color: #145da0; text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent__actions { display: flex; flex: 0 0 auto; gap: 9px; }
.cookie-consent__actions button {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #145da0;
  border-radius: 9px;
  background: #fff;
  color: #124d82;
  font: 650 13px/1.2 system-ui, sans-serif;
  cursor: pointer;
}
.cookie-consent__actions button:last-child { background: #145da0; color: #fff; }
.cookie-consent__actions button:hover { filter: brightness(.94); }
.cookie-consent :focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
@media (max-width: 680px) {
  .cookie-consent { align-items: stretch; flex-direction: column; gap: 13px; padding: 17px; }
  .cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-consent__actions button { padding-inline: 8px; }
}
:root[data-theme="dark"] .cookie-consent { border-color: #38506c; background: #102039; color: #edf4ff; }
:root[data-theme="dark"] .cookie-consent__copy p { color: #bbcae0; }
:root[data-theme="dark"] .cookie-consent__copy a { color: #9ccaff; }
:root[data-theme="dark"] .cookie-consent__actions button { border-color: #8cbbf1; background: #102039; color: #dbeeff; }
:root[data-theme="dark"] .cookie-consent__actions button:last-child { background: #8cbbf1; color: #102039; }
