.rb-privacy-banner {
  position: fixed;
  inset: auto 24px 24px auto;
  z-index: 99999;
  width: min(460px, calc(100vw - 32px));
  color: var(--rb-privacy-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.rb-privacy-panel {
  background: var(--rb-privacy-bg);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(17, 17, 17, 0.14);
  padding: 22px 22px 20px;
}

.rb-privacy-brand {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.rb-privacy-logo {
  display: block;
  max-width: 140px;
  max-height: 54px;
}

.rb-privacy-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.rb-privacy-panel h2,
.rb-privacy-modal-dialog h3 {
  margin: 0 0 10px;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.rb-privacy-panel p,
.rb-privacy-modal-dialog p {
  margin: 0 0 12px;
  color: inherit;
  opacity: 0.88;
  font-size: 1rem;
}

.rb-privacy-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--rb-privacy-accent);
  font-weight: 700;
}

.rb-privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rb-privacy-button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 12px 18px;
}

.rb-privacy-button-primary {
  background: var(--rb-privacy-accent);
  color: var(--rb-privacy-button-text);
}

.rb-privacy-button-secondary {
  background: var(--rb-privacy-secondary-bg);
  color: var(--rb-privacy-secondary-text);
  border-color: rgba(17, 17, 17, 0.08);
}

.rb-privacy-banner.rb-privacy-variant-modern {
  color: #ffffff;
}

.rb-privacy-banner.rb-privacy-variant-modern .rb-privacy-panel {
  background: #111111;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.rb-privacy-banner.rb-privacy-variant-modern .rb-privacy-wordmark {
  background: #ffffff;
  color: #111111;
}

.rb-privacy-banner.rb-privacy-variant-modern .rb-privacy-panel h2,
.rb-privacy-modal.rb-privacy-variant-modern .rb-privacy-modal-dialog h3 {
  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.rb-privacy-banner.rb-privacy-variant-modern .rb-privacy-link {
  color: #ffffff;
}

.rb-privacy-modal.rb-privacy-variant-modern .rb-privacy-modal-dialog {
  background: #141414;
  color: #ffffff;
}

.rb-privacy-modal.rb-privacy-variant-modern .rb-privacy-choice {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.rb-privacy-button:hover,
.rb-privacy-button:focus {
  transform: translateY(-1px);
}

.rb-privacy-modal[hidden] {
  display: none;
}

.rb-privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.rb-privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.rb-privacy-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  margin: 8vh auto 0;
  border-radius: 24px;
  background: #fffdf8;
  color: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  padding: 26px;
}

.rb-privacy-choice {
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(239, 229, 215, 0.35);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.rb-privacy-choice label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.rb-privacy-choice input {
  width: 18px;
  height: 18px;
}

@media (max-width: 700px) {
  .rb-privacy-banner {
    inset: auto 12px 12px 12px;
    width: auto;
  }

  .rb-privacy-panel,
  .rb-privacy-modal-dialog {
    border-radius: 18px;
  }

  .rb-privacy-actions {
    flex-direction: column;
  }
}
