/* ── Strong Bible — styles isolés ─────────────────────────── */
.strong-word {
  cursor: pointer;
  border-bottom: 1px dashed rgba(102, 126, 234, .55);
  text-decoration: none;
  transition: background .12s;
}
.strong-word:hover {
  background: rgba(102, 126, 234, .12);
  border-radius: 3px;
}

/* ── Popup Strong ─────────────────────────────────────────── */
#strongPopup {
  position: fixed;
  z-index: 99999;
  width: min(390px, calc(100vw - 20px));
  max-height: min(580px, calc(100vh - 50px));
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 56px rgba(10, 16, 40, .24);
  display: none;
  flex-direction: column;
  font-family: Montserrat, system-ui, sans-serif;
  overflow: hidden;
}
#strongPopup.show { display: flex; }

/* ── Header violet ────────────────────────────────────────── */
.strong-popup-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 14px 46px 14px 18px;
  flex-shrink: 0;
}

/* Bouton × blanc */
.strong-popup-close {
  position: absolute;
  top: 11px;
  right: 13px;
  background: rgba(255,255,255,.18);
  border: none;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 1;
  transition: background .15s;
}
.strong-popup-close:hover { background: rgba(255,255,255,.32); }

/* Ligne du haut : code + toggle langue */
.strong-popup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.strong-popup-code {
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,.75);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Label langue (Hébreu AT / Grec NT) */
.strong-popup-lang {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 3px 10px;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Mot original (grec/hébreu) */
.strong-popup-orig {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2px;
  font-family: "Noto Sans", "Noto Serif", Georgia, serif;
}
/* Translittération (réservé) */
.strong-popup-lemma {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  font-style: italic;
}

/* ── Zone gloss scrollable ────────────────────────────────── */
.strong-popup-gloss {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(102,126,234,.25) transparent;
}
.strong-popup-gloss::-webkit-scrollbar { width: 4px; }
.strong-popup-gloss::-webkit-scrollbar-thumb {
  background: rgba(102,126,234,.25);
  border-radius: 4px;
}

/* 1ère définition en gras bleu foncé */
.strong-gloss-primary {
  font-size: 14px;
  font-weight: 700;
  color: #1a2060;
  line-height: 1.55;
  margin: 0 0 10px;
}
/* Sens secondaires en liste */
.strong-gloss-senses {
  margin: 0;
  padding: 0;
  list-style: none;
}
.strong-gloss-senses li {
  font-size: 13px;
  line-height: 1.65;
  color: #3b4b6b;
  padding: 5px 0 5px 16px;
  position: relative;
  border-bottom: 1px solid rgba(102,126,234,.08);
}
.strong-gloss-senses li:last-child { border-bottom: none; }
.strong-gloss-senses li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: 900;
}
/* Notes grammaticales entre parenthèses */
.strong-gloss-note {
  color: #9aa3c7;
  font-size: 12px;
  font-style: italic;
}
.strong-popup-loading {
  font-size: 13px;
  color: #9aa3c7;
  text-align: center;
  padding: 14px 0;
}
.strong-gloss-empty {
  font-size: 13px;
  color: #9aa3c7;
  font-style: italic;
}
