.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .07);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

body[data-theme="dark"] .cookie-consent {
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .4);
}

.cookie-consent--visible {
  transform: none;
  opacity: 1;
}

.cookie-consent--hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-consent__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.cookie-consent__text {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-consent__text a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__btn {
  display: inline-block;
  margin: 0 0 0 .4rem;
  padding: 3px 12px;
  border: none;
  border-radius: var(--r-sm, 8px);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-inv);
  background: var(--accent);
  cursor: pointer;
  white-space: nowrap;
  vertical-align: baseline;
  transition: opacity .12s;
}

.cookie-consent__btn:hover {
  opacity: .8;
}

@media (max-width: 720px) {
  .cookie-consent__inner {
    padding: 0 20px;
  }
}