.bk-consent-open {
  overflow: hidden;
}

.bk-consent-backdrop[hidden] {
  display: none;
}

.bk-privacy-settings[hidden] {
  display: none;
}

.bk-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(3, 10, 18, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.bk-consent {
  width: min(100%, 58rem);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  color: #eefcff;
  background: linear-gradient(145deg, #0d1724, #07111c);
  border: 1px solid rgba(75, 226, 240, 0.55);
  border-radius: 1rem;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.5);
  font-family: inherit;
}

.bk-consent__signal {
  margin-bottom: 0.75rem;
  color: #5eeaf3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.bk-consent h2 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.15;
}

.bk-consent p {
  max-width: 76ch;
  margin: 0.75rem 0;
  color: #d3e5eb;
  line-height: 1.65;
}

.bk-consent a {
  color: #75f3fa;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.bk-consent__status {
  padding: 0.7rem 0.9rem;
  background: rgba(83, 225, 237, 0.09);
  border-left: 0.2rem solid #54e1ed;
}

.bk-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.bk-consent button,
.bk-privacy-settings {
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  color: #f5fdff;
  background: #102536;
  border: 1px solid #50dce8;
  border-radius: 0.55rem;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.bk-consent button:hover,
.bk-privacy-settings:hover {
  color: #061018;
  background: #6bf2fa;
}

.bk-consent button:focus-visible,
.bk-privacy-settings:focus-visible,
.bk-consent a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.bk-consent__choice[data-consent="granted"] {
  color: #061018;
  background: #64eaf3;
}

.bk-consent__choice[data-consent="granted"]:hover {
  background: #a1f7fb;
}

.bk-consent__close {
  width: 100%;
  margin-top: 0.75rem;
  color: #c9dce2;
  background: transparent;
  border-color: rgba(201, 220, 226, 0.45);
}

.bk-privacy-settings {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 9999;
  min-height: 2.55rem;
  padding: 0.55rem 0.8rem;
  color: #dffcff;
  background: rgba(7, 17, 28, 0.94);
  box-shadow: 0 0.5rem 1.8rem rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
}

@media (max-width: 42rem) {
  .bk-consent-backdrop {
    align-items: end;
    padding: 0;
  }

  .bk-consent {
    max-height: 92vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 1rem 1rem 0 0;
  }

  .bk-consent__actions {
    grid-template-columns: 1fr;
  }

  .bk-privacy-settings {
    right: 0.65rem;
    bottom: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bk-consent *,
  .bk-privacy-settings {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .bk-consent,
  .bk-consent button,
  .bk-privacy-settings {
    border: 2px solid ButtonText;
  }
}
