/* --
#================================#
#   TorrentTrader 3.8.3 Cinema   #
#     CrazySpirits Ultimate      #
#--------------------------------#
#   Spiritblue x GPT Final Cut   #
#================================# 
-- */

footer, header {
	display: block;
}
html, body {
    height: 100%;
}
/* -- Theme Resets by spiritblue --*/
html, body {
	text-decoration: none;
	min-height: 100%;
	width: 100%;
	font-size: 12px;
	/* Couleur des barres de defilement */
	scrollbar-color: #605b57 Cornsilk;	
}

/* Strike */
.bb-s {
    text-decoration-line: line-through;
    text-decoration-style: wavy;
	text-decoration-color: var(--theme-color);
    text-decoration-thickness: 0.12rem;
}

/* Rdio color */
.ratio-text {
    font-weight: bold;
    text-shadow: 0 0 6px rgba(255,255,255,0.25);
}

/* Barre d'espacement */
hr {
	text-decoration: none;
	content:'SB';
	border: 0;
	height: 2px;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(180, 178, 175, 0.75), rgba(0, 0, 0, 0));
}
/* Barre d'espacement en image */
hr.barre{
	height: 25px; /* Ajustez la hauteur */	
    background-image: url("images/hrG.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 95%;
	margin-left: auto;
    margin-right: auto;
	text-decoration: none;
	content:'SB';
	border: 0;
}
	
p {
	text-decoration: none;
	margin: 0px;
	padding: 0px;
}
ul, ol {
	text-decoration: none;
	list-style-position: inside;
	list-style-type: none;
}
li {
	text-decoration: none;
	font-size: 100%;   
    display: list-item;
	padding-left: 3px;
}
img {
    text-decoration: none;
    max-width: 100%;
    height: auto;
}
align-center { 
	text-decoration: none;	
    margin: 0 auto;
}
center { 
	text-decoration: none;	
    margin: 0 auto;
}
left { 
	text-decoration: none;	
    margin: 0 auto;
}
right { 
	text-decoration: none;	
    margin: 0 auto;
}
/* Show/Hide Multiple Rows or Divs */

/* Font des icone sur bloc donnation */
i.fa,
.fa {
    font-family: FontAwesome !important;
    font-style: normal !important;
}

/* Balise blockcode pour la precentation dans mod ballon par spiritblue */
blockcode {    
    background: transparent;	
	padding: 3px;
	color: AliceBlue;
    #font-family: Papyrus;
    font-size: 1em;
	vertical-align: -0.41em;
    border-left: .0em solid #CCC;
    margin: 0em .3em;
    padding: .1em 5em;
    line-height: 1.4em;	
}

/* Balise <blockquote> sur fontions by spiritblue  */
blockquote {
    background: #f5f5f5;
    font-size: 1em;
    border-left: .0em solid #CCC;
    margin: 0em .1em;
    padding: .1em 1em;
    line-height: 0.1em;
    quotes: "\201C""\201D";
}
blockquote:before {
    color: #808080;
    content: open-quote;
    font-size: 4em;
    line-height: 0;
    vertical-align: -.41em;
    padding: 0 .0em 0 .0em;
}
blockquote:after {
    color: #808080;
    content: close-quote;
    font-size: 4em;
    line-height: 0.2em;
    margin-right: 0.10em;
    vertical-align: -0.41em;
    padding: 0 0 0 .1em;
}
blockquote:first-child {
    padding-top: 1.1em;
}
blockquote:last-child {
}
/* Fin */
 
 /* 🔎 Loupe dans la barre de recherche */
#simplesearch input[type="text"]{
    background-image: url("/images/wolf.png");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 18px 18px;
    padding-right: 26px;
}

/* Effet hover */
.wolf-input:hover {
    filter: drop-shadow(0 0 4px var(--theme-shadow));
}

/* Cache bouton */
#simplesearch input[type="submit"] {
    display: none;
}

#simplesearch input[type="text"] {
    cursor: text;
}

 /* Curseur pointer seulement à droite */
#simplesearch input[type="text"]:hover {
    cursor: text;
}
/* -------------------------------------------
   TABLES
--------------------------------------------
table {
    border-collapse: collapse;
    width: 100%;
}
td {
    padding: 4px;
    vertical-align: top;
    color: var(--theme-light);
}
 */
/* =============================================
   SHAMAN ULTIMATE STYLE — Aura + Brume animée
   ============================================= */
/* CONTENEUR (obligatoire pour retenir la brume) */
.input-wrap {
    position: relative;
    overflow: hidden;       /* empêche la brume de déborder */
    border-radius: 6px;
	mask-image: radial-gradient(circle, #000 80%, transparent 100%);	
}

/* BRUME ANIMÉE (toujours présente, très douce) */
.input-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("images/login/brume.png") center/cover no-repeat;
    opacity: 0.15;          /* légère pour ne pas gêner le texte */
    filter: blur(4px);
    animation: fogmove-shaman 18s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.input-wrap::after {
    inset: 0;                /* au lieu de -2px */
    opacity: 0.18;           /* un peu plus doux */
}
/* =============================================
   INPUT NORMAL
   ============================================= */
 /* PARTICULE QUI SUIT LA SOURIS */
.ghost-mouse {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(180, 220, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(120,180,255,1);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity .3s ease-out;
}
  
/* CONTENEUR AVEC PARTICULES */
.input-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
} 
/* PARTICULES FANTÔMES — 3 couches, profondeur chamanique */
.ghost-particle {
    top: 10px !important;
    bottom: auto !important;
    animation: particleFloat 6s infinite ease-in-out alternate;
}
.input-wrap .ghost-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(180, 220, 255, 0.95); /* Lumière bleu spirit */
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(120,180,255,0.9);
    animation: particleFloat 6s infinite ease-in-out;
    z-index: 3;
    pointer-events: none;
    opacity: 0.8;
}
@keyframes particleFloat {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.7; }
    25%  { transform: translateY(-10px) translateX(4px) scale(1.2); opacity: 1; }
    50%  { transform: translateY(-18px) translateX(-4px) scale(0.9); opacity: 0.6; }
    75%  { transform: translateY(-10px) translateX(2px) scale(1.1); opacity: 0.9; }
    100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.7; }
}

 input:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    box-shadow:
    0 0 0 1000px rgba(40,120,60,0.20) inset,
    0 0 12px rgba(80,255,120,0.45),
    0 0 22px rgba(200,255,200,0.25);
}

input:-moz-autofill {
    -moz-text-fill-color: #fff;
    box-shadow:
    0 0 0 1000px rgba(40,120,60,0.20) inset,
    0 0 12px rgba(80,255,120,0.45),
    0 0 22px rgba(200,255,200,0.25);
}  
.input-wrap input[type="text"],
.input-wrap input[type="password"] {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 8px 10px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    color: #fff;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

/* =============================================
   AURA — input vide
   ============================================= */
.input-wrap input:placeholder-shown {
    box-shadow: 0 0 6px rgba(200,200,200,0.18);
}
@keyframes fogmove-shaman {
    0%   { transform: translateX(-10%) translateY(0); }
    50%  { transform: translateX(10%) translateY(2%); }
    100% { transform: translateX(-10%) translateY(0); }
}
 
/* Lien sur balise <a> by spiritblue */
a{ 
	text-decoration: none;
}
img { 
    border-bottom: none;
    text-decoration: none;
    max-width: 100%;
    height: auto;
}
.img-center {
    display: block;
    margin: 0 auto;
}

.comment img {
    display: inline-block;
    margin: 0;
	#vertical-align: middle;

}
/* Couleur normale du lien */
/* 1. Lien non visité (Link) - État par défaut */
a:link {	
    color: #F0F8FF;
    text-decoration: none;	
}
/* 2. Lien visité (Visited) */
a:visited {
    color: #C3C7C3;
    text-decoration: none;	
}
/* 3. Lien au focus (Focus) - Pour l'accessibilité au clavier */
a:focus {	
	color: #A8ACA8;
    text-decoration: none;	
}
/* 4. Lien survolé (Hover) - Lorsque la souris passe dessus */
a:hover {
    border-bottom: 0px solid; 
	color: #BDBAB7;
	text-decoration: none;
	/*text-shadow : 0 0 10px #b2b2b2, 0 0 20px #b2b2b2, 0 0 30px #b2b2b2, 0 0 30px #b2b2b2;*/	
}
/* 5. Lien actif (Active) - Pendant le clic de souris */
a:active {
    color: #f82009;
	text-decoration: none;
}

/* Synbole HTML - Ouvrir/Fermer blocs par spiritblue */
a.showHide {
	text-decoration: none;
    transform: translate(-20%, -20%);			
    float: right;
	text-shadow: 0 0 10px #AAA, 0 0 20px #F0F8FF, 0 0 30px #FFF, 0 0 40px #b2b2b2;
	font-size: 20px;
	font-weight: bolder;
	line-height: 20px;
	margin-top: 18px;
	margin-right: 26px;
	color: #F0F8FF;
}
a.showHide:hover {
    color: #BBBBBB;
	text-decoration: none;
}
/* Fin */

/* Menu Mailbox */
#mpbox {
	border-radius:8px;
	box-shadow:0 0 10px #F0F8FF;
    padding-top:10px;
	padding: 10px;
    background: rgb(169, 166, 153, 0.8);
    -webkit-box-shadow: 0 5px 8px 0 rgba(115, 112, 108, 0.8);
    -moz-box-shadow: 0 5px 8px 0 rgba(115, 112, 108, 0.8);
	-o-box-shadow: 0 5px 8px 0 rgba(115, 112, 108, 0.8);
	box-shadow: 0 5px 8px 0 rgba(115, 112, 108, 0.8);
	color: #474645;
	font-size: 18px;
}

/* Menu Mailbox background */
#mpboxbg {
   background: rgb(82, 81, 80, 0.9);
}

/* Background buttons */
div.menu5 {
	width:80%;
	margin:0 auto; /*Uncomment this line to make the menu center-align.*/
	text-align:center;	
	color: #CCCCCC;
    text-align: center;	
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 2px;
	padding-left: 5px;
	margin: 7px;
	font-size: 14px;
	text-shadow: 0px 0px 5px rgba(95, 95, 95, 0.5);
    background-color: rgba(80, 80, 80, 1.0);
    box-shadow: 1px 1px 8px 1px #BBBBBB;
    -moz-border-bottom-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-top-colors: #E54500 #222222 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-left-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;	
	border: 4px double Cornsilk;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-radius-topleft: 5px;
    -webkit-border-radius-topright: 5px;
    border-radius: 5px !important;   
    box-shadow: 1px 1px 20px 1px black;	
}

/*Buttons*/
div.menu5 a {
	display: inline-block;
	margin: 0 auto; /*Uncomment this line to make the menu center-align.*/
	text-align: center;	
	color: #CCCCCC;
    text-align: center;	
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 2px;
	padding-left: 5px;
	margin: 7px;
	font-size: 14px;
	text-shadow: 0px 0px 5px rgba(95, 95, 95, 0.5);
	background-color: rgb(80, 80, 80);
    background-color: rgba(80, 80, 80, 1.0);
    box-shadow: 1px 1px 8px 1px #BBBBBB;
    -moz-border-bottom-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-top-colors: #E54500 #222222 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-left-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;	
	border: 4px double Cornsilk;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-radius-topleft: 5px;
    -webkit-border-radius-topright: 5px;
    border-radius: 5px !important;   
    box-shadow: 1px 1px 20px 1px black;	
}
/*Buttons Mouseover*/
div.menu5 a:hover, div.menu5 a.current {
	background: rgb(82, 81, 80, 0.8);
}
#mailbox {  /*Ici , c'est ma configuration, à vous de la changer */
	padding: 0; margin: 0;
	text-align: center; /* centrer le texte */
}
#mailbox li {
	display: inline;
	list-style: none; /* nécessaire pour IE7 */
}
#mailbox a {
	display:inline-block;
	margin: 0 20px;
}

/* Mailbox menu top on mailbox */
.hvr-bounce-in {	
   text-align: left;
   display: block;
   background-image: url(images/block-bg.png);
   background-repeat: repeat;
   margin-left: auto;
   margin-right: auto;  
   padding: 2px 4px 2px 4px;
   border-radius: 4px;   
   -moz-border-radius: 4px; 
   -webkit-border-radius: 4px; 
   border: 1px solid Yellow; 
   font: normal 9px Arial, Helvetica, sans-serif;
}

/* Reply Mailbox */
.old_mailbox {
   background-image: url(images/block-bg.png);
   background-repeat: repeat;
   margin-left: auto;
   margin-right: auto;
    width: 94%; 
   border-radius: 4px;   
   -moz-border-radius: 4px; 
   -webkit-border-radius: 4px; 
   box-shadow: 1px 1px 22px 1px #DDD;  
}

.collapsible {
    background-color: inherit;
    cursor: pointer;
    padding: 18px;
    width: 99%;
    border: none;
    font-size: 15px;
	text-decoration: none;
	font-size: 14px;
	color: white;
	clear: both;
    text-align: justify;
	text-justify: initial;
    text-align-last:initial;
    text-transform: uppercase;
    word-spacing: 3px;
	text-indent:initial;	
}

.active, .collapsible:hover {
    background-color: inherit; 
}

.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: inherit;
}

#gauche {
    float: left;
    color: blue;
}
#droite {
    float: right;
    color: red;
} 
/* End */

/* Police intégral (Font) */
@font-face {
    font-family: 'Wendyville, WESTERN';
    src: url('../fonts/Wendyville-webfont.eot?v=4.0.3');
    src: url('../fonts/Wendyville-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'), url('../fonts/Wendyville-webfont.woff?v=4.0.3') format('woff'), url('../fonts/Wendyville-webfont.ttf?v=4.0.3') format('truetype'), url('../fonts/Wendyville-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* Fin */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-clip: content-box;
}

body {
    text-decoration: none;
    background-attachment: fixed;
    background-color: #FFF;
    background-repeat: no-repeat;
    background-position: center top;
    text-align: center;
    font-family: Papyrus;
    font-size: 13px;
    color: #DCDCDC;
}

#fog-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
    box-sizing: border-box;
    transform: translateZ(0);
}

.fog {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(85,126,237,0.08), rgba(255,165,0,0) 70%);
    opacity: 0.12;
    filter: blur(55px);
}

/* Animations ultra-lentes */
@keyframes float-slow {
    0% { transform: translateX(0) translateY(0) scale(1); }
    50% { transform: translateX(100px) translateY(50px) scale(1.05); }
    100% { transform: translateX(-100px) translateY(100px) scale(1); }
}

@keyframes float-medium {
    0% { transform: translateX(0) translateY(0) scale(1); }
    50% { transform: translateX(180px) translateY(90px) scale(1.08); }
    100% { transform: translateX(-180px) translateY(180px) scale(1); }
}

@keyframes float-fast {
    0% { transform: translateX(0) translateY(0) scale(1); }
    50% { transform: translateX(250px) translateY(125px) scale(1.1); }
    100% { transform: translateX(-250px) translateY(250px) scale(1); }
}


h1 {
	text-decoration: none;
	font-size: 11pt;
	color: #09C;
}
h2 {
	text-decoration: none;
	font-size: 10pt;
	color: #444;
}
h3 {
	text-decoration: none;
	font-size: 9pt;
	color: #444;
}
h4 {
	text-decoration: none;
	font-size: 8pt;
}
h5 {
	text-decoration: none;
	font-size: 7pt;
}
h6 {
	text-decoration: none;
	font-size: 6pt;
}
table {
	text-decoration: none;	
	border-collapse: collapse;
	border-spacing: 1px;
}
#logo, alt {
	text-decoration: none;
	quotes: none;
}

.blue {
	background-image: url(images/ico_blue.gif);
}
.green {
	background-image: url(images/ico_green.gif);
}
.orange {
	background-image: url(images/ico_orange.gif);
}
.red {
	background-image: url(images/ico_red.gif);
}
.profile {
	background-image: url(images/ico_profile.gif);	
}
.account {
	background-image: url(images/ico_account.gif);
}
.logout {
	background-image: url(images/ico_logout.gif);
}
.admincp {
	background-image: url(images/ico_admincp.gif);
}
.mail_n {
	background-image: url(images/ico_mail-new.gif);
}
.mail {
	background-image: url(images/ico_mail.gif);
}
.myTable {
	display: table;
	width: 100%;
}
.myTrow {
	display: table-row;
	width: 100%;
}

/* Selection d'interrupteur de changement de couleur(s) sur header */
/* MINI MENU HEADER — SAFE */
#switchs {
	line-height: 30px;
	display: block;
	clear: right;
	float: right;
	height: 30px;
	position: absolute;
	top: 0px;
	right: 77px;
}

#switchs ul {
	float: left;
	margin: 0;
	padding: 0;
}

#switchs ul li {
	float: left;
	padding-left: 3px;
}

#switchs ul li a {
	display: block;
	float: left;
	height: 22px;
	width: 20px;
	background-repeat: no-repeat;
	background-position: center center;
	opacity: 0.90;
}

#switchs:hover ul li a {
	background-position: center center;
}

#switchs ul li a:hover {
	background-position: 0px -40px;
	opacity: 1;
}

/* Seulement les 4 couleurs en petit rond */
#switchs ul li a.blue,
#switchs ul li a.green,
#switchs ul li a.orange,
#switchs ul li a.red {
	border-radius: 50%;
	background-color: rgba(0,0,0,0.18);
	box-shadow: inset 0 0 3px rgba(255,255,255,0.18);
}
#switchs ul li a.blue,
#switchs ul li a.green,
#switchs ul li a.orange,
#switchs ul li a.red {
    transform: scale(0.92);
}

/* Alignement final header */
#switchs {
    top: 10px !important;
}

#simplesearch {
    display: inline-block;
    vertical-align: middle;
    margin-left: 7px;
    position: relative;
    top: -5px;
}

#simplesearch input[type="text"] {
    height: 24px;
    padding-top: -1px;
    padding-bottom: 2px;
}

/* mini menu plus tight */
#switchs ul li {
    padding-left: 2px;
}

#switchs ul li {
	float: left;
	padding-left: 6px;
}

#switchs ul li a {
	display: block;
	float: left;
	width: 26px;
	height: 26px;
	box-sizing: border-box;

	background-repeat: no-repeat;
	background-position: center 0;

	#opacity: 0.95;

	border: 1px solid rgba(0,0,0,0.85);
	border-radius: 50%;

	background-color: rgba(255,255,255,0.08);

	box-shadow:
		inset 0 0 2px rgba(255,255,255,0.18),
		0 0 2px rgba(0,0,0,0.65);

	transition:
		opacity 0.18s ease,
		filter 0.18s ease,
		transform 0.18s ease;
}

#switchs:hover ul li a {
	background-position: center 0;
}

#switchs ul li a:hover {
	background-position: center -40px;
	opacity: 1;
	transform: translateY(-1px);
	filter: drop-shadow(0 0 4px var(--theme-shadow));
}

#switchs ul li a:hover {
	background-position: center -40px;
	opacity: 1;
	filter: drop-shadow(0 0 4px var(--theme-shadow));
}
/* Fin */

/* Référence du class de bbcode et en lien avec le changement de couleur */
.f-logo, .f-location, .f-title th, .p-title th, .p-foot td, .f-cat td, div.f-cat, .f-img, .alt1, .alt3, .alt2, .comment-details, #downloadbox, .ttable_head, .ttable_col1, .ttable_col2, .ttable_colx, .table_head, .table_col1, .table_col2, #colortexte, .legend, .download, legend, fieldset, button{
}
/*****/

/* BBCODE SCOOL */
.bb-scroll {
	padding-top: 10px;
	margin:auto;
    filter: drop-shadow(0 0 4px var(--theme-shadow));
	box-shadow: 1px 1px 8px 1px #BBBBBB;
    -moz-border-bottom-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-top-colors: #E54500 #222222 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-left-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
}

/* Commentaires CrazySpirits */
.comment {
    text-align: left !important;
    line-height: 1.5;
}

.comment img {
    display: inline-block !important;
    margin: 0 2px !important;
    vertical-align: middle;
}

/* Supprime les <br> ajoutés après chaque smiley */
.comment img + br {
    display: none !important;
}

/* Forums */
table.f-border .f-border table {
	border: 2px solid #EEE;
	border-collapse: collapse;
}
.f-border table tr {
	padding: 3px 0px 3px 0px;
	border-bottom-width: 0px;
	border-bottom-style: solid;
	border-bottom-color: #EEE;
}

.f-forums {
	border: none;
	padding: 0px 3px 0px 3px;
}
.f-header {
	text-align: center;
	width: auto;
	height: 138px;
	margin: 10px;
	padding: 30px 0px 30px 0px;
	display: block;
}
.f-latestpost {
	background-color: #c1c1c1;
}
.f-logo {
	background-image: url(images/f-logo.gif);
	background-repeat: no-repeat;
	background-position: center 15px;
}
.f-logo td {
	height: 36px;
	padding: 6px;
}
.f-logo td img {
	vertical-align: middle;
}
.f-logo td a {
	font-weight: bold;
	color: #AAA;
	text-shadow: 0px 1px 2px #111;
	text-decoration: none;
}
.f-logo td a:hover {
	color: #FFF;
	text-shadow: 0px 5px 1px #111;
}
.f-location {
	display: block;
	height: auto;
	width: 95%;
	font-size: 15px;
	font-weight: bold;
	border: 1px solid;
	line-height: 28px;
	text-align: left;
	text-indent: 10px;
	margin-bottom: 8px;
	color: #111;	
	background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 49%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.29) 99%, rgba(0, 0, 0, 0.3) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0.3)), color-stop(49%, rgba(255, 255, 255, 0.1)), color-stop(50%, rgba(0, 0, 0, 0)), color-stop(99%, rgba(0, 0, 0, 0.29)), color-stop(100%, rgba(0, 0, 0, 0.3)));
	background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 49%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.29) 99%, rgba(0, 0, 0, 0.3) 100%);
	background: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 49%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.29) 99%, rgba(0, 0, 0, 0.3) 100%);
	background: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 49%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.29) 99%, rgba(0, 0, 0, 0.3) 100%);
	background: linear-gradient(to top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 49%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.29) 99%, rgba(0, 0, 0, 0.3) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4dffffff', endColorstr='#4d000000', GradientType=0 );	
}
.f-location a {
	text-shadow: none;
	color: #FFF;
	font-size: 13px;
}
.f-title th, .p-title th, tr.f-title {
	color: #FFF;
	text-align: center;
	border: 1px solid;	
    background: rgba(0,0,0,0.95);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 14px var(--theme-shadow);

    border: 2px solid var(--theme-color);
    padding: 6px;
}
tr.f-title {
	color: #111;
	text-align: center;
	border: 0px solid;
	padding: 6px;
}
.f-title a, .p-title a {
	text-shadow: none;
	font-weight: bold;
	color: #FFF;
}
.p-foot td {
	padding-top: 3px;
	padding-right: 7px;
	padding-bottom: 3px;
	padding-left: 7px;
	border: 0px solid;
}
.f-reply {
	color: #111;
	padding: 3px;
	font-weight: normal;
	border: 0px solid #777;
}
.f-cat {
	border: 0px solid;
}
.f-cat td, div.f-cat {
	padding: 22px;
	margin: 0px;
	height: 26px;
	#font-family: Palatino, Linotype;
	font-variant: small-caps;
	font-weight: bold;
	font-size: 1.2em;
	color: #EEE;
	line-height: 26px;
	text-align: center;
}
.f-nav {
	display: block;
	height: 28px;
	#font-family: Wendyville, WESTERN;
	font-size: 14px;
	font-weight: bold;
	line-height: 28px;
	text-align: left;
	text-indent: 10px;
	color: #F0F8FF;
}
.f-nav a {
	text-shadow: none;
	color: #A8ACA8;
	font-size: 12px;
	#font-family: Wendyville, WESTERN;
}
.f-row {
	background-color: transparent;
}
.f-row:hover {
	background-image: url(images/alt1.png);
	background-repeat: no-repeat;
}
.f-row .f-img {
	background-image: url(images/alt1.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	height: 38px;
	padding-left: 12px;
}
.f-row:hover .f-img {
	background-image: url(images/alt2.png);
}
.f-control {
    color: AliceBlue;
}

/* signature sur forum */
.f-sig {
}
.alt1 {
	background-color: transparent;
	padding-left: 5px;
}
.alt2 {
	border: 0px solid #111;
	border-collapse: collapse;
	background-position: top;
	background-color: #666;
}
.alt3 {
	border: 0px solid #EEE;
}

.comment-details, .bb-btn {
	padding: 4px;
	#background-image: url(images/alt1.png);
	background-repeat: no-repeat;
}
.comment, .bb-btn {
	vertical-align: top;
	padding: 3px;
	background-image: url(images/alt2.png);
	background-repeat: no-repeat;
}

tr.f-row {
	background-color: #555;
}
tr.f-row:hover {
	background-color: #777;
}

small {
	font-size: 0.9em;
	text-align: left;
}
tr.p-title {
    background-color: #EEE;
	background-image: url(images/p-title.gif);
	background-repeat: repeat-x;
	background-position: top;
}
tr.p-title th {
	text-align: right;
	color: #FFF;
	padding: 3px;
	height: 26px;
	text-shadow: 0px 1px 1px #AAA;
	font-size: 12px;
}
tr.p-title small {
	font-size: 11px;
}
.p-foot {
	color: #111;
	font-weight: normal;
}
.p-foot td {
	padding: 3px;
}
.p-foot img {
	vertical-align: middle;
}

/* Frame du commentaire sur torrent */
.f-post {
	width: 90%;
	display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 6px;
    /* Bordure thème */
    border: 2px solid var(--theme-color);
    /* Brume couleur thème */
    box-shadow:
    0 0 12px var(--theme-shadow),
    0 0 30px var(--fog-color),
    inset 0 0 25px rgba(255,255,255,0.05);	
}
.cs-comment-block {
	background: rgba(0,0,0,0.55);
}

.f-title a, .p-title a {
	text-shadow: 0px 1px 1px #000;
	color: #FFF;
	text-decoration: none;
}
.b-border {
	padding: 1px;
}
.b-border table {
}
tr.b-title {
}
/* Fin */

.header {
	display: block;
	margin: 0px;
	padding: 10px;
	height: 80px;
	width: 94%;
	position: relative;
}
#logo {
	height: 165px;
	display: block;
	margin: 0px;
	padding: 0px;
	background-repeat: no-repeat;
	background-position: left center;
	text-align: left;
	position: relative;
	left: 40px;
	top: 6px;	
}
#infobar {
	text-shadow: 0px 0px 20px rgba(250,250,250,0.45);
	font-size: 21px;
	color: black;
	display: block;
	position: absolute;
	top: 50px;
	right: 0;
	transform: translateX(-26%) translateY(7%);
	line-height: 20px;
	white-space: nowrap;
	letter-spacing: 0.5px;
	opacity: 0.96;
	z-index: 10;
}
#wrapper {
    width: 100%;
    display: block;
    position: relative; /* Fix du décalage */
    margin-top: 12px;   /* valeur exacte selon ton screen */
}
#lWidth {
	width: 90% !IMPORTANT; 
	margin-right: auto;
	margin-left: 4.7%;
	display: block;
	position: relative;
}
#main {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
}

/* Fix du glissement vers le haut du thème SHAMAN */
#wrapper {
    margin-top: 25px !important;
}

#main {
    margin-top: 40px !important;
}

/* LONRGEUR DES TROIS COLONNES  */
#main > table {
	#border: 2px solid red;
    width: 92% !important;
    margin: 0 auto;
}

/* CONTENT FOOTER */
.creditstop {
	position: relative;
	display: block;
    top: -10px;
}
.credits {
	display: block;
	text-align: center;
	font-size: 15px;	
	width: 620px;
    height: 8px;
	margin: 5px;
	line-height: 1.7;
	padding: 20px;
}

.credits img {
	vertical-align: middle -30px;
	margin: -3px auto;
}

/* -- Form Styles -- */
.selectdiv {
    position: relative;
    float: left;
    min-width: 100px;
    margin: 27px 13%;
}
 
/* OPTIONS INTERNES */
select option,
.bbcode-select option {
    background: rgba(40,40,40,0.9);
    color: #E6F7FF;
}

/* =======================================================
   SELECT – VERSION STABLE CRAZYSPIRITS
   BBCODE + SHOUTBOX + FORMULAIRES
   ======================================================= */
/* Wrapper obligatoire pour la flèche */
.bbcode-select-wrapper {
    position: relative;
    display: inline-block;
}

/* SELECT */
.bbcode-select,
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 6px 36px 6px 12px;
    background: rgba(20,20,20,0.85);
    border: 1px solid var(--select-arrow);
    border-radius: 6px;
    color: #e6f7ff;
    font-size: 13px;
    cursor: pointer;
}

/* Supprime flèche IE */
.bbcode-select::-ms-expand,
select::-ms-expand {
    display: none;
}

/* Hover */
.bbcode-select:hover,
select:hover {
    background-color: rgba(30,30,30,0.95);
    color: #FFF;
}

/* Focus */
.bbcode-select:focus,
select:focus {
    outline: none;
    background-color: rgba(32,32,32,0.98);
    border-color: var(--theme-color);
}

/* Options */
.bbcode-select option,
select option {
    background: #111;
    color: #E6F7FF;
    font-weight: bold;
}

/* Hover option */
select option:hover,
select option:checked {
    background: rgba(80,80,80,0.95);
    color: #FFFFFF;
}

/* ============================================
   CRAZYSPIRITS SELECT — GLOBAL PRO STYLE
   ============================================ */
/* Wrapper automatique */
.cs-select-wrap {
    position: relative;
    display: inline-block;
    width: auto;
}

/* Tous les select */
.cs-select-wrap select,
.bbcode-select,
select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding: 6px 38px 6px 12px;
    background: rgba(20,20,20,0.88);
    border: 1px solid var(--theme-color);
    border-radius: 7px;
    color: #E6F7FF;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Hover */
.cs-select-wrap select:hover,
.bbcode-select:hover,
select:hover {
    background: rgba(30,30,30,0.95);
    box-shadow: 0 0 6px rgba(0,200,255,0.4);
}

/* Focus */
.cs-select-wrap select:focus,
.bbcode-select:focus,
select:focus {
    outline: none;

    border-color: #00c8ff;

    box-shadow:
        0 0 6px rgba(0,200,255,0.6),
        inset 0 0 4px rgba(255,255,255,0.05);
}

/* Options */
select option {
    background: #111;
    color: #E6F7FF;
}

/* Supprime flèche IE */
select::-ms-expand {
    display: none;
}

/* Flèche CrazySpirits */
.cs-select-wrap::after {
    content: "⮛";
    position: absolute;
    right: 10px;
    top: 70%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: bold;
    color: var(--theme-color);
    text-shadow: 0 0 6px rgba(0,200,255,0.6);
    pointer-events: none;
    transition: all 0.25s ease;
}

/* Focus = flèche animée */
.cs-select-wrap:focus-within::after {
    content: "⮙";
    color: #39FF14;
    text-shadow: 0 0 10px rgba(0,255,140,0.9);
    transform: translateY(-50%) rotate(180deg);
}


/* Dans le sélecteur de sélection, la couleur et l’arrière-plan sont les seules propriétés qui fonctionnent.*/
::selection{
    background:color-mix(in srgb, var(--theme-color) 35%, transparent);
    color:#fff;
    text-shadow:none;
}

::-moz-selection{
    background:color-mix(in srgb, var(--theme-color) 35%, transparent);
    color:#fff;
    text-shadow:none;
}
/* Fin */

/* Placeholder element in balsie <input.. par spiritblue */
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: Beige; /* Coulor */
  font-family:"Comic Sans MS", palatino, serif; /* Font */
  font-size: 16px; /* Size */
  text-shadow: Black 0px 0px 5px; /* Text Background Color */
}
::-moz-placeholder { /* Firefox 19+ */
  color: Beige;
  font-family:"Comic Sans MS", palatino, serif;
  font-size: 16px;
  text-shadow: Black 0px 0px 5px;
}
:-ms-input-placeholder { /* IE 10+ */
  color: Silver;
  font-family:"Comic Sans MS", palatino, serif;
  font-size: 16px;
  text-shadow: Black 0px 0px 5px;
}
:-moz-placeholder { /* Firefox 18- */
  color: Silver; 
  font-family:"Comic Sans MS", palatino, serif;
  font-size: 16px;
  text-shadow: Black 0px 0px 5px;
}
/* Fin */	

/* ==========================================
   FIX BBCode — supprime couleur bleue
   ========================================== */
.bbcode_button, a
.bbcode_button a * {
    color: #E8E8E8 !important;              /* texte gris/blanc */
    text-shadow: 0 0 3px #000 !important;
}

.bbcode_button:hover a {
    color: #FFFFFF !important;
}

/* ===========================================================
   FIX SELECT + INPUT (bleu, déplacement icône, contour hover)
   =========================================================== */
/* Conteneur de l'input */
.input-wrap {
    position: relative;
    display: inline-block;
    width: 100%;                    /* NE DÉBORDE PLUS */
    background: transparent !important;
    overflow: hidden;               /* empêche la brume de sortir */
    border-radius: 6px;             /* optionnel */
}

/* Brume */
.input-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("images/login/brume.png") center/cover no-repeat;
    opacity: 0.17;
    filter: blur(4px);
    animation: fogmove-shaman 16s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* INPUT au-dessus de la brume */
.input-wrap input[type="text"],
.input-wrap input[type="password"] {
    position: relative;
    z-index: 1;
    width: 80%;        /* évite les débordements */
    background: transparent !important;
}

/* Input */
.input-wrap input[type=text],
.input-wrap input[type=password] {
    position: relative;
    z-index: 1;
    width: 80%;
    padding: 6px 10px;
    background: rgba(20,20,20,0.82) !important;
    color: #E6F7FF !important;
    border: 1px solid #888 !important;
    border-radius: 6px;
    box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 8px rgba(0,0,0,0.9) !important;
    text-shadow: 0 0 3px rgba(0,0,0,0.7);
}

/* Désactive contour bleu Firefox/Chrome */
select:focus-visible,
input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Fix police bleue */
select,
select option {
    color: #E6F7FF !important;
}

/* Garde le contour gris au hover */
select:hover,
input:hover {
    border-color: #AAA !important;
    box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 0 8px rgba(255,255,255,0.25) !important;
}

/* Empêche le contour de disparaître quand la souris entre */
input,
select {
    border: 1px solid #888 !important;
}

/* =======================================================
   INPUT TEXTE / PASSWORD / ETC.
   ======================================================= */
input[type="text"],
input[type="username"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[name="message"],
input[name="username"],
input[name="password"] {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 6px 10px;
    margin: 4px 0;
    background: rgba(20, 20, 20, 0.82);
    border: 1px solid #888888;
    border-radius: 6px;
    color: #E6F7FF;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
    box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 8px rgba(0, 0, 0, 0.9);
    transition: 0.25s ease-in-out;
    background-clip: padding-box;
    z-index: 0;
}

input[type="text"]:hover,
input[type="username"]:hover,
input[type="password"]:hover,
input[type="email"]:hover,
input[type="url"]:hover,
input[type="number"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[name="message"]:hover
input[name="username"]:hover,
input[name="password"]:hover {
    background: rgba(30, 30, 30, 0.9);
    border-color: #AAAAAA;
    box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 10px rgba(255, 255, 255, 0.18);
}

input[type="text"]:focus,
input[type="username"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[name="message"]:focus,
input[name="username"]:focus,
input[name="password"]:focus{
    outline: none;
    background: rgba(35, 35, 35, 0.95);
    border-color: #CCCCCC;
    box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 12px rgba(255, 255, 255, 0.24);
    color: #FFFFFF;
}

/* Brume animée sur inputs texte */
input[type="text"]::before,
input[type="username"]::before,
input[type="password"]::before,
input[type="email"]::before,
input[type="url"]::before,
input[type="number"]::before,
input[type="search"]::before,
input[type="tel"]::before,
input[name="message"]::before,
input[name="username"]::before,
input[name="password"]::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: url("images/login/brume.png");
    background-size: cover;
    opacity: 0.18;
    animation: fogmove-shaman 16s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* =======================================================
   TEXTAREA (description, prez…)
   ======================================================= */
textarea {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 140px;
    overflow-y: auto; /* Barres de scroll si contenu dépasse */ 
    padding: 8px 10px;
    margin: 4px 0;
    background: rgba(22, 22, 22, 0.85);
    border: 1px solid #888888;
    border-radius: 6px;
    color: #E6F7FF;
    resize: vertical;
    box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 8px rgba(0, 0, 0, 0.9);
    transition: 0.25s ease-in-out;
    background-clip: padding-box;
    z-index: 0;
}

textarea:hover {
    background: rgba(30, 30, 30, 0.92);
    border-color: #AAAAAA;
    box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 10px rgba(255, 255, 255, 0.2);
}

textarea:focus {
    outline: none;
    background: rgba(36, 36, 36, 0.98);
    border-color: #CCCCCC;
    box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 12px rgba(255, 255, 255, 0.26);
    color: #FFFFFF;
}

/* Brume animée sur textarea */
textarea::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: url("images/login/brume.png");
    background-size: cover;
    opacity: 0.20;
    animation: fogmove-shaman 18s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* ================================
   FOCUS (sélecteur actif) — flèche ▲ verte intense
   ================================ */
select:focus::after {
    content: "▲";   /* flèche vers le haut */
    color: #39FF14; /* vert néon CrazySpirits */
    text-shadow: 0 0 8px rgba(0,255,140,0.9);
    opacity: 1;
}

/* État focus : flèche verte vers le haut */
select:focus {
    background-image:
    linear-gradient(225deg, transparent 50%, #39FF14 50%),
    linear-gradient(315deg, #39FF14 50%, transparent 50%);
    background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

/* Options */
option {
    background-color: #202020;
    color: #EAEAEA;
    text-transform: none;
}

optgroup {
    background-color: #262626;
    color: #F0F0F0;
    font-style: normal;
}

/* =======================================================
   BOUTONS (submit / reset / button / file)
   ======================================================= */
button,
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="text"],
input[type="file"] {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 5px 14px;
    margin: 4px 2px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #999999;
    border-radius: 6px;
    color: #E6F7FF;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
    box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 8px rgba(0, 0, 0, 0.9);
    transition: 0.25s ease-in-out;
    z-index: 0;
}

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
input[type="text"]:hover,
input[type="file"]:hover {
    background: rgba(36, 36, 36, 0.98);
    border-color: #CCCCCC;
    box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 12px rgba(255, 255, 255, 0.26);
    color: #FFFFFF;
}

button:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled,
input[type="button"]:disabled {
    opacity: 0.55;
    cursor: default;
    box-shadow: none;
}

/* Brume animée sur boutons */
button::before,
input[type="submit"]::before,
input[type="reset"]::before,
input[type="button"]::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: url("images/login/brume.png");
    background-size: cover;
    opacity: 0.16;
    animation: fogmove-shaman 14s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* =======================================================
   CHECKBOX & RADIO
   ======================================================= */
input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    margin: 2px 6px 2px 0;
    padding: 0;
    background: rgba(22, 22, 22, 0.9);
    border: 1px solid #999999;
    border-radius: 4px;
    box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 6px rgba(0, 0, 0, 0.9);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: 0.2s ease-in-out;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
    border-color: #CCCCCC;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 10px rgba(255, 255, 255, 0.24);
}

/* Check visuel */
input[type="checkbox"]:checked::after {
    content: "\21AF";
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%); /* centre parfait */
    font-size: 22px;
    color: var(--theme-color);
    pointer-events: none;
}

input[type="radio"]:checked::after {
    content: "\272D";
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%); /* centre parfait */
    font-size: 22px;
    color: var(--theme-color);
    pointer-events: none;
}

/* =======================================================
   BBCODE DANS LA SHOUTBOX (Color / Font / Size)
   ======================================================= */
.shoutbox select,
.shoutbox select[name="username"],
.shoutbox select[name="password"],
.shoutbox select[name="font"],
.shoutbox select[name="color"],
.shoutbox select[name="size"] {
    position: relative;
    overflow: hidden;
    width: auto;
    min-width: 90px;
    padding: 4px 24px 4px 8px;
    margin: 0 4px;
    background: rgba(20,20,20,0.80) !important;
    border: 1px solid #888 !important;
    border-radius: 6px !important;
    color: #E6F7FF !important;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
    box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 8px rgba(0,0,0,0.9) !important;
    transition: 0.25s ease-in-out;
    background-clip: padding-box;
    z-index: 0;
}

.shoutbox select:hover {
    background: rgba(30,30,30,0.9) !important;
    border-color: #AAA !important;
    box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 0 10px rgba(255,255,255,0.2) !important;
    color: #FFFFFF !important;
}

.shoutbox select:focus {
    outline: none;
    background: rgba(34,34,34,0.95) !important;
    border-color: #CCC !important;
    box-shadow:
    0 0 0 1px rgba(255,255,255,0.07) inset,
    0 0 12px rgba(255,255,255,0.24) !important;
}

/* BBcode Quote / MP 
.main {
	background: Black;
	border-radius: 7px;
	box-shadow: 1px 1px 20px 1px Black;
}
*/

/* BBcode quote / code shoutbox */
.shoutbox-message blockquote {
	background: #111;
    color: #9f9;
    background: rgba(0,0,0,0.35);
    border-left: 4px solid var(--theme-color);
    padding: 6px 10px;
    margin: 6px 0;
    font-style: italic;
}
.shoutbox-message pre,
.shoutbox-message code {
    background: #111;
    color: #9f9;
    padding: 6px;
    display: block;
    overflow-x: auto;
    font-family: monospace;
    border-radius: 4px;
}

/* Balise prez <option select */
optgroup {
    background-color: rgba(85, 85, 85, 0.5);
	border-bottom: #3D3D3D solid 1px;
	text-align: center;	
	font-style:normal;
    font-weight:normal;
	font-size: 12px;
	color: #F0F8FF;
}
optgroup:before {
	#font-family: Papyrus;
    content: attr(label);
    display: block;
}

/* Pour La Prévisualisation De La Prezz */	
#previsualisation{
	position: relative;
    margin: 10px;
	display: block;
    width: 99%;
    min-height: 60%;
	background: rgb(105, 105, 105);
	background: -moz-linear-gradient(top, rgba(105, 105, 105) 0%, rgba(64, 64, 64) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(105, 105, 105)), color-stop(50%,rgba(64, 64, 64)));
	background: -webkit-linear-gradient(top, rgba(105, 105, 105) 0%,rgba(64, 64, 64) 50%);
	background: -o-linear-gradient(top, rgba(105, 105, 105) 0%,rgba(64, 64, 64) 50%);
	background: -ms-linear-gradient(top, rgba(105, 105, 105) 0%,rgba(64, 64, 64) 50%);
	-moz-box-shadow: 0px 3px 6px #000, 0px -2px 5px #111;
	-webkit-box-shadow: 0px 6px 6px #000, 0px -2px 5px #111;
	box-shadow: 0px 3px 6px #000, 0px -2px 5px #111;
	-moz-border-radius: 10px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-radius: 8px;
	}
/* Fin De Parti CSS BBcode */

/* Cacher Bouton non actif sur Seedbonus */
    input[type="button"]:disabled,
    input[type="submit"]:disabled,
    input[type="reset"]:disabled,
    button.btn-disable {
    cursor: default;
    pointer-events: none;
}

/* Pour Les Tableaux */ 
table{
	color: #DCDCDC;
	font-weight: bold;
}

/* image de fond */
.stylebout {
    display:inline-block;
	background: rgba(0,0,0,0.95);
    cursor: pointer;
    color: #fff;
    text-align: center;	
    padding: 4px 5px;
    margin: 0;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.stylebout:hover  {
    background: rgba(0,0,0,0.95);
    color: #fff;
	border: 1px solid #bbb;
    box-shadow: 0 0 10px var(--theme-shadow);
}


/* Monte Page - TOP */
.progress-wrap {
	position: fixed;
	left: 16px;
	bottom: 14px;
	height: 70px;
	width: 70px;
	cursor: pointer;
	color: var(--white);
	display: block;
	border-radius: 50px;
	box-shadow: inset 0 0 0 9px rgba(232, 106, 81, 0.5);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap.active-progress {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.progress-wrap::after {
	position: absolute;
	#font-family: 'unicons';
	content: '\e84b';
	text-align: center;
	line-height: 46px;
	font-size: 24px;
	color: var(--red);
	left: 0;
	top: 0;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	z-index: 1;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap:hover::after {
	opacity: 0;
}
.progress-wrap::before {
	position: absolute;
	#font-family: 'unicons';
	content: '\e84b';
	text-align: center;
	line-height: 46px;
	font-size: 24px;
	opacity: 0;
	background-image: linear-gradient(298deg, var(--white), var(--theme-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	left: 0;
	top: 0;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	z-index: 2;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap:hover::before {
	opacity: 1;
}
.progress-wrap svg path { 
	fill: none; 
}
.progress-wrap svg.progress-circle path {
	stroke: var(--white);
	stroke-width: 4;
	box-sizing: border-box;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.switch,
.circle {
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear; 
} 
.switch {
	width: 80px;
	height: 4px;
	border-radius: 27px;
	background-image: linear-gradient(298deg, var(--white), var(--theme-color));
	position: fixed;
	right: 50px;
	top: 75px;
	display: block;
	margin: 0 auto;
	text-align: center;
	opacity: 1;
    z-index: 33333;
    transition: all 300ms linear;
}
.circle {
	cursor: pointer;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -5px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
    background: var(--black-blue-light-3);
	box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(232, 106, 81, 0.07);
	animation: border-transform 10s linear infinite alternate forwards;
}
.circle:hover {
	box-shadow: 0 8px 8px rgba(26,53,71,0.25), 0 0 0 1px rgba(232, 106, 81, 0.07);
}
.circle:before {
	position: absolute;
	#font-family: 'unicons';
	content: '\eac1';
	top: 0;
	left: 0;
	z-index: 2;
	font-size: 20px;
	line-height: 40px;
	text-align: center;
	width: 100%;
	height: 40px;
	opacity: 1;
	color: var(--white);
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear; 
}
.circle:after {
	position: absolute;
	#font-family: 'unicons';
	content: '\eb8f';
	top: 0;
	left: 0;
	z-index: 2;
	font-size: 20px;
	line-height: 40px;
	text-align: center;
	width: 100%;
	height: 40px;
	color: var(--theme-color);
	opacity: 0;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear; 
}
.switched {
}
.switched .circle {
	left: 45px;
	box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(232, 106, 81,0.07);
	background: var(--black-blue);
}
.switched .circle:hover {
	box-shadow: 0 8px 8px rgba(26,53,71,0.25), 0 0 0 1px rgba(232, 106, 81,0.07);
}
.switched .circle:before {
	opacity: 0;
}
.switched .circle:after {
	opacity: 1;
}
/* End */

/* Menu dans bloc navigation */
#maincats {
	display: block;
	margin: 0;
	padding: 1px;
	color: red;
}
#maincats:hover li{
	margin: 0;
	padding: 1px;
    color: red;	
}

.bMenu {
	display: block;
	margin: 0;
	padding: 6px;
	width: 98%;
}
.bMenu ul {
	display: block;
	margin: 0;
	padding: 6px;
	list-style-position: inside;
	list-style-type: circle;
}
.bMenu ul li {
	width: auto;
	color: #FFF;
	text-decoration: none;
}
#navigate ul {
	text-decoration: none;
	list-style-type: none;
	padding: 2px;
	width: 98%;
	height: 100%;
	border-bottom-width: 0px;
	border-bottom-style: groove;
	border-bottom-color: #111;
	margin-top: 4px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: -7px;
}
#navigate ul li {
	text-decoration: none;
	margin: 0;
	padding: 2px;
	width: 98%;
	border-collapse: collapse;
	border-top-width: 0px;
	border-right-width: 0px;
	border-left-width: 0px;
	border-top-style: groove;
	border-right-style: groove;
	border-left-style: groove;
	border-top-color: #111;
	border-right-color: #111;
	border-left-color: #111;
}
#navigate ul li a {
	text-decoration: none;
	text-align: center;
	text-indent: 8px;
	display: block;
	margin: 0;
	padding: 0;
	height: 18px;
	width: 98%;
	line-height: 16px;
	color: #b2b2b2;
}
#navigate ul li a:hover {
	text-decoration: none;
	text-shadow : 0 0 10px #AAA, 0 0 20px #FFF, 0 0 30px #777, 0 0 40px #777;
	color: #FFF;
	text-indent: 8px;
}
#nMember, #uOnline {
	text-decoration: none;
	margin: 0px;
	width: 98%;
	padding: 2px;
}
#nMember p, #uOnline p {
	text-decoration: none;
	display: inline;
}
#nMember ul, #nMember li, #uOnline ul, #uOnline li {
	text-decoration: none;
	display: inline;
	margin: 0;
	padding: 0;
	color: #111;
}
/* Fin */

/* Bloc de centre (Frame) */
/*
.clrft{
	padding-right: -20px;
}
*/
.lCol {
	display: block;
	clear: left;
	float: left;
	width: 180px;
	margin: 0;
	padding-right: 8px;
}
.mCol {
	display: block;
	margin-left: 180px;
}
.mColb {
	display: block;
	margin-left: 180px;
}
.myTcell {
	padding-bottom: 0;
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
}
.myBlock-Wrapper {
	background-color: rgba(197, 204, 207, 0.3);
}
.myBlock {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	border: 0px solid #4C4C4C;	
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-radius-topleft: 8px;
	-webkit-border-radius-topright: 8px;
}
.myBlock-frame {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	line-height: 1.6; 
	border: 0px solid #4C4C4C;	
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-radius-topleft: 8px;
	-webkit-border-radius-topright: 8px;	
}
.mColb .myTcell {
	width: 33%;
	display: table-cell;
	padding-right: 8px;
}
.rCol .myTcell {
	width: 20%;
	display: table-cell;
	padding-right: 8px;
}
.mColb .myTcell:last-child, .rCol .myTcell:last-child {
	padding-right: 8px;
}
.mColb .myTcell .myContent {
	height: 143px;
}
.rCol .myTcell .myContent {
	height: 130px;
}
.myCaption {
	display: block;	
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-radius-topleft: 8px;
	-webkit-border-radius-topright: 8px;
	line-height: 1.6; 
	text-align: left;
	text-indent: 7px;	
	font-weight: bold;
	font-size: 15px;
	color: AliceBlue;
	letter-spacing: 0.08em;
	word-spacing: 0.08em;
    margin-left: auto;
    margin-right: auto;	
}
.myContent {	
	display: block;
	text-align: left;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #4C4C4C;
	padding-right: 3px;
	padding-bottom: 1px;
	padding-left: 3px;	
}
.myError-Wrapper {
	background-color: rgba(197, 204, 207, 0.3);
}
.myError {
	display: block;
	margin: 0px;
	padding: 0px;
	*width: 60%;
	text-align: center;
	vertical-align: middle;
	#font-family: Papyrus;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.6; 
	color: #FF0000;
	text-shadow: 0px 0px 5px rgba(0,0,0,6);
	border: 1px solid #111;	
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-radius-topleft: 8px;
	-webkit-border-radius-topright: 8px;
	background-color: rgb(85, 85, 85);
    background-color: rgba(85, 85, 85, 0.7);
	box-shadow: 1px 1px 20px 1px Cornsilk;
}

/* Block */
.F-Caption-block {
    display: block;
    position: relative;
    width: 80% !important;
    left: 58%;
    transform: translateX(-58%); /* 💥 centre parfait */
    margin: 20px 0; /* enlève auto */
    line-height: 50px;
    background: url('images/login/top-planche-block.png') no-repeat;
    background-size: 100% 100%;
    background-position: center;
    text-align: center;
    letter-spacing: 0.08em;
    word-spacing: 0.08em;
    font-weight: bold;
    color: AliceBlue;
}

/* VERSION VOID CORE + BORDER CLASSIQUE */
.F-Content-block{
position:relative;
display:block;
width:190px!important;
margin-left:15px;
margin-right:15px;
padding:10px;
line-height:1.6;
text-align:left;
font-size:13px;
color:#F5F7FA;
border-radius:12px;
overflow:hidden;
border:
1px solid rgba(255,255,255,0.07);
background:
linear-gradient(
145deg,
rgba(18,18,18,0.97) 0%,
rgba(5,5,5,0.99) 50%,
rgba(14,14,14,0.97) 100%
);
box-shadow:
0 0 0 1px rgba(255,255,255,0.02) inset,
0 5px 12px rgba(0,0,0,0.95),
0 15px 35px rgba(0,0,0,0.90);
transition:all .4s ease;
isolation:isolate;
}

.F-Content-block>*{
position:relative;
z-index:10;
}

/* REFLET */
.F-Content-block::after{
content:"";
position:absolute;
inset:0;
z-index:2;
background:
linear-gradient(
180deg,
rgba(255,255,255,0.03),
rgba(255,255,255,0.005)
);
pointer-events:none;
}

/* TON ANIMATION */
.F-Content-block::before{
content:"";
position:absolute;
top:-140%;
left:-140%;
width:380%;
height:380%;
z-index:0;
background:
conic-gradient(
from 0deg,
transparent 0deg,
rgba(255,255,255,0.03) 35deg,
rgba(255,255,255,0.16) 90deg,
rgba(180,180,180,0.08) 130deg,
rgba(255,255,255,0.03) 170deg,
transparent 220deg,
transparent 360deg
);
filter:
blur(14px)
contrast(130%);
opacity:.9;
mix-blend-mode:screen;
animation:voidCore 18s cubic-bezier(.5,.1,.2,1) infinite;
pointer-events:none;
}

/* HOVER */
.F-Content-block:hover{
transform:
translateY(-3px)
scale(1.015);
border:
1px solid rgba(255,255,255,0.10);
box-shadow:
0 0 0 1px rgba(255,255,255,0.03) inset,
0 0 15px rgba(255,255,255,0.03),
0 18px 40px rgba(0,0,0,0.98);
}

/* ANIMATION */
@keyframes voidCore{
0%{
transform:
rotate(0deg)
scale(1)
skew(0deg);
}
25%{
transform:
rotate(90deg)
scale(1.18)
skew(2deg);
}
50%{
transform:
rotate(180deg)
scale(1.35)
skew(-2deg);
}
75%{
transform:
rotate(270deg)
scale(1.18)
skew(1deg);
}
100%{
transform:
rotate(360deg)
scale(1)
skew(0deg);
}
}

/* Frame */
.F-Caption {
    display: block;
	padding: 0;
	width: 100%;
	line-height: 100px;
	background: url('images/login/top-planche-frame.png')no-repeat;
	background-size: 100% 100%, cover !important;
	font-size: 20px;
	font-weight: bold;
	color: AliceBlue;
}

.F-Content-cell{
    padding: 0;
    text-align: center;
    vertical-align: top;
}
/* FRAME CENTRALE PREMIUM */

.F-Content{
position:relative;

display:block;

padding:8px;

text-align:justify;

color:#EEE;

overflow:hidden;

border-radius:10px;

/* FOND */
background:
linear-gradient(
145deg,
rgba(16,16,16,0.92) 0%,
rgba(6,6,6,0.97) 50%,
rgba(14,14,14,0.92) 100%
);

/* DOUBLE FRAME */
border:
1px solid rgba(255,255,255,0.08);

outline:
1px solid rgba(255,255,255,0.04);

outline-offset:-5px;

/* PROFONDEUR */
box-shadow:
0 0 0 1px rgba(255,255,255,0.02) inset,
0 0 18px rgba(0,0,0,0.95),
0 20px 40px rgba(0,0,0,0.90),
0 0 12px rgba(255,255,255,0.03);

backdrop-filter:blur(4px);

transition:all .4s ease;

isolation:isolate;
}


/* CONTENU DEVANT */
.F-Content>*{
position:relative;
z-index:5;
}


/* REFLET SOMBRE */
.F-Content::after{
content:"";
position:absolute;
inset:0;

z-index:2;

background:
linear-gradient(
180deg,
rgba(255,255,255,0.025),
rgba(255,255,255,0.003)
);

pointer-events:none;
}


/* ANIMATION VOID */
.F-Content::before{
content:"";
position:absolute;

top:-140%;
left:-140%;

width:380%;
height:380%;

z-index:0;

opacity:.92;

background:
conic-gradient(
from 0deg,
transparent 0deg,
rgba(255,255,255,0.03) 35deg,
rgba(255,255,255,0.16) 90deg,
rgba(180,180,180,0.08) 130deg,
rgba(255,255,255,0.03) 170deg,
transparent 220deg,
transparent 360deg
);

filter:
blur(14px)
contrast(130%);

mix-blend-mode:screen;

animation:voidFrame 20s cubic-bezier(.5,.1,.2,1) infinite;

pointer-events:none;
}


/* HOVER */
.F-Content:hover{

border:
1px solid rgba(255,255,255,0.12);

box-shadow:
0 0 0 1px rgba(255,255,255,0.03) inset,
0 0 18px rgba(255,255,255,0.03),
0 25px 55px rgba(0,0,0,1);
}


/* ANIMATION */
@keyframes voidFrame{

0%{
transform:
rotate(0deg)
scale(1)
skew(0deg);
}

25%{
transform:
rotate(90deg)
scale(1.12)
skew(1deg);
}

50%{
transform:
rotate(180deg)
scale(1.28)
skew(-1deg);
}

75%{
transform:
rotate(270deg)
scale(1.12)
skew(.5deg);
}

100%{
transform:
rotate(360deg)
scale(1)
skew(0deg);
}
}


/* Frame Partie Panel Admin pour l'encadrement des options par spiritblue */
.Cadre-Entete {
	display: block;
	overflow: hidden;
	text-align: center;
	padding: 0;
	width: 100%;
	height: auto;
	margin-left: 0;
	background-color: rgb(85, 85, 85);
    background-color: rgba(85, 85, 85, 0.7);	
    box-shadow: 1px 1px 8px 1px #F0F8FF;
    -moz-border-bottom-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-top-colors: #E54500 #222222 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-left-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;	
	padding: 6px;
	border: 4px double Cornsilk;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-radius-topleft: 5px;
    -webkit-border-radius-topright: 5px;
    border-radius: 5px !important;   
    box-shadow: 1px 1px 20px 1px black;
}	
	
.Cadre-Contenu{
	width: 100%;
	text-align: center;
	height: auto;
	margin-left: auto;
    margin-right: auto;
	margin-top: 4px;
	margin-left: 0;
	margin-bottom: -10px;
    line-height: 130px !important;	
	background: url('images/login/top-planche-frame.png')no-repeat;
	background-size: 100% 100%, cover !important;
	font-size: 20px;
	font-weight: bold;
	color: #F0F8FF;
	text-shadow: 0px 0px 5px rgba(0,0,0,6);
	}

/* Mod Requete */
bground { 
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 49%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.29) 99%, rgba(0, 0, 0, 0.3) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0.3)), color-stop(49%, rgba(255, 255, 255, 0.1)), color-stop(50%, rgba(0, 0, 0, 0)), color-stop(99%, rgba(0, 0, 0, 0.29)), color-stop(100%, rgba(0, 0, 0, 0.3)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 49%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.29) 99%, rgba(0, 0, 0, 0.3) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 49%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.29) 99%, rgba(0, 0, 0, 0.3) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 49%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.29) 99%, rgba(0, 0, 0, 0.3) 100%);
    background: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 49%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.29) 99%, rgba(0, 0, 0, 0.3) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4dffffff', endColorstr='#4d000000', GradientType=0 );
    -moz-box-shadow: 0 0 0 1px rgba(68,68,68,1) inset;
    -webkit-box-shadow: 0 0 0 1px rgba(68,68,68,1) inset;
    box-shadow: 0 0 0 1px rgba(68,68,68,1) inset;
    padding: 3px;
    font-size: 12px;
    padding-right: 5px;
	padding-bottom: 5px;
    padding-left: 5px;
	padding-top: 5px;
	border-radius: 5px;
	box-shadow: 1px 1px 20px 1px Cornsilk;
}
     
linkbackground {
    /*color: #000;*/
    text-decoration: none;
    #background-color: #CCC;
    padding: 0 3px 0 3px;
    border-radius: 3px;
    border: 0px solid #777;
}
     
ratiobackground {
    /*color: #000;*/
    text-decoration: none;
    #background-color: white;
    padding: 0 3px 0 3px;
    border-radius: 3px;
}

/* Styles de table */
.ttable_headouter {
	border-collapse: collapse;
	border: 2px solid #777;
}
.ttable_headinner {
	border-collapse: collapse;
	text-align: center;
	left: 175px;
	float: left;
}
table tr td.ttable_head,
table tr th.ttable_head {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.ttable_col1 {
	border: 0px solid #777;
}
.ttable_col2 {
	border:0px solid #777;
}
.ttable_colx {
	border: 0px solid #777;
	font-size: 10pt;	
}


/* Autres styles de table */
.table_head {
	color: #fff;
	text-shadow: 0 0 5px rgba(0,0,0,6);
	border: none;
	font-size: 11pt;
	text-align: center;
	line-height: 20px;
	padding-left: 5px;
	padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;	
}
.table_col1 {
	font-size: 12pt;
	color: #DCDCDC;	
	background-color: rgb(206, 205, 195);
    background-color: rgba(206, 205, 195, 0.7);	
	-moz-box-shadow: inset 0 0 0 2px #888;
	-webkit-box-shadow: inset 0 0 0 2px #888;
	text-shadow: 0 0 5px #444, 0 0 5px #555, 0 0 5px #666, 0 0 5px #777;
	z-index: 10;
	padding-left: 5px;
	padding-right: 5px;
	vertical-align: middle
}
.table_col2 {
	color: #DCDCDC;
	font-size: 12pt;
	text-overflow: ellipsis;
	text-shadow: 0 0 5px #444, 0 0 5px #555, 0 0 5px #666, 0 0 5px #777;
	background-color: rgb(85, 85, 85);
    background-color: rgba(85, 85, 85, 0.8);
	-moz-box-shadow: inset 0 0 0 2px #888;
	-webkit-box-shadow: inset 0 0 0 2px #888;
	padding-left: 5px;
	padding-right: 5px;
	vertical-align: middle;
	z-index: 10;
	margin-bottom: -10px;
} 

/* ===============================
   CONTENU INTERNE DU TH - Tableau Torrent
   =============================== */
.th-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
}

/* ===============================
   DÉCOR DES ONGLETS (PAR THÈME)
   =============================== */
.torrent_ttable_head {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* ===============================
   COLONNES ONGLET TORRENTS (ISOLÉES)
   =============================== */
.tt_ttable_head {
    width: 50px;
    min-width: 50px;      /* empêche l’écrasement */
    height: 60px;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
	border: none;
}

/* Espace à gauche UNIQUEMENT pour la première colonne */
.tt_ttable_head {
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}
.tt_ttable_head:first-child{
    padding-left: 1px;
}
.border_table {
    border-collapse: separate;   /* 🔑 clé */
    border-spacing: 10px 0;      /* espace gauche / droite */
    box-shadow: 0 0 12px var(--theme-color);
	border-radius: 10px;
	padding: 10px;
}
/* Compensation UNIQUEMENT pour la première planche */
tr > th.tt_ttable_head:first-of-type {
    padding-left: 10px;
}

/* Sécurité : icônes toujours horizontales */
.tt_ttable_head .th-flex,
.tt_ttable_head img,
.tt_ttable_head i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}
table {
    border-collapse: collapse;
}

/* Torrent exclisif et recommander par spiritblue */
.cs-poster-box{
    position:relative;
}

.cs-poster-badges-top{
    position:absolute;
    top:18px;
    left:12px;
    z-index:20;
    width:auto;
    height:auto;
    margin:0!important;
    padding:0!important;
    pointer-events:none;
}

.cs-poster-badges-top:empty{
    display:none;
}

.cs-poster-badges-top{
    min-height:82px;
    width:100%;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    padding-left:12px;
    margin-bottom:-12px;
    position:relative;
    z-index:10;
}


.cs-poster-badges-top img{
    max-width:115px;
    height:auto;
    filter:drop-shadow(0 0 10px #00ccff);
}

#recommander{
    position:relative;
    top:0;
    left:0;
}

#exclusif{
    position:relative;
    top:0;
    left:0;
}

#recommander{
    position: absolute;
    float: left;
    top: -10px !important;
    left: -19px !important;
    max-width: 110px;
    height: auto;
    z-index: 5;
}

#exclusif{
    position: absolute;
    float: right;
    top: -10px !important;
    right: 10px !important;
    left: auto !important;
    max-width: 97px;
    height: auto;
    z-index: 5;
}


/* Alignement de la description torrent */
.align_description{
	position: relative;
    margin-top: -150px !IMPORTANT;	
}

/* Télécharger les styles de bordure et ça legend par spiritblue */
#downloadbox {
    padding-left: 30px;
}
#downloadbox a {
	font-size: 20px; 
	font-weight: bold;
	color: #666;
}

/* Torrent externe */
.torrent_externe {
	display: inline-block;
	line-height: 20px !IMPORTANT;
	vertical-align: middle;
	font-size: 12pt;
	color: #F0F8FF;
	text-align: center;
    #margin-top: -100px !IMPORTANT;
	#margin-right: 50px !IMPORTANT;
	border-collapse: collapse;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: double;
	border-right-style: double;
	border-bottom-style: double;
	border-left-style: double;
	border-top-color: AliceBlue;
	border-right-color: AliceBlue;
	border-bottom-color: AliceBlue;
	border-left-color: AliceBlue;
	border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
	background-color: rgb(85, 85, 85);
    background-color: rgba(85, 85, 85, 0.8);
	-moz-box-shadow: inset 0 0 0 2px #888;
	-webkit-box-shadow: inset 0 0 0 2px #888;
	box-shadow: 0px 1px 20px 1px #E0E4F8;
	height: auto;
	width: 81%;
	padding-bottom: 3px;
	padding-left: 4px;
	padding-right: 4px;
}

/* Scroll fluide */
#shout_frame,
#shout_messages,
#shoutbox_ms {
    scroll-behavior: smooth;
}

/* -----------------------------------------------------------
   HEADER FIXE (Public / VIP / Staff / Clear Cookies)
----------------------------------------------------------- */
#shout_header,
#shoutbox_header,
.shoutbox-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    padding: 8px 5px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #444;
}

/* -----------------------------------------------------------
   BOUTONS (Rooms + Clear Cookies)
----------------------------------------------------------- */
.room-btn {
    border-radius: 0 !important;
    padding: 6px 12px;
    margin: 0 2px;
    cursor: pointer;
    border: 1px solid #666;
    background: #222;
    color: #fff;
    transition: background-color .3s, color .3s, border-color .3s, transform .3s ease;
}

.room-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.room-btn.active {
    background: #4A8F43;
    border-color: #94B88D;
}

/* Clear Cookies style spécial */
.clearbtn {
    background: #550000;
    border-color: #aa0000;
}

.clearbtn:hover {
    background: #770000;
}

/* -----------------------------------------------------------
   CLEAN COOKIES POPUP
----------------------------------------------------------- */
.btn-danger {
    background:#8b1e1e;
    border:1px solid #aa3333;
    color:#fff;
}
.btn-danger:hover {
    background:#aa3333;
}

/* -----------------------------------------------------------
   TABLEAU DES MESSAGES
----------------------------------------------------------- */
#shoutbox_ms {
	table-layout: fixed !important;
    width: 100% !important;	
    border-collapse: collapse;
}

#shoutbox_ms td {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100%;
    border-left: none !important;
    border-right: none !important;
}
/* Texte long : empêcher le débordement */
#shoutbox_ms td,
#shoutbox_ms div {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100%;
}
#shoutbox_ms tr td:nth-child(2) {
    width: auto;
    border-left: none !important;
}
#shoutbox_ms a {
    word-break: break-word !important;
}

/* ------------------------------------------
      Contour du bloc de messageries  
--------------------------------------------- 
/* FIX : empêcher le shout_frame de pousser le begin_frame */
#shout_frame {
    max-height: 750px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 11px;
    width: 98%;
    box-sizing: border-box;
    font-weight: normal;
    text-transform: uppercase; 
    border-style: double;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px double #AAA;
    border-radius: 8px;
    box-shadow: 1px 1px 20px 1px #AAA;

    /* si tu gardes le fond shaman */
    position: relative;
    background: url('images/shaman_bg.png') center/cover no-repeat;
}


/* 🔥 Brume animée (douce) */
#shout_frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('images/brume.png') center/160% repeat;
    opacity: 0.22; /* légère */
    animation: mistMove 28s linear infinite;
    z-index: 2;
}

/* Animation brume */
@keyframes mistMove {
    0%   { transform: translateX(-12%) translateY(0); }
    50%  { transform: translateX(12%) translateY(3%); }
    100% { transform: translateX(-12%) translateY(0); }
}

/* 🔥 Le texte / messages doivent passer au-dessus */
#shout_frame > * {
    position: relative;
    z-index: 3;
}

/* Pas d’arrière-plan "blanc" */
.shoutbox_body,
.shoutbox_messageboxback {
      background: none !important;
}


/* --------------------
   LIENS HISTORIQUE
-------------------- */
.shoutbox_history a {
    margin: 0 3px;
    text-decoration: underline;
}
.shoutbox_history {
	border: 0;
	height: 100%;
	width: 100%;
	padding-left: 0;
}

/* -----------------------
   LIEN LINKIT MESSAGE
----------------------- */
.linkit-msg {
    color: #FF0000;
    background-color: #FFF8E1;
    border: 1px solid #FF0000;
    padding: 10px;
	font-size: 12px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin: 20px auto;
    width: fit-content;
}

/* ================================
   POPUPS BBCODE — AU DESSUS DE TOUT
================================ */
.cs-popup-backdrop,
#popup-img-backdrop,
#popup-url-backdrop,
#popup-video-backdrop,
#popup-audio-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000 !important;
}

/* ----------------
   POPUP SMILIES
---------------- */
.smiley-btn {
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 0;
    border: 1px solid #999;
    cursor: pointer;
    background: #222;
    color: #fff;
}

.smiley-btn:hover {
    background: #333;
}

/* Tableau popup smillies */
.smiley-frame {
    width: 100%;
    height: calc(100% - 70px);
}
.smiley-modal {
    background: #111;
    color: #fff;
    max-width: 700px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #555;
}

.smiley-modal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.smiley-grid img {
    margin: 2px;
    cursor: pointer;
}

.smiley-modal-body {
    height: calc(100% - 70px);
    overflow: hidden;
}

.smiley-frame {
    width: 100%;
    height: 100%;
}

/* ================================
   POPUP SMILIES — MODAL BACKDROP
================================ */
.smiley-modal-backdrop {
    display: none; /* activé en JS → flex */
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.65);
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    backdrop-filter: blur(2px);
}

/* ================================
   POPUP SMILIES — WINDOW
================================ */
.smiley-modal {
    background: #1e1e1e;
    border-radius: 10px;
    width: 700px;
    max-width: 92vw;
    max-height: 85vh;

    display: flex;
    flex-direction: column;
    overflow: hidden;

    border: 2px solid #444;
    box-shadow: 0 12px 35px rgba(0,0,0,0.6);

    animation: popup-zoom 0.2s ease-out;
}

/* ================================
   HEADER
================================ */
.smiley-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 14px;
    background: linear-gradient(
        180deg,
        #2a2a2a,
        #1c1c1c
    );

    color: #fff;
    font-weight: bold;
    font-size: 14px;

    border-bottom: 1px solid #333;
}

.smiley-modal-header span {
    letter-spacing: 0.5px;
}

.smiley-close {
    background: none;
    border: none;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.smiley-close:hover {
    color: #ff5c5c;
}

/* ================================
   BODY
================================ */
.smiley-modal-body {
    flex: 1;
    background: #111;
    padding: 8px;
    overflow: hidden;
}

/* iframe smilies */
.smiley-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: #111;
}

/* ================================
   SCROLLBAR (iframe fallback)
================================ */
.smiley-modal-body::-webkit-scrollbar {
    width: 8px;
}

.smiley-modal-body::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.smiley-modal-body::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 6px;
}

.smiley-modal-body::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* ================================
   ANIMATION
================================ */
@keyframes popup-zoom {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ================================
   MOBILE ADJUST
================================ */
@media (max-width: 600px) {
    .smiley-modal {
        width: 95vw;
        height: 85vh;
        border-radius: 8px;
    }

    .smiley-modal-header {
        font-size: 13px;
    }
}

/* ================================
   IMG-URL — MODAL BACKDROP
   ================================ */
.urlimg-modal-backdrop {
    display: none;                /* Caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.65); /* Fond sombre transparent */
    z-index: 99999;
    justify-content: center;      /* Centre horizontal */
    align-items: center;          /* Centre vertical */
    backdrop-filter: blur(2px);   /* Effet verre dépoli */
}
/* ================================
   IMG-URL — WINDOW
   ================================ */
.urlimg-modal {
    background: #1e1e1e;             /* adapte bien au thème sombre */
    border-radius: 8px;
    width: 400px;                     /* largeur du popup */
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #444;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    animation: popup-zoom 0.2s ease; /* petit zoom animé */
}

/* Animation d’apparition */
@keyframes popup-zoom {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ================================
   POPUP — HEADER
   ================================ */
.smiley-modal-header {
    padding: 10px 20px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #444;
}

/* ================================
   POPUP SMILIES — BODY
================================ */
.smiley-modal-body {
    padding: 0;
    flex: 1;
    overflow: hidden;
    display: flex;              /* 🔥 IMPORTANT */
}

/* ================================
   IFRAME SMILIES
================================ */
.smiley-frame {
    flex: 1;                    /* 🔥 prend TOUTE la largeur */
    width: 100%;
    height: 100%;
    border: none;
    display: block;             /* 🔥 supprime l’espace inline */
    background: #111;
}

/* ================================
   GRILLE SMILIES PROPRE
================================ */
/* chaque smiley */

.smiley-frame img {
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
}
/* hover clean */
.smiley-frame img:hover {
    transform: scale(1.15);
    filter: brightness(1.2);
}

/* ================================
   BOUTON - BBCODE
   ================================ */
.bbcode-bar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;             /* Les éléments passent à la ligne si l'écran est petit */
    justify-content: center;     /* Centre horizontalement */
    align-items: center;         /* Aligne verticalement */
    gap: 7px 12px;              /* Espacement horizontal / vertical */
    margin: -3px 0;
    padding: 0;
}
/* Icônes BBcode */
.bbcode-bar img i {
    height: 10px;
    cursor: pointer;
}

/* Chaque bloc (icônes, couleur, font, size) */
.bbcode-smilies {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
}

.smiley-modal img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: transform 0.12s ease;
}

.smiley-modal img:hover {
    transform: scale(1.15);
}

.bbcode-smilies img,
#shoutedit-smilies, img {
    object-fit: contain; /* Garde les proportions des GIF */
    image-rendering: auto;
    pointer-events: auto;
	image-rendering: -webkit-optimize-contrast;
}
/* ============================
   BARRE SMILIES + UPLOAD
============================ */
.smilies-toolbar {
    display: flex;
    align-items: center;   /* 🔑 alignement vertical */
    gap: 8px;              /* espace entre smilies et upload */
}

/* ============================
   UPLOAD IMAGE (Hebergeur)
============================ */
.up-image {
    display: flex;
    align-items: center;
}

.up-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    cursor: pointer;
}

.up-image i {
    font-size: 24px;
    line-height: 1;
    color: var(--theme-color);
	transform: translateY(-6px); /* ajuste -4 / -6 / -8 */
}

.up-image i:hover {
    opacity: 0.8;
}

/* ============================
   ADAPTATION MOBILE
============================ */
@media (max-width: 650px) {

    .bb_icon, .shout-btn, .bb-button {
        width: 28px;
        height: 28px;
    }

    .bbcode-select {
        width: 70%;
        margin-bottom: 10px;
    }

    .bbcode-bar {
        gap: 8px;
    }
}
/* Direction du bouton*/ 
.bb {
   margin-bottom: 8px;
   top: -4px;
}
.bb:visited .room-btn {
   border: 2px solid #555;
}

/* ================================
   BOUTON PUBLIC, VIP, STAFF
   ================================ */
.room-buttons,
.ttable_head {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* Le conteneur */
.room-buttons {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

/* Boutons ROOM */
.shout-btn {
    display: inline-block;
    padding: 6px 14px;
    margin: 3px 6px;
    border-radius: 6px;
    background: #333;
    color: #fff;
    cursor: pointer;
    border: 1px solid #666;
    transition: 0.25s;
    text-decoration: none;
}

/* Hover */
.shout-btn:hover {
    background: #555;
}

/* BOUTON ACTIF */
.shout-btn.active {
    background-color: rgba(0,0,0,0.55); /* Couleur active */
    border-color: #DED976;
    color: #fff;
}

.shout-btn {
    transition: 0.25s ease;
    transform: scale(1);
}
.shout-btn:active {
    transform: scale(0.92);
}
/* ================================
   BOUTON SMILIES+
   ================================ */
/* Bouton fermeture */
.smiley-close {
    background: none;
    border: none;
    font-size: 25px;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 0 12px #fffff0;
    transition: 0.2s ease;
}

.smiley-close:hover {
	border: none;
    color: #ff4444;
} 
   
.btn-smile-popup {
    padding: 6px 12px;
    font-size: 14px;
    background: #333;
    color: #fff;
    border: 1px solid #666;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s ease;
}

.btn-smile-popup:hover {
    background: #444;
    transform: translateY(-2px);
}
.smile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    justify-content: center;
}

.smile-grid img {
    cursor: pointer;
    margin: 3px;
    width: 32px;
    height: 32px;
    transition: transform .15s;
}
.shout-btn.active {
    box-shadow: 0 0 12px #00c8ff, inset 0 0 8px #00dfff;
    text-shadow: 0 0 4px #fff;
}

.smile-grid img:hover {
    transform: scale(1.3);
}

/* ============================
   Boutons Room Multi-Thèmes
============================ */
.shout-btn {
    padding: 6px 12px;
    border-radius: 6px;
    margin: 4px;
    background: #222;
    color: #ccc;
    border: 1px solid #444;
    text-decoration: none;
    transition: 0.2s;
}

.shout-btn.active {
    color: #fff !important;
    box-shadow: 0 0 10px rgba(255,255,255,0.30);
}
.shout-btn.active:hover {
    color: #000 !important;
	border: 1px groove var(--theme-color);
    box-shadow: 0 0 10px rgba(245,211,39, 0.60);
}
/* BLUE */
.theme-blue .shout-btn.active.room-0,
.theme-blue .shout-btn.active.room-1,
.theme-blue .shout-btn.active.room-2 {
    background:#00BCFF !important;
    border-color:#10d8ff !important;
}

/* GREEN */
.theme-green .shout-btn.active.room-0,
.theme-green .shout-btn.active.room-1,
.theme-green .shout-btn.active.room-2 {
    background:#28A428 !important;
    border-color:#32d732 !important;
}

/* ORANGE */
.theme-orange .shout-btn.active.room-0,
.theme-orange .shout-btn.active.room-1,
.theme-orange .shout-btn.active.room-2 {
    background:#FFA800 !important;
    border-color:#F79E36 !important;
}

/* RED */
.theme-red .shout-btn.active.room-0,
.theme-red .shout-btn.active.room-1,
.theme-red .shout-btn.active.room-2 {
    background:#F52C2C !important;
    border-color:#E82A2A !important;
}
/* End Shoutbox V3 */

/* Marqu */
    .marquee {
        width: 650px;
        margin: 0 auto;
        overflow: hidden;
        box-sizing: border-box;
    }
   
    .marquee span {
        display: inline-block;
        padding-left: 100%;  /* show the marquee just outside the paragraph */
        animation: marquee 15s linear infinite;
    }
   
    .marquee span:hover {
        animation-play-state: paused;
    }
   
    /* Make it move */
    @keyframes marquee {
        0%   { transform: translate(0, 0); }
        100% { transform: translate(-100%, 0); }
    }

/* MP Priver sur Shoutbox */
@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
.blink {
    -webkit-animation: 2s linear infinite condemed_blink_effect; 
    animation: 2s linear infinite condemed_blink_effect;
}
@-webkit-keyframes condemed_blink_effect {
    0% {
        visibility: hidden;
    }
    50% {
        visibility: hidden;
    }
    100% {
        visibility: visible;
    }
}
@keyframes condemed_blink_effect {
    0% {
        visibility: hidden;
    }
    50% {
        visibility: hidden;
    }
    100% {
        visibility: visible;
    }
}

/* ===============================
   AVATAR BOX - CRAZYSPIRITS
=============================== */
.avatar_cp{
    width: 250px;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/cadre_avatar.png') center/contain no-repeat;
    border-radius: 8px;
    margin: auto;
}

/* Avatar centré dans le cadre */
.avatar_cp img{
    width: 42%;
    height: 40%;
    object-fit: cover;
    object-position: center;
	transform:translateY(3px);
    border-radius: 6px;
	border: 2px groove #555;
}

/* ===============================
   AVATAR SHOUTBOX - CRAZYSPIRITS
=============================== */
.avatar_box_shout{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px;
    margin: 2px 0;
    border-bottom: 1px solid var(--theme-shadow);
    box-shadow: 0 0 25px var(--theme-shadow);	
}

/* ===============================
   AVATAR IMAGE (SHOUT)
=============================== */
.avatar_box_shout img{
    width: 78px;      /* largeur */
    height: 120px;     /* hauteur (vertical) */
    border-radius: 6px;   /* coins légers, pas rond */
    object-fit: fill;   /* garde look poster */
}

.avatar_box_shout:hover img{
    transform: scale(1.1);
}

.avatar_shout {
    border: 2px solid #555;
}

.robot_avatar {
    border: 2px solid #555;
    box-shadow: 0 0 2px #ff6600;
}

/* Date */
.shout_date {
    position: absolute;
    top: -5px;        /* colle dans le haut */
    right: 5px;       /* colle à droite */
    font-size: 15px;  /* plus gros */
    font-weight: bold;
    color: #e0e0e0;
    text-shadow: 1px 1px 2px #000;
    opacity: 0.9;
    pointer-events: none;
}

/* warned account detail */
.warned_user {
    background-color: #D6D4D0;
    color: #5a3e00;
    padding: 2px 6px; 
    border-left: 6px solid #ff0000; 
    border-right: 6px solid #ff0000;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 0 6px rgba(0,0,0,0.12);
    border-radius: 3px;
    margin: -13px 0;
    display: flex;
    max-width: 850px;
    word-wrap: break-word;
    align-items: center;
    gap: 6px;
}
.warned_user::before {
    content: "⚠";
    font-size: 1.2rem;
}
/* End warned */

/* ============================
   SHOUTBOX MESSAGE - FINAL
============================ */
.shoutbox-message {
    max-height: 300px;
    overflow-y: auto;
    padding: 6px 10px;
    font-size: 15.5px;   /* ← ta taille ici */
    line-height: 1.6;
    word-wrap: break-word;
}

/* Espacement entre lignes */
.shoutbox-message br {
    display: block;
    margin-bottom: 0.8em;
}

/* ==============================
   FIX SHOUTBOX : stop MAJUSCULES + réduire taille
   ============================== */
/* 1) Annule le uppercase global du conteneur */
#shout_frame {
    text-transform: none !important;
    font-variant: normal !important;
}

/* Taille du pseudo */
.shoutbox_noalt, .shoutbox_alt td:first-child {
    font-size: 15px !important;
    font-weight: bold;
}

/* Error */
#error_msg {
	color: DarkSeaGreen;
	font-size: 16px;	
}
error {
	color: #D8A420;
}
#error {
	color: #D8A420;
}
.error {
	color: Goldenrod;
	text-shadow: 0 0 5px #444, 0 0 5px #555, 0 0 5px #666, 0 0 5px #777;
	font-size: 20px;	
}
/* Fin */

/* Champs obligatoires... */
.required {
    color: #ff0000;
}
/* Fin */

/* Blocr des Nouvelles */
#marqueecontainer {
	position: relative;
	height: 200px; /*marquee height */
	background-color: white;
	overflow: hidden;
	padding: 2px;
	padding-left: 14px;
}
/* Fin */

/* Top Torrent */
.cover_img {
    border-radius: 5px;   
	border: 2px solid var(--theme-color);
    box-shadow:0 0 15px var(--theme-shadow);		
	padding: 3px;	
}
.cover_img {
	opacity:0.5;
}
.cover_img:hover {
    opacity:1;
}

/* BBCODE COLOR */
.bb_holder {
border: 1px solid #DDDDDD;
border-collapse: collapse;
background: #999999;
}
.em_holder td, .em_holder td:hover, .em_holder {
 border: 1px solid #333333;
}
.em_holder td:hover {
 background: #dddddd;
}

/* Style du Bulle Info Torrents */
.BGTOP {
	background-color: rgb(85, 85, 85);
    background-color: rgba(85, 85, 85, 0.7);
	-moz-box-shadow: inset 0 0 0 2px #888;
	-webkit-box-shadow: inset 0 0 0 2px #888;
	border: #111;
	border-collapse: collapse;
    box-shadow: 1px 1px 8px 1px #F0F8FF;
    -moz-border-bottom-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-top-colors: #E54500 #222222 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-left-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;	
	padding: 6px;
}		
.BG {	
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right;
	background-image: url('/images/Torrents/BGbulltorrent.jpg');
	-moz-box-shadow: inset 0 0 0 2px #888;
	-webkit-box-shadow: inset 0 0 0 2px #888;
	border: #111;
	border-collapse: collapse;
    box-shadow: 1px 1px 8px 1px #F0F8FF;
    -moz-border-bottom-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-top-colors: #E54500 #222222 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;
    -moz-border-left-colors: #222222 #E54500 #555555 #555555 #c5b59b #d4c5ae #e2d6c4 #eae1d2;	
	padding: 6px;
	border: 4px double Cornsilk;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-radius-topleft: 5px;
    -webkit-border-radius-topright: 5px;
    border-radius: 5px !important; 	
}

/* Pochette de l'info bulle torrent */	
.img_bulle {
	width: 170px; 
    height: 230px;
    background: transparent;	
	padding: 3px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-radius-topleft: 5px;
    -webkit-border-radius-topright: 5px;
    border-radius: 5px !important;   
    box-shadow: 1px 1px 8px 4px AliceBlue;	
	background: transparent;	
	padding: 3px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-radius-topleft: 5px;
    -webkit-border-radius-topright: 5px;
    border-radius: 5px !important;   
    box-shadow: 1px 1px 8px 4px AliceBlue;
}		
	
/* Galery cover */
.cover_galery {
    border: 1px solid var(--theme-color);
    width: 130px; 
    height: 180px;
	box-shadow: 0 0 12px var(--theme-color); 
}
.galerie {
	position: relative;
	margin: 0.7em;
	border-radius: 8px;
    border: 1px solid var(--theme-color);
}	
	
/* Bouton popup prez */
#prez_action {
	position: relative;
	text-align: center;
}
#prez {
	position: relative;
    width: 79%;  /* for vertical scrollbars */	
    left: 0px;
	right: 0px;
    top: 15px;
	text-align: center;
}

/* Cadre /fond */
.prez-header {
	border: 2px;
	border-color: #555;
	background-image: url(../generator_prez/img/minidesc_bg.png);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center 100%;
	border-radius: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-radius-topleft: 8px;
	-webkit-border-radius-topright: 8px;
	box-shadow: 1px 1px 20px 1px Cornsilk;
}
table.prez-header:hover {
	border: 2px;
	border-color: #555;
    font-size: 12px;
	border-radius: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-radius-topleft: 8px;
	-webkit-border-radius-topright: 8px;
	box-shadow: 1px 1px 20px 1px Cornsilk;
}
.prez-location {
	border: 2px;
	border-color: #555;	
	border-radius: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-radius-topleft: 8px;
	-webkit-border-radius-topright: 8px;
	box-shadow: 1px 1px 20px 1px Cornsilk;	
	margin-bottom: 8px;
	#font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}	
option.line-below {
	border-bottom: #dddddd solid 2px;
}	

/* Annonce Nouveau Torrent Sur Le Partage Sur La requete (En Images) A Partir De La Balise > img0 */
.img0-shout {
   width:200px; height:220px;
   background-color: transparent; /* Fond de couleur */
   border: 2px double #F0F8FF;
   border-radius: 8px 8px 8px 8px;
   box-shadow: 0px 0px 15px 0px #60C1D0; /* intensiter de dégrader de la couleur des 4 faces + couleur */
   -moz-border-bottom-colors: #60C1D0 #777777 #CCCCCC #E9ED74 #E3E934 #CCCCCC #1771C0; /* dégrader de couleur des 4 faces */
   -moz-border-top-colors: #60C1D0 #777777 #CCCCCC #E9ED74 #E3E934 #CCCCCC #1771C0;
   -moz-border-left-colors: #60C1D0 #777777 #CCCCCC #E9ED74 #E3E934 #CCCCCC #1771C0;
}

/* Annonce Nouveau Torrent Sur Le Partage Sur Le Salon De Discussion (En Images) A Partir De La Balise > img1 */
.img1-shout {
   width:120px; height:180px;
   background-color: transparent; /* Fond de couleur */
   border: 2px double #F0F8FF;
   border-radius: 8px 8px 8px 8px;
   box-shadow: 0px 0px 15px 0px #60C1D0; /* intensiter de dégrader de la couleur des 4 faces + couleur */
   -moz-border-bottom-colors: #60C1D0 #777777 #CCCCCC #E9ED74 #E3E934 #CCCCCC #1771C0; /* dégrader de couleur des 4 faces */
   -moz-border-top-colors: #60C1D0 #777777 #CCCCCC #E9ED74 #E3E934 #CCCCCC #1771C0;
   -moz-border-left-colors: #60C1D0 #777777 #CCCCCC #E9ED74 #E3E934 #CCCCCC #1771C0;
}

/* Style Au Envoie La Pochette de DVD Du Générateur De Prez Sur La Présentation De Torrent (En Images) A Partir De La Balise > img2 */
.img2-Detail-Torrent {
   width:112px;
   height:170px;
   object-fit: cover;   /* ⭐ IMPORTANT */
   background-color: transparent;
   border: 2px double #F0F8FF;
   border-radius: 8px;
   box-shadow: 0 0 15px #60C1D0;
   display:block;
}

/* Style Au Envoie La Pochette de musique Du Générateur De Prez Sur La Présentation De Torrent (En Images) A Partir De La Balise > img22 */
.img22-Detail-Torrent {
   width:112px;
   height:170px;
   object-fit: cover;   /* ⭐ IMPORTANT */
   background-color: transparent;
   border: 2px double #F0F8FF;
   border-radius: 8px;
   box-shadow: 0 0 15px #60C1D0;
   display:block;
}
 
/* Style Au Envoie La Pochette Du Générateur De Prez Sur La Présentation De Torrent (En Images) A Partir De La Balise > img1 */
.img3-Prez-Torrent {
   width:300px; height:200px;
   background-color: transparent; /* Fond de couleur */
   border: 2px double #F0F8FF;
   border-radius: 8px 8px 8px 8px;
   box-shadow: 0px 0px 15px 0px #60C1D0; /* intensiter de dégrader de la couleur des 4 faces + couleur */
   -moz-border-bottom-colors: #60C1D0 #777777 #CCCCCC #E9ED74 #E3E934 #CCCCCC #1771C0; /* dégrader de couleur des 4 faces */
   -moz-border-top-colors: #60C1D0 #777777 #CCCCCC #E9ED74 #E3E934 #CCCCCC #1771C0;
   -moz-border-left-colors: #60C1D0 #777777 #CCCCCC #E9ED74 #E3E934 #CCCCCC #1771C0;
} 

 /* Style Au Envoie La Bannier Personnelle Du Générateur De Prez Sur La Présentation De Torrent (En Images) A Partir De La Balise > img1 */
.img4-Prez-Torrent {
   width:600px; height:150px;
   background-color: transparent; /* Fond de couleur */
}  
   
/* VIDEO IBOX POPUP */
#ibox_wrapper {
    padding: 10px 10px 35px 10px;
    line-height: 25px;
    border-color:#fff;
}
#ibox_wrapper, #ibox_footer_wrapper a { background-color:#fff; }
#ibox_content { background-color:#fff; border:0; }
#ibox_footer_wrapper {
    padding: 0 3px;
    bottom: 5px;
    top: auto;
}
#ibox_footer_wrapper a {
    text-indent: -10000px;
    background: url('images/closelabel.gif');
    width: 66px;
    height: 22px;
}
#ibox_progress {
    background: #fff url('images/loading.gif') center center no-repeat;
}

/* Image du torrent suivant et présendent sur detail du torrent */
/* === CrazySpirits Cover Style === */
.img_rev{
    position: relative;
    overflow: hidden;
    z-index: 10;
    width: 126px;
    height: 178px;
    padding: 4px;
    margin: 0 auto;
    background: linear-gradient(145deg, #0f1a22, #163030);
    border-bottom: 4px solid var(--theme-shadow);
    border-radius: 10px;
    box-shadow: 0 0 25px var(--theme-shadow);
    transition: all 0.35s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.img_rev img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    display: block;
}

.img_rev img{
    transition: transform 0.3s ease;
}

.img_rev:hover img{
    transform: scale(1.05);
}

/* Effet lumière */
.img_rev::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent 40%,
        rgba(0,180,255,0.25),
        transparent 60%
    );
    transform: rotate(25deg);
    opacity: 0;
    transition: all 0.6s ease;
}

/* Hover animation */
.img_rev:hover {
    transform: scale(1.08) translateY(-4px);
    border-color: var(--theme-shadow);
    box-shadow: 0 0 25px var(--theme-shadow);
}

/* Light sweep */
.img_rev:hover::before {
    top: -20%;
    left: -20%;
    opacity: 1;
}

/* Option: petit reflet */
.img_rev img {
    border-radius: 7px;
    transition: all 0.3s ease;
}

.img_rev:hover img {
    filter: brightness(1.08) contrast(1.05);
}

/* DONWLOAD BOX DETAIL TORRENT */
.downloadbox {
	text-align: center;	
    padding-left: 30px;
	display: block;
	-moz-box-shadow: inset 0 0 0 1px #fff;
	-webkit-box-shadow: inset 0 0 0 1px#fff;
	box-shadow: inset 0 0 0 1px #fff;
}

/* Frame All News - bg */
#news {
	background-image: url(images/news_background.png);
	-webkit-background-size: cover; /* pour anciens Chrome et Safari */
	background-size: 100% 100%, cover !important;
	background-repeat: repeat-x;
	background-position: top;
	padding-right: 3px;
	padding-bottom: 1px;
	padding-left: 3px;	
	padding: 6px;
	border: 4px double black;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-radius-topleft: 5px;
    -webkit-border-radius-topright: 5px;
    border-radius: 5px !important;   
    box-shadow: 1px 1px 20px 1px Cornsilk;
}

.bg_announce {
	background-image: url(images/annonce_bg.png);
	-webkit-background-size: cover; /* pour anciens Chrome et Safari */
	background-size: 100% 100%, cover !important;
	background-repeat: repeat-x;
	background-position: top;
}


/* Multi Media Player By Spiritblue */
.block {
	position: relative;
	margin: 22px auto 0;
	width: 70%;
	height: 250px;
	background-image: url("https://zupimages.net/up/19/48/9dv6.jpg"); /* background images */
	background-repeat: no-repeat;
    background-size: cover;
	background-color: #000000a3; /* background refresh */
}

.block:before, .block:after {
	content: '';
	position: absolute;
	left: -2px;
	top: 2px;
	background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000); /* border color */
	background-size: 400%; /* size */
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	z-index: -1;
	animation: steam 20s linear infinite; /* speed 20s */
}

@keyframes steam {
	0% {
		background-position: 0 0;
	}
	50% {
		background-position: 400% 0; /* size */
	}
	100% {
		background-position: 0 0;
	}
}

.block:after {
	filter: blur(50px);
}

#mediaimg{
	display: block;
	position: relative;	
	width: 70%;
	#font-family: Goudy Old Style;
	color: #F0F8FF;
	font-size: 12px;
	text-align: center;
	line-height: 16px;
	padding-top: 55px;	
	padding-right: 20px;
    border: 2px solid red;	
}
#mediaimg:hover {
	border: 0;
    border: initial;
}

#infomedia {
	width: 70%;
    text-shadow: 5px 5px 10px black;
	#font-family: Goudy Old Style;
	color: #F0F8FF;
	font-size: 12px;
	text-align: center;
	padding-top: 35px;	
	padding-left: 180px;
}

#nfoModalText{
  font-family: "Courier New", monospace;
  font-size:13px;
  line-height:1.25;
  white-space:pre;
}
/* End */

#nowPlaying {
	position: static;
	letter-spacing: 0.1rem;
	vertical-align: middle;
}

/* Soutient Au Crazy */
#pageinterac{
	background-repeat: no-repeat;
    background-size: cover;
	background-color: #000000a3; /* background refresh */
	color: #F0F8FF;
	text-align: center;	
}

/* Video border allocinE */
.vidallo {
    background: url('images/login/bg-block.png')no-repeat;
	background-size: 100% 100%, cover !important;
	padding-right: 3px;
	padding-bottom: 1px;
	padding-left: 3px;	
	padding: 6px;	
	border: 4px double black;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-radius-topleft: 5px;
    -webkit-border-radius-topright: 5px;
    border-radius: 5px !important;   
    box-shadow: 1px 1px 20px 1px Cornsilk;	 
}
   
/* Sondage */
.pollsanswer {
    color:#000;
    border: 0px solid #486386;
}
.pollspercent {
    background: none;
    color: #F0F8FF;
    border-bottom: 0px solid #486386;
    border-left: 0px solid #486386;
    border-right: 0px solid #486386;
}

/* Carousel image sur index */
.carousel {
	display: inline-block;
    align-items: center;
	line-height:0;
    justify-content: center;	
    text-align: center;	
}

/* Tableau de téléchargement sur detail du torrent */
.table_head_dl{
	color: AliceBlue;
	text-transform: capitalize;
	padding-left: 17px;
	line-height: 22px;
	transform: rotate(1.2deg); /* Équivalent à rotateZ(45deg) */
}
.div-image { 
    width: 300px;
    height: 85px;
    padding-left: 12px;
    padding-top: 10px;
    overflow: hidden;
}
.image-zoom:hover {
    transform: scale(1.2);
    border-radius: 100%; 
   -moz-box-shadow:    inset 0 1px 10px #A8ACA8;
   -webkit-box-shadow: inset 0 1px 10px #A8ACA8;
   box-shadow:         inset 0 1px 10px #A8ACA8;
}

.image-zoom1:hover {
    transform: scale(1.5);
    border-radius: 100%; 
    -moz-box-shadow:    inset 0 1px 10px #A8ACA8;
    -webkit-box-shadow: inset 0 1px 10px #A8ACA8;
    box-shadow:         inset 0 1px 10px #A8ACA8;
    margin-top: -22px;
}

.policeallocine {
	font-size: 0.8em;
	font-size: medium;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    opacity: 0;
    width: 288px;
    background: rgba(20,20,20,0.75);
    border-color: var(--theme-color) transparent transparent transparent;
    color: #FFF;
    padding: 12px 22px;
    border-radius: 10px;
    text-align: center;
    font: bold 15px "Helvetica Neue", Sans-Serif;
    #text-transform: uppercase;
    box-shadow: 0 0 7px var(--theme-color);
    position: absolute;
    z-index: 10;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    transition: opacity 0.3s ease;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 12px;
    border-style: solid;
    border-color: IndianRed transparent transparent transparent;
}

/* Show tooltip */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
	pointer-events: none; /*Tooltip cliquable (utile sur mobile)*/
}

/* =================================
   GLIGHTBOX – TITRE OVERLAY CLEAN
================================= */
.gslide-media {
}
/* CONTENEUR POCHETTE DVD */
.glightbox-clean .gslide-media {
    width: 360px;
    max-width: 90vw;
    aspect-ratio: 2 / 3;   /* 📀 DVD RÉEL */
    position: relative;
    overflow: visible;
    padding-bottom: 90px; /* espace pour le titre */
}
.glightbox-clean .gslide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔑 remplit la pochette proprement */
    border-radius: 12px 12px 0 0;
    border: 2px solid var(--theme-color);
    background: #000;
    box-shadow:
    0 0 30px rgba(0,0,0,0.9),
    0 0 20px var(--theme-color);
}

/* Supprime toute réservation d’espace */
.glightbox-clean .gslide-desc,
.glightbox-clean .gslide-description {
    display: none !important;
}

/* Image = référence */
.glightbox-clean .gslide-media {
    position: relative;
    overflow: visible;
    padding-bottom: 50px; /* réserve la place du titre */
}

/* TITRE OVERLAY */
.glightbox-clean .cs-glightbox-title {
    position: absolute;
    left: -10px;
    right: 0;
    bottom: -50px;
    width: 100%;
    padding: 10px 10px;
    background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.95),
    rgba(0,0,0,0.75));
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    #text-transform: uppercase;
    letter-spacing: 0.7px;
    text-align: center;
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--theme-color);
    box-shadow:
    0 10px 20px rgba(0,0,0,0.9),
    0 0 12px var(--theme-color);
    line-height: 1.5;
    z-index: 10;
}

.cs-glightbox-title {
    border-top: 1px solid var(--theme-color);
}

@media (hover: hover) {
    .cs-glightbox-title {
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .cs-glightbox-title:hover {
        transform: translateY(-1px);
        box-shadow:
        0 12px 24px rgba(0,0,0,0.9),
        0 0 14px var(--theme-color);
    }
}

/* On réserve l’espace sous l’image */
.glightbox-clean .gslide {
    padding-bottom: 70px;
}

/* Mobile */
@media (max-width: 768px) {
    .glightbox-clean .gslide-media {
        width: 280px;
        padding-bottom: 80px;
    }

    .glightbox-clean .gslide-title {
        bottom: -60px;
        font-size: 12px;
        padding: 10px 12px;
    }
}

/* Texte qui flash By spiritblue */
#flash{
    animation: Test 3s infinite;
	#transition-delay: 1s;
}
@keyframes Test{
    0%{opacity: 1;}
    50%{opacity: 0;}
    100%{opacity: 1;}
}

/* Style sur l'atribut title= */
[data-title]:hover:after {
    opacity: 2;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}
[data-title]:after {
    content: attr(data-title);
	background-color: rgb(207, 197, 180);
    background-image: linear-gradient(#c0bbb2 20px, #555 80px),
    -moz-linear-gradient(top, #c0bbb2 20px, #555 80px),
    -moz-linear-gradient(bottom, #c0bbb220px, #555 80px),
    -moz-linear-gradient(left, #c0bbb2 20px, #555 80px),
    -moz-linear-gradient(right, #c0bbb2 20px, #555 80px);
    color: #555;
	border-radius: 4px;
    font-size: 95%;
    position: absolute;
    padding: 1px 5px 2px 5px;
    bottom: -1.6em;
	text-shadow: none;
	text-align: center;
    white-space: nowrap;
    box-shadow: 1px 1px 3px #aaa;
    opacity: 0;
    border: 2px solid #222222;
    z-index: 99999;
    visibility: hidden;
}
[data-title] {
    position: relative;
}

/* Error Name signup */
/* CSS for pop up hint box */
#hintbox { 
    position:absolute;
    top:0;
    background-color: rgba(106, 105, 100, 0.9);
    width:180px; /* Default width of hint. */ 
    padding:3px;
    border:1px solid black;
    font:normal 11px Verdana;
    line-height:18px;
    z-index:100;
    border-right:3px solid black;
    border-bottom:3px solid black;
    visibility:hidden;
}

/* =========================================
   NFO – MODE PLEIN ÉCRAN MOBILE
========================================= */
.shout-nfo-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 9px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(0,0,0,.25);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:12px;
}
.shout-nfo-btn:hover{
  background:rgba(0,0,0,.45);
}

/* Base (desktop + mobile) */
.glightbox-container .glightbox-nfo .gslide-media {
    background: #0b0b0b !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Image NFO */
.glightbox-container .glightbox-nfo img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

/* Supprime tout fond blanc */
.glightbox-container .gslide-image,
.glightbox-container .ginner-container {
    background: transparent !important;
}

/* MOBILE : FULLSCREEN RÉEL */
@media (max-width: 768px) {

    .glightbox-container .glightbox-nfo .gslide-media {
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        padding: 8px 6px 12px;
        border-radius: 0 !important;
    }

    .glightbox-container .glightbox-nfo img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Bouton fermer plus accessible */
    .glightbox-container .gclose {
        top: 8px !important;
        right: 8px !important;
        transform: scale(1.2);
    }
}

/* Scrollbar clean */
.glightbox-container .gslide-media::-webkit-scrollbar {
    width: 8px;
}
.glightbox-container .gslide-media::-webkit-scrollbar-thumb {
    background: var(--theme-color);
    border-radius: 4px;
}

/* =========================
   NFO Terminal Colors
========================= */
.nfo-green  { color:#39ff14; }
.nfo-cyan   { color:#00ffff; }
.nfo-blue   { color:#00bfff; }
.nfo-yellow { color:#ffe600; }

/* L’image dicte la taille */
.glightbox-nfo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* =========================================
  CSS for link that shows hint onmouseover
========================================= */
.hintanchor { 
    font-weight: bold;
    color: red;
    margin: 4px 8px;
}
.usersignuperror {
	padding-top: 5px;
	background-color: rgb(80, 80, 80);
    background-color: rgba(80, 80, 80, 0.6);
    box-shadow: 1px 0px 10px 1px Cornsilk;	
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    -webkit-border-radius-topleft: 6px;
    -webkit-border-radius-topright: 6px; 
}

/* Image Menu */
/* Halo lumineux */
.cover_img_menu img {
	position: relative;
}
.cover_img_menu img::before {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: block;
	content: '';
	width: 0;
	height: 0;
	background: rgba(255,255,255,.2);
	border-radius: 100%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	opacity: 0;
}
.cover_img_menu img:hover::before {
	-webkit-animation: circle .75s;
	animation: circle .75s;
}
@-webkit-keyframes circle {
	0% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	100% {
		width: 200%;
		height: 200%;
		opacity: 0;
	}
}
@keyframes circle {
	0% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	100% {
		width: 200%;
		height: 200%;
		opacity: 0;
	}
}

/* Noel By @Spiritblue */
#guirlande1 {   
z-index:9998;
position:absolute;    
height:130px;   
top:18px;
left:0;    
width:100%;
}
#guirlande2 {   
z-index:9997;
position:absolute;    
background:url('images/guirlande2.png') 70% top repeat-x;    
height:130px;    
top:101px;   
left:0;    
width:100%;
}
#guirlande3 {   
z-index:9996;
position:absolute;    
background:url('images/guirlande3.png') 10% top repeat-x;
top:144px;
height:120px;
left:144px;
padding-left: 5px;
width:35%;
}

/* Snow Spiritblue */
.editor-stage .snow {
  height:50px;
  background: #fff;
}
.snow {
  top:0;
  left:0;
  right:0;
  bottom:0;
  height:100vh;
  background: none;
  background-image: url('https://s3-eu-west-1.amazonaws.com/static-ressources/s1.png'), url('https://s3-eu-west-1.amazonaws.com/static-ressources/s2.png'), url('https://s3-eu-west-1.amazonaws.com/static-ressources/s3.png');
  z-index:100;
  -webkit-animation: snow 10s linear infinite;
  -moz-animation: snow 10s linear infinite;
  -ms-animation: snow 10s linear infinite;
  animation: snow 10s linear infinite;
}
@keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-moz-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 400px 1000px, 200px 400px, 100px 300px;}
}
@-webkit-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-ms-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}

/* Block Lastest Torrent Scoll partie #1 */
#scroll_block_img {	
    height: 180px; 
    overflow: hidden;
    border: none;
    border-style: none;
}

/* Block Lastest Torrent Scoll partie #2 */
.cover_imgbg {
	margin-bottom: 30%;
    background-color: transparent; /* Fond de couleur */
    border-radius: 5px !important;   
	background: transparent;	
	border: 4px double AliceBlue;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-radius-topleft: 5px;
    -webkit-border-radius-topright: 5px;
    border-radius: 5px !important;   		
}
.cover_imgbg{
	opacity:0.6;
}
.cover_imgbg:hover{
    opacity: 1;
}

/* Liste User block */
.list {
display: flex;
flex-direction: column;
border: none;
}

.Tsiz {
background-color: transparent;
#font-family: Goudy Old Style;
font-size: 12px;
padding: 3px 3px 3px 8px;
border: none;
text-decoration: none;
text-align: left;
min-width:75px;
margin-bottom: 5px;
}

.Tsiz:hover {
background-color: transparent;
font-size: 12px;
padding: 3px 3px 3px 8px;
border: none;
text-decoration: none;
text-align: left;
min-width:75px;
margin-bottom: 5px;
}

/* ----------------------------------
   BBCODE: SHOUTBOX — CRAZY SPIRITS
   ------------------------------- */
/* Bouton universel pour Shoutbox */
.shout-btn {
    display: inline-block;
    padding: 4px 8px;
    margin: 4px;
    border-radius: 6px;
    #font-family: Comic Sans MS;
    font-size: 13px;
    background: rgba(20,20,20,0.75);
    color: var(--theme-color); /* ← couleur automatique selon le CSS coloré */
    border: 2px solid var(--theme-color);
    text-shadow: 0 0 4px #000;
    transition: 0.25s ease-in-out;
}

/* Hover */
.shout-btn:hover {
    background: 0 0 12px var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
    box-shadow: 0 0 12px var(--theme-color);
}
/*Taille bbcode*/
.bb_icon {
    font-size: 14px;
	padding: 5px 7px !important; 
}

/* Réponse sur nick */
.reply-icon-mist {
    margin-left: 6px;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.7;
    color: #ddd;
    transition: 0.25s;
    text-shadow: 0 0 4px rgba(255,255,255,0.15);
}
.reply-icon-mist:hover {
    opacity: 1;
    color: #fff;
    text-shadow: 
        0 0 6px rgba(255,255,255,0.6),
        0 0 12px rgba(255,255,255,0.4),
        0 0 18px rgba(255,255,255,0.2);
}

/* =====================================
   CRAZYSPIRITS – INPUT LOGIN FIX TOTAL
   Firefox / Chrome / Edge
===================================== */
/* RESET navigateur FIREFOX */
.login
input[type="password"] {
appearance: none;
box-shadow: inset 0 0 0 1000px;
transition: all 0.3s;
transition: opacity 1s;
transition: background-color 0.5s ease;
}

.login
input[type="text"],
input[type="password"] {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    font-size: 12pt;
    color: #E6F7FF;
    background: rgba(20, 20, 20, 0.82);
    border: none;
    outline: none;
    padding: 8px 10px;
    border-radius: 4px;
    box-shadow:
    inset 0 0 0 2px #888,
    inset 0 0 0 1000px rgba(20,20,20,0.82);
    background-clip: padding-box;	
}

/* Focus */
input[type="text"]:focus,
input[type="password"]:focus {
    box-shadow:
        inset 0 0 0 2px #4DA6FF,
        inset 0 0 0 1000px rgba(20,20,20,0.9);
}

/* =====================================
   FIREFOX AUTOFILL (mémoire)
===================================== */
input:-moz-autofill,
input:-moz-autofill-preview,
input:-moz-autofill:focus {
    appearance: none !important;
    background: transparent !important;
    box-shadow:
    inset 0 0 0 2px #888,
    inset 0 0 0 1000px rgba(20,20,20,0.82) !important;
    -moz-text-fill-color: #E6F7FF !important;
    caret-color: #E6F7FF !important;
    transition: background-color 9999s ease-in-out 0s !important;		
}

/* =====================================
   CHROME / EDGE AUTOFILL
===================================== */
input:-webkit-autofill,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #E6F7FF !important;
    box-shadow:
    inset 0 0 0 2px #888,
    inset 0 0 0 1000px rgba(20,20,20,0.82) !important;
}

/* Placeholder */
input::placeholder {
    color: var(--theme-color);
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.6));
    opacity: 0.7;
}

/* ===========================
   POPUP BACKDROP
=========================== */
.cs-popup-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.70);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* ===========================
   POPUP BOX
=========================== */
.cs-popup {
    background: rgba(20,20,20,0.95);
    border-radius: 12px;
    padding: 0;
    width: 380px;
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
    animation: popupIn 0.25s ease-out;
}

@keyframes popupIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* HEADER */
.cs-popup-header {
    padding: 10px;
    font-size: 17px;
    font-weight: bold;
    color: white;
    background: rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cs-popup-close {
    background: none;
    border: none;
    font-size: 18px;
    color: white;
    cursor: pointer;
}

/* BODY */
.cs-popup-body {
    padding: 20px;
}

.cs-popup-body input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #555;
    background: #222;
    color: white;
}

/* FOOTER */
.cs-popup-footer {
    padding: 12px;
    text-align: right;
    background: rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.cs-popup-footer .btn {
    margin-left: 8px;
}

/* ==========================================================
   PLAYER AUDIO COMMUN (taille responsive)
========================================================== */
audio {
    border-radius: 6px;
    outline: none;
}

audio::-webkit-media-controls-panel {
    background: rgba(0,0,0,0.35);
}

audio::-webkit-media-controls-play-button {
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}

audio:hover::-webkit-media-controls-play-button {
    background: rgba(255,255,255,0.45);
}

/* ==========================================================
   PLAYER YOUTUBE COMMUN (taille responsive)
========================================================== */
.youtube-embed {
    position: relative;
    margin: 14px auto;
    width: 36%;
    padding: 0;            /* pas de padding, la vidéo colle au cadre */
    border-radius: 10px;
    overflow: hidden;        /* arrondi appliqué à l'iframe */
	box-shadow: 1px 1px 10px 1px #F0F8FF;
}

.youtube-embed iframe {
    display: block;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
}

/* ================================
   YOUTUBE PLAYER — STYLE SHAMAN
================================ */
/* Iframe  — responsive cadrage de couleur */
.youtube-embed .ytvid {
    width: 100%;
    border-radius: 10px;
}

/* Version mobile */
@media (max-width: 600px) {
    .youtube-embed .ytvid {
        height: 260px;
    }
}
.ytvid {
    margin: 12px auto !important; /* CENTRE la vidéo */
    text-align: center;
    display: block;
}

/* ===========================
   Cadre coloré autour
=========================== */
.blue, .youtube-embed   { width: 45%; box-shadow: 0 0 25px #00b8ff; border: 2px solid #00b8ff; border-radius: 12px; }
.green, .youtube-embed  { width: 45%; box-shadow: 0 0 25px #58ff8a; border: 2px solid #58ff8a; border-radius: 12px; }
.orange, .youtube-embed { width: 45%; box-shadow: 0 0 25px #ffaa33; border: 2px solid #ffaa33; border-radius: 12px; }
.red, .youtube-embed    { width: 45%; box-shadow: 0 0 25px #ff2b2b; border: 2px solid #ff2b2b; border-radius: 12px; }

/* ===========================
   BBCode Scoll
   =========================== */
.bb-scroll {
    width: 100%;
    max-width: 500px;
    height: 32px;         /* épaisseur */
    overflow: hidden;
    position: relative;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    white-space: nowrap;  /* 🔥 empêche tout retour à la ligne */
}

.bb-scroll span {
    display: inline-block;
    white-space: nowrap;  /* 🔥 encore pour forcer une seule ligne */
    padding-left: 100%;   /* Start outside box */
    animation: bbscroll 30s linear infinite;
    font-size: 14px;
}

@keyframes bbscroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===========================
   BBCode NF0   
   =========================== */
.nfo-btn {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px 0;
    font-size: 13px;
    font-weight: bold;
    color: var(--theme-light);
    background: rgba(0,0,0,0.45);
    border: 1px solid var(--theme-color);
    border-radius: 6px;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 0 8px var(--theme-shadow);
}

.nfo-btn:hover {
    background: rgba(20,20,20,0.75);
    box-shadow: 0 0 12px var(--theme-color);
    color: white;
}

/* POPUP SHAMAN NFO */
#nfoModalOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
}

#nfoModalBox {
    background: #000;
    border: 2px solid #00ff88;
    border-radius: 12px;
	padding: 10px !important;
    width: 75%;
    max-width: 850px;
    color: #00ff88;
    #font-family: "Courier New", monospace;
    box-shadow: 0 0 25px #00ff88;
    position: relative;
}

/* Bordure intérieure style terminal */
#nfoModalBox::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px solid #00ff88;
    border-radius: 8px;
    opacity: 0.6;
}

/* BOUTON FERMETURE */
#nfoModalClose {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #000;
    border: 2px solid #00ff88;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00ff88;
    font-size: 18px;
    transition: 0.2s ease-in-out;
    box-shadow: 0 0 12px #00ff88;
}

#nfoModalClose:hover {
    background: #00ff88;
    color: #000;
    transform: scale(1.12);
    box-shadow: 0 0 18px #00ff88;
}

/* TEXTE NFO */
#nfoModalContent {
    white-space: pre-wrap;
    font-size: 15px;
    padding-top: 15px;
}

/* ===========================
   BBCode BLICK
   =========================== */
.cs-blink {
    animation: csBlink 0.9s infinite;
}

@keyframes csBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.15; }
}

/* Conteneur général */
.select-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Le vrai select */
.select-wrap select {
    width: 100%;
    padding: 6px 34px 6px 10px;
    background: rgba(20,20,20,0.82);
    border: 1px solid var(--theme-color);
    border-radius: 6px;
    color: #E6F7FF;
    text-transform: uppercase;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* La flèche (inactive) */
.select-wrap::after {
    content: "▼";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #777;   /* gris désactivé */
    transition: 0.25s ease;
    pointer-events: none;
}

/* Lorsque le select reçoit le focus → flèche ▲ verte */
.select-wrap select:focus + .nothing, /* hack pour éviter erreurs */
.select-wrap:focus-within::after {
    content: "▲";
    color: #39FF14; /* vert neon CrazySpirits */
    text-shadow: 0 0 8px rgba(0,255,140,0.8);
    transform: translateY(-50%) rotate(180deg);
}

.bbcode-select option {
    padding: 8px !important;
    font-size: 12px !important;
}

.bbcode-select option[style] {
    color: var(--c) !important;
}
.bbcode-select option {
    background: #111 !important;
    color: var(--c) !important;
}
.bbcode-select {
    width: auto !important;       /* s’adapte au texte */
    display: inline-block !important; /* ne prend pas toute la ligne */
    min-width: unset !important; 
    max-width: unset !important;
    white-space: nowrap;          /* ne coupe pas le texte */
}

/* Glow blanc spécial pour les couleurs sombres */
.bbcode-select option[data-dark="1"] {
    text-shadow: 0 0 4px #fff, 0 0 6px #ccc !important;
}

/* ===========================================
   FIX SELECT / BBCODE — largeur auto + flèche
   =========================================== */
.bbcode-select {
    width: auto !important;             /* largeur selon texte */
    display: inline-block !important;   /* ne prend pas 100% */
    min-width: 120px;                   /* optionnel */
    padding-right: 28px !important;     /* espace pour la flèche */

    /* Supprime le style par défaut (obligatoire pour voir l’image) */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Ajoute ta flèche personnalisée */
    background-image: url("images/bbcodeselect.png");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 14px;

    /* Style interne */
    background-color: rgba(20,20,20,0.8);
    color: var(--blue-main);
    border: 1px solid #555;
    border-radius: 4px;
}

/* Désactive la flèche IE/Edge */
.bbcode-select::-ms-expand {
    display: none;
}

/* Fix Firefox : garder texte visible */
.bbcode-select:-moz-focusring {
    color: var(--blue-main);
    text-shadow: none;
}

/* BBCode Select (Shaman Style) */
.bbcode-select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    width: 260px;                   /* ajuste ce que tu veux */
    padding: 6px 35px 6px 12px;     /* place pour la flèche */
    background: rgba(0,0,0,0.85);
    border: 2px solid var(--blue-main);
    border-radius: 8px;
    color: var(--blue-main);
    font-weight: bold;
    #font-family: "Comic Sans MS";
    cursor: pointer;
    position: relative;
}

/* Le conteneur rempli le rôle visuel — on masque la vraie flèche */
.bbcode-select::-ms-expand {
    display: none; /* IE */
}

.bbcode-select-wrapper {
    position: relative;
    display: inline-block;
}

/* ▼ fermé */
.bbcode-select-wrapper::after {
    content: "⮛";
    position: absolute;
    right: 12px;
    top: 52%;
    transform: translateY(-50%);
    font-size: 11px;
    /* couleur flèche (sécurisée) */
    color: var(--select-arrow, var(--theme-color, #ccc));
    /* ombre compatible W3C */
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

/* ▲ ouvert – fallback */
.bbcode-select-wrapper:focus-within::after {
    content: "⮙";
    font-size: 15px;
    color: var(--select-arrow, var(--theme-color, #ccc));
    text-shadow: 0 0 14px rgba(255,255,255,0.8);
}

/* navigateurs modernes */
@supports (color: color-mix(in srgb, red, white)) {
    .bbcode-select-wrapper:focus-within::after {
        text-shadow: 0 0 14px color-mix(
            in srgb,
            var(--select-arrow, #ccc) 85%,
            white
        );
    }

/* Options internes */
.bbcode-select option {
    background: #111;
    /* si tu utilises --c sur chaque option : */
    color: var(--c, var(--blue-main));
}

/*TABLEAU TOP*/
.tableau_top {
    position: relative;
}

.tableau_top::before {
    content: "";
    position: absolute;
    inset: -10px -20px;
    z-index: -1;

    background:
        radial-gradient(
            circle at center,
            rgba(255,255,255,0.08),
            transparent 65%
        );
}

.tableau_top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15px;   /* ajuste la hauteur ici */
    gap: 8px;
}
.tableau_top { padding-top: 15px; }

/* Lignes */
.torrent-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
}

/* Items */
.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Icônes */
.stat-item i {
    font-size: 13px;
    opacity: 0.85;
}

/* Valeurs */
.stat-item .value {
    font-size: 12px;
    font-weight: 600;
}

/* Couleurs chiffres */
.value.green { color: #4CAF50; }
.value.red   { color: #E53935; }
.value.gray  { color: #ccc; }

/* Date */
.value.nowrap {
    white-space: nowrap;
}

/* Santé */
.stat-item img {
    height: 10px;
}

/*STATS – CHIFFRES COULEUR SEULEMENT*/
/* Reset TOTAL des icônes dans les stats */
.torrent-stats i {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    text-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ccc; /* icônes neutres */
}

/* Chiffres UNIQUEMENT colorés */
.torrent-stats .value {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    text-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 600;
}

/* Couleurs chiffres */
.torrent-stats .value.green {
    color: #4CAF50 !important; /* seed */
}

.torrent-stats .value.red {
    color: #E53935 !important; /* leech */
}

/*TABLEAU TOP – FREELEECH*/
/* Ligne secondaire */
.torrent-stats.line-secondary {
    margin-top: 6px;
    justify-content: center;
}

/* Badge freeleech */
.torrent-stats.freeleech img {
    height: 18px;         /* ajuste taille ici */
    opacity: 0.95;
}

/* Optionnel : léger glow clean */
.torrent-stats.freeleech img {
    filter: drop-shadow(0 0 4px rgba(0,255,0,0.35));
}

/*TABLEAU TOP – FINAL*/

.tableau_top {
    padding-top: 14px; /* monte légèrement le bloc */
}

/* Ligne principale */
.torrent-stats.line-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Ligne secondaire (freeleech, badges) */
.torrent-stats.line-secondary {
    margin-top: 6px;
    justify-content: center;
}

/* Items */
.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Date À GAUCHE (sans toucher HTML) */
.torrent-stats.line-main .fa-calendar-times-o {
    order: -1;
    margin-right: 12px;
    opacity: 0.75;
}

/* Chiffres uniquement */
.value.green { color: #4CAF50; }
.value.red   { color: #E53935; }

/* Freeleech */
.torrent-stats.freeleech img {
    height: 18px;
    filter: drop-shadow(0 0 4px rgba(0,255,0,0.35));
}

/*TABLEAU DOWN – STYLE FINAL*/
/* Cadre principal */
fieldset.download {
    margin-top: 28px;
    padding: 22px 26px;

    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;

    box-shadow: inset 0 0 30px rgba(0,0,0,0.45);
}

/* Supprime le style fieldset par défaut */
fieldset.download legend {
    display: none;
}

/* Table interne */
fieldset.download table {
    width: 100%;
    border-collapse: collapse;
}

/* Lignes */
fieldset.download tr {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

fieldset.download tr:last-child {
    border-bottom: none;
}

/* Cellules */
fieldset.download td {
    padding: 6px 8px;
    vertical-align: top;
    font-size: 13px;
}

/*Colonne gauche (labels)*/
fieldset.download td:first-child {
    width: 180px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    text-align: left;
}

/*Colonne droite (valeurs)*/
fieldset.download td:last-child {
    color: rgba(255,255,255,0.95);
}

/*Description*/
fieldset.download td[colspan="2"] {
    padding-top: 10px;
    padding-bottom: 12px;
    line-height: 1.45;
}

/*Bouton NFO*/
.btn-nfo-image {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    background: rgba(0,120,255,0.25);
    color: #cfe8ff;
    text-decoration: none;
}

.btn-nfo-image:hover {
    background: rgba(0,120,255,0.45);
}

/* ================================
   Torrent Details Info Box
================================ */
.torrent-details-box {
    width: 100%;
    max-width: 100%;
    margin: 10px auto;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid var(--theme-color);
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15));
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
}

/* Table rows */
.torrent-details-box tr {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Cells */
.torrent-details-box td {
    padding: 6px 8px;
    vertical-align: middle;
    font-size: 14px;
}

/* Titles (left column) */
.torrent-details-box td:first-child {
    color: var(--theme-color);
    font-weight: bold;
    width: 160px;
    white-space: nowrap;
}

/* Values (right column) */
.torrent-details-box td:last-child {
    color: #f1f1f1;
}

/* Hover effect */
.torrent-details-box tr:hover {
    background: rgba(255,255,255,0.04);
}

.torrent-details-box {
    animation: fadeInDetails 0.4s ease-in-out;
}

@keyframes fadeInDetails {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* NFO button */
.btn-nfo-image {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--theme-color);
    color: #000;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.btn-nfo-image:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 8px var(--theme-color);
}

/* Language flag */
.torrent-details-box img {
    vertical-align: middle;
    margin-left: 6px;
    border-radius: 4px;
}


/* === VIDEO RESPONSIVE CLEAN === */
.shout-video {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 16px auto;
    aspect-ratio: 16 / 9;      /* 🔥 moderne, plus fiable */
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.55);
}

/* iframe YouTube */
.shout-video iframe {
    position: absolute;
    inset: -8%;                /* 🔥 clé anti bandes noires */
    width: 100%;
    height: 100%;
    border: 0;
	padding: 6px;
}

/* Glow thème */
.shout-video.ytvid {
    box-shadow: 0 0 14px var(--theme-color);
}

/* CLICKABLE VIDEO */
.shout-video a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

/* Overlay invisible (capte le clic sans casser l'iframe) */
.shout-video .video-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: transparent;
}

/* Curseur */
.shout-video:hover {
    box-shadow: 0 0 18px var(--theme-color);
}

/* ============================
    Next / Previous Torrent
============================ */
.next-torrent-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.nt-col {
    width: 33.33%;
    text-align: center;
}

.img_rev.current {
    border: 2px solid var(--theme-color);
    box-shadow: 0 0 10px rgba(0,0,0,.6);
    transform: scale(1.05);
}

.img_rev.next {
    border: 2px solid var(--theme-color);
    box-shadow: 0 0 10px rgba(0,0,0,.6);
    transform: scale(1.05);
}

.next-title {
    text-align: center;
    margin: 10px 0;
}

.next-torrent-flex {
    #outline: 3px solid red;
}

.next-torrent-flex * {
    #outline: 1px solid lime;
}
.next-torrent-flex {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    justify-items: center;
    gap: 30px;
}

.nt-col {
    min-width: 180px;   /* ← IMPORTANT */
    max-width: 220px;
    text-align: center;
}

.nt-prev:empty {
    visibility: hidden;
}

.next-torrent-flex {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    justify-items: center;
    gap: 40px;
}

.nt-col {
    min-width: 140px;
}

/* Cache proprement la colonne vide */
.nt-prev:empty {
    display: none;
}

/* Re-centre quand prev absent */
.nt-prev:empty + .nt-current {
    grid-column: 1 / span 2;
}
.nt-title {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.2;
    max-width: 160px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.next-torrent-flex a {
    display: inline-block;
    text-decoration: none;
}

/* ===========================
   Spirit Mode inline FIX
=========================== */
.spirit-inline {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* SELECT */
.spirit-inline select.spirit-select {
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    height: 30px;
	padding: 2px 6px;
    box-sizing: border-box;
    display: inline-block !important;
    flex: 0 0 auto !important;
}

/* GO BUTTON */
.spirit-inline .spirit-go {
    height: 30px;
    padding: 0 10px;
    display: inline-block !important;
    flex: 0 0 auto !important;
    white-space: nowrap;
}
/* empêche les règles du block */
.login-block select,
.login-block input {
    float: none !important;
			clear: none !important;
			}																	
.bbcode-smilies {
position: relative;
z-index: 			20;
}
.shaman-brume {
    z-index: 1;
}

.bbcode-smilies,
.bbcode-smilies img {
    pointer-events: auto !important;
    z-index: 9999 !important;
    position: relative !important;
}
.shaman-brume {
    pointer-events: none !important;
}

.robot-row {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.robot-row label {
    font-weight: bold;
    font-size: 13px;
}

.robot-row input[type="text"],
.robot-row select {
    padding: 6px 8px;
    background: #111;
    border: 1px solid #444;
    color: #eee;
    border-radius: 4px;
}
/* ================================
   ROBOT CRAZY — FORM CONTROLS
================================ */
.robot-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

/* inputs & select */
.robot-row input[type="text"],
.robot-row select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #555;

    background: #1e1e1e;
    color: #eee;

    outline: none;
}

/* flèche select bien alignée */
.robot-row select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #f0b400 50%),
        linear-gradient(135deg, #f0b400 50%, transparent 50%);
    background-position:
        calc(100% - 16px) center,
        calc(100% - 11px) center;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    padding-right: 28px;
}
#popup-robot-backdrop input,
#popup-robot-backdrop select {
    width: 100%;
    box-sizing: border-box;
}

.shout-old {
  opacity: .7;
  font-style: italic;
  letter-spacing: .04em;
}


/* Prez IMDB*/
.tmdb-prez {
    margin: 20px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.6);
}

.tmdb-backdrop {
    height: 280px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

.tmdb-container {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.tmdb-poster img {
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.tmdb-info {
    color: #fff;
    max-width: 900px;
}

.tmdb-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.tmdb-meta {
    font-size: 15px;
    color: #f1c40f;
    margin-bottom: 15px;
}

.tmdb-overview {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tmdb-imdb-btn {
    display: inline-block;
    background: #f5c518;
    color: #000;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

/* Video IMDB */
.trailer-box {
    max-width: 680px;
    margin: 25px auto;
    padding: 10px;
}

.trailer-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 25px rgba(255,180,0,0.25);
}

.trailer-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* bouton play */
.trailer-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    color: gold;
    text-decoration: none;
    background: rgba(0,0,0,0.15);
    transition: 0.3s;
}

.trailer-overlay:hover {
    background: rgba(0,0,0,0.4);
    transform: scale(1.05);
}
.trailer-box {
    width: 260px;
    margin-top: 15px;
    text-align: center;
}

.trailer-thumb {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(255,180,0,0.25);
}

.trailer-thumb img {
    width: 100%;
    display: block;
}

.trailer-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: gold;
    background: rgba(0,0,0,0.35);
    transition: 0.3s;
}

.trailer-thumb:hover .trailer-play {
    background: rgba(0,0,0,0.6);
    transform: scale(1.1);
}
.trailer-box {
    width: 260px;
    margin-top: 15px;
}

.trailer-thumb {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(255,180,0,0.25);
}

.trailer-thumb img {
    width: 100%;
    display: block;
}

.trailer-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: gold;
    background: rgba(0,0,0,0.35);
    transition: 0.3s;
}

.trailer-thumb:hover .trailer-play {
    background: rgba(0,0,0,0.6);
    transform: scale(1.1);
}

/* Cadre principal */
.torrent-details-box {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 2px solid var(--theme-color);
    background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.15));
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
}

/* ============================
   SHOUTBOX — CLEAN (CrazySpirits)
   (Overrides finaux — à garder en BAS du theme.css)
============================ */

/* Conteneur messages */
.shoutbox_contain{
    border:0;
    height:350px;
    width:100%;
    overflow-y:auto;
}

/* Lignes */
.shoutbox_noalt,
.shoutbox_alt{
    overflow:visible; /* évite de couper le contenu */
}

/* Cellules (padding seulement, pas de taille ici) */
.shoutbox_noalt td,
.shoutbox_alt td{
    padding:8px 10px;
    border-left:none;
    border-right:none;
    vertical-align:top;
}

/* Avatar (colonne 1) */
/* Override shoutbox avatar size */
.shoutbox_noalt td:first-child,
.shoutbox_alt td:first-child {
    width:126px !important;
    height:138px !important;
    border-radius:4px !important;
}

/* Message (colonne 2) */
.shoutbox-message,
#shout_frame .shoutbox-message{
    display:block;
    max-height:300px;
    overflow-y:auto;
    padding:6px 10px;
    word-wrap:break-word;
    font-size:15px;      /* <- taille ici */
    line-height:1.4;     /* <- interligne ici */
}

/* Espacement des retours (nl2br) */
.shoutbox-message br,
#shout_frame .shoutbox-message br{
    display:block;
    margin-bottom:0.8em;
}

/* Images dans le message (smilies, etc.) */
#shout_frame .shoutbox-message img{
    width:auto;
    height:auto;
    max-height:200px;
    vertical-align:middle;
}

/* Liens */
.shoutbox-message a,
#shout_frame .shoutbox-message a{
    text-decoration:none;
}
.shoutbox-message a:hover,
#shout_frame .shoutbox-message a:hover{
    text-decoration:underline;
}

/* Champ saisie shoutbox - version input */
.shoutbox_msgbox{
    width: 100%;
    height: 30px;
    padding: 1px 10px;
    line-height:1.1;
    font-size: 17px;
    color: #fff;
    background: rgba(0,0,0,0.35);
    border: 1px solid #3aa0ff;
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
}

.shoutbox_msgbox:hover{
    border: 1px solid #777;
}

.shoutbox_msgbox:focus{
    border: 1px solid #4db2ff;
    box-shadow: 0 0 8px rgba(58,160,255,0.35);
}

/* Bouton */
.shoutbox_shoutbtn{
    background-color:AliceBlue;
    border:1px solid #000;
    font-weight:bold;
    outline:none;
}

/* Erreurs */
.shoutbox_error{ color:red; font-size:15px; }

/* ============================
   TORRENT CARD PREMIUM
============================ */
.cs-torrent-card {
    display: flex;
    gap: 25px;
    padding: 20px;
    border: 2px solid var(--theme-color);
    border-radius: 16px;
    background: rgba(0,0,0,0.55);
    box-shadow: 0 0 25px var(--theme-shadow);
    margin-bottom: 30px;
}

/* Pochette */
.cs-torrent-poster {
    width: 220px;
    border-radius: 14px;
    box-shadow: 0 0 20px var(--theme-shadow);
}

/* Colonne droite */
.cs-torrent-right {
    flex: 1;
}

/* Titre */
.cs-torrent-title {
    font-size: 28px;
    color: var(--theme-color);
    margin-bottom: 10px;
}

/* Activité */
.cs-torrent-activity {
    margin-bottom: 15px;
    font-size: 14px;
    opacity: 0.9;
}

/* Infos */
.cs-torrent-infos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Boutons */
.cs-btn {
    background: var(--theme-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 6px;
}

/* Télécharger */
.cs-torrent-download {
    margin-top: 20px;
}

.cs-flag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
    margin-right: 6px;
}

.cs-flag{
  display:inline-block;padding:4px 10px;border-radius:6px;
  font-weight:bold;font-size:12px;margin-right:6px;
}

.cs-doubleup{background:#f1c40f;color:#000;}

.cs-top-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.cs-top-poster img {
    width: 180px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.cs-top-title {
    flex: 1;
}

.cs-top-title h1 {
    margin: 0 0 8px 0;
    font-size: 26px;
}

.cs-top-badges {
    margin-top: 8px;
}

.cs-top-infos {
    margin-top: 10px;
}

.cs-top-download {
    margin-top: 20px;
    text-align: center;
}
.cs-info-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
}
.cs-info-row span:first-child {
    opacity: 0.7;
}
/* ===== FIX BOUTON MERCI ===== */

/* Autorise le clic */
#refresh {
    position: relative !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
}

/* Supprime les overlays qui bloquent */
.cs-topbox::before,
.cs-topbox::after,
.cs-top-layout::before,
.cs-top-layout::after {
    pointer-events: none !important;
}

/* Sécurise le conteneur */
.bouton-staff {
    position: relative !important;
    z-index: 999998 !important;
    pointer-events: auto !important;
}

/* ==========================
   TOOLTIP (zone hover propre)
========================== */
/* zone boutons DVD/CD */
.bb-buttons-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 9999;
}

/* bouton */
.bb-buttons-wrap .mytooltip {
    position: relative;
    display: inline-block;
    z-index: 99999;
}

/* popup rectangulaire */
.bb-buttons-wrap .mytooltip .tooltip-content {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    background: #2b2b2b;
    border: 1px solid var(--theme-color);
    box-shadow: -4px -6px 15px var(--theme-color);
    border-radius: 8px;
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 9999999;
}

/* flèche */
.bb-buttons-wrap .mytooltip .tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: var(--theme-color);
}

/* hover */
.bb-buttons-wrap .mytooltip:hover .tooltip-content {
    opacity: 1;
    pointer-events: auto;
}

/* empêche TT de couper */
.bg_detail_upload,
.myTcell,
.myBlock,
.myBlock-Wrapper,
.slidingDiv,
.cs-description-block {
    overflow: visible !important;
}

/* ==========================
   TOOLTIP DVD / CD — LAYOUT ORIGINAL
========================== */
/* zone boutons DVD/CD */
.bb-buttons-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 99999;
}

/* bouton */
.bb-buttons-wrap .mytooltip {
    position: relative;
    display: inline-block;
    z-index: 999999;
}

/* popup */
.bb-buttons-wrap .mytooltip .tooltip-content {
    position: absolute;
    bottom: 145%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    background: #2b2b2b;
    border: 1px solid var(--theme-color);
    box-shadow: -4px -6px 15px var(--theme-color);
    border-radius: 8px;
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 9999999;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* image petite à gauche */
.bb-buttons-wrap .mytooltip .tooltip-content img {
    width: 110px;
    height: auto;
    border-radius: 3px;
    flex-shrink: 0;
}

/* texte à droite */
.bb-buttons-wrap .mytooltip .tooltip-text {
    font-size: 13px;
    line-height: 20px;
    color: #fff;
}

/* flèche */
.bb-buttons-wrap .mytooltip .tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(50%);
    border: 10px solid transparent;
    border-top-color: var(--theme-color);
}
/* =====================================================
   Boutons BBCode DVD + CD
===================================================== */

.bb-buttons-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* conteneur bouton */
.bb-buttons-wrap .mytooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

/* icône */
.bb-buttons-wrap .mytooltip i {
    font-size: 22px;
    color: var(--theme-color);
    transition: transform .15s ease;
}

.bb-buttons-wrap .mytooltip:hover i {
    transform: scale(1.15);
}

/* ================= Tooltip ================= */

.bb-buttons-wrap .mytooltip .tooltip-content {
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    background: #2b2b2b;
    border: 1px solid var(--theme-color);
    box-shadow: 0 0 15px var(--theme-shadow);
    border-radius: 8px;
    padding: 12px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;   /* 🔥 empêche de bloquer les clics */
    transition: opacity .2s ease;

    z-index: 999999;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* image */
.bb-buttons-wrap .mytooltip .tooltip-content img {
    width: 90px;
    height: auto;
    border-radius: 6px;
}

/* texte */
.bb-buttons-wrap .mytooltip .tooltip-text {
    font-size: 12px;
    line-height: 18px;
    color: #fff;
}

/* affichage UNIQUEMENT quand on est sur le bouton */
.bb-buttons-wrap .mytooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}


/* 4) Tooltip caché */
.bb-buttons-wrap .mytooltip .tooltip-content {
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    position: absolute;
    left: 50%;
    bottom: 145%;
    transform: translateX(-50%);
    z-index: 99999999;
}

/* 5) Tooltip visible UNIQUEMENT si on hover icône OU label */
.bb-buttons-wrap .mytooltip > i:hover ~ .tooltip-content,
.bb-buttons-wrap .mytooltip > .bb-label:hover ~ .tooltip-content {
    opacity: 1;
    pointer-events: auto;
}
.bb-buttons-wrap .mytooltip {
    text-align: center;
}
body.torrents-details .bb-buttons-wrap .mytooltip > i:hover ~ .tooltip-content,
body.torrents-details .bb-buttons-wrap .mytooltip > .bb-label:hover ~ .tooltip-content {
    opacity: 1;
    visibility: visible;
}

/* CRAZYSPIRITS SHOUTBOX IMG FIX */
.shoutbox img,
.chatbox img,
.shoutbox img.bb-image,
.chatbox img.bb-image {
    max-height: none !important;
    max-width: 95% !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}

/* FIX bouton THANKS */
.cs-thanks-btn,
#refresh,
.bouton-thanks {
    position: relative;
    z-index: 9999 !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

/* Empêche les overlays de bloquer */
.bouton-thanks::before,
.bouton-thanks::after {
    pointer-events: none !important;
}

/* =======================
   CRAZY AUDIO MODE
======================= */
.crazy-audio-box{
	width:80%;
    margin:15px 0;
    padding:15px;
    background: rgba(0,0,0,0.55);
    border-radius:12px;
    border-bottom: 1px solid var(--theme-shadow);
    box-shadow: 0 0 25px var(--theme-shadow);
    text-align:center;
	transform: translateY(-16px);
}

.crazy-audio-box {
    margin:0 0 10px;
    color:var(--theme-color);
    text-shadow:0 0 6px var(--theme-shadow);
}

.crazy-audio-box audio{
    width:100%;
    max-width:500px;
}

.audiodl  {  
	padding: 4px 15px 4px 15px;
}

.cs-audio-actions{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:8px;
}

.cs-audio-actions a{
    display:inline-block;
    text-decoration:none;
}

.cs-video-btn,
.audiodl{
    min-width:220px;
    text-align:center;
}

.cs-discogs-audio{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

/* =====================
   CRAZY TIPPY FINAL FIX
===================== */
.tippy-box[data-theme^="crazy"] {
    background: rgba(0,0,0,0.95) !important;
    border: 2px solid var(--theme-color) !important;
    box-shadow: 0 0 15px var(--theme-shadow);
    border-radius: 12px;
    color: #fff !important;
    font-family: "Comic Sans MS", Arial, sans-serif;
    font-size: 12px;
}

/* Contenu */
.tippy-box[data-theme^="crazy"] .tippy-content {
    padding: 10px 12px;
    text-align: center;
}

/* AUDIO */
.tippy-box[data-theme="crazyaudio"] audio {
    width: 350px;
    margin-top: 6px;
}

/* FIX taille popup audio */
.tippy-box[data-theme="crazyaudio"] {
    width: 430px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px !important;
    overflow: visible !important;
}

.tippy-box[data-theme="crazyaudio"] .tippy-content {
    padding: 8px !important;
}

.tippy-box[data-theme="crazyaudio"] audio {
    width: 360px !important;
    max-width: 360px !important;
}

/* ===== FLÈCHE BLANCHE ===== */
.tippy-box[data-theme^="crazy"] .tippy-arrow::before {
    color: #FFF;
}

/* ====== Popup Nom Torrant ====== */
.crazy-tooltip {
    text-align: center;
    line-height: 1.4;
}

.crazy-tooltip h4 {
    margin: 5px 0;
    color: var(--theme-color);
}
/* Taille max tooltip */
.tippy-box[data-theme^="crazy"] {
    max-width: 600px !important;
}

/* Audio responsive */
.tippy-box[data-theme^="crazy"] audio {
    width: 100% !important;
    max-width: 520px;
}

/* MICROTIP CRAZY STYLE */
[role~="tooltip"]::after {
    background: rgba(0,0,0,0.95) !important;
    border: 2px solid var(--theme-color);
    color: #CCC;
    font-family: "Comic Sans MS", Arial;
    box-shadow: 0 0 15px var(--theme-shadow);
    font-size: 14px;
    max-width: 550px;
    white-space: normal;
    text-align: center;
}

/* =====================
   CRAZY CUSTOM TOOLTIP
===================== */
/* TOOLTIP TORRENT */
.tippy-box[data-theme~='crazyaudio'],
.tippy-box[data-theme~='crazy'] {
    width: 430px;
    min-height: 250px;
    height: auto !important;
    padding: 16px;
    background: #0b0f18 url("/themes/SB_SHAMAN/images/tooltip-bg.png") no-repeat center center !important;
    background-size: cover;
    border-radius: 10px;
    border: 1px solid var(--theme-color);
    box-shadow: 0 0 10px var(--theme-shadow);
    overflow: visible !important;
}

 .cs-tooltip-content {
}

.cs-tip-header{
    background: linear-gradient(#000,#222,#444);
	column-span: all;
    color:#FFF;
    padding:6px;
	font-size: 13px;
    text-align:center;
    font-weight:bold;
	border-radius:6px;
}

.cs-tip-body{
    display:flex;
    gap:20px;
    padding:10px;
	#border: 1px solid var(--theme-color);
	#box-shadow: 1px 6px 1px var(--theme-color);
}

.cs-tip-poster img{
    width:140px;
    height:200px;
    object-fit: cover;   /* ⭐ LA MAGIE */
    border-radius:6px;
    border:2px solid var(--theme-color);
}

.cs-tip-info{
    font-size:13px;
    line-height:1.7;
    text-align:left;
    color:#FFF;
}

/* Flèche du tooltip CrazySpirits */
.tippy-box[data-theme~='crazy'] .tippy-arrow::before,
.tippy-box[data-theme~='crazyaudio'] .tippy-arrow::before {
    color: var(--theme-color);   /* couleur du fond du tooltip */
}

.tippy-box[data-theme~='crazy'] .tippy-arrow {
    filter: drop-shadow(0 0 6px rgba(0,180,255,.7));
}

/* FIX TABLE AUDIO: empêche les <th> de se stacker */
.tippy-box[data-theme~='crazyaudio'] {
    width: 400px;
    height: 96px;
    background: #0b0f18 url("/themes/SB_SHAMAN/images/tooltip-bg.png") no-repeat center center !important;
    background-size: cover;
    border-radius: 10px;
    border: 1px solid var(--theme-color);
    box-shadow: 0 0 10px var(--theme-shadow);
    overflow: hidden;
}

.audio-table {
  width: 100%;
  border-collapse: collapse;
}

.audio-table th,
.audio-table td {
  display: table-cell !important;
  float: none !important;
  width: auto !important;
  vertical-align: middle;
}

.audio-table th {
  white-space: nowrap;
}

#container {
    background: red !important;
    border: 5px solid yellow !important;
}

.frame {
    background: lime !important;
}

/* DÉFINIR L'EMPLACEMENT CROISÉ EN TORRENTTABLE */
.showthecross {
	margin-top: -1px;
	margin-right: 0px;
	margin-left: 2px;
	float: left;	
}

/* Maincats_block */
.maincat {
	background: rgba(0,0,0,0.35);
	width:100%;
    height:70%;
    border-radius:6px;
	font-size:10px;
    line-height:1.8;
	border:2px solid var(--theme-color);

}

/* Detail du profil membre */
.detail_fix{
    text-shadow:1px 1px 1px var(--theme-color);
	font-size: 15px; 
	color: #fff;
	box-decoration-break:0 0 1px var(--theme-color);
}

/* ===============================
 AVATAR LOGIN BLOCK - CRAZYSPIRITS
=============================== */
.avatar_login_wrap{
    text-align:center;
}

.avatar_login{
    width:320px;
    height:200px;
    position:relative;
    left:50%;
    transform:translateX(-50%);
    background:url("/images/cadre_avatar.png") center center no-repeat;
    background-size:contain;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

/* Avatar utilisateur */
.avatar_login img{
    width:82px;
    height:116px;
    object-fit:cover;
    object-position:center;
    border-radius:8px;
    display:block;
}

.avatar-login-img.vip-avatar-mini{
    padding:4px;
    border-radius:10px;
    box-sizing:content-box;
}

.avatar-login-img.vip-avatar-mini.frame-crazyfire{
    border:2px solid #ff7800 !important;
    box-shadow:0 0 10px #ff7800 !important;
}

.avatar-login-img.vip-avatar-mini.frame-gold{
    border:2px solid #ffd700 !important;
    box-shadow:0 0 10px #ffd700 !important;
}

.avatar-login-img.vip-avatar-mini.frame-platinum{
    border:2px solid #e5e4e2 !important;
    box-shadow:0 0 10px #e5e4e2 !important;
}

.avatar-login-img.vip-avatar-mini.frame-electric{
    border:2px solid #00bfff !important;
    box-shadow:0 0 10px #00bfff !important;
}

.avatar-login-img.vip-avatar-mini.frame-red{
    border:2px solid #ff3030 !important;
    box-shadow:0 0 10px #ff3030 !important;
}

.avatar-login-img.vip-avatar-mini.frame-dragon{
    border:2px solid #00ff66 !important;
    box-shadow:0 0 10px #00ff66 !important;
}

/* ========================================
   CARTE MEMBRE COMPLETE ACOOUNT-DETAIL
=========================================== 
/* Detail du profil membre (AVATAR-SIGNATURE) */
.signature-avatar-cell {
    display: flex;
    justify-content: center; 
    align-items: center;     
    gap: 8px; 
    padding: 8px;
}

/* ===============================
   AVATAR PROFIL - CRAZYSPIRITS
=============================== */
.avatar_box {
    width:300px;
    height:310px;
    background-image:url('/images/cadre_avatar.png');
    background-position:center;
    background-repeat:no-repeat;
    background-size:contain;
    display:flex;
    align-items:center;
    justify-content:center;
	#border:2px solid red;
}

/* Avatar utilisateur */
.avatar_detail img {
    width:126px;
    height:176px;
    object-fit:cover;
    object-position:center;
    border-radius:8px;
    display:block;
	transform: translate(0px, 3px);
}

/* ===============================
   AVATAR PROFIL - CRAZYSPIRITS
=============================== */
.avatar_box {
    width:300px;
    height:310px;
    background-image:url('/images/cadre_avatar.png');
    background-position:center;
    background-repeat:no-repeat;
    background-size:contain;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Avatar utilisateur */
.avatar_detail img {
    width:126px;
    height:176px;
    object-fit:cover;
    object-position:center;
    border-radius:8px;
    display:block;
    transform:translate(0px, 3px);
}

/* ========================================
   SIGNATURE CARTE COMPLETE ACCOUNT-DETAIL
======================================== */
.signature_box{
    width: 780px;
    height: 250px;
    background-image: url('/images/cadre_signature.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.signature_image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.signature_image img {
    width: 380px !important;
    height: 132px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: fill !important;
	transform: translate(-14px, 0px);
	border-radius: 10px;
}

/* zone interne de la signature
   Plus grande pour remplir le cadre tout en gardant
   un espace visible autour, comme pour l'avatar. */
.avatar_box_detail{
    width: 72% !important;
    height: 62% !important;
    display: flex;
    position: relative;
    left: -10px;   /* léger décalage pour suivre le dessin du cadre */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    box-sizing: border-box;
}

/* image de signature issue du BBCode
   Remplit la zone définie sans laisser de grandes bandes vides. */
.avatar_box_detail img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    margin: 0 auto;
}

/* ========================================
   SIGNATURE LOG ADMINCP
======================================== */
.signature_log_box{
    width: 600px;
    height: 200px;
    background-image: url('/images/cadre_signature.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.signature_log_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.signature_log_inner img {
    width: 300px !important;
    height: 110px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: fill !important;
	transform: translate(-10px, 0px);
	border-radius: 10px;
}

/*Pagfe Teasm */
.signature_log_team{
    width: 380px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    transform: translate(-4%, -1%);
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.signature_log_team img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
      Bouton Rapport Torrent
======================================== */
a.bouton_rapport {
    background: rgba(0,0,0,0.55);
    border-radius: 18px;
    padding: 5px 3px;
    margin: 5px auto;
    box-shadow: 0 0 25px var(--theme-shadow);
    #width: 90%;
    #max-width: 1000px;
    #display: flex;
    #justify-content: space-between;
    #align-items: center;
    position: relative;
	gap: 40px; /* Distance entre avatar et signature */
    z-index: 20;	
}
a.bouton_rapport:hover {
    color: #0ff;
    box-shadow: 0 0 12px var(--theme-color);
    background: linear-gradient(#000,#222);
	
}

.styleboutons {
    display:inline-block;
    cursor: pointer;
    color: #FFF;
    text-align: center;	
    padding: 4px 20px 4px 15px;
    margin: 7px;
    font-size: 12px;
	border: 1px solid var(--theme-color);
    background-color: rgba(80, 80, 80, 1.0);
    border-radius: 5px;
    box-shadow: 1px 1px 20px 1px black;
}

.styleboutons:hover {
    color: #F0F8FF;
    background-color: rgba(85, 85, 85, 0.7);
    box-shadow: 0 0 12px var(--theme-color);
}

.my-passkey {
	color: #F0F8FF;
	font-size: 13px;
	padding: 2px 8px 0 8px;
	border-radius: 5px;
    background: rgba(0,0,0,0.55);
    border: 1px solid var(--theme-color);
}
.my-passkey:hover {
    box-shadow: 0 0 15px var(--theme-shadow);
}

/* ========================================
      MENU PROFIL ACCOUNT
======================================== */
.breadcrumb{
    background: linear-gradient(180deg,#2a2a2a,#1c1c1c);
    border: 1px solid #444;
    border-radius: 8px;
	margin: 6px auto;
    padding: 8px 10px;
    overflow: hidden; /* nettoie les floats */
}

/* liens */
.breadcrumb a{
    text-decoration: none;
}

/* items */
.breadcrumb span{
    float: left;
    margin-right: 10px;
    padding: 6px 8px;
	border: 1px double #777;
    border-radius: 6px;
    background: rgba(255,255,255,.05);
    transition: all .18s ease;
    font-family: "Comic Sans MS", cursive; /* style Crazy 😎 */
    color: #ddd;
}

/* hover */
.breadcrumb span:hover{
    background: rgba(24,25,26,.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(233, 237, 242,.6);
    color: #F7F9FA;
}

/* icônes */
.breadcrumb i{
    margin-right: 4px;
    vertical-align: middle;
}

/* ===== ONGLET ACTIF ===== */
.breadcrumb span.active {
    background: linear-gradient(180deg,#302F2F,#5C5A5A);
    color: #fff;
	border: 1px groove rgba(247, 249, 250, 0.5);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.6);
    transform: none;
    font-weight: bold;
}

/* ========================================
   MAILBOX — CRAZYSPIRITS STYLE FINAL
======================================== */

.mailbox-table{
    width:100% !important;
    border-collapse:collapse !important;
    table-layout:fixed !important;
}

.mailbox-table th,
.mailbox-table td{
    box-sizing:border-box !important;
}

.mailbox-table thead th{
    padding:12px 8px !important;
    vertical-align:middle !important;
}

.mailbox-row td{
    vertical-align:middle !important;
    padding:10px 8px !important;
}

.mail-col-check{
    width:60px !important;
    text-align:center !important;
}

.mail-col-user{
    width:180px !important;
    text-align:center !important;
}

.mail-col-subject{
    text-align:left !important;
}

.mailbox-open-row{
    display:none;
}

.mailbox-open-cell{
    padding:12px 14px !important;
    text-align:left !important;
    box-sizing:border-box !important;
}

.mailbox-open-box{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    padding:14px 16px !important;
    border:1px solid rgba(255,255,255,0.16) !important;
    border-radius:10px !important;
    background:rgba(0,0,0,0.18) !important;
}

.mailbox-open-content{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    overflow-wrap:break-word !important;
    word-wrap:break-word !important;
    word-break:break-word !important;
    white-space:normal !important;
}

/* LE PLUS IMPORTANT */
.mailbox-open-content > div,
.mailbox-open-content > p,
.mailbox-open-content > span{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
}

/* Sécurité pour contenu BBCode */
.mailbox-open-content img{
    max-width:100% !important;
    height:auto !important;
}

.mailbox-open-content table{
    max-width:100% !important;
}

.mailbox-bottom-actions{
    padding:12px 8px !important;
    text-align:left !important;
    border:0 !important;
}

/* ---- Menu breadcrumb mailbox ---- */
.breadcrumb.flat{
    background: linear-gradient(180deg,#2a2a2a,#1c1c1c);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 8px 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,.5);
}

.breadcrumb.flat span{
    float:left;
    margin-right:12px;
    padding:6px 10px;
    border-radius:6px;
    background: rgba(255,255,255,.05);
    transition:.15s;
    color:#ddd;
    font-family:"Comic Sans MS", cursive;
}

.breadcrumb.flat span:hover{
    background: rgba(255,165,0,.18);
    color:#fff;
}

/* ---- Bloc principal ---- */
.f-border{
    background:#1b1b1b;
    border:1px solid #444;
    border-radius:10px;
    padding:12px;
    box-shadow:0 4px 10px rgba(0,0,0,.5);
}

/* ---- Table messages ---- */
table{
    border-collapse:collapse;
}

/* entêtes */
th{
    background: linear-gradient(#333,#222);
    color:#eee;
    padding:8px;
    border:1px solid #444;
    text-align:center;
}
                                                
/* ---- liens ---- */
a{
    color:#9fd0ff;
}

a:hover{
    color:#fff;
}

/* ---- boutons ---- */
input[type="submit"],
input[type="button"],
input[type="reset"]{
    background: linear-gradient(#444,#222);
    border:1px solid #666;
    color:#eee;
    padding:6px 12px;
    border-radius:6px;
    cursor:pointer;
    transition:.15s;
}

input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover{
    background: linear-gradient(#ff8c00,#cc6f00);
    border-color:#ff8c00;
    color:#fff;
}

/* ---- champs texte ---- */
input[type="text"],
textarea{
    background:#111;
    border:1px solid #444;
    color:#eee;
    padding:6px;
    border-radius:6px;
}

/* ---- indicateur messages non lus ---- */
.unread{
    font-weight:bold;
    color:#ffb347;
}

/* ---- responsive safe ---- */
img{
    max-width:100%;
}

/* ✅ overlay/backdrop - IMPORTETN BBCODE SHOPUTBOX*/
.cs-popup-backdrop{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  z-index:999999;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.cs-popup-box{
  background:#1a1612;
  border:2px solid #c48b2a;
  width:420px;
  margin:10% auto;
  padding:25px;
  border-radius:8px;
  color:#e6d3a3;
  text-align:center;
}

.cs-popup-box input{
  width:90%;
  padding:10px;
  margin:10px 0;
  background:#0f0f0f;
  border:1px solid #c48b2a;
  color:#fff;
}

.cs-popup-box button{
  background:#d18f1f;
  border:none;
  padding:10px 18px;
  font-weight:bold;
  cursor:pointer;
  border-radius:6px;
}

.cs-popup-close{
  float:right;
  cursor:pointer;
  font-size:18px;
}

/* Bouton invitation */
.cs-btn-invite{
  background:#d18f1f;
  color:#000;
  font-weight:bold;
  padding:10px 18px;
  border:none;
  border-radius:6px;
  cursor:pointer;
  font-size:14px;
  transition:0.2s;
}

.cs-btn-invite:hover{
  background:#f0a830;
  transform:translateY(-1px);
}

/* ===== CrazySpirits Request Comments ===== */

.cs-req-comments{
    margin-top:20px;
}

/* bloc commentaire */
.cs-req-comment{
    display:flex;
    gap:12px;
    margin-bottom:14px;
    padding:12px;

    background:rgba(0,0,0,0.55);
    border:1px solid #c8bfa8;
    border-radius:8px;

    box-shadow:
        inset 0 0 12px rgba(0,0,0,.8),
        0 0 6px rgba(0,0,0,.6);
}

/* avatar */
.cs-req-avatar img{
    width:60px;
    height:70px;
    border-radius:8px;
    border:2px solid var(--theme-color);
    object-fit:cover;
}

/* body */
.cs-req-body{
    flex:1;
}

/* header */
.cs-req-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:6px;
    font-size:13px;
}

/* date */
.cs-req-date{
    color:#c9c9c9;
    font-size:11px;
    opacity:.8;
}

/* texte */
.cs-req-text{
    color:#e6e6e6;
    font-size:14px;
    line-height:1.4;
    word-wrap:break-word;
}

/* IMPORTANT: ne doit jamais bloquer les clics */
.shaman-brume{
  pointer-events: none !important;
}

/* s'assure que les popups passent au-dessus de tout 
.cs-popup-backdrop{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  z-index:99999;
  align-items:center;
  justify-content:center;
}

.cs-popup{
  background:#1a1612;
  border:1px solid #3a2e22;
  border-radius:10px;
  width:min(520px,92vw);
  color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.6);
}
*/

/* BBCODE [hide] - cacher message sur bouton */
.bb-hide { margin: 10px 0; }
.bb-hide-btn { cursor:pointer; padding:4px 10px; }
.bb-hide-content { padding:8px; border:1px solid rgba(255,255,255,.15); border-radius:6px;margin:10px; }

.bb-hide-content{
  padding:8px;
  margin:10px 0;
  border:1px solid rgba(255,255,255,.15);
  border-radius:6px;

  text-align:left;
  line-height:1.55;
  font-size:14px;
  /* option "livre" */
  font-family: Georgia, "Times New Roman", serif;
}

.bb-hide-content{
  text-align:left;
  line-height:1.6;
  font-size:14px;
}
.bb-hide-toggle{
  padding:4px 10px;
  cursor:pointer;
  border-radius:4px;
  background:#1a1a1a;
  border:1px solid rgba(255,255,255,.2);
}

.cs-cinema-video--off{
  opacity: .45;
  cursor: not-allowed;
}

.cs-tube-disabled{
  text-decoration: none;
}

.bb-hide-content {
    transition: all 0.3s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}
.bb-hide-content.open {
    opacity: 1;
    max-height: 500px;
}

/* Donation */
.donor-star{
margin-left:4px;
vertical-align:middle;
height:18px;
}

.don5{border:2px solid #C0C0C0;}
.don10{border:2px solid #FFD700;}
.don15{border:2px solid #66cc66;}
.don20{border:2px solid #33ccff;}
.don30{border:2px solid #3399ff;}
.don40{border:2px solid #9966ff;}
.don50{border:2px solid #ff6633;}
.don60{border:2px solid #cc0000;}
.don100{border:2px solid #ff00ff;}

.donate-tier img {
    transition: transform 0.2s ease, filter 0.2s ease;
}

.donate-tier img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px gold);
}

.donor-life{
    border: 1px solid rgba(255,215,0,0.35);
    background: linear-gradient(180deg, rgba(55,45,10,0.96), rgba(25,20,5,0.96));
}

.donor-life .donor-countdown-title{
    color: #ffd54a;
}

/* VIP 30 JOURS POUR DES POINTS */
.vip-history-box{
    width: 92%;
    margin: 8px auto 14px auto;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(35,25,10,0.96), rgba(20,14,8,0.96));
    border: 1px solid rgba(255,215,120,0.35);
    box-shadow: 0 0 14px rgba(0,0,0,0.25);
    color: #fff7df;
    text-align: left;
}

.vip-history-title{
    font-size: 18px;
    font-weight: bold;
    color: #ffd86b;
    margin-bottom: 8px;
}

.vip-history-line{
    margin: 4px 0;
    font-size: 14px;
}

.vip-history-time{
    color: #7dffb2;
    font-weight: bold;
    font-size: 16px;
}

/* CATEGORIES STYLE 2026 */
.cs-cat-roll{
    position: relative;
    display: inline-block;
    width: 54px;
    height: 44px;
    vertical-align: middle;
    text-decoration: none;
    overflow: visible;
    z-index: 1;
}

/* image fermée */
.cs-cat-roll::before{
    content: "";
    position: absolute;
    inset: 0;
    background: url('/images/categories/scroll_closed_mini.png') center center / contain no-repeat;
    opacity: 1;
    transition: opacity 0.18s ease;
}

/* image ouverte en overlay */
.cs-cat-roll::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 84px;
    height: 50px;
    transform: translateX(-50%) scaleX(0.55);
    transform-origin: center center;
    background: url('/images/categories/scroll_open_mini.png') center center / contain no-repeat;
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
    pointer-events: none;
    z-index: 2;
}

.cs-cat-roll:hover{
    z-index: 50;
}

.cs-cat-roll:hover::before{
    opacity: 0;
}

.cs-cat-roll:hover::after{
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.cs-cat-roll-label{
    position: absolute;
    left: 50%;
    top: 50%;
    /* 🔥 CENTRAGE RÉEL */
    transform: translate(-50%, -22%); /*-22% pour centrer l'écrit */
    display: block;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    color: #4a2a12;
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
    white-space: nowrap;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.cs-cat-roll{
    position: relative;
    display: inline-flex; /* 🔥 change inline-block → flex */
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 44px;
}
.cs-cat-roll:hover .cs-cat-roll-label{
    opacity: 1;
}

.cs-cat-roll:hover::after{
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

/*Youtube Page*/
.youtube-thumb {
    width: 160px;
    height: 90px;
    border-radius: 6px;
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
}

.youtube-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(76,175,80,0.7); /* vert CrazySpirits */
}

/* bouton play overlay */
.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
}

.yt-play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #fff;
}

/* Épinglage shoutbox */
#shoutbox_ms tr.pinned-row td:last-child {
    position: relative;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.22) 0px,
        rgba(255, 215, 0, 0.09) 55px,
        transparent 100%
    ) !important;
    padding-left: 22px !important;
}

#shoutbox_ms tr.pinned-row td:last-child::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 6px;
    background: linear-gradient(to bottom, #fff2a0, gold, orange);
    border-radius: 6px;
    box-shadow:
        0 0 6px gold,
        0 0 14px orange,
        0 0 24px rgba(255, 215, 0, 0.8);
    z-index: 5;
}

#shoutbox_ms tr.pinned-row td:last-child::after {
    content: "📌 ÉPINGLÉ";
    position: absolute;
    top: 22px;
    right: 12px;
	padding: 4px;
	transform: translate(0%, 40%);
    font-size: 10px;
    font-weight: bold;
    color: gold;
    text-shadow: 0 0 6px #000, 0 0 8px gold;
    opacity: 0.9;
}

.shoutbox-message {
    margin-top: 12px;
    font-size: 18px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
}

/* =========================================
   SWITCH COULEUR ACTIF — Halo lampe
   ========================================= */
body.theme-blue #switchs a.blue,
body.theme-green #switchs a.green,
body.theme-orange #switchs a.orange,
body.theme-red #switchs a.red {
	position: relative;
	opacity: 1;
	transform: scale(1.06);
	z-index: 2;
}

/* halo arrière */
body.theme-blue #switchs a.blue::before,
body.theme-green #switchs a.green::before,
body.theme-orange #switchs a.orange::before,
body.theme-red #switchs a.red::before {
	content: "";
	position: absolute;
	top: 50%;
    left: 50%;
	width: 18px;
	height: 18px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	filter: blur(5px);
	opacity: 0.95;
	z-index: -1;
}

/* BLEU */
body.theme-blue #switchs a.blue::before {
	background: radial-gradient(circle,
		rgba(94,162,255,0.95) 0%,
		rgba(94,162,255,0.35) 45%,
		rgba(94,162,255,0) 100%);
}

/* VERT */
body.theme-green #switchs a.green::before {
	background: radial-gradient(circle,
		rgba(103,255,143,0.95) 0%,
		rgba(103,255,143,0.35) 45%,
		rgba(103,255,143,0) 100%);
}

/* ORANGE */
body.theme-orange #switchs a.orange::before {
	background: radial-gradient(circle,
		rgba(255,179,71,0.95) 0%,
		rgba(255,179,71,0.35) 45%,
		rgba(255,179,71,0) 100%);
}

/* ROUGE */
body.theme-red #switchs a.red::before {
	background: radial-gradient(circle,
		rgba(245, 44, 44,0.95) 0%,
		rgba(245, 44, 44,0.35) 45%,
		rgba(245, 44, 44,0) 100%);
}
#simplesearch input[type="text"] {
	border: 1px solid black;
	#border: 1px solid rgba(90,90,90,0.85) !important;
	#background-color: rgba(20,20,20,0.45);
	#box-shadow:
		inset 0 0 3px rgba(255,255,255,0.05),
		0 0 2px rgba(0,0,0,0.55);
	border-radius: 7px;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

/* hover/focus léger */
#simplesearch input[type="text"]:hover,
#simplesearch input[type="text"]:focus {
	border-color: rgba(140,140,140,0.95) !important;
	box-shadow:
		inset 0 0 4px rgba(255,255,255,0.08),
		0 0 6px rgba(0,0,0,0.65);
}


/* Block Info tracker */
.stats-line{
    display:block;
    font-size:13px;
    line-height:4px;
    color: var(--theme-color);
    padding-left:8px;
}

.stats-line b{
    color:#ffffff;
    font-weight:bold;
}

.block small{
    font-size:12px !important;
    line-height:4px !important;
    display:block;
}
small{
    font-size:12px !important;
    line-height:4px !important;
}

.block small{
    font-size:12px !important;
    line-height:4px !important;
    color:#ff8c00;
}

.block small b{
    color:#ffffff;
}


/* Similar Torrents - Cover popup au-dessus */
.similar_hover_poster {
    position: absolute !important;
    z-index: 999999 !important;
    display: none;
    pointer-events: none;
}

.similar_hover_poster img {
    max-width: 220px !important;
    max-height: 330px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border: 2px solid var(--theme-color);
    border-radius: 6px;
    box-shadow: 0 0 18px var(--theme-shadow), 0 0 35px rgba(0,0,0,.9);
    background: #000;
}

.similar-title-wrap,
.similar-title,
.cs-similar-title {
    position: relative !important;
    overflow: visible !important;
}

.table_table,
.ttable_headinner,
.ttable_col1,
.ttable_col2,
.ttable_colx {
    overflow: visible !important;
}

#similarPosterPopup {
    position: fixed !important;
    display: none;
    z-index: 2147483647 !important;
    pointer-events: none !important;
    background: rgba(15,15,15,0.96) !important;
    border: 2px solid var(--theme-color) !important;
    border-radius: 10px !important;
    padding: 6px !important;
    box-shadow: 0 0 18px var(--theme-shadow) !important;
}

#similarPosterPopup img {
    display: block !important;
    width: 180px !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 6px !important;
}

/* Table detail upload */
.bg_detail_upload {
	background-image: url('images/SB_bg_upload.png');
	background-repeat: repeat-x;
	background-position: center;
	background-size: 100% 100%, cover;
    border: 1px solid var(--theme-color);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-radius: 5px !important;
    box-shadow: 1px 1px 10px 1px var(--theme-shadow);
    padding: 6px 10px;
    color: var(--theme-light);
    transition: 0.25s ease;
    /* Centrage */
    text-align: center;
    vertical-align: middle;
}

.bg_detail_upload_2 {
    font-size: 13px;
    color: white;
    text-shadow: 3px 3px 6px #000000;
    /* Centrage */
    text-align: center;
}

/* ==================================================
   EDIT TORRENT - Alignement propre final
================================================== */

.bg_detail_upload {
    table-layout: fixed !important;
    width: 80% !important;
    text-align: initial !important;
}

/* Colonne gauche */
.bg_detail_upload tr > td:first-child {
    width: 38% !important;
    text-align: right !important;
    vertical-align: middle !important;
    padding-right: 20px !important;
    white-space: nowrap !important;
}

/* Colonne droite : on ne centre PLUS dedans */
.bg_detail_upload tr > td:nth-child(2) {
    width: 62% !important;
    text-align: left !important;
    vertical-align: middle !important;
    padding-left: 8px !important;
}

/* Champs principaux */
.bg_detail_upload tr > td:nth-child(2) input[type="text"],
.bg_detail_upload tr > td:nth-child(2) input[type="url"],
.bg_detail_upload tr > td:nth-child(2) input[type="file"],
.bg_detail_upload tr > td:nth-child(2) select {
    width: 350px !important;
    max-width: 350px !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Les boîtes info */
.bg_detail_upload tr > td:nth-child(2) label,
.bg_detail_upload tr > td:nth-child(2) .upload-info,
.bg_detail_upload tr > td:nth-child(2) div[style*="width:333px"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
}

/* Les blocs flex avec loupe */
.bg_detail_upload tr > td:nth-child(2) div[style*="display:flex"] {
    justify-content: flex-start !important;
}

/* Audio */
.bg_detail_upload audio {
    display: block !important;
    width: 350px !important;
    margin: 10px 0 !important;
}

/* BBCode [CODE] */
.bbcode-code {
    margin: 8px 0;
    padding: 10px 12px;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 4px solid var(--theme-color);
    border-radius: 6px;
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
}

.bbcode-code code {
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
}

/* BBCode [quote] */
.cs_quote_box {
    margin: 8px 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(255,255,255,.08);
    border-left: 4px solid var(--theme-color);
    border-radius: 8px;
    overflow: hidden;
}

.cs_quote_box .quote_name {
    padding: 14px 25px 4px 10px;
    background: rgba(255,255,255,.04);
    font-size: 12px;
    font-weight: bold;
    line-height: 10px;
}

.cs_quote_box .quote_text {
    padding: 4px 12px 8px 10px;
    line-height: 1.35;
}

/* ==========================================================
   SHAMAN 2026 — TEST CINEMATIQUE DOUX
   Ajout volontairement localise au footer : sombre + brume + HUD.
   Aucun changement de structure generale du theme.
   ========================================================== */
.shaman-cinematic-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 92px;
    padding: 18px 22px 16px;
    border: 1px solid rgba(180, 205, 220, 0.18);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(13, 17, 21, 0.82), rgba(2, 4, 7, 0.96)),
        radial-gradient(circle at 50% 0%, rgba(95, 135, 150, 0.13), transparent 58%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 10px 34px rgba(0,0,0,0.28);
}

.shaman-footer-content {
    position: relative;
    z-index: 4;
}

.shaman-footer-mist {
    position: absolute;
    left: -18%;
    bottom: -42px;
    width: 136%;
    height: 115px;
    pointer-events: none;
    z-index: 1;
    background: url('images/brume.png') center bottom / 58% 100% repeat-x;
    opacity: 0.12;
    will-change: transform;
    animation: shamanFooterMist 42s linear infinite;
}

.shaman-footer-mist-b {
    bottom: -54px;
    opacity: 0.07;
    transform: scaleX(-1);
    animation-duration: 58s;
    animation-direction: reverse;
}

.shaman-footer-hud {
    position: absolute;
    z-index: 2;
    left: 7%;
    right: 7%;
    bottom: 12px;
    height: 1px;
    pointer-events: none;
    opacity: 0.34;
    background: linear-gradient(90deg,
        transparent,
        rgba(150,190,205,0.20) 12%,
        rgba(205,225,230,0.55) 50%,
        rgba(150,190,205,0.20) 88%,
        transparent);
    box-shadow: 0 0 10px rgba(140,190,205,0.12);
}

@keyframes shamanFooterMist {
    0%   { transform: translate3d(-5%, 0, 0); }
    50%  { transform: translate3d(5%, -3px, 0); }
    100% { transform: translate3d(-5%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .shaman-footer-mist { animation: none; }
}

/* =========================================
   BATMAN — BOÎTE À MESSAGES
========================================= */

.cs-mailbox-overview{
    width:84%;
    max-width:980px;
    margin:18px auto 28px auto;
    padding:18px;
    box-sizing:border-box;
    border:1px solid rgba(214,168,98,.32);
    border-radius:10px;
    background:
        linear-gradient(145deg,rgba(28,24,20,.52),rgba(5,5,6,.58));
    box-shadow:
        inset 0 0 22px rgba(0,0,0,.46),
        0 0 12px rgba(183,123,63,.12);
}

/* 2 boutons par ligne */
.cs-mailbox-overview-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

/* Bouton / carte */
.cs-mailbox-card{
    display:flex !important;
    align-items:center;
    min-height:68px;
    padding:10px 14px;
    box-sizing:border-box;
    text-align:left;
    color:#d8d1c6 !important;
    border:1px solid rgba(214,168,98,.34);
    border-radius:7px;
    background:
        linear-gradient(
            180deg,
            rgba(63,55,45,.50),
            rgba(18,16,14,.68)
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 2px 7px rgba(0,0,0,.28);
    transition:
        transform .20s ease,
        border-color .20s ease,
        background .20s ease,
        box-shadow .20s ease;
}

/* Hover */
.cs-mailbox-card:hover{
    color:#f2e6d2 !important;
    border-color:rgba(214,168,98,.72);
    background:
        linear-gradient(
            180deg,
            rgba(92,68,42,.60),
            rgba(24,19,15,.78)
        );
    box-shadow:
        inset 0 0 8px rgba(214,168,98,.06),
        0 4px 9px rgba(0,0,0,.30);
    transform:translateY(-1px);
}

/* Icône ronde à gauche */
.cs-mailbox-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    flex:0 0 42px;
    margin-right:12px;
    color:#d6a862;
    font-size:19px;
    border:1px solid var(--theme-color);
    border-radius:50%;
    background:rgba(0,0,0,.24);
}

/* Zone texte */
.cs-mailbox-card-text{
    display:flex;
    min-width:0;
    flex:1 1 auto;
    flex-direction:column;
    line-height:1.3;
}

.cs-mailbox-card-text strong{
    color:#e5ddd0;
    font-size:14px;
    font-weight:bold;
}

.cs-mailbox-card-text small{
    margin-top:3px;
    color:#aaa298;
    font-size:12px;
}

/* Badge compteur */
.cs-mailbox-badge{
    margin-left:10px;
    padding:4px 8px;
    white-space:nowrap;
    font-size:11px;
    font-weight:bold;
    border-radius:12px;
}

/* Non lus */
.cs-mailbox-unread{
    color:#ff6b62;
    border:1px solid var(--theme-color);
    background:rgba(90,0,0,.25);
}

/* Envoyer un message */
.cs-mailbox-compose{
    border-color:var(--theme-color);
}

/* Responsive */
@media (max-width:900px){
    .cs-mailbox-overview{
        width:94%;
    }

    .cs-mailbox-overview-grid{
        grid-template-columns:1fr;
    }
}

/* ==========================================================
   SHAMAN — MAILBOX FINAL
   Palette neutre grise + accents dynamiques du thème.
   Compatible avec les 4 couleurs Shaman via --theme-color.
========================================================== */

.breadcrumb,
.breadcrumb.flat {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.breadcrumb span,
.breadcrumb.flat span {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    text-align: center !important;
}

.cs-mailbox-overview {
    width: 84% !important;
    max-width: 980px !important;
    margin: 18px auto 28px auto !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(145,145,145,.48) !important;
    border-radius: 10px !important;
    background: linear-gradient(145deg, rgba(32,32,32,.72), rgba(7,7,7,.80)) !important;
    box-shadow: inset 0 0 22px rgba(0,0,0,.48), 0 0 11px rgba(170,170,170,.10) !important;
}

.cs-mailbox-overview-grid {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12px !important;
}

.cs-mailbox-card {
    display: flex !important;
    align-items: center !important;
    min-height: 68px !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
    text-align: left !important;
    color: #d8d8d8 !important;
    border: 1px solid rgba(145,145,145,.48) !important;
    border-radius: 7px !important;
    background: linear-gradient(180deg, rgba(56,56,56,.44), rgba(17,17,17,.72)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 2px 7px rgba(0,0,0,.30) !important;
    transition: transform .20s ease, border-color .20s ease, background .20s ease, box-shadow .20s ease !important;
}

.cs-mailbox-card:hover {
    color: #fff !important;
    border-color: var(--theme-color) !important;
    background: linear-gradient(180deg, rgba(68,68,68,.56), rgba(20,20,20,.82)) !important;
    box-shadow: inset 0 0 7px rgba(255,255,255,.04), 0 0 9px var(--theme-shadow), 0 4px 9px rgba(0,0,0,.32) !important;
    transform: translateY(-1px);
}

.cs-mailbox-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    margin-right: 12px !important;
    color: var(--theme-color) !important;
    font-size: 19px !important;
    border: 1px solid rgba(155,155,155,.58) !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,.30) !important;
    box-shadow: inset 0 0 5px rgba(255,255,255,.03), 0 0 5px rgba(0,0,0,.38) !important;
}

.cs-mailbox-card:hover .cs-mailbox-icon {
    border-color: var(--theme-color) !important;
    box-shadow: 0 0 7px var(--theme-shadow) !important;
}

.cs-mailbox-card-text {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    line-height: 1.3 !important;
}

.cs-mailbox-card-text strong {
    color: #e7e7e7 !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

.cs-mailbox-card-text small {
    margin-top: 3px !important;
    color: #aaa !important;
    font-size: 12px !important;
}

.cs-mailbox-badge {
    margin-left: 10px !important;
    padding: 4px 8px !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    font-weight: bold !important;
    border-radius: 12px !important;
}

.cs-mailbox-unread {
    color: #ff6b62 !important;
    border: 1px solid rgba(150,150,150,.58) !important;
    background: rgba(75,0,0,.24) !important;
}

.cs-mailbox-compose {
    border-color: var(--theme-color) !important;
}

@media (max-width:900px) {
    .cs-mailbox-overview {
        width: 94% !important;
    }

    .cs-mailbox-overview-grid {
        grid-template-columns: 1fr !important;
    }

    .breadcrumb,
    .breadcrumb.flat {
        gap: 7px !important;
    }
}

/* ========================================
   ACCOUNT — 2e rangée du menu
======================================== */
.breadcrumb .account-tools-row {
    gap: 10px;
    margin-top: 8px;
}

.breadcrumb .account-tools-row a {
    display: inline-flex;
}

/* =========================================
   DISTINCTIONS DU TEMPLE — petite taille
   ========================================= */
.temple-name-badge {
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
    display: inline-block;
}

/* =========================================
   SHAMAN — DL / UP / RATIO EN BLANC
   ========================================= */
/* Poker uniquement — DL / UP / Ratio lisibles sur le fond sombre */
body.page-poker #infobar font {
    color: #fff !important;
    text-shadow:
        0 1px 2px #000,
        0 0 5px rgba(255,255,255,.35) !important;
}

/* =========================================
   Mode Des Feuilles tombant
   ========================================= */
#switchs li.autumn-leaves-switch{
    padding-left:6px;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}

#switchs .autumn-leaves-switch #autumnLeavesToggle{
    appearance:none !important;
    -webkit-appearance:none !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    width:26px !important;
    height:26px !important;
    min-width:26px !important;
    padding:0 !important;
    margin:0 !important;
    border:1px solid rgba(0,0,0,0.85) !important;
    border-radius:50% !important;
    background: rgba(0, 0, 0, 0.70) !important;
    box-shadow:
        inset 0 0 2px rgba(255,255,255,0.80),
        0 0 2px rgba(0,0,0,0.80) !important;
    outline:none !important;
    overflow:hidden !important;
    font-size:15px !important;
    line-height:1 !important;
    letter-spacing:0 !important;

    cursor:pointer;
}

/* IMPORTANT : enlève la brume globale des boutons */
#switchs .autumn-leaves-switch #autumnLeavesToggle::before{
    content:none !important;
    display:none !important;
}

/* Feuille bien centrée */
#switchs .autumn-leaves-switch #autumnLeavesToggle span{
    display:block !important;
    width:auto !important;
    height:auto !important;
    padding:0 !important;
    margin:0 !important;
    background:none !important;
    font-size:15px !important;
    line-height:1 !important;
}

/* Pas de carré au clic / focus */
#switchs .autumn-leaves-switch #autumnLeavesToggle:hover,
#switchs .autumn-leaves-switch #autumnLeavesToggle:focus,
#switchs .autumn-leaves-switch #autumnLeavesToggle:active{
    outline:none !important;
    border-radius:50% !important;
}