
/* V344 - correctifs ergonomie et affichage */
.drawer{z-index:10000!important;isolation:isolate;overflow-y:auto!important}
.drawer.open{box-shadow:18px 0 40px rgba(0,0,0,.65)}
.drawer .navItem{position:relative;z-index:10001;display:flex!important;align-items:center;gap:12px}
.drawer .navItem::before{width:24px;text-align:center;font-size:19px;flex:0 0 24px}
.drawer .navItem:nth-of-type(1)::before{content:"🏠"}
.drawer .navItem:nth-of-type(2)::before{content:"👥"}
.drawer .navItem:nth-of-type(3)::before{content:"🔧"}
.drawer .navItem:nth-of-type(4)::before{content:"👕"}
.drawer .navItem:nth-of-type(5)::before{content:"🧩"}
/* Les boutons ajoutés par le hub ont déjà leur emoji */
.drawer .navItem[data-mhur-hub]::before{display:none}

/* Les cartes et panneaux ne doivent jamais passer au-dessus du catalogue */
.gamePanel,.gameSlot,.costumeGroup,.mhurTierPage,.mhurHubOverlay{isolation:isolate}

/* Rôles de longueur identique */
.badges .badge:not(.hero):not(.villain){width:185px;min-width:185px;justify-content:flex-start}
@media(max-width:700px){.badges .badge:not(.hero):not(.villain){width:165px;min-width:165px}}

/* T.U.N.I.N.G des builds : même découpe visuelle que les cartes costume */
.cbOfficialBuildTuningSlot,.cbOfficialCreatorScreenV308 .gameSlot{
  clip-path:polygon(14px 0,calc(100% - 14px) 0,100% 14px,100% calc(100% - 14px),calc(100% - 14px) 100%,14px 100%,0 calc(100% - 14px),0 14px);
  border-radius:0!important;
}
.cbOfficialBuildTuningSlot::before,.cbOfficialCreatorScreenV308 .gameSlot::before{border-radius:0!important}

/* Bouton création de build */
.cbPageHead button,.builderHero button{transition:transform .15s ease,filter .15s ease}
.cbPageHead button:has(+ *),.builderHero button:has(+ *){}
button[data-cb-create],.cbCreateBuildButton,.cbPageHead .primaryAction{
  background:#42c8f5!important;color:#03131e!important;border-color:#000!important;
  transform:translateY(-8px);min-width:270px;text-align:center!important;justify-content:center!important;
}

/* Barre communauté connectée retirée */
#mhurLaunchBar,.mhurLaunchBar{display:none!important}

/* Tier list : pas de curseur interdit pendant le glisser */
.mhurTierPage,.mhurTierPage *{cursor:default}
.mhurTierItem{cursor:grab!important;user-select:none}
.mhurTierItem.dragging{cursor:grabbing!important;opacity:.7}
.mhurTierItems{cursor:copy!important}
.mhurTierDropHint{pointer-events:none}

/* Phrase de sélection centrée */
.modeNotice{text-align:center!important}
.modeNotice span{vertical-align:middle}
