.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(10, 14, 26, 0.96);
  display: none;
}

.cookie-banner.visible {
  display: block;
  animation: cookieIn 0.35s ease;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 210;
}

.cookie-modal.open {
  display: grid;
}

.cookie-modal-panel {
  background: #111827;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  width: min(94vw, 470px);
  padding: 1rem;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  margin: 0.8rem 0;
}

@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
