/* Scoped styles: no changes to BuddyBoss, Elementor, or the cookie banner. */
#fs-age-gate {
  --fs-ag-navy: #203d61;
  --fs-ag-blue: #00aeef;
  --fs-ag-pink: #d45e9f;
  --fs-ag-muted: #596b7f;
  --fs-ag-border: #dce7ef;
  box-sizing: border-box !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  width: calc(100% - 40px) !important;
  max-width: 476px !important;
  height: fit-content !important;
  max-height: calc(100vh - 40px) !important;
  max-height: calc(100dvh - 40px) !important;
  margin: auto !important;
  padding: 0 !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  border: 1px solid rgba(32, 61, 97, .10) !important;
  border-radius: 26px !important;
  background: #fff !important;
  color: var(--fs-ag-navy) !important;
  box-shadow: 0 24px 80px rgba(32, 61, 97, .13), 0 4px 16px rgba(32, 61, 97, .04) !important;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  text-align: left !important;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}

#fs-age-gate[hidden], #fs-age-gate:not([open]) { display: none !important; }
#fs-age-gate *, #fs-age-gate *::before, #fs-age-gate *::after { box-sizing: border-box; }

#fs-age-gate::backdrop {
  background: radial-gradient(ellipse at 12% 14%, rgba(0, 174, 239, .09), transparent 55%), radial-gradient(ellipse at 90% 88%, rgba(0, 174, 239, .05), transparent 50%), #f5f8fb;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#fs-age-gate-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: radial-gradient(ellipse at 12% 14%, rgba(0, 174, 239, .09), transparent 55%), #f5f8fb;
}

#fs-age-gate .fs-ag-card { padding: 30px 32px 26px; }
#fs-age-gate .fs-ag-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 27px; }
#fs-age-gate .fs-ag-brand { display: flex; align-items: center; gap: 10px; }
#fs-age-gate .fs-ag-logo-wrap { position: relative; display: block; flex: 0 0 46px; width: 46px; height: 46px; }
#fs-age-gate .fs-ag-logo-fallback { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--fs-ag-blue); color: #143757; font-size: 18px; font-weight: 800; letter-spacing: -.7px; }
#fs-age-gate .fs-ag-logo { display: block; position: absolute; inset: 0; width: 46px; height: 46px; max-width: none; margin: 0; object-fit: contain; border: 0; border-radius: 0; background: #fff; opacity: 0; }
#fs-age-gate .fs-ag-logo[hidden] { display: none !important; }
#fs-age-gate .fs-ag-logo-loaded .fs-ag-logo { opacity: 1; }
#fs-age-gate .fs-ag-logo-loaded .fs-ag-logo-fallback { visibility: hidden; }
#fs-age-gate .fs-ag-brand-name { color: var(--fs-ag-navy); font-size: 23px; font-weight: 800; line-height: 1.1; letter-spacing: -.6px; }
#fs-age-gate .fs-ag-brand-name > span { display: block; margin-top: 5px; color: var(--fs-ag-muted); font-size: 11px; font-weight: 400; letter-spacing: .2px; }
#fs-age-gate .fs-ag-age-badge { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 7px 12px; border: 1px solid #f0cfe2; border-radius: 999px; background: #fbeff5; color: #9f3b73; font-size: 13px; font-weight: 700; line-height: 1; }
#fs-age-gate .fs-ag-age-badge > span { width: 6px; height: 6px; border-radius: 50%; background: var(--fs-ag-pink); }

#fs-age-gate #fs-ag-title { margin: 0 0 12px; padding: 0; border: 0; color: var(--fs-ag-navy); font-family: inherit; font-size: 31px; font-weight: 700; line-height: 1.2; letter-spacing: -.75px; text-transform: none; overflow-wrap: anywhere; }
#fs-age-gate #fs-ag-title:focus { outline: none; }
#fs-age-gate #fs-ag-description { margin: 0; padding: 0; color: var(--fs-ag-muted); font-size: 15px; font-weight: 400; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }

#fs-age-gate .fs-ag-remember { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 23px 0 20px; padding: 3px 0; color: #415771; font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.5; cursor: pointer; }
#fs-age-gate #fs-ag-remember { display: inline-block; position: static; appearance: auto; -webkit-appearance: checkbox; flex: 0 0 17px; width: 17px; height: 17px; margin: 0; padding: 0; opacity: 1; visibility: visible; clip: auto; clip-path: none; accent-color: #007fae; cursor: pointer; }
#fs-age-gate .fs-ag-remember::before, #fs-age-gate .fs-ag-remember::after, #fs-age-gate .fs-ag-remember > span::before, #fs-age-gate .fs-ag-remember > span::after { content: none !important; }
#fs-age-gate .fs-ag-actions { display: grid; gap: 10px; }

#fs-age-gate .fs-ag-confirm, #fs-age-gate .fs-ag-exit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  height: auto;
  margin: 0;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

#fs-age-gate .fs-ag-confirm { background: var(--fs-ag-blue); color: #fff; box-shadow: 0 4px 12px rgba(0, 174, 239, .14); }
#fs-age-gate .fs-ag-confirm:hover { background: #09b6f4; color: #fff; box-shadow: 0 5px 16px rgba(0, 174, 239, .22); }
#fs-age-gate .fs-ag-confirm:active { background: #00a2df; }
#fs-age-gate .fs-ag-confirm svg { flex: 0 0 19px; width: 19px; height: 19px; }
#fs-age-gate .fs-ag-exit, #fs-age-gate .fs-ag-exit:visited { border-color: var(--fs-ag-border); background: #fff; color: #415771; box-shadow: none; font-weight: 400; }
#fs-age-gate .fs-ag-exit:hover { border-color: #c7d7e5; background: #f4f8fb; color: var(--fs-ag-navy); text-decoration: none; }
#fs-age-gate .fs-ag-confirm:focus-visible, #fs-age-gate .fs-ag-exit:focus-visible, #fs-age-gate .fs-ag-privacy:focus-visible, #fs-age-gate #fs-ag-remember:focus-visible { outline: 3px solid #203d61; outline-offset: 3px; }

#fs-age-gate .fs-ag-footer { margin-top: 23px; padding-top: 19px; border-top: 1px solid #edf1f5; }
#fs-age-gate #fs-ag-legal { margin: 0; padding: 0; color: #66778a; font-size: 11.5px; font-weight: 400; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
#fs-age-gate .fs-ag-privacy, #fs-age-gate .fs-ag-privacy:visited { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 0; border: 0; color: #42637f; font-size: 11.5px; font-weight: 400; line-height: 1.5; text-decoration: underline; text-decoration-color: #c2d2df; text-underline-offset: 3px; }
#fs-age-gate .fs-ag-privacy:hover { color: #007caa; text-decoration-color: #007caa; }

@media (max-width: 520px) {
  #fs-age-gate { width: calc(100% - 28px) !important; max-height: calc(100vh - 28px) !important; max-height: calc(100dvh - 28px) !important; border-radius: 22px !important; }
  #fs-age-gate .fs-ag-card { padding: 26px 24px 23px; }
  #fs-age-gate .fs-ag-header { margin-bottom: 24px; }
  #fs-age-gate #fs-ag-title { font-size: 28px; }
  #fs-age-gate #fs-ag-description { font-size: 14px; }
  #fs-age-gate .fs-ag-remember { font-size: 12.5px; }
  #fs-age-gate .fs-ag-confirm, #fs-age-gate .fs-ag-exit { min-height: 49px; }
}

@media (max-height: 580px) and (min-width: 521px) {
  #fs-age-gate .fs-ag-card { padding-top: 23px; padding-bottom: 22px; }
  #fs-age-gate .fs-ag-header { margin-bottom: 18px; }
  #fs-age-gate .fs-ag-remember { margin-top: 17px; margin-bottom: 15px; }
  #fs-age-gate .fs-ag-footer { margin-top: 18px; padding-top: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  #fs-age-gate .fs-ag-confirm, #fs-age-gate .fs-ag-exit { transition: none; }
}

@media (forced-colors: active) {
  #fs-age-gate { border: 1px solid CanvasText !important; }
  #fs-age-gate .fs-ag-confirm, #fs-age-gate .fs-ag-exit { border: 1px solid ButtonText; }
}
