.rb-cookie-notice {
  position: fixed;
  z-index: 1000;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(440px, calc(100% - max(12px, env(safe-area-inset-left)) - max(12px, env(safe-area-inset-right))));
  max-height: calc(100% - 24px);
  overflow: auto;
  padding: 18px;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  color: #222;
  box-shadow: 0 4px 24px rgb(0 0 0 / 12%);
  font-size: 16px;
  line-height: 1.45;
}

.rb-cookie-notice[hidden] {
  display: none;
}

.rb-cookie-notice p {
  margin: 0 0 12px;
}

.rb-cookie-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rb-cookie-notice .rb-popup__button-ok {
  min-width: 76px;
  height: 44px;
  margin-left: auto;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: normal;
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .rb-cookie-notice .rb-popup__button-ok {
    transition: border-color 150ms ease, box-shadow 150ms ease;
  }
}

.rb-cookie-notice :focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}
