/* UX pass: fallbacks cards, queue header and mobile top bar. Loaded after brand.css. */
.fb-legend { margin-top: 10px; font-size: 12px; color: var(--text-dim, #8a8f98); line-height: 1.5; }
.fb-chip { white-space: nowrap; }
.fb-chip-n { margin-left: 4px; }
.fb-btn-mini.fb-btn-danger { color: #ff8a8a; border-color: rgba(255, 77, 77, .28); }
.fb-item-text { overflow-wrap: anywhere; line-height: 1.55; }
.fb-item-head { row-gap: 6px; }

@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; row-gap: 10px; }
  .topbar-actions { width: 100%; flex-wrap: wrap; gap: 8px; }
  .topbar-actions .slot-clock { flex: 1 1 100%; justify-content: center; text-align: center; }
  .fb-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .fb-item-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .fb-chars { order: 2; font-size: 12px; }
  .fb-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fb-btn-mini { min-height: 42px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .fb-item, .fb-chip, .fb-btn-mini { transition: none !important; } }
.fb-note { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(249, 115, 22, .35); background: rgba(249, 115, 22, .08); font-size: 13px; line-height: 1.5; color: var(--text, #e6e8eb); }
