/* Shared compact verification surface. All motion is CSS and respects reduced motion. */
.comment-verification-dialog {
  box-sizing: border-box;
  width: min(320px, calc(100vw - 32px));
  padding: 36px 24px 24px;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 16px 48px #0f172a26;
  font: inherit;
  opacity: 0;
  transition: opacity 160ms, display 160ms allow-discrete, overlay 160ms allow-discrete;
}
.comment-verification-dialog[open] { opacity: 1; }
.comment-verification-dialog::backdrop { background: #0f172a66; opacity: 0; transition: opacity 160ms, display 160ms allow-discrete, overlay 160ms allow-discrete; }
.comment-verification-dialog[open]::backdrop { opacity: 1; }
@starting-style { .comment-verification-dialog[open], .comment-verification-dialog[open]::backdrop { opacity: 0; } }
.comment-verification-status { display: flex; align-items: center; justify-content: center; gap: 12px; }
.comment-verification-spinner { width: 20px; aspect-ratio: 1; flex-shrink: 0; border: 2px solid #d8e0eb; border-top-color: #2563eb; border-radius: 50%; animation: comment-verification-spin 800ms linear infinite; }
.comment-verification-dialog [hidden] { display: none; }
.comment-verification-dialog button { font: inherit; cursor: pointer; border: 1px solid transparent; }
.comment-verification-close { position: absolute; inset-block-start: 4px; inset-inline-end: 4px; min-inline-size: 44px; min-block-size: 44px; padding: 6px 12px; background: transparent; color: #64748b; border-radius: 6px; }
.comment-verification-close:hover:not(:disabled) { background: #f1f5f9; }
.comment-verification-close:active:not(:disabled) { background: #e2e8f0; }
.comment-verification-dialog button:disabled { opacity: .45; cursor: default; }
.comment-verification-dialog button:focus-visible { outline: none; border-color: #2563eb; box-shadow: 0 0 0 2px #bfdbfe; }
.comment-verification-dialog .comment-verification-retry:not([hidden]) { display: block; margin: 20px auto 0; padding: 10px 18px; border-color: #cbd5e1; border-radius: 6px; color: #1d4ed8; background: #f8fafc; }
.comment-verification-retry:hover { background: #eff6ff; }
.comment-verification-retry:active { background: #dbeafe; }
@keyframes comment-verification-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .comment-verification-dialog, .comment-verification-dialog::backdrop { transition: none; } .comment-verification-spinner { animation: none; } }
