.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface, #ffffff);
  border-top: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.cookie-consent--visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-consent--hidden {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-consent__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.cookie-consent__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted, #475569);
  line-height: 1.5;
}
.cookie-consent__text a {
  color: var(--accent, #2563eb);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent__btn {
  display: inline-block;
  margin: 0 0 0 0.2rem;
  padding: 0.12rem 0.5rem;
  border: none;
  border-radius: 6px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--on-accent, #ffffff);
  background: var(--accent, #2563eb);
  cursor: pointer;
  white-space: nowrap;
  vertical-align: baseline;
  transition: opacity 0.12s ease;
}
.cookie-consent__btn:hover {
  opacity: 0.88;
}
body[data-theme="dark"] .cookie-consent {
  background: var(--surface, #0a0a0a);
  border-top-color: var(--border, rgba(255, 255, 255, 0.1));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}
body[data-theme="dark"] .cookie-consent__text a {
  color: #ffffff;
}
body[data-theme="dark"] .cookie-consent__btn {
  background: #ffffff;
  color: #000000;
}
