/* Les règles en cartes (rendRegles dans app.js) : une icône de la collection par règle, chiffres clés en pastilles. */
.regles.rg{padding:22px 22px 18px;line-height:1.55}
.rg-cles{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.rg-cle{display:inline-flex;align-items:center;gap:10px;padding:7px 16px 7px 7px;border-radius:999px;background:rgba(255,200,87,.12);border:1px solid rgba(255,200,87,.35);color:#fff;font-weight:700;font-size:14.5px}
.rg-cle img{width:30px;height:30px;padding:3px;border-radius:50%;background:#F4F6FF}
.rg-grille{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rg-carte{display:flex;gap:16px;align-items:flex-start;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09)}
.rg-carte h3{margin:2px 0 6px;font-size:17px;font-weight:800;color:#fff}
.rg-carte h4{margin:0 0 4px;font-size:15px;font-weight:800;color:#fff}
.rg-carte p{margin:0 0 6px;font-size:14.5px;color:#DDE3FF}
.rg-carte p:last-child{margin-bottom:0}
.rg-ic{flex:0 0 58px;width:58px;height:58px;border-radius:16px;background:#F4F6FF;display:grid;place-items:center}
.rg-ic img{width:44px;height:44px}
.rg-ic.petit{flex-basis:46px;width:46px;height:46px;border-radius:13px}
.rg-ic.petit img{width:34px;height:34px}
.rg-pen{display:inline-block;padding:2px 10px;border-radius:999px;background:#E73E01;color:#fff;font-weight:800;font-size:12.5px;white-space:nowrap;vertical-align:1px}
.rg-pens{margin-top:8px!important}
.rg-large{grid-column:1/-1}
.rg-bloque{flex-direction:column;gap:12px}
.rg-tete p{margin:0;color:#9AA8D6;font-size:13.5px}
.rg-aide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}
.rg-ligne{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.05)}
.regles.rg .mini{margin:16px 2px 0}
@media (max-width:760px){
  .rg-grille,.rg-aide{grid-template-columns:1fr}
  .regles.rg{padding:16px 14px}
  .rg-cle{font-size:13.5px}
  .rg-ic{flex-basis:50px;width:50px;height:50px}.rg-ic img{width:38px;height:38px}
}
