/* Entry verification interstitial (Cloudflare-style "Just a moment…").
   Rendered only when cloudflare-check.js activates it (relay mode + XRELAY_ENTRY_CHECK). */

.cf-check {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  background: #fafafa;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #7b7b7b;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  transition: opacity 350ms ease;
}
.cf-check-done { opacity: 0; }
.cf-check * { box-sizing: border-box; }
.cf-check button, .cf-check input, .cf-check a { -webkit-tap-highlight-color: transparent; }
.cf-check [hidden] { display: none !important; }

.cf-check-page { width: min(656px, calc(100% - 48px)); margin: 44px auto 80px; }
.cf-check-content { max-width: 474px; }
.cf-check h1 { margin: 0; color: #484848; font-size: 24px; line-height: 32px; font-weight: 400; }
.cf-check .intro { margin: 8px 0 24px; font-size: 14px; line-height: 17px; }

.cf-check .challenge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 272px;
  max-width: 100%;
  height: 56px;
  padding: 7px 13px 7px 12px;
  border: 1px solid #dedede;
  border-radius: 3px;
  background: #f5f5f5;
  box-shadow: 0 1px 3px #0000000d;
}
.cf-check .challenge-control { display: flex; align-items: center; gap: 11px; position: relative; cursor: pointer; min-height: 38px; flex: 1; }
.cf-check .challenge-control input { position: absolute; left: 0; top: 8px; width: 21px; height: 21px; margin: 0; opacity: 0; cursor: pointer; }
.cf-check .indicator {
  display: grid;
  place-items: center;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border: 2px solid #dedede;
  border-radius: 4px;
  background: #fafafa;
  transition: border-color 140ms ease;
}
.cf-check .challenge-control:hover .indicator { border-color: #a7a7a7; }
.cf-check .challenge-control input:focus-visible + .indicator { outline: 2px solid #1369b0; outline-offset: 3px; }
.cf-check .challenge-label { color: #333; font-size: 12px; line-height: 18px; white-space: nowrap; }
.cf-check .checkmark { display: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cf-check .challenge-brand { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; flex: 0 0 72px; }
.cf-check .cloud-mark { display: block; width: 32px; height: auto; }
.cf-check .cloud-wordmark { color: #111; font-family: "Arial Black", Arial, sans-serif; font-size: 9px; font-weight: 900; line-height: 10px; letter-spacing: 1px; }
.cf-check .legal-links { display: flex; align-items: center; gap: 3px; font-size: 9px; line-height: 12px; }
.cf-check .legal-links a { padding: 0; border: 0; background: none; color: #707070; text-decoration: underline; text-underline-offset: 1px; font-size: inherit; }
.cf-check .legal-links span { color: #9b9b9b; }
.cf-check .legal-links a:hover { color: #333; }

.cf-check .challenge[data-state="verifying"] .indicator {
  border-color: #d9d9d9;
  border-top-color: #f6821f;
  border-right-color: #f6821f;
  border-radius: 50%;
  background: transparent;
  animation: cf-check-spin 850ms linear infinite;
}
.cf-check .challenge[data-state="success"] .indicator { background: #248649; border-color: #248649; border-radius: 50%; color: #fff; }
.cf-check .challenge[data-state="success"] .checkmark { display: block; }
.cf-check .challenge:not([data-state="ready"]) .challenge-control,
.cf-check .challenge-control input:disabled { cursor: default; }
@keyframes cf-check-spin { to { transform: rotate(360deg); } }

.cf-check .connection-message { margin-top: 38px; border-top: 1px solid #dedede; padding-top: 22px; }
.cf-check .connection-message p { margin: 0; font-size: 14px; line-height: 20px; }

@media (max-width: 600px) {
  .cf-check-page { margin-top: 40px; }
  .cf-check .intro { line-height: 21px; }
  .cf-check .connection-message { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-check, .cf-check * { transition: none !important; animation: none !important; }
}
