.corbot-consent,
.corbot-consent-settings {
  --corbot-consent-accent: #d4a72c;
  --corbot-consent-accent-text: #10211c;
  --corbot-consent-border: rgba(255, 255, 255, 0.18);
  --corbot-consent-muted: #c8d0cc;
  --corbot-consent-surface: #10211c;
  --corbot-consent-text: #ffffff;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: normal;
}

.corbot-consent[data-corbot-consent-product="american-ambassador"],
.corbot-consent-settings[data-corbot-consent-product="american-ambassador"] {
  --corbot-consent-accent: #bf1e2e;
  --corbot-consent-accent-text: #ffffff;
  --corbot-consent-border: rgba(255, 255, 255, 0.2);
  --corbot-consent-muted: #d8e2ee;
  --corbot-consent-surface: #12233d;
}

.corbot-consent[data-corbot-consent-product="corbday"],
.corbot-consent-settings[data-corbot-consent-product="corbday"] {
  --corbot-consent-accent: #69d1c5;
  --corbot-consent-accent-text: #071a27;
  --corbot-consent-border: rgba(105, 209, 197, 0.3);
  --corbot-consent-muted: #c9d9df;
  --corbot-consent-surface: #071a27;
}

.corbot-consent[data-corbot-consent-product="chivers-ventures"],
.corbot-consent-settings[data-corbot-consent-product="chivers-ventures"] {
  --corbot-consent-accent: #ff6a2a;
  --corbot-consent-accent-text: #090909;
  --corbot-consent-border: rgba(255, 106, 42, 0.3);
  --corbot-consent-muted: #cfcfcf;
  --corbot-consent-surface: #111111;
}

.corbot-consent {
  align-items: center;
  background: var(--corbot-consent-surface);
  border: 1px solid var(--corbot-consent-border);
  border-radius: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
  color: var(--corbot-consent-text);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 50%;
  margin: 0;
  max-width: 1040px;
  padding: 22px 24px;
  position: fixed;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 1040px);
  z-index: 2147483000;
}

.corbot-consent *,
.corbot-consent-settings {
  box-sizing: border-box;
}

.corbot-consent__copy {
  display: grid;
  gap: 7px;
  margin: 0;
  min-width: 0;
}

.corbot-consent__kicker {
  color: var(--corbot-consent-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
}

.corbot-consent strong {
  color: var(--corbot-consent-text);
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 800;
  line-height: 1.08;
}

.corbot-consent p {
  color: var(--corbot-consent-muted);
  font-size: 14px;
  line-height: 1.52;
  margin: 0;
  max-width: 760px;
}

.corbot-consent a {
  color: var(--corbot-consent-text);
  font-size: 13px;
  font-weight: 700;
  justify-self: start;
  text-decoration: underline;
  text-decoration-color: var(--corbot-consent-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.corbot-consent__actions {
  align-items: stretch;
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  min-width: 286px;
}

.corbot-consent button,
.corbot-consent-settings,
.corbot-privacy-page-button {
  appearance: none;
  border-radius: 999px;
  cursor: pointer;
  font: 800 13px/1 Arial, Helvetica, sans-serif;
  min-height: 44px;
  padding: 0 18px;
}

.corbot-consent__allow {
  background: var(--corbot-consent-accent);
  border: 1px solid var(--corbot-consent-accent);
  color: var(--corbot-consent-accent-text);
}

.corbot-consent__deny {
  background: transparent;
  border: 1px solid var(--corbot-consent-border);
  color: var(--corbot-consent-text);
}

.corbot-consent__close {
  background: transparent;
  border: 0;
  color: var(--corbot-consent-muted);
  grid-column: 1 / -1;
  min-height: 32px !important;
  padding: 0 8px !important;
}

.corbot-consent button:focus-visible,
.corbot-consent a:focus-visible,
.corbot-consent-settings:focus-visible,
.corbot-privacy-page-button:focus-visible {
  outline: 3px solid var(--corbot-consent-accent);
  outline-offset: 3px;
}

.corbot-consent-settings {
  background: var(--corbot-consent-surface);
  border: 1px solid var(--corbot-consent-border);
  bottom: max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--corbot-consent-text);
  font-size: 11px;
  min-height: 34px;
  opacity: 0.86;
  padding: 0 13px;
  position: fixed;
  right: max(10px, env(safe-area-inset-right));
  z-index: 2147482999;
}

.corbot-privacy-page-button {
  background: #ffffff;
  border: 2px solid currentColor;
  color: inherit;
  margin-top: 10px;
}

.corbot-privacy-page {
  min-height: 100vh;
}

.corbot-privacy-page main {
  margin: 0 auto;
  max-width: 920px;
  padding: 84px 24px;
}

.corbot-privacy-page main > * + * {
  margin-top: 28px;
}

.corbot-privacy-page main section {
  border-top: 1px solid rgba(127, 127, 127, 0.34);
  padding-top: 24px;
}

@media (max-width: 760px) {
  .corbot-consent {
    align-items: stretch;
    bottom: max(8px, env(safe-area-inset-bottom));
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 18px;
    width: min(calc(100% - 16px), 560px);
  }

  .corbot-consent__actions {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .corbot-consent__close {
    grid-column: 1;
  }

  .corbot-consent strong {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .corbot-consent,
  .corbot-consent-settings {
    animation: corbot-consent-arrive 180ms ease-out both;
  }

  @keyframes corbot-consent-arrive {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}
