/* La mise en page : un fond sombre comme le jeu, les titres sur parchemin, les cadres de fer, le bois des barres. */
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.55 var(--police-texte); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--police-titres); font-weight: 700; margin: 0; }
/* SITE11 : les titres restent en capitales, comme avec l'ancienne police (les minuscules de Metamorphous ont un « u » en
   forme de « v » et un « d » oncial, jolis mais plus durs à lire ; ses capitales sont gravées, anguleuses et nettes) */
h1, h2, h3, h4, .accroche, .sous-titre, .resume p:first-child, .fin-compte, .fin-bouton .steam, .zone-nom b, .pied .titre-jeu { text-transform: uppercase; }
p { margin: 0 0 0.8em; }
p:last-child { margin-bottom: 0; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* les matières du jeu */
.cadre { border: 8px solid var(--fer-sombre); border-image: var(--img-cadre) 4 / 8px / 0 stretch; image-rendering: pixelated; }
.cadre * { image-rendering: auto; }
.bois { background: var(--bois-fond); image-rendering: pixelated; }
.bois * { image-rendering: auto; }
.rivets { position: relative; }
.rivets::before { content: ''; position: absolute; inset: 6px; pointer-events: none; image-rendering: pixelated;
  background: var(--img-clou) left top / 12px 12px no-repeat, var(--img-clou) right top / 12px 12px no-repeat,
    var(--img-clou) left bottom / 12px 12px no-repeat, var(--img-clou) right bottom / 12px 12px no-repeat; }
.etiquette { display: inline-block; font-family: var(--police-titres); color: var(--encre); background: var(--parchemin-fond);
  padding: 2px 16px; border: 1px solid var(--bois-sombre); border-radius: var(--arrondi-1);
  box-shadow: var(--ombre-1), inset 0 0 6px var(--tache-parchemin); image-rendering: pixelated; }
.page-parchemin { color: var(--encre); background: var(--parchemin-fond); border: 1px solid var(--bois-sombre);
  border-radius: var(--arrondi-1); box-shadow: inset 0 0 18px var(--tache-parchemin), var(--ombre-2); image-rendering: pixelated; }
.page-parchemin * { image-rendering: auto; }
.plaque { display: inline-block; font: 700 17px/1.2 var(--police-texte); color: var(--text); text-decoration: none;
  background: var(--plaque-fond); border: 1px solid var(--bord-ext); border-radius: var(--arrondi-2);
  box-shadow: var(--plaque-relief); text-shadow: 0 1px 0 var(--bord-ext); padding: 6px 14px; cursor: pointer; }
.plaque:hover { background: linear-gradient(var(--button-hover), var(--button)); border-color: var(--or); }
.plaque.on { background: var(--parchemin-fond); color: var(--encre); border-color: var(--bois-sombre); text-shadow: none;
  box-shadow: inset 0 0 6px var(--tache-parchemin), var(--ombre-1); cursor: default; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }

/* (SITE05 : la mise en page des étages est dans style/etages.css) */
.langues .plaque { padding: 4px 10px; font-size: 16px; }
.steam[aria-disabled="true"] { cursor: default; }
.steam[aria-disabled="true"]:hover { background: var(--plaque-fond); border-color: var(--bord-ext); }

/* 6. Le pied de page */
.pied { position: relative; z-index: 2; margin-top: 0; padding: 26px 16px 30px; text-align: center; border-top: 3px solid var(--fer-sombre); }
.pied ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 0 0 14px; padding: 0; }
.pied .fiche li { font-weight: 700; }
.pied .liens li { color: var(--muted); font-size: 16px; }
.pied .liens a { color: var(--or); }
.pied .titre-jeu { margin-top: 12px; font-family: var(--police-titres); color: var(--muted); font-size: 16px; }
