/* Consent banner: dark card matching site palette (#101A16 / #C8F06A). */
.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 1000;
  width: min(780px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: #101a16;
  color: #f2f7ee;
  border: 1px solid rgba(200, 240, 106, 0.35);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.consent-banner.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.consent-text {
  flex: 1;
  min-width: 0;
}
.consent-title {
  margin: 0 0 3px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f2f7ee;
}
.consent-body {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(242, 247, 238, 0.82);
}
.consent-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  flex-shrink: 0;
}
.consent-actions {
  display: flex;
  gap: 10px;
}
.consent-btn {
  flex: 1;
  padding: 9px 15px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease;
}
.consent-btn:focus-visible {
  outline: 2px solid #c8f06a;
  outline-offset: 2px;
}
.consent-accept {
  background: #c8f06a;
  color: #101a16;
}
.consent-accept:hover {
  background: #d8f78a;
}
.consent-decline {
  background: transparent;
  color: #f2f7ee;
  border-color: rgba(242, 247, 238, 0.4);
}
.consent-decline:hover {
  border-color: rgba(242, 247, 238, 0.7);
  background: rgba(242, 247, 238, 0.06);
}
.consent-policy {
  display: block;
  margin: 0;
  font-size: 0.7rem;
  text-align: center;
  color: rgba(242, 247, 238, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-policy:hover {
  color: #c8f06a;
}
.footer-consent {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.footer-consent:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    transform: translateY(10px);
  }
  .consent-banner.is-visible {
    transform: translateY(0);
  }
  .consent-actions {
    flex-direction: column;
  }
  .consent-policy {
    margin-top: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .consent-banner,
  .consent-btn {
    transition: none;
  }
}
