.bible-word{cursor:pointer;box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:.14em;text-decoration-thickness:1px;text-underline-offset:.2em;transition:background-color .14s ease}.bible-word:hover{text-decoration:underline;text-decoration-color:var(--gold)}.bible-word.word-selected{background:var(--mark-gold);outline:1px solid var(--gold);outline-offset:2px}.word-study-trigger{display:block;font:11px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--muted);min-height:44px;padding:6px 9px;margin:1px 0 0 auto;border-radius:8px}.word-study-trigger:hover{background:var(--surface);color:var(--ink)}
#word-sheet{padding:0;margin:0;box-sizing:border-box;overflow:hidden;color:var(--ink);background:var(--paper);border:1px solid var(--line);box-shadow:0 14px 45px #0002;border-radius:20px;max-width:none;max-height:none}#word-sheet:not([open]){display:none}#word-sheet[open]{display:flex;flex-direction:column;animation:word-appear .2s cubic-bezier(.2,.7,.2,1)}.word-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:20px 22px 16px;border-bottom:1px solid var(--line)}.word-sheet-head h2{font:32px/1.15 Georgia,serif;overflow-wrap:anywhere;margin:5px 0 0}.word-sheet-head .eyebrow{font-size:9px}.word-sheet-head button{min-width:44px;min-height:44px}#word-sheet-body{overflow-y:auto;overscroll-behavior:contain;padding:0 22px 24px;font:15px/1.7 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}#word-sheet-body h3{font-size:13px;font-weight:650;margin:20px 0 8px}#word-sheet-body p{margin:10px 0}.word-reference{color:var(--gold);font-size:12px;letter-spacing:.03em}.word-context{font:17px/1.8 Georgia,serif;padding-bottom:17px;border-bottom:1px solid var(--line)}.word-context mark{color:var(--ink);background:var(--mark-gold);padding:1px 3px;border-radius:3px}.word-meaning{padding-bottom:12px}.word-muted,.word-unmapped{font-size:13px;color:var(--muted)}.word-credit{font-size:11px;color:var(--muted);line-height:1.65}.word-unmapped{border-left:2px solid var(--gold);padding-left:13px}.word-lexicon{padding:18px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--surface) 38%,var(--paper));margin:15px 0}.word-lexicon-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.word-language{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1.2px}.word-number{border:1px solid var(--line);padding:3px 8px;border-radius:20px;font-size:11px;color:var(--gold)}#word-sheet-body .word-lemma{font:33px/1.65 Georgia,'Times New Roman',serif;margin:18px 0 0;text-align:start;overflow-wrap:anywhere}#word-sheet-body .word-transliteration{font:italic 17px/1.5 Georgia,serif;margin:2px 0 8px;color:var(--muted)}.word-renderings{font-size:13px;margin-top:18px}.word-renderings summary{cursor:pointer;min-height:44px;padding:10px 0}.word-occurrence-button{width:100%;background:var(--ink);color:var(--paper);padding:12px;border-radius:9px;font-size:13px;margin-top:14px;min-height:44px}.word-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.word-action,.word-choice{border:1px solid var(--line);border-radius:9px;padding:10px 12px;background:var(--paper);font-size:13px;min-height:44px;line-height:1.5}.word-actions .word-action{flex:1 1 125px}.word-picker{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.word-choice{font:18px Georgia,serif;min-width:44px}.word-passage{display:block;padding:12px 10px;min-height:44px;border-bottom:1px solid var(--line);color:var(--accent);font-size:14px}.word-error{color:var(--red);font-size:13px}
@media(min-width:1200px){#word-sheet{position:sticky;top:16px;width:340px;flex:0 0 340px;height:auto;max-height:calc(100dvh - 120px);align-self:flex-start;inset-inline:auto}.word-study-open .reader-column{min-width:0}.word-study-open .card-stack{padding-inline:clamp(14px,2vw,30px)}}
@media(max-width:1199px){#word-sheet{position:fixed;inset:auto 0 0;width:100%;height:min(76dvh,760px);border-radius:22px 22px 0 0;border-bottom:0;box-shadow:0 -10px 50px #0003}#word-sheet-body{padding-bottom:calc(24px + env(safe-area-inset-bottom))}#word-sheet::backdrop{background:#10242066;backdrop-filter:blur(3px)}.word-sheet-head{padding-top:19px}.word-sheet-head::before{content:'';position:absolute;top:7px;left:calc(50% - 18px);width:36px;height:3px;background:var(--line);border-radius:8px}}
@keyframes word-appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){#word-sheet[open],.bible-word{animation:none;transition:none}}@media print{#word-sheet,.word-study-trigger{display:none!important}.bible-word{text-decoration:none!important;background:none!important;outline:none!important}}

.bible-word:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:.15em}
body.word-study-open{overflow-anchor:none}
#word-sheet-body{min-height:0}
