#adh-gateway {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0b0b0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 1.2s ease;
}

html.adh-gateway-skip #adh-gateway,
#adh-gateway.adh-gateway-skip {
  display: none;
}

#adh-gateway.adh-gateway-hide {
  opacity: 0;
  pointer-events: none;
}

#adh-gateway .adh-gateway-geo {
  position: absolute;
  top: max(40px, env(safe-area-inset-top));
  width: calc(100% - 4rem);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 2px;
  color: #8a8a86;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#adh-gateway .adh-gateway-title {
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.16;
  color: #f2f1ec;
  letter-spacing: 0.5px;
  transform-origin: center;
  animation: adh-gateway-title-rise 2.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#adh-gateway .adh-gateway-title em {
  font-style: italic;
  font-weight: 400;
}

#adh-gateway .adh-gateway-sub {
  margin-top: 18px;
  font-family: "Bodoni Moda", serif;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 1.5px;
  color: #9a9993;
}

@keyframes adh-gateway-title-rise {
  from {
    opacity: 0.55;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  #adh-gateway {
    display: none;
    transition: none;
  }
}

@media (max-width: 480px) {
  #adh-gateway {
    padding: 1.5rem;
  }

  #adh-gateway .adh-gateway-geo {
    top: max(28px, env(safe-area-inset-top));
    width: calc(100% - 3rem);
    letter-spacing: 1.7px;
  }

  #adh-gateway .adh-gateway-sub {
    max-width: 19rem;
  }
}
