.cookie-consent {
  position: fixed;
  z-index: 10050;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 690px;
  margin: 0 auto;
  padding: 7px 8px;
  border: 1px solid #dedede;
  border-radius: 5px;
  background: rgba(239, 239, 239, 0.97);
  color: #333;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
}

.cookie-consent.cookie-consent-above-nav {
  bottom: calc(100px + env(safe-area-inset-bottom));
}

.cookie-consent-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-consent-copy p {
  margin: 0;
  color: #555;
  font-size: 11px;
  line-height: 1.3;
}

.cookie-consent-copy a {
  color: #222;
  text-underline-offset: 2px;
}

.cookie-consent-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.cookie-consent-button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #c7c7c7;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-consent-reject {
  background: #fff;
  color: #333;
}

.cookie-consent-accept {
  min-width: 46px;
  border-color: #111;
  background: #111;
  color: #fff;
}

.cookie-consent-button:hover {
  transform: translateY(-1px);
}

.cookie-consent-button:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .cookie-consent {
    right: 7px;
    bottom: calc(7px + env(safe-area-inset-bottom));
    left: 7px;
    gap: 7px;
    max-width: 520px;
    padding: 6px 7px;
    border-radius: 5px;
  }

  .cookie-consent.cookie-consent-above-nav {
    bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .cookie-consent-copy p {
    font-size: 9.5px;
    line-height: 1.25;
  }

  .cookie-consent-button {
    min-height: 30px;
    padding: 0 9px;
    font-size: 10px;
  }
}

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