/* Scoped to the age gate; no global button, theme, or checkout styling. */
html.asdag-locked { overflow: hidden !important; }
html.asdag-granted #asdag-gate { display: none !important; }
#asdag-gate,
#asdag-gate * { box-sizing: border-box; }
#asdag-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: rgba(12, 18, 26, 0.90);
  color: #18212c;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow: auto;
  overscroll-behavior: contain;
  text-align: center;
  color-scheme: light;
}
#asdag-gate:not([open]),
#asdag-gate[hidden],
#asdag-gate [hidden] { display: none !important; }
#asdag-gate::backdrop { background: transparent; }
#asdag-gate .asdag-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  width: 100%;
}
#asdag-gate .asdag-card {
  width: 100%;
  max-width: 460px;
  margin: auto;
  padding: 36px 30px;
  border: 1px solid #e2e6eb;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.24);
  overflow-wrap: anywhere;
}
#asdag-gate .asdag-site {
  margin: 0 0 22px;
  color: #546171;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.5;
}
#asdag-gate .asdag-badge {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border: 2px solid #243446;
  border-radius: 50%;
  background: #f5f7fa;
  color: #18212c;
  font-size: 28px;
  font-weight: 750;
  line-height: 1;
}
#asdag-gate .asdag-title {
  margin: 0 0 14px;
  padding: 0;
  color: #18212c;
  font-family: inherit;
  font-size: clamp(25px, 5vw, 31px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-transform: none;
}
#asdag-gate .asdag-description {
  margin: 0 0 25px;
  color: #546171;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
}
#asdag-gate .asdag-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
#asdag-gate .asdag-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 96px;
  width: 100%;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid #bdc7d2;
  border-radius: 10px;
  background: #ffffff;
  color: #243446;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
}
#asdag-gate .asdag-yes { background: #243446; border-color: #243446; color: #ffffff; }
#asdag-gate .asdag-yes:hover { background: #111e2d; color: #ffffff; }
#asdag-gate .asdag-no:hover { background: #edf1f5; color: #18212c; }
#asdag-gate .asdag-button:disabled { opacity: 0.55; cursor: wait; }
#asdag-gate .asdag-button:focus-visible { outline: 3px solid #336ec2; outline-offset: 4px; }
#asdag-gate .asdag-title:focus { outline: none; }
#asdag-gate .asdag-note { margin: 18px 0 0; color: #546171; font-size: 13px; line-height: 1.5; }
@media (max-width: 380px) {
  #asdag-gate { padding: 14px; }
  #asdag-gate .asdag-card { padding: 28px 20px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #asdag-gate, #asdag-gate * { animation: none !important; transition: none !important; }
}
#asdag-gate .asdag-remember { margin: 0 0 24px; text-align: left; }
#asdag-gate .asdag-remember label {
  display: flex; align-items: flex-start; gap: 10px; margin: 0;
  min-height: 32px; color: #243446; font-size: 15px; line-height: 1.5;
  font-weight: 600; text-transform: none; letter-spacing: normal; cursor: pointer;
}
#asdag-gate #asdag-remember {
  appearance: auto; position: static; display: inline-block; float: none;
  opacity: 1; visibility: visible; width: 20px; height: 20px; min-width: 20px;
  margin: 2px 0 0; padding: 0; border-radius: 3px; flex: 0 0 auto; cursor: pointer;
}
#asdag-gate #asdag-remember:focus-visible { outline: 3px solid #336ec2; outline-offset: 3px; }
#asdag-gate .asdag-remember .asdag-note { margin: 4px 0 0 30px; }
#asdag-gate .asdag-preview { border-top: 1px solid #e2e6eb; margin-top: 22px; padding-top: 14px; }
#asdag-gate .asdag-preview .asdag-note { margin: 0 0 10px; }
#asdag-gate .asdag-preview .asdag-button { min-height: 40px; font-size: 14px; }
