.adprotect-placeholder:empty {
  display: none !important;
}

.adprotect-debug {
  display: block;
  padding: .5rem;
  border: 1px solid #b32d2e;
  background: #fcf0f1;
  color: #8a2424;
  font: 13px/1.4 sans-serif;
}

.adprotect-captcha {
  box-sizing: border-box;
  max-width: 520px;
  margin: 1rem auto;
  padding: 1rem;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  background: #fff;
  color: #1d2327;
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

.adprotect-captcha-message {
  margin: 0 0 .75rem;
  font-weight: 600;
}

.adprotect-turnstile {
  min-height: 65px;
}

.adprotect-captcha-status {
  min-height: 1.5em;
  margin: .5rem 0 0;
  color: #50575e;
  font-size: 13px;
}

html.adprotect-captcha-open {
  overflow: hidden;
}

.adprotect-captcha-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(15, 23, 42, .68);
  backdrop-filter: blur(2px);
}

.adprotect-captcha-modal {
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: 0;
  padding: 24px;
  overflow: auto;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .3);
  text-align: left;
}

.adprotect-captcha-modal:focus {
  outline: 3px solid rgba(29, 78, 216, .35);
  outline-offset: 3px;
}

.adprotect-captcha-title {
  margin: 0 0 12px;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.adprotect-captcha-modal .adprotect-captcha-message {
  margin-bottom: 18px;
  color: #374151;
  font-size: 16px;
  font-weight: 500;
}

.adprotect-captcha-modal .adprotect-turnstile {
  display: flex;
  justify-content: center;
}

.adprotect-captcha-modal .adprotect-captcha-status {
  text-align: center;
}

.adprotect-captcha-dismiss {
  display: block;
  min-width: 96px;
  margin: 16px auto 0;
  padding: 9px 16px;
  border: 0;
  border-radius: 6px;
  background: #2271b1;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.adprotect-captcha-dismiss[hidden] {
  display: none;
}

.adprotect-captcha-dismiss:focus-visible {
  outline: 3px solid rgba(34, 113, 177, .35);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .adprotect-captcha-overlay {
    padding: 12px;
  }

  .adprotect-captcha-modal {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 20px 16px;
  }

  .adprotect-captcha-title {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .adprotect-captcha-overlay {
    animation: adprotect-captcha-fade-in .16s ease-out;
  }

  .adprotect-captcha-modal {
    animation: adprotect-captcha-rise-in .2s ease-out;
  }
}

@keyframes adprotect-captcha-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes adprotect-captcha-rise-in {
  from { transform: translateY(10px) scale(.985); }
  to { transform: translateY(0) scale(1); }
}
