
/* ===== style.css ===== */

/*#################################
#        début style.css          #
##################################*/

* {
  box-sizing: border-box;
}

/* Anti affichage brut avant chargement */
.news-item{
    display:none;
}

.news-visible{
    display:block;
}

.logo img{
    width:64px;
    height:64px;
    object-fit:contain;
    display:block;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0a0f1a;
  background-image: url('bckgnd.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ddd;
  font-family: Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0,0.6);
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.bonjour {
    font-size: 13px;          /* plus petit que les liens */
    font-style: italic;       /* italique */
    color: #ea0000;           /* rouge sombre */
    margin-right: 15px;       /* espace avant Déconnexion */
    display: inline-block;    /* propre dans un flex ou inline */
}


/* ===========================
   HEADER + TOPBAR
=========================== */
#topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid #333;
}

#topbar .logo {
  font-family: "Georgia", serif;
  font-size: 1.8rem;
  color: #b30000;
  text-decoration: none;
  font-weight: bold;
}

#topbar .right a {
  margin-left: 15px;
  color: #eee;
  text-decoration: none;
  font-weight: bold;
}

#topbar .right a:hover {
  color: #ff4444;
}

/* ===========================
   MENU PC
=========================== */
#menu-button {
  display: none;
}

#menu-toggle {
  display: none;
}

#menu {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 12px;
  background: rgba(10,10,10,0.7);
  border-bottom: 1px solid #222;
}

#menu a {
  color: #ddd;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

#menu a:hover {
  color: #b30000;
}

/* ===========================
   TITRES
=========================== */
h1, h2 {
  font-family: "Georgia", serif;
  color: #b30000;
  text-align: center;
  letter-spacing: 0.05em;
}

h1 {
  font-size: 2.4rem;
}

h3, .h3 {
  font-family: "Georgia", serif;
  color: #dddd00;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ===========================
   BOUTONS
=========================== */
.btn, .button, .bt {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #222;
  color: #eee;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.2s;
}

.btn:hover, .button:hover, .bt:hover {
  background: #333;
}

.bt {
  margin-left: 10px;
}

.form button {
  display: block;
  margin: 20px auto 0 auto;
  text-align: center;
  width: fit-content;
}

/* ===========================
   FORMULAIRES
=========================== */
.form {
  width: 350px;
  margin: 30px auto;
  background: rgba(20,20,20,0.8);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px #000;
  text-align: left !important;
}

.form input:not([type="checkbox"]),
.form select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  background: #2a2a2a;
  color: #eee;
}


/* ===========================
   PAGE HOME
=========================== */
.intro_head {
    color: #333388;
    width: 100%;    
    font-size: 2rem;
}

.intro {
    width: 100%;
    margin: 0 35rem;      
    text-align: left;  
    font-size: 1.2rem;
}

.intro_feet {
    width: 100%;
    margin: 0 auto;      
    text-align: center;  
    font-size: 0.75rem;
}

/* ===========================
   PAGE DES TOMES
=========================== */
.romans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

.roman-card {
  background: rgba(20,20,20,0.8);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 10px #000;
}

.roman-card img {
  width: 100%;
  border-radius: 6px;
  border: 2px solid #333;
}

.roman-card p {
  margin: 10px 0;
  font-weight: bold;
}

.tome-label {
    background: #b30000;
    color: #fff;
    padding: 2px 6px;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* ===========================
   LECTEUR PDF
=========================== */
.reader {
  width: 75%;
  margin: 20px auto;
}

.reader iframe {
  width: 100%;
  height: 90vh;
  border: none;
}

/* ===========================
   GALERIE
=========================== */
.folders-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
}

.folder-block {
  background: rgba(10,10,10,0.8);
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0.8rem;
  box-shadow: 0 0 10px #000;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
}

.gallery-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.4rem;
}

.gallery-section img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border: 2px solid #333;
  cursor: pointer;
  transition: 0.2s;
}

.gallery-section img:hover {
  transform: scale(1.05);
  border-color: #b30000;
}

/* ===========================
   LIGHTBOX XXL
=========================== */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 3px solid #b30000;
  border-radius: 6px;
}

#lightbox .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  font-weight: bold;
  color: #b30000;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  text-shadow: 0 0 10px #000;
  transition: 0.2s;
}

#lightbox .arrow:hover {
  color: #ff4444;
  transform: translateY(-50%) scale(1.1);
}

#prev { left: 20px; }
#next { right: 20px; }

/* ===========================
   PERSONNAGES — VERSION DOSSIER PERSO
=========================== */
.personnages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 40px auto;
    max-width: 900px;
}

.perso-btn {
    width: 120px;
    height: 140px;
   /* background: rgba(0,0,0,0.45);*/
  /*  border: 1px solid rgba(180,0,0,0.4);*/
    border-radius: 10px;
    text-align: center;
    padding: 10px 5px;
    text-decoration: none;
    color: #ddd;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: 0.2s ease;
}

.perso-icon {
    width: 120px;
    margin: 0 auto 8px auto;
    display: block;
}

.perso-btn span {
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 0 6px #000;
}

.perso-btn:hover {
    background: rgba(0,0,0,0.65);
    transform: translateY(-3px);
    border-color: #c40000;
}

/* ===========================
   MUSIQUE
=========================== */
.tracks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.track {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(180,0,0,0.4);
    border-radius: 8px;
    padding: 8px 10px;
    width: 180px;
    text-align: center;
}

.track h3 {
    font-size: 0.9rem;
    margin: 0 0 5px 0;
    color: #ddd;
}

.track audio {
    width: 100%;
    height: 30px;
}

/* ===========================
   HOME
=========================== */
.varkal-home {
    max-width: 700px;
    margin: 40px auto 80px auto;
    padding: 20px 25px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(180,0,0,0.4);
    backdrop-filter: blur(3px);
    border-radius: 12px;
}

.varkal-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: #c40000;
    text-shadow: 0 0 6px #000;
    margin: 0 0 15px 0;
}

.varkal-intro {
    font-size: 1rem;
    line-height: 1.35;
    color: #ddd;
    text-shadow: 0 0 5px #000;
    margin: 0 0 20px 0;
}

.varkal-foot {
    font-size: 0.9rem;
    color: #bbb;
    text-shadow: 0 0 5px #000;
    font-style: italic;
    margin: 0;
}

.home-map-container{

    width:100%;

    display:flex;
    justify-content:center;
    align-items:center;

    overflow:hidden;

    padding:20px 0;
}

.home-map{

    max-width:95vw;
    max-height:65vh;

    width:auto;
    height:auto;

    object-fit:contain;

    display:block;

    border-radius:10px;

    box-shadow:0 0 25px rgba(0,0,0,0.7);
}

/* ===========================
   COMMANDEMENTS
=========================== */
.cmd-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.cmd-parchment {
    width: auto;
    max-width: 900px;
    height: auto;
    display: block;
}
/* ============================================================
   PAGE DRAKHAL'NUR — STYLE VAR'KAL
============================================================ */

.dictionnaire {
    padding: 20px;
    max-width: 1000px;
    margin: auto;
    color: #ddd;
}

/* TITRES PRINCIPAUX */
.dictionnaire h1 {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
    color: #e8d88f;
}

.dictionnaire h2 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #caa;
}

/* INTRO */
.dictionnaire .intro {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100%;
    display: block;

    font-size: 0.9rem;
    color: #eadaaf;
    line-height: 1.4;
    margin-bottom: 30px;
}

/* PANELS */
.dictionnaire .panel {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(180, 0, 0, 0.4);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 4px 4px 0 #000;
}

.dictionnaire .panel-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(180, 0, 0, 0.4);
    color: #e8d88f;
    letter-spacing: 0.05em;
}
/* ============================================================
   BOUTON RETOUR EN HAUT — STYLE VAR'KAL
============================================================ */

.retour-haut {
    display: block;
    width: fit-content;
    margin: 20px auto 10px auto;
    padding: 6px 14px;

    background: rgba(40, 0, 0, 0.6);
    border: 1px solid rgba(180, 0, 0, 0.4);

    color: #d8c47a;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.03em;

    transition: 0.2s;
    text-align: center;
}

.retour-haut:hover {
    background: rgba(60, 0, 0, 0.7);
    color: #f3e6a2;
    border-color: rgba(220, 0, 0, 0.6);
}

.retour-haut:active {
    background: rgba(80, 0, 0, 0.8);
}

/* Lien spécial pour le dictionnaire complet */
.nav-dico {
    background: rgba(120, 0, 0, 0.7) !important;
    border: 1px solid rgba(255, 60, 60, 0.5) !important;
    color: #ffe6b3 !important;
    font-weight: bold;
}

.nav-dico:hover {
    background: rgba(160, 0, 0, 0.8) !important;
    border-color: rgba(255, 90, 90, 0.7) !important;
    color: #fff3d1 !important;
}

/* ============================================================
   NAVIGATION DES RACINES — MODE COMPACT
============================================================ */

.dictionnaire .panel ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
    gap: 6px 12px; /* espace entre les éléments */
    padding-left: 0;
    list-style: none;
}

.dictionnaire .panel ul li {
    margin: 0;
    padding: 0;
}

.dictionnaire .panel ul li a {
    display: block;
    text-align: center;
    padding: 6px 0;
    background: rgba(40, 0, 0, 0.5);
    border: 1px solid rgba(180, 0, 0, 0.4);
    color: #d8c47a;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.2s;
}

.dictionnaire .panel ul li a:hover {
    background: rgba(60, 0, 0, 0.7);
    color: #f3e6a2;
}


/* TABLES */
.dictionnaire table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    table-layout: fixed;
}

.dictionnaire th,
.dictionnaire td {
    padding: 10px;
    border-bottom: 1px solid rgba(180, 0, 0, 0.3);
    background: rgba(255, 230, 150, 0.08);
    color: #ddd;
    word-break: break-word;
}

.dictionnaire th {
    background: rgba(255, 230, 150, 0.18);
    font-weight: bold;
    color: #f3e6a2;
}

/* RUNES — colonne 1 mise en valeur */
.dictionnaire table td:first-child {
    font-size: 1.4rem;
    text-align: center;
    color: #e8d88f;
}

/* EXPRESSIONS / TITRES / GRAMMAIRE */
#EXPRESSIONS td:first-child,
#TITRES td:first-child,
#GRAMMAIRE td:first-child {
    font-weight: bold;
    color: #d8c47a;
}
/* ============================================================
   BOUTON RETOUR — STYLE VAR'KAL
============================================================ */

.retour-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 14px;

    background: rgba(40, 0, 0, 0.6);
    border: 1px solid rgba(180, 0, 0, 0.4);

    color: #d8c47a;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.03em;

    transition: 0.2s;
}

.retour-btn:hover {
    background: rgba(60, 0, 0, 0.7);
    color: #f3e6a2;
    border-color: rgba(220, 0, 0, 0.6);
}

.retour-btn:active {
    background: rgba(80, 0, 0, 0.8);
}

/* ===========================
   TRADUCTEUR
=========================== */
.var-kal-box {
    /*background:#050505;*/
    color:#c10000;
    padding:20px;
    border:1px solid #400000;
    font-family:serif;
    letter-spacing:1px;
    margin: 20px auto;   /* centre horizontalement */
}
.var-kal-box h2 {
    margin-top:0;
    color:#e00000;
}
.var-kal-input {
    width:100%;
    max-width:600px;
    background:#111;
    color:#e0e0e0;
    border:1px solid #400000;
    padding:8px;
    display: block;       /* permet le centrage */
    margin: 10px auto;    /* centre horizontalement */
    text-align: center;   /* centre le texte à l'intérieur */
}
.var-kal-textarea {
    width:100%;
    max-width:600px;
    /*height:100px;/**/
    background:#111;
    color:#e0e0e0;
    border:1px solid #400000;
    padding:8px;
    display: block;       /* permet le centrage */
    margin: 10px auto;    /* centre horizontalement */
    text-align: center;   /* centre le texte à l'intérieur */
}
.var-kal-submit {
    background:#400000;
    color:#f0f0f0;
    border:1px solid #800000;
    padding:6px 12px;
    cursor:pointer;
    display: block;
    margin: 10px auto;   /* centre le bouton */
}
.var-kal-submit:hover {
    background:#600000;
}
.var-kal-result {
    /*margin-top:10px;*/
    /*padding:10px;*/
    background:#0b0b0b;
    border:1px solid #300000;
   /* white-space:pre-wrap;*/
}
.var-kal-sep {
    margin:25px 0;
    border-top:1px solid #300000;
}
/* ===========================
   NEWS TOPBAR — STYLE VAR'KAL
=========================== */

.news-carousel {
    width: 100%;                 
    max-width: 100%;             
    margin: 0 auto;
    padding: 6px 12px;

    border-radius: 6px;

    text-align: center;
    color: #f3e6a2;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 0 0 6px #000;

    overflow: hidden;
    position: relative;

    /* Hauteur dynamique */
    min-height: 24px;
    height: auto;
    transition: height 0.3s ease;
}

/* Chaque news */
.news-item {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;

    opacity: 0;
    display: none;              /* 🔥 empêche les fragments de mots */
    transition: opacity 0.4s ease;
    padding: 2px 0;
}

/* Couleurs par type — version pétante */
.news-info {
    color: #4fbaff; /* bleu néon */
    font-weight: bold;
}

.news-maj {
    color: #ffe98a; /* doré lumineux */
    font-weight: bold;
}

.news-alerte {
    color: #ff4d4d; /* rouge vif */
    font-weight: bold;
}

.news-event {
    color: #7dff6b; /* vert néon */
    font-weight: bold;
}

/* Visible */
.news-visible {
    opacity: 1;
    display: block;             /* 🔥 seule la news active existe visuellement */
    position: relative;         /* 🔥 permet à la hauteur auto de fonctionner */
}

.news-type {
    font-weight: bold;
}

/* Couleurs HYPER-NÉON (plus colorées que le texte) */
.news-info .news-type {
    color: #00c8ff; /* bleu néon turquoise ultra-saturé */
}

.news-maj .news-type {
    color: #ffe200; /* jaune-or solaire ultra-vif */
}

.news-alerte .news-type {
    color: #ff1a1a; /* rouge laser saturé */
}

.news-event .news-type {
    color: #32ff1a; /* vert acide néon */
}


/* ================================
   PAGE USERS — STYLE VAR'KAL
   ================================ */

.users-container {
    max-width: 1000px;
    margin: 40px auto;
    background: rgba(0, 0, 0, 0.75);
    padding: 25px;
    border: 2px solid #7a0000;
    border-radius: 6px;
    box-shadow: 0 0 15px #7a0000;
    color: #ddd;
    font-family: "Cinzel", serif;
}

.users-container h1 {
    text-align: center;
    color: #ff2a2a;
    text-shadow: 0 0 10px #7a0000;
    margin-bottom: 25px;
}

.varkal-table {
    width: 100%;
    border-collapse: collapse;
    color: #ddd;
}

.varkal-table th {
    background: #300000;
    color: #ffbaba;
    padding: 10px;
    border: 1px solid #7a0000;
    text-shadow: 0 0 5px #7a0000;
}

.varkal-table td {
    padding: 8px;
    border: 1px solid #550000;
    background: rgba(20, 0, 0, 0.6);
}

.varkal-table tr:nth-child(even) td {
    background: rgba(40, 0, 0, 0.6);
}

.varkal-table tr:hover td {
    background: rgba(80, 0, 0, 0.7);
    box-shadow: inset 0 0 10px #ff2a2a;
}

.forbidden {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(50, 0, 0, 0.8);
    border: 2px solid #ff2a2a;
    color: #ffbaba;
    text-align: center;
    font-family: "Cinzel", serif;
    font-size: 20px;
    border-radius: 6px;
    box-shadow: 0 0 15px #7a0000;
}

/* ===========================
   FOOTER
=========================== */
footer {
  margin-top: auto;
  text-align: center;
  padding: 1rem;
  color: #777;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid #333;
}
/* ===========================
   FOOTER — LIEN DB‑IP DISCRET
=========================== */
.footer-dbip {
    display: inline-block;
    margin-top: 4px;

    color: #777;
    font-size: 0.75rem;
    text-decoration: none;
    opacity: 0.7;
    transition: 0.2s;
}

.footer-dbip:hover {
    opacity: 1;
    color: #aaa;
}
/* ===========================
   PAGES LOCKED
=========================== */
.main-auth-zone{
    position:relative;
}

.page-locked{
    filter:blur(1px);
    pointer-events:none;
    user-select:none;
    opacity:0.45;
}

.login-overlay-inside{
    position:absolute;
    inset:0;
    z-index:50;

    display:flex;
    justify-content:center;
    align-items:flex-start;

    padding-top:40px;

    background:rgba(0,0,0,0.45);
}

.login-box{
    width:min(95%,430px);
    padding:20px;

    background:rgba(0,0,0,0.92);
    border:1px solid #7a0000;
    border-radius:10px;

    box-shadow:0 0 25px #000;
}

/*#################################
#          fin style.css          #
##################################*/



/* ===== style_header.css ===== */

/*#################################
#     début style_header.css      #
##################################*/

.bonjour-varkal {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 12px;

    color: #e8d88f;
    font-size: 14px;
    letter-spacing: 0.4px;

   /* border-left: 2px solid #c9a45c;/**/
    text-shadow: 0 0 4px #000;
}

.bonjour-varkal .prenom {
    color: #ffe9b3;
    font-weight: bold;
}

/* =========================
   LOGO VAR'KAL
========================= */

.logo{

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    padding:0;
    margin:0;
}

.logo img{

    width:64px;
    height:64px;

    object-fit:contain;

    display:block;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;

    filter:
        drop-shadow(0 0 4px rgba(180,0,0,0.35));
}

.logo:hover img{

    transform:scale(1.06);

    filter:
        drop-shadow(0 0 8px rgba(255,0,0,0.45));
}

/* =========================
   VERSION MOBILE
========================= */

@media (max-width:768px){

    .logo img{

        width:38px;
        height:38px;
    }
}

/*#################################
#       fin style_header.css      #
##################################*/



/* ===== style_perso.css ===== */

/*#################################
#      début style_perso.css      #
##################################*/

:root {
    --vk-black: #070707;
    --vk-dark: #101010;
    --vk-charcoal: #171717;
    --vk-stone: #222222;
    --vk-stone-light: #303030;
    --vk-border: #3a3a3a;
    --vk-text: #d7d0bf;
    --vk-text-light: #eee1c7;
    --vk-parchment: #d9c9a3;
}

.perso-page {
    font-family: "Cinzel", "Georgia", serif;
    color: var(--vk-text);
    margin: 0;
    padding: 50px 20px;
}

.perso-page .page {
    max-width: 1020px;
    width: 100%;
    margin: 0 auto;
}

/* HEADER */
.panel-header {
    position: relative;
    background:
        radial-gradient(circle at top, var(--perso-main-soft), transparent 42%),
        linear-gradient(145deg, var(--vk-charcoal) 0%, var(--vk-black) 55%, var(--vk-stone) 100%);
    border: 1px solid var(--vk-border);
    border-radius: 22px;
    margin-bottom: 46px;
    padding: 28px;
    box-shadow:
        0 0 0 1px #000,
        0 0 28px rgba(0, 0, 0, 0.78),
        0 0 14px var(--perso-main-soft),
        inset 0 0 45px rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

.panel-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, var(--perso-main-soft), transparent),
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.018) 0,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px,
            transparent 9px
        );
}

.panel-header::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--perso-main-dark),
            var(--perso-main),
            var(--perso-main-dark),
            transparent
        );
    box-shadow: 0 0 14px var(--perso-main-soft);
}

.perso-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.perso-icone,
.perso-symbole {
    width: 170px;
    height: auto;
    flex-shrink: 0;
    filter:
        drop-shadow(0 0 10px var(--perso-main-soft))
        drop-shadow(0 0 24px rgba(0, 0, 0, 0.95))
        contrast(1.12);
}

.perso-titres {
    text-align: center;
    flex: 1;
}

.perso-header h1 {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    font-size: 60px !important;
    font-weight: 900;
    letter-spacing: 0.075em !important;
    text-transform: uppercase;
    color: var(--perso-main-light);
    line-height: 1.08 !important;
    text-shadow:
        1px 1px 0 var(--perso-main-dark),
        3px 3px 0 #000,
        0 0 10px var(--perso-main-soft),
        0 0 24px rgba(0, 0, 0, 0.95);
}

.perso-header h2 {
    display: inline-block;
    margin: 0 !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.20em !important;
    text-transform: uppercase;
    color: var(--vk-parchment);
    line-height: 1.35 !important;
    background: rgba(0, 0, 0, 0.38);
    border-top: 1px solid var(--perso-main-dark);
    border-bottom: 1px solid var(--perso-main-dark);
    text-shadow: 0 0 8px #000;
}

/* PANELS */
.perso-page .panel {
    position: relative;
    border: 1px solid var(--vk-border);
    border-radius: 18px;
    margin-bottom: 34px;
    padding: 0;
    background:
        radial-gradient(circle at top left, var(--perso-main-soft), transparent 34%),
        linear-gradient(180deg, var(--vk-charcoal), var(--vk-black));
    box-shadow:
        0 0 0 1px #000,
        0 14px 30px rgba(0, 0, 0, 0.60),
        0 0 18px var(--perso-main-soft),
        inset 0 0 28px rgba(0, 0, 0, 0.92);
    overflow: hidden;
}

.perso-page .panel::before {
    content: "";
    display: block;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--perso-main-dark),
            var(--perso-main),
            var(--perso-main-dark),
            transparent
        );
    box-shadow: 0 0 13px var(--perso-main-soft);
}

.perso-page .panel-title {
    background:
        linear-gradient(
            90deg,
            #0c0c0c 0%,
            #1a1a1a 25%,
            var(--perso-main-dark) 50%,
            #1a1a1a 75%,
            #0c0c0c 100%
        );
    color: var(--vk-parchment);
    padding: 18px 25px;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border-bottom: 1px solid var(--vk-border);
    border-radius: 0;
    text-shadow:
        0 0 7px #000,
        0 0 10px var(--perso-main-soft);
}

/* TABLES */
.perso-page table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.perso-page th,
.perso-page td {
    padding: 18px 25px;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    background: #0d0d0d;
}

.perso-page th {
    width: 29%;
    font-weight: 900;
    color: var(--perso-main-light);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background:
        linear-gradient(180deg, var(--vk-stone), var(--vk-dark));
    text-shadow:
        0 0 7px #000,
        0 0 8px var(--perso-main-soft);
}

.perso-page td {
    color: var(--vk-text);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
}

.perso-page tr:hover th {
    color: var(--perso-main-light);
    background:
        linear-gradient(180deg, var(--vk-stone-light), var(--vk-charcoal));
}

.perso-page tr:hover td {
    background: #1a1a1a;
    color: var(--vk-text-light);
}

.perso-page tr:last-child th,
.perso-page tr:last-child td {
    border-bottom: none;
}

/* LISTES */
.perso-page ul {
    margin: 0;
    padding-left: 22px;
    list-style: square;
}

.perso-page ul li {
    margin-bottom: 7px;
}

.perso-page ul li::marker {
    color: var(--perso-main);
}

/* TOGGLE */
.perso-toggle-title {
    width: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: inherit;
}

.perso-toggle-title:hover {
    background:
        linear-gradient(
            90deg,
            #101010 0%,
            #202020 35%,
            var(--perso-main-mid) 50%,
            #202020 65%,
            #101010 100%
        );
    color: #f3e6c2;
}

.perso-toggle-content {
    display: none;
}

.perso-toggle-panel.open .perso-toggle-content {
    display: block;
}

.toggle-arrow {
    font-size: 1.25rem;
    transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
    color: var(--perso-main-light);
    text-shadow: 0 0 8px var(--perso-main-soft);
}

.perso-toggle-panel.open .toggle-arrow {
    transform: rotate(90deg);
    color: var(--perso-main-light);
    text-shadow: 0 0 12px var(--perso-main-soft);
}

/* ACCENT VERTICAL DISCRET */
.perso-page .panel:nth-of-type(odd)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 32px;
    width: 1px;
    height: 38px;
    background: linear-gradient(180deg, var(--perso-main-soft), transparent);
    box-shadow: 0 0 8px var(--perso-main-soft);
}

.perso-table-icon {
    max-width: 150px;
    max-height: 195px;
    display: block;
    margin: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 8px rgba(0, 0, 0, 0.9))
        drop-shadow(0 0 10px var(--perso-main-soft));
}

/* RESPONSIVE */
@media (max-width: 780px) {

    .perso-page {
        padding: 30px 12px;
    }

    .panel-header {
        padding: 20px 14px;
    }

    .perso-header {
        flex-direction: column;
        gap: 14px;
    }

    .perso-icone,
    .perso-symbole {
        width: 118px;
    }

    .perso-header h1 {
        font-size: 34px !important;
        letter-spacing: 0.045em !important;
    }

    .perso-header h2 {
        font-size: 11px !important;
        letter-spacing: 0.14em !important;
    }

    .perso-page th,
    .perso-page td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .perso-page th {
        border-bottom: none;
        padding-bottom: 7px;
    }

    .perso-page td {
        padding-top: 7px;
    }
}

/*#################################
#       fin style_perso.css       #
##################################*/



/* ===== style_vip.css ===== */

/*#################################
#       début style_vip.css       #
##################################*/

/* ================================
   SIDEBAR VIP — STYLE VAR'KAL DORÉ
================================ */

.vip-sidebar {
    width: 240px;
    background: rgba(255, 215, 0, 0.15); /* même fond que .vip-message */
    border: 2px solid #d4a017;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 10px #d4a017;
    text-shadow: 0 0 5px #d4a017;
    color: #ffe9a3;
    font-family: "Cinzel", serif;
    margin: 30px;
}

.vip-title {
    text-align: center;
    color: #ffe9a3;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
}

.vip-link {
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    background: rgba(255, 215, 0, 0.10);
    border: 1px solid #d4a017;
    color: #ffe9a3;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: 0.2s;
    text-align: center;
}

.vip-link:hover {
    background: rgba(255, 215, 0, 0.25);
    box-shadow: 0 0 10px #d4a017;
    color: #fff8d5;
}

/* ================================
   CADRE VIP (même style que sidebar)
================================ */

.vip-panel {
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid #d4a017;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 10px #d4a017;
    text-shadow: 0 0 5px #d4a017;
    color: #ffe9a3;
    font-family: "Cinzel", serif;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

/* ================================
   TABLEAU VIP
================================ */

.vip-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    color: #ffe9a3;
    font-family: "Cinzel", serif;
}

.vip-table th {
    background: rgba(255, 215, 0, 0.25);
    border-bottom: 2px solid #d4a017;
    padding: 10px;
    font-weight: bold;
    color: #fff8d5;
    text-shadow: 0 0 6px #d4a017;
}

.vip-table td {
    background: rgba(255, 215, 0, 0.08);
    border-bottom: 1px solid #d4a017;
    padding: 8px;
}

.vip-table tr:hover td {
    background: rgba(255, 215, 0, 0.18);
}

.vip-title-section {
    color: #ffe9a3; /* même couleur que la sidebar */
    text-shadow: 0 0 6px #d4a017;
    font-family: "Cinzel", serif;
    margin-bottom: 20px;
    text-align: center;
}
/* ============================
     LIGHTBOX VAR'KAL
============================= */
#vip-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#vip-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 3px solid #c9a45c;
    box-shadow: 0 0 20px #000;
}

#vip-lightbox:active {
    display: none;
}

/* ================================
   BLOCS SONDAGES — LIGNES FINES
================================ */

.sondage-row {
    background: rgba(255, 215, 0, 0.10);
    border: 1px solid #d4a017;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: #ffe9a3;
    font-family: "Cinzel", serif;
    cursor: pointer;
    transition: 0.2s;
}

.sondage-row:hover {
    background: rgba(255, 215, 0, 0.20);
    box-shadow: 0 0 8px #d4a017;
}

/* Contenu déroulant */
.sondage-details {
    display: none;
    padding: 15px;
    margin-top: 10px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid #d4a017;
    border-radius: 4px;
    box-shadow: 0 0 10px #d4a017;
}

/* Ouvert */
.sondage-row.open + .sondage-details {
    display: block;
}


/* ================================
   VERSION MOBILE — FIX VAR'KAL
================================ */
@media (max-width: 768px) {

    /* Le conteneur principal passe en colonne */
    body, html {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* Le gros flex horizontal devient vertical */
    div[style*="display:flex"] {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* SIDEBAR : pleine largeur, marges réduites */
    .vip-sidebar {
        width: 100% !important;
        margin: 10px 0 !important;
        padding: 15px !important;
        box-sizing: border-box;
    }

    /* PANELS : pleine largeur */
    .vip-panel {
        width: 100% !important;
        margin: 10px 0 20px 0 !important;
        padding: 15px !important;
        box-sizing: border-box;
    }

    /* TITRES : plus petits */
    .vip-title-section,
    .vip-title {
        font-size: 18px !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }

    /* BOUTONS : largeur totale */
    .vip-link {
        width: 100% !important;
        padding: 12px !important;
        font-size: 15px !important;
        margin: 8px 0 !important;
        box-sizing: border-box;
    }

    /* Bouton envoyer centré */
    form div {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    /* Inputs : largeur totale */
    input[type="text"],
    input[type="number"],
    textarea {
        width: 100% !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }

    /* Tableaux scrollables */
    .vip-table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}

/* ================================
   FIX GALERIE VIP MOBILE
================================ */

@media (max-width: 768px) {

    .folders-container .perso-btn {
        height: auto !important;
        min-height: 0 !important;
        padding: 10px 5px 18px 5px !important;
        justify-content: flex-start !important;
        overflow: visible !important;
    }

    .folders-container .perso-btn img {
        max-width: 150px !important;
        width: 150px !important;
        height: auto !important;
        margin-bottom: 10px !important;
        display: block !important;
    }

    .folders-container .perso-btn div {
        position: relative !important;
        z-index: 2 !important;
        display: block !important;
        line-height: 1.25 !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-break: normal !important;
    }
}
/*#################################
#        fin style_vip.css        #
##################################*/



/* ===== portable.css ===== */

@media (max-width: 768px) {

  /* ===========================
     BODY
  ============================ */
  body {
    background-repeat: repeat;
  }

  /* ===========================
     HEADER MOBILE
  ============================ */
  #topbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 10px 0;
    background: rgba(0,0,0,0.5);
  }

  #topbar .left,
  #topbar .right {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  #topbar .center {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  #topbar .logo {
    font-size: 1.8rem;
  }

  /* ===========================
     NEWS CAROUSEL MOBILE
  ============================ */
  .news-carousel {
    position: relative;
    height: 45px;
    overflow: hidden;
  }

  .news-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.4s linear;
  }

  .news-visible {
    opacity: 1;
  }

  /* ===========================
     MENU MOBILE
  ============================ */
  #menu-button {
    display: block;
    background: #111;
    color: #eee;
    padding: 12px;
    text-align: center;
    font-size: 1.3rem;
    cursor: pointer;
    border: 1px solid #333;
    margin: 10px auto;
    width: 100%;
  }

  #menu-toggle {
    display: none;
  }

  #menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 10px 0;
    background: rgba(10,10,10,0.8);
    border-top: 1px solid #222;
  }

  #menu-toggle:checked + #menu {
    display: flex;
  }

  #menu a {
    padding: 10px 0;
    width: 100%;
    font-size: 1.1rem;
  }

  /* ===========================
     PERSONNAGES — FIX MOBILE
     Compatible avec le nouveau style_perso.css
  ============================ */
  .perso-page {
    padding: 30px 12px;
  }

  .perso-page .page {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .panel-header {
    padding: 20px 14px;
    margin-bottom: 30px;
    border-radius: 18px;
  }

  .perso-header {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .perso-icone,
  .perso-symbole {
    width: 118px;
    height: auto;
  }

  .perso-header h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
    letter-spacing: 0.045em !important;
  }

  .perso-header h2 {
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
  }

  .perso-page .panel {
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .perso-page .panel-title {
    padding: 14px 16px;
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .perso-page table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
  }

  .perso-page th,
  .perso-page td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.55;
    word-break: break-word;
  }

  .perso-page th {
    border-bottom: none;
    padding-bottom: 6px;
  }

  .perso-page td {
    padding-top: 6px;
  }

  .table-aura th,
  .table-aura td {
    font-size: 12px !important;
    padding: 9px 12px !important;
    line-height: 1.45 !important;
  }

  .table-aura th {
    white-space: normal !important;
  }

  .table-aura td {
    white-space: normal !important;
    word-break: break-word;
  }

  .perso-table-icon {
    max-width: 120px;
    max-height: 155px;
  }

  /* ===========================
     COMMANDEMENTS
  ============================ */
  .cmd-page {
    margin: 0;
    padding: 0;
    background: #000;
    text-align: center;
  }

  .cmd-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .cmd-parchment {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* ===========================
     PAGE DRAKHAL'NUR
  ============================ */
  .dictionnaire {
    padding: 10px;
  }

  .dictionnaire h1 {
    font-size: 1.8rem;
  }

  .dictionnaire table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .dictionnaire th,
  .dictionnaire td {
    padding: 8px;
    font-size: 12px;
    word-break: break-word;
  }

  #RUNES td:first-child {
    font-size: 1.2rem;
    text-align: center;
  }

  /* ===========================
     AUTRES PAGES
  ============================ */
  .form {
    width: 90%;
  }

  .romans-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .reader {
    width: 100%;
    margin: 0;
  }

  .reader iframe {
    height: calc(100vh - 120px);
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
  }

  .folder-block {
    min-width: 100%;
  }

  .gallery-section {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }

  .intro {
    margin: 0 1rem;
    font-size: 1rem;
    text-align: left;
  }

  .intro_head {
    font-size: 1.5rem;
    text-align: center;
    padding: 0 1rem;
  }

  .intro_feet {
    margin: 2rem 1rem;
    font-size: 0.9rem;
  }

  .bt {
    display: block;
    width: 100%;
    text-align: center;
    margin: 10px 0 !important;
    padding: 12px 0;
  }

  footer {
    font-size: 0.8rem;
  }
}



/* ===== style_admin.css ===== */

/*#################################
#      début style_admin.css      #
##################################*/

/* ================================
   ADMIN — LAYOUT GLOBAL
================================ */

.admin-layout {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 40px 0 40px 40px;
    padding: 0 10px;
    font-family: "Cinzel", serif;
    color: #ddd;
}

/* ================================
   SIDEBAR
================================ */

.admin-sidebar {
    width: 240px;
    background: rgba(20,0,0,0.6);
    border: 1px solid #550000;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 10px #300000;
}

.admin-sidebar h2 {
    color: #ffbaba;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 6px #7a0000;
}

.admin-link {
    display: block;
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(40,0,0,0.5);
    border: 1px solid #550000;
    color: #e8d88f;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.2s;
}

.admin-link:hover {
    background: rgba(80,0,0,0.7);
    border-color: #ff2a2a;
}

.admin-link.active {
    background: rgba(120,0,0,0.7);
    border-color: #ff2a2a;
    color: #fff3d1;
}

/* ================================
   CONTENU
================================ */

.admin-content {
    flex: 1;
    background: rgba(0,0,0,0.65);
    padding: 25px;
    border-radius: 6px;
    border: 1px solid #550000;
    box-shadow: 0 0 10px #300000;
}

.admin-content h1 {
    text-align: center;
    color: #ff2a2a;
    text-shadow: 0 0 10px #7a0000;
    margin-bottom: 30px;
}

/* ================================
   BLOCS
================================ */

.admin-block {
    background: rgba(20,0,0,0.5);
    border: 1px solid #550000;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 25px;
}

/* ================================
   TEXTAREA
================================ */

.admin-textarea {
    width: 100%;
    height: 150px;
    background: #111;
    border: 1px solid #7a0000;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    resize: vertical;
    font-family: monospace;
    margin-bottom: 10px;
}

/* ================================
   BOUTONS
================================ */

.admin-save {
    display: block;
    margin: 10px auto 40px auto;
    padding: 10px 20px;
    background: #7a0000;
    border: 1px solid #ff2a2a;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.admin-save:hover {
    background: #ff2a2a;
    box-shadow: 0 0 10px #ff2a2a;
}

/* ================================
   CHECKBOXES
================================ */

.admin-check {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    color: #ffbaba;
}

.admin-check input[type="checkbox"] {
    margin-right: 8px;
}

/* ================================
   MESSAGES
================================ */

.admin-msg {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.admin-msg.error {
    background: rgba(80,0,0,0.8);
    border: 1px solid #ff2a2a;
    color: #ffbaba;
}

.admin-msg.success {
    background: rgba(0,60,0,0.8);
    border: 1px solid #00cc44;
    color: #baffc2;
}

/* ================================
   INFO
================================ */

.admin-info {
    background: rgba(30,0,0,0.4);
    border: 1px solid #550000;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
}

/* ================================
   TABLEAUX ADMIN
================================ */

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border: 1px solid #550000;
}

.admin-table {
    width: max-content;
    min-width: 900px;
    border-collapse: collapse;
    text-align: center;
}

.admin-table th {
    background: rgba(80,0,0,0.6);
    color: #ffbaba;
    padding: 8px;
    border: 1px solid #550000;
}

.admin-table td {
    background: rgba(20,0,0,0.4);
    color: #e8d88f;
    padding: 6px;
    border: 1px solid #550000;
    white-space: nowrap;
}

/* Colonne User-Agent */
.admin-table td.ua-col {
    max-width: 260px;
    white-space: normal;
    word-break: break-word;
}



/* ================================
   LOGOUT ALL
================================ */

.logout-info {
    display: inline-block;
    text-align: left;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}

.logout-btn {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 15px;
}

/* ================================
   VERSION MOBILE
================================ */

@media (max-width: 768px) {

    .admin-layout {
        display: block;
        margin: 10px 0;
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .admin-sidebar {
        width: 100%;
        margin-bottom: 20px;
        padding: 15px;
    }

    .admin-content {
        width: 100%;
        padding: 15px;
        margin: 0;
    }

    .admin-content h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .admin-textarea {
        height: 220px;
        font-size: 14px;
    }

    .admin-save {
        width: 100%;
        max-width: 260px;
        padding: 12px;
        font-size: 16px;
    }

    .admin-link {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    .admin-block {
        padding: 15px;
        margin-bottom: 20px;
    }

    /* TABLEAUX */
    .admin-table-wrapper {
        border: 1px solid #550000;
    }

    .admin-table {
        min-width: 900px;
    }

    .admin-table th,
    .admin-table td {
        padding: 8px;
        font-size: 14px;
        white-space: nowrap;
    }

    .admin-table td.ua-col {
        max-width: 250px;
        white-space: normal;
        word-break: break-word;
    }
     /* On annule la règle destructrice */
    .admin-content,
    .admin-block,
    .admin-table-wrapper {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
    }

    /* On empêche la compression */
    .admin-table {
        width: max-content !important;
        table-layout: auto !important;
        white-space: nowrap !important;
    }

    /* On garantit que les colonnes existent */
    .admin-table th,
    .admin-table td {
        display: table-cell !important;
        white-space: nowrap !important;
    }
}

/*#################################
#       fin style_admin.css       #
##################################*/



/* ===== style_mon_compte.css ===== */

/*#################################
#   début style_mon_compte.css    #
##################################*/

body {
    padding-top: 0px;
}

/* Conteneur principal */
.moncompte-container {
    max-width: 650px;
    margin: 40px auto;
    padding: 25px;
    background: rgba(0, 0, 0, 0.75);
    border: 2px solid #7a0000;
    border-radius: 6px;
    box-shadow: 0 0 15px #7a0000;
    color: #ddd;
    font-family: "Cinzel", serif;
}

.moncompte-container h1 {
    text-align: center;
    color: #ff2a2a;
    text-shadow: 0 0 10px #7a0000;
    margin-bottom: 25px;
}

/* Message VIP */
.vip-message {
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid #d4a017;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 6px;
    text-align: center;
    color: #ffe9a3;
    font-size: 18px;
    box-shadow: 0 0 10px #d4a017;
    text-shadow: 0 0 5px #d4a017;
}

/* Bloc infos */
.info-block {
    background: #111;
    border: 1px solid #444;
    padding: 18px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.info-block strong {
    color: #c9a45c;
}

/* ================================
   BOUTONS — STYLE UNIFIÉ VAR’KAL
================================ */

.btn-toggle,
#editForm button[type="submit"],
.pass-toggle {
    background: #7a0000;
    border: 1px solid #ff2a2a;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
}

.btn-toggle:hover,
#editForm button[type="submit"]:hover,
.pass-toggle:hover {
    background: #ff2a2a;
    box-shadow: 0 0 10px #ff2a2a;
}

.btn-toggle {
    padding: 10px 18px;
    margin-bottom: 15px;
    display: inline-block;
}

/* ================================
   FORMULAIRE
================================ */

#editForm {
    display: none;
    margin-top: 20px;
    padding: 18px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 4px;
}

#editForm label {
    display: block;
    margin-top: 12px;
    margin-bottom: 4px;
    color: #ffbaba;
    font-weight: bold;
}

/* Inputs généraux */
#editForm input,
#editForm select {
    padding: 10px;
    margin-top: 5px;
    background: #111;
    border: 1px solid #7a0000;
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%; /* OK pour tous sauf password */
}

#editForm input:focus,
#editForm select:focus {
    outline: none;
    border-color: #ff2a2a;
    box-shadow: 0 0 8px #ff2a2a;
}

#editForm button[type="submit"] {
    padding: 12px 20px;
    margin-top: 20px;
    width: auto;
    display: inline-block;
}

/* Message succès */
.message {
    background: rgba(50, 0, 0, 0.7);
    border: 1px solid #ff2a2a;
    padding: 12px;
    margin-bottom: 20px;
    color: #ffbaba;
    border-radius: 4px;
    text-align: center;
}

/* ================================
   CHAMPS MOT DE PASSE
================================ */

.pass-field {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}

/* VERSION FINALE QUI MARCHE */
#editForm .pass-field input {
    height: 42px;
    width: calc(100% - 50px) !important;
    max-width: calc(100% - 50px) !important;
    padding-right: 50px !important;
    box-sizing: border-box;
    display: block !important;
}

/* Bouton œil */
.pass-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ================================
   VERSION MOBILE (PORTABLE)
================================ */

@media (max-width: 768px) {

    .moncompte-container {
        margin: 20px auto;
        padding: 18px;
        max-width: 95%;
    }

    #editForm {
        padding: 15px;
    }

    #editForm input,
    #editForm select {
        padding: 12px;
        font-size: 16px;
    }

    #editForm .pass-field input {
        height: 48px;
        padding-right: 55px !important;
        font-size: 16px;
        width: calc(100% - 55px) !important;
        max-width: calc(100% - 55px) !important;
    }

    .pass-toggle {
        width: 40px;
        height: 40px;
        right: 6px;
        font-size: 20px;
    }

    .btn-toggle,
    #editForm button[type="submit"] {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 16px;
    }
}

/*#################################
#    fin style_mon_compte.css     #
##################################*/



/* ===== style_hors-serie.css ===== */

/*#########################################

# début style_hors-serie.css

##########################################*/

.hors-serie-page {
max-width: 1150px;
margin: 0 auto;
padding: 45px 18px 70px;
color: #f3ead7;
}

.hs-hero {
text-align: center;
margin-bottom: 26px;
}

.hs-badge {
display: inline-block;
margin-bottom: 14px;
padding: 6px 16px;
border: 1px solid rgba(214, 179, 106, 0.65);
border-radius: 999px;
color: #d6b36a;
font-size: 0.78rem;
letter-spacing: 1.5px;
text-transform: uppercase;
background: rgba(214, 179, 106, 0.08);
}

.hs-hero h1 {
margin: 0 0 14px;
font-size: clamp(2rem, 5vw, 3.4rem);
line-height: 1.05;
color: #f6d889;
text-shadow: 0 0 22px rgba(214, 179, 106, 0.18);
}

.hs-hero p {
max-width: 720px;
margin: 0 auto;
color: rgba(243, 234, 215, 0.82);
font-size: 1.05rem;
line-height: 1.6;
}

.hs-intro {
max-width: 850px;
margin: 0 auto 36px;
padding: 18px 22px;
border-left: 3px solid #d6b36a;
border-radius: 12px;
background:
linear-gradient(135deg, rgba(214, 179, 106, 0.08), rgba(0, 0, 0, 0.18));
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.hs-intro p {
margin: 0;
color: rgba(243, 234, 215, 0.86);
line-height: 1.65;
}

.hs-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
gap: 20px;
}

.hs-card {
position: relative;
min-height: 250px;
padding: 22px;
border-radius: 18px;
overflow: hidden;
background:
radial-gradient(circle at top left, rgba(214, 179, 106, 0.16), transparent 34%),
linear-gradient(145deg, rgba(32, 28, 25, 0.98), rgba(10, 10, 12, 0.98));
border: 1px solid rgba(214, 179, 106, 0.18);
box-shadow:
0 18px 35px rgba(0, 0, 0, 0.38),
inset 0 0 30px rgba(255, 255, 255, 0.02);
transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hs-card:hover {
transform: translateY(-4px);
border-color: rgba(214, 179, 106, 0.45);
box-shadow:
0 24px 45px rgba(0, 0, 0, 0.48),
0 0 22px rgba(214, 179, 106, 0.08);
}

.hs-card.soon {
opacity: 0.78;
}

.hs-card-top {
display: flex;
justify-content: space-between;
gap: 10px;
margin-bottom: 26px;
}

.hs-status,
.hs-type {
display: inline-flex;
align-items: center;
padding: 5px 10px;
border-radius: 999px;
font-size: 0.72rem;
letter-spacing: 0.7px;
text-transform: uppercase;
}

.hs-status {
background: rgba(89, 160, 92, 0.15);
color: #a8e0a9;
border: 1px solid rgba(168, 224, 169, 0.25);
}

.soon-label {
background: rgba(214, 179, 106, 0.12);
color: #d6b36a;
border: 1px solid rgba(214, 179, 106, 0.25);
}

.hs-type {
background: rgba(255, 255, 255, 0.06);
color: rgba(243, 234, 215, 0.65);
border: 1px solid rgba(255, 255, 255, 0.08);
}

.hs-card h2 {
margin: 0 0 12px;
color: #f1d58a;
font-size: 1.35rem;
}

.hs-card p {
margin: 0;
color: rgba(243, 234, 215, 0.78);
line-height: 1.55;
}

.hs-btn {
display: inline-block;
margin-top: 22px;
padding: 10px 18px;
border-radius: 999px;
background: #d6b36a;
color: #111;
text-decoration: none;
font-weight: 700;
transition: transform 0.15s ease, background 0.15s ease;
}

.hs-btn:hover {
transform: translateY(-1px);
background: #efca7c;
}

.hs-btn.disabled {
background: rgba(255, 255, 255, 0.08);
color: rgba(243, 234, 215, 0.42);
cursor: default;
}

.hs-forbidden {
max-width: 650px;
margin: 70px auto;
padding: 35px 24px;
text-align: center;
border-radius: 18px;
background:
radial-gradient(circle at top, rgba(214, 179, 106, 0.12), transparent 42%),
rgba(15, 15, 18, 0.95);
border: 1px solid rgba(214, 179, 106, 0.25);
color: #f3ead7;
}

.hs-forbidden h1 {
margin: 0 0 12px;
color: #f1d58a;
}

.hs-forbidden p {
margin-bottom: 24px;
color: rgba(243, 234, 215, 0.78);
}

.hs-forbidden a {
display: inline-block;
padding: 10px 18px;
border-radius: 999px;
background: #d6b36a;
color: #111;
font-weight: bold;
text-decoration: none;
}

/* =====================================
LECTURE HORS-SERIE
===================================== */

.hs-view-page {
max-width: 900px;
margin: 0 auto;
padding: 40px 16px 70px;
color: #f3ead7;
}

.hs-view-header {
text-align: center;
margin-bottom: 30px;
}

.hs-view-header h1 {
margin-top: 15px;
color: #f6d889;
font-size: clamp(2rem, 5vw, 3rem);
}

.hs-back {
display: inline-block;
margin-bottom: 15px;
color: #d6b36a;
text-decoration: none;
font-weight: 600;
}

.hs-back:hover {
text-decoration: underline;
}

.hs-view-gallery {
max-width: 700px;
margin: 0 auto;
}

.hs-page-img {
text-align: center;
margin-bottom: 25px;
}

.hs-page-img img {
display: inline-block;
width: auto;
max-width: 100%;
max-height: 800px;
height: auto;
border-radius: 10px;
box-shadow:
0 10px 25px rgba(0,0,0,0.35);
}

@media (max-width: 620px) {

```
.hors-serie-page {
    padding-top: 30px;
}

.hs-card {
    min-height: auto;
}

.hs-card-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.hs-view-gallery {
    max-width: 100%;
}

.hs-page-img img {
    max-height: none;
}
```

}

/*######################################

# fin style_hors-serie.css

#######################################*/


