[hidden] {
  display: none !important;
}

.hvh-consent {
  position: relative;
  z-index: 99990;
}

.hvh-consent-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin-inline: auto;
  padding: 24px;
  color: #fff8ec;
  background: #1c1715;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.hvh-consent-banner h2,
.hvh-consent-settings h2 {
  margin: 0 0 8px;
  color: inherit;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.15;
}

.hvh-consent-banner p {
  max-width: 760px;
  margin: 0;
  color: inherit;
  line-height: 1.55;
}

.hvh-consent-banner__links {
  display: flex;
  gap: 18px;
  margin-top: 10px !important;
  font-size: 0.92rem;
}

.hvh-consent-banner a,
.hvh-consent-media a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hvh-consent-banner__actions,
.hvh-consent-settings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.hvh-consent-text-button,
.hvh-consent-footer-link,
.hvh-consent-settings__close {
  font: inherit;
  cursor: pointer;
}

.hvh-consent-text-button {
  padding: 8px 4px;
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hvh-consent-footer-link {
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-transform: uppercase;
}

.hvh-consent-footer-link:hover,
.hvh-consent-footer-link:focus-visible {
  color: #ff4a4a;
}

.hvh-consent-settings {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 9, 8, 0.72);
}

.hvh-consent-settings__dialog {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  color: #1c1715;
  background: #fff8ec;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.hvh-consent-settings__header,
.hvh-consent-settings__body,
.hvh-consent-settings__actions {
  padding: 22px 24px;
}

.hvh-consent-settings__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  color: #fff8ec;
  background: #1c1715;
}

.hvh-consent-settings__close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: #fff8ec;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.hvh-consent-settings__body {
  display: grid;
  gap: 12px;
}

.hvh-consent-choice {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #fff;
  border: 1px solid #d8d0c5;
  border-radius: 14px;
}

.hvh-consent-choice span {
  display: grid;
  gap: 4px;
}

.hvh-consent-choice small {
  color: #625954;
  line-height: 1.45;
}

.hvh-consent-choice input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  accent-color: #b52227;
}

.hvh-consent-choice--locked {
  background: #f2eee7;
}

.hvh-consent-settings__actions {
  color: #1c1715;
  background: #f2eee7;
  border-top: 1px solid #d8d0c5;
}

.hvh-consent-settings-open {
  overflow: hidden;
}

.hvh-consent-media {
  display: grid;
  min-height: 260px;
  aspect-ratio: 16 / 9;
  place-items: center;
  padding: clamp(18px, 4vw, 38px);
  color: #fff8ec;
  background: linear-gradient(145deg, #1c1715, #3d2020);
  border: 1px solid rgba(181, 34, 39, 0.65);
  border-radius: 16px;
  text-align: center;
}

.hvh-consent-media__inner {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 560px;
}

.hvh-consent-media__title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hvh-consent-media p {
  margin: 0;
  color: inherit;
}

.hvh-consent-media__link {
  font-size: 0.9rem;
}

.hvh-consent-noscript {
  margin: 0;
  padding: 12px 20px;
  color: #fff8ec;
  background: #1c1715;
  text-align: center;
}

.hvh-consent button:focus-visible,
.hvh-consent a:focus-visible,
.hvh-consent-footer-link:focus-visible,
.hvh-consent-media button:focus-visible,
.hvh-consent-media a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .hvh-consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: calc(100vh - 24px);
    overflow: auto;
    padding: 20px;
  }

  .hvh-consent-banner__actions,
  .hvh-consent-settings__actions {
    justify-content: flex-start;
  }

  .hvh-consent-banner__actions .bb-pill-button {
    width: 100%;
  }

  .hvh-consent-settings__header,
  .hvh-consent-settings__body,
  .hvh-consent-settings__actions {
    padding: 18px;
  }
}

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