.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  z-index: 900;
  left: clamp(12px, 3vw, 34px);
  bottom: max(14px, env(safe-area-inset-bottom));
  width: min(530px, calc(100% - 24px));
  max-height: calc(100svh - 28px);
  overflow: auto;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #777;
  background: #101010;
  color: #fff;
  box-shadow: 0 5px 24px #0009;
}
.cookie-banner h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: -.02em;
}
.cookie-banner p { margin: 0; color: #dedede; font-size: 14px; line-height: 1.5; }
.cookie-banner a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cookie-banner-actions button {
  min-height: 44px;
  padding: 8px 6px;
  border: 1px solid #fff;
  background: #fff;
  color: #080808;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-banner-actions button:hover { background: #dedede; }
.cookie-settings-link {
  display: block;
  padding: 0;
  margin-top: 9px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}
.cookie-settings-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner :is(a, button, h2):focus-visible, .cookie-settings-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
#cookies { scroll-margin-top: 105px; }
