/* Scoped consent controls; no document scroll locks or global style changes. */
.va-consent,
.va-consent-preferences,
.va-consent-sr {
  box-sizing: border-box;
  font-family: inherit;
}
.va-consent {
  position: fixed;
  z-index: 10000;
  inset: auto auto 72px 24px;
  width: min(740px, calc(100vw - 48px));
  max-height: min(70vh, 620px);
  max-height: min(70dvh, 620px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 26px;
  color: #f5f8ff;
  background: #071224;
  border: 1px solid #45638e;
  border-radius: 18px;
  box-shadow: 0 14px 52px #0006;
  text-align: left;
  line-height: 1.5;
  font-size: 16px;
  color-scheme: dark;
}
.va-consent[hidden],
.va-consent [hidden] { display: none !important; }
.va-consent__title {
  margin: 0 0 10px;
  padding: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.va-consent__description {
  margin: 0 0 12px;
  color: #d4e0f1;
  font-size: 16px;
  line-height: 1.55;
}
.va-consent__preview {
  margin: 0 0 12px;
  padding: 9px 12px;
  color: #dbe9ff;
  background: #122c50;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.va-consent__privacy,
.va-consent__keep {
  color: #b9d5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}
.va-consent__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.va-consent__privacy:hover,
.va-consent__keep:hover { color: #fff; }
.va-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.va-consent__button {
  box-sizing: border-box;
  flex: 1 1 200px;
  min-height: 46px;
  margin: 0;
  padding: 11px 18px;
  border: 1px solid #75aaff;
  border-radius: 9px;
  color: #fff;
  background: #16418a;
  box-shadow: none;
  font: inherit;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  appearance: none;
}
.va-consent__button:hover { background: #2054a9; }
.va-consent__button:active { background: #12366f; }
.va-consent__keep {
  flex-basis: 100%;
  min-height: 36px;
  padding: 5px;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.va-consent-preferences {
  position: fixed;
  z-index: 10001;
  left: max(24px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  min-height: 40px;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 9px 14px;
  border: 1px solid #45638e;
  border-radius: 24px;
  color: #edf4ff;
  background: #071224;
  box-shadow: 0 4px 16px #0003;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  appearance: none;
}
.va-consent-preferences:hover { background: #122c50; }
.va-consent:focus-visible,
.va-consent a:focus-visible,
.va-consent button:focus-visible,
.va-consent-preferences:focus-visible {
  outline: 3px solid #a6cdff;
  outline-offset: 4px;
}
.va-consent-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 540px) {
  .va-consent {
    left: 12px;
    bottom: max(68px, calc(env(safe-area-inset-bottom) + 56px));
    width: calc(100vw - 24px);
    padding: 20px;
    border-radius: 14px;
  }
  .va-consent__title { font-size: 19px; }
  .va-consent__description { font-size: 16px; }
  .va-consent__button { flex-basis: 100%; }
  .va-consent-preferences { left: 12px; }
}
@media (forced-colors: active) {
  .va-consent, .va-consent-preferences, .va-consent__button { border: 1px solid ButtonText; }
}
