.rna-cookie-banner,
.rna-cookie-dialog {
  color: var(--navy, #040234);
  border: 1px solid var(--line, #d9d7d1);
  border-radius: var(--radius-box, 16px);
  box-shadow: 0 10px 28px #04023425;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
}
.rna-cookie-banner {
  position: fixed;
  inset: auto clamp(16px, 2.4vw, 32px) max(16px, env(safe-area-inset-bottom)) auto;
  z-index: 150;
  width: min(calc(100% - 32px), 31rem);
  padding: 12px 16px 15px;
  background: var(--cream, #f3f0e9);
}
.rna-cookie-dialog {
  margin: auto;
  padding: clamp(18px, 3vw, 25px);
  width: min(calc(100% - 32px), 35rem);
  background: var(--paper, #fbfaf7);
}
.rna-cookie-dialog::backdrop { background: #04023450; }
.rna-cookie-banner[hidden], .rna-cookie-footer[hidden], .rna-cookie-reload[hidden] { display: none !important; }
.rna-cookie-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 3px;
}
:is(.rna-cookie-banner, .rna-cookie-dialog) h2 {
  color: inherit;
  font: 550 clamp(20px, 3.6vw, 24px)/1.22 var(--title, Arial, sans-serif);
  letter-spacing: -.025em;
  margin: 0 0 9px;
}
.rna-cookie-heading h2 {
  margin: 0;
  font-size: 17px;
}
.rna-cookie-heading h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-end: 8px;
  vertical-align: .19em;
  border-radius: 50%;
  background: var(--orange, #ef6847);
}
:is(.rna-cookie-banner, .rna-cookie-dialog) p {
  color: #3f4859;
  font: 400 14px/1.55 var(--body, Arial, sans-serif);
  margin: 0 0 15px;
  max-width: none;
}
.rna-cookie-banner p { font-size: 13px; line-height: 1.45; margin-bottom: 12px; }
:is(.rna-cookie-banner, .rna-cookie-dialog) a {
  color: var(--navy, #040234);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rna-cookie-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; }
.rna-cookie-banner .rna-cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rna-cookie-choice, .rna-cookie-settings {
  appearance: none;
  padding: 8px 12px;
  min-height: 44px;
  border: 1px solid var(--navy, #040234);
  border-radius: 8px;
  font: 600 13px/1.25 var(--body, Arial, sans-serif);
  text-align: center;
}
.rna-cookie-choice { background: var(--navy, #040234); color: white; }
.rna-cookie-choice:hover { background: #242254; }
.rna-cookie-settings { background: transparent; color: var(--navy, #040234); }
.rna-cookie-settings:hover { background: var(--cream, #f3f0e9); }
.rna-cookie-banner .rna-cookie-choice {
  min-height: 40px;
  padding-inline: 6px;
  border-color: #04023450;
  background: var(--paper, #fbfaf7);
  color: var(--navy, #040234);
}
.rna-cookie-banner .rna-cookie-choice:hover { border-color: var(--orange, #ef6847); }
.rna-cookie-heading .rna-cookie-settings {
  border: 0;
  padding: 0 0 0 4px;
  min-height: 33px;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rna-cookie-heading .rna-cookie-settings:hover { color: #a43b25; }
:is(.rna-cookie-banner, .rna-cookie-dialog, .footer-policies) :is(a, button, input):focus-visible {
  outline: 2px solid var(--orange, #ef6847);
  outline-offset: 3px;
}
.rna-cookie-options { margin-block: 4px 16px; }
.rna-cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line, #d9d7d1);
  padding-block: 12px;
}
.rna-cookie-option:last-child { border-bottom: 1px solid var(--line, #d9d7d1); }
.rna-cookie-option strong { display: block; font-size: 14px; }
.rna-cookie-option small { display: block; color: #3f4859; font-size: 13px; line-height: 1.45; }
.rna-cookie-always { color: #3f4859; font-size: 12px; max-width: 8rem; }
.rna-cookie-option input { appearance: auto; accent-color: var(--navy, #040234); width: 23px; height: 23px; margin: 4px; }
.rna-cookie-settings-actions { justify-content: flex-end; }
.official-footer .rna-cookie-footer {
  display: inline-block;
  padding: 2px 0;
  border: 0;
  color: #fff;
  opacity: .85;
  background: none;
  font: inherit;
}
.official-footer .rna-cookie-footer:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 540px) {
  .rna-cookie-banner { padding: 10px 13px 13px; }
  .rna-cookie-banner .rna-cookie-choice { min-height: 44px; font-size: 12px; }
  .rna-cookie-settings-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
