.rb-consent{position:fixed;left:18px;bottom:18px;z-index:80;width:min(410px,calc(100vw - 36px));padding:23px;background:#fff;color:#20212b;border:1px solid #ded5f9;border-radius:18px;box-shadow:0 14px 50px #32275c24;font-family:Inter,Arial,sans-serif}.rb-consent h2{font-family:Nunito,Arial,sans-serif;font-size:21px;font-weight:850;line-height:1.25;letter-spacing:-.5px;margin:0 0 9px}.rb-consent p{font-size:12px;line-height:1.7;color:#625d70;margin:0 0 16px}.rb-consent-actions{display:flex;gap:9px}.rb-consent button{flex:1;min-height:44px;padding:10px 13px;border:1px solid #ddd4f7;border-radius:9px;background:#f6f3fe;color:#453969;font-size:11px;font-weight:650;cursor:pointer}.rb-consent .rb-consent-accept{background:#6446f5;border-color:#6446f5;color:#fff}.rb-consent button:disabled{opacity:.45;cursor:default}.rb-consent a{display:inline-block;font-size:10px;margin-top:13px;color:#6446f5;text-decoration:underline;text-underline-offset:3px}.rb-consent button:focus-visible,.rb-privacy-choices:focus-visible,.rb-consent a:focus-visible{outline:3px solid #876df6;outline-offset:3px}@media(max-width:620px){.rb-consent{left:10px;bottom:10px;width:calc(100vw - 20px);padding:17px;border-radius:14px}.rb-consent h2{font-size:19px}.rb-consent p{font-size:11px;margin-bottom:12px}.rb-consent-actions{gap:8px}.rb-consent button{font-size:10px;padding:10px 8px}}

.rb-consent {
  box-sizing: border-box;
  max-height: calc(100dvh - 108px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rb-consent-popup {
  --dialog-top: max(12px, env(safe-area-inset-top));
  --dialog-right: max(12px, env(safe-area-inset-right));
  --dialog-bottom: max(12px, env(safe-area-inset-bottom));
  --dialog-left: max(12px, env(safe-area-inset-left));
  inset: var(--dialog-top) var(--dialog-right) var(--dialog-bottom) var(--dialog-left);
  margin: auto;
  width: min(420px, calc(100% - var(--dialog-left) - var(--dialog-right)));
  max-height: calc(100dvh - var(--dialog-top) - var(--dialog-bottom));
  padding: clamp(16px, 4vw, 24px);
}
.rb-consent-popup::backdrop { background: rgb(32 27 49 / 42%); }
.rb-consent-popup h2 {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline-end: 50px;
  margin-bottom: 6px;
  font-size: 23px;
}
.rb-consent-popup p { font-size: 14px; line-height: 1.5; }
.rb-consent-popup .rb-consent-actions { flex-wrap: wrap; }
.rb-consent-popup .rb-consent-actions button {
  flex-basis: 120px;
  font-size: 13px;
}
.rb-consent-popup a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 6px;
  font-size: 12px;
}
.rb-consent-popup .rb-consent-close {
  position: absolute;
  inset-block-start: clamp(16px, 4vw, 24px);
  inset-inline-end: clamp(16px, 4vw, 24px);
  width: 44px;
  height: 44px;
  padding: 0;
  border-color: transparent;
  background: none;
  font-size: 24px;
  line-height: 1;
}
.rb-consent-popup .rb-consent-close:hover { background: #f6f3fe; }

/* Keep Bestie's existing view mounted while the preferences dialog owns focus. */
body:has(.rb-consent-popup:modal) :is(.rb-chat-launcher, iframe[data-review-bestie-guide]) {
  opacity: 0;
  pointer-events: none;
}

.site-footer .footer-links {
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
}
.site-footer .footer-links .rb-privacy-choices {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.site-footer .footer-links .rb-privacy-choices:hover { color: var(--violet); }
@media (pointer: coarse) {
  .site-footer .footer-links .rb-privacy-choices { min-height: 44px; }
}

