/* Уведомление о cookie — rptica.ru, 20.10.2026. Цвета и шрифты сайта, как у калькулятора и теста. */
.rpck {
  --rp-violet: #BA65DC;
  --rp-g1: #c16ee2;
  --rp-g2: #a449c8;
  --rp-blue: #2B87DE;
  --rp-navy: #05203E;
  --rp-lav2: #E3CDF3;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; /* как у шапки сайта; окна arcticmodal (тоже 1000) открываются позже и встают выше */
  display: flex; justify-content: center;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  font-family: 'Museo Sans Cyrl 500', 'Trebuchet MS', Arial, sans-serif; font-weight: 500;
  color: var(--rp-navy);
  opacity: 0; transform: translateY(24px);
  transition: opacity .35s ease, transform .35s ease;
}
.rpck.is-on { opacity: 1; transform: none; }
.rpck *, .rpck *::before, .rpck *::after { box-sizing: border-box; }
.rpck__box {
  pointer-events: auto; width: 100%; max-width: 980px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  background: #fff; border: 1.5px solid var(--rp-lav2); border-radius: 28px;
  padding: 14px 18px 14px 20px;
  box-shadow: 0 24px 60px -24px rgba(27, 22, 96, .45);
}
.rpck__bird { display: block; width: 42px; height: 56px; object-fit: contain; }
.rpck__text { margin: 0; font-size: 15.5px; line-height: 1.4; letter-spacing: -0.01em; color: var(--rp-navy); }
.rpck__text a { color: #8d3db0; text-decoration: underline; text-underline-offset: 3px; }
.rpck__text a:hover { color: var(--rp-blue); }
.rpck__btns { display: flex; gap: 10px; }
.rpck__btn {
  -webkit-appearance: none; appearance: none; border: 0; margin: 0; cursor: pointer;
  font-family: 'Museo Sans Cyrl 700', 'Trebuchet MS', Arial, sans-serif; font-weight: 600;
  font-size: 16px; line-height: 1; letter-spacing: -0.01em;
  min-height: 48px; padding: 0 24px; border-radius: 500px; white-space: nowrap;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .15s ease;
}
.rpck__btn:active { transform: scale(.97); }
.rpck__btn:focus-visible, .rpck__text a:focus-visible { outline: 3px solid var(--rp-blue); outline-offset: 3px; }
.rpck__btn--ok {
  color: #fff; background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2));
  box-shadow: 0 10px 22px -12px rgba(164, 73, 200, .9);
}
.rpck__btn--ok:hover { background: var(--rp-blue); }
.rpck__btn--no { color: var(--rp-navy); background: #fff; box-shadow: inset 0 0 0 1.5px rgba(5, 32, 62, .16); }
.rpck__btn--no:hover { box-shadow: inset 0 0 0 2px var(--rp-violet); }
.footer__links .rpck-settings { cursor: pointer; }

@media (max-width: 767px) {
  .rpck { padding: 0 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .rpck__box { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 22px; }
  .rpck__bird { display: none; }
  .rpck__text { font-size: 14px; }
  .rpck__btns { gap: 8px; }
  .rpck__btn { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 12px; font-size: 15px; }
}
@media (max-width: 359px) {
  .rpck__btn { font-size: 13.5px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .rpck, .rpck__btn { transition: none; }
}
html.rpm-off .rpck { transition: none; }
@media print { .rpck { display: none !important; } }
