.kjv-strongs-verse {
   line-height: 2.2;
}

.verse-number {
   font-size: calc(var(--user-font-size) * 0.85 / 1.25);
   opacity: 0.65;
}

.strongs-phrase {
   display: inline-flex;
   flex-direction: column;
   align-items: center;
   vertical-align: bottom;
   margin: 0 0.08em;
   cursor: pointer;
}

.strongs-number {
   font-size: 0.55em;
   line-height: 1;
   opacity: 0.6;
}

.strongs-text {
   line-height: 1.2;
}

#strongsBackdrop {
   display: none;
   position: fixed;
   inset: 0;
   background: hsla(0, 0%, 0%, 0.65);
   z-index: 9000;
}

#strongsPopup {
   display: none;
   position: fixed;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   width: min(92vw, 520px);
   max-height: 82dvh;
   overflow: hidden;
   background: hsl(215, 18%, 10%);
   color: hsl(0, 0%, 94%);
   border: 1px solid hsl(210, 45%, 35%);
   border-radius: 16px;
   box-shadow: 0 16px 50px hsla(0, 0%, 0%, 0.65);
   z-index: 9001;
   font-size: var(--user-font-size, 1rem);
}

.strongs-popup-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 1em;
   padding: 0.85em 1em;
   background: linear-gradient(
      to bottom,
      hsl(215, 25%, 18%),
      hsl(215, 20%, 13%)
   );
   border-bottom: 1px solid hsl(210, 35%, 28%);
}

#strongsPopupTitle {
   font-size: 0.9em;
   opacity: 0.75;
}

#strongsPopupNumber {
   margin-top: 0.15em;
   font-size: 1.35em;
   font-weight: bold;
   letter-spacing: 0.04em;
   color: hsl(205, 85%, 78%);
}

#strongsPopupClose {
   width: 2.1em;
   height: 2.1em;
   border: 1px solid hsl(210, 25%, 35%);
   border-radius: 50%;
   background: hsl(215, 18%, 16%);
   color: hsl(0, 0%, 95%);
   font-size: 1.3em;
   line-height: 1;
   cursor: pointer;
}

#strongsPopupClose:active {
   transform: scale(0.94);
}

.strongs-popup-body {
   padding: 1em;
   overflow-y: auto;
   max-height: calc(82dvh - 4.8em);
}

#strongsLemma {
   font-size: 2.1em;
   font-weight: bold;
   line-height: 1.1;
   margin-bottom: 0.25em;
   color: hsl(0, 0%, 100%);
}

#strongsLemma.hebrew {
   direction: rtl;
   text-align: right;
   font-family: "Times New Roman", serif;
}

.strongs-pron-row {
   display: flex;
   flex-wrap: wrap;
   gap: 0.5em;
   margin-bottom: 1em;
}

#strongsXlit,
#strongsPron {
   display: inline-block;
   padding: 0.25em 0.55em;
   border-radius: 999px;
   background: hsl(215, 20%, 18%);
   color: hsl(205, 75%, 82%);
   font-size: 0.9em;
}

.strongs-section {
   margin-top: 0.9em;
   padding-top: 0.8em;
   border-top: 1px solid hsl(215, 18%, 24%);
}

.strongs-label {
   margin-bottom: 0.25em;
   font-size: 0.75em;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   color: hsl(205, 55%, 70%);
   opacity: 0.9;
}

.strongs-text {
   line-height: 1.45;
   color: hsl(0, 0%, 90%);
}

body.strongs-popup-open {
   overflow: hidden;
}