.failure-help {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #e8bcc7;
  border-radius: 13px;
  background: #fff7f8;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}
.failure-help h3 { margin: 0 0 18px; color: #96344e; font-size: 14px; font-weight: 600; line-height: 1.65; }
.failure-help ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 17px; }
.failure-help li + li { padding-top: 17px; border-top: 1px solid #edd8dd; }
.failure-help strong { color: var(--text); font-size: 12px; font-weight: 600; }
.failure-help p { margin: 6px 0 8px; font-size: 11px; line-height: 1.85; }
.failure-help a { color: var(--accent); font-size: 11px; text-underline-offset: 3px; }
.failure-example { display: grid; gap: 7px; margin-top: 12px; font-size: 10px; }
.failure-example code { padding: 10px 12px; border: 1px solid #e5d5d9; border-radius: 7px; background: #fff; color: var(--text); font: 11px/1.9 var(--mono); }
.failure-help .failure-example-note { margin-top: 8px; color: var(--text-muted); font-size: 10px; }
.failure-twofa-figure { margin: 16px 0 0; max-width: 680px; }
.failure-twofa-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--border-strong); border-radius: 10px; }
.failure-twofa-figure figcaption { margin-top: 10px; color: var(--text-soft); font-size: 11px; line-height: 1.85; }
[data-theme='dark'] .failure-help { background: linear-gradient(135deg, #382b49, #252e4c); border-color: #91627b80; }
[data-theme='dark'] .failure-help h3 { color: #ffc0d2; }
[data-theme='dark'] .failure-help li + li { border-color: #69506a70; }
[data-theme='dark'] .failure-example code { background: #1c223b; border-color: #655371; }
@media (max-width: 720px) {
  .failure-help { padding: 15px; }
  .failure-help h3 { font-size: 12px; }
  .failure-example code { padding: 9px; font-size: 10px; }
}
