#cookie-settings {
  box-sizing: border-box;
  position: fixed;
  top: auto;
  bottom: 1rem;
  z-index: 10000;
  margin: 0 auto;
  width: min(calc(100% - 2rem), 38rem);
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: 1.1rem 1.2rem;
  color: #fbf7ec;
  background: #202823;
  border: 1px solid #748475;
  border-radius: 8px;
  box-shadow: 0 8px 25px #10141066;
  font: 1rem/1.45 system-ui, sans-serif;
}
#cookie-settings h2 { margin: 0 0 .4rem; color: inherit; font: 650 1.1rem/1.3 system-ui,sans-serif; }
#cookie-settings p { margin: 0; color: #f5f2e8; }
#cookie-settings a { color: #ffcf82; text-decoration: underline; }
.cookie-actions { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .65rem; }
#cookie-settings button {
  min-height: 44px;
  border: 1px solid #ddd9ce;
  border-radius: 4px;
  background: #303b34;
  color: #fffdf6;
  font: inherit;
  font-weight: 600;
  padding: .4rem .85rem;
  cursor: pointer;
}
#cookie-settings :is(button,a):focus-visible, [data-open-cookies]:focus-visible {
  outline: 3px solid #eca53e;
  outline-offset: 3px;
}
#cookie-settings::backdrop { background: #0e1610a0; }
[data-open-cookies] { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
#cookie-status:not(:empty) { position: fixed; right: 1rem; bottom: 1rem; padding: .55rem .8rem; z-index: 9000; border-radius: 4px; background: #202823; color: white; }
@media (prefers-reduced-motion:no-preference) {
  #cookie-status:not(:empty) { animation: cookie-status 4s step-end forwards; }
  @keyframes cookie-status { to { opacity: 0; pointer-events: none; } }
}
