.consent-banner,
.consent-panel {
  position: fixed;
  z-index: 10000;
  color: #f5f8ff;
  font-family: "Segoe UI", Arial, sans-serif;
}

.consent-banner {
  left: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(137, 210, 255, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 16%, rgba(89, 215, 255, 0.15), transparent 34%),
    rgba(9, 14, 22, 0.96);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.58), 0 0 30px rgba(89, 215, 255, 0.12);
  backdrop-filter: blur(18px);
}

.consent-banner h2,
.consent-panel h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.15;
}

.consent-banner p,
.consent-panel p {
  margin: 0;
  color: #a8b6c9;
  line-height: 1.45;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.consent-actions button,
.privacy-choice-link {
  border: 1px solid rgba(137, 210, 255, 0.28);
  border-radius: 6px;
  padding: 10px 13px;
  background: rgba(18, 28, 42, 0.94);
  color: #f5f8ff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.consent-actions .accept,
.consent-actions .save {
  border: 0;
  background: linear-gradient(135deg, #59d7ff, #57e39f);
  color: #041018;
}

.consent-actions .reject {
  background: rgba(9, 14, 22, 0.86);
  color: #a8b6c9;
}

.consent-panel {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 4, 7, 0.72);
}

.consent-dialog {
  width: min(560px, 100%);
  padding: 18px;
  border: 1px solid rgba(137, 210, 255, 0.28);
  border-radius: 8px;
  background: rgba(9, 14, 22, 0.98);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.7);
}

.consent-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid rgba(137, 210, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.consent-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.consent-option b {
  display: block;
  margin-bottom: 4px;
}

.consent-option span {
  color: #a8b6c9;
  font-size: 13px;
  line-height: 1.35;
}

.privacy-choice-link {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #57e39f;
}

.ad-slot[data-consent-state="accepted"] {
  border-style: solid;
  border-color: rgba(87, 227, 159, 0.28);
}

.ad-slot[data-consent-state="rejected"] {
  opacity: 0.5;
}

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

  .consent-actions {
    justify-content: stretch;
  }

  .consent-actions button {
    flex: 1 1 140px;
  }
}
