.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(920px, calc(100% - 36px));
  margin-inline: auto;
  padding: 18px 20px;
  color: #f7f3e8;
  background: #11110f;
  border: 1px solid rgba(255, 196, 18, 0.42);
  border-radius: 18px;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.36);
  font: 500 15px/1.5 Manrope, Arial, sans-serif;
}

.cookie-consent p {
  margin: 0;
}

.cookie-consent a {
  color: #ffc412;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-consent button {
  min-height: 44px;
  padding: 10px 16px;
  color: #f7f3e8;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font: 800 12px/1.2 Manrope, Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-consent button:focus-visible {
  outline: 3px solid rgba(255, 196, 18, 0.55);
  outline-offset: 3px;
}

.cookie-consent .cookie-consent__accept {
  color: #0b0b0a;
  background: #ffc412;
  border-color: #ffc412;
}

@media (max-width: 720px) {
  .cookie-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    font-size: 14px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cookie-consent {
    animation: cookie-consent-in 280ms ease-out both;
  }
}

@keyframes cookie-consent-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
