.cookie-notice {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(440px, calc(100vw - 28px));
  padding: 11px 12px 11px 15px;
  border: 1px solid rgba(205, 143, 82, 0.55);
  border-radius: 6px;
  background: rgba(15, 16, 16, 0.96);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.36);
  color: #f2eee8;
  font: 500 13px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cookie-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-notice a {
  flex: none;
  color: #d7a16a;
  text-underline-offset: 3px;
}

.cookie-notice button {
  flex: none;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(205, 143, 82, 0.7);
  border-radius: 4px;
  background: transparent;
  color: #f2eee8;
  font: inherit;
  cursor: pointer;
}

.cookie-notice button:hover,
.cookie-notice button:focus-visible {
  background: #cd8f52;
  color: #111;
  outline: none;
}

@media (max-width: 560px) {
  .cookie-notice {
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .cookie-notice span {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-notice {
    transition: none;
  }
}
