:root {
  --crtd-gate-blue: #0071e3;
  --crtd-gate-blue-hover: #0077ed;
  --crtd-gate-ink: #1d1d1f;
  --crtd-gate-muted: #6e6e73;
  --crtd-gate-surface: rgba(255, 255, 255, 0.9);
}

html.crtd-age-gate-open,
html.crtd-age-gate-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.crtd-age-gate[hidden] {
  display: none !important;
}

.crtd-age-gate {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  position: fixed;
  z-index: 2147483000;
}

.crtd-age-gate__backdrop {
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.34), transparent 38%),
    rgba(17, 24, 39, 0.42);
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.crtd-age-gate__panel {
  -webkit-font-smoothing: antialiased;
  background: var(--crtd-gate-surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 32px;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.22),
    0 2px 10px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  box-sizing: border-box;
  color: var(--crtd-gate-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  max-height: calc(100dvh - 32px);
  max-width: 472px;
  opacity: 0;
  overflow: auto;
  padding: 28px 34px 25px;
  position: relative;
  text-align: center;
  transform: translateY(14px) scale(0.975);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.crtd-age-gate.is-visible .crtd-age-gate__backdrop,
.crtd-age-gate.is-visible .crtd-age-gate__panel {
  opacity: 1;
}

.crtd-age-gate.is-visible .crtd-age-gate__panel {
  transform: translateY(0) scale(1);
}

.crtd-age-gate.is-closing .crtd-age-gate__backdrop,
.crtd-age-gate.is-closing .crtd-age-gate__panel {
  opacity: 0;
}

.crtd-age-gate.is-closing .crtd-age-gate__panel {
  transform: translateY(8px) scale(0.985);
}

.crtd-age-gate__brand {
  color: #3a3a3c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 0 0 20px;
}

.crtd-age-gate__badge {
  align-items: center;
  background:
    radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.98) 0 8%, transparent 9%),
    linear-gradient(145deg, #0a84ff 0%, #0066cc 52%, #004f9f 100%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  box-shadow:
    0 15px 32px rgba(0, 102, 204, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
  color: #fff;
  display: inline-flex;
  font-size: 33px;
  font-weight: 650;
  height: 82px;
  justify-content: center;
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0 auto 22px;
  width: 82px;
}

.crtd-age-gate__badge span {
  font-size: 19px;
  font-weight: 600;
  margin: -13px 0 0 2px;
}

.crtd-age-gate__eyebrow {
  color: var(--crtd-gate-blue);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0 0 8px;
}

.crtd-age-gate h2 {
  color: var(--crtd-gate-ink);
  font-size: clamp(28px, 6.3vw, 36px);
  font-weight: 650;
  letter-spacing: -0.042em;
  line-height: 1.08;
  margin: 0 auto 14px;
  max-width: 390px;
}

.crtd-age-gate__copy {
  color: var(--crtd-gate-muted);
  font-size: 15px;
  letter-spacing: -0.006em;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 390px;
}

.crtd-age-gate__actions {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.crtd-age-gate__confirm,
.crtd-age-gate__leave {
  align-items: center;
  border-radius: 980px;
  box-sizing: border-box;
  display: inline-flex;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: 13px 24px;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
  width: 100%;
}

.crtd-age-gate__confirm {
  -webkit-appearance: none;
  appearance: none;
  background: var(--crtd-gate-blue);
  border: 0;
  box-shadow: 0 9px 22px rgba(0, 113, 227, 0.22);
  color: #fff;
  cursor: pointer;
}

.crtd-age-gate__confirm:hover {
  background: var(--crtd-gate-blue-hover);
}

.crtd-age-gate__confirm:active,
.crtd-age-gate__leave:active {
  transform: scale(0.985);
}

.crtd-age-gate__leave {
  background: rgba(118, 118, 128, 0.09);
  color: #424245;
}

.crtd-age-gate__leave:hover {
  background: rgba(118, 118, 128, 0.14);
  color: var(--crtd-gate-ink);
}

.crtd-age-gate__confirm:focus-visible,
.crtd-age-gate__leave:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.24);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.crtd-age-gate__note {
  color: #86868b;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 17px 0 0;
}

@media (max-width: 520px) {
  .crtd-age-gate {
    align-items: flex-end;
    padding: 12px;
  }

  .crtd-age-gate__panel {
    border-radius: 28px;
    padding: 25px 22px 21px;
  }

  .crtd-age-gate__brand {
    margin-bottom: 16px;
  }

  .crtd-age-gate__badge {
    height: 72px;
    margin-bottom: 18px;
    width: 72px;
  }

  .crtd-age-gate h2 {
    font-size: 30px;
  }
}

@media (max-height: 620px) {
  .crtd-age-gate__panel {
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .crtd-age-gate__brand,
  .crtd-age-gate__note {
    display: none;
  }

  .crtd-age-gate__badge {
    height: 58px;
    margin-bottom: 12px;
    width: 58px;
  }

  .crtd-age-gate__actions {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crtd-age-gate__backdrop,
  .crtd-age-gate__panel,
  .crtd-age-gate__confirm,
  .crtd-age-gate__leave {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .crtd-age-gate__backdrop {
    background: rgba(17, 24, 39, 0.78);
  }

  .crtd-age-gate__panel {
    background: #fff;
  }
}

