/* Karaoké Mboa Babi — charte commune (fond nuit, accent or) */
:root {
  --fond: #16110D; --carte: #231B14; --carte2: #2A2013; --bord: #3A2E23; --bord2: #4A3C2F;
  --texte: #F5EEE4; --doux: #D8CDBF; --gris: #B8AC9C; --gris2: #8A7F72;
  --or: #F2B632; --vert: #2FA35F; --vert-clair: #7FD39C; --rouge: #E2553F; --rouge-clair: #F08A78; --orange: #F0A04B;
  --titre: 'Space Grotesk', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--fond); color: var(--texte); font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--or); }
h1, h2, h3 { font-family: var(--titre); margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
input, select {
  width: 100%; min-height: 46px; border-radius: 10px; border: 1px solid var(--bord2);
  background: var(--carte); color: var(--texte); padding: 0 12px; font-size: 16px;
}
input:focus, select:focus { outline: 2px solid var(--or); border-color: var(--or); }
input::placeholder { color: var(--gris2); }
label.champ { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--doux); }
.btn { min-height: 48px; border-radius: 12px; border: none; background: var(--or); color: var(--fond); font-family: var(--titre); font-weight: 700; font-size: 16px; padding: 0 16px; }
.btn:disabled { opacity: .5; }
.btn.secondaire { background: transparent; color: var(--texte); border: 1px solid var(--bord2); font-family: inherit; font-weight: 500; font-size: 14px; }
.btn.vert { background: var(--vert); color: #fff; }
.btn.rouge { background: var(--rouge); color: #fff; }
.btn.petit { min-height: 40px; font-size: 13px; padding: 0 12px; }
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: 14px; padding: 12px 14px; }
.pastille { display: inline-flex; align-items: center; gap: 4px; border-radius: 12px; padding: 3px 10px; font-size: 12px; font-weight: 600; border: 1px solid var(--bord2); color: var(--doux); }
.pastille.or { border-color: var(--or); color: var(--or); }
.pastille.vert { border-color: var(--vert); color: var(--vert-clair); }
.pastille.rouge { border-color: var(--rouge); color: var(--rouge-clair); }
.doux { color: var(--gris); }
.petit-texte { font-size: 12px; }
.pile { display: flex; flex-direction: column; gap: 10px; }
.ligne { display: flex; align-items: center; gap: 10px; }
.grille2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: var(--carte2); border: 1px solid var(--or); color: var(--texte); padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 50; max-width: 92vw; }
.cache { display: none !important; }
nav.onglets { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #0F0B08; border-top: 1px solid #2E251D; z-index: 20; }
nav.onglets button { min-height: 58px; background: none; border: none; color: var(--gris); font-size: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
nav.onglets button.actif { color: var(--or); font-weight: 700; }
nav.onglets svg { width: 20px; height: 20px; }
.badge-compteur { background: var(--rouge); color: #fff; border-radius: 8px; padding: 0 6px; font-size: 10px; font-weight: 700; }
.direct { background: #2A1512; border: 1px solid var(--rouge); border-radius: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--texte); width: 100%; text-align: left; }
.direct .point { width: 12px; height: 12px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 4px rgba(226,85,63,.3); flex-shrink: 0; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(226,85,63,.05); } }
.logo-rond { width: 40px; height: 40px; border-radius: 50%; background: var(--or); color: var(--fond); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 700; flex-shrink: 0; overflow: hidden; }
.logo-rond img { width: 100%; height: 100%; object-fit: contain; }
.logo-rond:has(img) { background: #FBF5EC; color: transparent; box-shadow: 0 0 0 2px var(--or); }
.logo-rond:has(img) img { inset: 6% !important; width: 88%; height: 88%; }
