

.gm-figure { margin: 18px auto 24px; max-width: 640px; text-align: center; }
.gm-fig-paire { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: center; }
.gm-fig-etat { flex: 0 1 290px; min-width: 220px; }
.gm-fig-titre { margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--texte-doux, #a8b0bb); }
.gm-fig-grille { display: grid; grid-template-columns: repeat(var(--gm-fig-colonnes, 9), minmax(0, 1fr)); gap: 2px; padding: 4px; background: #141a29; border: 1px solid #313c5b; border-radius: 8px; }
.gm-fig-case { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border: 1px solid #313c5b; border-radius: 3px; background: #232c44; color: #fff; font: 800 clamp(0.75rem, 2.6vw, 1.05rem)/1 system-ui, -apple-system, 'Segoe UI', sans-serif; }
.gm-fig-case.mur { background: repeating-linear-gradient(45deg, #0c1018, #0c1018 4px, #171d2b 4px, #171d2b 8px); }
.gm-fig-case.etoile::before { content: '\2605'; color: #f2b84b; opacity: 0.75; font-size: 0.9em; }
.gm-fig-case.rempart::before { content: ''; width: 46%; height: 52%; background: #5fd3a0; opacity: 0.65; clip-path: polygon(50% 0, 100% 16%, 100% 55%, 50% 100%, 0 55%, 0 16%); }
.gm-fig-case.a-moi { background: #3b61d0; border-color: #7d9cff; }
.gm-fig-case.a-autre { background: #bf3d36; border-color: #ff8f86; clip-path: polygon(0 22%, 22% 0, 100% 0, 100% 100%, 0 100%); }
.gm-fig-case.sur-rempart { box-shadow: inset 0 0 0 2px #5fd3a0; }
.gm-fig-case.sur-etoile::after { content: '\2605'; position: absolute; right: 1px; bottom: 0; font-size: 0.5em; color: #f2b84b; }
.gm-figure figcaption { margin-top: 10px; font-size: 0.88rem; line-height: 1.5; color: var(--texte-doux, #a8b0bb); }
.gm-figure-erreur { color: #d07070; }


.gm-mots { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 20px; padding: 0; list-style: none; }
.gm-mots li { padding: 4px 9px; border: 1px solid #b9ad8c; border-radius: 6px; background: #efe6c8; color: #1d2333; font: 800 0.9rem/1.2 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: 0.04em; }


.gm-en-bref { margin: 20px 0 24px; padding: 14px 18px 12px; border: 1px solid var(--line, #2a3144); border-left: 4px solid var(--color-accent, #7d9cff); border-radius: 8px; background: var(--surface-1, rgba(255, 255, 255, 0.03)); }
.gm-en-bref-titre { margin: 0 0 8px; font-weight: 700; color: var(--texte, #e6e9ee); }
.gm-en-bref ol { margin: 0; padding-left: 1.4em; line-height: 1.6; }
.gm-en-bref li { margin-bottom: 6px; }


.cluster-section { margin-bottom: 48px; }
.cluster-section:last-child { margin-bottom: 24px; }
.cluster-header { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cluster-header h2 { font-size: 1.4rem; font-weight: 700; color: var(--color-accent); margin: 0 0 6px; }
.cluster-header p { font-size: 0.92rem; color: var(--texte-doux); margin: 0; line-height: 1.5; }
.cluster-section .blog-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.cluster-section .blog-card h3 a { color: var(--color-accent); text-decoration: none; }
.cluster-section .blog-card h3 a:hover { color: var(--color-light); }
.guides-vide { text-align: center; color: var(--texte-doux); padding: 30px 0; line-height: 1.6; }
.guides-suite { text-align: center; color: var(--texte-doux); margin-top: 8px; line-height: 1.6; }
.guides-suite a { color: var(--color-light); }
