/* FOOTPASS Messenger v2 · Accueil v3 (À traiter dépliable, agenda 2 prochains, coffre verrouillé, joueurs en lignes)
   Complète home.css / agenda.css · classes a3-* uniquement. */

/* ═══ Salut (+ puce Pass ID optionnelle) ═══ */
.a3-hello {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin: 8px 0 16px;
}
.a3-hello-txt { min-width: 0; }
.a3-hello .hm-h1 { margin: 0 0 3px; font-size: 22px; letter-spacing: -0.03em; white-space: nowrap; }
.a3-pass {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 11px; margin-top: 3px; border-radius: 99px; cursor: pointer;
  background: linear-gradient(140deg, #1A1610, #0E0C08);
  border: 1px solid rgba(212, 175, 55, 0.38); color: #E8C96A;
}
.a3-pass span { font: 700 8.5px/1 'Orbitron', sans-serif; letter-spacing: 0.13em; }
.a3-pass i {
  width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 55, 0.18); color: #E8C96A;
}
.a3-pass:active { filter: brightness(1.15); }

/* ═══ À traiter · lignes dépliables (une ligne par sujet) ═══ */
.a3-todo > .hm-row { min-height: 50px; gap: 10px; padding: 12px 12px; }
.a3-todo .hm-row-ic { width: 32px; height: 32px; }
.a3-hint { flex-shrink: 0; font: 500 10.5px/1 'Inter', sans-serif; color: #71717A; white-space: nowrap; letter-spacing: 0.01em; }
.a3-todo + .a3-todo { border-top: 1px solid rgba(255,255,255,0.06); }
.a3-fold { display: flex; flex-shrink: 0; color: #A1A1AA; transition: transform 180ms cubic-bezier(0.2, 0, 0, 1); }
.a3-todo.open .a3-fold { transform: rotate(90deg); }
.a3-todo-body { padding: 0 14px 13px 60px; animation: a3In 180ms cubic-bezier(0.2, 0, 0, 1); }
@keyframes a3In { from { opacity: 0; transform: translateY(-3px); } }
.a3-todo-body p { margin: 0 0 10px; font: 400 11.5px/1.5 'Inter', sans-serif; color: #8E8E96; }
.a3-todo-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.a3-act {
  height: 31px; padding: 0 13px; border-radius: 99px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font: 650 11.5px/1 'Inter', sans-serif;
  background: rgba(255,255,255,0.07); color: #D4D4D8;
}
.a3-act.pri { background: var(--acc, #00A37E); color: #FFFFFF; }
.a3-act:active { filter: brightness(1.15); }

/* Agenda · rangée compacte */
.a3-ev { padding: 10px 14px; }

/* ═══ Coffre-fort · entrée verrouillée ═══ */
.a3-vault {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; margin-bottom: 18px;
  border-radius: 16px; cursor: pointer; text-align: left; color: inherit;
  background: #101013; border: 1px solid rgba(255,255,255,0.07);
}
.a3-vault:active { background: #141418; }
.a3-vault-ic {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 55, 0.12); color: #E2C57B;
}
.a3-fid-mini { color: #6E6E76; display: flex; flex-shrink: 0; }

/* ═══ Scan Face ID (simulé) ═══ */
.a3-fid {
  position: absolute; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5, 5, 6, 0.55); backdrop-filter: blur(7px);
  animation: a3FidIn 160ms;
}
@keyframes a3FidIn { from { opacity: 0; } }
.a3-fid-box {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 22px 30px 20px; border-radius: 20px;
  background: rgba(24, 24, 28, 0.94); border: 1px solid rgba(255,255,255,0.12);
}
.a3-fid-ic { color: #FAFAFA; display: flex; animation: a3Pulse 900ms ease-in-out infinite; }
@keyframes a3Pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.94); } }
.a3-fid-box b { font: 650 13px/1 'Inter', sans-serif; color: #FAFAFA; }
.a3-fid-box em { font: 400 11px/1 'Inter', sans-serif; font-style: normal; color: #8E8E96; }

/* ═══ Valeur marchande (carte joueur · swipe) ═══ */
.a3-cardval { display: flex; align-items: baseline; gap: 5px; margin-top: 7px; }
.a3-cardval b { font: 700 13px/1 'Inter', sans-serif; color: #FAFAFA; letter-spacing: -0.01em; white-space: nowrap; }
.a3-cardval em {
  display: inline-flex; align-items: center; gap: 3px;
  font: 650 9.5px/1 'Inter', sans-serif; font-style: normal; color: var(--acc-bright, #00C49A);
  white-space: nowrap;
}

/* ═══ Valeur marchande (ligne joueur · à droite) ═══ */
.a3-pval {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 3px;
}
.a3-pval b { font: 700 12.5px/1 'Inter', sans-serif; color: #FAFAFA; letter-spacing: -0.01em; white-space: nowrap; }
.a3-pval em {
  display: inline-flex; align-items: center; gap: 3px;
  font: 650 10px/1 'Inter', sans-serif; font-style: normal; color: var(--acc-bright, #00C49A);
  white-space: nowrap;
}

/* ═══ Thème clair ═══ */
.hm.light .a3-hint { color: #8A8A93; }
.hm.light .a3-todo + .a3-todo { border-top-color: rgba(15,15,16,0.07); }
.hm.light .a3-todo-body p { color: #6B6B73; }
.hm.light .a3-act { background: rgba(15,15,16,0.06); color: #45454C; }
.hm.light .a3-act.pri { background: var(--acc, #00A37E); color: #FFFFFF; }
.hm.light .a3-vault { background: #FFFFFF; border-color: rgba(15,15,16,0.08); }
.hm.light .a3-vault:active { background: #F7F7F5; }
.hm.light .a3-pval b { color: #0F0F10; }
.hm.light .a3-pval em { color: var(--acc, #00A37E); }
.hm.light .a3-cardval b { color: #0F0F10; }
.hm.light .a3-cardval em { color: var(--acc, #00A37E); }
