/* Version accessible sur les écrans d'accueil et pendant le jeu. */
#versionBadge {
  position: fixed; right: calc(12px + var(--sa-r)); bottom: calc(10px + var(--sa-b));
  z-index: 80; padding: 6px 10px; border-radius: 5px;
  border: 1px solid rgba(210,180,125,.4); background: rgba(8,11,20,.83);
  color: #dfc99f; font: 600 11px/1.3 'Cinzel', Georgia, serif;
  letter-spacing: .04em; pointer-events: auto; cursor: pointer;
}
#versionBadge:hover, #versionBadge:focus-visible { border-color: #f5db9b; }
#versionPanel {
  position: fixed; right: calc(12px + var(--sa-r)); bottom: calc(48px + var(--sa-b));
  z-index: 81; width: min(390px, calc(100vw - 24px)); max-height: min(65vh, 450px);
  overflow: auto; padding: 16px 18px; border: 1px solid rgba(210,180,125,.5);
  border-radius: 8px; background: rgba(9,12,22,.98); color: #eee1ce;
  box-shadow: 0 16px 55px rgba(0,0,0,.75); pointer-events: auto;
  font: 15px/1.5 'EB Garamond', Georgia, serif;
}
.version-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.version-head h2 { margin: 0; color: #f5db9b; font: 700 18px 'Cinzel', Georgia, serif; }
#versionClose { border: 0; background: transparent; color: #f5db9b; font-size: 27px; cursor: pointer; }
#versionHistory h3 { color: #d9c29c; margin: 14px 0 5px; font-size: 15px; }
#versionHistory ul { margin: 0; padding-left: 20px; }
#versionHistory li { margin-bottom: 5px; }
