.cookie-banner {
  position: fixed;
  z-index: 1000;
  bottom: calc(var(--footer-height, 0px) + 16px);
  left: 16px;
  width: min(540px, calc(100vw - 32px));
  box-sizing: border-box;
  max-height: 70vh;
  max-height: 70dvh;
  overflow-y: auto;
  padding: 24px;
  color: #f3efe3;
  background: #171a18;
  border: 1px solid #c4a15b;
  box-shadow: 0 12px 40px #0005;
  text-align: left;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.2; }
.cookie-banner p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }
.cookie-banner a { color: inherit; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-actions button {
  flex: 1 1 180px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #c4a15b;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.cookie-actions button:hover { background: #c4a15b22; }
.cookie-settings { color: inherit; font: inherit; background: none; border: 0; padding: 4px; cursor: pointer; text-decoration: underline; }
.cookie-settings-floating { position: fixed; bottom: 8px; right: 8px; z-index: 999; background: #171a18; color: #f3efe3; }
.cookie-banner :focus-visible, .cookie-settings:focus-visible { outline: 2px solid #c4a15b; outline-offset: 4px; }
.cookie-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html[data-theme="light"] .cookie-banner { background: #f3efe3; color: #181b17; border-color: #805c22; }
html[data-theme="light"] .cookie-actions button { border-color: #805c22; }
@media (max-width: 480px) { .cookie-banner { padding: 18px; } }
