/* Barre du haut commune MMDCARDS */
:root{--hh:66px}
.mhd,.mhd *,.mtb,.mtb *{box-sizing:border-box}
.mhd{position:relative;flex:none;width:100%;z-index:50;height:var(--hh);background:rgba(8,6,8,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08);font-family:'Space Grotesk',system-ui,sans-serif;color:#f4efea}
.mhd:after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:5px;background:repeating-linear-gradient(90deg,transparent 0 9px,rgba(255,255,255,.06) 9px 19px,transparent 19px 28px);pointer-events:none}
.mhd-in{max-width:1440px;height:100%;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:30px}
.mhd a{color:inherit;text-decoration:none}
.mbrand{display:flex;align-items:center;gap:10px;font:700 20px 'Space Grotesk',sans-serif;letter-spacing:.02em;white-space:nowrap}
.mbrand svg{width:28px;height:28px;fill:#e9e5e0;stroke:none}
.mbrand b{color:#e0243c;font-weight:700}
.mtabs{display:flex;height:100%;flex:1;justify-content:center}
.mtabs a{display:flex;align-items:center;gap:8px;height:100%;padding:0 20px;font:700 12px 'Space Grotesk',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#a79ca1;border-bottom:2px solid transparent;margin-bottom:-1px}
.mtabs a.on{color:#fff;border-bottom-color:#e0243c}
.mtabs svg,.mtb svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.mcurs{display:flex;gap:8px;align-items:center}
.mcur{display:flex;gap:8px;align-items:center;height:38px;padding:0 12px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#0d090c;font:700 14px 'Space Grotesk',sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.mcur img{width:20px;height:20px}
.mcur svg{width:20px;height:20px;stroke:#ff4a5f;fill:none;stroke-width:1.7}
.mcur.mpk{color:#a79ca1;font:700 12px 'Space Mono',monospace}
.mcur.mpk b{color:#fff}
.mme{width:38px;height:38px;border-radius:10px;background:linear-gradient(#ef3a50,#a8162a);display:grid;place-items:center;font:700 14px 'Space Grotesk';box-shadow:inset 0 1px 0 rgba(255,255,255,.35);color:#fff}
.mtb{display:none}
@media (max-width:1100px){.mtabs a span{display:none}.mtabs a{padding:0 14px}.mhd-in{gap:16px}}
@media (max-width:860px){
 :root{--hh:58px}
 .mhd-in{padding:0 14px}.mtabs{display:none}.mcur.mpk,.mme{display:none}
 .mbrand{font-size:17px}.mbrand b{display:none}
 .mcurs{margin-left:auto;gap:5px}.mcur{height:34px;padding:0 8px;gap:5px;font-size:12px}.mcur img,.mcur svg{width:16px;height:16px}
 .mtb{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;height:calc(64px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);background:rgba(8,6,8,.94);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid rgba(255,255,255,.08)}
 .mtb a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#6d6368;text-decoration:none;font:700 8px 'Space Grotesk';letter-spacing:.04em;text-transform:uppercase}
 .mtb a.on{color:#fff}.mtb a.on svg{stroke:#ff4a5f}
 body.has-mtb{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
}
/* en-tête réel : stock, avatar */
.mcur.stk{border-color:rgba(246,220,143,.3);color:#f6dc8f}
.mcur.stk svg{stroke:#f6dc8f}
.mcur.mpk,.mcur.stk,.mcur[title]{cursor:pointer}
.mme{position:relative;overflow:hidden}
.mme img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}
@media (max-width:1500px){.mtabs a{padding:0 12px}.mtabs a svg{display:none}.mhd-in{gap:16px}.mcurs{gap:6px}.mcur{padding:0 9px}}
@media (max-width:1100px){.mtabs a svg{display:inline-block}}
@media (max-width:860px){.mcur.mpk{display:none}}
@media (max-width:560px){#mh-frag{display:none}}

/* en-tête réel v2 */
.mcur.stk img,.cur.stk img{width:auto!important;height:24px!important}
.stk-box{flex-direction:column;align-items:flex-start;gap:10px;max-width:560px}
.stk-h{display:flex;align-items:baseline;gap:12px}
.stk-h small{font:700 10px 'Space Mono',monospace;letter-spacing:.16em;color:#8f858b;text-transform:uppercase}
.stk-h b{font:400 30px/1 'Anton',sans-serif;letter-spacing:.04em;color:#f6dc8f}
.stk-p{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.stk-p img{height:46px;width:auto;filter:drop-shadow(0 4px 6px rgba(0,0,0,.55))}
.stk-p em{font:700 15px 'Space Grotesk',sans-serif;font-style:normal;color:#f6dc8f;margin-left:4px}

/* en-tête et accueil v3 (sobre) */
.mcurs{gap:0;align-items:center}
.mcur{display:flex;align-items:center;gap:10px;height:44px;padding:0 16px;margin-left:-1px;border:1px solid rgba(255,255,255,.1);border-radius:0;background:#0c0809;color:#f4efea;font:700 15px 'Space Grotesk',sans-serif;white-space:nowrap;cursor:pointer}
.mcur:first-child{margin-left:0;border-radius:11px 0 0 11px}
.mcur:nth-last-child(2){border-radius:0 11px 11px 0}
.mcur.stk,.mcur.pk,.mcur.mpk{color:#f4efea;border-color:rgba(255,255,255,.1);font:700 15px 'Space Grotesk',sans-serif}
.mcur .cl{display:flex;flex-direction:column;gap:3px;line-height:1}
.mcur .cl small{font:700 9px 'Space Mono',monospace;letter-spacing:.14em;color:#8f858b;text-transform:uppercase}
.mcur .cl b{font:700 15px 'Space Grotesk',sans-serif;font-variant-numeric:tabular-nums;color:#f4efea}
.mcur.stk .cl b{color:#f6dc8f}
.mcur img{width:22px!important;height:22px!important;object-fit:contain}
.mme{margin-left:14px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.2);box-shadow:none;background:#1a1114}
.mme img{border-radius:50%}
@media (max-width:1400px){.mcur{padding:0 11px;gap:8px}.mme{margin-left:10px}}
@media (max-width:1240px){.mcur{height:40px}.mcur .cl small{display:none}.mme{width:40px;height:40px}}
@media (max-width:860px){.mcur{height:36px;padding:0 9px}.mme{display:none}}

/* v4 : chiffres Inter */
.mcur .cl small{font:600 9.5px 'Inter',sans-serif;letter-spacing:.12em}
.mcur .cl b{font:700 16px/1 'Inter',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.01em}

/* v5 : en-tete epure */
.mcurs{gap:0;align-items:center;padding:0;border:0;background:none;height:auto}
.mcur,.mcur.stk,.mcur.pk,.mcur.mpk{height:42px;padding:0 15px;margin-left:-1px;border:1px solid rgba(255,255,255,.1);border-radius:0;background:#0c0809;display:flex;align-items:center;gap:9px;color:#f4efea;box-shadow:none}
.mcur:first-child{margin-left:0;border-radius:10px 0 0 10px}
.mcur:nth-last-child(2){border-radius:0 10px 10px 0}
.mcur img{width:20px!important;height:20px!important;object-fit:contain;flex:none}
.mcur .cl{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:baseline;gap:6px;line-height:1;white-space:nowrap}
.mcur .cl b{font:600 14.5px 'Inter',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:0;color:#f4efea}
.mcur .cl small{display:inline;font:500 12px 'Inter',sans-serif;letter-spacing:0;text-transform:none;color:#8f858b}
.mcur.stk .cl b{color:#f4efea}
.mme{margin-left:14px;width:42px;height:42px}
@media (max-width:1400px){.mcur,.mcur.stk,.mcur.pk,.mcur.mpk{padding:0 11px;gap:7px}.mme{margin-left:10px}}
@media (max-width:1240px){.mcur .cl small{display:none}}
@media (max-width:860px){.mcur,.mcur.stk,.mcur.pk,.mcur.mpk{height:36px;padding:0 9px}}
/* v6 : mobile */
@media (max-width:560px){.mbrand{font-size:0!important;gap:0}.mbrand b{display:none}.mcur,.mcur.stk,.mcur.pk,.mcur.mpk{padding:0 8px;gap:5px;height:34px}.mcur img{width:16px!important;height:16px!important}.mcur .cl b{font-size:13px}}

/* MMD-SCROLL : barres de defilement dans la DA */
html{scrollbar-width:thin;scrollbar-color:#3b3036 #0a070b}
*{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.24) transparent}
html::-webkit-scrollbar{width:12px;height:12px;background:#0a070b}
html::-webkit-scrollbar-thumb{background:#3b3036;border-radius:8px;border:3px solid #0a070b}
*::-webkit-scrollbar{width:10px;height:10px;background:transparent}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:rgba(255,255,255,.24);border-radius:8px;border:2px solid transparent;background-clip:padding-box}
*::-webkit-scrollbar-corner{background:transparent}

/* BRAND-CUBES */
.mbrand{gap:8px}
.mbrand .cb{display:inline-flex;gap:3px;color:#fff}
.mbrand .cb i{font-style:normal;display:grid;place-items:center;width:23px;height:23px;border-radius:6px;font:800 13px 'Space Grotesk',sans-serif;letter-spacing:0;color:#fff;text-shadow:0 1px 1px rgba(80,0,10,.55);background:linear-gradient(180deg,#ee4a60 0%,#d12a42 48%,#b81c33 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.42),inset 0 -2px 3px rgba(90,0,14,.35),0 2px 0 #8a1226,0 3px 3px rgba(0,0,0,.45)}
@media (max-width:900px){.mbrand .cb i{width:20px;height:20px;font-size:11px;border-radius:5px}}
