:root:root body .verse-card .inline-word{display:inline;position:relative;border:0;border-radius:6px;background:transparent;cursor:pointer;transition:color .15s,text-shadow .15s;outline-offset:4px}
:root:root body .verse-card .inline-word:hover,:root:root body .verse-card .inline-word:focus{color:#f8941c;text-shadow:none;outline:none;background:transparent;border:0}
:root:root body .verse-card .inline-word.selected{color:#ffd5a0;text-decoration:none;text-shadow:0 0 9px #f8941c25}
:root:root body .verse-card .inline-word:focus-visible{color:#f8941c;text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:1px}
:root:root body .word-preview{position:fixed;z-index:150;display:grid;gap:7px;width:max-content;max-width:min(300px,calc(100vw - 20px));padding:16px 20px;border:.5px solid #f8941c;border-radius:14px;background:linear-gradient(140deg,#303030,#202020);box-shadow:0 12px 36px #0008;text-align:center;pointer-events:none;color:#ddd;overflow-wrap:anywhere}
:root:root body .word-preview[hidden]{display:none}
.preview-surface{font:38px/1.6 MushafFont,Georgia,serif;color:#f8941c}
.preview-latin{font:14px/1.5 'Segoe UI',sans-serif;color:#bbb}
.preview-gloss{font:15px/1.6 'Segoe UI',sans-serif;color:#eee}
.word-preview .preview-order{position:absolute;top:6px;left:8px;text-align:left;font:11px/1.4 'Segoe UI',sans-serif;color:#aaa;direction:ltr}
@media(prefers-reduced-motion:no-preference){.word-preview:not([hidden]){animation:word-open .15s ease-out}@keyframes word-open{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}}
