/* ImageVerify — auth pages (minimal chrome, same design system as styles.css) */
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.auth-top { border-bottom: 1px solid var(--border); background: #fff; }
.auth-top-inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.auth-main { flex: 1; display: grid; place-items: center; padding: 40px 20px; }
.auth-card {
  width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 36px;
}
.auth-card h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.auth-sub { color: var(--text-muted); margin-top: 8px; font-size: .95rem; }
.auth-form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-muted); }
.checkbox-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); }
.checkbox-row a { color: var(--brand-dark); font-weight: 600; }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.link { color: var(--brand-dark); font-weight: 600; font-size: .9rem; }
.link:hover { text-decoration: underline; }
.auth-alt { margin-top: 20px; text-align: center; color: var(--text-muted); font-size: .92rem; }
.auth-foot { text-align: center; color: var(--text-faint); font-size: .85rem; padding: 24px; }

.auth-msg { border-radius: var(--r-sm); padding: 12px 14px; font-size: .9rem; font-weight: 500; }
.auth-msg.error { background: var(--danger-50); color: var(--danger); border: 1px solid #fecaca; }
.auth-msg.success { background: var(--success-50); color: var(--success); border: 1px solid #a7f3d0; }
.auth-msg.info { background: var(--brand-50); color: var(--brand-dark); border: 1px solid var(--brand-100); }
.field-err { color: var(--danger); font-size: .82rem; }

.big-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }

/* ---- press & hold human verification ---- */
.hold-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.6); backdrop-filter: blur(4px);
  display: grid; place-items: center; z-index: 200; padding: 20px;
}
.hold-card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 34px 30px; max-width: 380px; width: 100%; text-align: center; animation: fade .2s ease;
}
.hold-card h2 { font-size: 1.3rem; font-weight: 800; }
.hold-card p { color: var(--text-muted); margin-top: 8px; font-size: .92rem; }
.hold-btn {
  position: relative; width: 168px; height: 168px; margin: 24px auto 12px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; user-select: none; touch-action: none;
  background: var(--brand-50); border: none; -webkit-tap-highlight-color: transparent;
}
.hold-btn:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 4px; }
.hold-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.hold-ring .track { stroke: var(--brand-100); }
.hold-ring .bar { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset .05s linear; }
.hold-label { position: relative; z-index: 1; font-weight: 700; color: var(--brand-dark); font-size: .98rem; line-height: 1.3; }
.hold-sub { margin-top: 6px; font-size: .85rem; color: var(--text-faint); min-height: 1.2em; }
.hold-btn.success { background: var(--success-50); }
.hold-btn.success .hold-label { color: var(--success); }
.hold-cancel { margin-top: 14px; }

@media (prefers-reduced-motion: reduce) { .hold-ring .bar { transition: none; } }
