:root {
  color-scheme: dark;
  --background: #080e12;
  --surface: #151e23;
  --ink: #f4f8f6;
  --muted: #a0afb0;
  --accent: #aaf1cf;
  --border: #35464b;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; }
body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 43%, #182a2c 0, #101b21 33%, var(--background) 72%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(198, 238, 225, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(198, 238, 225, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 62% 75% at 50% 50%, #000 8%, transparent 90%);
}
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 650px;
  height: 650px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(109, 235, 193, .085), transparent 65%);
  filter: blur(30px);
}

.verification {
  position: relative;
  width: min(100%, 430px);
  padding: 34px 34px 27px;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(179, 232, 220, .2);
  border-radius: 22px;
  background: linear-gradient(150deg, #1b282c 0%, var(--surface) 49%, #11191e 100%);
  box-shadow: 0 34px 95px rgba(0, 0, 0, .4), 0 0 0 7px rgba(184, 242, 222, .025);
  animation: card-in .45s ease-out both;
}
.verification::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 220px;
  top: -140px;
  right: -100px;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(146, 255, 211, .14), transparent 70%);
}
.card-accent { position: absolute; top: 0; left: 34px; width: 112px; height: 2px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #94e8c5, #a0c7ef, transparent); box-shadow: 0 0 20px rgba(170, 241, 207, .32); }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.card-kicker { display: inline-flex; align-items: center; gap: 9px; min-height: 29px; margin: 0; padding: 0 12px; border: 1px solid rgba(170, 241, 207, .17); border-radius: 100px; background: rgba(170, 241, 207, .055); color: #badfd1; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; font-weight: 700; letter-spacing: .105em; white-space: nowrap; }
.kicker-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(170, 241, 207, .1), 0 0 14px rgba(170, 241, 207, .5); }
.card-icon { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border: 1px solid rgba(170, 241, 207, .18); border-radius: 16px; background: linear-gradient(145deg, #29443e, #1b3032); color: var(--accent); transition: background .25s ease, border-color .25s ease; }
.card-icon svg { width: 29px; height: 29px; }
h1 { margin: 0; font-size: clamp(29px, 7vw, 35px); font-weight: 700; line-height: 1.13; letter-spacing: -.055em; }
.description { max-width: 305px; margin: 11px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.55; }

.challenge-area { min-height: 69px; display: flex; align-items: center; justify-content: center; }
.challenge-area.is-compact { min-height: 140px; }
#turnstile-mount { width: 100%; min-width: 0; display: flex; justify-content: center; }
.challenge-skeleton { width: 100%; max-width: 300px; min-height: 69px; padding: 12px; display: flex; align-items: center; gap: 13px; border: 1px solid #405150; border-radius: 6px; background: #1b2629; }
.is-compact .challenge-skeleton { width: 150px; height: 140px; flex-direction: column; justify-content: center; }
.is-compact .skeleton-lines { width: 80px; flex: none; }
.challenge-skeleton[hidden] { display: none; }
.skeleton-square { width: 27px; height: 27px; flex: none; border: 2px solid #647b78; border-radius: 4px; }
.skeleton-lines { display: grid; gap: 8px; flex: 1; }
.skeleton-lines i { height: 7px; border-radius: 5px; background: #3c5050; animation: breathe 1.3s ease-in-out infinite alternate; }
.skeleton-lines i:last-child { width: 60%; }
.status { min-height: 30px; margin: 13px 2px 0; display: flex; align-items: flex-start; gap: 8px; color: #91a7a5; font-size: 12px; line-height: 1.45; }
.status[hidden] { display: none; }
.status::before { content: ""; width: 6px; height: 6px; flex: none; margin-top: 6px; border-radius: 50%; background: #789a92; }
.status[data-tone="error"] { color: #ffb0aa; }
.status[data-tone="error"]::before { background: #f49c93; }
.status[data-tone="success"] { color: var(--accent); }
.status[data-tone="success"]::before { background: var(--accent); }
.status a { color: var(--accent); font-weight: 700; }
.retry-button { width: 100%; min-height: 45px; margin-top: 5px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(170, 241, 207, .23); border-radius: 9px; background: #26413a; color: #dbffed; font-family: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.retry-button[hidden] { display: none; }
.retry-button:hover { background: #315348; transform: translateY(-2px); }
.retry-button:focus-visible, .status a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.retry-button span { font-size: 18px; }
.card-footer { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 18px; border-top: 1px solid rgba(170, 209, 196, .13); color: #778e8d; font-size: 11px; }
.footer-lock { color: #8fc8b0; font-size: 15px; }
.noscript-note { padding: 11px; border-radius: 6px; background: #382a21; color: #ffd2a3; font-size: 12px; line-height: 1.5; }
.verification.is-success .card-icon { border-color: rgba(170, 241, 207, .4); background: #315e4d; }
.verification.is-success .challenge-area { display: none; }

@keyframes breathe { from { opacity: .45; } to { opacity: 1; } }
@keyframes card-in { from { opacity: 0; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 480px) {
  body { padding: 16px; }
  .verification { padding: 29px 20px 22px; border-radius: 19px; }
  .card-accent { left: 20px; }
  .card-header { margin-bottom: 25px; }
  .description { margin-bottom: 22px; }
  .challenge-area { margin-inline: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
