#turnstile-gate[hidden],
#turnstile-loading[hidden],
#turnstile-loading[hidden] + #turnstile-spinner,
#turnstile-widget-container[hidden],
#turnstile-failure[hidden] {
  display: none;
}

#turnstile-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  padding: 6rem 1rem 1rem;
  background-color: #fff;
  color: #172c31;
}

.turnstile-panel {
  width: min(100%, 26rem);
  text-align: center;
}

#turnstile-loading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#turnstile-spinner {
  box-sizing: border-box;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border: 10px solid transparent;
  border-top-color: black;
  border-right-color: black;
  border-radius: 50%;
  animation: turnstile-spinner-rotate 1.5s linear infinite;
}

@keyframes turnstile-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #turnstile-spinner {
    animation: none;
  }
}

#turnstile-widget-container {
  display: flex;
  justify-content: center;
}
