.cookie-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  animation: cookieConsentFade 0.3s ease forwards;
}

@keyframes cookieConsentFade {
  to {
    opacity: 1;
  }
}

.cookie-consent {
  width: min(30rem, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.75rem 1.6rem;
  background: var(--bg2, #24211e);
  border: 1px solid var(--line2, rgba(255, 248, 238, 0.12));
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-lg, 0 12px 48px rgba(0, 0, 0, 0.35));
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  transform: translateY(16px) scale(0.985);
  opacity: 0;
  animation: cookieConsentIn 0.35s 0.05s var(--ease, ease) forwards;
}

@keyframes cookieConsentIn {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.cookie-consent__title {
  margin: 0;
  font-family: var(--serif, "Lora", Georgia, serif);
  font-size: 1.2rem;
  color: var(--ink, #f5f0e8);
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink2, #a89f96);
}

.cookie-consent__text a {
  color: var(--amber2, #e8b07a);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.cookie-consent__actions button {
  cursor: pointer !important;
  border-radius: var(--radius-sm, 8px);
  padding: 0.6rem 1.1rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--line2, rgba(255, 248, 238, 0.12));
  background: transparent;
  color: var(--ink, #f5f0e8);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cookie-consent__actions button:hover {
  border-color: var(--amber, #d4925c);
  transform: translateY(-1px);
}

.cookie-consent__accept {
  background: var(--amber, #d4925c) !important;
  border-color: var(--amber, #d4925c) !important;
  color: var(--bg, #1a1816) !important;
}

.cookie-consent__accept:hover {
  background: var(--amber2, #e8b07a) !important;
}

@media (max-width: 480px) {
  .cookie-consent {
    padding: 1.5rem 1.25rem;
  }
  .cookie-consent__actions {
    flex-direction: column-reverse;
  }
  .cookie-consent__actions button {
    width: 100%;
  }
}
