/*
 * Salles peintes : matières communes à toutes les salles (salle de garde, Métiers, Ateliers, arène, et ensuite Failles,
 * aide et récit). Bois sombre, fer forgé, laiton, parchemin : des variables de décor (--ws-*)
 * et quelques matières composées (--om-*). Chargée avant les feuilles de salle (ateliers-scene.css, arene-scene.css…).
 * Textures : dégradés et grain SVG en data: (CSP img-src data:). Rien d'animé.
 * Plan : docs/REFONTE-PAGES-RESTANTES-PLAN.md (RP1).
 */
:root {
  --ws-bois: #2b1d13; --ws-bois-2: #3b2818; --ws-bois-3: #4d3420;
  --ws-fer: #26272a; --ws-fer-2: #3a3b3f; --ws-fer-hi: #6d6a64;
  --ws-laiton: #b8893a; --ws-laiton-hi: #e8c574; --ws-laiton-lo: #6a4a1a;
  --ws-parch: #ead9b6; --ws-parch-2: #dcc597; --ws-parch-3: #c9ad78; --ws-encre: #2c2015; --ws-encre-2: #6a5338;
  --ws-braise: #e26a26; --ws-lueur: rgba(255, 128, 40, .32);
  --ws-ok: #4f7f2c; --ws-ko: #a8261b; --ws-bloque: #6d6a64;
  --ws-commune: #8f8676; --ws-rare: #3d72b8; --ws-legende: #d19a2a; --ws-speciale: #8a4fd0;
  --ws-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .13 0 0 0 0 .05 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --ws-veine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='120'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .22' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 -.12'/%3E%3C/filter%3E%3Crect width='300' height='120' filter='url(%23w)'/%3E%3C/svg%3E");
}

/* Matières composées : parchemin des pupitres, chef denché de la Livrée (repli : filet de laiton), clou de laiton,
   planche de la table. */
:root {
  --om-parch: var(--ws-grain), radial-gradient(120% 90% at 50% 40%, var(--ws-parch), var(--ws-parch-2) 75%, var(--ws-parch-3));
  --om-chef: var(--chef, linear-gradient(var(--ws-laiton), var(--ws-laiton)) top / 100% 4px no-repeat);
  --om-clou: radial-gradient(circle, var(--ws-laiton-hi) 0 2px, var(--ws-laiton-lo) 3px, transparent 4px);
  --om-planche: var(--ws-grain), var(--ws-veine), linear-gradient(180deg, var(--ws-bois-2), var(--ws-bois));
  --om-sang: linear-gradient(180deg, #c0392b, #7d1a12);
  --om-laiton: linear-gradient(180deg, var(--ws-laiton-hi), var(--ws-laiton) 60%, var(--ws-laiton-lo));
  --om-fer: linear-gradient(180deg, var(--ws-fer-2), var(--ws-fer));
}
