.theme-games .web-services{max-width:1200px;margin:0 auto;padding:2rem 1.5rem 4rem}.theme-games .service-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.theme-games .service-cards article{background:var(--surface);border:1px solid #67512c;border-radius:18px;padding:1.5rem}.theme-games .service-cards h3{color:#e3bb6b}.theme-games #donjons{border-top:1px solid #67512c;border-bottom:1px solid #67512c;padding-top:3rem;padding-bottom:3rem}.theme-games #donjons .eyebrow{color:#e3bb6b}.theme-games #telecharger{scroll-margin-top:100px}.theme-games .game-hero-copy{max-width:610px}.theme-games .site-footer-slogan{color:#e3bb6b}@media(max-width:700px){.theme-games .service-cards{grid-template-columns:1fr}.theme-games .game-hero-copy h1{font-size:clamp(2rem,10vw,3.2rem)}}

.theme-games .game-hero-copy h1{font-size:clamp(2rem,4.3vw,3.7rem);line-height:1.08}.theme-games .game-hero{min-height:640px}.theme-games .game-hero-copy{padding-top:3rem;padding-bottom:3rem}.theme-games .game-hero>img{object-position:center}@media(max-width:700px){.theme-games .game-hero{min-height:580px}.theme-games .game-hero-copy{padding:2rem 1.25rem}.theme-games .game-hero-copy h1{font-size:2.3rem}}
/* Atlas public : styles limités à l’univers jeu, sans modifier Services. */
.theme-games{--text:#f5efe3;--muted:#d0c7b6;background:#141612;color:#f5efe3}
.theme-games main{background:radial-gradient(ellipse at top right,#3b302044,transparent 55%),#141612}
.theme-games main p,.theme-games main li{color:#d0c7b6;line-height:1.8}
.theme-games main h1,.theme-games main h2,.theme-games main h3{color:#fff4dc}
.theme-games .page-intro{max-width:1180px;margin:auto;padding:5.5rem 1.5rem 3rem;border-bottom:1px solid #78603a}
.theme-games .page-intro h1{max-width:950px;font-size:clamp(2.4rem,5vw,4.8rem);line-height:1.08;letter-spacing:-.035em}
.theme-games .page-intro>p:last-child{max-width:790px;font-size:1.15rem}
.theme-games .eyebrow{color:#edc985!important;letter-spacing:.12em;font-size:.8rem;font-weight:700}
.theme-games .universes,.theme-games .game-intro{max-width:1200px;margin:auto;padding:3.5rem 1.5rem}
.theme-games .universe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.theme-games .universe-card{display:flex;flex-direction:column;min-height:265px;background:linear-gradient(145deg,#303326,#1c211b);border:1px solid #71603d;border-radius:18px;padding:1.8rem;text-decoration:none;transition:transform .2s,border-color .2s;overflow:hidden}
.theme-games .universe-card:hover{transform:translateY(-4px);border-color:#edc985}
.theme-games .universe-card:focus-visible{outline:3px solid #edc985;outline-offset:4px}
.theme-games .universe-card .card-number{display:none}
.theme-games .universe-card h3{font-size:1.6rem;margin:.5rem 0}
.theme-games .universe-card .card-action{color:#edc985;margin-top:auto;padding-top:1rem;font-weight:700}
.theme-games .section-heading h2,.theme-games .game-intro h2{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.2}
.theme-games .web-services{padding-top:3rem;padding-bottom:2rem}
.theme-games .service-cards article{background:linear-gradient(140deg,#292d23,#1c211b);border-color:#65583d;padding:1.8rem}
.theme-games .service-cards h3{color:#edc985;font-size:1.35rem}
.theme-games .game-portal{background:#24291f;border-block:1px solid #71603d}
.theme-games .game-hero-copy{background:linear-gradient(90deg,#101610ee,#101610b8,transparent);max-width:780px}
.theme-games .game-hero-copy p{color:#fff1d5;text-shadow:0 1px 4px #000}
.theme-games .site-header nav{gap:.85rem;flex-wrap:wrap}
@media(max-width:1000px){.theme-games .universe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.theme-games .universe-grid,.theme-games .service-cards{grid-template-columns:1fr}.theme-games .page-intro{padding-top:3rem}.theme-games .universe-card{min-height:210px}.theme-games .game-hero-copy{max-width:100%}}
/* Composition illustrée, sans panneau opaque sur la scène d’accueil. */
.theme-games .game-hero-copy{background:none;max-width:1100px;margin:auto;padding:4rem 1.5rem;width:100%}
.theme-games .game-hero-copy h1{max-width:730px;text-shadow:0 2px 14px #000}
.theme-games .game-hero:after{background:linear-gradient(90deg,#07100ee0,#07100e60 65%,#07100e15),linear-gradient(0deg,#141612,transparent 35%)}
.theme-games .universe-card img{height:190px;width:100%;object-fit:cover;border-radius:10px;margin-bottom:1.2rem}
.theme-games .quatelys-module{max-width:1200px;margin:auto;padding:3.5rem 1.5rem}
.theme-games .quatelys-module header{max-width:800px;margin-bottom:2rem}
.theme-games .quatelys-module h2{font-family:Cinzel,serif;font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.25}
.theme-games .quatelys-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}
.theme-games .quatelys-gallery-grid article{border:1px solid #76613d;background:#23291f;border-radius:16px;overflow:hidden}
.theme-games .quatelys-gallery-grid article>img{width:100%;height:260px;object-fit:contain;background:radial-gradient(#60553b,#20251d);padding:1rem}
.theme-games .quatelys-gallery-grid article>div{padding:1.5rem}
.theme-games .quatelys-gallery-grid h3{font-size:1.45rem;margin:0 0 .6rem;color:#edc985}
.theme-games .element-scene{position:relative;min-height:390px;border-radius:24px;overflow:hidden;border:1px solid #75603d}
.theme-games .element-landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42}
.theme-games .element-character{position:relative;display:flex;align-items:center;gap:3rem;padding:3rem;background:linear-gradient(90deg,#10160ee8,#10160e20)}
.theme-games .element-character>img{width:230px;max-width:38%;border-radius:50%;filter:drop-shadow(0 8px 18px #000)}
.theme-games .element-character>div{max-width:530px;text-shadow:0 1px 4px #000}
.theme-games .element-character a{color:#f4d28c}
.theme-games .quatelys-atlas{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;padding:2rem;background:radial-gradient(ellipse,#3c5045,#172722 65%);border:1px solid #8b784f;border-radius:24px}
.theme-games .atlas-point{position:relative;border:1px solid #947849;background:#1a221a;color:#fff1d1;border-radius:100px 100px 16px 16px;overflow:hidden;padding:0 0 1.3rem;cursor:pointer;transition:transform .2s}
.theme-games .atlas-point:hover{transform:translateY(-6px)}
.theme-games .atlas-point:focus-visible{outline:3px solid #ffe29b;outline-offset:4px}
.theme-games .atlas-point img{width:100%;height:170px;object-fit:cover}.theme-games .atlas-point strong,.theme-games .atlas-point small{display:block;padding:0 .4rem}.theme-games .atlas-dot{display:block;border-radius:50%;height:20px;width:20px;background:#edc985;border:4px solid #314436;margin:-10px auto 12px;position:relative;box-shadow:0 0 0 5px #edc98535}
.theme-games .atlas-dialog{padding:0;width:min(760px,92vw);max-height:90vh;border:1px solid #d8ad62;border-radius:18px;background:#20271d;color:#fff4dc}.theme-games .atlas-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.theme-games .atlas-dialog>img{width:100%;height:250px;object-fit:cover}.theme-games .atlas-dialog>div{padding:2rem}.theme-games .atlas-dialog>button{position:absolute;right:12px;top:12px;background:#101810;border:1px solid #edc985;border-radius:50%;width:42px;height:42px;color:white;font-size:1.6rem;cursor:pointer}
@media(min-width:851px){.theme-games .site-header{height:auto;min-height:82px;gap:1rem;padding-top:1rem;padding-bottom:1rem}.theme-games .site-header nav{justify-content:flex-end}}
@media(max-width:900px){.theme-games .quatelys-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-games .quatelys-atlas{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.theme-games .quatelys-gallery-grid{grid-template-columns:1fr}.theme-games .quatelys-atlas{grid-template-columns:repeat(2,minmax(0,1fr));padding:1rem}.theme-games .atlas-point img{height:130px}.theme-games .element-character{padding:1.5rem;gap:1rem;flex-direction:column}.theme-games .element-character>img{max-width:65%;width:180px}.theme-games .game-hero-copy h1{font-size:2.6rem}}
/* Carte originale et fiches non modales. */
.theme-games .atlas-world{position:relative;border:1px solid #b19357;border-radius:20px;isolation:isolate;box-shadow:0 18px 60px #0005}
.theme-games .atlas-map{position:relative}.theme-games .atlas-base{width:100%;height:auto;border-radius:20px}
.theme-games .atlas-marker{position:absolute;transform:translate(-50%,-50%);padding:8px;border:0;background:transparent;color:#fff3cc;cursor:pointer;z-index:2}
.theme-games .atlas-marker span{display:block;margin:auto;width:18px;height:18px;border:3px solid #fff0b1;background:#b76b25;border-radius:50%;box-shadow:0 0 0 5px #18180ab0,0 0 18px #fff0b1}
.theme-games .atlas-marker strong{display:block;background:#152117e8;border:1px solid #bc9a54;border-radius:5px;padding:2px 7px;margin-top:8px;font-size:.75rem;white-space:nowrap}
.theme-games .atlas-marker:hover span,.theme-games .atlas-marker[aria-expanded=true] span{background:#fff1a3;box-shadow:0 0 0 8px #b9893a80,0 0 25px #fff0b1}
.theme-games .atlas-marker:focus-visible{outline:3px solid white;border-radius:10px}
.theme-games .atlas-card{position:absolute;left:var(--fiche-x,55%);top:var(--fiche-y,5%);width:40%;max-width:400px;background:#1c251a;color:#f8efd9;border:1px solid #c2a265;border-radius:14px;box-shadow:0 12px 50px #000b;z-index:4;overflow:hidden}
.theme-games .atlas-card[hidden]{display:none}.theme-games .atlas-card>img{width:100%;height:170px;object-fit:cover}.theme-games .atlas-card>div{padding:1.2rem}.theme-games .atlas-card h3{font:600 1.6rem Cinzel,serif;margin:.4rem 0}.theme-games .atlas-card p{font-size:.92rem;line-height:1.6}.theme-games .atlas-card small{color:#c6bd9c;font-size:.7rem}.theme-games .atlas-card>button{position:absolute;right:8px;top:8px;width:36px;height:36px;border:1px solid #d7b66a;background:#152013;color:white;border-radius:50%;font-size:1.5rem;cursor:pointer}
.theme-games .quatelys_editorial .element-character>img{border-radius:12px;width:280px;max-width:38%;height:330px;object-fit:cover}.theme-games .quatelys-gallery-grid article>img{object-fit:cover;padding:0}
@media(max-width:700px){.theme-games .atlas-fiches{position:relative}.theme-games .atlas-card{position:relative;left:auto;top:auto;width:100%;max-width:none;margin-top:1rem}.theme-games .atlas-marker strong{font-size:.6rem;padding:1px 3px}.theme-games .atlas-marker span{width:14px;height:14px}.theme-games .quatelys_editorial .element-character>img{max-width:100%;width:220px}}
.theme-games .element-portrait{display:block;flex:0 0 260px;width:260px;height:370px;background-size:400% 100%;border-radius:16px;border:1px solid #b39b64;box-shadow:0 12px 30px #0006}
.theme-games .quatelys-gallery-grid:has(>article:only-child){grid-template-columns:1fr}.theme-games .quatelys-gallery-grid>article:only-child>img{height:430px}
@media(max-width:600px){.theme-games .element-portrait{flex-basis:auto;width:220px;height:320px}.theme-games .quatelys-gallery-grid>article:only-child>img{height:260px}}
.theme-games .atlas-marker{width:38px;height:38px;padding:10px}.theme-games .atlas-marker span{position:absolute;left:10px;top:10px;margin:0}.theme-games .atlas-marker strong{position:absolute;top:27px;left:50%;transform:translateX(-50%)}
.theme-games .atlas-marker{width:44px;height:44px}.theme-games .atlas-marker span{left:13px;top:13px}.theme-games .atlas-marker strong{top:30px}
/* Lecture en chapitres : les illustrations structurent les pages, sans grille de boîtes. */
.theme-games .quatelys-chapters>article,.theme-games .quatelys-gallery-grid>article{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:clamp(2rem,5vw,5rem);padding:3rem 0;border:0;border-bottom:1px solid #ad95652e;background:none;border-radius:0;overflow:visible}
.theme-games .quatelys-chapters>article:nth-child(even)>img,.theme-games .quatelys-gallery-grid>article:nth-child(even)>img{order:2}
.theme-games .quatelys-chapters>article>img,.theme-games .quatelys-gallery-grid>article>img{width:100%;height:380px;object-fit:cover;border-radius:2px;padding:0;background:none}
.theme-games .quatelys-gallery-grid{display:block}.theme-games .quatelys-gallery-grid>article>div{padding:1.5rem 0}
.theme-games .quatelys-chapters h3,.theme-games .quatelys-gallery-grid h3{font:600 clamp(1.8rem,3vw,2.8rem) Cinzel,serif;margin:.5rem 0 1rem}
.theme-games .quatelys-chapters a{display:inline-block;margin-top:1rem;color:#edc985;text-underline-offset:7px}
.theme-games .service-cards{display:block;columns:2;column-gap:4rem}.theme-games .service-cards article{background:none;border:0;border-radius:0;padding:1.3rem 0;break-inside:avoid}.theme-games .service-cards h3{font-size:1.45rem}
.theme-games .web-services{padding-top:2rem;padding-bottom:2rem}.theme-games .element-scene{border:0;border-radius:0}.theme-games .page-intro{min-height:0;padding-top:4rem;padding-bottom:2.5rem}
.theme-games .atlas-card{overflow:auto;overscroll-behavior:contain}.theme-games .atlas-marker[hidden]{display:none}.theme-games .atlas-marker strong{opacity:0;pointer-events:none;transition:opacity .15s}.theme-games .atlas-marker:hover strong,.theme-games .atlas-marker:focus-visible strong,.theme-games .atlas-marker[aria-expanded=true] strong{opacity:1}
.theme-games .atlas-filters{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.5rem 0}.theme-games .atlas-filters button{border:1px solid #847149;background:none;color:#e8dcc2;padding:.65rem 1rem;cursor:pointer;border-radius:2px}.theme-games .atlas-filters button[aria-pressed=true]{background:#d4b36c;color:#171c14}
@media(max-width:700px){.theme-games .quatelys-chapters>article,.theme-games .quatelys-gallery-grid>article{grid-template-columns:1fr;gap:1rem;padding:2rem 0}.theme-games .quatelys-chapters>article:nth-child(even)>img,.theme-games .quatelys-gallery-grid>article:nth-child(even)>img{order:0}.theme-games .quatelys-chapters>article>img,.theme-games .quatelys-gallery-grid>article>img{height:280px}.theme-games .service-cards{columns:1}.theme-games .atlas-card{max-height:none!important}}
.theme-games .atlas-selector{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:1rem 0;color:#e8dcc2}.theme-games .atlas-selector select{max-width:100%;padding:.7rem 1rem;background:#20281e;color:#f6ebd0;border:1px solid #968354}
/* Boutons de la vitrine : cuivre, relief discret et focus clavier visible. */
.theme-games .quatelys-chapters a,.theme-games main .button{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;min-height:48px;padding:.8rem 1.5rem;border:1px solid #d5b478;border-radius:8px;background:linear-gradient(135deg,#f2d9a1,#d9b779 55%,#bf9457);color:#202318;font-weight:750;letter-spacing:.025em;text-decoration:none;line-height:1.35;box-shadow:inset 0 1px #fff8,0 4px 14px #0003;transition:transform .18s,box-shadow .18s,filter .18s}
.theme-games .quatelys-chapters a:hover,.theme-games main .button:hover{color:#151b13;filter:brightness(1.08);transform:translateY(-2px);box-shadow:inset 0 1px #fff9,0 8px 20px #0005}
.theme-games .quatelys-chapters a:active,.theme-games main .button:active{transform:translateY(0)}
.theme-games main .button.ghost{background:#222c23;color:#f3dbaa;border-color:#af925a;box-shadow:inset 0 1px #fff1,0 4px 12px #0002}
.theme-games .atlas-filters button{min-height:44px;border-radius:8px;background:linear-gradient(135deg,#2e382b,#20291f);border-color:#8e784f;box-shadow:inset 0 1px #fff1;transition:background .18s,border-color .18s}
.theme-games .atlas-filters button:hover{border-color:#edce91;color:#fff0cd}.theme-games .atlas-filters button[aria-pressed=true]{background:linear-gradient(135deg,#edcf96,#c8a161);color:#1d2419;border-color:#e9cb8e}
.theme-games .quatelys-chapters a:focus-visible,.theme-games main .button:focus-visible,.theme-games .atlas-filters button:focus-visible,.theme-games .atlas-card>button:focus-visible{outline:3px solid #fff1c9;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.theme-games .quatelys-chapters a,.theme-games main .button,.theme-games .atlas-filters button{transition:none;transform:none}}
.theme-games .quatelys-library{max-width:850px;margin:0 auto}.theme-games .quatelys-library details{border-bottom:1px solid #9e865455;padding:1rem 0}.theme-games .quatelys-library summary{cursor:pointer;font:600 1.35rem Cinzel,serif;color:#efd295;padding:1rem .25rem;line-height:1.5}.theme-games .quatelys-library details>div{padding:.5rem 0 2rem}.theme-games .quatelys-library p{max-width:70ch;line-height:1.9}.theme-games .quatelys-library summary:focus-visible{outline:3px solid #eed39c;outline-offset:4px}
/* Compositions continues : un même paysage accueille l’affinité et ses quatre voies. */
.theme-games .affinity-story{position:relative;isolation:isolate;max-width:1200px;margin:2.5rem auto;overflow:hidden;border:1px solid #9d84564d;border-radius:20px;background:#1c261e}
.theme-games .affinity-backdrop{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;opacity:.4}
.theme-games .affinity-story:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,#101a15f2,#132219bb);z-index:-1}
.theme-games .affinity-story .quatelys-module{padding-bottom:1rem}.theme-games .affinity-story .element-landscape{display:none}.theme-games .affinity-story .element-character{background:none;padding:1rem 0 2rem}.theme-games .affinity-story .web-services{padding-top:0;padding-bottom:2.5rem}
.theme-games .affinity-story .service-cards{columns:initial;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.theme-games .affinity-story .service-cards article{padding:1.3rem 1.5rem;background:#111d18c9;border:1px solid #c2a57030;border-radius:10px;backdrop-filter:blur(5px)}
.theme-games main>.web-services .section-heading,.theme-games .quatelys-chapters article>div,.theme-games .quatelys-gallery-grid article>div{padding:1.8rem 2rem;border-left:2px solid #b99b61;background:linear-gradient(115deg,#2c3528e8,#1d2a2280);border-radius:0 12px 12px 0}
.theme-games main>.web-services .service-cards article{border-bottom:1px solid #b59b6233;padding:1.4rem 1rem;background:#26312588}
.theme-games .institution-diagram{max-width:1050px;margin:auto}.theme-games .institution-common,.theme-games .institution-local{padding:1.5rem 2rem;background:linear-gradient(120deg,#40503a,#202e24);border:1px solid #b79d65;border-radius:14px;text-align:center;max-width:720px;margin:auto}
.theme-games .institution-relation{text-align:center;margin:1.5rem auto!important;max-width:650px}.theme-games .institution-regions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:2rem 0;position:relative}
.theme-games .institution-regions article{padding:1.2rem;background:#283729;border-top:3px solid #ccad71;border-radius:8px}.theme-games .institution-regions h3{color:#f1d495}.theme-games .institution-regions span{color:#c9d1c4;font-size:.9rem}.theme-games .institution-local{margin-top:2rem}.theme-games .institution-diagram aside{margin:2rem auto 0;padding:1.5rem;max-width:720px;border-left:3px solid #c5ab74;background:#273329}
.theme-games .site-footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem 3rem;padding:1.5rem max(1.25rem,calc((100vw - var(--max))/2))}
.theme-games .site-footer-grid>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem 1rem;align-content:start}.theme-games .site-footer-grid>nav>strong{grid-column:1/-1}.theme-games .site-footer-grid>section{gap:.25rem}.theme-games .site-footer a{font-size:.82rem;line-height:1.5;overflow-wrap:anywhere}.theme-games .site-footer-brand>strong{font-size:.95rem;letter-spacing:.05em}.theme-games .site-footer p{font-size:.78rem}.theme-games .site-footer-bottom{padding-top:.65rem;padding-bottom:.65rem}
@media(max-width:700px){.theme-games .affinity-story{margin:1.5rem .75rem}.theme-games .affinity-story .service-cards{grid-template-columns:1fr}.theme-games .institution-regions{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-games .site-footer-grid{gap:1rem;padding:1.2rem}.theme-games .site-footer-grid>nav{grid-template-columns:1fr}.theme-games .quatelys-chapters article>div,.theme-games .quatelys-gallery-grid article>div{padding:1.25rem}}
@media(max-width:420px){.theme-games .institution-regions{grid-template-columns:1fr}.theme-games .site-footer-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.theme-games .institution-regions{grid-template-columns:repeat(5,minmax(0,1fr))}}
.theme-games .quatelys-library details{padding:1rem 1.5rem;margin-bottom:1rem;background:linear-gradient(110deg,#2a3527,#1c2922);border:1px solid #9e865444;border-radius:12px}
/* Prologue : une entrée dans le récit immédiatement après la scène d’accueil. */
.theme-games #prologue{margin:3rem auto 1rem;max-width:1050px;padding:2.5rem clamp(1.5rem,5vw,4rem);text-align:left;background:radial-gradient(ellipse at top right,#82613d33,transparent 70%),linear-gradient(120deg,#2a3428,#192820);border-block:1px solid #c5a56b66;border-radius:12px}
.theme-games #prologue h2{font-size:clamp(1.9rem,3vw,2.8rem);max-width:750px}.theme-games #prologue p:not(.eyebrow){max-width:72ch;margin:1.4rem 0;line-height:1.95;font-size:1.05rem}
/* Le récit d’accueil est intégré à la grande image, avant son bouton. */
.theme-games #entree-quatelys .game-hero-copy p:not(.eyebrow){white-space:pre-line;font-size:1.04rem;line-height:1.75;max-width:760px}.theme-games #entree-quatelys .game-hero-copy{max-width:1100px;padding-block:3rem}
