/* DIVINITIUM — feuille de style commune, deux thèmes :
   « Lumière » (ivoire, filets d'or, portail lumineux) et « Sang » (noir profond, rouge sang, braises).
   Le thème est posé sur <html data-theme="lumiere|sang"> par js/theme.js.
   Construit pour le téléphone d'abord, puis plus large quand la place existe. */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@400;500;600;700&family=EB+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root, [data-theme="lumiere"] {
  --fond: #f6f1e6; --fond-haut: #fffdf8;
  --surface: rgba(255, 253, 248, .92); --surface-pleine: #fffdf8; --surface-creuse: #f3ecdd;
  --texte: #2b2418; --doux: #7a6b52; --titre: #2b2418;
  --accent: #b8913a; --accent-clair: #dcc07a; --accent-fonce: #8a6a22;
  --second: #a3262a;
  --trait: rgba(184, 145, 58, .42); --trait-doux: rgba(184, 145, 58, .18);
  --ombre: 0 14px 40px rgba(120, 95, 40, .13);
  --cta: linear-gradient(180deg, #fffdf7, #f0e3c2); --cta-texte: #3a2c12; --cta-bord: #b8913a;
  --cta-plein: linear-gradient(135deg, #c9a24a, #e3c77d 50%, #b8913a); --cta-plein-texte: #2b2010;
  --champ: #fffdf8; --carte-bas: #fffdf8; --carte-fond: radial-gradient(ellipse 80% 70% at 50% 38%, #fffaf0 0%, #f1e3bf 55%, #d9c18a 100%);
  --entete: rgba(255, 253, 248, .94);
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z M28 63v34' fill='none' stroke='%23b8913a' stroke-opacity='.13'/%3E%3C/svg%3E");
  --halo: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, .95), transparent 70%);
  color-scheme: light;
}
[data-theme="sang"] {
  --fond: #090506; --fond-haut: #140708;
  --surface: rgba(20, 8, 9, .88); --surface-pleine: #170909; --surface-creuse: #0f0607;
  --texte: #ecdcd2; --doux: #a8908a; --titre: #f3e6dc;
  --accent: #c1121f; --accent-clair: #ff4d5a; --accent-fonce: #7a0a12;
  --second: #c9a84c;
  --trait: rgba(193, 18, 31, .5); --trait-doux: rgba(193, 18, 31, .22);
  --ombre: 0 14px 44px rgba(0, 0, 0, .6), 0 0 40px rgba(193, 18, 31, .08);
  --cta: linear-gradient(180deg, #2a0b0e, #160607); --cta-texte: #f3d7d0; --cta-bord: #c1121f;
  --cta-plein: linear-gradient(135deg, #7a0a12, #c1121f 50%, #8f0d17); --cta-plein-texte: #fff;
  --champ: #120708; --carte-bas: #120708; --carte-fond: radial-gradient(ellipse 80% 70% at 50% 38%, #5a1219 0%, #2a0709 55%, #120405 100%);
  --entete: rgba(9, 5, 6, .94);
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z M28 63v34' fill='none' stroke='%23c1121f' stroke-opacity='.09'/%3E%3C/svg%3E");
  --halo: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(193, 18, 31, .22), transparent 70%);
  color-scheme: dark;
}
:root {
  --f-titre: 'Cinzel', Georgia, serif;
  --f-orne: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --f-texte: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --marge: clamp(12px, 3.5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--fond); }
body {
  margin: 0; min-height: 100vh; min-width: 0; overflow-x: hidden;
  font-family: var(--f-texte); font-size: clamp(17px, 1.05vw + 14px, 20px); line-height: 1.6;
  color: var(--texte); background: var(--halo), var(--motif), var(--fond); background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-fonce); }
[data-theme="sang"] a { color: var(--accent-clair); }
a:hover { color: var(--accent); }
::selection { background: var(--trait); }

/* ---------- Décor ---------- */
.decor { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hexa { position: absolute; width: 140px; aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--trait-doux); animation: flotte 14s ease-in-out infinite; }
.hexa::after { content: ''; position: absolute; inset: 1.5px; clip-path: inherit; background: var(--fond); }
@keyframes flotte { 50% { transform: translateY(-18px) rotate(4deg); } }
.braise { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #ff3b2f; box-shadow: 0 0 8px #ff3b2f; opacity: 0; animation: braise linear infinite; }
@keyframes braise { 10% { opacity: .9; } 90% { opacity: .3; } 100% { transform: translate(var(--dx), -105vh); opacity: 0; } }
[data-theme="lumiere"] .braise { display: none; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 18px;
  padding: 10px var(--marge);
  background: var(--entete); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--trait); box-shadow: 0 1px 0 var(--trait-doux), 0 6px 24px rgba(0, 0, 0, .06);
}
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.marque img { width: 42px; height: 42px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--accent), 0 0 16px rgba(255, 80, 0, .35); }
.marque b { font-family: var(--f-orne); font-size: clamp(15px, 3.8vw, 20px); letter-spacing: .14em; line-height: 1; display: block; color: var(--accent-fonce); }
[data-theme="sang"] .marque b { color: var(--titre); text-shadow: 0 0 14px rgba(193, 18, 31, .7); }
.marque small { font-family: var(--f-titre); font-size: 9px; letter-spacing: .34em; text-transform: uppercase; color: var(--doux); }
.signets { display: flex; justify-content: center; align-items: center; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.signets::-webkit-scrollbar { display: none; }
.signets a {
  flex: none; white-space: nowrap; text-decoration: none; position: relative;
  font-family: var(--f-titre); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--texte); padding: 10px 11px; transition: color .2s;
}
.signets a + a::before { content: ''; position: absolute; left: -1px; top: 34%; height: 32%; width: 1px; background: var(--trait); }
.signets a:hover { color: var(--accent); }
.signets a.actif { color: var(--accent); }
.signets a.actif::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: 3px; height: 2px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.signets a.staff { color: var(--second); }
.outils-entete { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.bourse { display: flex; align-items: center; gap: 4px; text-decoration: none; font-family: var(--f-titre); font-weight: 600; font-size: 13px; color: var(--texte); padding: 5px 11px; border-radius: 20px; border: 1px solid var(--trait); background: var(--surface-pleine); }
.bourse img { width: 18px; height: 18px; object-fit: contain; }
.bourse span { margin-right: 6px; font-variant-numeric: tabular-nums; }
.bourse span:last-child { margin-right: 0; }
.bascule { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--trait); background: var(--surface-pleine); color: var(--accent); cursor: pointer; font-size: 16px; line-height: 1; display: grid; place-items: center; }
.bascule:hover { box-shadow: 0 0 0 3px var(--trait-doux); }
.profil { display: flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; font-family: var(--f-titre); font-size: 12px; letter-spacing: .1em; padding: 7px 14px; border-radius: 22px; border: 1px solid var(--cta-bord); background: var(--cta); color: var(--cta-texte); }
[data-theme="sang"] .profil { color: var(--cta-texte); }
.profil:hover { color: var(--accent); }
.profil.actif { box-shadow: 0 0 0 3px var(--trait-doux); }
@media (max-width: 980px) {
  .entete { grid-template-columns: minmax(0, 1fr) auto; }
  .signets { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin: 0 calc(-1 * var(--marge)); padding: 0 var(--marge); border-top: 1px solid var(--trait-doux); }
  .bourse { display: none; }
}

/* ---------- Mise en page ---------- */
.livre { width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(16px, 3vw, 34px) var(--marge) 34px; }
.pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(12px, 2vw, 24px); align-items: start; }
.pages.simple { grid-template-columns: minmax(0, 1fr); }
.page, .boite {
  position: relative; min-width: 0; padding: clamp(18px, 3.4vw, 36px);
  background: var(--surface); border: 1px solid var(--trait); border-radius: 14px;
  box-shadow: inset 0 0 0 4px var(--surface-pleine), inset 0 0 0 5px var(--trait-doux), var(--ombre);
}
/* Coins ornés */
.page::before, .boite::before, .banniere::before {
  content: ''; position: absolute; inset: 9px; pointer-events: none; border-radius: 9px; z-index: 2;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 18px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) top left / 1px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 18px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) top right / 1px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 18px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom left / 1px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 18px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom right / 1px 18px no-repeat;
  opacity: .8;
}

.banniere > img.pleine { left: 0; width: 100%; object-position: 70% 40%; -webkit-mask-image: none; mask-image: none; }
.banniere:has(img.pleine) .voile-banniere { background: linear-gradient(90deg, rgba(255, 253, 248, .9) 0%, rgba(255, 253, 248, .55) 38%, transparent 62%); }
[data-theme="sang"] .banniere:has(img.pleine) .voile-banniere { background: linear-gradient(90deg, rgba(11, 5, 6, .9) 0%, rgba(11, 5, 6, .5) 38%, transparent 62%); }
@media (max-width: 640px) { .banniere > img.pleine { height: 240px; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 40%); mask-image: linear-gradient(0deg, transparent 0, #000 40%); } }

/* Trio de héros détourés dans la bannière (en attendant une illustration) */
.trio { position: absolute; right: 0; bottom: 0; top: 0; width: 56%; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 60% 55%, rgba(220, 192, 122, .55), transparent 70%); }
[data-theme="sang"] .trio { background: radial-gradient(ellipse 60% 70% at 60% 55%, rgba(193, 18, 31, .45), transparent 70%); }
.trio img { position: absolute; bottom: 0; height: 68%; width: auto; max-width: none; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .3)); }
.trio .trio-1 { left: 50%; transform: translateX(-50%); height: 88%; z-index: 2; }
.trio .trio-0 { left: 0; opacity: .95; }
.trio .trio-2 { right: 0; opacity: .95; }
@media (max-width: 640px) { .trio { left: 0; width: 100%; height: 240px; bottom: auto; } }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--f-titre); line-height: 1.2; margin: 0 0 .5em; overflow-wrap: anywhere; color: var(--titre); font-weight: 500; }
h1 { font-size: clamp(26px, 5.4vw, 46px); text-align: center; letter-spacing: .08em; text-transform: uppercase; }
[data-theme="sang"] h1 { text-shadow: 0 0 22px rgba(193, 18, 31, .55); }
h2 { font-size: clamp(17px, 3vw, 22px); letter-spacing: .12em; text-transform: uppercase; margin-top: 1.6em; }
h3 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-fonce); margin-top: 1.6em; padding-bottom: 7px; border-bottom: 1px solid var(--trait); font-weight: 600; }
[data-theme="sang"] h3 { color: var(--accent-clair); }
p { margin: 0 0 1em; }
.chapitre { text-align: center; font-family: var(--f-titre); font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--accent-fonce); margin-bottom: 6px; }
[data-theme="sang"] .chapitre { color: var(--accent-clair); }
.fleuron { position: relative; height: 1px; width: min(280px, 70%); margin: 14px auto 26px; background: linear-gradient(90deg, transparent, var(--accent), transparent); font-size: 0; }
.fleuron::before, .fleuron::after { content: '◆'; position: absolute; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 7px; }
.fleuron::before { left: 15px; } .fleuron::after { right: 15px; }
.lettrine::first-letter { font-family: var(--f-orne); font-size: 3.2em; float: left; line-height: .85; padding: 6px 10px 0 0; color: var(--accent); }
.incipit { font-style: italic; font-size: 1.08em; text-align: center; color: var(--doux); }
.note-marge { border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; margin: 1.2em 0; font-style: italic; color: var(--doux); }
.petit { font-size: .86em; color: var(--doux); }
.centre { text-align: center; }
.titre-section { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 12px; }
.titre-section h2 { margin: 0; }
.titre-section a { font-family: var(--f-titre); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }

/* ---------- Portail (accueil) ---------- */
.portail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(14px, 2vw, 24px); align-items: start; }
.colonne { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 980px) { .portail { grid-template-columns: minmax(0, 1fr); } }
.banniere {
  position: relative; overflow: hidden; min-height: clamp(320px, 40vw, 440px);
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  border-radius: 16px; border: 1px solid var(--trait);
  box-shadow: inset 0 0 0 4px var(--surface-pleine), inset 0 0 0 5px var(--trait-doux), var(--ombre);
  background: var(--surface-pleine);
}
.banniere > img { position: absolute; top: 0; bottom: 0; right: 0; left: 34%; width: 66%; height: 100%; object-fit: cover; object-position: center 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
.banniere .voile-banniere { position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface-pleine) 0%, rgba(255, 253, 248, .85) 34%, transparent 60%); }
[data-theme="sang"] .banniere { background: radial-gradient(ellipse at 20% 50%, #1c0709, #0b0506 70%); }
[data-theme="sang"] .banniere .voile-banniere { background: linear-gradient(90deg, #0b0506 0%, rgba(11, 5, 6, .85) 34%, transparent 60%); }
.banniere .texte-banniere { position: relative; z-index: 3; padding: clamp(22px, 5vw, 50px); max-width: min(520px, 52%); }
@media (max-width: 640px) { .banniere .texte-banniere { max-width: none; } }
.banniere .surtitre { font-family: var(--f-titre); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--doux); margin-bottom: 10px; }
.banniere h1 { text-align: left; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.1; margin-bottom: 14px; }
.banniere p { color: var(--doux); max-width: 420px; }
@media (max-width: 640px) {
  .banniere { align-items: end; min-height: 0; padding-top: 220px; }
  .banniere > img { left: 0; width: 100%; height: 260px; bottom: auto; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 40%); mask-image: linear-gradient(0deg, transparent 0, #000 40%); }
  .banniere .voile-banniere { display: none; }
}
.rubriques { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 190px), 1fr)); gap: 12px; }
.rubrique { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--texte); background: var(--surface-pleine); border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; box-shadow: var(--ombre); transition: transform .2s, box-shadow .2s; }
[data-theme="sang"] .rubrique { color: var(--texte); }
.rubrique:hover { transform: translateY(-4px); color: var(--texte); box-shadow: 0 0 0 2px var(--trait), var(--ombre); }
.rubrique .visuel { aspect-ratio: 4 / 3; overflow: hidden; background: var(--carte-fond); }
.rubrique .visuel img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .4s; }
.rubrique:hover .visuel img { transform: scale(1.05); }
.rubrique .corps { padding: 10px 12px 12px; }
.rubrique h4 { margin: 0 0 6px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 4px; }
.etiquette { font-family: var(--f-titre); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 7px; border-radius: 10px; border: 1px solid var(--trait); color: var(--doux); }
.nouvelles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.nouvelle { background: var(--surface-pleine); border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; box-shadow: var(--ombre); }
.nouvelle .visuel { height: 120px; overflow: hidden; background: var(--carte-fond); }
.nouvelle .visuel img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.nouvelle .corps { padding: 10px 14px 14px; }
.nouvelle h4 { margin: 0 0 4px; font-size: 15px; letter-spacing: .04em; }
.nouvelle .date { font-size: 12px; color: var(--doux); font-style: italic; }
.boite { padding: 20px 18px 16px; }
.boite h3 { margin-top: 0; }
.liste-classement { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: rang; }
.liste-classement li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; border-radius: 8px; background: var(--surface-creuse); border: 1px solid var(--trait-doux); font-family: var(--f-titre); font-size: 13px; letter-spacing: .06em; counter-increment: rang; }
.liste-classement li::before { content: counter(rang) '.'; color: var(--accent); margin-right: 6px; }
.liste-classement li span:first-of-type { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste-classement li.moi { border-color: var(--accent); }
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chiffres div { text-align: center; padding: 10px 4px; border-radius: 8px; background: var(--surface-creuse); border: 1px solid var(--trait-doux); }
.chiffres b { display: block; font-family: var(--f-titre); font-size: 22px; color: var(--accent); line-height: 1.1; }
.chiffres span { font-family: var(--f-titre); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }

/* ---------- Boutons et formulaires ---------- */
.bouton {
  display: inline-block; cursor: pointer; text-align: center; text-decoration: none;
  font-family: var(--f-titre); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cta-texte); background: var(--cta); border: 1px solid var(--cta-bord);
  padding: 13px 26px; border-radius: 26px; box-shadow: inset 0 0 0 2px var(--surface-pleine), 0 6px 18px rgba(0, 0, 0, .1);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
[data-theme="sang"] .bouton { box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35), 0 0 18px rgba(193, 18, 31, .25); color: var(--cta-texte); }
.bouton:hover { transform: translateY(-2px); color: var(--cta-texte); box-shadow: inset 0 0 0 2px var(--surface-pleine), 0 0 0 3px var(--trait-doux), 0 10px 24px rgba(0, 0, 0, .14); }
.bouton.plein, .bouton.or { background: var(--cta-plein); color: var(--cta-plein-texte); border-color: transparent; }
.bouton.sobre { background: transparent; color: var(--texte); border-color: var(--trait); box-shadow: none; }
.bouton.sobre:hover { color: var(--accent); border-color: var(--accent); }
.bouton.danger { background: transparent; color: #c0392b; border-color: rgba(192, 57, 43, .5); box-shadow: none; }
[data-theme="sang"] .bouton.danger { color: #ff7a85; }
.bouton.rouge { background: linear-gradient(135deg, #8f0d17, #c1121f); color: #fff; border-color: transparent; }
.bouton.violet { background: linear-gradient(135deg, #5b2a9e, #8a4cc0); color: #fff; border-color: transparent; }
.bouton.petit-b { padding: 8px 14px; font-size: 11px; letter-spacing: .12em; }
.bouton[disabled] { filter: grayscale(1) opacity(.5); cursor: not-allowed; transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }

label { display: block; font-family: var(--f-titre); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--doux); margin: 16px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=date], select, textarea {
  width: 100%; min-width: 0; font-family: var(--f-texte); font-size: 17px; color: var(--texte);
  background: var(--champ); border: 1px solid var(--trait); border-radius: 8px; padding: 10px 12px;
}
textarea { min-height: 200px; resize: vertical; line-height: 1.6; }
input[type=range] { width: 100%; accent-color: var(--accent); }
input[type=color] { width: 54px; height: 40px; padding: 2px; border: 1px solid var(--trait); background: none; border-radius: 8px; }
.aide { font-size: .84em; font-style: italic; color: var(--doux); margin-top: 4px; }
.coche { display: flex; align-items: center; gap: 8px; font-family: var(--f-texte); text-transform: none; letter-spacing: 0; font-size: 1em; color: var(--texte); }
.coche input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.message { margin: 16px 0 0; padding: 10px 14px; border-radius: 8px; display: none; }
.message.erreur { display: block; background: rgba(192, 57, 43, .1); border: 1px solid rgba(192, 57, 43, .45); color: #b03024; }
[data-theme="sang"] .message.erreur { color: #ff9aa2; }
.message.succes { display: block; background: rgba(39, 174, 96, .1); border: 1px solid rgba(39, 174, 96, .45); color: #1e8449; }
[data-theme="sang"] .message.succes { color: #7ee2a8; }
.onglets { display: flex; border-bottom: 1px solid var(--trait); margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.onglets button { flex: 1 0 auto; cursor: pointer; background: none; border: 0; padding: 12px 10px; white-space: nowrap; font-family: var(--f-titre); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--doux); border-bottom: 2px solid transparent; }
.onglets button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.outils { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 20px; }
.outils input[type=search] { flex: 1 1 220px; }
.puces { display: flex; flex-wrap: wrap; gap: 6px; }
.puce { cursor: pointer; font-family: var(--f-titre); font-size: 11px; letter-spacing: .08em; padding: 6px 12px; border-radius: 14px; border: 1px solid var(--trait); background: transparent; color: var(--doux); }
.puce[aria-pressed="true"] { background: var(--cta-plein); border-color: transparent; color: var(--cta-plein-texte); }
.filtres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; margin: 0 0 18px; align-items: end; }
.filtres label { margin: 0 0 4px; }

/* ---------- Fiches, tableaux ---------- */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.fiche { position: relative; min-width: 0; padding: 12px 14px; background: var(--surface-pleine); border: 1px solid var(--trait-doux); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.fiche:hover { border-color: var(--trait); box-shadow: var(--ombre); }
.fiche h4 { font-size: 14px; margin: 0 0 4px; letter-spacing: .05em; padding-right: 30px; }
.fiche p { margin: 0; font-size: .88em; color: var(--doux); }
.fiche .num { font-family: var(--f-titre); font-size: 10px; letter-spacing: .2em; color: var(--accent); }
.sceau { display: inline-block; font-family: var(--f-titre); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border-radius: 10px; border: 1px solid currentColor; color: var(--doux); }
.sceau.equilibree { color: var(--accent); }
.etoile { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1; color: var(--trait); border-radius: 50%; }
.etoile:hover { color: var(--accent); }
.etoile[aria-pressed="true"] { color: var(--accent); text-shadow: 0 0 10px var(--accent-clair); }
.cadre { padding: 3px; border-radius: 12px; background: linear-gradient(135deg, var(--accent-clair), var(--accent-fonce) 50%, var(--accent)); box-shadow: var(--ombre); }
.cadre img { width: 100%; border-radius: 10px; }
.legende { text-align: center; font-style: italic; font-size: .86em; color: var(--doux); margin-top: 8px; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.sommaire { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.sommaire a { display: block; text-decoration: none; padding: 10px 14px; border: 1px solid var(--trait-doux); border-radius: 10px; background: var(--surface-pleine); font-family: var(--f-titre); font-size: 14px; letter-spacing: .08em; color: var(--texte); }
.sommaire a:hover { border-color: var(--accent); color: var(--accent); }
.sommaire .desc { display: block; font-family: var(--f-texte); font-style: italic; font-size: 14px; letter-spacing: 0; color: var(--doux); }
.stats { display: grid; grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 3px 8px; align-items: center; margin-top: 10px; font-family: var(--f-titre); font-size: 10px; letter-spacing: .08em; color: var(--doux); }
.stats .barre { height: 6px; background: var(--trait-doux); border-radius: 3px; overflow: hidden; }
.stats .barre b { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-clair), var(--accent)); border-radius: 3px; }
.stats .val { text-align: right; }
.defile { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: .92em; }
th { font-family: var(--f-titre); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; text-align: left; color: var(--accent-fonce); border-bottom: 1px solid var(--trait); padding: 6px 8px; font-weight: 600; }
[data-theme="sang"] th { color: var(--accent-clair); }
td { padding: 7px 8px; border-bottom: 1px solid var(--trait-doux); vertical-align: middle; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
tr.ascendant td { background: var(--trait-doux); }
tr.moi td { background: var(--trait-doux); font-weight: 600; }
.gemme { display: inline-block; width: 12px; height: 12px; transform: rotate(45deg); margin-right: 10px; box-shadow: 0 0 6px currentColor, inset 0 0 3px rgba(255, 255, 255, .6); vertical-align: 0; }
.ressource { display: flex; gap: 12px; align-items: center; }
.ressource img, .ressource .sans-image { width: 48px; height: 48px; object-fit: contain; flex: none; }
.ressource .sans-image { display: grid; place-items: center; font-size: 24px; color: var(--doux); border: 1px dashed var(--trait); border-radius: 50%; }
.role { display: inline-block; font-family: var(--f-titre); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; border-radius: 12px; border: 1px solid currentColor; color: var(--doux); vertical-align: middle; }
.role.aguerri { color: #2e86c1; } .role.staff { color: #c0392b; }
[data-theme="sang"] .role.aguerri { color: #6fa8ff; } [data-theme="sang"] .role.staff { color: #ff6b6b; }

/* ---------- Accès : Joueur | éclair | Gardien ---------- */
.acces-double { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; background: var(--surface-pleine); border: 1px solid var(--trait); border-radius: clamp(16px, 4vw, 28px); overflow: hidden; box-shadow: var(--ombre); }
.acces-cote { min-width: 0; padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 40px); text-align: center; }
.acces-cote.gardien { background: var(--surface-creuse); }
.acces-cote h2 { margin: 0 0 6px; font-size: clamp(18px, 4vw, 24px); letter-spacing: .22em; color: var(--accent); }
.acces-cote.gardien h2 { color: #c0392b; }
[data-theme="sang"] .acces-cote h2 { color: var(--second); } [data-theme="sang"] .acces-cote.gardien h2 { color: #ff4d5a; }
.acces-cote form { text-align: left; }
.acces-cote .bouton { width: 100%; margin-top: 18px; }
.eclair { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: linear-gradient(to bottom, transparent, var(--accent), transparent); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.eclair i { width: 40px; height: 60px; flex: none; background: var(--accent); clip-path: polygon(45% 0%, 100% 0%, 70% 45%, 100% 45%, 15% 100%, 40% 55%, 0% 55%); filter: drop-shadow(0 0 12px var(--accent)); animation: clignote 2s infinite; }
@keyframes clignote { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (max-width: 720px) {
  .acces-double { grid-template-columns: minmax(0, 1fr); }
  .eclair { position: relative; left: auto; top: auto; bottom: auto; transform: none; width: 100%; height: 3px; background: linear-gradient(to right, transparent, var(--accent), transparent); }
  .eclair i { width: 30px; height: 44px; }
}

/* ---------- Cartes de héros (maquettes docs/cartes/concepts_v4.html) ---------- */
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 160px), 1fr)); gap: 16px 12px; }
.cartes.serre { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px 8px; }
.carte {
  --rc: #9a9a9a; position: relative; display: block; width: 100%; min-width: 0; aspect-ratio: 310 / 470; padding: 0; margin: 0; border: 0;
  background: none; color: #fff; font: inherit; text-align: center; container-type: inline-size;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); transition: transform .15s, filter .15s;
}
button.carte { cursor: pointer; }
button.carte:hover { transform: translateY(-4px); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)) drop-shadow(0 0 10px color-mix(in srgb, var(--rc) 60%, transparent)); }
.cadre-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.carte-in { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 1.3cqw; font-family: var(--f-titre); }
.c-tete { width: 100%; text-align: center; }
.c-nom { font-weight: 700; font-size: 6.1cqw; letter-spacing: .05em; line-height: 1.1; text-transform: uppercase; text-shadow: 0 2px 8px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.c-sous { font-size: 2.9cqw; letter-spacing: .14em; color: #cdb9ff; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-art { position: relative; flex: 1; width: 100%; min-height: 0; display: flex; align-items: flex-end; justify-content: center; }
.c-art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .7)); }
.carte.neant .c-art img { filter: grayscale(.6) hue-rotate(230deg) saturate(1.6) brightness(.75) contrast(1.15) drop-shadow(0 8px 10px rgba(0, 0, 0, .7)); }
.silhouette { display: grid; place-items: center; width: 70%; aspect-ratio: 1; margin: auto; font-family: var(--f-orne); font-size: 22cqw; color: rgba(255, 255, 255, .18); }
.c-rar { font-size: 3cqw; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; color: var(--rc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.c-etoiles { font-size: 3.9cqw; letter-spacing: .1em; color: #ffd45a; line-height: 1; white-space: nowrap; }
.c-etoiles b { color: rgba(255, 255, 255, .2); font-weight: 400; }
.c-pow { font-size: 3cqw; letter-spacing: .2em; color: #e8c97a; white-space: nowrap; }
.c-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6cqw; width: 100%; }
.c-st { display: flex; align-items: center; justify-content: center; gap: 1cqw; height: 8.4cqw; border: 1px solid var(--rc); border-radius: 2.2cqw; background: linear-gradient(#2a2038, #0a0710); font-size: 4cqw; font-weight: 700; color: #ffe9b0; white-space: nowrap; }
.c-st i { font-style: normal; font-size: 3.2cqw; }
.c-st u { text-decoration: none; font-size: 2.4cqw; font-weight: 700; color: rgba(255, 255, 255, .6); }
.c-puces { display: flex; gap: 1.6cqw; justify-content: center; width: 100%; }
.c-puce { border: 1px solid var(--rc); border-radius: 2.6cqw; background: rgba(0, 0, 0, .6); padding: .8cqw 2.4cqw; font-size: 3cqw; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.c-puce.trait { border-style: dashed; }
.c-puce em { font-style: normal; color: var(--rc); letter-spacing: .1em; font-weight: 700; margin-right: 1.4cqw; font-size: 2.7cqw; }
.c-cap { width: 60%; text-align: center; }
.carte-puissance { display: none; }
.carte-marque { position: absolute; top: 3%; left: 50%; transform: translateX(-50%); z-index: 3; white-space: nowrap; font-family: var(--f-titre); font-size: max(9px, 3.4cqw); letter-spacing: .1em; text-transform: uppercase; background: #a3262a; color: #fff; padding: .4em 1em; border-radius: 10px; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.carte-skin { position: absolute; top: 4px; left: 0; font-size: max(8px, 3cqw); background: rgba(20, 12, 8, .8); color: #fff; padding: 1px 6px; border-radius: 8px; font-family: var(--f-titre); letter-spacing: .06em; }
/* Petites cartes : on garde l'essentiel lisible */
@container (max-width: 230px) {
  .c-stats, .c-puces, .c-cap { display: none; }
  .c-nom { font-size: 8.4cqw; } .c-sous { font-size: 4.8cqw; } .c-rar { font-size: 4.8cqw; letter-spacing: .08em; } .c-etoiles { font-size: 5.4cqw; letter-spacing: 0; } .c-pow { font-size: 5cqw; letter-spacing: .1em; }
}
@container (max-width: 120px) {
  .c-sous, .c-rar, .c-etoiles { display: none; }
  .c-nom { font-size: 10cqw; letter-spacing: 0; } .c-pow { font-size: 8.5cqw; letter-spacing: 0; }
  .carte-skin { display: none; }
}
.carte.choisie { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
.carte.dos .carte-in, .carte.dos .carte-marque { visibility: hidden; }
.carte.dos { cursor: pointer; }
.carte.dos::after { content: 'D'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-orne); font-size: 34cqw; color: #cc2200; text-shadow: 0 0 22px rgba(255, 80, 0, .9); }
.carte.revele { animation: reveler .45s ease-out; }
@keyframes reveler { from { transform: rotateY(90deg) scale(.9); } to { transform: none; } }

/* Garde-robe (fiche d'un héros) */
.garde-titre { font-family: var(--f-titre); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); margin: 12px 0 6px; }
.garde-rangee { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.tenue { position: relative; aspect-ratio: 3 / 4; padding: 0; border: 1px solid var(--trait); border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--carte-fond); }
.tenue img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tenue.choisie { outline: 2px solid var(--accent); outline-offset: 2px; }
.tenue.fermee { cursor: not-allowed; }
.cadenas-tenue { display: grid; place-items: center; height: 100%; font-size: 20px; filter: grayscale(.3); }
.etat-tenue { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--f-titre); font-size: 9px; letter-spacing: .04em; color: #fff; background: rgba(20, 12, 8, .72); padding: 1px 2px; }
.etat-tenue:empty { display: none; }

/* ---------- Administration ---------- */
.bouton-admin { text-decoration: none; white-space: nowrap; font-family: var(--f-titre); font-size: 12px; letter-spacing: .1em; padding: 7px 12px; border-radius: 22px; background: linear-gradient(135deg, #8f0d17, #c1121f); color: #fff; }
.bouton-admin:hover { color: #fff; filter: brightness(1.15); }
.livre.admin { max-width: 1400px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.admin-menu { position: sticky; top: 90px; display: grid; gap: 2px; padding: 12px; background: var(--surface); border: 1px solid var(--trait); border-radius: 12px; box-shadow: var(--ombre); }
.admin-titre { font-family: var(--f-titre); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); padding: 4px 8px 10px; border-bottom: 1px solid var(--trait-doux); margin-bottom: 6px; }
.admin-menu a { display: block; text-decoration: none; padding: 9px 10px; border-radius: 8px; font-family: var(--f-titre); font-size: 13px; letter-spacing: .04em; color: var(--texte); }
.admin-menu a:hover { background: var(--surface-creuse); color: var(--accent); }
.admin-menu a.actif { background: var(--cta-plein); color: var(--cta-plein-texte); }
.admin-menu .admin-retour { margin-top: 8px; border-top: 1px solid var(--trait-doux); padding-top: 12px; color: var(--doux); font-size: 12px; }
.admin-contenu { min-width: 0; }
.admin-contenu > h1 { text-align: left; font-size: clamp(22px, 3vw, 32px); }
@media (max-width: 860px) {
  .livre.admin { grid-template-columns: minmax(0, 1fr); }
  .admin-menu { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
  .admin-menu a { white-space: nowrap; flex: none; }
  .admin-titre { display: none; }
}
.tableau-admin { width: 100%; border-collapse: collapse; font-size: .9em; }
.tableau-admin th { cursor: pointer; user-select: none; white-space: nowrap; }
.tableau-admin th[aria-sort="ascending"]::after { content: ' ▲'; } .tableau-admin th[aria-sort="descending"]::after { content: ' ▼'; }
.tableau-admin tr.ligne { cursor: pointer; }
.tableau-admin tr.ligne:hover td { background: var(--surface-creuse); }
.tableau-admin tr.choisie td { background: var(--trait-doux); }
.emplacement { padding: 14px; border: 1px solid var(--trait); border-radius: 10px; background: var(--surface-creuse); margin-bottom: 10px; }
.emplacement-tete { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 6px; }
.emplacement-tete b { font-family: var(--f-titre); letter-spacing: .08em; color: var(--accent); }
.choix-multiples { display: flex; flex-wrap: wrap; gap: 4px 12px; max-height: 220px; overflow: auto; padding: 8px; border: 1px solid var(--trait-doux); border-radius: 8px; background: var(--surface-pleine); }
.choix-multiples label { margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--f-texte); font-size: 14px; color: var(--texte); display: flex; gap: 5px; align-items: center; }
.choix-multiples .groupe { width: 100%; font-family: var(--f-titre); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
details.reglage { margin-top: 8px; }
details.reglage summary { cursor: pointer; font-family: var(--f-titre); font-size: 12px; letter-spacing: .08em; color: var(--texte); }
.jetons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.jeton { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; padding: 3px 4px 3px 10px; border-radius: 14px; background: var(--surface-pleine); border: 1px solid var(--trait); }
.jeton button { border: 0; background: none; cursor: pointer; color: var(--doux); font-size: 14px; }

/* Panneau d'évolution (collection) */
.etat-evolution { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(46%, 120px), 1fr)); gap: 6px; margin-bottom: 12px; }
.etat-evolution div { padding: 8px; border-radius: 8px; background: var(--surface-creuse); border: 1px solid var(--trait-doux); text-align: center; }
.etat-evolution span { display: block; font-family: var(--f-titre); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--doux); }
.etat-evolution b { font-family: var(--f-titre); font-size: 13px; color: var(--accent); }
.chemin { margin: 0 0 6px; padding-left: 20px; font-size: .86em; color: var(--doux); display: grid; gap: 4px; }
.chemin b { color: var(--texte); font-family: var(--f-titre); letter-spacing: .06em; }
.chemin li.ici b { color: var(--accent); }
.chemin li.ici::marker { color: var(--accent); }
.etape-evo { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--trait-doux); }
.etape-evo h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.etape-evo label { margin-top: 0; }
.resume-evo { font-size: .86em; color: var(--doux); margin: 8px 0 10px; display: grid; gap: 4px; }
.ok-evo { color: #1e8449; } .ko-evo { color: #c0392b; }
[data-theme="sang"] .ok-evo { color: #7ee2a8; } [data-theme="sang"] .ko-evo { color: #ff9aa2; }

/* Simulateur de la fiche */
.sim-duo { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 12px; }
.sim-apercu { max-width: 220px; }
td.gain { color: #1e8449; font-weight: 600; }
[data-theme="sang"] td.gain { color: #7ee2a8; }
@media (max-width: 560px) { .sim-duo { grid-template-columns: minmax(0, 1fr); } .sim-apercu { margin: 0 auto; width: 200px; } }

/* ---------- Fenêtres ---------- */
dialog { border: 0; padding: 0; width: min(760px, calc(100vw - 20px)); max-width: none; background: transparent; color: var(--texte); }
dialog::backdrop { background: rgba(10, 6, 4, .78); backdrop-filter: blur(6px); }
.fenetre { position: relative; background: var(--surface-pleine); border: 1px solid var(--trait); border-radius: 14px; padding: clamp(16px, 4vw, 34px); box-shadow: inset 0 0 0 4px var(--surface-pleine), inset 0 0 0 5px var(--trait-doux), 0 30px 80px rgba(0, 0, 0, .45); max-height: 88vh; overflow: auto; }
.fenetre h2 { margin-top: 0; }
.fermer { float: right; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--trait); background: none; color: var(--accent); font-size: 15px; cursor: pointer; margin-left: 10px; }
.fiche-heros { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 560px) { .fiche-heros { grid-template-columns: minmax(0, 1fr); } .fiche-heros > :first-child { width: 170px; margin: 0 auto; } }

/* ---------- Panneaux de jeu ---------- */
.bandeau { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(46%, 120px), 1fr)); gap: 8px; margin: 0 0 20px; }
.jauge { min-width: 0; text-align: center; padding: 10px 6px; background: var(--surface-pleine); border: 1px solid var(--trait-doux); border-radius: 10px; }
.jauge b { display: block; font-family: var(--f-titre); font-size: clamp(16px, 4vw, 21px); color: var(--accent); line-height: 1.2; overflow-wrap: anywhere; font-weight: 600; }
.jauge span { font-family: var(--f-titre); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--doux); }
.panneau { min-width: 0; padding: clamp(14px, 3vw, 22px); background: var(--surface-pleine); border: 1px solid var(--trait-doux); border-radius: 12px; margin-bottom: 14px; }
.panneau h3 { margin-top: 0; }
.prix { font-family: var(--f-titre); font-weight: 700; color: var(--titre); white-space: nowrap; }
.prix img { display: inline; width: 18px; height: 18px; object-fit: contain; vertical-align: -3px; margin-right: 4px; }
.rangee { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.offre { text-align: center; min-width: 0; }
.offre .vendeur { font-size: 13px; font-style: italic; color: var(--doux); margin: 6px 0 2px; overflow-wrap: anywhere; }
.offre .bouton { margin-top: 6px; width: 100%; padding: 8px 4px; font-size: 10px; letter-spacing: .1em; }
.sceau-pack { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-orne); font-size: 30px; color: #fff; margin: 0 auto 10px;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c, #cc2200) 70%, #fff), var(--c, #cc2200) 55%, color-mix(in srgb, var(--c, #cc2200) 45%, #000)); box-shadow: 0 0 26px color-mix(in srgb, var(--c, #cc2200) 50%, transparent); }
.progression { height: 8px; background: var(--trait-doux); border-radius: 4px; overflow: hidden; }
.progression b { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-clair), var(--accent)); }

/* ---------- Combats ---------- */
.terrain { display: grid; gap: 12px; }
.camp { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(3px, 1.2vw, 10px); }
.combattant { position: relative; min-width: 0; transition: transform .15s, filter .3s; }
.combattant.agit { transform: scale(1.08); z-index: 2; }
.combattant.touche { animation: secousse .3s; }
.combattant.ko { filter: grayscale(1) brightness(.45); }
@keyframes secousse { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.vie { height: 6px; background: rgba(0, 0, 0, .15); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.vie b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #27ae60, #8be04a); transition: width .25s; }
.flotte { position: absolute; top: 30%; left: 50%; transform: translateX(-50%); z-index: 3; pointer-events: none; font-family: var(--f-titre); font-weight: 700; font-size: clamp(13px, 3.5vw, 19px); color: #fff; text-shadow: 0 0 4px #000, 0 0 10px #ff4400; animation: degats .7s forwards; }
.flotte.soin { text-shadow: 0 0 4px #000, 0 0 10px #27ae60; }
@keyframes degats { to { transform: translate(-50%, -34px); opacity: 0; } }
.versus { text-align: center; font-family: var(--f-orne); font-size: 20px; color: var(--accent); }
.journal { max-height: 130px; overflow: auto; font-size: .82em; color: var(--doux); border-top: 1px solid var(--trait); padding-top: 8px; }
.etapes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.etape { position: relative; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--trait-doux); background: var(--surface-pleine); }
.etape.fermee { opacity: .5; }
.etape.faite { border-color: var(--accent); }
.etape h4 { margin: 0 0 4px; font-size: 14px; }
.etoiles-etape { color: #e8b923; letter-spacing: 2px; }

#annonce { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 60; width: max-content; max-width: calc(100vw - 24px);
  font-family: var(--f-titre); font-size: 12px; letter-spacing: .1em; color: var(--texte); background: var(--surface-pleine); padding: 12px 20px; border-radius: 10px; border: 1px solid var(--accent); box-shadow: var(--ombre); transition: opacity .2s, transform .2s; }
#annonce.visible { opacity: 1; transform: translate(-50%, 0); }
#annonce.erreur { border-color: #c0392b; color: #c0392b; }

.pied { max-width: 1240px; margin: 0 auto; padding: 18px var(--marge) 34px; text-align: center; font-family: var(--f-titre); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--doux); line-height: 2; border-top: 1px solid var(--trait-doux); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Titres des joueurs */
.titre-joueur { --tc: #b8913a; display: inline-block; vertical-align: middle; font-family: var(--f-titre); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border-radius: 10px; color: var(--tc); border: 1px solid var(--tc); background: color-mix(in srgb, var(--tc) 10%, transparent); white-space: nowrap; }

/* ---------- Forum ---------- */
.fil { font-family: var(--f-titre); font-size: 12px; letter-spacing: .08em; margin-bottom: 14px; color: var(--doux); }
.fil a { text-decoration: none; }
.forum-liste { display: grid; gap: 8px; }
.forum-cat, .forum-sujet { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic txt nb" "ic der der"; gap: 2px 14px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--trait); background: var(--surface); text-decoration: none; color: var(--texte); box-shadow: var(--ombre); }
.forum-sujet { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "txt nb" "der der"; }
.forum-cat:hover, .forum-sujet:hover { border-color: var(--accent); color: var(--texte); }
.forum-icone { grid-area: ic; font-size: 26px; width: 44px; text-align: center; }
.forum-cat-txt { grid-area: txt; min-width: 0; display: grid; gap: 2px; }
.forum-cat-txt b { font-family: var(--f-titre); font-weight: 600; letter-spacing: .04em; }
.forum-cat-txt small, .forum-cat-dernier { color: var(--doux); font-size: 13px; }
.forum-cat-chiffres { grid-area: nb; font-family: var(--f-titre); font-size: 12px; color: var(--accent); white-space: nowrap; }
.forum-cat-dernier { grid-area: der; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-forum { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 0; margin-bottom: 10px; border: 1px solid var(--trait); border-radius: 12px; background: var(--surface); overflow: hidden; box-shadow: var(--ombre); }
.message-forum.masque { opacity: .65; }
.auteur { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 0; border-right: 1px solid var(--trait-doux); background: var(--surface-creuse); cursor: pointer; text-align: center; color: var(--texte); font: inherit; }
.auteur-txt { display: grid; gap: 4px; justify-items: center; }
.auteur-txt b { font-family: var(--f-titre); font-size: 14px; }
.auteur-txt small { font-size: 11px; color: var(--doux); }
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--carte-fond); border: 2px solid var(--accent); font-family: var(--f-orne); font-size: 22px; color: var(--accent); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.message-corps { padding: 14px 18px; min-width: 0; }
.texte-forum { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0; }
.message-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.message-actions button { border: 0; background: none; cursor: pointer; font-family: var(--f-titre); font-size: 11px; letter-spacing: .08em; color: var(--doux); padding: 0; }
.message-actions button:hover { color: var(--accent); }
@media (max-width: 640px) {
  .message-forum { grid-template-columns: minmax(0, 1fr); }
  .auteur { flex-direction: row; justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--trait-doux); padding: 8px 12px; }
  .auteur .avatar { width: 38px !important; height: 38px !important; }
  .auteur-txt { justify-items: start; text-align: left; }
}

.sans-animations .hexa, .sans-animations .braise { display: none; }
.sans-animations *, .sans-animations *::before { animation-duration: .001s !important; transition: none !important; }

.profil-tete { display: flex; gap: 16px; align-items: center; margin-bottom: 6px; }
.titre-joueur.verrouille { opacity: .45; filter: grayscale(.6); }

/* ---------- Atelier d'une carte (carte.html) ---------- */
.livre.atelier-page { max-width: 1500px; }
.atelier-barre { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.atelier-nav { display: flex; gap: 8px; align-items: center; }
.atelier-bourse { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--f-titre); font-size: 13px; }
.atelier-bourse span { display: inline-flex; align-items: center; gap: 4px; }
.atelier-bourse img { width: 20px; height: 20px; object-fit: contain; }
.atelier { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.atelier-col { display: grid; gap: 14px; min-width: 0; }
.atelier-carte { position: sticky; top: 90px; }
.atelier-bloc { padding: 16px 18px; border: 1px solid var(--trait); border-radius: 14px; background: var(--surface); box-shadow: var(--ombre); }
.atelier-bloc h3 { margin: 0 0 10px; }
.atelier-etat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.atelier-etat div { padding: 6px; border-radius: 8px; background: var(--surface-creuse); border: 1px solid var(--trait-doux); text-align: center; }
.atelier-etat span { display: block; font-family: var(--f-titre); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }
.atelier-etat b { font-family: var(--f-titre); font-size: 12px; color: var(--accent); }
.atelier-actions { display: grid; gap: 6px; }
.atelier-actions .bouton { width: 100%; }
.raccourcis-niv { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
@media (max-width: 1100px) { .atelier { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); } .atelier > .atelier-col:last-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .atelier { grid-template-columns: minmax(0, 1fr); } .atelier-carte { position: static; } .atelier-carte #la-carte { max-width: 260px; margin: 0 auto; width: 100%; } }

/* Éditeurs de listes (administration) */
.tableau-admin.editeur td { padding: 4px 4px; vertical-align: top; }
.tableau-admin.editeur input[type=text], .tableau-admin.editeur input[type=number], .tableau-admin.editeur select { padding: 6px 8px; font-size: 14px; min-width: 70px; }
.tableau-admin.editeur input[type=text] { min-width: 160px; }
.tableau-admin.editeur input[type=color] { width: 44px; height: 34px; }
.outils-ligne { white-space: nowrap; }
.outils-ligne button { border: 1px solid var(--trait); background: var(--surface-pleine); border-radius: 6px; cursor: pointer; padding: 3px 7px; margin-left: 2px; color: var(--doux); }
.outils-ligne button:hover { color: var(--accent); border-color: var(--accent); }
.jours { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.jours label, .recompenses label { margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--f-texte); font-size: 13px; color: var(--texte); display: flex; gap: 3px; align-items: center; }
.recompenses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; min-width: 330px; }
.recompenses label { flex-direction: column; align-items: flex-start; font-size: 11px; color: var(--doux); }
.recompenses input { min-width: 0 !important; width: 100%; }

.role.grade { --gc: #7a6b52; color: var(--gc); border-color: var(--gc); }
.permissions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 4px 12px; }
.permissions label { margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--f-texte); font-size: 14px; color: var(--texte); display: flex; gap: 6px; align-items: flex-start; }

/* ===== Forum (façon forum classique) ===== */
.livre.forum-page { max-width: 1280px; }
.forum-entete { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; justify-content: space-between; margin-bottom: 14px; }
.forum-recherche { display: flex; gap: 8px; flex: 1 1 280px; max-width: 420px; }
.forum-recherche input { margin: 0; }
.forum-barre { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; padding: 10px 16px; margin-bottom: 16px; border: 1px solid var(--trait); border-radius: 10px; background: var(--surface-creuse); }
.forum-barre .fil { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.fil-maison { color: var(--accent); font-size: 15px; }
.fil-sep { color: var(--doux); }
.forum-liens { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--f-titre); font-size: 12px; letter-spacing: .05em; }
.forum-liens a { text-decoration: none; }
.forum-titre { margin: 4px 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; text-align: left; }
.forum-bloc { border: 1px solid var(--trait); border-radius: 12px; background: var(--surface); box-shadow: var(--ombre); overflow: hidden; margin-bottom: 16px; }
.forum-bloc-titre { margin: 0; padding: 11px 18px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #fff8e6; background: linear-gradient(180deg, var(--accent), var(--accent-fonce)); text-align: left; }
.forum-form-corps { padding: 16px 18px; }
.forum-table { width: 100%; border-collapse: collapse; }
.forum-table thead th { padding: 10px 14px; font-family: var(--f-titre); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-align: left; color: #fff8e6; background: linear-gradient(180deg, var(--accent), var(--accent-fonce)); }
.forum-table thead th.ft-nb { text-align: center; }
.forum-table tbody tr { border-top: 1px solid var(--trait-doux); }
.forum-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-creuse) 55%, transparent); }
.forum-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.forum-table td { padding: 12px 14px; vertical-align: middle; }
.ft-icone { width: 58px; text-align: center; padding-right: 0 !important; }
.etat-icone { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 21px; border: 2px solid var(--trait); background: var(--surface-creuse); color: var(--doux); filter: grayscale(.7); opacity: .75; }
.etat-icone.petite { width: 32px; height: 32px; font-size: 14px; }
tr.non-lu .etat-icone { filter: none; opacity: 1; border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.ft-titre { min-width: 0; }
.ft-nom { font-family: var(--f-titre); font-weight: 600; font-size: 16px; letter-spacing: .02em; text-decoration: none; color: var(--titre); }
.ft-nom:hover { color: var(--accent); }
tr.non-lu .ft-nom { color: var(--accent-fonce); }
[data-theme="sang"] tr.non-lu .ft-nom { color: var(--accent-clair); }
.ft-titre .petit { margin-top: 2px; }
.ft-note { font-size: 12px; color: var(--accent); margin-top: 3px; font-style: italic; }
.ft-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ft-nb { width: 92px; text-align: center; font-family: var(--f-titre); font-size: 15px; color: var(--texte); }
.ft-der { width: 250px; font-size: 13px; }
.ft-dernier { display: grid; gap: 1px; min-width: 0; }
.ft-dernier-titre { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 230px; text-decoration: none; font-weight: 600; }
.ft-mobile { display: none; }
.mini-pages { display: inline-flex; gap: 3px; margin-left: 8px; }
.mini-pages a { font-size: 11px; padding: 0 5px; border: 1px solid var(--trait); border-radius: 4px; text-decoration: none; }
.pseudo { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; cursor: pointer; color: var(--texte); }
.pseudo:hover { text-decoration: underline; }
.etiquette { display: inline-block; font-family: var(--f-titre); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; background: var(--accent); color: #fff8e6; vertical-align: middle; }
.etiquette.ok { background: #1e8449; } .etiquette.ferme { background: #7f8c8d; }
.forum-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 12px; }
.forum-actions select { width: auto; margin: 0; padding: 6px 10px; font-size: 14px; }
.pagination { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pagination:empty { display: none; }
.pagination a, .pagination b { min-width: 30px; height: 30px; display: inline-grid; place-items: center; padding: 0 6px; border: 1px solid var(--trait); border-radius: 6px; text-decoration: none; font-size: 13px; background: var(--surface-pleine); }
.pagination b { background: var(--accent); color: #fff8e6; border-color: var(--accent); }
.pagination .petit { margin-right: 6px; }
.forum-vide { padding: 30px; text-align: center; border: 1px dashed var(--trait); border-radius: 12px; color: var(--doux); }
.forum-stats-corps { padding: 12px 18px; }
.forum-stats-corps p { margin: 4px 0; }
.legende-grades span { font-weight: 700; }
/* Messages */
.post { display: grid; grid-template-columns: 190px minmax(0, 1fr); margin-bottom: 12px; border: 1px solid var(--trait); border-radius: 12px; background: var(--surface); box-shadow: var(--ombre); overflow: hidden; scroll-margin-top: 90px; }
.post.cible { outline: 2px solid var(--accent); outline-offset: 2px; }
.post.masque .post-contenu { opacity: .6; }
.post-profil { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px; background: var(--surface-creuse); border-right: 1px solid var(--trait-doux); text-align: center; }
.post-pseudo { font-family: var(--f-titre); font-size: 16px; overflow-wrap: anywhere; }
.post-infos { display: grid; grid-template-columns: auto auto; gap: 2px 8px; margin: 6px 0 0; font-size: 12px; text-align: left; }
.post-infos dt { color: var(--doux); } .post-infos dd { margin: 0; font-weight: 600; }
.post-corps { display: flex; flex-direction: column; min-width: 0; }
.post-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 18px; border-bottom: 1px solid var(--trait-doux); }
.post-sujet { font-family: var(--f-titre); font-size: 14px; flex: 1 1 200px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-num { font-family: var(--f-titre); font-size: 12px; text-decoration: none; }
.post-contenu { padding: 14px 18px; flex: 1; }
.post-contenu .texte-forum { margin: 0; }
.post-masque { margin: 0 0 8px; font-style: italic; color: var(--doux); }
.post-signature { margin: 0 18px; padding: 8px 0; border-top: 1px dashed var(--trait); font-size: 13px; color: var(--doux); }
.post-signature .texte-forum { margin: 0; }
.post-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 8px 14px; border-top: 1px solid var(--trait-doux); background: color-mix(in srgb, var(--surface-creuse) 50%, transparent); }
.post-actions button { border: 1px solid var(--trait); border-radius: 6px; background: var(--surface-pleine); cursor: pointer; font-family: var(--f-titre); font-size: 11px; letter-spacing: .06em; color: var(--texte); padding: 5px 10px; }
.post-actions button:hover { border-color: var(--accent); color: var(--accent); }
.citation { margin: 8px 0; padding: 8px 14px; border-left: 4px solid var(--accent); background: var(--surface-creuse); border-radius: 0 8px 8px 0; white-space: pre-wrap; }
.citation cite { display: block; font-style: normal; font-weight: 700; font-size: 13px; color: var(--accent); margin-bottom: 4px; }
.spoiler { margin: 8px 0; border: 1px dashed var(--trait); border-radius: 8px; padding: 6px 12px; }
.spoiler summary { cursor: pointer; font-size: 13px; color: var(--accent); }
/* Éditeur */
.editeur-forum { border: 1px solid var(--trait); border-radius: 10px; overflow: hidden; background: var(--surface-pleine); }
.editeur-barre { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--trait-doux); background: var(--surface-creuse); }
.editeur-barre button { min-width: 32px; height: 30px; border: 1px solid var(--trait); border-radius: 6px; background: var(--surface-pleine); color: var(--texte); cursor: pointer; font-size: 14px; }
.editeur-barre button:hover { border-color: var(--accent); color: var(--accent); }
.editeur-barre .fmt-b { font-weight: 800; } .editeur-barre .fmt-i { font-style: italic; } .editeur-barre .fmt-u { text-decoration: underline; } .editeur-barre .fmt-s { text-decoration: line-through; }
.editeur-barre .editeur-apercu-b { padding: 0 12px; font-family: var(--f-titre); font-size: 12px; }
.editeur-compte { font-size: 12px; color: var(--doux); margin-right: 6px; }
.editeur-forum textarea { border: 0; border-radius: 0; margin: 0; min-height: 160px; box-shadow: none; }
.editeur-apercu { padding: 12px 14px; min-height: 160px; }
@media (max-width: 760px) {
  .ft-nb, .ft-der { display: none; }
  .ft-mobile { display: block; }
  .ft-icone { width: 44px; }
  .etat-icone { width: 34px; height: 34px; font-size: 17px; }
  .forum-table td { padding: 10px; }
  .post { grid-template-columns: minmax(0, 1fr); }
  .post-profil { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; border-right: 0; border-bottom: 1px solid var(--trait-doux); padding: 10px 12px; gap: 6px 10px; }
  .post-profil .avatar { width: 44px !important; height: 44px !important; }
  .post-infos { display: none; }
  .forum-recherche { max-width: none; }
}

/* ===== Icônes de joueur ===== */
.avatar.icone { border-color: var(--accent); background: none; }
.avatar svg { width: 100%; height: 100%; display: block; }
.choix-icones { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; margin: 4px 0 10px; }
.choix-icone { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; padding: 0; border: 2px solid var(--trait); cursor: pointer; background: var(--surface-creuse); font-family: var(--f-orne); font-size: 22px; color: var(--accent); transition: transform .15s; }
.choix-icone svg { width: 100%; height: 100%; display: block; }
.choix-icone:hover:not(:disabled) { transform: scale(1.08); border-color: var(--accent); }
.choix-icone.actif { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.choix-icone.verrouille { cursor: not-allowed; }
.choix-icone.verrouille svg { filter: grayscale(1) brightness(.6); }
.choix-icone .cadenas { position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; }
.choix-couleurs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.choix-couleur { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--trait); cursor: pointer; padding: 0; }
.choix-couleur.actif { border-color: var(--texte); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent); }
.choix-couleur:disabled { opacity: .35; cursor: not-allowed; }
