.rp-consent {
  --rp-ink: #000;
  --rp-bg: #f3f3f3;
  --rp-accent: #7a2e3a;
  position: fixed;
  z-index: 2147483000;
  left: 20px;
  bottom: 20px;
  width: min(480px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 21.6px 22.4px 19.2px;
  background: var(--rp-bg);
  color: var(--rp-ink);
  border: 1px solid rgba(0, 0, 0, .22);
  border-radius: 5.6px;
  box-shadow: 0 12.8px 38.4px rgba(0, 0, 0, .16);
  font-family: "PP Editorial Old", "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}
.rp-consent:focus { outline: none; }
.rp-consent *, .rp-consent *::before, .rp-consent *::after { box-sizing: border-box; }
.rp-consent__title { margin: 0 32px 8px 0; font-size: 20px; font-weight: 700; line-height: 1.2; }
.rp-consent__text { margin: 0 0 16px; font-size: 16px; font-weight: 400; }
.rp-consent__text a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.rp-consent__close {
  position: absolute;
  top: 8.8px;
  right: 9.6px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.rp-consent__row { display: flex; flex-wrap: wrap; align-items: center; gap: 9.6px; }
.rp-consent__btn {
  min-height: 40px;
  padding: 0 19.2px;
  border: 1px solid var(--rp-ink);
  border-radius: 32px;
  background: transparent;
  color: var(--rp-ink);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.rp-consent__btn--solid { background: var(--rp-ink); color: var(--rp-bg); }
.rp-consent__btn--solid:hover, .rp-consent__btn--solid:focus-visible { background: var(--rp-accent); border-color: var(--rp-accent); }
.rp-consent__btn--link { border-color: transparent; padding: 0 6.4px; text-decoration: underline; text-underline-offset: .2em; }
.rp-consent__btn--link:hover, .rp-consent__btn--link:focus-visible { color: var(--rp-accent); }
.rp-consent__panel { margin-top: 16px; padding-top: 6.4px; border-top: 1px solid rgba(0, 0, 0, .22); }
.rp-consent__panel[hidden] { display: none; }
.rp-consent__panel .rp-consent__row { margin-top: 14.4px; }
.rp-consent__option { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11.2px 0; border-bottom: 1px solid rgba(0, 0, 0, .12); cursor: pointer; }
.rp-consent__option-text { display: flex; flex-direction: column; gap: 2.4px; font-size: 15.2px; }
.rp-consent__option-text strong { font-weight: 700; }
.rp-consent__check { position: absolute; opacity: 0; pointer-events: none; }
.rp-consent__switch { position: relative; flex: none; width: 41.6px; height: 24px; border: 1px solid var(--rp-ink); border-radius: 16px; transition: background-color .2s ease; }
.rp-consent__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: calc(24px - 6px); height: calc(24px - 6px); border-radius: 50%; background: var(--rp-ink); transition: transform .2s ease, background-color .2s ease; }
.rp-consent__check:checked + .rp-consent__switch { background: var(--rp-ink); }
.rp-consent__check:checked + .rp-consent__switch::after { background: var(--rp-bg); transform: translateX(17.6px); }
.rp-consent__check:disabled + .rp-consent__switch { opacity: .55; }
.rp-consent__check:focus-visible + .rp-consent__switch { outline: 2px solid var(--rp-accent); outline-offset: 2px; }
.rp-consent__btn:focus-visible, .rp-consent__close:focus-visible, .rp-consent__text a:focus-visible { outline: 2px solid var(--rp-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .rp-consent__btn, .rp-consent__switch, .rp-consent__switch::after { transition: none; }
}
@media (max-width: 520px) {
  .rp-consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
