/* Agape Bible - the Bible dictionary page and the dictionary's words in the verse sheet (public/dictionary.js) */
.dict-form { margin: 0 0 14px; }
.dict-form input { width: 100%; box-sizing: border-box; font-size: 17px; padding: 0 16px; color: var(--chrome-ink); font-family: var(--font-ui); }
.dict-letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px; margin: 0 0 16px; scroll-margin-top: calc(var(--pvh, 52px) + 12px); }
.dict-letters button { min-height: 42px; border: 0; border-radius: 12px; background: var(--row); color: var(--chrome-ink); box-shadow: var(--card-shadow); font: 600 17px var(--font-ui); cursor: pointer; padding: 0; }
.dict-page[dir="rtl"] .dict-letters button { font-family: var(--font-ar); font-size: 20px; }
.dict-letters button.on { background: var(--tint); color: var(--row); }
.dict-letters button:active { transform: scale(.92); }
.dict-count { margin: 0 4px 8px; font-size: 13px; color: var(--label-2); font-family: var(--font-ui); }
.dict-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.dict-page[dir="rtl"] .dict-row { font-family: var(--font-ar); font-size: 19px; }
.dict-none { text-align: center; color: var(--label-2); margin-top: 8vh; }

.dict-body { font-family: var(--font-en); font-size: 19px; line-height: 1.65; color: var(--chrome-ink); overflow-wrap: anywhere; }
.dict-entry[dir="rtl"] .dict-body { font-family: var(--font-ar); font-size: 21px; line-height: 1.95; }
.dict-body p { margin: 0 0 .85em; }
.dict-body h3 { font-size: 1.05em; margin: 1.1em 0 .5em; color: var(--tint); }
.dict-body a { color: var(--tint); text-decoration: none; border-bottom: 1px dotted currentColor; cursor: pointer; }
.dict-body a.dict-ref { white-space: nowrap; border-bottom-style: solid; border-bottom-color: var(--tint-soft); font-family: var(--font-ui); font-size: .82em; }
.dict-src { margin: 22px 0 0; font-size: 13px; color: var(--label-2); font-family: var(--font-ui); line-height: 1.5; }

/* the verse sheet: one row of the verse's names and words, scrolled sideways inside the sheet */
.vp-dict { display: flex; align-items: center; gap: 6px; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 -12px; padding: 2px 12px; }
.vp-dict::-webkit-scrollbar { display: none; }
.vp-dict.hidden { display: none; }
.vp-dict-ico { flex: none; width: 22px; height: 22px; background: var(--label-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 18.5V5a2 2 0 0 1 2-2h12v15H7a2 2 0 0 0-2 2 2 2 0 0 0 2 2h12'/%3E%3Cpath d='M9.5 13l2.5-6 2.5 6M10.4 11h3.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 18.5V5a2 2 0 0 1 2-2h12v15H7a2 2 0 0 0-2 2 2 2 0 0 0 2 2h12'/%3E%3Cpath d='M9.5 13l2.5-6 2.5 6M10.4 11h3.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.verse-pop .vp-dict .vp-word { flex: none; min-height: 36px; padding: 4px 14px; border: 0; border-radius: 18px; background: var(--tint-soft); color: var(--tint); font: 600 14px var(--font-ui); white-space: nowrap; cursor: pointer; }
.verse-pop .vp-dict[dir="rtl"] .vp-word { font-family: var(--font-ar); font-size: 17px; font-weight: 700; padding-top: 2px; padding-bottom: 2px; }
.verse-pop .vp-dict .vp-word:active { transform: scale(.94); }
