/* Figures de plateau des articles et guides (includes/figure-plateau.php) :
   mêmes couleurs que le plateau du jeu (css/jeu.css). */
.fig-othello { margin: 24px auto; max-width: 400px; }
.fo-plateau { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; background: #1a6b3c; border: 3px solid #0d4f2b; border-radius: 8px; padding: 4px; }
.fo-case { position: relative; aspect-ratio: 1; background: #2d8a4e; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.fo-pion { position: absolute; width: 80%; height: 80%; border-radius: 50%; }
.fo-noir { background: radial-gradient(circle at 35% 35%, #555, #1a1a1a); box-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.fo-blanc { background: radial-gradient(circle at 35% 35%, #fff, #ccc); box-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.fo-coord { position: absolute; font-size: 0.6rem; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, 0.55); z-index: 2; }
.fo-col { top: 2px; right: 3px; }
.fo-ligne { bottom: 2px; left: 3px; }
.fo-etiquette { position: relative; z-index: 1; font-size: 0.72rem; font-weight: 700; color: #ecfdf5; text-align: center; line-height: 1.1; }
/* coup joué : liseré bleu de la relecture ; pions retournés : halo jaune de l'aperçu ;
   case menacée ou coup à venir : cadre rouge */
.fo-joue { box-shadow: inset 0 0 0 3px #93c5fd; }
.fo-retourne .fo-pion { box-shadow: 0 0 0 3px #fcd34d, 0 0 10px rgba(252, 211, 77, 0.8); }
.fo-menace { background: #3f9d63; box-shadow: inset 0 0 0 3px #f87171; }
.fig-othello figcaption { margin-top: 8px; font-size: 0.85rem; color: #94a3b8; text-align: center; line-height: 1.45; }
@media (max-width: 480px) {
  .fo-plateau { gap: 1px; padding: 3px; }
  .fo-etiquette { font-size: 0.6rem; }
}
