/* Blast Dragonica — thème du site.
   Repris de l'ancien site : le grand visuel de personnage, le cadre central à bords de métal,
   les étiquettes d'actualité, le tableau de l'Emporia, le pupitre Télécharger / Inscription /
   Recharger et le logo en relief. Passé au sombre : charbon, rouille, braise. */

:root {
  --charbon: #0d0b0a;
  --suie: #15110f;
  --fonte: #1d1714;
  --fonte-haute: #261e1a;
  --rouille: #47332a;
  --rouille-claire: #6b4a3a;
  --braise: #ff5a12;
  --flamme: #ffab1f;
  --sang: #b3141c;
  --cendre: #ece2d6;
  --gris: #a6988b;
  --vert: #7fd35a;

  --affiche: "Teko", "Arial Narrow", sans-serif;
  --texte: "Barlow", "Segoe UI", sans-serif;
  --coupe: 14px;
  --largeur: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; }
body {
  margin: 0;
  background-color: var(--charbon);
  /* grain + lueur de fournaise en bas de page */
  background-image:
    radial-gradient(ellipse 80% 45% at 50% 105%, rgba(255, 90, 18, .16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-attachment: fixed, scroll;
  color: var(--cendre);
  font: 500 17px/1.55 var(--texte);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--flamme); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--flamme); outline-offset: 3px; }

.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 16px; top: 16px; z-index: 99; background: var(--flamme); color: #000; padding: 8px 12px; }

h1, h2, h3 { font-family: var(--affiche); font-weight: 600; line-height: .95; letter-spacing: .01em; margin: 0; }

/* ------------------------------------------------------------------ logo en relief */
.marque {
  display: inline-flex; flex-direction: column; text-decoration: none; line-height: .8;
  font-family: var(--affiche); text-transform: uppercase;
}
.marque__haut {
  font-size: 46px; font-weight: 700; color: var(--braise); letter-spacing: .02em;
  /* extrusion noire, comme le logo de l'ancien site */
  text-shadow: 1px 1px 0 #1a0d07, 2px 2px 0 #1a0d07, 3px 3px 0 #1a0d07, 4px 4px 0 #000, 5px 6px 10px rgba(0, 0, 0, .7);

}
.marque__bas {
  font-size: 19px; font-weight: 600; color: var(--cendre); letter-spacing: .38em; padding-left: 3px;
  text-shadow: 2px 2px 0 #000;
}
.marque:hover .marque__haut { color: var(--flamme); }

/* ------------------------------------------------------------------ bandeau */
.bandeau {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(#120e0c, #0d0a09);
  border-bottom: 1px solid var(--rouille);
  box-shadow: 0 1px 0 #000, 0 10px 30px rgba(0, 0, 0, .55);
}
.bandeau::after { /* filet de braise sous le bandeau */
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--sang) 20%, var(--braise) 50%, var(--sang) 80%, transparent);
}
.bandeau__int {
  max-width: var(--largeur); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 28px;
}
.bandeau__menu { display: none; }
.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 8px 14px 4px; color: var(--gris); text-decoration: none;
  font: 600 22px/1 var(--affiche); text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 3px solid transparent;
}
.nav ul a:hover { color: var(--cendre); }
.nav ul a[aria-current="page"] { color: var(--cendre); border-bottom-color: var(--braise); }
.nav__compte { display: flex; align-items: center; gap: 12px; }
.nav__compte form { margin: 0; }
.nav__lien {
  color: var(--cendre); text-decoration: none; font-weight: 600; font-size: 15px;
  background: none; border: 0; cursor: pointer; font-family: var(--texte); padding: 6px 4px;
}
.nav__lien:hover, .nav__lien.est-actif { color: var(--flamme); }
.nav__lien--sobre { color: var(--gris); }
/* sélecteur de langue : deux plaques au pochoir, la langue active éclairée de braise */
.nav .langue { display: flex; flex-direction: row; gap: 0; margin: 0 0 0 4px; padding: 0; list-style: none; box-shadow: inset 0 0 0 1px var(--rouille); }
.nav .langue a {
  display: block; padding: 6px 8px 2px; border: 0; color: var(--gris);
  font: 600 17px/1 var(--affiche); letter-spacing: .08em;
}
.nav .langue a:hover { color: var(--cendre); }
.nav .langue a[aria-current] { background: var(--rouille); color: var(--flamme); box-shadow: inset 0 -2px 0 var(--braise); }

/* ------------------------------------------------------------------ boutons */
.bouton {
  --c: var(--braise);
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  padding: 12px 26px 9px; background: var(--c); color: #160902;
  font: 700 22px/1 var(--affiche); text-transform: uppercase; letter-spacing: .05em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25);
  transition: background-color .15s, transform .15s;
}
.bouton:hover { background: var(--flamme); color: #160902; transform: translateY(-1px); }
.bouton--petit { font-size: 18px; padding: 9px 18px 6px; }
.bouton--froid { --c: var(--fonte-haute); color: var(--cendre); box-shadow: inset 0 0 0 1px var(--rouille-claire); }
.bouton--froid:hover { background: var(--rouille); color: #fff; }

/* ------------------------------------------------------------------ messages */
.message {
  max-width: var(--largeur); margin: 18px auto 0; padding: 12px 18px;
  border-left: 4px solid var(--flamme); background: var(--fonte); font-weight: 600;
}
.message--erreur { border-color: var(--sang); color: #ffb3a8; }
.message--ok { border-color: var(--vert); }

/* ------------------------------------------------------------------ accueil : front */
.front {
  position: relative; overflow: hidden;
  max-width: var(--largeur); margin: 0 auto; padding: 72px 16px 40px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: end;
  min-height: 560px;
}
.front__souffle { /* l'explosion : rayons + cœur incandescent */
  position: absolute; z-index: 0; width: 900px; height: 900px; right: -120px; top: -200px;
  background:
    radial-gradient(circle, rgba(255, 214, 140, .55) 0, rgba(255, 120, 30, .35) 9%, rgba(179, 20, 28, .18) 24%, transparent 46%),
    repeating-conic-gradient(from 7deg, rgba(255, 110, 30, .16) 0 4deg, transparent 4deg 13deg, rgba(255, 170, 60, .08) 13deg 15deg, transparent 15deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%);
          mask: radial-gradient(circle, #000 18%, transparent 62%);
  animation: souffle 9s ease-in-out infinite alternate;
}
@keyframes souffle { from { transform: rotate(0) scale(1); } to { transform: rotate(8deg) scale(1.05); } }
.front__heros {
  position: absolute; z-index: 1; right: 330px; top: 18px; width: 560px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .75)) drop-shadow(0 0 30px rgba(255, 90, 18, .25));
}
.front__texte { position: relative; z-index: 2; padding-bottom: 12px; }
.surtitre {
  margin: 0 0 14px; color: var(--flamme); text-transform: uppercase;
  font: 600 18px/1 var(--affiche); letter-spacing: .18em;
}
.front__titre {
  margin: 0; font-family: var(--affiche); line-height: .95; letter-spacing: .01em;
  font-size: clamp(70px, 10vw, 136px); font-weight: 700; text-transform: uppercase;
  text-shadow: 4px 4px 0 #000, 0 0 40px rgba(0, 0, 0, .8);
}
.front__titre span { color: var(--braise); text-shadow: 4px 4px 0 #2a0c02, 0 0 34px rgba(255, 90, 18, .45); }
.front__chapeau { max-width: 30ch; margin: 18px 0 0; font-size: 19px; color: #d9cdbf; text-shadow: 0 2px 6px #000; }

/* le pupitre : la colonne de boutons de l'ancien site, en plaques de fonte */
.pupitre { position: relative; z-index: 2; display: grid; gap: 10px; justify-self: end; width: 100%; max-width: 330px; }
.pupitre__bouton {
  display: grid; padding: 14px 22px 12px; text-decoration: none; color: var(--cendre);
  background: linear-gradient(#2a211c, #1a1411);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 0 0 1px var(--rouille), 0 8px 20px rgba(0, 0, 0, .5);
  clip-path: polygon(0 0, calc(100% - var(--coupe)) 0, 100% var(--coupe), 100% 100%, var(--coupe) 100%, 0 calc(100% - var(--coupe)));
  transition: transform .15s, background .15s;
}
.pupitre__bouton span { font: 700 30px/1 var(--affiche); text-transform: uppercase; letter-spacing: .03em; }
.pupitre__bouton small { color: var(--gris); font-size: 14px; font-weight: 600; }
.pupitre__bouton:hover { transform: translateX(-4px); color: #fff; background: linear-gradient(#352922, #211915); }
.pupitre__bouton--feu { background: linear-gradient(#ff7a1f, #e2470c); color: #1b0b03; box-shadow: inset 0 1px 0 #ffc77a, 0 10px 30px rgba(255, 90, 18, .35); }
.pupitre__bouton--feu small { color: #4a1c05; }
.pupitre__bouton--feu:hover { background: linear-gradient(#ff9a3a, #f05a14); color: #000; }

.etat {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: rgba(0, 0, 0, .55); border: 1px solid var(--rouille); font-size: 15px;
}
.etat__voyant { width: 11px; height: 11px; border-radius: 50%; background: var(--sang); box-shadow: 0 0 0 3px rgba(179, 20, 28, .25); }
.etat--on .etat__voyant { background: var(--vert); box-shadow: 0 0 10px var(--vert); }
.etat--on strong { color: var(--vert); }
.etat--off strong { color: #ff8a80; }

/* ------------------------------------------------------------------ cadres */
.colonnes {
  max-width: var(--largeur); margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: 2fr 1fr; gap: 22px; align-items: start;
}
.cadre {
  position: relative; background: var(--fonte); padding: 0 24px 22px;
  box-shadow: inset 0 0 0 1px var(--rouille), inset 0 1px 0 1px rgba(255, 255, 255, .04), 0 18px 40px rgba(0, 0, 0, .45);
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%, 0 var(--coupe));
}
.cadre__tete {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 0 -24px 6px; padding: 16px 24px 10px;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .018) 0 6px, transparent 6px 12px), var(--fonte-haute);
  border-bottom: 1px solid var(--rouille);
}
.cadre__tete h2 { font-size: 34px; text-transform: uppercase; }
.cadre__tete h2::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 12px 6px 0; background: var(--braise); transform: rotate(45deg); }
.cadre__plus { font-weight: 600; font-size: 15px; }
.vide { color: var(--gris); }

/* actualités, avec les icônes de catégorie de l'ancien site */
.actu { padding: 6px 0 6px 16px; border-left: 3px solid var(--rouille-claire); margin: 12px 0; }
.actu--event { border-left-color: #c2470f; }
.actu--maint { border-left-color: var(--sang); }
.actu--maj { border-left-color: #b8860b; }
.actu--news { border-left-color: var(--braise); }
.actu:last-child { border-bottom: 0; }

.actu__meta { display: flex; gap: 10px; align-items: center; margin: 0 0 4px; color: var(--gris); font-size: 14px; }
.etiquette {
  padding: 2px 8px 1px; background: var(--rouille); color: var(--cendre);
  font: 600 16px/1.2 var(--affiche); text-transform: uppercase; letter-spacing: .05em;
}
.actu--event .etiquette { background: #7a2a0c; }
.actu--maint .etiquette { background: #5b1418; }
.actu--maj .etiquette { background: #6a4a10; }
.actu__titre { font-size: 28px; }
.actu__titre a { color: var(--cendre); text-decoration: none; }
.actu__titre a:hover { color: var(--flamme); }
.actu__resume { margin: 4px 0 0; color: #cbbfb2; }

/* Emporia */
.emporia { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.emporia__ligne { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; background: var(--suie); border: 1px solid #2f231d; }
.emporia__etoiles { color: var(--flamme); font-size: 20px; letter-spacing: 2px; text-shadow: 0 0 10px rgba(255, 171, 31, .5); }
.emporia__guilde { font: 600 24px/1 var(--affiche); }

/* lignées */
.titre-section { max-width: var(--largeur); margin: 0 auto 16px; padding: 0 16px; font-size: 44px; text-transform: uppercase; }
.lignees { margin: 56px 0 0; }
.lignees__liste {
  max-width: var(--largeur); margin: 0 auto; padding: 0 16px; list-style: none;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.lignee {
  position: relative; display: grid; align-content: end; min-height: 290px; padding: 12px;
  background: radial-gradient(circle at 50% 35%, #3a2118, var(--suie) 70%);
  box-shadow: inset 0 0 0 1px #33251e; overflow: hidden;
}
.lignee img { position: absolute; left: 8px; right: 8px; top: 12px; width: calc(100% - 16px); height: calc(100% - 78px); object-fit: contain; object-position: center bottom; transition: transform .25s; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .6)); }
.lignee:hover img { transform: scale(1.06) translateY(-4px); }
.lignee__nom { position: relative; font: 700 28px/1 var(--affiche); text-transform: uppercase; text-shadow: 2px 2px 0 #000; }
.lignee__voies { position: relative; color: var(--gris); font-size: 13px; font-weight: 600; }

/* ------------------------------------------------------------------ pages intérieures */
.page { max-width: var(--largeur); margin: 0 auto; padding: 40px 16px 0; }
.page--etroite { max-width: 560px; }
.page__titre { font-size: 64px; text-transform: uppercase; margin-bottom: 6px; text-shadow: 3px 3px 0 #000; }
.page__chapeau { color: var(--gris); margin: 0 0 24px; }

.formulaire { display: grid; gap: 16px; padding-top: 18px; }
.champ { display: grid; gap: 6px; }
.champ label { font: 600 20px/1 var(--affiche); text-transform: uppercase; letter-spacing: .04em; }
.champ input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--rouille-claire); background: #0f0c0b; color: var(--cendre);
  font: 500 17px var(--texte);
}
.champ input:focus { outline: none; border-color: var(--flamme); box-shadow: 0 0 0 3px rgba(255, 171, 31, .2); }
.champ small { color: var(--gris); font-size: 14px; }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.case input { margin-top: 4px; accent-color: var(--braise); }
.erreurs { margin: 0; padding: 12px 16px 12px 34px; background: #2a0d0e; border-left: 4px solid var(--sang); color: #ffc2ba; }
.apres-formulaire { margin-top: 18px; color: var(--gris); font-size: 15px; }

/* compte */
.solde { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 4px; }
.solde strong { font: 700 56px/1 var(--affiche); color: var(--flamme); }
.fiche { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 12px 0 0; font-size: 15px; }
.fiche dt { color: var(--gris); }
.fiche dd { margin: 0; }
.persos { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.perso { position: relative; height: 210px; padding: 10px; display: grid; align-content: end; background: radial-gradient(circle at 50% 30%, #33201a, var(--suie) 70%); box-shadow: inset 0 0 0 1px #33251e; overflow: hidden; }
.perso img { position: absolute; inset: 0 0 40px; width: 100%; height: calc(100% - 40px); object-fit: contain; }
.perso__nom { position: relative; font: 700 26px/1 var(--affiche); text-shadow: 2px 2px 0 #000; }
.perso__classe { position: relative; color: var(--gris); font-size: 14px; }
.perso__niveau { position: absolute; top: 8px; right: 8px; padding: 2px 8px; background: var(--braise); color: #1b0b03; font: 700 18px/1.1 var(--affiche); }

/* boutique */
.offres { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 12px; }
.offre { margin: 0; }
.offre button {
  width: 100%; display: grid; gap: 2px; padding: 16px 12px; cursor: pointer; text-align: left; color: var(--cendre);
  background: var(--suie); border: 1px solid #3a2b24; font-family: var(--texte);
}
.offre button:hover { border-color: var(--braise); background: #1f1511; }
.offre__prix { font: 700 40px/1 var(--affiche); color: #fff; }
.offre__cash { color: var(--flamme); font-weight: 700; }
.offre__bonus { color: var(--vert); font-size: 13px; font-weight: 700; }
.moyen { margin-top: 22px; }
.moyen h3 { font-size: 30px; text-transform: uppercase; }
.note { color: var(--gris); font-size: 14px; }

/* actualité */
.article { max-width: 760px; }
.article__corps { font-size: 18px; }
.article__corps p { margin: 0 0 1em; }

/* téléchargement */
.liens-dl { display: grid; gap: 12px; margin-top: 14px; }
.lien-dl { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: var(--suie); border: 1px solid #3a2b24; text-decoration: none; color: var(--cendre); }
.lien-dl:hover { border-color: var(--braise); color: #fff; }
.lien-dl strong { font: 700 30px/1 var(--affiche); text-transform: uppercase; }
.etapes { counter-reset: e; list-style: none; padding: 0; display: grid; gap: 14px; }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; }
.etapes li::before { content: counter(e); display: grid; place-items: center; height: 48px; background: var(--braise); color: #1b0b03; font: 700 32px/1 var(--affiche); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }

/* ------------------------------------------------------------------ pied */
.pied { margin-top: 80px; background: #0a0807; border-top: 1px solid var(--rouille); }
.pied__int { max-width: var(--largeur); margin: 0 auto; padding: 36px 16px 20px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.pied__marque p { max-width: 46ch; color: var(--gris); font-size: 14px; }
.marque--pied .marque__haut { font-size: 34px; }
.marque--pied .marque__bas { font-size: 15px; }
.pied__liens { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pied__liens a { color: var(--gris); text-decoration: none; font-weight: 600; }
.pied__liens a:hover { color: var(--flamme); }
.pied__bas { margin: 0; padding: 14px 16px 22px; text-align: center; color: #6f645a; font-size: 13px; }

/* ------------------------------------------------------------------ petits écrans */
@media (max-width: 960px) {
  .front { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .front__heros { position: relative; right: auto; top: auto; width: 80%; margin: -40px auto -60px; grid-row: 2; }
  .front__souffle { right: -300px; }
  .pupitre { justify-self: stretch; max-width: none; grid-row: 3; }
  .colonnes { grid-template-columns: 1fr; }
  .lignees__liste { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .bandeau__int { flex-wrap: wrap; gap: 10px; }
  .bandeau__menu {
    display: block; margin-left: auto; padding: 8px 14px 5px; background: var(--fonte-haute); color: var(--cendre);
    border: 1px solid var(--rouille-claire); font: 600 20px/1 var(--affiche); text-transform: uppercase; cursor: pointer;
  }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 10px; padding-bottom: 10px; }
  .nav.est-ouvert { display: flex; }
  .nav ul { flex-direction: column; }
  .nav__compte { justify-content: space-between; }
  .lignees__liste { grid-template-columns: repeat(2, 1fr); }
  .page__titre { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ajouts : mise en page des pages intérieures, menu sans JavaScript */
.colonnes--page { padding: 0; }
.pile { display: grid; gap: 22px; }
@media (max-width: 760px) {
  .nav { display: flex; }
  .js .nav:not(.est-ouvert) { display: none; }
}
.vide--haut { padding-top: 18px; }
.filtres { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; }
.filtres a { padding: 6px 12px 3px; background: var(--fonte); box-shadow: inset 0 0 0 1px var(--rouille); color: var(--gris); text-decoration: none; font: 600 19px/1 var(--affiche); text-transform: uppercase; }
.filtres a:hover { color: var(--cendre); }
.filtres a[aria-current="page"] { background: var(--braise); color: #1b0b03; box-shadow: none; }
.offre--starpass { padding: 14px; background: var(--suie); border: 1px solid #3a2b24; }
.offre--starpass p { margin: 0 0 10px; }
@media (max-width: 760px) {
  .front { padding-top: 28px; overflow: hidden; }
  .front__titre { font-size: clamp(58px, 17vw, 96px); }
  .actu__titre { font-size: 24px; }
  html, body { overflow-x: hidden; }
}

/* état des serveurs */
a.etat { color: var(--cendre); text-decoration: none; }
a.etat:hover { border-color: var(--rouille-claire); }
.bilan { display: flex; gap: 18px; align-items: center; margin: 0 0 22px; padding: 20px 24px; background: var(--fonte); box-shadow: inset 0 0 0 1px var(--rouille); border-left: 6px solid var(--vert); }
.bilan--ko { border-left-color: var(--sang); }
.bilan__voyant { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 18px var(--vert); }
.bilan--ko .bilan__voyant { background: var(--sang); box-shadow: 0 0 18px var(--sang); }
.bilan__titre { margin: 0; font: 700 38px/1 var(--affiche); text-transform: uppercase; }
.bilan__texte { margin: 4px 0 0; color: var(--gris); }
.services { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.service { display: grid; grid-template-columns: auto 160px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--suie); border: 1px solid #2f231d; }
.service__voyant { width: 12px; height: 12px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 10px var(--vert); }
.service--ko .service__voyant { background: var(--sang); box-shadow: 0 0 10px var(--sang); }
.service__nom { font: 700 26px/1 var(--affiche); text-transform: uppercase; }
.service__role { color: var(--gris); font-size: 15px; }
.service__etat { font: 600 20px/1 var(--affiche); text-transform: uppercase; color: var(--vert); }
.service--ko .service__etat { color: #ff8a80; }
.cadre--suite { margin-top: 22px; }
@media (max-width: 760px) {
  .service { grid-template-columns: auto 1fr auto; }
  .service__role { grid-column: 2 / -1; grid-row: 2; }
}
/* illustrations très larges : agrandies depuis le sol pour égaler les autres */
.lignee img { transform-origin: 50% 100%; }
.lignee--warrior img { scale: 1.2; }
.lignee--magician img { scale: 1.12; }

/* cartes de lignées cliquables (accueil) */
.titre-section a { color: inherit; text-decoration: none; }
.titre-section a:hover { color: var(--flamme); }
.lignee__lien { position: absolute; inset: 0; z-index: 2; }
.lignee:hover { box-shadow: inset 0 0 0 1px var(--braise); }
.lignee__lien:focus-visible { outline-offset: -4px; }

/* page Classes : volets déroulants (details/summary, sans JavaScript) */
.classes { display: grid; gap: 14px; }
.classe {
  background: var(--fonte);
  box-shadow: inset 0 0 0 1px var(--rouille), 0 14px 30px rgba(0, 0, 0, .4);
  clip-path: polygon(var(--coupe) 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%, 0 var(--coupe));
}
.classe[open] { box-shadow: inset 0 0 0 1px var(--braise), 0 14px 30px rgba(0, 0, 0, .4); }
.classe__tete {
  display: grid; grid-template-columns: 170px 1fr auto; gap: 22px; align-items: center;
  padding: 0 26px 0 0; cursor: pointer; list-style: none;
}
.classe__tete::-webkit-details-marker { display: none; }
.classe__tete:hover .classe__nom { color: var(--flamme); }
.classe__art {
  position: relative; height: 150px; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, #4a2618, #1a1210 72%);
}
.classe__art img { position: absolute; inset: 8px 6px 0; width: calc(100% - 12px); height: calc(100% - 8px); object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); transition: transform .25s; transform-origin: 50% 100%; }
.classe[open] .classe__art img, .classe__tete:hover .classe__art img { transform: scale(1.08); }
.classe__titre { display: grid; gap: 4px; }
.classe__style { color: var(--flamme); font: 600 17px/1 var(--affiche); text-transform: uppercase; letter-spacing: .12em; }
.classe__nom { font: 700 50px/.9 var(--affiche); text-transform: uppercase; text-shadow: 3px 3px 0 #000; transition: color .15s; }
.classe__accroche { color: var(--gris); }
.classe__fleche {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--fonte-haute); box-shadow: inset 0 0 0 1px var(--rouille-claire);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.classe__fleche::before {
  content: ""; width: 10px; height: 10px; margin-top: -4px;
  border-right: 3px solid var(--cendre); border-bottom: 3px solid var(--cendre); transform: rotate(45deg); transition: transform .2s;
}
.classe[open] .classe__fleche { background: var(--braise); }
.classe[open] .classe__fleche::before { transform: rotate(-135deg); margin-top: 6px; border-color: #1b0b03; }
.classe__corps { padding: 6px 30px 26px 192px; max-width: 980px; font-size: 17px; animation: deroule .25s ease-out; }
@keyframes deroule { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.classe__corps p { margin: 0 0 .8em; color: #d8ccbf; }
.classe__pour { padding: 10px 14px; background: var(--suie); border-left: 3px solid var(--flamme); }
.classe__pour strong { color: var(--cendre); }
.classe__sous-titre { margin: 18px 0 10px; font-size: 26px; text-transform: uppercase; }
.voie { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0 0 8px; padding: 0; }
.voie__etape {
  padding: 7px 14px 5px; background: var(--suie); box-shadow: inset 0 0 0 1px #3a2b24;
  font: 600 20px/1 var(--affiche); text-transform: uppercase; letter-spacing: .03em;
}
.voie__etape--base { background: var(--rouille); }
.voie__etape:last-child { background: linear-gradient(#ff7a1f, #e2470c); color: #1b0b03; box-shadow: none; }
.voie__etape + .voie__etape::before { content: "›"; margin: 0 10px 0 -2px; color: var(--braise); }
.voie__etape:last-child::before { color: #1b0b03; }
@media (max-width: 760px) {
  .classe__tete { grid-template-columns: 96px 1fr auto; gap: 14px; padding-right: 14px; }
  .classe__art { height: 110px; }
  .classe__nom { font-size: 36px; }
  .classe__accroche { font-size: 14px; }
  .classe__corps { padding: 6px 16px 20px; }
}

/* ------------------------------------------------------------------ battle pass */
.bp-tete { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: stretch; }
/* cartes de même hauteur : le contenu de la progression est centré sous son titre */
.bp-progression, .bp-premium { display: flex; flex-direction: column; }
.bp-progression > .bp-niveau { margin-top: auto; }
.bp-progression > .bp-gains { margin-bottom: auto; }
.bp-premium > :last-child { margin-bottom: auto; }
.bp-premium > .cadre__tete + * { margin-top: auto; }
.bp-niveau { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 10px; }
.bp-niveau__nombre { font: 700 92px/.8 var(--affiche); color: var(--flamme); text-shadow: 4px 4px 0 #2a0c02, 0 0 30px rgba(255, 90, 18, .35); }
.bp-niveau__sur { font: 600 26px/1 var(--affiche); color: var(--gris); text-transform: uppercase; }
.bp-barre { position: relative; height: 18px; background: #0f0b09; box-shadow: inset 0 0 0 1px var(--rouille-claire); overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.bp-barre__remplie { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--sang), var(--braise) 60%, var(--flamme));
  box-shadow: 0 0 18px rgba(255, 120, 30, .6); }
.bp-gains { margin-top: 10px; }
.bp-gains summary { cursor: pointer; color: var(--flamme); font-weight: 700; }
.bp-gains ul { margin: 10px 0 4px; padding-left: 20px; }
.bp-premium__prix { margin: 12px 0 4px; }
.bp-premium__prix strong { font: 700 56px/1 var(--affiche); color: #ffd36b; }
.bp-premium__statut { margin: 12px 0 0; font: 700 44px/1 var(--affiche); color: #ffd36b; text-transform: uppercase; }
.bp-premium { background: linear-gradient(160deg, #2b1d10, var(--fonte) 55%); }
.bp-premium--actif { box-shadow: inset 0 0 0 1px #c99a2e, 0 18px 40px rgba(0, 0, 0, .45); }
.bouton[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.bp-envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 10px; padding: 14px 18px; background: var(--fonte); box-shadow: inset 0 0 0 1px var(--rouille); }
.bp-envoi label { font: 600 20px/1 var(--affiche); text-transform: uppercase; }
.bp-envoi select { flex: 1; min-width: 220px; padding: 10px 12px; background: #0f0c0b; color: var(--cendre); border: 1px solid var(--rouille-claire); font: 500 16px var(--texte); }
.bp-envoi .note { flex-basis: 100%; margin: 0; }

.bp-pistes { position: relative; display: grid; grid-template-columns: 92px 1fr; margin-top: 12px; }
.bp-legende { display: grid; grid-template-rows: 34px 1fr 1fr; gap: 8px; padding-bottom: 14px; }
.bp-legende span { display: grid; place-items: center; font: 700 22px/1 var(--affiche); text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.bp-legende span:first-child { grid-row: 2; background: var(--fonte-haute); color: var(--cendre); }
.bp-legende span:last-child { grid-row: 3; background: linear-gradient(#5a3b12, #2b1d10); color: #ffd36b; }
.bp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 8px; list-style: none; margin: 0; padding: 0 0 14px; overflow-x: auto;
  scrollbar-color: var(--rouille-claire) #0f0b09; }
.bp-col { display: grid; grid-template-rows: 34px 1fr 1fr; gap: 8px; }
.bp-col__num { display: grid; place-items: center; background: var(--suie); box-shadow: inset 0 0 0 1px #3a2b24; color: var(--gris); font: 700 22px/1 var(--affiche); }
.bp-col--atteint .bp-col__num { background: var(--rouille); color: var(--cendre); }
.bp-col--suivant .bp-col__num { background: var(--braise); color: #1b0b03; }
.bp-case { display: grid; align-content: space-between; gap: 10px; min-height: 120px; padding: 12px; background: var(--suie); box-shadow: inset 0 0 0 1px #33251e; }
.bp-case__lib { font-weight: 700; font-size: 15px; line-height: 1.25; }
.bp-case--cash .bp-case__lib { color: #ffd36b; font: 700 24px/1 var(--affiche); }
.bp-case--premium { background: linear-gradient(#24180d, var(--suie)); box-shadow: inset 0 0 0 1px #4d3714; }
.bp-case--verrou .bp-case__lib, .bp-case--premium.bp-case--premium .bp-case__lib { opacity: .55; }
.bp-case--dispo { box-shadow: inset 0 0 0 2px var(--braise), 0 0 18px rgba(255, 90, 18, .3); }
.bp-case--dispo .bp-case__lib { opacity: 1; }
.bp-case--remis { opacity: .55; }
.bp-case__etat { font: 600 16px/1 var(--affiche); text-transform: uppercase; color: var(--gris); }
.bp-case--remis .bp-case__etat { color: var(--vert); }
.bp-case--premium .bp-case__etat { color: #c99a2e; }
.bp-case form { margin: 0; }
.bp-case button { width: 100%; padding: 7px 6px 5px; border: 0; cursor: pointer; background: var(--braise); color: #1b0b03;
  font: 700 18px/1 var(--affiche); text-transform: uppercase; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.bp-case button:hover { background: var(--flamme); }
@media (max-width: 960px) {
  .bp-tete { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bp-pistes { grid-template-columns: 40px 1fr; }
  .bp-legende span { font-size: 18px; }
  .bp-rail { grid-auto-columns: 132px; }
}
/* bords du rail en fondu : on voit qu'il défile */
.bp-rail { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
           mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); padding-left: 10px; padding-right: 28px; }
ul.bp-case__lib { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
ul.bp-case__lib li + li { padding-top: 4px; border-top: 1px dashed #3a2b24; }
.bp-case--vide { opacity: .5; align-content: center; justify-items: center; }
/* icônes des objets, tirées du client : case façon inventaire du jeu */
/* case : contenu (icônes + libellés) centré dans la hauteur libre, état ou bouton calé en bas */
.bp-case { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.bp-case__contenu { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; }
.bp-case__icones { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.bp-case__etat { text-align: center; }
.bp-case--vide { justify-content: center; align-items: center; }
ul.bp-case__lib { justify-items: center; }
ul.bp-case__lib li { width: 100%; }
.bp-ico { position: relative; display: block; width: 44px; height: 44px; padding: 2px; background: #0f0b09;
  box-shadow: inset 0 0 0 1px #4a3529, inset 0 0 10px rgba(0, 0, 0, .8); }
.bp-ico img { display: block; width: 40px; height: 40px; image-rendering: auto; }
.bp-ico__nb { position: absolute; right: 2px; bottom: 0; color: #fff; font: 700 13px/1.1 var(--texte, sans-serif);
  text-shadow: 0 0 2px #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; }
.bp-ico--or i { display: grid; place-items: center; width: 34px; height: 34px; margin: 3px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3b0, #f2c230 45%, #a8700c 100%); box-shadow: inset 0 0 0 2px #7a4f06;
  color: #5a3804; font: 700 12px/1 var(--affiche); font-style: normal; text-transform: uppercase; }
.bp-ico--vide { opacity: .4; }
.bp-case--verrou .bp-case__icones, .bp-case--premium .bp-case__icones { filter: saturate(.6) brightness(.8); }
.bp-case__lib { font-size: 13px; }
ul.bp-case__lib { font-weight: 600; }
.bp-remb { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #4d3714; }
.bp-remb p { margin: 0 0 8px; }
.bp-starpass { margin-top: 12px; }

/* ------------------------------------------------------------------ roue de Noël */
.roue-scene { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.roue-cadre { display: flex; flex-direction: column; align-items: center; text-align: center; }
.roue-cadre > .cadre__tete { align-self: stretch; text-align: left; }
.roue { position: relative; width: min(100%, 440px); margin: 18px auto 8px; }
.roue__disque { display: block; width: 100%; height: auto; transform-origin: 50% 50%;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(255, 90, 18, .18)); }
.roue--tourne .roue__disque { transition: transform 5.2s cubic-bezier(.12, .7, .08, 1); }
.roue__repere { position: absolute; z-index: 2; top: -6px; left: 50%; width: 34px; height: 40px; margin-left: -17px;
  background: linear-gradient(var(--flamme), var(--braise)); clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 3px 0 #2a0c02); }
.roue__jante { fill: #0f0b09; stroke: var(--rouille-claire); stroke-width: 3; }
.roue__case path { stroke: #0d0b0a; stroke-width: 2; }
.roue__case--a path { fill: var(--fonte-haute); }
.roue__case--b path { fill: var(--rouille); }
.roue__case--c path { fill: #33261f; }
.roue__case--gros path { fill: #a8700c; }
.roue__valeur { fill: var(--cendre); font: 700 26px/1 var(--affiche); text-anchor: middle; paint-order: stroke; stroke: #0d0b0a; stroke-width: 4px; }
.roue__case--gros .roue__valeur { fill: #fff3b0; }
.roue__piece { fill: #f2c230; stroke: #7a4f06; stroke-width: 2; }
.roue__piece-txt { fill: #5a3804; font: 700 12px/1 var(--affiche); text-anchor: middle; text-transform: uppercase; }
.roue__moyeu { fill: var(--suie); stroke: var(--braise); stroke-width: 4; }
.roue__moyeu-txt { fill: var(--braise); font: 700 26px/1 var(--affiche); text-anchor: middle; text-transform: uppercase; }
.roue--arretee .roue__repere { animation: repere .5s ease-out; }
@keyframes repere { 30% { transform: translateY(5px) rotate(-8deg); } 60% { transform: translateY(-2px) rotate(4deg); } }
.roue-gain { width: 100%; margin: 6px 0 12px; padding: 14px 18px; background: linear-gradient(160deg, #2b1d10, var(--suie));
  box-shadow: inset 0 0 0 2px var(--braise), 0 0 26px rgba(255, 90, 18, .3); animation: deroule .3s ease-out; }
.roue-gain p { margin: 0; }
.roue-gain__titre { font: 700 26px/1 var(--affiche); color: var(--braise); text-transform: uppercase; }
.roue-gain__lib { margin: 6px 0 !important; font: 700 40px/1 var(--affiche); color: #ffd36b; }
.roue-deja { margin: 6px 0 4px; font-size: 18px; }
.roue-deja strong { color: #ffd36b; }
.roue-form { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; width: 100%; margin-top: 6px; }
.roue-form label { font: 600 20px/1 var(--affiche); text-transform: uppercase; }
.roue-form select { flex: 1; min-width: 200px; padding: 10px 12px; background: #0f0c0b; color: var(--cendre); border: 1px solid var(--rouille-claire); font: 500 16px var(--texte); }
.roue-bouton { margin-top: 4px; }
.roue-form .roue-bouton { flex-basis: 100%; }
.roue-table { width: 100%; margin-top: 12px; border-collapse: collapse; }
.roue-table th { padding: 0 8px 8px; color: var(--gris); font: 600 18px/1 var(--affiche); text-transform: uppercase; text-align: left; }
.roue-table th:last-child, .roue-table td:last-child { text-align: right; white-space: nowrap; }
.roue-table td { padding: 6px 8px; border-top: 1px solid #2c211c; font-weight: 600; }
.roue-table td:first-child { display: flex; align-items: center; gap: 12px; }
.roue-table td:last-child { font: 700 22px/1 var(--affiche); color: var(--flamme); }
.roue-table--gros td { color: #ffd36b; }
.roue-table--gros td:last-child { color: #ffd36b; }
.roue-sous-titre { margin: 22px 0 8px; font-size: 26px; text-transform: uppercase; }
.roue-historique { list-style: none; margin: 0; padding: 0; }
.roue-historique li { padding: 6px 0; border-top: 1px dashed #3a2b24; font-weight: 600; }
.roue-historique span { display: inline-block; min-width: 110px; color: var(--gris); font-weight: 500; }
@media (max-width: 960px) {
  .roue-scene { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .roue--tourne .roue__disque { transition: none; }
}

/* ------------------------------------------------------------------ journal du serveur (accueil) */
.journal { margin: 56px 0 0; }
.journal__colonnes { max-width: var(--largeur); margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.journal__col .cadre__tete h3 { font-size: 30px; text-transform: uppercase; }
.journal__col .cadre__tete h3::before { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 10px 5px 0; transform: rotate(45deg); background: var(--rouille-claire); }
.journal__col--maj .cadre__tete h3::before { background: #b8860b; }
.journal__col--event .cadre__tete h3::before { background: #c2470f; }
.journal__col--annonces .cadre__tete h3::before { background: var(--braise); }
.journal__liste { list-style: none; margin: 0; padding: 0; }
.journal__item { padding: 12px 0 12px 14px; border-left: 3px solid var(--rouille-claire); margin: 10px 0 0; }
.journal__item.actu--maj { border-left-color: #b8860b; }
.journal__item.actu--event { border-left-color: #c2470f; }
.journal__item.actu--news { border-left-color: var(--braise); }
.journal__item.actu--maint { border-left-color: var(--sang); }
.journal__item time { color: var(--gris); font-size: 14px; }
.journal__item .etiquette { margin-left: 8px; font-size: 14px; }
.journal__titre { display: block; margin: 2px 0 4px; color: var(--cendre); font: 600 24px/1 var(--affiche); text-decoration: none; }
.journal__titre:hover { color: var(--flamme); }
.journal__item p { margin: 0; color: #cbbfb2; font-size: 15px; line-height: 1.45; }
.journal__live { list-style: none; margin: 10px 0 4px; padding: 0; display: grid; gap: 8px; }
.journal__live a { display: block; padding: 10px 12px; background: linear-gradient(160deg, #2b1d10, var(--suie)); color: var(--cendre);
  text-decoration: none; box-shadow: inset 0 0 0 1px #6a3a16; }
.journal__live a:hover { box-shadow: inset 0 0 0 2px var(--braise); }
.journal__live strong { font: 600 22px/1 var(--affiche); }
.journal__live small { color: var(--gris); font-size: 14px; }
.journal__badge { display: inline-block; margin-right: 8px; padding: 2px 7px 1px; background: var(--braise); color: #1b0b03;
  font: 700 14px/1.2 var(--affiche); text-transform: uppercase; letter-spacing: .06em; vertical-align: 3px; }
.journal__badge::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: #1b0b03;
  animation: pouls 1.6s ease-in-out infinite; }
@keyframes pouls { 50% { opacity: .25; } }
@media (max-width: 960px) { .journal__colonnes { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .journal__badge::before { animation: none; } }
.journal__live small { display: block; margin-top: 4px; white-space: nowrap; }
