html.pro-ts-lock,
body.pro-ts-lock {
  overflow: hidden !important;
}

.pro-ts-home-anchor,
.pro-ts-site-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pro-ts-home-anchor--hard,
.pro-ts-site-gate {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
}

.pro-ts-home-anchor--soft {
  pointer-events: none;
}

.pro-ts-home-anchor--soft .pro-ts-instance,
.pro-ts-home-anchor--hard .pro-ts-instance,
.pro-ts-site-gate .pro-ts-instance {
  pointer-events: auto;
}

.pro-ts-instance {
  width: 100%;
  max-width: 440px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pro-ts-instance--verified {
  opacity: 0;
  transform: translateY(6px);
}

.pro-ts-card {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(2px);
}

.pro-ts-card--notice {
  max-width: 420px;
}

.pro-ts-message,
.pro-ts-feedback {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.pro-ts-message {
  color: #344054;
  margin-bottom: 12px;
}

.pro-ts-feedback {
  min-height: 21px;
  margin-top: 10px;
  color: #475467;
}

.pro-ts-feedback[data-state="success"] {
  color: #067647;
  font-weight: 600;
}

.pro-ts-feedback[data-state="error"] {
  color: #b42318;
}

.pro-ts-widget {
  display: flex;
  justify-content: center;
}

.pro-ts-submit-disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

body.pro-ts-gate-page {
  margin: 0;
  min-height: 100vh;
  background: #0f172a;
}

@media (prefers-color-scheme: dark) {
  .pro-ts-card {
    background: rgba(17, 24, 39, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  }

  .pro-ts-message {
    color: #e5e7eb;
  }

  .pro-ts-feedback {
    color: #d1d5db;
  }
}

@media (max-width: 640px) {
  .pro-ts-home-anchor,
  .pro-ts-site-gate {
    padding: 12px;
  }

  .pro-ts-card {
    padding: 16px;
    border-radius: 16px;
  }
}
