.consent-banner {
  position: fixed;
  z-index: 140;
  left: 12px;
  bottom: 12px;
  width: min(304px, calc(100vw - 24px));
  padding: 11px 12px 9px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: #080808;
  color: #fff;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .22);
  font-family: "DM Sans", Arial, sans-serif;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.consent-banner.is-scroll-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(100% + 18px));
  pointer-events: none;
}

.consent-banner p,
.consent-dialog form > p:first-of-type {
  margin: 0 0 4px;
  color: #ff6670;
  font: 800 7px "Manrope", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.consent-dialog h2 {
  margin: 0;
  font: 700 clamp(24px, 3vw, 42px)/1 "Manrope", Arial, sans-serif;
  letter-spacing: -.05em;
}

.consent-banner h2 {
  margin: 0;
  font: 700 14px/1.15 "Manrope", Arial, sans-serif;
  letter-spacing: -.025em;
}

.consent-banner span {
  margin-top: 5px;
  display: inline;
  color: #c9c9c4;
  font-size: 8px;
  line-height: 1.4;
}

.consent-banner a {
  min-height: 20px;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 7px;
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.consent-actions button,
.consent-save {
  min-width: 0;
  min-height: 29px;
  padding: 0 8px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font: 800 6px "Manrope", Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.consent-actions .primary {
  background: transparent;
  border-color: #fff;
}

.consent-actions .text {
  min-height: 34px;
  padding-inline: 6px;
  border: 0;
  text-decoration: underline;
}

.consent-dialog {
  width: min(570px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  background: #f5f5f2;
  color: #080808;
  font-family: "DM Sans", Arial, sans-serif;
}

.consent-dialog::backdrop {
  background: rgba(0, 0, 0, .68);
}

.consent-dialog form {
  position: relative;
  padding: 38px;
}

.consent-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

.consent-dialog label {
  min-height: 76px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(8, 8, 8, .16);
}

.consent-dialog label:first-of-type {
  margin-top: 24px;
  border-top: 1px solid rgba(8, 8, 8, .16);
}

.consent-dialog label span {
  display: grid;
  gap: 5px;
}

.consent-dialog label strong {
  font: 700 13px "Manrope", Arial, sans-serif;
}

.consent-dialog label small,
.consent-age-note,
.consent-config-status {
  color: #66665f;
  font-size: 10px;
  line-height: 1.45;
}

.consent-age-note {
  margin: 16px 0 0;
}

.consent-dialog input {
  width: 24px;
  height: 24px;
  accent-color: #d71920;
}

.consent-config-status {
  margin: 16px 0;
}

.consent-save {
  width: 100%;
  background: #080808;
  border-color: #080808;
}

@media (max-width: 700px) {
  .consent-banner {
    left: 12px;
    bottom: 10px;
    width: min(304px, calc(100vw - 24px));
    padding: 10px 11px 8px;
  }

  .consent-banner h2 {
    font-size: 14px;
  }

  .consent-banner span {
    font-size: 7px;
  }

  .consent-actions {
    gap: 4px;
  }

  .consent-actions button,
  .consent-actions .text {
    min-height: 28px;
    padding-inline: 6px;
    font-size: 5.5px;
  }

  .consent-dialog form {
    padding: 34px 22px 24px;
  }
}

@media (max-width: 360px) {
  .consent-banner {
    width: calc(100vw - 20px);
    left: 10px;
    bottom: 8px;
  }

  .consent-actions {
    gap: 3px;
  }

  .consent-actions button,
  .consent-actions .text {
    padding-inline: 5px;
    letter-spacing: .03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner,
  .consent-dialog {
    scroll-behavior: auto;
    transition: none;
  }
}
