Add verification questions, claim flow and scam warnings

- post form: up to 3 verification questions (loss and found) and a
  "how not to get scammed" note; sent as verificationQuestions JSON
- feed card: "I found it" / "It's mine" instead of "Write" for posts with
  questions; phone shows "after check" until the author approves
- chat draft shows ClaimForm; VerificationPanel lets the author approve or
  reject answers and locks the claimant's input until approval, then offers
  the author's phone
- messages: claim answers card, verification system line, fraudSignal
  warnings for the recipient; ChatSafetyNotice with new-account mark
- tests, README

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
SlimusMinus
2026-11-11 01:04:55 +03:00
parent 133becd255
commit 3dd174afa5
20 changed files with 811 additions and 23 deletions

View File

@@ -713,3 +713,21 @@ select.f-m-field::selection { background: transparent; }
@keyframes f-addr-spin { to { transform: rotate(360deg); } }
.f-map-open { margin-top: 10px; }
.f-map-modal-frame.loading { opacity: .85; }
/* Контрольные вопросы находки в форме объявления */
.f-verify-question + .f-verify-question { margin-top: 8px; }
.f-verify-add {
margin-top: 8px;
background: none; border: none; padding: 0;
color: var(--teal); font-family: var(--font); font-weight: 600; cursor: pointer;
}
/* Предупреждение о мошенниках в форме объявления */
.f-safety-note {
border: 1px solid rgba(230, 150, 0, .35);
background: rgba(255, 176, 32, .1);
border-radius: 14px;
padding: 10px 12px;
}
.f-safety-title { font-weight: 700; font-size: .88rem; margin-bottom: 4px; }
.f-safety-text { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }