/* [83-wars] Panneaux hôpital et marché noir, infobulle
   (le style de la fenêtre Pactes & Guerres est dans 99-diplomacy.css) */

/* Panneaux générés en JS (hôpital, marché noir) : contenu en marge du cadre commun */
.leaderboard-panel:not(.tournament-folder) {
  padding: 0 18px 16px;
  overflow-y: auto;
}
.leaderboard-panel:not(.tournament-folder) > .leaderboard-header {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: 0 -18px 12px;
}
.leaderboard-panel .bm-tabs.modal-nav-tabs { margin: -12px -18px 14px; }

/* Infobulle style du jeu (js/tooltip.js) : boîte sombre arrondie, titre en capitales et bordure dorée */
.game-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10000;
  max-width: 250px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(8, 8, 8, 0.96);
  border: 1.5px solid var(--gold-classic);
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.95);
  color: #e6e2de;
  font-family: 'Josefin Sans', 'Gill Sans', sans-serif;
  font-size: 11px;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s;
}
.game-tooltip.visible { opacity: 1; }
.game-tooltip em { color: #7ad4b3; font-style: normal; font-weight: 700; }
.game-tooltip em.negative { color: #ed8b80; }
.game-tooltip em.protect { color: #8fb8d8; }
.game-tooltip strong {
  color: #e0c096;
  font-family: 'Limelight', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px #000;
}

/* Marché noir : taille fixe, le contenu des onglets défile (pas de saut entre Troc et Caisses) */
.blackmarket-panel { height: 630px; max-height: 96%; }
.blackmarket-panel .bm-pane { flex: 1; min-height: 0; overflow-y: auto; }
