/* Repris de l'app (dashboard) : mascs, médailles, écussons. Généré, ne pas modifier à la main. */
:root { --faint: rgba(255,255,255,.35); }
.masc .masc-body { animation: mascBob 3.2s ease-in-out infinite; transform-origin: 60px 100px; }
.masc .masc-shadow { animation: mascShadow 3.2s ease-in-out infinite; transform-origin: 60px 112px; }
.masc .masc-body { transform-origin: 80px 130px; }
.masc .masc-shadow { transform-origin: 80px 142px; }
.gm-masc:hover .masc-body, .masc.is-happy .masc-body { animation: mascJump .7s cubic-bezier(.3,1.6,.5,1) infinite alternate; }
@keyframes mascBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(3deg); } }
@keyframes mascShadow { 0%, 100% { transform: scaleX(1); opacity: .35; } 50% { transform: scaleX(.8); opacity: .2; } }

/* Le boss : reflet sur les lunettes, sourcils qui dansent, bouche qui parle, argent qui vole */
.masc-glint { animation: glint 3.5s ease-in-out infinite; }
@keyframes glint { 0%, 55% { transform: translateX(0) skewX(-25deg); } 85%, 100% { transform: translateX(90px) skewX(-25deg); } }
.masc-brow { animation: brow 3.5s ease-in-out infinite; }
@keyframes brow { 0%, 80%, 100% { transform: translateY(0); } 86%, 94% { transform: translateY(-4px); } }
.masc-mouth { transform-origin: 80px 96px; }
.masc.is-talking .masc-mouth { animation: talk .22s ease-in-out infinite alternate; }
@keyframes talk { from { transform: scaleY(1); } to { transform: scaleY(.45); } }
.masc-medal { transform-origin: 80px 112px; animation: medal 3.2s ease-in-out infinite; }
@keyframes medal { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.masc-money { animation: moneyFloat 3.6s ease-in-out infinite; }
.masc-money.m2 { animation-duration: 3s; animation-delay: -.8s; }
.masc-money.m3 { animation-duration: 4.2s; animation-delay: -1.6s; }
.masc-money.m4 { animation-duration: 3.3s; animation-delay: -2.2s; }
.masc-money.m5 { animation-duration: 2.8s; animation-delay: -.4s; }
@keyframes moneyFloat { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-9px) rotate(12deg); } }
.masc.is-happy .masc-money { animation-duration: 1.2s; }
@keyframes mascBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes mascJump { 0% { transform: translateY(0); } 40% { transform: translateY(-16px) rotate(-6deg); } 100% { transform: translateY(0); } }
/* ---------- Animations propres à Léa et Leroy ---------- */
.masc-lea .masc-eyes, .masc-leroy .masc-eyes { animation: mascBlink 4.5s infinite; transform-origin: 80px 86px; }
.masc-lea .masc-mouth { transform-origin: 80px 102px; }
.masc-leroy .masc-mouth { transform-origin: 82px 104px; }
.masc-lea .masc-medal { transform-origin: 40px 100px; }
.masc-gum { transform-origin: 98px 104px; animation: gum 3.4s ease-in-out infinite; }
@keyframes gum {
  0%, 20% { transform: scale(.25); opacity: 1; }
  70% { transform: scale(1.35); opacity: 1; }
  74% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(.25); opacity: 0; }
}
@property --holo-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.holo {
  position: relative; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: conic-gradient(from var(--holo-a), #ff6ec4, #7873f5, #38bdf8, #4ade80, #fde68a, #fb923c, #ff6ec4);
  animation: holoSpin 4s linear infinite;
  box-shadow: 0 0 0 2px rgba(255,255,255,.55) inset, 0 8px 24px rgba(167,139,250,.45), 0 0 26px rgba(56,189,248,.35);
  transition: transform .15s ease-out;
  transform-style: preserve-3d;
}
@keyframes holoSpin { to { --holo-a: 360deg; } }
.holo-shine {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 45%, transparent 60%);
  background-size: 250% 100%; animation: holoSheen 2.6s ease-in-out infinite; mix-blend-mode: overlay;
}
@keyframes holoSheen { 0% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.holo-core {
  position: relative; width: 74%; height: 74%; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(255,255,255,.12) 45%, rgba(30,27,75,.55));
  box-shadow: inset 0 2px 6px rgba(255,255,255,.6), inset 0 -4px 10px rgba(30,27,75,.5);
  backdrop-filter: blur(2px);
}
.holo-core svg { filter: drop-shadow(0 2px 4px rgba(30,27,75,.6)); }
.holo.is-locked { animation-duration: 10s; filter: saturate(.35) brightness(.55); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset; }
.holo.is-locked .holo-shine { display: none; }
.holo.is-locked .holo-core { color: rgba(255,255,255,.7); }
.gm-badge.tier-holo.is-on span { background: linear-gradient(90deg, #ff6ec4, #7873f5, #38bdf8, #4ade80); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.gm-tiers i.holo-dot { background: conic-gradient(#ff6ec4, #7873f5, #38bdf8, #4ade80, #fde68a, #ff6ec4); }
.holo-text { background: linear-gradient(90deg, #ff6ec4, #a78bfa, #38bdf8, #4ade80, #fde68a, #ff6ec4); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: shineMove 3s linear infinite; }
@keyframes shineMove { to { background-position: 200% center; } }
/* ---------- Médailles bronze / argent / or (en grand dans les fenêtres de déblocage) ---------- */
.tmedal {
  position: relative; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #3b2300;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.15), 0 10px 26px rgba(245,158,11,.4);
}
.tmedal.tier-gold { background: radial-gradient(circle at 35% 30%, #fff3c4, #fcd34d 45%, #f59e0b); }
.tmedal.tier-silver { background: radial-gradient(circle at 35% 30%, #ffffff, #cbd5e1 45%, #64748b); color: #1e293b; box-shadow: inset 0 -4px 0 rgba(0,0,0,.15), 0 10px 26px rgba(148,163,184,.4); }
.tmedal.tier-bronze { background: radial-gradient(circle at 35% 30%, #ffe1c2, #f0a868 45%, #b45309); color: #451a03; box-shadow: inset 0 -4px 0 rgba(0,0,0,.15), 0 10px 26px rgba(180,83,9,.4); }
.tmedal.is-locked { background: rgba(255,255,255,.05) !important; border: 1px dashed rgba(255,255,255,.25); color: var(--faint) !important; box-shadow: none !important; }
.tmedal b { font-weight: 800; line-height: 1; color: var(--muted); }
.crest { flex-shrink: 0; overflow: visible; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.crest-shine { animation: crestShine 3.8s ease-in-out infinite; }
@keyframes crestShine { 0%, 55% { transform: translateX(-30px) skewX(-20deg); } 85%, 100% { transform: translateX(110px) skewX(-20deg); } }
.crest-wings .wing-l { transform-origin: 24px 30px; animation: wingL 2.4s ease-in-out infinite; }
.crest-wings .wing-r { transform-origin: 72px 30px; animation: wingR 2.4s ease-in-out infinite; }
@keyframes wingL { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }
@keyframes wingR { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(8deg); } }
.crest-crown { transform-origin: 48px 8px; animation: crownBob 2.4s ease-in-out infinite; }
@keyframes crownBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.crest-4 { filter: drop-shadow(0 6px 14px rgba(59,130,246,.5)); }
.crest-5 { filter: drop-shadow(0 6px 14px rgba(168,85,247,.55)); }
.crest-6 { filter: drop-shadow(0 6px 14px rgba(244,63,94,.55)); }
.crest-7 { filter: drop-shadow(0 0 16px rgba(167,139,250,.7)); }
