/* Page Wiki de Nogord : reprend la structure du wiki Sidaire avec la DA Nogord (encre, prune, or). */
.wiki-bandeau{position:relative;overflow:hidden;background:#17121e;border-bottom:1px solid #49374e;padding:46px 0 42px}
.wiki-bandeau .conteneur{position:relative;z-index:1}
.wiki-bandeau .surtitre{font:700 11px/1.5 var(--texte);letter-spacing:.22em;color:#c9ad75;margin:0 0 12px;text-transform:uppercase}
.wiki-bandeau h1{font:400 clamp(32px,4vw,48px)/1.1 Georgia,serif;letter-spacing:-.02em;color:#fff1df;margin:0}
.wiki-bandeau p.intro{font-size:16px;line-height:1.7;color:#bfb0cb;max-width:470px;margin:14px 0 0}
.wiki-bandeau .wiki-dragon{position:absolute;right:-10px;top:-20px;bottom:-20px;width:44%;max-width:520px;z-index:0;pointer-events:none}
.wiki-bandeau .wiki-dragon img{width:100%;height:100%;object-fit:contain;object-position:right center;opacity:.55;filter:drop-shadow(0 18px 20px #0006)}

.wiki{display:grid;grid-template-columns:240px minmax(0,1fr);gap:26px;align-items:start;padding-top:30px;padding-bottom:40px}
.wiki-menu{position:sticky;top:84px;padding:18px 16px}
.wiki-menu .wiki-blason{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #382d43}
.wiki-menu .wiki-blason img{width:30px;height:34px;object-fit:contain}
.wiki-menu h3{font:600 15px/1.2 var(--titre);letter-spacing:.08em;color:#f8edcf;margin:0}
.wiki-menu ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px;counter-reset:wiki}
.wiki-menu li{counter-increment:wiki}
.wiki-menu a{display:flex;gap:10px;align-items:baseline;padding:6px 8px;border-radius:4px;color:#cbbdd5;text-decoration:none;font-weight:600;font-size:14px}
.wiki-menu a:before{content:counter(wiki,decimal-leading-zero);font:400 11px/1 Georgia,serif;color:#bd9e65;letter-spacing:.08em;min-width:18px}
.wiki-menu a:hover,.wiki-menu a.actif{background:#ffffff08;color:#f8d78d}

.wiki-texte{min-width:0;display:flex;flex-direction:column;gap:18px}
.wiki-texte section{scroll-margin-top:84px;margin:0}
.wiki-texte .repere{display:block;margin-bottom:6px}
.wiki-texte h2{font:600 22px/1.25 var(--titre);color:#f0e8f5;margin:0 0 8px}
.wiki-texte .chapeau{color:#bba7c8;margin:0 0 14px;line-height:1.7}
.wiki-texte h4{font:800 15px/1.4 var(--texte);color:#f8edcf;margin:20px 0 6px;letter-spacing:.02em}
.wiki-texte p,.wiki-texte li{max-width:74ch;line-height:1.7;color:#d6cbe0}
.wiki-texte ul,.wiki-texte ol{padding-left:20px;margin:8px 0}
.wiki-texte li{margin:4px 0}
.wiki-texte li::marker{color:#bd9e65}
.wiki-texte strong{color:#f8edcf}
.wiki-texte code{background:#15111c;color:#f8d78d;border:1px solid #382d43;border-radius:3px}
.wiki-texte .accent{color:#f8d78d;font-weight:800}
.wiki-texte .prune{color:#c8a3e6;font-weight:800}

.puces{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0 4px;padding:0!important;list-style:none}
.puces li{margin:0;padding:14px 16px;border:1px solid #382d43;border-left:3px solid #9875b1;border-radius:4px;background:#17131d;font-size:14px;color:#c5b9cf}
.puces b{display:block;color:#f8d78d;font:600 19px/1.3 var(--titre);margin-bottom:4px}

.wiki-texte .tableau-cadre{margin:12px 0;border:1px solid #382d43;border-radius:4px;background:#17131d}
.wiki-texte .tableau td{white-space:nowrap}
.wiki-texte .tableau th{white-space:normal;vertical-align:bottom}
.wiki-texte .tableau td{color:#d6cbe0}
.wiki-texte .tableau td.accent{color:#f8d78d}.wiki-texte .tableau td.prune{color:#c8a3e6}
.wiki-texte .commandes td:last-child{white-space:normal}
.wiki-texte .commandes td.nom{width:1%}

.wiki-encart{display:flex;gap:16px;align-items:center;margin:16px 0 4px;padding:14px 16px;border:1px solid #685277;border-radius:4px;background:#211b2a}
.wiki-encart img{width:42px;height:42px;object-fit:contain;flex:none}
.wiki-encart p{margin:0;font-size:14px}
.wiki-liens{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}

@media(max-width:860px){
  .wiki{grid-template-columns:1fr}
  .wiki-menu{position:static}
  .wiki-menu ol{flex-direction:row;flex-wrap:wrap;gap:4px}
  .wiki-menu a{padding:5px 8px;background:#17131d;border:1px solid #382d43}
  .wiki-bandeau .wiki-dragon{width:52%;opacity:.8}
}
@media(max-width:600px){
  .wiki-bandeau{padding:34px 0 30px}
  .wiki-bandeau .wiki-dragon{width:60%;top:0;bottom:0;right:-30px}
  .wiki-bandeau .wiki-dragon img{opacity:.3}
  .wiki-texte .carte{padding:18px 16px}
  .wiki-texte h2{font-size:19px}
  .wiki-texte .tableau td,.wiki-texte .tableau th{padding:8px 10px}
}
