.cookie-banner[hidden] { display: none; }
.cookie-banner {
  box-sizing: border-box;
  position: fixed;
  z-index: 10000;
  inset: auto 20px 20px;
  display: flex;
  gap: 24px;
  align-items: center;
  max-width: 1160px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid #cbd5eb;
  border-radius: 18px;
  background: #fff;
  color: #0a1033;
  box-shadow: 0 10px 48px #09113c33;
  font: 15px/1.55 system-ui, sans-serif;
}
.cookie-copy { flex: 1; }
.cookie-copy h2 { margin: 0 0 8px; font: 700 19px/1.3 system-ui, sans-serif; }
.cookie-copy p { margin: 0; }
.cookie-copy a { color: #1739ae; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button, [data-cookie-preferences] { font: inherit; cursor: pointer; }
.cookie-actions button {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #1739ae;
  border-radius: 9px;
  background: #fff;
  color: #1739ae;
  font-weight: 700;
}
.cookie-actions button:hover { background: #eef2ff; }
.cookie-actions button:focus-visible, [data-cookie-preferences]:focus-visible {
  outline: 3px solid #2758e8;
  outline-offset: 3px;
}
[data-cookie-preferences] {
  display: inline-block;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: underline;
}
.cookie-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 720px) {
  .cookie-banner { inset: auto 12px 12px; padding: 18px; gap: 16px; flex-direction: column; align-items: stretch; }
  .cookie-actions button { flex: 1; }
}
