/* All rules are scoped: the site's existing layout and controls remain independent. */
.obb-ads-consent,
.obb-ads-consent * {
  box-sizing: border-box;
}

.obb-ads-consent {
  color: #123227;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.obb-ads-consent [hidden] {
  display: none !important;
}

.obb-ads-consent__launcher {
  position: fixed;
  z-index: 950;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: calc(12px + env(safe-area-inset-left, 0px));
  min-width: 76px;
  min-height: 44px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid #afbeb3;
  border-radius: 999px;
  background: #fffdf5;
  color: #123227;
  box-shadow: 0 2px 12px rgba(18, 50, 39, .14);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.obb-ads-consent__panel {
  position: fixed;
  z-index: 951;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 520px;
  max-width: calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  max-height: calc(100vh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 24px;
  border: 1px solid #afbeb3;
  border-top: 4px solid #c8f244;
  border-radius: 16px;
  background: #fffdf5;
  color: #123227;
  box-shadow: 0 12px 48px rgba(18, 50, 39, .2);
}

.obb-ads-consent .obb-ads-consent__heading {
  margin: 0 0 12px;
  padding: 0;
  color: #123227;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
}

.obb-ads-consent .obb-ads-consent__description,
.obb-ads-consent .obb-ads-consent__status,
.obb-ads-consent .obb-ads-consent__footer {
  margin: 0 0 14px;
  padding: 0;
  color: #123227;
  font: inherit;
}

.obb-ads-consent .obb-ads-consent__status {
  font-size: 12px;
}

.obb-ads-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.obb-ads-consent__choice {
  display: block;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 11px 12px;
  border: 2px solid #123227;
  border-radius: 9px;
  background: #123227;
  color: #fffdf5;
  font: inherit;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

.obb-ads-consent__choice:hover {
  border-color: #285543;
  background: #285543;
  color: #fffdf5;
}

.obb-ads-consent__launcher:hover {
  background: #eff4e7;
  color: #123227;
}

.obb-ads-consent .obb-ads-consent__footer {
  margin-bottom: 0;
  font-size: 12px;
}

.obb-ads-consent a {
  color: #123227;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.obb-ads-consent button:focus-visible,
.obb-ads-consent a:focus-visible,
.obb-ads-consent__heading:focus-visible {
  outline: 3px solid #496b06;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .obb-ads-consent__panel {
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    padding: 20px;
  }

  .obb-ads-consent--has-booking .obb-ads-consent__launcher {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 350px) {
  .obb-ads-consent__panel {
    padding: 16px;
  }

  .obb-ads-consent__actions {
    gap: 8px;
  }

  .obb-ads-consent__choice {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 13px;
  }
}
