@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700);
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap');
body + div[is-visible] {
  display: none !important;
}
body {
    padding: 0;
    margin: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    background-size: cover;
    background-attachment: fixed;
    background-image: url(/assets/img/background.jpg);
    background-position: center;
    background-color: #000;
    transition: background 1s ease;
    color: white;
    font-family: 'Baloo 2';
}

nav.menu {	
	height: 72px;
	background: linear-gradient(to right, #495cd1, #5467da);
  position: relative;
  z-index: 2000;
  user-select: none;
  -moz-user-select: none;
}

nav.menu-gauche {  
    height: 70%;
    width: 72px;
    background: rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2000;
    user-select: none;
    position: fixed;
    -moz-user-select: none;
    border-radius: 20px;
    top: 121px;
    left: 80px;
/*    overflow-x: hidden;
    overflow-y: auto;*/
}
nav.menu-gauche ul:first-child li:first-child a.link {  
  border-radius: 20px 20px 0 0;
}

/* width */
nav.menu-gauche::-webkit-scrollbar {
  width: 8px;
  max-height: 8px;
  background: transparent;
}
/* Track */
nav.menu-gauche::-webkit-scrollbar-track {
  background: transparent; 
}
/* Handle */
nav.menu-gauche::-webkit-scrollbar-thumb {
  background: #f79a5b; 
  border-radius: 120px;
}



.contenu {
  display: block;
  /*padding-right: 349px;*/
  padding-left: 160px;
  margin: auto;
}
.espace_logo {
	width: 300px; height: 72px;
	display: inline-block;
	vertical-align: top;	
}
.nav_site {
	width: calc(100% - 640px);
	display: inline-block;
	vertical-align: top;
}
.nav_site a.link { 
  /* Suivant le nombre de lien dans le menu */
	width: calc(100% / 3);
}
.menu-gauche a.link { 
  width: 100%;
}
.menu-gauche ul {
  width:  100%;
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-gauche ul li {
  width:  100%;
  position: relative;
}
.menu-gauche span.separator {
  display: block;
  width: 80%;
  border-top: 1px solid #b2b7d7;
  margin: auto;
  margin-top: 6px;
  margin-bottom: 6px;
}
.menu-gauche li span {
  display: block;
  opacity: 0;
  width: 0;
  overflow: hidden;
  left: 90%;
  padding: 5px 12px;
  border-radius: 4px;
  position: absolute;
  top: calc(50% - 20px);
  color: white;
  text-transform: initial;
  background-color: rgba(0, 0, 0, 0.5);
  height: 40px;
  line-height: 31px;
  font-size: 14px;
  transition: 0.2s all;
}
.menu-gauche li a.link:hover span {
  left: 110%;
  width: 220px;
  opacity: 1;
}
.ouvre_menu {
  background-color: #495cd1;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: block;
  text-align: center;
  line-height: 63px;
  font-size: 22px;
  color: white;
  bottom: 60px;
  right: 20px;
  position: fixed;
  display: none;
}



.menu-h > a {
    font-size: 1.1em;
    display: block;
    padding: 24px 40px;
    box-sizing: border-box;
    float: left;
    /*line-height: 60px;*/
    text-decoration: none;
/*    color: #565656;*/
    color: #fff;
    transition: all 0.2s;
    text-transform: uppercase;
}

.menu-h a.jouer:hover, .menu-h a.jouer.active {
    color: white;
    background-color: #1683fa;
}
.menu-h a.carte:hover, .menu-h a.carte.active {
    color: white;
    background-color: #9663d7;
}
.menu-h a.deck:hover, .menu-h a.deck.active {
    color: white;
    background-color: #d55959;
}
.menu-h a.marche:hover, .menu-h a.marche.active {
    color: white;
    background-color: #dfa682;
}
.menu-h a.boutique.active {
    color: white;
    background-color: #4CAF50;
}
.menu-h a:hover {
    color: white;
    background-color: #4900c3;
}
.menu-h {
    box-sizing: border-box;
}

nav.menu-h a.simple:first-child {  
  border-radius: 10px 0px 0px 10px;
}

.deroulantbtnb, .deroulantbtnv {
    cursor: pointer;
    font-size: 1.1em;
    display: block;
    padding: 24px 40px;
    box-sizing: border-box;
    float: left;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
    text-transform: uppercase;
}

.deroulant {
    position: relative;
    display: inline-flex;
}

.deroulant-content {
    overflow: hidden;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
    top: 72px;
    left: 0px;
    visibility: hidden;
    opacity: 0;
    z-index: 2;
}

.deroulant-content a {
    text-decoration: none;
    display: block;
    color: white;
    text-align: left;
    min-width: 211px;
    transition: all 0.2s;
    font-weight: normal;
    padding: 11px 17px 11px 17px;
    font-size: 1em;
}

.deroulant-content a:hover {
    background-color: #4CAF50;
}

.deroulant:hover .deroulant-content {
    visibility: visible;
    opacity: 1;
}

.deroulant:hover .deroulantbtnv {
    background-color: #4CAF50;
}

.deroulant:hover .deroulantbtnb {
    background-color: #715EA6;
}

.h-vert {
    background-color: #4CAF50;
}

.h-vert:hover a:hover {
    background-color: #418c3c;
}

.h-bleu {
    background-color: #715EA6;
}

.h-bleu:hover a:hover {
    background-color: #585092;
}




.nav_membre {
	width: 300px;
	display: inline-block;
	vertical-align: top;
}
.nav_membre a.link { 
	width: calc(100% / 2);
}

a.link {
	height: 72px;
	line-height: 72px;
	display: inline-block;
  position: relative;
	font-size: 18px;
	text-transform: uppercase;
	color: white;
	text-decoration: none;
	text-align: center;
	background-color: transparent;
	transition: 0.4s;
}
a.link:hover {
	background-color: #495cd1;
	color: white;
}
a.link.membre {
	width: 339px;
	border-left: 1px solid #4b18be;
	cursor: pointer;
}
a.link.membre.connected {
	width: 339px;
	border-left: 1px solid #4b18be;
	text-transform: initial;
	font-weight: bold;
	text-align: left;
	/*padding: 0 14px;*/
	cursor: pointer;
}
a.link.membre.connected.close {
	background-color: #36139c;
}

.logo {
  margin: 0px 15px 0 15px;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  background-color: #201142;
  overflow: hidden;
  border: 5px solid #4b18be;
  box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.6s;
  display: inline-block;
}
.logo img {
  display: block;
  margin: 5% auto;
  width: 90%;
  transition: all 0.6s;
}
.espace_logo:hover .logo img {
  margin: 0 auto;
  width: 100%;
  transform: rotate(360deg);
}
.espace {
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(18, 18, 24, 0.6);
}
.espace_no_overflow {
  border-radius: 10px;
  background-color: rgba(18, 18, 24, 0.6);
}

#page {
	height: 100%;
  width: 100%;
  position: absolute;
  top: 72px;
  display: block;
}
#contenu {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap:  10px;
}
#contenu.videos {
  width: calc(100% - 358px);
}
#contenu.planning {
  width: calc(100% - 370px);
  padding-right: 42px;
}
#chat {
  width: 100%;
  /*border-left: 1px solid #3c3c3c;*/
  vertical-align: top;
  /*position: fixed;*/
  height: 100%;
  right: 0;
  top: 0;
}
#actu {
  width: 300px;
  background-color: #100e11;
  overflow-y: auto;
  scrollbar-width: none;
}
#emission {
  width: 339px;
  border-left: 1px solid #3c3c3c;
  vertical-align: top;
  overflow-y: auto;
  scrollbar-width: none;
}
#contenu, #chat, #actu, #emission {
  /*position: relative;*/
  /*height: calc(100% - 72px);*/
}
.espace_stream {
  display: flex;
  width: 60%;
}

/* width */
#actu::-webkit-scrollbar {
  width: 6px;
}

/* Track */
#actu::-webkit-scrollbar-track {
  background: #100e11; 
}

/* Handle */
#actu::-webkit-scrollbar-thumb {
  background: #2a1352; 
}

#chat-stream {
	height: 100%;
	overflow: hidden;
	z-index: 0;
	position: relative;
}
.lecteur_twitch {
  position: relative;
  width: 100%;
  padding-bottom: 50%;
  height: 0;
  margin: auto;
}
.iframe_twitch {
  position: absolute;
  width: 100%;
  height: 100%;
}

#lecteur-youtube {
  /*position: fixed;*/
  display: none;
  width: 100%;
  z-index: 1;
  left: 0;
  top: 0px;
  height: 100%;
  background-color: rgba(0,0,0,0.95);
}
.lecteur_youtube {
	position: relative;
	width: 100%;
	padding-bottom: 50%;
	height: 0;
	margin: auto;
}
.iframe_youtube {
	position: absolute;
	width: 100%;
	height: 100%;
}
#lecteur-youtube .btn-fermer {
  padding: 14px 12px;
  display: block;
  text-align: center;
  cursor: pointer;
  color: white;
}
#description-stream {
	margin-top: 15px;
	position: relative;
}
#description-stream h3 {
	font-weight: normal;
	color: rgba(255, 255, 255, 0.8);
}
#titre-stream {
	display: inline-block;
	margin: 0px 0 15px 0;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.8);
  max-width: calc(100% - 514px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#titre-stream a {
	color: #6803f2;
	text-decoration: none;
}
#infos-stream {
	display: inline-block;
  text-align: right;
  position: absolute;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  right: 0;
  top: 3px;

}
.dataStream {
	display: inline-block;
	margin-left: 12px;
	cursor: pointer;
}
.dataStream.viewers {
	color: #ac1616;
}
.col-100 {
  width: 100%;
}
.col-90 {
  width: 90%;
}
.col-80 {
  width: 80%;
}
.col-70 {
  width: 70%;
}
.col-60 {
  width: 60%;
}
.col-50 {
  width: 50%;
}
.col-40 {
  width: 40%;
}
.col-30 {
  width: 30%;
}
.col-20 {
  width: 20%;
}
.col-10 {
  width: 10%;
}


/*//////////////////////////////////////				Mise en forme du texte\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
a {
/*  color: #eb741d;*/
  color: #00aaff;
  text-decoration: none;
  transition: all 0.2s;
}
a:hover {
  color: #6a7eff;
}
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
.d-inline-block {
	display: inline-block !important;
}
.gauche {
	float: left;
}
.droite {
	float: right;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.text-center {
	text-align: center;
}

.mini-actu {
  /*cursor: pointer;*/
	display: block;
	width: calc(100% - 12px);
	margin: 0;
	padding: 8px 6px 6px 6px;
	border-top: 1px solid transparent;
	border-bottom: 1px solid #3c3c3c;
	transition: 0.2s;
}
.mini-actu:hover {
  background-color: #2a1352;
}
.mini-actu.site {
  background-color: #2a1352;
}
.mini-actu.site:hover {
  background-color: #2b1b7b;
}
.mini-actu .jeu {
	display: inline-block;
	vertical-align: top;
	width: 20%;
}
.mini-actu .info {
  width: calc(80% - 20px);
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  line-height: 48px;
  padding: 0 10px 0 10px;
}
.mini-actu .info span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}
.img-mini-actu {
  width: 48px;
  height: 48px;
}
.btn {
	display: inline-block;
	margin: 0;
	padding: 12px 24px;
	text-decoration: none;
}
.btn .fab {
	margin-right: 8px;
}
.btn.btn-twitch {
	font-size: 20px;
	text-transform: uppercase;
	color: white;
	background-color: #4b367c;
	margin-left: 8px;
}
.btn.btn-follow {
	font-size: 20px;
	text-transform: uppercase;
	color: white;
	background-color: #4b367c;
}
.btn.btn-don {
	font-size: 20px;
	text-transform: uppercase;
	color: white;
	background-color: #F0A033;
}
.btn.btn-follow.follow {
  background-color: #13b866 !important;
}
.btn.btn-twitch.sub {
	background-color: #b82a38 !important;
}

.avatar_menu {
  vertical-align: middle;
  width: auto;
  height: 56px;
  box-sizing: border-box;
  border: 2px solid rgba(215, 225, 255, 0.9);
  border-radius: 10px;
}

.member-header-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  padding: 4px 0 4px 2px;
}

.member-header-identity-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.member-header-identity-copy > strong {
  max-width: 180px;
  overflow: hidden;
  color: #fff;
  font-size: 1rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.twitch-subscriber-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid rgba(180, 145, 255, 0.28);
  border-radius: 999px;
  background: rgba(145, 70, 255, 0.13);
  color: #cfb8ff;
  font-size: 0.63rem;
  font-weight: 700;
  line-height: 1;
}

.twitch-subscriber-badge i {
  font-size: 0.67rem;
}

.member-header-action {
  appearance: none;
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.member-header-action:hover,
.member-header-action:focus-visible {
  border-color: rgba(155, 173, 255, 0.38);
  background: rgba(92, 111, 203, 0.16);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-settings-button {
  appearance: none;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 0;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.site-settings-modal .modal-content {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: linear-gradient(145deg, #171d31 0%, #0d1222 100%);
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.site-settings-modal .modal-content > form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: inherit;
}

.site-settings-modal .modal-header,
.site-settings-modal .modal-footer {
  border-color: rgba(255, 255, 255, 0.1);
}

.site-settings-modal .modal-footer {
  gap: 10px;
  padding: 16px 24px 20px;
}

.site-settings-modal .modal-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 126px;
  min-height: 44px;
  margin: 0;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.site-settings-modal .modal-footer .btn i {
  font-size: 0.85rem;
}

.site-settings-modal .modal-footer .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-settings-modal .modal-footer .btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  transform: translateY(-1px);
}

.site-settings-modal .modal-footer .btn-primary {
  border: 1px solid rgba(139, 157, 255, 0.52);
  background: linear-gradient(135deg, #526bd2 0%, #6742c7 55%, #4b18be 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(61, 35, 158, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-settings-modal .modal-footer .btn-primary:hover {
  border-color: rgba(174, 187, 255, 0.75);
  background: linear-gradient(135deg, #617ae0 0%, #7650d4 55%, #5928ca 100%);
  box-shadow: 0 11px 28px rgba(61, 35, 158, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.site-settings-modal .modal-footer .btn:active {
  box-shadow: none;
  transform: translateY(1px);
}

.site-settings-modal .modal-footer .btn:focus-visible {
  outline: 3px solid rgba(135, 158, 255, 0.4);
  outline-offset: 2px;
  box-shadow: none;
}

.site-settings-modal .modal-footer .btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.site-settings-modal .modal-header {
  align-items: center;
  padding: 22px 24px 18px;
}

.site-settings-modal .modal-header .btn-close {
  flex-shrink: 0;
  margin: 0 0 0 auto;
  padding: 0.5rem;
}

.site-settings-modal .modal-title {
  margin-top: 0 !important;
  font-size: 1.45rem;
  font-weight: 700;
}

.site-settings-modal .modal-body {
  overflow-y: auto;
  padding: 22px 24px;
}

.site-settings-layout {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.site-settings-profile-column {
  position: sticky;
  top: 0;
  min-width: 0;
}

.site-settings-profile-preview,
.member-identity-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 26px 20px;
  border: 1px solid rgba(133, 155, 244, 0.2);
  border-radius: 18px;
  background: radial-gradient(circle at 50% 0, rgba(87, 108, 200, 0.26), transparent 58%), rgba(255, 255, 255, 0.035);
  text-align: center;
}

.site-settings-profile-preview img,
.member-identity-avatar {
  width: 92px;
  height: 92px;
  margin-bottom: 14px;
  border: 2px solid rgba(215, 225, 255, 0.9);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.site-settings-profile-preview > strong,
.member-identity-name {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 1.12rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-profile-title-preview,
.profil-display-title,
.member-identity-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  color: #aebcf2;
  font-size: 0.83rem;
  font-weight: 700;
}

.site-profile-title-preview:before,
.profil-display-title:before,
.member-identity-title:before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: #7f98ff;
  box-shadow: 0 0 9px rgba(127, 152, 255, 0.8);
}

.profil-display-title {
  margin-bottom: 10px;
}

.site-profile-title-preview.is-empty,
.member-identity-title.is-empty {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.site-profile-title-preview.is-empty:before,
.member-identity-title.is-empty:before {
  display: none;
}

.site-settings-profile-preview > small,
.member-identity-description {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  line-height: 1.5;
}

.member-identity-card {
  min-width: 0;
  color: #fff;
}

.member-identity-card--list {
  height: 100%;
  min-height: 210px;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.member-identity-card--list:hover,
.member-identity-card--list:focus-visible {
  border-color: rgba(143, 163, 255, 0.5);
  background-color: rgba(97, 115, 210, 0.13);
  color: #fff;
  box-shadow: 0 18px 38px rgba(9, 13, 46, 0.28);
  outline: none;
  transform: translateY(-4px);
}

.member-identity-card--list .member-identity-title {
  min-height: 20px;
}

.member-identity-card--profile {
  width: 100%;
}

.member-profile-meta {
  display: flex;
  width: 100%;
  margin-top: 20px;
  padding-top: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(133, 155, 244, 0.16);
}

.member-profile-twitch {
  display: inline-flex;
  min-height: 36px;
  padding: 7px 11px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(168, 126, 255, 0.32);
  border-radius: 10px;
  background: rgba(112, 55, 190, 0.16);
  color: #d8c5ff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.member-profile-twitch:hover,
.member-profile-twitch:focus-visible {
  border-color: rgba(188, 151, 255, 0.65);
  background: rgba(132, 72, 215, 0.28);
  color: #fff;
  outline: none;
}

.member-identity-card--profile .profil-qredits {
  min-height: 36px;
  margin-top: 0;
  border: 1px solid rgba(255, 215, 100, 0.2);
  background: rgba(255, 200, 63, 0.09);
}

.player-profile-page {
  padding-top: 22px;
  padding-bottom: 34px;
}

.player-profile-layout > .col-lg-3 {
  align-self: stretch;
}

.player-profile-layout > .col-lg-3,
.player-profile-layout > .col-lg-9 {
  display: flex;
}

.player-profile-page .member-identity-card--profile {
  position: static;
  min-height: 292px;
  justify-content: center;
}

.player-profile-content {
  min-width: 0;
}

.player-profile-heading {
  display: grid;
  width: 100%;
  min-height: 292px;
  padding: 22px 24px;
  align-items: center;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: 22px;
  border: 1px solid rgba(133, 155, 244, 0.2);
  border-radius: 20px;
  background: radial-gradient(circle at 10% 0, rgba(87, 108, 200, 0.22), transparent 48%), rgba(9, 14, 38, 0.5);
  box-shadow: 0 18px 45px rgba(5, 8, 30, 0.2);
}

.player-profile-main {
  width: 100%;
}

.player-profile-heading h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.player-profile-heading__identity {
  min-width: 0;
  flex: 1 1 auto;
}

.player-profile-supports {
  display: flex;
  margin-top: 17px;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
}

.player-profile-support {
  position: relative;
  display: grid;
  min-width: min(220px, 100%);
  min-height: 58px;
  overflow: hidden;
  padding: 9px 34px 9px 9px;
  align-items: center;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--profile-support-border);
  border-radius: 14px;
  background: var(--profile-support-background);
  color: #fff;
  box-shadow: var(--profile-support-shadow);
  text-decoration: none;
  isolation: isolate;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.player-profile-support::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, var(--profile-support-shine) 48%, transparent 70%);
  content: '';
  opacity: 0;
  pointer-events: none;
  transform: translateX(-85%);
}

.player-profile-support:hover,
.player-profile-support:focus-visible {
  border-color: var(--profile-support-highlight);
  color: #fff;
  filter: brightness(1.12);
  outline: none;
  transform: translateY(-2px);
}

.player-profile-support:hover::before,
.player-profile-support:focus-visible::before {
  opacity: 1;
  animation: player-profile-support-shine 0.75s ease both;
}

.player-profile-support__icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid var(--profile-support-icon-border);
  border-radius: 11px;
  background: var(--profile-support-icon-background);
  color: var(--profile-support-icon-color);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}

.player-profile-support__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.player-profile-support__copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.79rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-profile-support__copy small {
  overflow: hidden;
  color: var(--profile-support-muted);
  font-size: 0.64rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-profile-support__external {
  position: absolute;
  top: 11px;
  right: 11px;
  color: var(--profile-support-muted);
  font-size: 0.62rem;
}

.player-profile-support--twitch {
  --profile-support-background: linear-gradient(145deg, rgba(86, 46, 171, 0.3), rgba(29, 22, 72, 0.78));
  --profile-support-border: rgba(166, 123, 255, 0.34);
  --profile-support-highlight: rgba(198, 171, 255, 0.82);
  --profile-support-shadow: 0 8px 20px rgba(63, 30, 141, 0.18);
  --profile-support-icon-background: rgba(142, 81, 238, 0.23);
  --profile-support-icon-border: rgba(194, 160, 255, 0.28);
  --profile-support-icon-color: #c7a7ff;
  --profile-support-muted: #ad98d7;
  --profile-support-shine: rgba(188, 159, 255, 0.19);
}

.player-profile-support--patreon {
  --profile-support-background: linear-gradient(145deg, rgba(151, 60, 78, 0.28), rgba(55, 25, 56, 0.78));
  --profile-support-border: rgba(255, 121, 116, 0.34);
  --profile-support-highlight: rgba(255, 170, 159, 0.84);
  --profile-support-shadow: 0 8px 20px rgba(134, 44, 62, 0.17);
  --profile-support-icon-background: rgba(255, 105, 98, 0.18);
  --profile-support-icon-border: rgba(255, 163, 155, 0.26);
  --profile-support-icon-color: #ffaaa1;
  --profile-support-muted: #d5a1aa;
  --profile-support-shine: rgba(255, 181, 155, 0.18);
}

.player-profile-support--tier-2 {
  border-width: 2px;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 45%), var(--profile-support-background);
  box-shadow: var(--profile-support-shadow), 0 0 18px color-mix(in srgb, var(--profile-support-highlight) 26%, transparent);
}

.player-profile-support--tier-2 .player-profile-support__icon {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 0 13px color-mix(in srgb, var(--profile-support-highlight) 28%, transparent);
}

.player-profile-support--tier-3 {
  border-width: 2px;
  border-color: #ffe5a4;
  background-image: linear-gradient(125deg, rgba(255, 224, 145, 0.13), transparent 35%, rgba(171, 116, 255, 0.1)), var(--profile-support-background);
  box-shadow: var(--profile-support-shadow), 0 0 0 2px rgba(255, 213, 119, 0.12), 0 0 25px color-mix(in srgb, var(--profile-support-highlight) 38%, transparent);
  animation: player-profile-support-legend 2.8s ease-in-out infinite;
}

.player-profile-support--tier-3 .player-profile-support__icon {
  border-color: rgba(255, 229, 164, 0.76);
  color: #ffe9ac;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 0 16px rgba(255, 213, 119, 0.25);
}

@keyframes player-profile-support-shine {
  to { transform: translateX(85%); }
}

@keyframes player-profile-support-legend {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.13); }
}

@media (prefers-reduced-motion: reduce) {
  .player-profile-support,
  .player-profile-support::before {
    animation: none !important;
  }
}

.player-profile-heading p,
.player-profile-panel-heading p {
  margin: 6px 0 0;
  color: rgba(218, 226, 255, 0.58);
  font-size: 0.88rem;
}

.player-profile-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  align-items: center;
  gap: 8px;
}

.player-profile-overview__card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 60px;
  overflow: hidden;
  padding: 8px 9px;
  align-items: center;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  border: 1px solid rgba(139, 158, 241, 0.17);
  border-radius: 13px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  color: rgba(222, 229, 255, 0.68);
  font-size: 0.76rem;
}

.player-profile-overview__card::after {
  position: absolute;
  width: 80px;
  height: 80px;
  top: -45px;
  right: -30px;
  border-radius: 50%;
  background: var(--profile-overview-accent, #8da5ff);
  content: "";
  opacity: 0.09;
  pointer-events: none;
}

.player-profile-overview__card--trainer { --profile-overview-accent: #75dfba; }
.player-profile-overview__card--cards { --profile-overview-accent: #8da5ff; }
.player-profile-overview__card--quiz { --profile-overview-accent: #f2a6db; }

.player-profile-overview__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(141, 165, 255, 0.25);
  border-radius: 10px;
  background: rgba(141, 165, 255, 0.09);
  color: var(--profile-overview-accent, #8da5ff);
  font-size: 0.95rem;
}

.player-profile-overview__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.player-profile-overview__copy small {
  overflow: hidden;
  color: rgba(222, 229, 255, 0.55);
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-profile-overview__copy strong {
  overflow: hidden;
  margin: 2px 0;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-profile-overview__copy strong span {
  color: rgba(222, 229, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 600;
}

.player-profile-recent {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(139, 158, 241, 0.16);
  border-radius: 16px;
  background: rgba(4, 8, 28, 0.34);
}

.player-profile-recent h2 {
  display: flex;
  margin: 0 0 10px;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.9rem;
}

.player-profile-recent h2 i {
  color: #f0a7db;
  font-size: 0.78rem;
}

.player-profile-recent__list {
  display: grid;
  gap: 6px;
}

.player-profile-recent__item {
  display: grid;
  min-width: 0;
  min-height: 51px;
  padding: 7px 8px;
  align-items: center;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  border: 1px solid rgba(139, 158, 241, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.player-profile-recent__visual {
  display: inline-flex;
  width: 34px;
  height: 34px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(141, 165, 255, 0.1);
  color: #9cb0ff;
}

.player-profile-recent__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-profile-recent__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: rgba(232, 236, 255, 0.82);
  font-size: 0.7rem;
  line-height: 1.28;
}

.player-profile-recent__content > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.player-profile-recent__content a {
  color: #aebcff;
}

.player-profile-recent__content time {
  margin-top: 2px;
  color: rgba(214, 222, 255, 0.4);
  font-size: 0.61rem;
}

.player-profile-recent__empty {
  min-height: 155px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(218, 226, 255, 0.5);
  font-size: 0.75rem;
  text-align: center;
}

.player-profile-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0;
  padding: 6px;
  gap: 5px;
  border: 1px solid rgba(133, 155, 244, 0.18);
  border-radius: 16px;
  background: rgba(5, 9, 29, 0.48);
}

.player-profile-tabs button {
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  padding: 9px 12px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: rgba(219, 226, 251, 0.58);
  font-size: 0.84rem;
  font-weight: 750;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.player-profile-tabs button:hover,
.player-profile-tabs button:focus-visible {
  color: #fff;
  background: rgba(111, 132, 225, 0.1);
  outline: none;
}

.player-profile-tabs button.is-active {
  border-color: rgba(142, 164, 255, 0.34);
  background: linear-gradient(135deg, rgba(67, 94, 223, 0.4), rgba(83, 27, 207, 0.34));
  color: #fff;
  box-shadow: 0 8px 22px rgba(33, 25, 113, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.player-profile-tabs button.is-active i {
  color: #ffae65;
}

.player-profile-tab-panel {
  min-height: 420px;
  padding: 25px;
  border: 1px solid rgba(133, 155, 244, 0.18);
  border-radius: 20px;
  background: radial-gradient(circle at 90% 0, rgba(80, 64, 181, 0.16), transparent 44%), rgba(7, 11, 32, 0.5);
  box-shadow: 0 20px 50px rgba(4, 7, 27, 0.22);
}

.player-profile-tab-panel[hidden] {
  display: none;
}

.player-profile-tab-panel > h2,
.player-profile-panel-heading h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.28rem;
}

.player-profile-panel-heading {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.player-profile-panel-heading h2 {
  margin-bottom: 0;
}

.player-card-completion {
  display: grid;
  min-width: 92px;
  min-height: 72px;
  padding: 10px 14px;
  place-items: center;
  border: 1px solid rgba(255, 181, 92, 0.28);
  border-radius: 15px;
  background: rgba(255, 139, 65, 0.08);
  text-align: center;
}

.player-card-completion strong {
  color: #ffb36a;
  font-size: 1.35rem;
  line-height: 1;
}

.player-card-completion span {
  color: rgba(255, 225, 200, 0.55);
  font-size: 0.68rem;
}

.player-cards-ranking {
  --cards-rank-accent: #7ea1ff;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.45fr);
  margin-bottom: 18px;
  padding: 16px 18px;
  align-items: center;
  gap: 20px;
  border: 1px solid color-mix(in srgb, var(--cards-rank-accent) 35%, transparent);
  border-radius: 17px;
  background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--cards-rank-accent) 16%, transparent), transparent 44%), rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 14px 30px rgba(3, 7, 27, 0.18);
}

.player-cards-ranking.rank-bronze { --cards-rank-accent: #c58b67; }
.player-cards-ranking.rank-argent { --cards-rank-accent: #b8c9e5; }
.player-cards-ranking.rank-or { --cards-rank-accent: #ffd25d; }
.player-cards-ranking.rank-platine { --cards-rank-accent: #72dfcc; }
.player-cards-ranking.rank-diamant { --cards-rank-accent: #70c8ff; }
.player-cards-ranking.rank-maitre { --cards-rank-accent: #bd83ff; }
.player-cards-ranking.rank-universe { --cards-rank-accent: #ff83d6; }

.player-cards-ranking__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.player-cards-ranking__identity > img,
.player-cards-ranking__identity > i {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--cards-rank-accent) 25%, transparent));
}

.player-cards-ranking__identity > i {
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(213, 222, 255, 0.38);
  font-size: 1.55rem;
}

.player-cards-ranking__identity div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.player-cards-ranking__identity small {
  overflow: hidden;
  color: rgba(217, 226, 255, 0.48);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-cards-ranking__identity strong {
  color: var(--cards-rank-accent);
  font-size: 1.05rem;
}

.player-cards-ranking__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.player-cards-ranking__stats > span {
  display: grid;
  min-height: 62px;
  padding: 9px;
  place-items: center;
  border: 1px solid rgba(130, 153, 241, 0.14);
  border-radius: 11px;
  background: rgba(5, 10, 31, 0.35);
  text-align: center;
}

.player-cards-ranking__stats small {
  color: rgba(216, 225, 255, 0.45);
  font-size: 0.65rem;
}

.player-cards-ranking__stats strong {
  color: #fff;
  font-size: 1.02rem;
}

.player-cards-ranking.is-unranked {
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1fr);
  border-style: dashed;
}

.player-cards-ranking.is-unranked > p {
  margin: 0;
  color: rgba(216, 225, 255, 0.5);
  font-size: 0.8rem;
}

.player-profile-panel-heading--quiz {
  padding: 16px 18px;
  border: 1px solid rgba(116, 196, 255, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(44, 126, 214, 0.13), rgba(105, 66, 205, 0.1));
}

.player-quiz-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border: 1px solid rgba(125, 204, 255, 0.28);
  border-radius: 17px;
  background: rgba(59, 126, 209, 0.15);
  color: #84d2ff;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(31, 87, 167, 0.18);
}

.player-profile-stat-grid--quiz {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.player-profile-stat-grid--quiz > div {
  border-color: rgba(104, 190, 255, 0.16);
  background: linear-gradient(145deg, rgba(43, 113, 196, 0.07), rgba(92, 55, 184, 0.045));
}

.player-profile-stat-grid--quiz strong {
  color: #8ed7ff;
}

.player-profile-stat-grid--quiz .player-quiz-position strong {
  color: #ffd36f;
}

.player-quiz-link {
  display: inline-flex;
  min-height: 40px;
  padding: 9px 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(111, 198, 255, 0.28);
  border-radius: 11px;
  background: rgba(48, 113, 199, 0.1);
  color: #9bd9ff;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}

.player-quiz-link:hover,
.player-quiz-link:focus-visible {
  background: rgba(48, 113, 199, 0.2);
  color: #fff;
  outline: none;
}

.player-profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
  gap: 10px;
}

.player-profile-stat-grid > div {
  display: flex;
  min-height: 92px;
  padding: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(129, 153, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.player-profile-stat-grid span {
  color: rgba(218, 226, 255, 0.54);
  font-size: 0.72rem;
}

.player-profile-stat-grid strong {
  margin-top: 5px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.player-profile-stat-grid strong small,
.player-profile-stat-grid > div > small {
  margin-left: 2px;
  color: rgba(218, 226, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 600;
}

.player-card-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.player-card-album-book {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(102, 170, 247, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(27, 39, 76, 0.96) 0, rgba(40, 49, 88, 0.94) 49.25%, rgba(5, 9, 25, 0.98) 49.75%, rgba(5, 9, 25, 0.98) 50.25%, rgba(39, 47, 85, 0.94) 50.75%, rgba(25, 35, 72, 0.96) 100%);
  box-shadow: inset 0 16px 28px rgba(0, 0, 0, 0.25), inset 0 -14px 25px rgba(0, 0, 0, 0.22), 0 22px 45px rgba(2, 5, 22, 0.3);
  animation: player-card-album-open 0.38s ease both;
}

.player-card-album-book::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 34px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7), transparent 68%);
  content: '';
  pointer-events: none;
  transform: translateX(-50%);
}

.player-card-album-book::after {
  position: absolute;
  z-index: 0;
  inset: 11px;
  border: 1px solid rgba(146, 192, 255, 0.1);
  border-radius: 13px;
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.08);
  content: '';
  pointer-events: none;
}

.player-card-album-spread {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 560px;
}

.player-card-album-leaf {
  position: relative;
  padding: 25px 32px 30px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 8px),
    linear-gradient(145deg, rgba(29, 45, 82, 0.5), rgba(13, 19, 48, 0.32));
}

.player-card-album-leaf--left {
  padding-right: 40px;
  box-shadow: inset -18px 0 25px rgba(0, 0, 0, 0.18);
}

.player-card-album-leaf--right {
  padding-left: 40px;
  box-shadow: inset 18px 0 25px rgba(0, 0, 0, 0.18);
}

.player-card-album-leaf > header {
  display: flex;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 4px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(118, 174, 240, 0.2);
  color: #89a6cf;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.player-card-album-leaf > header strong {
  color: #c8d8ef;
  font-size: 0.72rem;
}

.player-card-album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.player-card-album-grid .player-card-collection-item {
  border-color: rgba(126, 179, 248, 0.26);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(7, 18, 44, 0.9), rgba(14, 16, 47, 0.82)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 7px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.05);
}

.player-card-album-grid .player-card-collection-art {
  aspect-ratio: 4 / 3;
}

.player-card-album-grid .player-card-collection-copy {
  min-height: 76px;
}

.player-card-album-slot-empty {
  display: grid;
  min-height: 190px;
  place-items: center;
  border: 1px dashed rgba(126, 179, 248, 0.14);
  border-radius: 13px;
  background: rgba(3, 8, 25, 0.2);
  color: rgba(126, 161, 209, 0.16);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.13);
}

.player-card-album-slot-empty i {
  font-size: 1.6rem;
}

@keyframes player-card-album-open {
  from { opacity: 0.25; transform: perspective(1400px) rotateY(-2.5deg) translateY(5px); }
  to { opacity: 1; transform: perspective(1400px) rotateY(0) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .player-card-album-book {
    animation: none;
  }
}

.player-card-collection-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(133, 155, 244, 0.18);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 12px 26px rgba(3, 6, 24, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.player-card-collection-item:hover {
  border-color: rgba(148, 170, 255, 0.42);
  box-shadow: 0 18px 34px rgba(3, 6, 24, 0.35);
  transform: translateY(-3px);
}

.player-card-collection-item.is-holo {
  border-color: rgba(121, 230, 255, 0.32);
  background: linear-gradient(145deg, rgba(60, 180, 222, 0.1), rgba(123, 70, 205, 0.1));
}

.player-card-collection-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(4, 7, 24, 0.72);
}

.player-card-collection-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.player-card-collection-item:hover .player-card-collection-art > img {
  transform: scale(1.05);
}

.player-card-collection-item.is-holo .player-card-collection-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 15%, rgba(109, 235, 255, 0.16) 38%, rgba(255, 149, 226, 0.2) 50%, transparent 72%);
  pointer-events: none;
}

.player-card-holo,
.player-card-quantity {
  position: absolute;
  z-index: 1;
  top: 9px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(5, 8, 27, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.player-card-holo {
  left: 9px;
  color: #9ceeff;
}

.player-card-quantity {
  right: 9px;
}

.player-card-collection-copy {
  display: grid;
  padding: 11px 12px 13px;
  gap: 4px;
}

.player-card-collection-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-card-rarity {
  color: #ffc85b;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.player-card-collection-copy small {
  overflow: hidden;
  color: rgba(217, 226, 255, 0.45);
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-profile-pagination {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(222, 229, 255, 0.62);
  font-size: 0.8rem;
}

.player-profile-pagination button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(139, 159, 245, 0.25);
  border-radius: 10px;
  background: rgba(87, 105, 196, 0.14);
  color: #fff;
}

.player-profile-pagination button:disabled {
  cursor: default;
  opacity: 0.35;
}

.player-profile-empty {
  display: flex;
  min-height: 220px;
  padding: 28px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(218, 226, 255, 0.52);
  text-align: center;
}

.player-profile-empty i {
  color: #8299f6;
  font-size: 2rem;
}

.player-profile-panel-heading--mario {
  padding: 16px 18px;
  border: 1px solid rgba(255, 202, 80, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(206, 51, 48, 0.12), rgba(255, 198, 60, 0.08));
}

.player-mario-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
}

.player-profile-stat-grid--mario > div {
  border-color: rgba(255, 193, 78, 0.16);
  background: rgba(225, 70, 51, 0.05);
}

.player-profile-stat-grid--mario {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.player-profile-stat-grid--mario strong {
  color: #ffd06c;
}

.player-mario-completed {
  display: flex;
  margin-bottom: 18px;
  padding: 14px 18px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 211, 83, 0.28);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 184, 49, 0.12), rgba(172, 54, 42, 0.1));
}

.player-mario-completed img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.player-mario-completed div {
  display: grid;
  gap: 3px;
}

.player-mario-completed strong {
  color: #ffe28d;
}

.player-mario-completed span {
  color: rgba(255, 235, 196, 0.56);
  font-size: 0.78rem;
}

.player-mario-levels {
  overflow: hidden;
  border: 1px solid rgba(133, 155, 244, 0.16);
  border-radius: 15px;
}

.player-mario-levels-head,
.player-mario-level {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(80px, 0.32fr));
  align-items: center;
  gap: 12px;
}

.player-mario-levels-head {
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(218, 226, 255, 0.44);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.player-mario-levels-head span:not(:first-child),
.player-mario-level > span {
  text-align: center;
}

.player-mario-level {
  min-height: 58px;
  padding: 9px 15px;
  border-top: 1px solid rgba(133, 155, 244, 0.1);
  color: rgba(218, 226, 255, 0.28);
}

.player-mario-level.has-score {
  color: #fff;
  background: rgba(255, 255, 255, 0.018);
}

.player-mario-level > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.player-mario-level > div strong {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: rgba(219, 65, 46, 0.18);
  color: #ffbd63;
}

.player-mario-level > div span {
  overflow: hidden;
  color: rgba(231, 236, 255, 0.68);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-mario-level > span {
  font-size: 0.82rem;
  font-weight: 750;
}

.player-mario-link {
  display: inline-flex;
  min-height: 40px;
  margin-top: 18px;
  padding: 9px 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 193, 78, 0.26);
  border-radius: 11px;
  background: rgba(207, 58, 43, 0.1);
  color: #ffd16e;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}

.player-mario-link:hover {
  background: rgba(207, 58, 43, 0.2);
  color: #fff;
}

.player-profile-tab-panel .profil-temtem-panel {
  padding: 18px;
  border-color: rgba(119, 211, 197, 0.18);
  border-radius: 15px;
  background: rgba(20, 81, 82, 0.08);
}

@media (max-width: 991.98px) {
  .player-profile-page .member-identity-card--profile {
    position: static;
  }

  .player-profile-heading {
    min-height: 210px;
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .player-profile-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: flex-start;
  }

  .player-profile-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-card-collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .player-card-album-leaf {
    padding-inline: 24px 30px;
  }

  .player-card-album-leaf--right {
    padding-inline: 30px 24px;
  }

  .player-card-album-grid {
    grid-template-columns: 1fr;
  }

  .player-card-album-slot-empty {
    min-height: 150px;
  }

  .player-profile-stat-grid--mario {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .player-cards-ranking,
  .player-cards-ranking.is-unranked {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .player-profile-tab-panel {
    min-height: 0;
    padding: 18px;
  }

  .player-profile-stat-grid,
  .player-card-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-card-album-book {
    background: linear-gradient(145deg, rgba(31, 44, 82, 0.96), rgba(16, 22, 54, 0.96));
  }

  .player-card-album-book::before {
    display: none;
  }

  .player-card-album-spread {
    grid-template-columns: 1fr;
  }

  .player-card-album-leaf,
  .player-card-album-leaf--left,
  .player-card-album-leaf--right {
    padding: 22px;
    box-shadow: none;
  }

  .player-card-album-leaf + .player-card-album-leaf {
    border-top: 5px solid rgba(5, 9, 25, 0.65);
  }

  .player-card-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-profile-stat-grid--mario {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-profile-stat-grid--quiz {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-cards-ranking__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-mario-levels-head {
    display: none;
  }

  .player-mario-level {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 13px;
  }

  .player-mario-level > div {
    grid-column: 1 / -1;
    margin-bottom: 5px;
  }

  .player-mario-level > span:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: rgba(218, 226, 255, 0.38);
    font-size: 0.62rem;
    font-weight: 600;
  }
}

@media (max-width: 575.98px) {
  .player-profile-page {
    padding-top: 10px;
  }

  .player-profile-heading {
    min-height: 0;
    padding: 18px;
  }

  .player-profile-support {
    width: 100%;
  }

  .player-profile-stat-grid--quiz {
    grid-template-columns: 1fr;
  }

  .player-profile-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .player-profile-tabs button {
    min-height: 54px;
    padding: 8px;
    flex-direction: column;
    font-size: 0.72rem;
  }

  .player-profile-panel-heading {
    align-items: flex-start;
  }

  .player-card-completion {
    min-width: 76px;
  }

  .player-profile-stat-grid > div {
    min-height: 82px;
    padding: 11px 8px;
  }

  .player-card-album-leaf,
  .player-card-album-leaf--left,
  .player-card-album-leaf--right {
    padding: 17px 12px;
  }

  .player-card-album-grid {
    gap: 9px;
  }

  .player-card-album-grid .player-card-collection-copy {
    min-height: 68px;
    padding: 9px;
  }

  .player-card-album-grid .player-card-collection-copy strong {
    font-size: 0.72rem;
  }

  .player-card-album-slot-empty {
    min-height: 130px;
  }

  .player-card-collection-grid {
    gap: 9px;
  }

  .player-card-collection-copy {
    padding: 9px;
  }
}

@media (max-width: 575.98px) {
  .member-identity-card--list {
    min-height: 190px;
    padding: 20px 12px;
  }

  .member-identity-card--list .member-identity-avatar {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .member-identity-card--list .member-identity-name {
    font-size: 0.94rem;
  }

  .member-identity-card--list .member-identity-title {
    font-size: 0.74rem;
  }
}

.support-avatar {
  --support-avatar-border-width: 3px;
  --support-patreon-1-inset: -4%;
  --support-patreon-2-inset: -5.5%;
  --support-patreon-3-inset: -7.5%;
  --support-twitch-1-inset: -7%;
  --support-twitch-2-inset: -10%;
  --support-twitch-3-inset: -10%;
  --support-avatar-radius: 24%;
  --support-effect-radius: 28%;
  position: relative;
  z-index: 0;
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 22px;
  isolation: isolate;
  vertical-align: middle;
}

.support-avatar > img {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 0 !important;
  box-sizing: border-box;
  border: var(--support-avatar-border-width) solid rgba(215, 225, 255, 0.9);
}

/* Les petits avatars conservent la même bordure que les paramètres/profils. */
.support-avatar--menu > img,
.support-avatar--chat > img,
.support-avatar--quiz > img,
.support-avatar--quiz-ranking > img {
  border-color: rgba(215, 225, 255, 0.9);
}

.support-avatar--menu > img,
.support-avatar--quiz > .avatar_menu {
  border-width: 2px;
}

.support-avatar--chat > img,
.support-avatar--quiz-ranking > img {
  border-width: 1.5px;
}

.site-settings-profile-preview > .support-avatar,
.member-identity-card > .support-avatar {
  margin-bottom: 14px;
}

.support-avatar::before,
.support-avatar::after {
  position: absolute;
  content: '';
  pointer-events: none;
}

/* Patreon occupe l'anneau proche de l'avatar. */
.support-avatar--patreon-1::before {
  z-index: 1;
  inset: var(--support-patreon-1-inset);
  border: 2px solid rgba(255, 122, 116, 0.92);
  border-radius: 26px;
  box-shadow: 0 0 12px rgba(255, 107, 99, 0.25);
}

.support-avatar--patreon-2::before {
  z-index: 1;
  inset: var(--support-patreon-2-inset);
  border-radius: 28px;
  background: conic-gradient(from 35deg, #ff857d, #ff4f72, #9b6bff, #ff857d);
  box-shadow: 0 0 0 1px rgba(255, 177, 174, 0.28), 0 0 22px rgba(255, 87, 104, 0.42);
  animation: support-avatar-ring-turn 10s linear infinite;
}

.support-avatar--patreon-3::before {
  z-index: 1;
  inset: var(--support-patreon-3-inset);
  border: 2px solid rgba(255, 230, 164, 0.92);
  border-radius: 31px;
  background: conic-gradient(from 20deg, #ffe7a0, #ff7a72, #b16cff, #fff2bc, #ff5679, #ffe7a0);
  box-shadow: 0 0 0 2px rgba(255, 102, 105, 0.38), 0 0 28px rgba(255, 94, 104, 0.58), 0 0 42px rgba(255, 203, 120, 0.22);
  animation: support-avatar-ring-turn 6s linear infinite;
}

/* Twitch reste plus loin : son halo demeure visible avec un Patreon actif. */
.support-avatar--twitch-1::after {
  z-index: 0;
  inset: var(--support-twitch-1-inset);
  border: 1px solid rgba(164, 126, 255, 0.55);
  border-radius: 29px;
  box-shadow: 0 0 17px rgba(145, 93, 255, 0.42);
}

.support-avatar--twitch-2::after {
  z-index: 0;
  inset: var(--support-twitch-2-inset);
  border: 2px solid rgba(170, 133, 255, 0.76);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(116, 72, 255, 0.68), rgba(91, 219, 255, 0.38));
  box-shadow: 0 0 24px rgba(133, 83, 255, 0.58), 0 0 36px rgba(79, 202, 255, 0.2);
  animation: support-avatar-twitch-breathe 2.8s ease-in-out infinite;
}

.support-avatar--twitch-3::after {
  z-index: 0;
  inset: var(--support-twitch-3-inset);
  border: 2px solid rgba(213, 193, 255, 0.9);
  border-radius: 35px;
  background: conic-gradient(from 180deg, #7947ff, #54d9ff, #d778ff, #ffffff, #7947ff);
  box-shadow: 0 0 26px rgba(126, 72, 255, 0.72), 0 0 48px rgba(78, 211, 255, 0.3);
  animation: support-avatar-ring-turn 4.8s linear infinite;
}

.support-avatar--dual.support-avatar--patreon-2::before,
.support-avatar--dual.support-avatar--patreon-3::before {
  box-shadow: 0 0 0 2px rgba(255, 116, 113, 0.46), 0 0 22px rgba(255, 84, 102, 0.48);
}

.support-avatar__badge {
  position: absolute;
  z-index: 4;
  right: -9px;
  bottom: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 2px solid #171b31;
  border-radius: 10px;
  color: #fff;
  font-size: 0.71rem;
  line-height: 1;
  box-shadow: 0 5px 13px rgba(0, 0, 0, 0.4);
}

.support-avatar__badge i {
  font-size: 0.72rem;
}

.support-avatar__badge b {
  margin-left: 2px;
  font-size: 0.58rem;
  font-weight: 900;
}

.support-avatar__badge--patreon {
  background: linear-gradient(145deg, #ff786f, #9b466f);
}

.support-avatar__badge--twitch {
  background: linear-gradient(145deg, #a56cff, #5f35ca);
}

.support-avatar--dual .support-avatar__badge--patreon {
  right: auto;
  left: -9px;
}

.support-avatar--patreon-3 .support-avatar__badge--patreon,
.support-avatar--twitch-3 .support-avatar__badge--twitch {
  border-color: rgba(255, 237, 181, 0.94);
  box-shadow: 0 0 0 2px rgba(255, 220, 133, 0.2), 0 6px 17px rgba(0, 0, 0, 0.48), 0 0 16px rgba(255, 214, 118, 0.35);
}

.support-avatar--menu {
  border-radius: 10px;
}

.support-avatar--menu.support-avatar--patreon-1::before,
.support-avatar--menu.support-avatar--twitch-1::after {
  border-radius: 14px;
}

.support-avatar--menu.support-avatar--patreon-2::before,
.support-avatar--menu.support-avatar--patreon-3::before,
.support-avatar--menu.support-avatar--twitch-2::after,
.support-avatar--menu.support-avatar--twitch-3::after {
  border-radius: 17px;
}

.support-avatar--menu .support-avatar__badge {
  right: -7px;
  bottom: -7px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
}

.support-avatar--menu.support-avatar--dual .support-avatar__badge--patreon {
  right: auto;
  left: -7px;
}

.support-avatar--menu .support-avatar__badge i {
  font-size: 0.62rem;
}

.support-avatar--menu .support-avatar__badge b {
  font-size: 0.5rem;
}

.support-avatar--matchmaking,
.support-avatar--matchmaking::before,
.support-avatar--matchmaking::after {
  border-radius: 50% !important;
}

.support-avatar--quiz {
  border-radius: 4px;
}

.support-avatar--quiz::before,
.support-avatar--quiz::after {
  border-radius: 10px !important;
}

.support-avatar--chat {
  border-radius: 12px;
}

.support-avatar--chat::before,
.support-avatar--chat::after,
.support-avatar--chat .support-avatar__twitch-wave {
  border-radius: 17px !important;
}

.support-avatar--quiz-ranking {
  border-radius: 4px;
}

.support-avatar--quiz-ranking::before,
.support-avatar--quiz-ranking::after,
.support-avatar--quiz-ranking .support-avatar__twitch-wave {
  border-radius: 9px !important;
}

.support-avatar--cards-game,
.support-avatar--cards-chat,
.support-avatar--cards-feed,
.support-avatar--cards-ranking,
.support-avatar--cards-spectator,
.support-avatar--cards-market,
.support-avatar--smcr,
.support-avatar--temtem-raid,
.support-avatar--admin {
  border-radius: 50%;
}

.support-avatar--cards-game::before,
.support-avatar--cards-game::after,
.support-avatar--cards-game .support-avatar__twitch-wave,
.support-avatar--cards-chat::before,
.support-avatar--cards-chat::after,
.support-avatar--cards-chat .support-avatar__twitch-wave,
.support-avatar--cards-feed::before,
.support-avatar--cards-feed::after,
.support-avatar--cards-feed .support-avatar__twitch-wave,
.support-avatar--cards-ranking::before,
.support-avatar--cards-ranking::after,
.support-avatar--cards-ranking .support-avatar__twitch-wave,
.support-avatar--cards-spectator::before,
.support-avatar--cards-spectator::after,
.support-avatar--cards-spectator .support-avatar__twitch-wave,
.support-avatar--cards-market::before,
.support-avatar--cards-market::after,
.support-avatar--cards-market .support-avatar__twitch-wave,
.support-avatar--smcr::before,
.support-avatar--smcr::after,
.support-avatar--smcr .support-avatar__twitch-wave,
.support-avatar--temtem-raid::before,
.support-avatar--temtem-raid::after,
.support-avatar--temtem-raid .support-avatar__twitch-wave,
.support-avatar--admin::before,
.support-avatar--admin::after,
.support-avatar--admin .support-avatar__twitch-wave {
  border-radius: 50% !important;
}

@keyframes support-avatar-ring-turn {
  to { transform: rotate(1turn); }
}

@keyframes support-avatar-twitch-breathe {
  0%, 100% { opacity: 0.72; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  .support-avatar::before,
  .support-avatar::after {
    animation: none !important;
  }
}

@media (max-width: 575.98px) {
  .member-identity-card--list > .support-avatar {
    border-radius: 18px;
  }

  .member-identity-card--list > .support-avatar::before,
  .member-identity-card--list > .support-avatar::after {
    border-radius: 23px;
  }
}

/* La proposition visuelle initiale est conservée sans les badges superposés. */
.support-avatar__badge {
  display: none !important;
}

/* Patreon : trois signatures réellement distinctes, avec des mouvements ralentis. */
.support-avatar--patreon-1 > img {
  border-color: #ff8b82 !important;
}

.support-avatar--patreon-2 > img {
  border-color: #ff756f !important;
}

.support-avatar--patreon-2::before {
  --patreon-color-angle: 35deg;
  inset: var(--support-patreon-2-inset);
  border: 0;
  background: conic-gradient(from var(--patreon-color-angle), #ff8b82, #e65a84, #9870ed, #ff8b82);
  background-size: auto;
  box-shadow: 0 0 0 1px rgba(255, 160, 153, 0.18), 0 0 15px rgba(229, 90, 121, 0.3);
  transform: rotate(45deg) scale(0.88);
  animation: support-avatar-patreon-colors 7s linear infinite;
}

.support-avatar--patreon-3::before {
  inset: var(--support-patreon-3-inset);
  border: 1px solid rgba(255, 229, 158, 0.9);
  background: conic-gradient(from var(--patreon-color-angle), #ffe8a6, #ef8b72, #ae72e2, #fff0bd, #e96780, #ffe8a6);
  background-size: auto;
  box-shadow: 0 0 0 2px rgba(229, 111, 106, 0.35), 0 0 18px rgba(235, 146, 102, 0.36);
  transform: rotate(45deg) scale(0.88);
  animation: support-avatar-patreon-prestige 3.8s ease-in-out infinite;
}

.support-avatar--patreon-3 > img {
  border-color: #f5d58b #eb9695 #f5d58b #eb9695 !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 245, 205, 0.38) !important;
}

@property --patreon-color-angle {
  syntax: '<angle>';
  initial-value: 20deg;
  inherits: false;
}

@keyframes support-avatar-patreon-colors {
  from { --patreon-color-angle: 35deg; }
  to { --patreon-color-angle: 395deg; }
}

@keyframes support-avatar-patreon-prestige {
  0% { --patreon-color-angle: 20deg; transform: rotate(45deg) scale(0.88); }
  50% { --patreon-color-angle: 200deg; transform: rotate(45deg) scale(0.98); }
  100% { --patreon-color-angle: 380deg; transform: rotate(45deg) scale(0.88); }
}

/* Twitch 3 reprend exactement le bounce du Tier 2, avec une onde indépendante. */
.support-avatar--twitch-3 {
  outline: 0;
  box-shadow: 0 0 22px rgba(127, 76, 238, 0.58), 0 0 38px rgba(65, 194, 232, 0.24);
}

.support-avatar--twitch-3::after {
  inset: var(--support-twitch-3-inset);
  border: 2px solid rgba(104, 219, 250, 0.78);
  background: linear-gradient(135deg, rgba(128, 76, 244, 0.78), rgba(75, 215, 246, 0.46));
  box-shadow: 0 0 15px rgba(170, 124, 255, 0.68), 0 0 28px rgba(77, 207, 239, 0.4);
  animation: support-avatar-twitch-breathe 2.8s ease-in-out infinite;
}

.support-avatar__twitch-wave {
  position: absolute;
  z-index: 0;
  inset: var(--support-twitch-3-inset);
  border: 2px solid rgba(104, 219, 250, 0.64);
  border-radius: 32px;
  box-shadow: 0 0 12px rgba(170, 124, 255, 0.52), 0 0 24px rgba(77, 207, 239, 0.3);
  pointer-events: none;
  animation: support-avatar-twitch-wave 3.1s ease-out infinite;
}

@keyframes support-avatar-twitch-wave {
  0% { opacity: 0; transform: scale(0.9); }
  22% { opacity: 0.82; }
  100% { opacity: 0; transform: scale(1.34); }
}

.support-avatar--menu .support-avatar__twitch-wave {
  border-radius: 17px;
}

.support-avatar--matchmaking .support-avatar__twitch-wave {
  border-radius: 50%;
}

.support-avatar--quiz .support-avatar__twitch-wave {
  border-radius: 10px;
}

/* Les rayons suivent eux aussi la taille et la forme de chaque avatar. */
.support-avatar--menu {
  --support-avatar-radius: 20%;
  --support-effect-radius: 26%;
}

.support-avatar--chat {
  --support-patreon-2-inset: -11%;
  --support-patreon-3-inset: -13%;
  --support-avatar-radius: 32%;
  --support-effect-radius: 36%;
}

.support-avatar--quiz {
  --support-avatar-radius: 4%;
  --support-effect-radius: 9%;
}

.support-avatar--quiz-ranking {
  --support-avatar-radius: 10%;
  --support-effect-radius: 18%;
}

.support-avatar--matchmaking,
.support-avatar--cards-game,
.support-avatar--cards-chat,
.support-avatar--cards-feed,
.support-avatar--cards-ranking,
.support-avatar--cards-spectator,
.support-avatar--cards-market,
.support-avatar--smcr,
.support-avatar--temtem-raid,
.support-avatar--admin {
  --support-avatar-radius: 50%;
  --support-effect-radius: 50%;
}

.support-avatar,
.support-avatar > img {
  border-radius: var(--support-avatar-radius) !important;
}

.support-avatar::before,
.support-avatar::after,
.support-avatar .support-avatar__twitch-wave {
  border-radius: var(--support-effect-radius) !important;
}

@media (prefers-reduced-motion: reduce) {
  .support-avatar--patreon-2::before,
  .support-avatar--patreon-3::before,
  .support-avatar--twitch-3::after,
  .support-avatar__twitch-wave {
    animation: none !important;
  }
}

.site-settings-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 43px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 112, 124, 0.32);
  border-radius: 12px;
  background: rgba(193, 46, 62, 0.13);
  color: #ff9ca5;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-settings-logout:hover,
.site-settings-logout:focus-visible {
  border-color: rgba(255, 125, 137, 0.62);
  background: rgba(211, 48, 66, 0.24);
  color: #fff;
  transform: translateY(-1px);
}

.site-settings-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.site-settings-section {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.site-settings-section-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.site-settings-section-icon {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(132, 153, 242, 0.24);
  border-radius: 13px;
  background: rgba(87, 108, 200, 0.14);
  color: #9eb0f5;
}

.site-settings-section-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 750;
}

.site-settings-section-heading p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.site-current-title-setting {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.site-current-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(139, 158, 242, 0.25);
  border-radius: 12px;
  background: rgba(87, 108, 200, 0.14);
  color: #9eb0f5;
}

.site-current-title-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.site-current-title-copy small {
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.69rem;
}

.site-current-title-copy strong {
  overflow: hidden;
  color: #f4f6ff;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-title-picker-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(139, 158, 242, 0.34);
  border-radius: 11px;
  background: rgba(87, 108, 200, 0.14);
  color: #c8d2ff;
  font-size: 0.78rem;
  font-weight: 700;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-title-picker-open:hover,
.site-title-picker-open:focus-visible {
  border-color: rgba(157, 174, 250, 0.62);
  background: rgba(101, 124, 221, 0.24);
  color: #fff;
  transform: translateY(-1px);
}

.site-settings-patreon-icon {
  border-color: rgba(255, 112, 101, 0.3);
  background: rgba(255, 79, 70, 0.12);
  color: #ff8a80;
}

.site-service-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.site-patreon-card.is-linked {
  border-color: rgba(255, 133, 122, 0.2);
  background: rgba(255, 98, 87, 0.055);
}

.site-patreon-card.is-active {
  border-color: rgba(255, 124, 113, 0.34);
  background: linear-gradient(135deg, rgba(255, 83, 73, 0.11), rgba(94, 65, 208, 0.13));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.site-service-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.15rem;
}

.site-patreon-mark {
  border: 1px solid rgba(255, 128, 117, 0.27);
  background: linear-gradient(145deg, rgba(255, 82, 73, 0.2), rgba(112, 77, 225, 0.18));
  color: #ff9389;
}

.site-service-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.site-service-copy h3 {
  margin: 0;
  color: #f8f9ff;
  font-size: 0.87rem;
  font-weight: 750;
}

.site-service-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.73rem;
  line-height: 1.45;
}

.site-service-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-twitch-card.is-active {
  border-color: rgba(177, 131, 255, 0.28);
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.1), rgba(86, 71, 191, 0.1));
}

.site-twitch-mark {
  border: 1px solid rgba(181, 143, 255, 0.28);
  background: linear-gradient(145deg, rgba(145, 70, 255, 0.2), rgba(89, 64, 192, 0.18));
  color: #c5a7ff;
}

.site-twitch-status,
.site-twitch-subscribe,
.site-twitch-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-twitch-status {
  border: 1px solid rgba(169, 129, 255, 0.28);
  background: rgba(145, 70, 255, 0.11);
  color: #cdb8ff;
}

.site-twitch-status em {
  margin-left: 2px;
  padding-left: 8px;
  border-left: 1px solid rgba(205, 184, 255, 0.25);
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.site-twitch-subscribe {
  border: 1px solid rgba(176, 137, 255, 0.38);
  background: rgba(145, 70, 255, 0.16);
  color: #d6c5ff;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-twitch-subscribe:hover,
.site-twitch-subscribe:focus-visible {
  border-color: rgba(198, 169, 255, 0.66);
  background: rgba(145, 70, 255, 0.28);
  color: #fff;
  transform: translateY(-1px);
}

.site-twitch-refresh {
  border: 1px solid rgba(176, 137, 255, 0.3);
  background: rgba(145, 70, 255, 0.1);
  color: #cdb8ff;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-twitch-refresh:hover,
.site-twitch-refresh:focus-visible {
  border-color: rgba(198, 169, 255, 0.58);
  background: rgba(145, 70, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.site-twitch-refresh:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.site-twitch-refresh .site-twitch-refresh-spinner {
  display: none;
}

.site-twitch-refresh.is-loading .site-twitch-refresh-label {
  display: none;
}

.site-twitch-refresh.is-loading .site-twitch-refresh-spinner {
  display: inline-grid;
}

.site-patreon-connect,
.site-patreon-unavailable,
.site-patreon-disconnect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 700;
}

.site-patreon-connect {
  border: 1px solid rgba(255, 128, 117, 0.4);
  background: linear-gradient(135deg, rgba(235, 76, 67, 0.2), rgba(105, 73, 210, 0.2));
  color: #ffc0ba;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-patreon-connect:hover,
.site-patreon-connect:focus-visible {
  border-color: rgba(255, 151, 141, 0.72);
  background: linear-gradient(135deg, rgba(235, 76, 67, 0.3), rgba(105, 73, 210, 0.3));
  color: #fff;
  transform: translateY(-1px);
}

.site-patreon-disconnect {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.55);
}

.site-patreon-disconnect:hover,
.site-patreon-disconnect:focus-visible {
  border-color: rgba(255, 126, 138, 0.34);
  background: rgba(193, 46, 62, 0.12);
  color: #ffabb2;
}

.site-patreon-disconnect:disabled {
  cursor: wait;
  opacity: 0.55;
}

.site-patreon-unavailable {
  color: rgba(255, 255, 255, 0.42);
}

.site-title-picker {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
}

.site-title-picker[hidden] {
  display: none;
}

.site-title-picker-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(4, 7, 15, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.site-title-picker-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(780px, 100%);
  max-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(148, 166, 247, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, #1a2138 0%, #101629 100%);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.58);
}

.site-title-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-title-picker-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.12rem;
}

.site-title-picker-header p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

.site-title-picker-close {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.68);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.site-title-picker-close:hover,
.site-title-picker-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.site-title-picker-body {
  padding: 20px 22px 22px;
  overflow-y: auto;
}

.site-title-picker .site-title-choices {
  max-height: none;
}

.site-title-picker-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 16px;
  padding: 24px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.site-title-picker-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 11px;
  border-radius: 13px;
  background: rgba(87, 108, 200, 0.16);
  color: #98a9ee;
}

.site-title-picker-empty strong {
  color: #f5f7ff;
  font-size: 0.9rem;
}

.site-title-picker-empty p {
  max-width: 460px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  line-height: 1.5;
}

.site-title-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 310px;
  padding: 2px;
  overflow-y: auto;
}

.site-title-choice {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.site-title-choice > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-title-choice-card {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-title-choice-card > i:first-child {
  color: #8497e5;
  font-size: 1rem;
  text-align: center;
}

.site-title-choice-card > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.site-title-choice-card strong {
  overflow: hidden;
  color: #f6f8ff;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-title-choice-card small {
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.69rem;
  line-height: 1.35;
}

.site-title-choice-check {
  opacity: 0;
  color: #9fb1ff;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: scale(0.7);
}

.site-title-choice:hover .site-title-choice-card {
  border-color: rgba(144, 164, 246, 0.3);
  background: rgba(104, 126, 218, 0.09);
  transform: translateY(-1px);
}

.site-title-choice > input:checked + .site-title-choice-card {
  border-color: rgba(139, 158, 242, 0.65);
  background: linear-gradient(135deg, rgba(82, 107, 210, 0.22), rgba(75, 24, 190, 0.2));
  box-shadow: inset 0 0 0 1px rgba(155, 173, 255, 0.09), 0 8px 22px rgba(0, 0, 0, 0.13);
}

.site-title-choice > input:checked + .site-title-choice-card .site-title-choice-check {
  opacity: 1;
  transform: scale(1);
}

.site-title-choice > input:focus-visible + .site-title-choice-card {
  outline: 3px solid rgba(135, 158, 255, 0.4);
  outline-offset: 2px;
}

.site-settings-empty-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 2px 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
}

.site-settings-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #aebcf2;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-settings-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.site-settings-option-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.site-settings-option-text span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  line-height: 1.45;
}

.site-settings-modal .form-check-input {
  width: 3em;
  height: 1.55em;
  margin: 0;
  cursor: pointer;
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.12);
}

.site-settings-modal .form-check-input:checked {
  border-color: #6d85e8;
  background-color: #6d85e8;
}

.site-settings-feedback {
  min-height: 22px;
  margin-top: 12px;
  font-size: 0.86rem;
  text-align: right;
}

.site-settings-feedback.is-success {
  color: #7ee2a8;
}

.site-settings-feedback.is-error {
  color: #ff9292;
}

.site-settings-save .site-settings-spinner {
  display: none;
}

.site-settings-save.is-loading .site-settings-save-label {
  display: none;
}

.site-settings-save.is-loading .site-settings-spinner {
  display: inline-grid;
}
.avatar_profil {
  width: auto;
  height: 112px;
  border-radius: 10px;
}

.profil-qredits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.profil-qredits img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.profil-qredits strong {
  line-height: 1;
}

.profil-temtem-panel {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.profil-temtem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.profil-temtem-stat {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
}

.profil-temtem-stat span,
.profil-temtem-stat small,
.profil-temtem-line span,
.profil-temtem-favori span,
.profil-temtem-favori small,
.profil-temtem-species small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.profil-temtem-stat strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.profil-temtem-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profil-temtem-line strong {
  color: #fff;
  white-space: nowrap;
}

.profil-temtem-favori,
.profil-temtem-species {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profil-temtem-favori {
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.profil-temtem-favori img,
.profil-temtem-species img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.profil-temtem-favori strong,
.profil-temtem-species strong {
  color: #fff;
}

.profil-temtem-top {
  margin-top: 14px;
}

.profil-temtem-top h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.profil-temtem-species {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(119, 211, 197, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.profil-temtem-grid--secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profil-temtem-collection-list {
  display: grid;
  min-height: 120px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  transition: opacity 0.18s ease;
}

.profil-temtem-collection-list.is-loading {
  pointer-events: none;
  opacity: 0.32;
}

#profilTemtemCollection {
  position: relative;
}

.profil-temtem-collection-loader {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(7, 11, 34, 0.16);
  pointer-events: none;
}

.profil-temtem-collection-loader[hidden] {
  display: none;
}

@media (max-width: 991.98px) {
  .profil-temtem-collection-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .profil-temtem-grid,
  .profil-temtem-collection-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profil-temtem-grid--secondary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479.98px) {
  .profil-temtem-grid,
  .profil-temtem-collection-list {
    grid-template-columns: 1fr;
  }
}

.profil-temtem-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.profil-temtem-pagination button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
}

.profil-temtem-pagination button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
}

.profil-temtem-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

.profil-temtem-pagination span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.avatar {
  border-radius: 4px;
  vertical-align: middle;
  height: auto;
  margin-right: 8px;
}

.min-height {
  height: 128px;
}



a.bloc_jeu_video {
  max-width: 280px;
  width: 100%;
  display: inline-block;
  position: relative;
  margin: 3px; 
  padding: 4px;
  text-decoration: none;
  text-align: left;
  transition: all 0.2s;
  font-size: 0.85em;
  vertical-align: top;
  overflow: hidden;
  border-radius: 20px;
}

a.bloc_jeu_video:hover {
  background-color: #495cd1;
}

a.bloc_jeu_video .background-jeu-video {
  background-repeat: no-repeat;
  background-position: 50% 0px;
  background-size: 100%;
  max-width: 280px;
  width: 100%;
  height: 151px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.info_video {
  width: 100%;
  opacity: 0;
  bottom: 0;
  position: absolute;
  font-size: 11px;
  color: white;
  background-color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  padding: 4px 8px;
  text-align: center;
  transition: all 0.2s;
}
a.bloc_jeu_video:hover .info_video {
	opacity: 1;
}

h3.video {
  display: inline-block;
  margin: 32px 0 15px 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: titre-center
}
h3.titre-center {
	color: white;
}

footer {
	/*margin-top: 40px;*/
	/*margin-bottom: 40px;*/
	color: rgba(255, 255, 255, 0.4);
}
.copyright {
	margin-top: 20px;
}
.pointer {
  cursor: pointer;
}




/*//////////////////////////////////////							Social\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
a.social {
  width: 36px;
  height: 36px;
  display: inline-block;
  text-decoration: none;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.2s;
  border-radius: 50%;
  margin: 2px;
  background-size: 88%;
}

.telecharger {
	background-image: url("/assets/img/social/telecharger.png");
  background-color: #303030;
}

.telecharger:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

.twitter {
	background-image: url("/assets/img/social/twitter.png");
  background-color: #00acee;
}

.twitter:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

.youtube {
	background-image: url("/assets/img/social/youtube.png");
  background-color: #cc171d;
}

.youtube:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

.playstore {
	background-image: url("/assets/img/social/playstore.png");
  background-color: #679e42;
}

.playstore:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

.facebook {
	background-image: url("/assets/img/social/facebook.png");
  background-color: #46629e;
}

.facebook:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

.twitch {
	background-image: url("/assets/img/social/twitch.png");
  background-color: #914ff9;
}

.twitch:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

.lien {
	background-image: url("/assets/img/social/lien.png");
  background-color: #506890;
}

.lien:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

.googleplus {
	background-image: url("/assets/img/social/googleplus.png");
  background-color: #e65634;
}

.googleplus:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

.wallstudio {
	background-image: url("/assets/img/social/wallstudio.png");
  background-color: #191919;
}

.wallstudio:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.05) inset;
}

.skype {
	background-image: url("/assets/img/social/skype.png");
  background-color: #27a9df;
}

.skype:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

.rss {
	background-image: url("/assets/img/social/rss.png");
  background-color: #f4b83e;
}

.rss:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

.discord {
	background-image: url("/assets/img/social/discord.png");
  background-color: #738ad7;
}

.discord:hover {
  box-shadow: 0px 0px 24px 8px rgba(255, 255, 255, 0.4) inset;
}

/* Pied de page : liens vers les réseaux sociaux */
.lien_sociaux {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 20px;
}

.lien_sociaux a.social {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #fff;
  background: var(--social-background, #24252b);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lien_sociaux a.social i {
  font-size: 21px;
  line-height: 1;
}

.lien_sociaux a.social:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  transform: translateY(-3px);
}

.lien_sociaux a.social:focus-visible {
  color: #fff;
  outline: 3px solid rgba(255, 255, 255, 0.82);
  outline-offset: 3px;
}

.social--twitch {
  --social-background: #9146ff;
}

.social--youtube {
  --social-background: #ff0033;
}

.social--instagram {
  --social-background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 52%, #fcb045 100%);
}

.social--tiktok {
  --social-background: #111;
}

.social--discord {
  --social-background: #5865f2;
}

.social--x,
.social--threads {
  --social-background: #111;
}

.social--bluesky {
  --social-background: #1185fe;
}

@media (prefers-reduced-motion: reduce) {
  .lien_sociaux a.social {
    transition: none;
  }

  .lien_sociaux a.social:hover {
    transform: none;
  }
}

#on-air {
  font-size: 12px;
  line-height: 12px;
  display: none;
}
.live {
  border-radius: 4px;
  background-color: white;
  display: inline-block;
  color: black;
  padding: 3px 6px 3px 6px;
  font-family: sans-serif;
  font-style: italic;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  top: -1px;
  font-size: 10px;
  line-height: 10px;
  position: relative;
}
#twitch-status {
  display: none;
}
.viewers {
  border-radius: 50px;
  background-color: #db0000;
  padding: 3px 8px;
  font-size: 12px;
}

.link .fa-circle {
  display: none;
  position: absolute;
  top: 16px;
  right: 12px;
  -webkit-animation-name: blinker;
  -webkit-animation-duration: 2s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;

  -moz-animation-name: blinker;
  -moz-animation-duration: 2s;
  -moz-animation-timing-function: linear;
  -moz-animation-iteration-count: infinite;

  animation-name: blinker;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;

  color: red;
}

.tab-videos .pastille-video-new {
  top: 14px;
  right: 13px;
}

@-moz-keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}





.openCloseMenuMembre {
  vertical-align: middle;
  /*margin: 15% auto;*/
  display: inline-block;
  position: absolute;
  top: 46%;
  right: 22px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
  transition: transform .2s ease;
}
.openCloseMenuMembre:before, .openCloseMenuMembre:after {
  border-radius: 3px;
  transition: transform .3s ease;
  width: 6px;
  height: 6px;
}
.openCloseMenuMembre:before {
  content: '';
  display: block;
  position: absolute;
  top: -0.5em;
  background: #fff;
}
.openCloseMenuMembre:after {
  content: '';
  display: block;
  position: absolute;
  top: 0.5em;
  background: #fff;
}
#menu-membre-header.close .openCloseMenuMembre {
  width: 45px;
  height: 45px;
  top: 54%;
  right: 12px;
  position: absolute;
  display: inline-block;
  width: 0;
  height: 0;
  background: transparent;
  transform: rotate(-180deg);
}
#menu-membre-header.close .openCloseMenuMembre:before, #menu-membre-header.close .openCloseMenuMembre:after {
  transition: transform .3s ease;
}
#menu-membre-header.close .openCloseMenuMembre:before {
  content: '';
  display: block;
  position: absolute;
  width: 1.5em;
  height: 0.25em;
  top: 0;
  background: #fff;
  transform: rotate(-45deg);
}
#menu-membre-header.close .openCloseMenuMembre:after {
  content: '';
  display: block;
  position: absolute;
  width: 1.5em;
  height: 0.25em;
  top: 0;
  background: #fff;
  transform: rotate(45deg);
}


.sidebar-membre {
  position: fixed;
  width: 340px;
  max-width: 100%;
  height: calc(100% - 60px);
  right: -340px;
  top: 60px;
  bottom: 0;
  z-index: 1010;
  transition: right 0.3s;
}
.has-sidebar-membre .sidebar-membre {
  right: 0;
}
.links {
  height: calc(100% - 228px);
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar-membre a.logout {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #361c98;
}
.sidebar-membre a .icon-menu-membre {
  display: inline-block;
  margin: 0 15px;
}
.sidebar-membre a.logout .icon-menu-membre {
  color: #F44336;
  font-size: 0.9em;
}
.sidebar-membre a {
  text-align: left;
  display: block;
  height: 60px;
  border-top: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid #583584;
  color: rgba(255, 255, 255, 0.6);
  line-height: 60px;
  text-decoration: none;
  transform: translateX(200px);
  transition: all 0.3s;
}
.sidebar-membre .links a:focus,
.sidebar-membre .links a:hover {
  background-color: #361c98;
  color: #fff;
}
.sidebar-membre-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  /*fill: #323a44;*/
  fill: #4b18be;
  z-index: -1;
}
.sidebar-avatar {
  position: relative;
  width: 102px;
  height: 102px;
  margin: 30px auto;
  border: 6px solid #4c23b9;
  border-radius: 90px;
  transition-duration: .3s;
  transform: translate3d(300px,0,0);
  box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1);
}
.sidebar-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 90px;
  opacity: .9;
}
.avatar-sidebar-membre {
  background-size: 110%;
  background-position: center;
  border-radius: 50%;
  transition: all 0.3s;
  cursor: pointer;
}
.avatar-sidebar-membre:hover {
  width: 70px;
  height: 70px;
}




table.planning {
  width: 100%;
  border-spacing: 1px;
  text-align: center;
  font-size: 0.7em;
  overflow: auto;
  display: block;
  margin: auto;
}
table.planning tr td {
  padding: 16px 12px;
  width: 1%;
}
table.planning tr th {
  padding: 16px 12px;
  width: 1%;
  font-weight: normal;
}
.cellule_bleue {
  background-color: #3498db;
}
.cellule_rouge {
  background-color: #e74c3c;
}
.cellule_orange {
  background-color: #f39c12;
}
.cellule_vert {
  background-color: #2ecc71;
}
.cellule_vertfonce {
  background-color: #27ae60;
}
.cellule_jaune {
  background-color: #f1c40f;
}
.cellule_gris {
  background-color: #95a5a6;
}
.cellule_mauve {
  background-color: #9b59b6;
}
.cellule_mauvefonce {
  background-color: #8e44ad;
}
.cellule_grisclair {
  background-color: rgba(255, 255, 255, 0.2);
}

#informations-emission {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 28px);
  height: 100%;
  background-color: #3c3c3c;
}
.page-emission {
  padding: 24px 32px;
  color: rgba(255, 255, 255, 0.8);
}
.emission {
  width: 304px;
  display: block;
  cursor: pointer;
  margin: auto auto 12px auto;
  background-color: #4d4d4d;
  box-shadow: 0px 0px 2px 0px #656565;
  text-align: center;
  transition: all 0.4s;
}
.emission:hover {
  background-color: #686868;
}
.emission .image {
  width: 304px;
  height: 110px;
  display: block;
  /*margin-top: 8px;*/
  /*border: 4px solid rgba(255, 255, 255, 0.2);*/
  /*border-radius: 50%;*/
  background-color: #c2c2c2;
}
.emission .image img {
}
.emission .infos {
  width: 100%;
  display: inline-block;
}
.emission .nom {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  padding: 12px 0 6px 0;
  font-weight: bold;
  color: white;
}
.emission .suivre {
  padding: 9px;
}
.btn-suivre-emission {
  color: #3f3f3f;
  background-color: grey;
  padding: 4px 14px;
  text-decoration: none;
}
.btn-suivre-emission.active {
  color: #fcfcfc;
  background-color: #1875b7;
  padding: 4px 14px;
  transition: all 0.2s;
}
.btn-suivre-emission.active:hover {
  color: #fcfcfc;
  background-color: #138ee2;
}

.espace_btn_player {
  display: flex;
  justify-content: center;
}
.btn-player {
  padding: 8px 4px 8px 4px;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
}
.btn-player img {
  width: 64px;
  filter: drop-shadow(0 0 0.75rem transparent);
  transition: all 0.2s;
}
.btn-player:hover img {
  filter: drop-shadow(0 0 0.75rem #ffcb33);
}
.btn-player p {
  padding: 8px 14px;
  margin: 0;
}
.btn-player p span {
  display: block;
  font-size: 0.7em;
}


.btn-normal {
  padding: 14px 24px 14px 24px;
  background-color: rgba(0, 0, 0, 0.4);
  margin: 10px;
  display: inline-block;
}




.ombre {
  color: white;
  text-shadow: 0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000,0 0 2px #000;
}





#div-chargement {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  z-index: 2001;
  top: 0;
  left: 0;
  /*transition: all 0.2s;*/
}

#div-chargement .content {
  position: absolute;
  width: 100%;
  height: 300px;
  top: 50%;
  margin-top: -150px;
  z-index: 1;
  text-align: center;
}
.quenca-loader,
.site-loading-emblem {
  --quenca-loader-size: 58px;
  --quenca-loader-radius: 18px;
  --quenca-loader-ring-offset: 5px;
  --quenca-loader-ring-width: 3px;
  --quenca-loader-font-size: 1.9rem;
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: var(--quenca-loader-size);
  height: var(--quenca-loader-size);
  place-items: center;
  border-radius: var(--quenca-loader-radius);
  background: linear-gradient(145deg, rgba(67, 94, 223, 0.92), rgba(83, 27, 207, 0.95));
  color: #fff;
  box-shadow: 0 12px 32px rgba(32, 19, 114, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.quenca-loader:before,
.site-loading-emblem:before {
  content: "";
  position: absolute;
  inset: calc(var(--quenca-loader-ring-offset) * -1);
  border: var(--quenca-loader-ring-width) solid rgba(255, 255, 255, 0.15);
  border-top-color: #ff9b45;
  border-right-color: #8aa2ff;
  border-radius: calc(var(--quenca-loader-radius) + var(--quenca-loader-ring-offset));
  animation: rotateLogo 0.9s linear infinite;
}

.quenca-loader > span,
.site-loading-emblem > span {
  font-size: var(--quenca-loader-font-size);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.quenca-loader--lg {
  --quenca-loader-size: 92px;
  --quenca-loader-radius: 28px;
  --quenca-loader-ring-offset: 7px;
  --quenca-loader-font-size: 3rem;
  box-shadow: 0 18px 48px rgba(32, 19, 114, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.quenca-loader--md {
  --quenca-loader-size: 52px;
  --quenca-loader-radius: 16px;
  --quenca-loader-font-size: 1.7rem;
}

.quenca-loader--sm {
  --quenca-loader-size: 32px;
  --quenca-loader-radius: 10px;
  --quenca-loader-ring-offset: 3px;
  --quenca-loader-ring-width: 2px;
  --quenca-loader-font-size: 1rem;
  box-shadow: 0 7px 18px rgba(32, 19, 114, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.quenca-loader--button {
  --quenca-loader-size: 20px;
  --quenca-loader-radius: 6px;
  --quenca-loader-ring-offset: 2px;
  --quenca-loader-ring-width: 2px;
  --quenca-loader-font-size: 0.66rem;
  box-shadow: 0 4px 10px rgba(32, 19, 114, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.quenca-loading-state {
  display: flex;
  min-height: 112px;
  padding: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: rgba(226, 232, 255, 0.72);
  text-align: center;
}

.quenca-loading-state--compact {
  min-height: 64px;
  padding: 14px;
}

@-moz-keyframes rotateLogo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes rotateLogo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateLogo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes tilt-n-move-shaking {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(5px, 0px) rotate(5deg); }
  50% { transform: translate(0, 0) rotate(0deg); }
  75% { transform: translate(-5px, 0px) rotate(-5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}




@keyframes bounceOut {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  25% {
    opacity: 1;
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  75% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    opacity: 1;
  }
}









.page-link.active, .active > .page-link {
  background-color: #363636ba;
  border-color: #2b2b2b;
}

.page-link {
  padding: 8px 16px;
  color: #fff;
  border: var(--bs-pagination-border-width) solid #2b2b2b;
}
.page-link:hover {
  color: #53b8ff;
  border-color: #53b8ff;
}
.page-link:focus{
  color: #53b8ff;
  outline: none;
}
.page-link.boite {
  padding: 8px 24px;
}
.page-link.disabled, .disabled > .page-link {
/*  color: ;*/
  padding: 8px 16px;
  background-color: #474747;
  border-color: #2b2b2b;
}


.alert-box {
  background-color: rgb(0 7 49 / 50%);
  border-radius: 32px;
  padding: 12px 20px;
  border: 1px solid rgb(0 8 56);
  margin-top: 6px;
  margin-bottom: 12px;
  position: relative;
  text-align: center;
}

.btn-app {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  font-weight: bold;
  transition: all 0.2s ease;

}
.btn-app:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05no-);
}

.notifications-menu {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 56px;
  height: 56px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qredit-menu {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 14px;
}
#icone-notifications {
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.badge-notifications {
  font-size: 0.75rem;
  padding: 2px 6px;
  vertical-align: middle;
  background-color: #dc3545;
  border-radius: 50rem;
}

.notifications-dropdown {
    display: none;
    width: 300px;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #0f1726;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    z-index: 1000;
    border: 1px solid #1c1e23;
}

.header-notifications {
    user-select: none;
    font-size: 16px;
    padding: 10px 15px 8px 15px;
    border-bottom: 1px solid #1c1e23;
    background-color: #0f1726;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.notif-tabs {
    background-color: #0f1726;
}

.notif-tab {
  color: #ccc;
  border: 0;
  border-radius: 50px;
  padding: 4px 2px 3px 2px;
  margin: 0;
}

.notif-tab.tab-active {
  color: #fff;
  font-weight: bold;
  background-color: #576cbb;
}

#contenu-notifications {
  padding: 8px;
  overflow-y: auto;
  max-height: 400px;
}
.liste-notifications::-webkit-scrollbar, #contenu-notifications::-webkit-scrollbar {
  width: 8px;
}

.liste-notifications::-webkit-scrollbar-track, #contenu-notifications::-webkit-scrollbar-track {
  background: #1e1e1e; /* couleur du fond de la barre */
  border-radius: 4px;
}

.liste-notifications::-webkit-scrollbar-thumb, #contenu-notifications::-webkit-scrollbar-thumb {
  background-color: #555; /* couleur du curseur */
  border-radius: 4px;
  border: 2px solid #1e1e1e; /* effet de padding */
}

.liste-notifications::-webkit-scrollbar-thumb:hover, #contenu-notifications::-webkit-scrollbar-thumb:hover {
  background-color: #888;
}

/* Firefox */
.liste-notifications, #contenu-notifications {
  scrollbar-width: thin;
  scrollbar-color: #555 #0f1726;
}

.liste-notifications {
    /*padding: 15px;*/
    padding: 6px 8px;
    background-color: #0f1726;
    border-radius: 10px;
    max-height: 560px;
    overflow-y: auto;
}

.notification-item {
    padding: 8px 10px;
    margin: 3px 0;
    border-radius: 5px;
    background-color: #242628;
    transition: background-color 0.2s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-align: left;
    cursor: pointer;
    opacity: 1;
    border-bottom:1px solid rgba(255,255,255,.06);
    transition: all 0.2s;
}
.notification-item:hover {
  opacity: 0.8;
}

.notification-item i {
    padding: 0 6px;
    color: #ccc;
    flex-shrink: 0;
}

.notification-item:hover {
    background-color: #3a3a3a;
}

.notification-item.non-lue {
    background-color: #343a40; /* un gris un peu plus clair */
    font-weight: bold;
}
.notification-item.notif-globale {
    background-color: rgba(0, 87, 201, 0.2);
}
.notification-item.non-lue.notif-globale {
    background-color: rgba(0, 87, 201, 0.2);
    border-left: 4px solid #0d6efd;
}
.notification-item.notif-importante {
    background-color: rgba(38, 208, 0, 0.12);
}
.notification-item.non-lue.notif-importante {
    background-color: rgba(38, 208, 0, 0.12);
    border-left: 4px solid #179d00;
}

.notification-item.notif-silencieuse, .notification-item.notif-activite {
    opacity: 0.9;
}

.notif-contenu {
    display: flex;
    align-items: center;
}

.notif-message {
    flex: 1;
    padding: 0 0 0 12px;
}

.notif-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.footer-notifications {
    padding: 10px 15px;
    background-color: #0f1726;
    border-top: 1px solid #1c1e23;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: center;
}

.footer-notifications a.btn,
.footer-notifications .btn-notif-all-read {
    font-size: 13px;
    padding: 6px 12px;
    color: #f8f9fa;
    border-color: #666;
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-notifications .btn-notif-all-read {
    display: block;
    width: 100%;
    margin-bottom: 6px;
}

.footer-notifications a.btn:hover,
.footer-notifications .btn-notif-all-read:hover {
    background-color: #2a2a2a;
    color: #ffffff;
    border-color: #888;
    text-decoration: none;
}








/** LES SUCCES **/
.succes-app { --bg:#0f1115; --panel:rgb(20 24 35 / 80%); --muted:#9aa3b2; --line:#23293a; --ok:#2ecc71;
  --txt:#e8eefc; --grad1:#5cbfed; --grad2:#ffb63b; --shadow:0 8px 30px rgba(0,0,0,.25);
  color:var(--txt); }
.succes-header { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:14px; justify-content: center; }
.succes-header h1 { margin:0; font-size:28px; }
.succes-category-tabs {
  display:flex;
  gap:8px;
  margin:4px 0 14px;
  padding:4px 2px 8px;
  overflow-x:auto;
  scrollbar-width:thin;
}
.succes-category-tabs [role="tab"] {
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  min-height:40px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel);
  color:#cbd6f3;
  cursor:pointer;
  transition:border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.succes-category-tabs [role="tab"]:hover { border-color:#5cbfed; transform:translateY(-1px); }
.succes-category-tabs [role="tab"]:focus-visible { outline:2px solid #ffb63b; outline-offset:2px; }
.succes-category-tabs [role="tab"].active {
  border-color:#5cbfed;
  background:linear-gradient(135deg,rgba(92,191,237,.22),rgba(255,182,59,.16));
  color:#fff;
}
.succes-tab-label { font-weight:700; white-space:nowrap; }
.succes-tab-count {
  min-width:34px;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
.succes-category-tabs [role="tab"].active .succes-tab-count { color:#fff; background:rgba(255,255,255,.16); }
.succes-subcategory-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:-6px 0 14px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(20,24,35,.48);
}
.succes-subcategory-tabs[hidden] { display:none; }
.succes-subcategory-tabs [role="tab"] {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:34px;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--panel);
  color:#cbd6f3;
  cursor:pointer;
}
.succes-subcategory-tabs [role="tab"]:hover { border-color:#ffb63b; }
.succes-subcategory-tabs [role="tab"]:focus-visible { outline:2px solid #5cbfed; outline-offset:2px; }
.succes-subcategory-tabs [role="tab"].active {
  border-color:#ffb63b;
  background:rgba(255,182,59,.16);
  color:#fff;
}
.succes-subcategory-tabs [role="tab"].active .succes-tab-count { color:#fff; background:rgba(255,255,255,.16); }
.succes-season-filter {
  display:flex;
  align-items:center;
  gap:10px;
  margin:-4px 0 14px;
  color:var(--muted);
  font-size:14px;
}
.succes-season-filter[hidden] { display:none; }
.succes-season-filter label { font-weight:700; }
.succes-season-filter select {
  min-width:190px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--panel);
  color:var(--txt);
}
.toolbar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.search input { background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:10px 12px; min-width:260px; color:var(--txt); }
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filters select { background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:10px 12px; color:var(--txt); }
.check-inline { display:flex; align-items:center; gap:6px; font-size:14px; color:var(--muted); }

.succes-app .text-bg-dark {
  background-color: rgb(255 255 255 / 20%) !important;
}

.stats { display:flex; gap:8px; margin:10px 0 16px; flex-wrap:wrap; }
.pill { background:var(--panel); border:1px solid var(--line); border-radius:999px; padding:6px 10px; font-size:13px; color:#cbd6f3; }

.succes-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:14px; }
.succes-card { background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:14px; box-shadow:var(--shadow); position:relative; overflow:hidden; }
.succes-card.obtenu { border-color:rgba(46,204,113,.5); box-shadow:inset 0 0 0 2px rgba(46,204,113,.25); }
.card-top { display:flex; gap:12px; align-items:flex-start; }
.icon { width:56px; height:56px; border-radius:12px; background:#1b2030; object-fit:contain; border:1px solid var(--line); }
.info { flex:1; min-width:0; }
.title-row { display:flex; align-items:center; gap:8px; }
.title { font-size:16px; margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.badge.rarete { font-size:12px; border:1px solid var(--line); padding:2px 8px; border-radius:999px; text-transform:capitalize; color:#cbd6f3; }
.badge.rarete.commun { color:#dbe4ff; }
.badge.rarete.rare { color:#5cbfed; }
.badge.rarete.epique, .badge.rarete.épique { color:#efca4b; }
.badge.rarete.legendaire, .badge.rarete.légendaire { color:#d040a5; }
.meta { font-size:12px; color: var(--muted); display:flex; gap:6px; flex-wrap:wrap; margin-top:4px; }
.meta .cat { color: #ffe4bd; }
.desc { color:#c9d3ec; font-size:14px; line-height:1.4; margin:10px 0 12px; }

.progress { background:#1a2030; border:1px solid var(--line); height:10px; border-radius:999px; overflow:hidden; }
.progress .bar { height:100%; width:0%; background:linear-gradient(90deg,var(--grad1),var(--grad2)); transition:width .6s ease; }
.progress-text { text-align:right; font-size:12px; color:var(--muted); }

.badge { line-height: normal; }

.details summary { cursor:pointer; font-size:13px; color:#cbd6f3; user-select: none; }
.details .progress-bar { background-color:#e7a83d; }
.criteria { list-style:none; padding:8px 0 0; margin:0; display:grid; gap:8px; user-select: none; }
.criteria li { font-size:13px; background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 20%); border-radius:10px; padding:8px; }
.criteria .crit-head { display:flex; justify-content:space-between; gap:8px; }
.criteria .crit-bar { margin-top:6px; height:6px; background:#111624; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.criteria .crit-bar > i { display:block; height:100%; width:0%; background:linear-gradient(90deg,var(--grad1),var(--grad2)); transition:width .6s ease; }
.criteria .list-group-item { border-radius: 10px; }

.rewards { margin-top:10px; display:flex; flex-wrap:wrap; gap:6px; }
.reward-chip { font-size:12px; background:#0f1422; border:1px solid var(--line); border-radius:999px; padding:4px 8px; }
.reward-chip[data-type="qredits"]::before { content:"💰 "; }
.reward-chip[data-type="oeuf"]::before { content:"🥚 "; }
.reward-chip[data-type="objet"]::before { content:"🎁 "; }
.reward-chip[data-type="badge"]::before { content:"🏅 "; }
.reward-chip[data-type="titre"]::before { content:"🎖️ "; }

.empty, .error { text-align:center; color:var(--muted); border:1px dashed var(--line); border-radius:14px; padding:30px; margin-top:12px; }
.obt-label { color: #F0840E; font-weight:600; }
.succes-card.obtained {
  border: 2px solid #F0840E;  /* vert pour succès obtenu */
  background-color: rgb(149 107 36 / 80%);
  opacity: 0.9;
}
.succes-card.obtained .title {
  /*color: #F0840E;*/
}

@media (max-width: 700px) {
  .succes-header, .succes-header .toolbar { align-items:stretch; }
  .succes-header .toolbar, .succes-header .search, .succes-header .search input { width:100%; }
  .succes-header .filters > * { flex:1 1 150px; }
}
