/* Styles propres à fanio/index.html (partagés par la version anglaise). */
:root {
  --bg: #0d0d0b; --bg2: #171715; --ink: #f4f6e8; --muted: #a3a594; --line: rgba(244,246,232,.12);
  --accent: #d4f53a; --accent-ink: #0d0d0b;
  --display-weight: 900; --display-stretch: 45%; --display-track: -.005em; --display-case: uppercase;
}
.phero .fond { background: radial-gradient(40% 50% at 75% 45%, rgba(212,245,58,.16), transparent 70%); }
.phero .fond::after { content: ""; position: absolute; inset: 0; opacity: .05;
                      background: linear-gradient(90deg, transparent 49.8%, #fff 49.8% 50.2%, transparent 50.2%), radial-gradient(circle at 50% 50%, transparent 9.6vw, #fff 9.6vw calc(9.6vw + 2px), transparent calc(9.6vw + 2px)); }
.kin { font-size: clamp(3.6rem, 8vw, 7.6rem); line-height: .86; }
.age { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #111; font-weight: 900; font-size: .9rem; margin-right: 4px; }

/* Carte du match du jour */
.mdj { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(100%, 470px); background: #000; border-radius: 22px; padding: 28px; box-shadow: 0 0 0 1px var(--line), 0 60px 120px -40px rgba(212,245,58,.35); }
.mdj .tag { display: inline-block; background: var(--accent); color: #0d0d0b; font-weight: 900; font-stretch: 45%; text-transform: uppercase; letter-spacing: .04em; padding: 5px 12px; font-size: 1.05rem; }
.mdj .ligue { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.mdj .eq { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-weight: 900; font-stretch: 40%; font-size: clamp(2rem, 3.4vw, 2.9rem); text-transform: uppercase; line-height: 1; gap: 8px; }
.mdj .eq small { font-size: .9rem; font-weight: 500; font-stretch: 100%; text-transform: none; color: var(--muted); }
.mdj .proba { display: flex; gap: 5px; height: 14px; margin-top: 20px; }
.mdj .proba i { border-radius: 3px; width: 0; }
.mdj .pc { display: flex; justify-content: space-between; margin-top: 10px; font-size: .95rem; color: #d6d8c8; }
.mdj .pc b { font-weight: 900; font-stretch: 45%; font-size: 1.35rem; color: var(--ink); }
.mdj hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0 18px; }
.mdj .selon { font-size: .78rem; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.mdj .gagne { margin-top: 8px; font-weight: 900; font-stretch: 40%; font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: .95; text-transform: uppercase; }
.mdj .gagne mark { background: var(--accent); color: #0d0d0b; padding: 0 .1em; }
.mdj .sur10 { margin-top: 10px; color: #d6d8c8; }
.mdj .score { margin-top: 14px; display: flex; align-items: baseline; gap: 14px; color: #d6d8c8; }
.mdj .score b { font-weight: 900; font-stretch: 40%; font-size: 2.6rem; color: var(--ink); }
.ballon { position: absolute; width: 74px; right: 2%; top: 4%; animation: rebond 2.4s cubic-bezier(.5,0,.5,1) infinite; z-index: 3; }
@keyframes rebond { 50% { translate: 0 22px; rotate: 160deg; } }

.bilan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.bilan .box { padding: 30px; border-radius: var(--rayon); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.bilan .box h3 { font-weight: 900; font-stretch: 45%; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.bilan .box p { margin-top: 12px; color: var(--muted); }
.barres { margin-top: 20px; display: grid; gap: 12px; }
.barres div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; font-size: .9rem; color: var(--muted); }
.barres i { height: 12px; border-radius: 3px; background: var(--c); width: var(--w); }
.champ { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.champ span { padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.05); font-size: .88rem; }
.avert-jeu { margin-top: 26px; padding: 20px 22px; border-radius: 16px; background: #1d1d12; box-shadow: inset 0 0 0 1px rgba(212,245,58,.35); color: #e6e8d6; font-size: .95rem; }
.avert-jeu b { color: var(--accent); }
@media (max-width: 560px) { .mdj { padding: 22px 18px; } .mdj .eq { font-size: 1.7rem; } .mdj .pc { font-size: .8rem; } }
@media (max-width: 960px) { .bilan { grid-template-columns: 1fr; } .phero .scene { height: auto; padding-top: 30px; } .mdj { position: relative; left: auto; top: auto; translate: none; margin: 0 auto; } .ballon { width: 54px; top: 0; } }
