/* Parley (06/11) : le site prend la direction artistique du logo Parley — sur le gris de Crew Workbench (« le blanc c'est
   horrible pour les yeux, garde le gris de Crew Workbench ») : fond #1e1e1e, blocs #2c2c2c, traits épais comme les anneaux,
   le vert et le bleu des deux bonshommes, des bulles de dialogue. Les pages d'un jeu qui a son propre logo prennent la
   sienne : .theme-western (Red Dead Redemption 2) = noir, rouge, coups de pinceau, titres de la page Nexus.
   Pas d'attribut style dans les pages : la politique de sécurité (CSP) le bloque. */
@font-face { font-family: "Ultra"; src: url(/fonts/Ultra-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Rye"; src: url(/fonts/Rye-Regular.ttf) format("truetype"); font-display: swap; }

:root {
  /* Le gris de Crew Workbench (Theme de l'application) */
  --fond: #1e1e1e; --fond2: #252525; --carte: #2c2c2c; --carte2: #333333;
  --t: #ebebeb; --discret: #a0a0a0; --trait: #606060; --doux: #404040;
  --vert: #43a047; --bleu: #4285f4; --vert-pale: #1e3422; --bleu-pale: #1c2b45; --orange: #f5961e;
  --accent: #43a047; --sur-accent: #fff; --ombre: #0e0e0e;
  --titre: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --texte: "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --marque: "Ultra", "Rockwell Extra Bold", Rockwell, Georgia, serif;
  --devise: "Rye", Rockwell, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--fond); color: var(--t); font: 1.0625rem/1.6 var(--texte); }
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }
.saut { position: absolute; left: -999px; top: 0; background: var(--t); color: var(--fond); padding: .6rem 1rem; z-index: 20; }
.saut:focus { left: 8px; top: 8px; }
.conteneur { width: min(1140px, 100% - 40px); margin-inline: auto; }
.discret { color: var(--discret); }

h1, h2, h3 { font-family: var(--titre); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.chapeau { font-size: 1.2rem; max-width: 50ch; color: var(--discret); }
.titre-section { margin: 0 0 1.4rem; }

/* ---- Le logo : trois couches (fond, bonshommes, bulles) ---- */
.logo-vivant { position: relative; aspect-ratio: 360 / 240; width: 100%; }
.logo-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.logo-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-vivant[data-scene] { cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; border-radius: 24px; user-select: none; }
.logo-vivant.vivant .lg-persos { display: none; }
.lg-disque-g { fill: #f3f8f4; } .lg-disque-d { fill: #f2f7fd; }
.lg-anneau { fill: none; stroke: #141414; stroke-width: 13.5; }
.lg-corps { fill: none; stroke-width: 4.6; stroke-linecap: round; }
.lg-corps-g { stroke: #2ea84e; } .lg-tete-g { fill: #2ea84e; }
.lg-corps-d { stroke: #3375e6; } .lg-tete-d { fill: #3375e6; }
.lg-bulle-fond { stroke: #141414; stroke-width: 2.4; stroke-linejoin: round; }
.lg-bulle-d .lg-bulle-fond { fill: #2f6fe4; } .lg-bulle-d .lg-points, .lg-bulle-d .lg-glyphe { fill: #f4a26b; }
.lg-bulle-g .lg-bulle-fond { fill: #2ea84e; } .lg-bulle-g .lg-points, .lg-bulle-g .lg-glyphe { fill: #fff; }
.lg-glyphe { display: none; font: 800 12.5px var(--texte); text-anchor: middle; }
.long .lg-glyphe { font-size: 9.5px; }
.avec-mot .lg-points { display: none; } .avec-mot .lg-glyphe { display: inline; }

/* ---- En-tête ---- */
.entete { position: sticky; top: 0; z-index: 10; background: rgba(30, 30, 30, .92); backdrop-filter: blur(10px); border-bottom: 3px solid var(--trait); }
.entete-in { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 20px; }
.logo { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo-entete { width: 66px; }
.logo-entete .logo-svg, .logo-carte .logo-svg, .logo-bandeau .logo-svg { filter: drop-shadow(0 0 1.2px rgba(235, 235, 235, .9)); }
.logo-heros .logo-fond { filter: drop-shadow(0 0 2px rgba(235, 235, 235, .8)) drop-shadow(0 22px 40px rgba(0, 0, 0, .45)); }
.logo-mot { font: 800 1.75rem/1 var(--titre); letter-spacing: -.05em; color: var(--t); }
.menu { display: flex; gap: 26px; font-weight: 600; }
.menu a { text-decoration: none; padding: 6px 0; background: linear-gradient(90deg, var(--vert) 50%, var(--bleu) 50%) left bottom / 0 3px no-repeat; transition: background-size .25s; }
.menu a:hover { background-size: 100% 3px; }

/* ---- Boutons : une pilule au trait noir ; au survol elle se soulève, au clic elle s'enfonce ---- */
.bouton { display: inline-block; font: 700 1rem/1.3 var(--texte); padding: .9rem 1.5rem; border-radius: 999px; border: 3px solid var(--trait); background: var(--carte); color: var(--t); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s; }
.bouton:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ombre); }
.bouton:active { transform: translate(1px, 1px); box-shadow: 0 0 0 var(--ombre); }
.bouton-plein { background: var(--accent); color: var(--sur-accent); }
.bouton-grand { font-size: 1.1rem; padding: 1rem 1.9rem; }
.bouton-inactif { border-style: dashed; color: var(--discret); border-color: var(--doux); cursor: default; }
.bouton-inactif:hover { transform: none; box-shadow: none; }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; color: inherit; }
.lien-danger { color: #ff7b7b; }

/* ---- Accueil ---- */
.heros { padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 80px); }
.heros-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.heros h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); line-height: .98; }
.heros .chapeau { margin-bottom: 1.8rem; }
.heros-visuel { display: grid; justify-items: center; gap: 6px; }
.logo-heros { max-width: 560px; }
.heros-astuce { margin: 0; font-size: .9rem; color: var(--discret); }

.exemple { background: var(--fond2); border-block: 3px solid var(--trait); padding: clamp(40px, 6vw, 80px) 0; }
.exemple-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.exemple-in p { color: var(--discret); max-width: 36ch; }
/* La conversation : des bulles au trait noir, comme dans le logo (vert pour le personnage, bleu pour vous) */
.scene { margin: 0; display: grid; gap: 22px; }
.scene-ligne { margin: 0; max-width: 88%; }
.scene-ligne p { position: relative; margin: .35rem 0 0; padding: .9rem 1.2rem; border: 3px solid var(--trait); border-radius: 20px; }
.scene-npc p { background: var(--vert-pale); font: italic 1.25rem/1.45 var(--serif); }
.scene-npc p::after { content: ""; position: absolute; left: 22px; bottom: -14px; width: 20px; height: 14px; background: var(--trait); clip-path: polygon(0 0, 100% 0, 0 100%); }
.scene-moi { justify-self: end; text-align: right; }
.scene-moi p { background: var(--bleu-pale); font-weight: 600; }
.scene-moi p::after { content: ""; position: absolute; right: 22px; bottom: -14px; width: 20px; height: 14px; background: var(--trait); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.qui { font-size: .88rem; color: var(--discret); font-weight: 600; }
.scene figcaption { font-size: .88rem; color: var(--discret); }
@media (prefers-reduced-motion: no-preference) {
  .scene.attend .scene-ligne { opacity: 0; transform: translateY(12px) scale(.96); }
  .scene.vue .scene-ligne { animation: apparait .5s cubic-bezier(.3, 1.4, .5, 1) forwards; }
  .scene.vue .scene-ligne:nth-child(1) { animation-delay: .1s; }
  .scene.vue .scene-ligne:nth-child(2) { animation-delay: 1.5s; }
  .scene.vue .scene-ligne:nth-child(3) { animation-delay: 2.7s; }
  @keyframes apparait { to { opacity: 1; transform: none; } }
}

/* Les jeux : une carte au trait noir par jeu, avec le logo propre au jeu */
.jeux { padding: clamp(40px, 6vw, 80px) 0 90px; }
.jeu { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 20px 32px; align-items: center; background: var(--carte); border: 3px solid var(--trait); border-radius: 26px; padding: 22px; margin-bottom: 26px; transition: transform .18s, box-shadow .18s; }
.jeu:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ombre); }
.jeu-logo { display: block; border-radius: 18px; overflow: hidden; background: var(--fond2); }
.jeu-logo img { display: block; width: 100%; }
.jeu-logo.theme-western { background: #0b0a0b; }
.logo-carte { padding: 10px; }
.jeu-corps h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .2em; }
.jeu-corps h3 a { text-decoration: none; }
.jeu-corps h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--bleu); }
.jeu-accroche { margin: 0 0 16px; color: var(--discret); }
.jeu-bientot { border-style: dashed; }
.jeu-vide { margin: 0; color: var(--discret); }
.jeu-mods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.jeu-mods-large { max-width: 800px; }
.mod-ligne { display: flex; align-items: center; gap: 16px; padding: 10px 14px; background: var(--carte2); border-radius: 16px; text-decoration: none; border: 2px solid var(--doux); transition: border-color .2s, transform .2s; }
.mod-ligne:hover { border-color: var(--bleu); transform: translateX(4px); }
.mod-ligne img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.mod-vignette { width: 60px; height: 60px; flex: none; border-radius: 14px; background: var(--vert); color: #fff; font: 800 1.8rem/60px var(--titre); text-align: center; }
.mod-ligne-texte { display: grid; flex: 1; min-width: 0; }
.mod-ligne-texte strong { font: 800 1.2rem/1.25 var(--titre); letter-spacing: -.02em; }
.mod-ligne-texte span { color: var(--discret); font-size: .95rem; }
.etat { font-size: .86rem; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.etat::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.etat-disponible { color: #5fd27a; } .etat-beta { color: #f5961e; } .etat-bientot { color: var(--discret); }

/* ---- Pages d'un jeu et d'un mod ---- */
.bandeau { position: relative; overflow: hidden; background: var(--fond2); border-bottom: 3px solid var(--trait); padding: clamp(30px, 5vw, 60px) 0; }
.bandeau-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.bandeau h1 { margin-bottom: .2em; }
.bandeau .chapeau { margin: 0; }
.bandeau-logo { width: clamp(220px, 34vw, 440px); flex: none; border-radius: 18px; }
.logo-bandeau { width: clamp(200px, 26vw, 320px); flex: none; }
.fil { margin: 0 0 1rem; font-size: .95rem; color: var(--discret); }
.page { padding-top: 44px; padding-bottom: 80px; }
.page.etroit { max-width: 700px; }
.page.centre { text-align: center; }
.texte { max-width: 70ch; font-size: 1.07rem; line-height: 1.75; }
.texte p { margin: 0 0 1em; }
.texte ul, .texte ol { padding-left: 1.3em; }
.texte li { margin-bottom: .45em; }
.texte li::marker { color: var(--vert); }
.texte ol li::marker { color: var(--bleu); font-weight: 800; }
.texte h3 { font-size: 1.35rem; margin: 1.6em 0 .6em; padding-left: 14px; border-left: 5px solid var(--vert); line-height: 1.2; }

.mod-entete { background: #000; border-bottom: 3px solid var(--trait); }
.mod-bandeau { display: block; width: 100%; max-width: 1600px; height: auto; margin: 0 auto; }
.bandeau-seul { border-bottom: 0; }
.mod-titre { border-bottom: 3px solid var(--trait); background: var(--fond); padding-top: 26px; }
.mod-titre-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 20px; }
.titre-marque { font-size: clamp(2.6rem, 7vw, 5rem); line-height: .95; margin: 0 0 .3em; }
.devise { margin: 0; }
.devise span { display: inline-block; max-width: 100%; font: 700 1.1rem/1.3 var(--titre); background: var(--bleu-pale); border: 3px solid var(--trait); border-radius: 18px; padding: .55em 1.1em; }
.mod-actions { display: grid; gap: 12px; justify-items: end; }
.mod-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: var(--discret); font-size: .95rem; }
.mod-meta strong { color: var(--t); }
.onglets { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.onglets::-webkit-scrollbar { display: none; }
.onglets a { flex: none; padding: .85rem 1.1rem; text-decoration: none; color: var(--discret); font-weight: 700; border-bottom: 4px solid transparent; transition: color .2s, border-color .2s, background .2s; border-radius: 12px 12px 0 0; }
.onglets a:hover { color: var(--t); background: var(--fond2); }
.onglets a.actif { color: var(--t); border-color: var(--accent); }
.fiche-mise-en-page { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.partie { scroll-margin-top: 90px; padding-bottom: 12px; }
.partie + .partie { border-top: 3px solid var(--doux); margin-top: 36px; padding-top: 8px; }
.fiche-texte h2 { margin-top: 1.2em; }
.coup-d-oeil { background: var(--vert-pale); border: 3px solid var(--trait); border-radius: 22px; padding: 20px 24px 8px; margin: 0 0 28px; }
.coup-d-oeil h3 { margin: 0 0 .6em; font-size: 1.2rem; }
.points, .prerequis { padding-left: 1.2em; margin: 0 0 1em; }
.points li { margin-bottom: .55em; }
.points li::marker, .prerequis li::marker { color: var(--vert); }
.vignette { padding: 0; border: 3px solid var(--trait); background: none; cursor: zoom-in; border-radius: 16px; overflow: hidden; display: block; width: 100%; }
.vignette img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.vignette:hover img { transform: scale(1.05); }
.fiche-couverture.vignette { margin-bottom: 8px; }
.fiche-couverture.vignette img { aspect-ratio: 16 / 9; }
.galerie { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.galerie figure { margin: 0; }
.galerie figcaption, .video figcaption { font-size: .9rem; color: var(--discret); margin-top: 8px; }
.videos { display: grid; gap: 22px; }
.video { margin: 0; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 3px solid var(--trait); border-radius: 16px; background: #000; }
.fiche-cote { position: sticky; top: 90px; }
.fiche-carte { background: var(--carte); border: 3px solid var(--trait); border-radius: 22px; padding: 22px; display: grid; gap: 16px; }
.fiche-carte .bouton { text-align: center; }
.fiche-carte h2 { font-size: 1.15rem; margin: 0 0 .3em; }
.fiche-logo img { display: block; width: 100%; border-radius: 14px; }
.infos { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.infos dt { color: var(--discret); }
.infos dd { margin: 0; }
.prerequis li { margin-bottom: .45em; }
.zoom { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.zoom::backdrop { background: rgba(10, 10, 10, .9); }
.zoom figure { margin: 0; }
.zoom img { max-width: 94vw; max-height: 86vh; border-radius: 12px; display: block; }
.zoom figcaption { color: #f2f2f2; text-align: center; margin-top: 10px; font-size: .95rem; }
.zoom-fermer { position: absolute; top: -14px; right: -14px; width: 42px; height: 42px; border-radius: 50%; border: 3px solid #141414; background: #fff; color: #141414; font-size: 1.1rem; cursor: pointer; }
.zoom-fleche { position: fixed; top: 50%; transform: translateY(-50%); width: 50px; height: 66px; border: 3px solid #141414; border-radius: 14px; background: #fff; color: #141414; font-size: 2rem; cursor: pointer; transition: background .2s; }
.zoom-fleche:hover { background: var(--bleu-pale); }
.zoom-prec { left: 16px; } .zoom-suiv { right: 16px; }
.zoom.seule .zoom-fleche { display: none; }

/* ---- Pied de page ---- */
.pied { background: var(--fond2); border-top: 3px solid var(--trait); padding: 28px 0 40px; color: var(--discret); font-size: .95rem; }
.pied-in p { margin: 0 0 .4rem; max-width: 70ch; }

/* ---- Administration ---- */
.admin-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.admin-jeu { background: var(--carte); border: 3px solid var(--trait); border-radius: 22px; padding: 20px 24px; margin: 24px 0; }
.admin-jeu-tete { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; }
.admin-jeu h2 { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.admin-actions { display: inline-flex; gap: 16px; }
.admin-liste { list-style: none; padding: 0; margin: 12px 0 16px; }
.admin-liste li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 2px solid var(--doux); flex-wrap: wrap; }
.formulaire { display: grid; gap: 20px; margin: 24px 0; }
.formulaire label { display: grid; gap: 6px; font-weight: 700; }
.aide { font-weight: 400; color: var(--discret); font-size: .92rem; }
.formulaire input:not([type=checkbox]):not([type=file]), .formulaire select, .formulaire textarea { font: inherit; font-weight: 400; padding: .7rem .85rem; border: 2px solid var(--trait); border-radius: 12px; background: var(--carte); color: var(--t); width: 100%; }
.formulaire input[type=file] { font-weight: 400; }
.ligne-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.case { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.apercu { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: -8px 0 0; }
.apercu img { border-radius: 10px; }
.admin-captures { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.admin-captures li { display: grid; gap: 6px; justify-items: start; }
.admin-captures img { border-radius: 10px; }
.legende { display: grid; gap: 4px; font-size: .9rem; color: var(--discret); }
.legende input { font: inherit; padding: .4rem .5rem; border: 2px solid var(--doux); border-radius: 8px; background: var(--carte); color: var(--t); width: 160px; }
.danger { margin-top: 36px; padding-top: 20px; border-top: 2px solid var(--doux); }
.alerte, .ok { padding: .8rem 1rem; border-radius: 14px; margin: 1rem 0; border: 2px solid currentColor; }
.alerte { background: #3a1a1a; color: #ffb4b4; } .ok { background: #1e3422; color: #9be8b4; }

/* =========================================================================================================
   Red Dead Redemption 2 : la DA de son logo et de sa page Nexus — noir, rouge, coups de pinceau, titres western.
   ========================================================================================================= */
.theme-western { --fond: #0b0a0b; --fond2: #120e10; --carte: #141113; --carte2: #1e181b; --t: #f2e8da; --discret: #a99e98; --trait: #33292d;
  --doux: #33292d; --accent: #d02a2f; --sur-accent: #fff; --ombre: transparent; --vif: #d02a2f; --bordeaux: #6e0f20; --ambre: #fbb33a; }
.theme-western .entete { background: rgba(11, 10, 11, .88); border-bottom-width: 1px; }
.theme-western .logo-entete .logo-svg { filter: drop-shadow(0 0 1.2px #f2e8da) drop-shadow(0 0 1.2px #f2e8da); }
.theme-western .bouton { border-color: var(--t); }
.theme-western .bouton:hover { box-shadow: 0 10px 30px -10px var(--vif); }
.theme-western .bouton-plein { border-color: var(--accent); }
.theme-western .bouton-inactif { border-color: var(--trait); }
.theme-western .trait { position: absolute; inset: 0; pointer-events: none; opacity: .6; background: linear-gradient(112deg, var(--bordeaux) 0%, var(--vif) 100%);
  -webkit-mask: url(/img/trait.svg) center / cover no-repeat; mask: url(/img/trait.svg) center / cover no-repeat; }
.theme-western .bandeau { background: var(--fond); border-bottom: 1px solid var(--trait); }
.theme-western .bandeau h1, .theme-western .titre-marque { font-family: var(--marque); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; text-shadow: .06em .06em 0 var(--vif); }
.theme-western .bandeau h1 { text-shadow: .05em .05em 0 var(--bordeaux), 0 2px 30px rgba(0, 0, 0, .6); }
.theme-western .bandeau .chapeau { color: var(--t); text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.theme-western .bandeau-logo, .theme-western .fiche-logo img { mix-blend-mode: lighten; }
.theme-western .mod-entete, .theme-western .mod-titre, .theme-western .onglets, .theme-western .pied { border-color: var(--trait); border-width: 1px; }
.theme-western .mod-titre { background: linear-gradient(180deg, #120d0f, var(--fond)); border-bottom-width: 1px; }
.theme-western .devise span { font: 400 clamp(1rem, 2vw, 1.35rem)/1.2 var(--devise); color: var(--t); border: 0; border-radius: 0; background: linear-gradient(100deg, var(--bordeaux), var(--vif) 60%, #a51d25); padding: .55em 1.4em .5em;
  clip-path: polygon(0 12%, 4% 0, 18% 8%, 33% 1%, 52% 9%, 70% 0, 86% 7%, 100% 2%, 98% 46%, 100% 90%, 84% 100%, 66% 92%, 47% 100%, 30% 93%, 12% 100%, 1% 92%, 3% 50%); }
.theme-western .fiche-texte h2 { color: var(--ambre); }
.theme-western .texte h3 { border-left-color: var(--vif); }
.theme-western .texte li::marker, .theme-western .points li::marker, .theme-western .prerequis li::marker { color: var(--vif); }
.theme-western .texte ol li::marker { color: var(--ambre); }
.theme-western .texte strong { color: #fff; }
.theme-western .coup-d-oeil { background: var(--carte); border: 1px solid var(--trait); }
.theme-western .fiche-carte { border: 1px solid var(--trait); border-top: 5px solid var(--vif); }
.theme-western .vignette, .theme-western .video iframe { border: 1px solid var(--trait); }
.theme-western .mod-vignette { background: linear-gradient(135deg, var(--bordeaux), var(--vif)); }
.theme-western .mod-ligne:hover { border-color: var(--vif); }
.theme-western .etat-disponible { color: #62d58a; } .theme-western .etat-beta { color: #f28a1e; }
.theme-western .partie + .partie { border-top-width: 1px; }
.theme-western .alerte { background: #3a1216; color: #ffb4b4; } .theme-western .ok { background: #12301c; color: #9be8b4; }

@media (max-width: 860px) {
  .heros-in, .exemple-in, .jeu, .fiche-mise-en-page { grid-template-columns: minmax(0, 1fr); }
  .heros-visuel { order: -1; }
  .logo-heros { max-width: 420px; }
  .fiche-cote { position: static; order: -1; }
  .scene-ligne { max-width: 100%; }
  .bandeau-in { flex-direction: column-reverse; align-items: flex-start; }
  .mod-actions { justify-items: start; }
  .jeu:hover { transform: none; box-shadow: none; }
}
@media (max-width: 520px) {
  .mod-ligne { flex-wrap: wrap; }
  .mod-ligne img, .mod-vignette { width: 56px; height: 56px; }
  .menu { gap: 16px; }
}

/* La couleur choisie pour un jeu (Administration → jeu) colore ses boutons et ses onglets */
.acc-cobalt { --accent: #4285f4; } .acc-moss { --accent: #43a047; } .acc-plum { --accent: #9c5bd0; } .acc-teal { --accent: #12a5a0; } .acc-ochre { --accent: #c9821a; } .acc-oxblood { --accent: #c6373c; }
.theme-western.acc-oxblood, .theme-western { --accent: #d02a2f; }
