.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  display: none;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.consent-banner.is-visible {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.consent-banner strong {
  display: block;
  margin: 0 0 5px;
  font-size: 0.96rem;
}

.consent-banner p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
}

.consent-banner a {
  color: #c2410c;
  font-weight: 800;
}

.consent-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.consent-btn,
.privacy-choices {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  padding: 11px 15px;
}

.consent-btn:hover,
.privacy-choices:hover {
  border-color: #fb923c;
  color: #c2410c;
}

.consent-btn.primary {
  border-color: #f97316;
  background: #f97316;
  color: #ffffff;
}

.privacy-choices {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999;
  display: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

html.ads-consent-accepted .privacy-choices,
html.ads-consent-declined .privacy-choices {
  display: inline-flex;
}

html:not(.ads-consent-accepted) .ad-unit {
  display: none;
}

@media (max-width: 720px) {
  .consent-banner.is-visible {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    justify-content: flex-start;
  }

  .consent-btn,
  .privacy-choices {
    padding: 10px 13px;
  }
}