@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&display=swap');

@media (max-width: 1499px){
    .col-xl-4b {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    }
    .text-center.white.col-12.align-middle.thscope{
        font-size:0px;
    }
}
@media (min-width: 1500px){
    .col-xl-4b.col-xl-6, .col-xl-4b.col-lg-12{
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
}

}


@media screen and (min-width: 850px) and (max-width: 1200px){

    .col-lg-1 {
        flex: 0 0 22% !important;
        max-width: 22% !important;
        }
    
 
    
}


@media (min-width: 1700px){
    .col-xl-4prog {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        }
    

}

@media (max-width: 1699px){
    .col-xl-4prog {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        }

    .col-xl-4prog.my-auto.text-right, .col-xl-4prog.my-auto.text-left{
        text-align: center !important;
    }

}
@media (min-width: 1850px){
    .col-lg-1.boutonbluebordersouscategory {
    flex: 0 0 10% !important;
    max-width: 10% !important;
    }
}
.boutonbluebordersouscategory > p{
    font-size: 14.5px;
}

.dropdown-submenu {
    position: relative;
  }
  
  .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1.5px !important;
  }


th > .row {
    margin-left :0 !important;
    margin-right: 0 !important;
}
nav{
    background-color: #1E2736;
    border-bottom: 2px solid rgba(250, 192, 6, 0.5);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
nav a{
    color:white;
}
nav a:hover{
    color:white;
}
.yellowtitle{
    font-size: 22px;
    color:#FAC006;
}
.navbar-toggler .navbar-toggler-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
    ;
}
.navbar-toggler{
    border:1px solid white;
}

.mtop{
    margin-top:2vh;

}
.mbot{
    margin-bottom: 2vh;
}

html{
    overflow-x: hidden;
}
body{
    font-family: 'Nunito', sans-serif;
    background-color: #0d1421;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.nav-link{
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding-top: 1.1rem !important;
    padding-bottom: 1.1rem !important;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    position: relative;
    transition: color 0.2s ease;
}
.nav-link::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #FAC006;
    transition: width 0.2s ease;
    border: none;
    margin: 0;
    vertical-align: unset;
}
.nav-link:hover::after{
    width: 60%;
}



.avatarnav, .persoavatar{
    height:8vh;
}

.background-blue{
    background-color: #1b2e4e;

}
.bordertest{
    border: 1px solid yellow;
}
.grand{
    font-size: 8vh;
}
.blanc{
    color:white;
}
.avatarpage{
    width:100%;
}

.huit{
    height:10vh;
}
.cinq{
    font-size:5vh;
    height:100%;
}

/* connexion */

.forgot, .forgot:visited{
    color: white;
    text-decoration: none;
    }

.forgot:hover{
    color:grey;
}

.titre_connexion{
    font-size : 20px;
    color: white;
}

.bggrey{
    background-color: #1E2736;
    border: 4px solid #FAC006;
}
.bggrey2{
    background-color: #1b2e4e;
    border: 4px solid #FAC006;
}
.bgblue{
    background-color: #1B2E4E;
}

.label{
    color:white;
  text-align: right;
  padding-left: 0 ;

}

.space{
    margin-bottom:5vh;
}
.imgfindmember{
    width: 30px;
}
.formchangeblue{
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #e2e8f0;
    background-color: #131d2e;
    border: 1px solid rgba(250,192,6,0.35);
    border-radius: 6px;
    transition: border-color 0.15s;
}
.formchangeblue:focus {
    border-color: #FAC006;
    outline: none;
    box-shadow: 0 0 0 3px rgba(250,192,6,0.12);
}

.formchange{
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #e2e8f0;
    background-color: #131d2e;
    border: 1px solid rgba(250,192,6,0.35);
    border-radius: 6px;
    transition: border-color 0.15s;
}
.formchange:focus {
    border-color: #FAC006;
    outline: none;
    box-shadow: 0 0 0 3px rgba(250,192,6,0.12);
}
.formchange2{
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: white;
    background-color: transparent;
    outline: unset !important;
}

.spaceup{
    margin-top: 5vh;
}

.spacegrand{
    margin-bottom: 5vh;
}

.textwhite{
    color:white;
}

.boutonblueborder, .boutonblueborder:visited{
    background-color: #0888c4;
    border: 3px solid #FAC006;
    color: white;
    font-size: 100%;
    padding: .2rem 1.2rem;
    width: 200px;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    letter-spacing: normal;
    word-spacing: normal;
    text-decoration: none !important;
    
}
.boutonblueborder:hover, .boutonblueborderslug:hover{
    background-color: #0069d9;
}

.boutonblueborder a, .boutonblueborder a:hover ,.boutonblueborder a:visited{
    color: white;
    text-decoration: none !important;
}

.captcha_reload, .captcha_reload:hover{
    margin-left:10px;
    color: #FAC006;
}
.invalid-feedbacke {

    display: none !important;

}
#registration_form_agreeTerms + label + .invalid-feedback{
    display: none !important;
}

@media (max-width: 1200px) {
    .label{
      
      text-align: left !important;
    
    }
}


/* profile */
.black{
    color: black !important;
}
.blancprofile{
    color:white;
}
.avatarprofile{
    /* height: 190px; */
    width: 190px;
    margin-bottom: 2vh;
    max-height: 190px;
}
.disable, .disable:hover {
    cursor: not-allowed !important;
    opacity: .65;
}

.current{
    background-color: #0888C4;
}

a{
    color:white;
    text-decoration: none;
}
a:hover{
    color:grey;
    text-decoration: none;
}

.jaunelink{
    color: #FAC006;
}

.blanc{
    color:white;
}

.btnsub:hover{
    background-color: #0888c4;
}
.btnsub{
   
        background-color: #1b2e4e;
        border: 3px solid #FAC006;
        color: white;
        font-size: 100%;
        padding: .2rem 1.2rem;
        width: 150px;
        text-indent: 0px;
        text-shadow: none;
        display: inline-block;
        text-align: center;
        align-items: flex-start;
        letter-spacing: normal;
        word-spacing: normal;
        text-decoration: none !important;
}

.discord, .discord:hover{
    text-decoration: none !important;
    background-color: transparent;
    cursor: pointer;
}
.networkclick, .networkclick:hover{
    text-decoration: none !important;
    background-color: transparent;
    cursor: pointer;
}



.h90{
    height: 85vh;
}



.borderj{
    border: 4px solid #fac006;
}

.h100{
    width:100px;
    max-height: 100px;
    /* height:100px; */
}




/* test */

#loader {
    background-color: transparent;
    position: sticky;
    margin-left:auto;
    margin-right:auto;
    top: 45vh;
    z-index: 100001;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }
  
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* fintest */



  .yellowlink{
    color:#FAC006;
    word-wrap: break-word;
    margin: 0;
  
  }

.yellowlink, .blancprofile{
    margin-bottom: 0.5rem;
}

  .borderjaune{
      border: 4px solid #FAC006;
      width: 275px;
      height: 375px; 
      background-color: #1e2736;
      
  }

  .imgstat, .borderjaune.imgborder{
    border: 4px solid #FAC006;
    width: 250px;
    height: 341px; 
    background-color: #1e2736;
    
}



   .heightliste.borderjaune{
        width: auto !important;
        height: auto !important; 
   }

  .divselected{
      background-color: #0888c4;
  }

#addgame{
    width: 275px !important;
    height: 375px !important;
}

  #addgame, #addgame:hover{
    cursor: pointer;
  }

  .imgborder{
      background-color: #1e2736 !important;
  }

  .imgborderbis{
    background-color: #1b2e4e !important;
}
.imgborderbis:hover{
    background-color: #0888c4 !important;
}
 
.modal-content{
    border: 1px solid rgba(250,192,6,0.4);
    background-color:#1a2333;
}

#modalsocial > .modal-dialog{
    /* min-width: 1200px; */
}

.modal-dialog {
    /* min-width: 950px; New width for default modal */
    margin: 1.75rem auto;
  }

  .unclick{
    cursor: not-allowed;
  }

  .clickable, .clickablebis{
      cursor: pointer;
  }

  #modallongTitle, #quit, .bootbox-body, #modalpersoTitle, #modaleditpersoTitle{
      color:white;
  }
.red{
    color:red ! important;
    cursor: pointer;
}

.pointer{
    cursor:pointer;
}

.pjeux{
    padding-left: 6px !important;
    padding-right: 6px !important;
    padding-bottom: 6px !important;

}


.boutonbluebordercategory, .boutonbluebordercategory:hover, .boutonbluebordercategory:visited{
    background-color: #1E2736;
    border: 3px solid #FAC006;
    color: white;
    font-size: 100%;
    
    
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    letter-spacing: normal;
    word-spacing: normal;
    text-decoration: none !important;
    cursor:pointer;
    height: 200px;
    
}

.boutonbluebordersouscategory, .boutonbluebordersouscategory:hover, .boutonbluebordersouscategory:visited{
    background-color: #1E2736;
    border: 3px solid #FAC006;
    color: white;
    font-size: 100%;
    margin-bottom: 5px;

    
    
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    letter-spacing: normal;
    word-spacing: normal;
    text-decoration: none !important;
    cursor:pointer;
    height: 70px;
    padding-left: 8px;
    padding-right: 8px;
    
}
.boutonbluebordercate{
    background-color: #0888c4;
    border: 3px solid #FAC006;
    color: white;
    font-size: 100%;
    margin-bottom: 5px;

    
    
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    letter-spacing: normal;
    word-spacing: normal;
    text-decoration: none !important;
    cursor:pointer;
    height: 60px;
    padding-left: 8px;
    padding-right: 8px;
}
.boutonbluebordercate:hover{
    background-color: #0069d9;
}


.category_selected, .category_selected:hover, .category_selected2, .category_selected2:hover, .category_selected3, .category_selected3:hover{
    background-color: #0888C4;
}

.nopointer{
    cursor:default !important;
}

.fondjeux{
    background-color: #1b2e4e !important;
}
.category_selected4{
    background-color: #0888C4;
}

#categorieobj{
    margin-top:5vh;
}

th, td{
    color: white;
}

.table thead th{
    border-bottom: 3px solid #FAC006 !important;
}

.table-bordered td, .table-bordered th{
    border-bottom: 2px solid #FAC006 !important;
}

.table-bordered td, .table-bordered th{
    border: 2px solid #FAC006 !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #14223a !important;
}
.table-striped tbody tr:nth-of-type(even) {
    background-color: #1b2e4e !important;
}


#account_Is_visible + label{
    display:none;
}

.carrejaune{
border: 1px solid #FAC006 ;
padding: 5px;
font-weight: bold;
font-size: 15px;
}

.entoure{
    border: 4px solid #FAC006;
  
    height: auto;
    background-color: #1B2E4E;
    padding-left: 10px;
    padding-right: 10px;
    
}

.pseudo{
font-size:15px;
color: #fac006;
}

.imgperso{
    height: 250px;
}


.height80{
    max-height: 90px;
}
.height100{
    height: 65px;
}

.table td, .table th{
    padding: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    vertical-align: middle;
}


.boutonblueborder2{
    background-color: #1e2736;
    border: 3px solid #FAC006;
    color: white;
    /* font-size: 0.8vw; */
    font-size: 15px;

    padding: 5px;
    width: 10vw;
    min-width: 140px;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    letter-spacing: normal;
    word-spacing: normal;
    text-decoration: none !important;
    word-wrap: break-word;
}

.boutonblueborder2:hover{
    background-color: #0888c4;
    color: white;
    cursor: pointer;
}

.white{
    color:white;
    text-align: left;
    margin-bottom:-5px;
}



.marge{
    margin-top: 10px;
    margin-bottom:10px;
}

.yellow{
    color: #FAC006;
}
.yellowbis, .yellowbis:hover{
    color: #FAC006;
}

.crown{
    width:100%;

        padding-left: 10px;
        padding-right: 10px;
    
}





.padd{
    width: 100%;
    padding-left: unset !important;
    padding-right: unset !important;
}

.entoure, .entoure2{
    height: 480px;
}

.entoure2{
    border: 2px solid #FAC006;
}

.fullsize{
    height: 100%;
}

.boutonblueborder3, .boutonblueborder4{
    width: 15vw;
}


.boutonblueborder4{
    background-color: #1E2736;
    border: 3px solid #FAC006;
    color: white;
    font-size: 0.8vw;
    padding: 5px;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    letter-spacing: normal;
    word-spacing: normal;
    text-decoration: none !important;
    word-wrap: break-word;
    cursor:pointer;
}

.boutonblueborder3{
    background-color: #0888C4;
    border: 3px solid #FAC006;
    color: white;
    font-size: 0.8vw;
    padding: 5px;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    letter-spacing: normal;
    word-spacing: normal;
    text-decoration: none !important;
    word-wrap: break-word;
    cursor:pointer;
    
}


.iconconfig{
    width:61px;
    margin-right: 10px;
    margin-left: 15px;
}


.titlegros{
    font-size: 20px;
}

.orange{
    color: #FAC006;
}

.imgsuccesligne{
width: 100px;
cursor: pointer;
}
.lisa{
    color:pink;
}
th{
    text-align: center !important;
}
.blancprofile.col-xl-1.m-2.boutonbluebordercategory{
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.imgsuccesligne.height80{
    max-width: 65px;
    width: unset;
    height: auto;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
    }

.testsizedroite{
width:70px;
max-width: 70px;
}

.table{
    margin-left: 1.5vw;
    margin-right: 1.5vw;
}

.testfont{
    font-weight: initial !important;
}

.titreligne{
    color:  #FAC006;
}

.dnone{
    display:none;
}


.ajoutcate{
    border: 3px solid #FAC006;
    color: #FAC006;
    background-color: #1e2736;
    padding-left: 5px;
    padding-right:5px;
    padding-top: 3px;
    padding-bottom: 3px;
    cursor: pointer;
    
}

input[type=checkbox] {
    outline: 2px solid #FAC006;
    -ms-transform: scale(1.25); /* IE */
    -moz-transform: scale(1.25); /* FF */
    -webkit-transform: scale(1.25); /* Safari and Chrome */
    -o-transform: scale(1.25); /* Opera */
    transform: scale(1.25);

}

.formchange2{
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: white;
    background-color: transparent;

}

.boutonblueborderann{

    background-color: transparent;
    border: 3px solid #FAC006;
    color: white;
    font-size: 100%;
    padding: .2rem 1.2rem;
    width: 150px;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    letter-spacing: normal;
    word-spacing: normal;
    text-decoration: none !important;
    
}

.fac{
    color: #FAC006;
}

.nonb{
    background-color: transparent;
    border: unset;
}


.show {
    /* overflow-y:scroll; */
    padding-right:0 !important;
  }


  .navbar-nav  >  .show, .dropdown-menu.show{
      overflow-y: unset !important;
  }


  #account_Is_visible{
      outline: unset !important;
  }

  .selectable{
      cursor:pointer;
  }

  .nop{
      padding: unset;
  }

  .avstat{
      width: 7vw;
  }
  .white2{
      color:white;
  }
  .right{
      text-align:right;
  }




.progress2{
    height:100px;
    width:100px;
}

#circle{
    height:100px;
    width:100px;
}

.progress-bar{
    background-color: #FAC006;
}
.progress{
    background-color: #0886C2;
}



.rectstat {
    border: 1px solid rgba(250,192,6,0.35);
    border-radius: 8px;
    margin: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.rectstat:hover { border-color: rgba(250,192,6,0.7); }

.testpourcent{
    position:absolute;
    bottom:0;
    left: 0;
    right: 0;
    margin-bottom: 0.2rem;
   
}

.not_completedsc {
    background-color: #131d2e;
    border-left: 4px solid rgba(170,184,200,0.15);
}

.partop{
    height:50px;
    word-wrap: break-word;
    margin-bottom: 0 !important;
}
.h150{
    height:144px;
}
.h122{
    height:120px;
}
.completed, .completedsc {
    background-color: rgba(8,134,194,0.18);
    border-left: 4px solid #0888C4;
}

.parsansp{
    margin: 0;
}

.heightstat {
    min-height: 90px;
    height: auto;
    overflow: visible;
    padding: 0.5rem 0;
}

.spsm{
    padding: 0;
    margin: 0;
}

.imglistejeux{
    border: 4px solid #FAC006;
}

.mleftb{
    margin-left: 5vw;
}




.boutonborderslug, .boutonborderslug:hover, .boutonborderslug:visited{
    background-color: #1b2e4e;
    border: 3px solid #FAC006;
    color: white;
    font-size: 100%;
    padding: .2rem 1.2rem;
    width: 250px;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    letter-spacing: normal;
    word-spacing: normal;
    text-decoration: none !important;
    position:absolute;
    bottom: 0;

}

.boutonblueborderslug{
    background-color: #0888c4;
    border: 3px solid #FAC006;
    color: white;
    font-size: 100%;
    padding: .2rem 1.2rem;
    width: 250px;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    letter-spacing: normal;
    word-spacing: normal;
    text-decoration: none !important;
    position:absolute;
    bottom: 0;
    left: 50%;
    
    transform: translate(-50%, -0%);
}

.mtoph{
    margin-top: 8vh;
}

.mlgros{
    margin-left: 3vw;
}

.f20{
    font-size: 20px !important;
}

#search{
background-color: #1b2e4e;
}

.logostaff{
    border: 3px solid  #fac006;
    background-color: #1B2E4E;
}
.logostaff2{
    border: 3px solid  #fac006;
    background-color: #1e2736;
    min-width: 100px;
    
}

.logostaff:hover, .logostaff2:hover{
    background-color: #0888c4;
}

.imgstaff{
    height:20vh;
    /* width: 20vw; */
}


.topzc{
    margin-top: 0.5rem;
}
.centp{
    width: 100% !important;
}


.bootbox-input-textarea, .bootbox-input-textarea:focus{
    height:20vh !important;
    background-color: #1e2736 !important;
    color:white;
}

.entouredescription{
    border: 3px solid #FAC006;
    padding: 5px;
    height:20vh;
    background-color: #1e2736;
}
.descricolor{
    background-color: #1b2e4e;
}

.entourelogo{
    border: 4px solid #FAC006;
    padding: 5px;
    background-color: #1B2E4E;
    width:190px;
    height: 75px;
    
    
}
.entourelogo:hover{
    background-color: #0888c4;
}

.imglogo{
    width:50px;
    height:50px;
}

.tooltip{
    overflow-y: initial !important;
}

.p6{
    padding-left: 0px !important;
    padding-right: 0px !important;
}



.btn-primary{
    border-color:#0888c4;
    background-color: #0888c4;
}


.close{
    color: #fac006 !important;
    margin-right: 10px;
    opacity: 1;
    text-shadow: unset;
}

#modalimage > .modal-dialog{
    min-width: 500px;
}

.borderjaunebis{
    border: 4px solid #fac006;
}

.borderjauneliste{
    border: 4px solid #fac006;
    min-height: 130px;
}

.csq{
    width: 150px;
}

.fright{
    float:right;
}
.embleme{
    width: 150px;
}
.membresequipe{
    width: 30px;
}


.hoverblue:hover{
 background-color: #0888c4;
}

.modal-header{
    border-bottom: 2px solid #fac006;
}

.modal-footer{
    border-top: 2px solid #fac006;
}


.navbar-collapse.show{
    overflow-y: unset;
}

.descri{
    word-wrap: break-word;
}

.npl{
    padding-left: 0;
}

.close:hover{
    color: #fff !important;
    opacity: 1 !important;
}

.disabled{
    opacity: 0.3;
    cursor: default;
}

.border4px{
    width: 150px;
    height: 250px;
}

.clickable > .border4px , .plusprogression > .border4px{
    width: 155px !important;
    height: 212px !important
}
/* .qqspx{
    font-size: 30px;
    width: 50px;
    height: 50px;
} */
#souscategorieobj > .blancprofile{
    margin-top: auto;
    margin-bottom: auto;
}

#soussouscategorieobj > .blancprofile{
    margin-top: auto;
    margin-bottom: auto;
}


.modal-footer{
    margin-right: auto !important;
    margin-left: auto !important;
    border-top: unset;
}
.modal-body{
    border-bottom: 2px solid #fac006;
}

.modal{
    overflow-y: auto !important;
}

.btn-primary.focus, .btn-primary:focus{
    background-color: #0888c4;
    border-color: #0888c4;
    box-shadow: unset !important;
}

.btn-primary.focus:hover, .btn-primary:focus:hover{
    background-color: #0062cc;
    border-color: #0062cc;
    box-shadow: unset !important;
}
.entouredescription {
    overflow: auto;
}


.entoureperso{
    height: auto;
    border: 2px solid #FAC006;
  
    height: auto;
    background-color: #1B2E4E;
    padding-left: 10px;
    padding-right: 10px;
}


.entourepersobis{
    height: auto;
    border: 4px solid #FAC006;
  
    height: auto;
    background-color: #1e2736;
    padding-left: 10px;
    padding-right: 10px;
}





/* .heightliste{
    height: 252px !important;
} */

.liste{
    margin-top: 5vh;
}
.mtopimp{
    margin-bottom:4vh !important;

}

.nop{
    padding: 0 !important;
}
.nom{
    margin: 0 !important;
}

#buttonsend{
    background-color: #0888c4;
}
#buttonsend:hover{
    background-color: #0069d9;
}

#buttonselectall{
    background-color: #1e2736 ;
}
#buttonselectall:hover{
    background-color: #1e2736 ;
}

button:focus{
    outline: unset !important;
}

.bleuplus{
    background-color: #1b2e4e;
}
.imglogo2{
    width:30px;
    height:30px;
}

.npr{
    padding-right: 0 !important;
}





.completed:hover{
    background-color: #0888C4;
}


.bblue{
    background-color: #1e2736;
}


.w50{
    font-size:2.5em;
}


.w10{
    font-size:20px;
    transform: scale(1.25);
    margin-left: -2px !important;
}

.w11{
    font-size: 20px;
}
.table-striped tbody tr.height100.blue,
.table-striped tbody tr.height100.completedsc {
    background-color: rgba(8,134,194,0.18) !important;
}

.thscope{
    max-width: 5vw;
    overflow-x: auto;
}

.sticky{
    position: sticky;
    top: 0;
}

#buttonselectall.pxstat{
    border: 6px solid #fac006 !important;
    background-color: #0888c4;
}

.pxstat{
    border: 6px solid #fac006 !important;
    background-color: #0888c4;
}
.pxstat:hover{
    background-color: #0888c4;
}


.bleupasvalide{
    border: 3px solid #fac006;
    background-color: #1e2736;
}
.bleupasvalide:hover{
    border: 3px solid #fac006;
    background-color: #1e2736;
}


.disabledmod{
    filter: grayscale(1);
}

.fa-edit, .fa-trash{
    cursor: pointer;
}
#setimage{
    border:unset;
}
.entoureperso, .entoure2{
    border: 4px solid #fac006;
}

.hjaune:hover{
    color: #fac006;
}
.limitimg{
    width: 100px;
    height: 100px;
}

.dropdown-menu{
    background-color: #1a2333;
    border: 1px solid rgba(250, 192, 6, 0.25);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    padding: 0.4rem 0;
}
.dropdown-menu a{
    color: #aab8c8;
}
.dropdown-item{
    color: #aab8c8;
    font-size: 14px;
    font-weight: 500;
    padding: 0.45rem 1.1rem;
    transition: color 0.15s, padding-left 0.15s;
    background-color: transparent;
}
.dropdown-item:hover, .dropdown-item:focus{
    background-color: transparent;
    color: #FAC006;
    padding-left: 1.4rem;
}
.nav-link:hover{
    background-color: transparent !important;
    color: #FAC006 !important;
}
@media screen and (max-width: 1475px) {
    .bggrey {
        margin-bottom: 20px;
    }
  }

@media (min-width: 1200px) and (max-width: 1640px){
    .col-xl-3{
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    } 

}


@media (max-width: 1475px){
    .col-xl-2, .col-xl-8{
        flex: unset;
        max-width: 100%;
    } 
}
@media (max-width: 1199px){
    .label{
        padding-left: 15px;
    } 
}

@media (max-width: 1750px){
    .label{
        padding-left: 15px;
    } 
}
@media all and (min-width: 1200px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{ color: #fff;  }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
}	

.oyhidden{
    overflow-y: auto;
}

@-moz-document url-prefix() {
  table{
      width: 96vw !important;
  }
}

.hcent{
    height:100%;
}


.imglogofooter:before{
    height:30px;
    width:30px;
}

.trait-jaune{
    background-color:#fac006;
    height:4px;
    width:50vw;
}

.imgmetiers{
    width: 50px;
    height:50px;
}


.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
  }

  .background {
    position: relative;
    text-align: center;
    color: white;
  }


  .titreaccueil{
    font-size: 60px;
    font-weight: bold;
    /* -webkit-text-stroke: 2px black; */
    
    display: inline-block;
    padding-bottom: 5px;
    position: relative;
  }

  .outline{
    /* -webkit-text-stroke: 1px black; */
    font-size: 2.5vh;
    color: white;
    font-weight: bold;
  }

  .titreaccueil::after{
    content:'';
    height:4px;
    width:50%;
    background:white;
    position:absolute;
    left:25%;
    bottom:-5px;
    -webkit-text-stroke: 2px black;

  }


  #fullsizegrey{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
    z-index: 100000;
    position:absolute;
    top: 0;
   
   /* display: none; */
}


  #loader2 {
    border: 12px solid #f3f3f3;
    border-radius: 50%;
    border-top: 12px solid #444444;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
}
  
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
  
.center2 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}



.identify{
    background-color: #1e2736;
    color: white;
    width: 10vw;
    border: 2px solid #fac006;
    cursor: pointer;
}

.bjaune{
    border: 4px solid #fac006;
    background-color: #1e2736;
}

.image_accueil{
    height:8vh;
}


.case:nth-child(2n +1) {
    background-color: #1e2736;
  }


  .titre_news{
      font-weight: bold;
      font-size: 3vh;
  }

  .one_news{
      border: 4px solid #fac006;
      background-color: #1e2736;
  }


  /* .titre_news_line::first-letter{
      color:#fac006;
  } */

  .titre_news_line{
      font-size: 20px;
  }

  .bordercase{
      border: 4px solid #fac006;
      height:100%;
      background-color: #1e2736;
  }

  .imglogin{
      background:  url("/images/login/background_login.png");
      background-position: 50% 5%;
      background-repeat: no-repeat;
      background-size: cover;
  }


  .blueform{
      background-color:  #1b2e4e;
  }

  .nocolorhover:hover{
    color: white !important;
  }

  .blueautre{
    background-color:  #1b2e4e;
  }




  .blueform2{
    background-color:  #1e2736;
}

.fixed-bottom {
    bottom: 0 !important;
}

.reset > .captcha_reload{
    text-align: center;
}
.reset{
    text-align: center;
}

.reset > .captcha_image{
    margin-bottom: 10px;
}

.hovergrey:hover{
    color:grey !important;
}
.grey{
    color: grey !important;
}

.bs-tooltip-top, .tooltip-top {
    top: -10px !important;
}
.bs-tooltip-bottom, .tooltip-bottom {
    top: -10px !important;
}
.coltrente{
    flex: 0 0 30%;
    max-width: 30%;
}

.bold{
    font-weight: bold;
}

.redb{
    color: red;
}


.tored{
    animation: red 2s linear;
    animation-fill-mode: forwards;
}
.toyellow{
    animation: yellow 2s linear;
    animation-fill-mode: forwards;
}


@keyframes red{
    0%{
        opacity: 1;
        color: #fac006;
    }
    50%{
        opacity: 0;
        color: #fac006;
        
    }
    51%{
        color: #fac006;
    }
    100%{
        opacity: 1;
        color: red;
    }

    
}



@keyframes yellow{
    0%{
        opacity: 1;
        color: red;
    }
    50%{
        opacity: 0;
        color: red;
    }
    51%{
        color: red;
    }
    100%{
        opacity: 1;
        color: #fac006;
    }

    
}




.reduitsize{
    width:2.5em;
}

.alert-reset_password_error{
    color:white;
    text-align: center;
}

.error{
    font-size: 70px;
    font-weight: bold;
    margin-top: 15vh;
    background: -webkit-linear-gradient(#fac006, #cbac00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}

.fontgta{
    font-size: 70px;
    font-weight: bold;
    margin-bottom: 0;
}


.currentmetier{
    border: 2px solid #fac006;
}

.nobold{
    font-weight: normal !important;
}

.otherblue{
   background-color: #1B2E4E ;
}



.stafflogos > a{
    margin-left: 1vw;
    margin-right: 1vw;
}

.stafflogos:first-child{
    margin-left: 0;
}

.stafflogos:last-child{
    margin-right: 0;
}

.mtopm{
    margin-top: 20vh;
}

#body{
    overflow: auto;
}


.modal > .modal-dialog > .modal-content{
    max-height: 90vh !important;
    height: auto;
    max-width: 900px;
}


.modal > .modal-dialog > .modal-content > .modal-header{
    height: 8vh !important;
} 

.modal > .modal-dialog {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    margin: 2vh auto;
}
.modal > .modal-dialog > .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}
.modal > .modal-dialog > .modal-content > .modal-body {
    overflow-y: auto;
    flex: 1 1 auto;
}

.modal-body > div{
    max-height: 66vh; 
    
}



.modal-header .close{
    padding: unset !important;
    margin: unset !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.modal-header > h5{
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.modal-title{
    margin-top: auto !important;
    margin-bottom: auto !important;
}


.google-revocation-link-placeholder{
display: none !important;
}

.opsix:hover{
    opacity: 0.6;
}


.boutonblueborder.partage:hover{
    color:white !important;
}



#arrowancretop {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100001;
    font-size: 18px;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    opacity: 0.85;
    transition: opacity 0.2s;
  }
  #arrowancretop:hover {
    opacity: 1;
  }

  .mh400{
    max-height: 460px;
    word-break: break-all;
  }


  .row{
    margin-left:0 !important;
    margin-right: 0 !important;
  }

  .changeautorisation{
    background-color: #1b2e4e !important;
  }
  .changeautorisation:hover{
    background-color: #0888c4 !important;
  }

  .avatarprofilestaff{
    margin-bottom: 0;
    width: 190px;
    height: 190px;
  }

  .clickable > .border4px , .plusprogression > .border4px.testhw{
    max-width: 250px !important;
    max-height: 341px !important;
    height: auto !important;

  }

.ajoutcate:hover{
    background-color: #0888c4;
}

.bleubis{
    background-color:  #1e2736;
}

.card-header{
    background-color: #1B2E4E;
}
.nopointer2, .nopointer2:hover{
    cursor:text;
}

a.boutonblueborder:hover{
 color:white !important;
}

.notallowed{
    cursor: not-allowed;
}


.autrebleu{
    background-color: #1b2e4e !important;
}

.avatartete{
    width:30px;
    height:30px;
}


#buttonselect, #filtre{
    margin-left: 1.5vw !important;
    margin-right: 1.5vw !important;
}



.unselectable{
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}


.demi-size{
    width: 40px;
}

.ml-35{
    margin-left:calc(.8rem + 38px) !important;
}
.rem8{
    margin-right: 0.8rem;
}

.em25{
    font-size: 2.5em !important;
}

#validate{
    position: sticky;
    top:0;
    z-index: 1000;
}


.reduct{
    width:160px;
}

.noscroll{
    overflow:hidden !important;
}

.btn-pos{
    position:relative;
    z-index:9;
    left: -36px;
}

.pgros{
    font-size: 20px;
}

.ml175{
    margin-left: 1.75rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.nopnom{
    padding: unset !important;
    margin: unset !important;
}

.dropdown-submenu{
    cursor: pointer;
}
.dropdown-submenu:hover, .dropdown-item:hover{
    background-color: rgba(8, 136, 196, 0.15);
    color: #FAC006;
}
.dropdown-submenu:hover > a, .dropdown-item:hover > a{
    color: #FAC006;
}


.hoverwhite:hover{
    background-color: #f8f9fa;
}


.no-borderbot{
    border-bottom: unset;
}


.green{
    color: #198754;
}


@media (min-width: 1200px){


    .col-xl-2b {
        -ms-flex: 0 0 16%;
        flex: 0 0 16%;
        max-width: 16%;
    }

  
    
    
}
@media (min-width: 900px)and (max-width: 1199px){


    .col-xl-2b {
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
        padding-left: 15px;
        padding-right:15px;
    }

  
    
    
}

@media (min-width: 1200px) and (max-width: 1850px){
    .imagejeux {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

}
@media (max-width: 1849px){
        .souscate{
            -ms-flex: 0 0 16%;
            flex: 0 0 16%;
            max-width: 16%;
        }
        
}

@media (max-width: 850px){
    .souscate{
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }
    
}

@media (min-width: 1600px){


.col-xxl-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

}





@media (max-width: 830px){

        .descriptionaccueil{
            font-size:15px;
        }
        .titreaccueil{
            font-size: 25px;
        }
        .centered{
            width: 100%;
        }
        #modallongTitle, h5{
            font-size:14px;
        }
}


@media (max-width: 1400px){
    .tableaumulti{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 1420px){
    .tleft{
        text-align: left !important;
    }
}


@media (max-width: 1200px){

    .ml21200{
        margin-left: 1rem!important;
        margin-right: 1rem !important;
    }

    /* .maxsize1200{
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 15px;
        position: relative;
        padding-right: 15px;
    } */

    .hide1200{
        display:none;
    }


  
}



@media (max-width: 768px){

    .centermd{
        text-align: center !important;
    }
    .col-1700-2{
        margin: 0 auto !important;
        margin-bottom: 0.5rem !important;
    }
    .mdnop{
        padding-left:0 !important;
        padding-right: 0 !important;
    }
}


@media (max-width: 576px){

    .centersm{
        text-align: center !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }
    .modal-dialog{
       
        margin: 1.75rem auto;
    }
 
    
}

.modal-dialog{
    max-width: 900px !important;
}

@media (min-width: 576){
    .centersm{
        text-align: center !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }
    .modal-dialog{
        max-width: 100vh !important;
        margin: 1.75rem auto;
    }
}
@media screen and (min-width: 576px) and (max-width: 1200px){

    
    
 
    
}

@media (max-width: 1200px){
    .responsiveequipe {
        -ms-flex: 0 0 8.333333% !important;
        flex: 0 0 8.333333% !important;
        max-width: 8.333333% !important;
    }
}

@media (max-width: 992px){

    .centerlg{
        text-align: center !important;
    }


    .nndcenter{
        text-align: center;
    }

    
    
}

@media (max-width: 1400px){
    .creatorbuttons{
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .csq{
        margin-left:auto;
        margin-right: auto;
        margin-top: 5px !important;
    }
}
@media (max-width: 1700px){

    .col-1700-2{
        -ms-flex: 0 0 16%;
        flex: 0 0 16%;
        max-width: 16%;
    }
    
}


@media (max-width: 1300px){

    .col-1700-2{
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .em25{
        font-size: 1.5em !important;
    }

    .col-4 > .imgsuccesligne{
        width: 1.5em !important;
    }
    
}

@media (max-width: 900px){

    .col-1700-2{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    
}

@media (max-width: 800px){

    .pub{
        display: none !important;
    }
    
}



.col-6.text-left{
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* ============ NAVBAR REDESIGN ============ */


.navbar-brand{
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white !important;
    margin-right: 2rem;
}
.navbar-brand .yellowtitle{
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

/* Encyclopédie — dropdown deux panneaux */
.mega-dropdown{
    position: relative;
}
.mega-menu{
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a2333;
    border: 1px solid rgba(250, 192, 6, 0.25);
    border-top: 2px solid #FAC006;
    border-radius: 0 0 8px 8px;
    display: none;
    z-index: 9999;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    min-width: 210px;
    padding: 0.4rem 0;
}
@media (min-width: 992px){
    .mega-dropdown:hover .mega-menu{
        display: block;
    }
}
.mega-game{
    position: relative;
}
.mega-game-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #aab8c8;
    font-size: 14px;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    transition: color 0.15s, padding-left 0.15s;
    white-space: nowrap;
    cursor: default;
    gap: 1.5rem;
}
.mega-game:hover > .mega-game-title{
    color: #FAC006;
    padding-left: 1.4rem;
}
.mega-game-panel{
    display: none;
    position: absolute;
    left: 100%;
    top: -3px;
    background-color: #1a2333;
    border: 1px solid rgba(250, 192, 6, 0.25);
    border-left: 2px solid #FAC006;
    border-radius: 0 8px 8px 8px;
    padding: 0.8rem 1.2rem;
    min-width: 200px;
    box-shadow: 8px 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 9999;
}
.mega-game:hover .mega-game-panel{
    display: block;
}
.mega-link{
    display: block;
    color: #9aafc4;
    font-size: 13px;
    font-weight: 500;
    padding: 3px 0;
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
}
.mega-link:hover{
    color: #FAC006;
    text-decoration: none;
    padding-left: 5px;
}

/* Mobile */
@media (max-width: 991px){
    .mega-menu{
        position: static;
        display: none;
        border: none;
        box-shadow: none;
        background-color: transparent;
        padding: 0 0 0 0.5rem;
    }
    .mega-menu.mobile-open{
        display: block;
    }
    .mega-game-panel{
        position: static;
        border: none;
        box-shadow: none;
        display: none;
        padding: 0 0 0.5rem 1rem;
    }
    .mega-game-panel.mobile-open{
        display: block;
    }
    .mega-game-title{
        cursor: pointer;
        padding: 0.45rem 1.1rem;
    }
    .mega-game-title .fa-chevron-right{
        transition: transform 0.2s;
    }
    .mega-game.open > .mega-game-title .fa-chevron-right{
        transform: rotate(90deg);
    }
    .mega-dropdown > .nav-link{
        cursor: pointer;
    }
}




/* ========== PAGE ACCUEIL ========== */

.accueil-page {
    background-color: #0d1421;
    min-height: 100vh;
}

/* Hero */
.hero {
    position: relative;
    min-height: 420px;
    background: url('/images/accueil/banniere_v2.png') center 15% / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #0d1421);
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,20,33,0.65) 0%, rgba(26,35,51,0.52) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
}
.hero-title {
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 800;
    color: white;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-title .yellow {
    color: #FAC006;
    text-shadow: 0 0 40px rgba(250,192,6,0.45);
}
.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #bdc8d6;
    max-width: 580px;
    margin: 0 auto 2.2rem;
    font-weight: 500;
    line-height: 1.7;
}
.btn-cta {
    display: inline-block;
    background: #FAC006;
    color: #0d1421;
    font-weight: 700;
    font-size: 16px;
    padding: 0.8rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(250,192,6,0.35);
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(250,192,6,0.5);
    color: #0d1421;
    text-decoration: none;
}

/* Titres de section */
.section-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(250,192,6,0.3);
    display: inline-block;
}

/* Features */
.page-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .page-container { padding: 0 1.25rem; }
}
.features-section {
    padding: 4rem 0;
    background: #0d1421;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 0.5rem;
}
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .features-grid { grid-template-columns: 1fr; }
}
.feature-card {
    background: #1a2333;
    border: 1px solid rgba(250,192,6,0.12);
    border-top: 3px solid #FAC006;
    border-radius: 10px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
    border-color: rgba(250,192,6,0.3);
}
.feature-icon {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}
.feature-title {
    color: #FAC006;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.feature-desc {
    color: #7a8fa5;
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

/* News */
.news-section {
    padding: 3rem 0 4rem;
    background: #0d1421;
}
.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 1199px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
}
.news-card {
    background: #1a2333;
    border: 1px solid rgba(250,192,6,0.12);
    border-left: 3px solid #FAC006;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1.2rem;
    background: rgba(250,192,6,0.06);
    border-bottom: 1px solid rgba(250,192,6,0.12);
    flex-wrap: wrap;
    gap: 0.4rem;
}
.news-title {
    color: white;
    font-weight: 700;
    font-size: 15px;
}
.news-date {
    color: #FAC006;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}
.news-card-body {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1rem 1.2rem;
}
.news-img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.news-content {
    color: #8899aa;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 576px) {
    .news-card-body { flex-direction: column; }
    .news-img { width: 100%; height: auto; }
}

/* Sidebar */
.sidebar-card {
    background: #1a2333;
    border: 1px solid rgba(250,192,6,0.18);
    border-radius: 10px;
    overflow: hidden;
    position: sticky;
    top: 80px;
}
.sidebar-socials {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    padding: 1.1rem;
    background: rgba(250,192,6,0.05);
    border-bottom: 1px solid rgba(250,192,6,0.12);
}
.sidebar-socials a {
    color: #7a8fa5;
    font-size: 22px;
    transition: color 0.2s, transform 0.2s;
}
.sidebar-socials a:hover {
    color: #FAC006;
    transform: scale(1.15);
}
.sidebar-links {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0;
}
.sidebar-links a {
    color: #8899aa;
    font-size: 14px;
    font-weight: 500;
    padding: 0.55rem 1.2rem;
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover {
    color: #FAC006;
    padding-left: 1.6rem;
    text-decoration: none;
}

/* Bouton outline */
.btn-outline {
    background: transparent;
    border: 2px solid #FAC006;
    color: #FAC006;
    font-weight: 700;
    font-size: 14px;
    padding: 0.65rem 2.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
    font-family: 'Nunito', sans-serif;
}
.btn-outline:hover {
    background: #FAC006;
    color: #0d1421;
}


/* ========== FOOTER ========== */

.site-footer {
    background-color: #0d1421;
    border-top: 1px solid rgba(250, 192, 6, 0.2);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
    .footer-main { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-desc {
    color: #5a6a7e;
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
    max-width: 280px;
}

.footer-col-title {
    color: #FAC006;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(250, 192, 6, 0.2);
}

.footer-link {
    display: block;
    color: #6a7e94;
    font-size: 13.5px;
    font-weight: 500;
    padding: 0.25rem 0;
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
}

.footer-link:hover {
    color: #FAC006;
    padding-left: 5px;
    text-decoration: none;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #6a7e94;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
    padding: 0.25rem 0;
}

.footer-social-link i {
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.footer-social-link:hover {
    color: #FAC006;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #3d5068;
    font-size: 12.5px;
}

.footer-ankama {
    color: #3d5068;
    font-size: 12px;
}

/* ============ AUTH PAGES (login, register, forgot password) ============ */

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-wrapper.auth-bg {
    background: url('/images/login/background_login.png') center 5% / cover no-repeat;
}

.auth-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
}

.auth-container {
    width: 100%;
    max-width: 460px;
}

.auth-card {
    background-color: #1a2333;
    border: 1px solid rgba(250,192,6,0.12);
    border-top: 3px solid #FAC006;
    border-radius: 10px;
    padding: 2.5rem 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    color: #8899aa;
    font-size: 0.95rem;
    margin: 0;
}

.auth-alert {
    background-color: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #f08090;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #aab8c8;
}

.auth-field input {
    background-color: #0d1421;
    border: 1px solid rgba(250,192,6,0.2);
    border-radius: 6px;
    color: white;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: 'Nunito', sans-serif;
    transition: border-color 0.2s;
    outline: none;
}

.auth-field input:focus {
    border-color: #FAC006;
    box-shadow: 0 0 0 3px rgba(250,192,6,0.1);
}

.auth-field input::placeholder {
    color: #4a5568;
}

.auth-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -0.25rem;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8899aa;
    font-size: 0.875rem;
    cursor: pointer;
    margin: 0;
}

.auth-checkbox input[type="checkbox"] {
    accent-color: #FAC006;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.auth-forgot {
    font-size: 0.875rem;
    color: #8899aa;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-forgot:hover {
    color: #FAC006;
    text-decoration: none;
}

.btn-cta.w-100,
.btn-outline.w-100 {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.75rem 0 1.25rem;
    color: #3d5068;
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(255,255,255,0.07);
}

.auth-register {
    text-align: center;
}

.auth-register p {
    color: #8899aa;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.auth-field-error {
    color: #f08090;
    font-size: 0.825rem;
    margin-bottom: 0.25rem;
}

.auth-field-error ul {
    margin: 0;
    padding-left: 1.2rem;
}

.auth-field .auth-input {
    background-color: #0d1421;
    border: 1px solid rgba(250,192,6,0.2);
    border-radius: 6px;
    color: white;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: 'Nunito', sans-serif;
    width: 100%;
    display: block;
    transition: border-color 0.2s;
    outline: none;
}

.auth-field .auth-input:focus {
    border-color: #FAC006;
    box-shadow: 0 0 0 3px rgba(250,192,6,0.1);
}

.auth-field-terms {
    margin-top: -0.25rem;
}

.auth-tooltip {
    color: #8899aa;
    font-size: 0.8rem;
    margin-left: 0.3rem;
    cursor: help;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 2rem 1.25rem;
    }

    .auth-remember {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============ CONTENT PAGES (about, cgu, confidentialite, faq) ============ */

.content-page {
    padding: 2.5rem 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 1.5rem;
    align-items: start;
}

.content-ad {
    position: sticky;
    top: 1rem;
}

.content-card {
    background-color: #1a2333;
    border: 1px solid rgba(250,192,6,0.12);
    border-top: 3px solid #FAC006;
    border-radius: 10px;
    padding: 2.5rem;
}

.content-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(250,192,6,0.15);
}

.content-section {
    margin-top: 2rem;
}

.content-section:first-child {
    margin-top: 0;
}

.content-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #FAC006;
    margin-bottom: 0.75rem;
}

.content-body p,
.content-section p {
    color: #aab8c8;
    line-height: 1.8;
    margin-bottom: 0.6rem;
}

.content-indent {
    padding-left: 1.5rem;
    color: #8899aa;
}

/* FAQ accordion */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.faq-item {
    border: 1px solid rgba(250,192,6,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.25rem;
    background: rgba(250,192,6,0.04);
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s;
    user-select: none;
}

.faq-question:hover {
    background: rgba(250,192,6,0.09);
}

.faq-question .fa-chevron-down {
    transition: transform 0.2s;
    color: #FAC006;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.faq-item.open .faq-question {
    background: rgba(250,192,6,0.09);
    color: #FAC006;
}

.faq-item.open .faq-question .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(250,192,6,0.08);
}

.faq-answer p {
    color: #aab8c8;
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

.faq-item.open .faq-answer {
    display: block;
}

/* auth hint text */
.auth-hint {
    color: #8899aa;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .content-ad {
        display: none;
    }

    .content-card {
        padding: 1.5rem;
    }
}

/* ============ NEWS LIST PAGE ============ */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ============ TUTORIEL ============ */

.tuto-sommaire {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: rgba(250,192,6,0.04);
    border: 1px solid rgba(250,192,6,0.1);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.tuto-sommaire a {
    color: #FAC006;
    font-size: 0.875rem;
    font-weight: 500;
    transition: padding-left 0.15s ease;
    display: block;
}

.tuto-sommaire a:hover {
    color: #FAC006;
    padding-left: 0.5rem;
}

.tuto-img {
    border-radius: 8px;
    max-width: 100%;
    margin-bottom: 0.75rem;
}

.tuto-accordion {
    border: 1px solid rgba(250,192,6,0.15);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.tuto-acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background: rgba(250,192,6,0.06);
    cursor: pointer;
    transition: background 0.2s;
}

.tuto-acc-header:hover {
    background: rgba(250,192,6,0.12);
}

.tuto-acc-header .fa-chevron-down {
    color: #FAC006;
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.tuto-acc-header[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.tuto-acc-body {
    padding: 1.25rem;
    border-top: 1px solid rgba(250,192,6,0.08);
}

.tuto-acc-body p {
    color: #aab8c8;
    line-height: 1.75;
    margin-bottom: 0.6rem;
}

/* ============ STAFF ============ */

.staff-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.staff-card {
    display: flex;
    gap: 1.5rem;
    background: rgba(250,192,6,0.03);
    border: 1px solid rgba(250,192,6,0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.staff-avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    width: 130px;
}

.staff-name {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-align: center;
}

.staff-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(250,192,6,0.3);
}

.staff-profile-btn {
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
    white-space: nowrap;
}

.staff-info-col {
    flex: 1;
    min-width: 0;
}

.staff-description {
    color: #aab8c8;
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.staff-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.staff-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.staff-social-link:hover {
    background: rgba(250,192,6,0.12);
    border-color: rgba(250,192,6,0.3);
}

.staff-social-link .imglogo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .staff-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .staff-avatar-col {
        width: auto;
    }

    .staff-socials {
        justify-content: center;
    }
}

/* ===================== Progression page ===================== */

/* Grille de jeux — flexbox centré avec gap propre (progression/stats/equipe) */
.content-card #liste:not(.game-list-grid) {
    display: flex !important;
    flex-wrap: wrap;
    gap: 1.75rem;
    justify-content: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 1rem 0.5rem;
}

/* Bordure autour du card entier, pas autour de l'image */
.content-card #liste:not(.game-list-grid) > div {
    width: 190px !important;
    flex: 0 0 190px !important;
    max-width: 190px !important;
    padding: 0.4rem 0.4rem 0.5rem !important;
    text-align: center;
    background: #131d2e;
    border: 2px solid rgba(250,192,6,0.55);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
    position: relative;
}

/* Poubelle : cachée, remplacée par overlay cliquable ajouté en JS */
.content-card #liste:not(.game-list-grid) > div .red {
    display: none;
}

.content-card #liste:not(.game-list-grid) > div .game-card-remove {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(220, 53, 69, 0.88);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    padding: 0.35rem 0;
    border-radius: 0 0 6px 6px;
    cursor: pointer;
}
.content-card #liste:not(.game-list-grid) > div:hover .game-card-remove {
    display: block;
}

/* "+" add card : pas d'overlay retirer + image centrée */
.content-card #liste:not(.game-list-grid) > div:has(#addgame) .game-card-remove {
    display: none !important;
}
.content-card #liste:not(.game-list-grid) > div:has(#addgame) {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.content-card #liste:not(.game-list-grid) > div:has(#addgame) > p {
    display: none;
}

/* "+" add card sur account/liste : pas d'overlay retirer */
.game-card-add .game-card-remove {
    display: none !important;
}

.content-card #liste:not(.game-list-grid) > div:hover {
    border-color: #FAC006 !important;
    box-shadow: 0 0 16px rgba(250,192,6,0.35), 0 4px 16px rgba(0,0,0,0.5);
    transform: translateY(-3px);
}

/* Image sans bordure propre — c'est le div parent qui a la bordure */
.content-card #liste:not(.game-list-grid) .borderjaune,
.content-card #liste:not(.game-list-grid) #addgame {
    width: 100% !important;
    height: auto !important;
    display: block;
    border: none !important;
    border-radius: 4px;
    box-shadow: none !important;
    background-color: #131d2e !important;
    transition: none;
    cursor: pointer;
}

/* Modals — design system */
.modal-content {
    background-color: #1a2333 !important;
    border: 1px solid rgba(250,192,6,0.4) !important;
    border-radius: 10px !important;
    color: #e2e8f0;
}

.modal-header {
    border-bottom: 1px solid rgba(250,192,6,0.2) !important;
    padding: 1rem 1.25rem;
}

.modal-footer {
    border-top: 1px solid rgba(250,192,6,0.2) !important;
    padding: 0.875rem 1.25rem;
    gap: 0.75rem;
}

.modal-title, #modallongTitle, #modalpersoTitle, #modaleditpersoTitle {
    color: #e2e8f0 !important;
    font-size: 1rem;
    font-weight: 600;
}

.modal .close {
    color: #aab8c8 !important;
    opacity: 0.8;
    text-shadow: none;
}

.modal .close:hover {
    color: #FAC006 !important;
    opacity: 1;
}

/* Cartes persos dans le modal perso-selection */
.modal .clickable {
    border-radius: 8px;
    padding: 0.5rem;
    transition: background-color 0.15s;
    cursor: pointer;
}

.modal .clickable .bjaune {
    border: 1px solid rgba(250,192,6,0.2) !important;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal .clickable:hover .bjaune {
    border-color: rgba(250,192,6,0.6) !important;
}

.modal .clickable.divselected {
    background-color: rgba(250,192,6,0.1);
    border-radius: 8px;
}

.modal .clickable.divselected .bjaune {
    border-color: #FAC006 !important;
    box-shadow: 0 0 10px rgba(250,192,6,0.25);
}

/* Bouton + ajout perso */
.modal .plusprogression .bjaune {
    border: 2px dashed rgba(250,192,6,0.4) !important;
    border-radius: 8px;
    background-color: rgba(250,192,6,0.04);
    transition: border-color 0.2s, background-color 0.2s;
}

.modal .plusprogression .bjaune:hover {
    border-color: #FAC006 !important;
    background-color: rgba(250,192,6,0.1);
}

/* Cartes jeux dans le modal ajout-jeux */
.modal .borderjaune.heightliste {
    border: 1px solid rgba(250,192,6,0.3) !important;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal .clickablebis.divselected .borderjaune {
    border-color: #FAC006 !important;
    box-shadow: 0 0 10px rgba(250,192,6,0.3);
}

.modal .clickablebis:hover .borderjaune {
    border-color: rgba(250,192,6,0.7) !important;
}

/* Modal dark theme aligned to design system */
.modal-header {
    border-bottom: 1px solid rgba(250,192,6,0.2);
}

.modal-footer {
    border-top: 1px solid rgba(250,192,6,0.2);
    gap: 0.5rem;
}

.modal .close {
    color: #aab8c8;
    opacity: 0.8;
    text-shadow: none;
}

.modal .close:hover {
    color: #FAC006;
    opacity: 1;
}

.modal .btn-cta,
.modal .btn-outline {
    min-width: 110px;
}

/* Form fields inside modals */
.modal .formchange,
.modal .formchange.bblue,
.modal .formchange.blueform2 {
    background-color: #131d2e;
    border: 1px solid rgba(250,192,6,0.35);
    border-radius: 6px;
    color: #e2e8f0;
    padding: 0.45rem 0.75rem;
    width: 100%;
    transition: border-color 0.2s;
}

/* Restore Bootstrap input-group flex when .formchange is inside one */
.modal .input-group .formchange,
.modal .input-group .formchange.bblue,
.modal .input-group .formchange.blueform2 {
    width: 1% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.modal .formchange:focus,
.modal .formchange.bblue:focus {
    border-color: #FAC006;
    outline: none;
    box-shadow: 0 0 0 3px rgba(250,192,6,0.15);
}

.modal .label {
    color: #aab8c8;
    text-align: right;
    padding-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.modal select.formchange {
    background-color: #131d2e;
    color: #e2e8f0;
}


/* ===================== Page progression_perso ===================== */

.prog-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.prog-topbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.prog-back, .prog-statslink {
    color: #aab8c8;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}
.prog-back:hover, .prog-statslink:hover { color: #FAC006; text-decoration: none; }

.prog-save-toast {
    position: fixed !important;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26,35,51,0.97);
    border: 1px solid rgba(34,197,94,0.5);
    color: #22c55e;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-choose-cate {
    background: transparent;
    border: 2px solid rgba(250,192,6,0.6);
    color: #FAC006;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-choose-cate:hover {
    background: rgba(250,192,6,0.1);
    border-color: #FAC006;
    box-shadow: 0 0 12px rgba(250,192,6,0.2);
}

.prog-header {
    text-align: center;
    margin-bottom: 1rem;
}

.prog-hint {
    color: #aab8c8;
    margin: 1rem 0 1.25rem;
    font-size: 0.9rem;
}

.prog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.prog-cate-card {
    background: #1a2333;
    border: 2px solid rgba(250,192,6,0.3);
    border-radius: 10px;
    cursor: pointer;
    width: 140px;
    padding: 0.75rem 0.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.prog-cate-card:hover {
    border-color: #FAC006;
    box-shadow: 0 0 14px rgba(250,192,6,0.25);
    transform: translateY(-2px);
}
.prog-cate-card.category_selected {
    border-color: #FAC006 !important;
    background: rgba(250,192,6,0.1) !important;
    box-shadow: 0 0 16px rgba(250,192,6,0.3);
}

.prog-cate-img {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prog-cate-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.prog-cate-name {
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

.prog-subcates { margin-bottom: 0.5rem; }

.boutonbluebordersouscategory,
.boutonbluebordersouscategory:hover,
.boutonbluebordersouscategory:visited {
    background-color: #1a2333 !important;
    border: 1px solid rgba(250,192,6,0.35) !important;
    color: #aab8c8 !important;
    border-radius: 20px !important;
    height: auto !important;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.82rem !important;
    transition: border-color 0.15s, color 0.15s, background 0.15s !important;
    margin-bottom: 4px !important;
}
.boutonbluebordersouscategory:hover {
    border-color: #FAC006 !important;
    color: #FAC006 !important;
    background-color: rgba(250,192,6,0.08) !important;
}
.category_selected2, .category_selected2:hover,
.category_selected3, .category_selected3:hover {
    background-color: rgba(250,192,6,0.15) !important;
    border-color: #FAC006 !important;
    color: #FAC006 !important;
}

.prog-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 0.75rem;
}

.prog-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.prog-toolbar .boutonblueborder {
    background: transparent !important;
    border: 2px solid rgba(250,192,6,0.5) !important;
    color: #FAC006 !important;
    border-radius: 7px !important;
    padding: 0.45rem 1.1rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.prog-toolbar .boutonblueborder:hover {
    background: rgba(250,192,6,0.1) !important;
    border-color: #FAC006 !important;
}

#buttonsend {
    background: #FAC006 !important;
    border: 2px solid #FAC006 !important;
    color: #0d1421 !important;
    border-radius: 7px !important;
    padding: 0.45rem 1.1rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}
#buttonsend:hover { opacity: 0.88; }

.prog-filter .btn-secondary.dropdown-toggle {
    background-color: #1a2333 !important;
    border: 1px solid rgba(250,192,6,0.35) !important;
    color: #aab8c8 !important;
    border-radius: 7px !important;
    font-size: 0.85rem !important;
}
.prog-filter .dropdown-menu {
    background-color: #1a2333 !important;
    border: 1px solid rgba(250,192,6,0.3) !important;
    border-radius: 8px !important;
}
.prog-filter .dropdown-item {
    color: #aab8c8 !important;
    font-size: 0.85rem !important;
}
.prog-filter .dropdown-item:hover {
    background: rgba(250,192,6,0.1) !important;
    color: #FAC006 !important;
}
.prog-filter .form-control {
    background-color: #131d2e !important;
    border: 1px solid rgba(250,192,6,0.3) !important;
    color: #e2e8f0 !important;
    border-radius: 7px !important;
    font-size: 0.85rem !important;
}
.prog-filter .form-control:focus {
    border-color: #FAC006 !important;
    box-shadow: 0 0 0 3px rgba(250,192,6,0.12) !important;
}
.prog-filter .btn-pos {
    background: transparent !important;
    border: none !important;
    color: #aab8c8 !important;
}

.prog-tableau { overflow-x: auto; border-radius: 10px; }

.prog-tableau .table { margin: 0 !important; }

.prog-tableau .table thead th {
    background-color: #131d2e !important;
    border-bottom: 2px solid rgba(250,192,6,0.4) !important;
    color: #e2e8f0 !important;
    font-size: 0.85rem;
    padding: 0.75rem;
    vertical-align: middle;
}

.prog-tableau th.sticky {
    background-color: #1a2333 !important;
    color: #FAC006;
    font-size: 0.85rem;
    text-align: center;
    min-width: 80px;
}

.prog-tableau .table-striped tbody tr:nth-of-type(odd) {
    background-color: #131d2e !important;
}
.prog-tableau .table-striped tbody tr:nth-of-type(even) {
    background-color: #1a2333 !important;
}

.prog-tableau .table-bordered td,
.prog-tableau .table-bordered th {
    border: 1px solid rgba(250,192,6,0.15) !important;
}

.prog-tableau .category_selected4 {
    background-color: rgba(8,136,196,0.3) !important;
}
.prog-tableau .category_selected4::after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    margin: 4px auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%235bc8f5' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 1 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E") no-repeat center;
}

.prog-tableau .clicked {
    outline: 2px solid rgba(250,192,6,0.65);
    outline-offset: -2px;
}

.prog-tableau .selectable:hover:not(.category_selected4) {
    background-color: rgba(250,192,6,0.06) !important;
    cursor: pointer;
}

.prog-tableau th[scope="row"] {
    background-color: #131d2e;
    min-width: 220px;
    vertical-align: middle;
    padding: 0.6rem 0.75rem;
}
.prog-tableau tbody tr.completedsc > th,
.prog-tableau tbody tr.completedsc > td {
    background-color: rgba(8,134,194,0.18) !important;
}
.prog-tableau tbody tr.completedsc > th:first-child,
.prog-tableau tbody tr.completedsc > td:first-child {
    border-left: 4px solid #0888C4 !important;
}
.prog-tableau tbody tr.not_completedsc > th,
.prog-tableau tbody tr.not_completedsc > td {
    background-color: #131d2e !important;
}
.prog-tableau tbody tr.not_completedsc > th:first-child,
.prog-tableau tbody tr.not_completedsc > td:first-child {
    border-left: 4px solid rgba(170,184,200,0.15) !important;
}

/* #setupcategorie est un .row Bootstrap — on le laisse gérer les 2 colonnes */
#setupcategorie {
    padding: 0.25rem;
}

.modal .input-group-text {
    background-color: #131d2e;
    border: 1px solid rgba(250,192,6,0.3);
    color: #aab8c8;
    font-size: 0.78rem;
}

.ajoutcate {
    background: transparent !important;
    border: 2px solid rgba(250,192,6,0.5) !important;
    color: #FAC006 !important;
    border-radius: 6px !important;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.ajoutcate:hover {
    background: rgba(250,192,6,0.12) !important;
    border-color: #FAC006 !important;
}

#modalperso .modal-dialog { max-width: 700px; }
#modalcateperso .modal-dialog,
#modalcatepersoedit .modal-dialog { max-width: 900px; }

/* Bouton "Tout sélectionner" dans modal */
.modal .boutonblueborder {
    background: transparent !important;
    border: 2px solid rgba(250,192,6,0.5) !important;
    color: #FAC006 !important;
    border-radius: 7px !important;
    padding: 0.4rem 1rem !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
}
.modal .boutonblueborder:hover {
    background: rgba(250,192,6,0.1) !important;
}

/* ── Chips sous-catégories : fix .souscate max-width + flex ── */
#souscategorieobj .col-lg-10 .row,
#soussouscategorieobj .col-lg-10 .row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    align-items: center !important;
    margin: 0 !important;
}
#souscategorieobj .souscate,
#soussouscategorieobj .souscate {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    padding: 0.35rem 1.1rem !important;
}
#souscategorieobj .souscate *,
#soussouscategorieobj .souscate * {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    margin: 0 !important;
    font-size: 0.82rem;
}

/* ── Modal catégorie perso (créer / éditer) ── */
#modalcateperso .modal-dialog,
#modalcatepersoedit .modal-dialog {
    max-width: 920px;
}

/* Section titre / intro */
#modalcateperso .modal-body p.white,
#modalcatepersoedit .modal-body p.white {
    color: #aab8c8;
    font-size: 0.88rem;
}
#modalcateperso .modal-body .white a,
#modalcatepersoedit .modal-body .white a {
    font-size: 0.82rem;
}

/* Labels des champs */
#modalcateperso .modal-body label,
#modalcatepersoedit .modal-body label {
    color: #FAC006;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

/* Séparateur avant la liste des objectifs */
#modalcateperso #inputcategorie,
#modalcatepersoedit #inputcategorieedit {
    border-top: 1px solid rgba(250,192,6,0.2);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

/* Chaque ligne d'objectif : fond alterné + arrondi */
#modalcateperso #inputcategorie .row[id^="idligne"],
#modalcatepersoedit #inputcategorieedit .row[id^="idligne"] {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 0.4rem 0.25rem;
    margin-bottom: 0.35rem;
    align-items: center;
}
#modalcateperso #inputcategorie .row[id^="idligne"]:hover,
#modalcatepersoedit #inputcategorieedit .row[id^="idligne"]:hover {
    background: rgba(250,192,6,0.04);
}

/* Numéro de ligne : badge discret */
#modalcateperso .ligneadded,
#modalcatepersoedit .ligneadded,
#modalcatepersoedit .ligneaddededit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(250,192,6,0.15);
    border: 1px solid rgba(250,192,6,0.4);
    border-radius: 50%;
    color: #FAC006;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 auto;
}

/* Entêtes colonnes du tableau d'objectifs */
#modalcateperso .modal-body .row p.white,
#modalcatepersoedit .modal-body .row p.white {
    color: #7a8fa5;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

/* ── Loader overlay : fixed sur toute la viewport ── */
#fullsizegrey {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0,0,0,0.45) !important;
    z-index: 100000 !important;
}
#loader {
    position: fixed !important;
    top: calc(50% - 28px) !important;
    left: calc(50% - 28px) !important;
    margin: 0 !important;
    border: 5px solid rgba(255,255,255,0.15) !important;
    border-top-color: #FAC006 !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    z-index: 100001 !important;
    -webkit-animation: spin 2s linear infinite !important;
    animation: spin 2s linear infinite !important;
}

/* ── Modal choix catégories : checkboxes custom + rows ── */
#setupcategorie .col-6 {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    transition: background 0.15s;
    margin-bottom: 0.15rem;
}
#setupcategorie .col-6:hover {
    background: rgba(250,192,6,0.06);
}

/* Image catégorie dans le modal */
#setupcategorie .demi-size {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain;
    flex-shrink: 0;
}

/* Checkbox custom gold */
#setupcategorie input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid rgba(250,192,6,0.45);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.15s, background 0.15s;
    vertical-align: middle;
    margin: 0;
}
#setupcategorie input[type="checkbox"]:hover {
    border-color: #FAC006;
}
#setupcategorie input[type="checkbox"]:checked {
    background: #FAC006;
    border-color: #FAC006;
}
#setupcategorie input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #0d1421;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Label nom catégorie */
#setupcategorie label.pointer {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin: 0 !important;
    cursor: pointer;
    flex: 1;
    transition: color 0.15s;
}
#setupcategorie input[type="checkbox"]:checked + label.pointer {
    color: #FAC006;
    font-weight: 600;
}

/* ── Bootbox alerts/confirms : design system ── */
.bootbox .modal-content {
    background-color: #1a2333;
    border: 1px solid rgba(250,192,6,0.35);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.bootbox .modal-header {
    border-bottom: 1px solid rgba(250,192,6,0.15);
    padding: 1rem 1.25rem 0.75rem;
}
.bootbox .modal-footer {
    border-top: 1px solid rgba(250,192,6,0.15);
    padding: 0.75rem 1.25rem;
    justify-content: center;
    gap: 0.75rem;
}
.bootbox-body {
    color: #e2e8f0 !important;
    font-size: 0.95rem;
    padding: 1.25rem 1.5rem;
    text-align: center;
}
/* Bouton OK / confirm bootbox → btn-cta */
.bootbox .btn-primary,
.bootbox .btn.btn-primary {
    background: #FAC006 !important;
    border-color: #FAC006 !important;
    color: #0d1421 !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    padding: 0.45rem 1.5rem !important;
    font-size: 0.9rem !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    box-shadow: none !important;
}
.bootbox .btn-primary:hover,
.bootbox .btn.btn-primary:hover {
    background: #e0aa00 !important;
    border-color: #e0aa00 !important;
    box-shadow: 0 0 10px rgba(250,192,6,0.3) !important;
}
/* Bouton Annuler bootbox → btn-outline */
.bootbox .btn-default,
.bootbox .btn.btn-default,
.bootbox .btn-secondary,
.bootbox .btn.btn-secondary {
    background: transparent !important;
    border: 2px solid rgba(250,192,6,0.5) !important;
    color: #FAC006 !important;
    font-weight: 600 !important;
    border-radius: 7px !important;
    padding: 0.45rem 1.5rem !important;
    font-size: 0.9rem !important;
    transition: background 0.2s !important;
}
.bootbox .btn-default:hover,
.bootbox .btn.btn-default:hover,
.bootbox .btn-secondary:hover {
    background: rgba(250,192,6,0.1) !important;
}

/* ── Page Krosllection x Nokazu ── */
.kros-socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.75rem 0 0.5rem;
    flex-wrap: wrap;
}
.kros-social-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(250,192,6,0.3);
    border-radius: 8px;
    color: #aab8c8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.kros-social-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.kros-social-btn:hover {
    border-color: #FAC006;
    background: rgba(250,192,6,0.08);
    color: #FAC006;
    text-decoration: none;
}

/* ── Profile page ───────────────────────────────────────────────── */
.profile-header {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(250,192,6,0.15);
    margin-bottom: 1.25rem;
}
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(250,192,6,0.4);
    flex-shrink: 0;
}
.profile-header-info {
    flex: 1;
    min-width: 0;
}
.profile-username {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 0.4rem 0;
}
.profile-stats {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
    color: #aab8c8;
}
.profile-stat-sep {
    color: rgba(170,184,200,0.4);
}
.profile-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.profile-header-aside {
    flex-shrink: 0;
    padding-top: 0.15rem;
}
.btn-report {
    background: transparent;
    border: none;
    color: rgba(220,53,69,0.5);
    cursor: pointer;
    padding: 0.3rem 0.4rem;
    border-radius: 4px;
    transition: color 0.15s;
    font-size: 1rem;
}
.btn-report:hover {
    color: #dc3545;
}
.btn-report.disabled {
    color: rgba(220,53,69,0.25);
    cursor: not-allowed;
}

/* Profile nav */
.profile-nav {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(250,192,6,0.15);
    margin-bottom: 1.25rem;
    gap: 0.1rem;
    flex-wrap: wrap;
}
.profile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1rem;
    color: #aab8c8;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    text-decoration: none;
    border-radius: 6px 6px 0 0;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.profile-nav-link i {
    font-size: 0.8rem;
    opacity: 0.7;
}
.profile-nav-link:hover {
    color: #FAC006;
    background: rgba(250,192,6,0.05);
    text-decoration: none;
}
.profile-nav-link:hover i {
    opacity: 1;
}
.profile-nav-link.active {
    color: #FAC006;
    border-bottom-color: #FAC006;
    font-weight: 600;
}
.profile-nav-link.active i {
    opacity: 1;
}
.profile-nav-sep {
    flex: 1;
}
.profile-nav-action {
    color: #8a9ab0;
    font-size: 0.8rem;
}
.profile-nav-action:hover {
    color: #e2e8f0;
    background: rgba(255,255,255,0.04);
}

/* Profile body */
.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin-bottom: 1.25rem;
}
.profile-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.profile-meta-label {
    font-size: 0.7rem;
    color: #FAC006;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.profile-meta-value {
    font-size: 0.88rem;
    color: #aab8c8;
}
.profile-description {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(250,192,6,0.12);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.25rem;
}
.profile-description-label {
    font-size: 0.7rem;
    color: #FAC006;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}
.profile-description-text {
    color: #aab8c8;
    font-size: 0.9rem;
    line-height: 1.6;
}
.profile-socials-section {
    margin-top: 0.5rem;
}
.profile-socials-label {
    font-size: 0.88rem;
    color: #FAC006;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.profile-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.profile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(250,192,6,0.2);
    border-radius: 8px;
    transition: border-color 0.15s, background 0.15s;
    cursor: pointer;
    text-decoration: none;
}
.profile-social-link:hover {
    border-color: #FAC006;
    background: rgba(250,192,6,0.08);
    text-decoration: none;
}
.profile-social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.profile-private {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #aab8c8;
}
.profile-private i {
    font-size: 2rem;
    color: rgba(170,184,200,0.3);
    margin-bottom: 0.75rem;
    display: block;
}
.profile-stat-active {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.profile-list-header {
    margin-bottom: 1rem;
}
.profile-list-title {
    font-size: 1rem;
    font-weight: 600;
    color: #aab8c8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.profile-list-title i {
    color: #FAC006;
    font-size: 0.9rem;
}
.profile-list-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    margin-bottom: 0.4rem;
}
.profile-list-row:hover {
    background: rgba(250,192,6,0.06);
    border-color: rgba(250,192,6,0.2);
    text-decoration: none;
}
.profile-list-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(250,192,6,0.25);
    flex-shrink: 0;
}
.profile-list-name {
    color: #e2e8f0;
    font-size: 0.92rem;
    font-weight: 600;
}

/* ── Profile edit form ──────────────────────────────────────────── */
.edit-form {
    margin-top: 0.5rem;
}
.edit-form-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0.5rem 1.5rem;
    align-items: start;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.edit-form-row:last-child {
    border-bottom: none;
}
.edit-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #aab8c8;
    padding-top: 0.45rem;
    line-height: 1.4;
}
.edit-form-tooltip {
    color: rgba(250,192,6,0.6);
    margin-left: 0.3rem;
    cursor: help;
    font-size: 0.75rem;
}
.edit-form-hint {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: rgba(250,192,6,0.7);
}
.edit-form-hint:hover {
    color: #FAC006;
    text-decoration: none;
}
.edit-form-check {
    padding-top: 0.35rem;
}
.edit-form-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(250,192,6,0.15);
    display: flex;
    justify-content: flex-end;
}

/* ── Setup page ─────────────────────────────────────────────────── */
.setup-topbar {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.setup-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(250,192,6,0.12);
}
.setup-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(250,192,6,0.25);
    border-radius: 8px;
    color: #aab8c8;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.setup-action-btn:hover {
    background: rgba(250,192,6,0.08);
    border-color: #FAC006;
    color: #FAC006;
}
.setup-action-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.setup-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 1.25rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(250,192,6,0.12);
}
.setup-section-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.setup-item {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.9rem;
}
.setup-item-label {
    color: #FAC006;
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 140px;
    flex-shrink: 0;
}
.setup-item-value {
    color: #aab8c8;
}

/* ── Settings page ──────────────────────────────────────────────── */
.settings-section {
    margin-bottom: 0.5rem;
}
.settings-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #aab8c8;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.settings-section-title i {
    color: #FAC006;
    font-size: 0.85rem;
}
.settings-divider {
    border: none;
    border-top: 1px solid rgba(250,192,6,0.12);
    margin: 1.5rem 0;
}
.settings-danger-zone {
    background: rgba(220,53,69,0.04);
    border: 1px solid rgba(220,53,69,0.2);
    border-radius: 8px;
    padding: 1.25rem;
}
.settings-danger-title {
    color: rgba(220,53,69,0.8) !important;
}
.settings-danger-title i {
    color: rgba(220,53,69,0.8) !important;
}
.settings-danger-text {
    font-size: 0.88rem;
    color: #aab8c8;
    margin-bottom: 1rem;
}
.btn-danger-outline {
    background: transparent;
    border: 1px solid rgba(220,53,69,0.5);
    color: rgba(220,53,69,0.8);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-danger-outline:hover {
    background: rgba(220,53,69,0.12);
    border-color: #dc3545;
    color: #dc3545;
}
.btn-danger-outline.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ── Social edit modal grid ─────────────────────────────────────── */
.social-edit-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.social-edit-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0.5rem 1rem;
    align-items: center;
}
.social-edit-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #aab8c8;
    margin: 0;
}
.social-edit-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}
.social-edit-input {
    min-width: 0;
}
@media (max-width: 600px) {
    .edit-form-row,
    .social-edit-row {
        grid-template-columns: 1fr;
    }
    .edit-form-label {
        padding-top: 0;
    }
}

/* ── Game list ──────────────────────────────────────────────────── */
.liste-hint {
    text-align: center;
    font-size: 0.88rem;
    color: #aab8c8;
    margin: 0.5rem 0 1.2rem;
    min-height: 1.2em;
}

.game-list-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    justify-content: center;
    padding: 1rem 0.5rem;
}

.game-card {
    flex: 0 0 190px;
    width: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #131d2e;
    border: 2px solid rgba(250,192,6,0.55);
    border-radius: 8px;
    padding: 0.4rem 0.4rem 0.5rem;
    text-decoration: none;
    color: #aab8c8;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
}
.game-card:hover {
    border-color: #FAC006;
    box-shadow: 0 0 16px rgba(250,192,6,0.35), 0 4px 16px rgba(0,0,0,0.5);
    transform: translateY(-3px);
    text-decoration: none;
    color: #fff;
}

.game-card-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #FAC006;
    margin: 0 0 0.1rem;
    line-height: 1.3;
}

.game-card-members {
    font-size: 0.72rem;
    color: #aab8c8;
    margin: 0 0 0.35rem;
}

.game-card-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.game-card-remove {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(220, 53, 69, 0.88);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    padding: 0.35rem 0;
    cursor: pointer;
    border-radius: 0 0 6px 6px;
}
.game-card:hover .game-card-remove {
    display: block;
}

.game-card-add {
    border: 2px solid rgba(250,192,6,0.55);
    background: #1e2736;
    cursor: pointer;
    justify-content: center;
}
.game-card-add .game-card-img {
    background-color: #1e2736;
}
.game-card-add:hover {
    border-color: #FAC006;
    box-shadow: 0 0 16px rgba(250,192,6,0.35), 0 4px 16px rgba(0,0,0,0.5);
}

/* ── Game add modal ─────────────────────────────────────────────── */
.modal-game-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.modal-game-card {
    flex: 0 0 150px;
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #131d2e;
    border: 2px solid rgba(250,192,6,0.35);
    border-radius: 8px;
    padding: 0.4rem 0.4rem 0.5rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: center;
    overflow: hidden;
}

.modal-game-card.clickable {
    cursor: pointer;
}
.modal-game-card.clickable:hover {
    border-color: #FAC006;
    box-shadow: 0 0 12px rgba(250,192,6,0.25);
}
.modal-game-card.selected {
    border-color: #FAC006;
    background: rgba(250,192,6,0.08);
    box-shadow: 0 0 12px rgba(250,192,6,0.3);
}
.modal-game-card.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
}

.modal-game-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #FAC006;
    margin: 0 0 0.15rem;
    line-height: 1.3;
}

.modal-game-members {
    font-size: 0.7rem;
    color: #aab8c8;
    margin: 0 0 0.4rem;
}

.modal-game-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

@media (max-width: 700px) {
    .game-list-grid,
    .modal-game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Perso grid ─────────────────────────────────────────────────── */
.perso-topbar {
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.perso-page-title {
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
    flex: 1;
}

.perso-back {
    flex-shrink: 0;
    font-size: 0.82rem;
}

.perso-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem 0.5rem;
    align-items: stretch;
}

.perso-card {
    flex: 0 0 160px;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #131d2e;
    border: 2px solid rgba(250,192,6,0.55);
    border-radius: 8px;
    padding: 0.4rem 0.4rem 0.5rem;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
    text-align: center;
}

.perso-card:hover {
    border-color: #FAC006;
    box-shadow: 0 0 16px rgba(250,192,6,0.35), 0 4px 16px rgba(0,0,0,0.5);
    text-decoration: none;
}

.perso-card-crown {
    height: 1.4rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perso-card-crown img {
    height: 1.2rem;
    width: auto;
}

.perso-card-name {
    font-size: 0.83rem;
    font-weight: 600;
    color: #FAC006;
    margin: 0.15rem 0 0.1rem;
    line-height: 1.3;
    word-break: break-word;
}

.perso-card-meta {
    font-size: 0.72rem;
    color: #aab8c8;
    margin: 0 0 0.1rem;
}

.perso-card-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    margin: 0.4rem 0;
}

.perso-card-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 0.4rem 0 0.3rem;
    font-size: 1rem;
}

.perso-card-actions i {
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.15s;
}
.perso-card-actions i:hover { opacity: 1; }

.perso-card-btns {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.3rem;
}

.perso-card-btns .btn-outline {
    font-size: 0.68rem;
    padding: 0.28rem 0.4rem;
    text-align: center;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.perso-card-add {
    border: 2px solid rgba(250,192,6,0.55);
    background: #1e2736;
    cursor: pointer;
    justify-content: center;
}

.perso-card-add:hover {
    border-color: #FAC006;
    box-shadow: 0 0 16px rgba(250,192,6,0.35), 0 4px 16px rgba(0,0,0,0.5);
}

.perso-card-add-img {
    width: 70%;
    height: auto;
    display: block;
    padding: 0.5rem 0;
}

.stat-mono-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    justify-content: center;
}

.stat-mono-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(250,192,6,0.55);
}

.stat-mono-manage {
    display: block;
    font-size: 0.72rem;
    color: #aab8c8;
    margin-top: 0.15rem;
    text-decoration: none;
    transition: color 0.2s;
}

.stat-mono-manage:hover {
    color: #FAC006;
    text-decoration: none;
}
