/* ── Strong Bible — styles isolés (design aligné sur l'app actuelle) ─────────
   Palette : violet #6d4ce8 · ink #17152b · texte doux #68647d · surface douce #f2f0fb */

.strong-word {
  cursor: pointer;
  border-bottom: 1px dashed rgba(109, 76, 232, .45);
  text-decoration: none;
  transition: background .12s, border-color .12s;
}
.strong-word:hover {
  background: rgba(109, 76, 232, .10);
  border-bottom-color: rgba(109, 76, 232, .8);
  border-radius: 4px;
}

/* ── Popup Strong ─────────────────────────────────────────── */
#strongPopup {
  position: fixed;
  z-index: 99999;
  width: min(384px, calc(100vw - 20px));
  max-height: min(560px, calc(100vh - 50px));
  background: #fff;
  border: 1px solid rgba(23, 21, 43, .08);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(23, 21, 43, .18);
  display: none;
  flex-direction: column;
  font-family: inherit;
  overflow: hidden;
}
#strongPopup.show { display: flex; }

/* ── Header épuré (blanc, sans dégradé) ───────────────────── */
.strong-popup-header {
  background: radial-gradient(circle at 85% 15%, rgba(24, 200, 238, .19), transparent 30%), linear-gradient(135deg, #201944, #3a287d 68%, #5c3fbd);
  padding: 18px 48px 16px 20px;
  border-bottom: 1px solid rgba(23, 21, 43, .07);
  flex-shrink: 0;
}

/* Bouton × discret */
.strong-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f2f0fb;
  border: none;
  font-size: 16px;
  color: #68647d;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 1;
  transition: background .15s, color .15s;
}
.strong-popup-close:hover { background: #e7e2fb; color: #17152b; }

/* Ligne du haut : code Strong + label langue */
.strong-popup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.strong-popup-code {
  font-size: 11px;
  font-weight: 800;
  color: #9a83e5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Label langue (Hébreu AT / Grec NT) : pastille violette douce */
.strong-popup-lang {
  font-size: 10px;
  font-weight: 700;
  color: #6d4ce8;
  background: #f2f0fb;
  border-radius: 999px;
  padding: 4px 11px;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Mot original (grec/hébreu) — grand, encre foncée */
.strong-popup-orig {
  font-size: 30px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.15;
  margin-bottom: 2px;
  font-family: "Noto Sans", "Noto Serif", Georgia, serif;
}
/* Translittération / lemme */
.strong-popup-lemma {
  font-size: 12.5px;
  color: #68647d;
  font-style: italic;
}

/* ── Zone gloss scrollable ────────────────────────────────── */
.strong-popup-gloss {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(109, 76, 232, .28) transparent;
}
.strong-popup-gloss::-webkit-scrollbar { width: 5px; }
.strong-popup-gloss::-webkit-scrollbar-thumb {
  background: rgba(109, 76, 232, .28);
  border-radius: 5px;
}

/* 1ère définition en avant */
.strong-gloss-primary {
  font-size: 14.5px;
  font-weight: 700;
  color: #17152b;
  line-height: 1.55;
  margin: 0 0 12px;
}
/* Sens secondaires en liste */
.strong-gloss-senses {
  margin: 0;
  padding: 0;
  list-style: none;
}
.strong-gloss-senses li {
  font-size: 13.5px;
  line-height: 1.6;
  color: #46435c;
  padding: 7px 0 7px 18px;
  position: relative;
  border-bottom: 1px solid rgba(23, 21, 43, .06);
}
.strong-gloss-senses li:last-child { border-bottom: none; }
.strong-gloss-senses li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6d4ce8;
}
/* Notes grammaticales entre parenthèses */
.strong-gloss-note {
  color: #8b87a0;
  font-size: 12px;
  font-style: italic;
}
.strong-popup-loading {
  font-size: 13px;
  color: #8b87a0;
  text-align: center;
  padding: 16px 0;
}
.strong-gloss-empty {
  font-size: 13px;
  color: #8b87a0;
  font-style: italic;
}

/* État actif du bouton de bascule Strong dans la barre du lecteur (index-reader.php). */
.wow-reader-tool[data-strong-toggle].is-active {
  background: #6d4ce8;
  border-color: #6d4ce8;
  color: #fff;
}
