.pbgc-consent {
  --pbgc-ink: #2f2926;
  --pbgc-muted: #6d645f;
  --pbgc-accent: #c4846a;
  --pbgc-accent-dark: #a86b52;
  --pbgc-line: #eadfd6;
  --pbgc-card: #fffdfb;
  --pbgc-soft: #f6efe9;
  color: var(--pbgc-ink);
  font-family: inherit;
}

.pbgc-consent-banner,
.pbgc-consent-panel,
.pbgc-consent-thanks-card,
.pbgc-consent-launcher,
.pbgc-consent-footer-link,
.pbgc-consent-account {
  font-family: inherit;
}

.pbgc-consent-banner {
  position: fixed;
  z-index: 9990;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 210px;
  gap: 16px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 46px 16px 16px;
  background: var(--pbgc-card);
  color: var(--pbgc-ink);
  border: 1px solid #f0e6df;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(47, 41, 38, 0.14);
}

.pbgc-consent-banner[hidden],
.pbgc-consent-dialog[hidden],
.pbgc-consent-thanks[hidden],
.pbgc-consent-extra[hidden] {
  display: none;
}

.pbgc-consent-banner.is-imageless {
  grid-template-columns: minmax(0, 1fr) 210px;
}

.pbgc-consent-mark {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pbgc-soft);
}

.pbgc-consent-mark img,
.pbgc-consent-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pbgc-consent-kicker {
  margin: 0 0 4px;
  color: var(--pbgc-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pbgc-consent-banner h2,
.pbgc-consent-panel h2,
.pbgc-consent-thanks-card h2,
.pbgc-consent-account h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 650;
}

.pbgc-consent-banner p,
.pbgc-consent-intro,
.pbgc-consent-thanks-card p,
.pbgc-consent-account > p {
  margin: 0;
  color: var(--pbgc-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.pbgc-consent-policy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: var(--pbgc-ink);
  font-size: 0.9rem;
  text-underline-offset: 3px;
}

.pbgc-consent-policy::after {
  content: "→";
}

.pbgc-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pbgc-consent-actions form {
  margin: 0;
}

.pbgc-consent-actions-end {
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 8px;
}

.pbgc-consent-btn {
  appearance: none;
  width: 100%;
  min-height: 44px;
  border: 1px solid #e4d5cb;
  background: #fff;
  color: var(--pbgc-ink);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
}

.pbgc-consent-actions-end .pbgc-consent-btn {
  width: auto;
  min-width: 140px;
}

.pbgc-consent-btn-primary {
  background: var(--pbgc-accent);
  border-color: var(--pbgc-accent);
  color: #fff;
}

.pbgc-consent-btn-primary:hover {
  background: var(--pbgc-accent-dark);
  border-color: var(--pbgc-accent-dark);
}

.pbgc-consent-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pbgc-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.pbgc-consent-banner,
.pbgc-consent-panel {
  position: relative;
}

.pbgc-consent-banner {
  position: fixed;
}

.pbgc-consent-launcher {
  position: fixed;
  z-index: 9989;
  left: 16px;
  bottom: 16px;
  border: 1px solid var(--pbgc-line);
  background: var(--pbgc-card);
  color: var(--pbgc-ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(47, 41, 38, 0.08);
}

.pbgc-consent[data-open="1"] .pbgc-consent-launcher,
body.pbgc-consent-lock .pbgc-consent-launcher {
  display: none;
}

.pbgc-consent-footer {
  margin: 8px 0;
}

.pbgc-consent-footer-link {
  color: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pbgc-consent-dialog,
.pbgc-consent-thanks {
  position: fixed;
  inset: 0;
  z-index: 9991;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 12px;
  background: rgba(47, 41, 38, 0.45);
}

.pbgc-consent-thanks {
  z-index: 9992;
  align-items: center;
}

.pbgc-consent-panel,
.pbgc-consent-thanks-card {
  width: min(460px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  background: var(--pbgc-card);
  color: var(--pbgc-ink);
  border-radius: 22px;
  padding: 22px 18px 16px;
  box-shadow: 0 18px 50px rgba(47, 41, 38, 0.16);
}

.pbgc-consent-thanks-card {
  max-width: 360px;
  padding: 28px 22px 22px;
  text-align: center;
}

.pbgc-consent-tick {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--pbgc-accent);
  color: #fff;
}

.pbgc-consent-tick svg {
  width: 28px;
  height: 28px;
}

.pbgc-consent-thanks-card .pbgc-consent-btn {
  margin-top: 16px;
}

.pbgc-consent-choices {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.pbgc-consent-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--pbgc-line);
  border-radius: 16px;
}

.pbgc-consent-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--pbgc-soft);
  color: var(--pbgc-accent-dark);
}

.pbgc-consent-icon svg {
  width: 20px;
  height: 20px;
}

.pbgc-consent-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
}

.pbgc-consent-copy strong {
  font-size: 0.95rem;
}

.pbgc-consent-copy small,
.pbgc-consent-extra {
  color: var(--pbgc-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.pbgc-consent-more {
  justify-self: start;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pbgc-accent-dark);
  font: inherit;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.pbgc-consent-badge {
  color: var(--pbgc-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.pbgc-consent-switch {
  position: relative;
  width: 46px;
  height: 28px;
  margin: 0;
}

.pbgc-consent-switch input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.pbgc-consent-switch-ui {
  display: block;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: #e6ddd6;
  transition: background 0.15s ease;
}

.pbgc-consent-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(47, 41, 38, 0.2);
}

.pbgc-consent-switch input:checked + .pbgc-consent-switch-ui {
  background: var(--pbgc-accent);
}

.pbgc-consent-switch input:checked + .pbgc-consent-switch-ui::after {
  left: 21px;
}

.pbgc-consent-switch input:focus-visible + .pbgc-consent-switch-ui {
  outline: 2px solid var(--pbgc-accent-dark);
  outline-offset: 2px;
}

.pbgc-consent-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.pbgc-consent button:focus-visible,
.pbgc-consent a:focus-visible,
.pbgc-consent-footer-link:focus-visible {
  outline: 2px solid var(--pbgc-accent-dark);
  outline-offset: 2px;
}

body.pbgc-consent-lock {
  overflow: hidden;
}

.pbgc-consent-account {
  max-width: 640px;
  color: var(--pbgc-ink);
}

.pbgc-consent-account .pbgc-consent-policy {
  margin: 14px 0 0;
}

.pbgc-consent-account .pbgc-consent-actions-end {
  margin-top: 4px;
}

@media (max-width: 720px) {
  .pbgc-consent-banner {
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: min(70vh, 520px);
    overflow: auto;
  }

  .pbgc-consent-kicker {
    letter-spacing: 0.04em;
  }

  .pbgc-consent-mark {
    display: none;
  }

  .pbgc-consent-actions-end {
    flex-direction: column;
  }

  .pbgc-consent-actions-end .pbgc-consent-btn {
    width: 100%;
  }
}

@media (min-width: 721px) {
  .pbgc-consent-dialog {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pbgc-consent-switch-ui,
  .pbgc-consent-switch-ui::after {
    transition: none;
  }
}
