/* A body-level word guide survives clipped cards, tables and heading ruby rules. */
.annotation-help { position: fixed; z-index: 1000; pointer-events: none; width: max-content; max-width: min(22rem, calc(100vw - 24px)); box-sizing: border-box; padding: .65rem .85rem; border: 1px solid #64748b; border-radius: .6rem; background: var(--reading-surface, #01040e); color: #f1f5f9; font-size: 1rem; line-height: 1.5; text-align: center; overflow-wrap: anywhere; box-shadow: 0 4px 18px #0008; }
.annotation-help[hidden] { display: none; }
.annotation-help { max-height: calc(100dvh - 24px); overflow-y: auto; pointer-events: auto; }
.lx-w.has-popover rt, .lx-w.has-popover .lx-w-en { visibility: hidden !important; }
.lx-w.has-popover .lx-w-en { display: none !important; }
html[data-theme="light"] .annotation-help { background: #fff; color: #172033; border-color: #64748b; }
/* word-tap.js: an English (or PDF Chinese) word's meaning, in the same card as the HSK reveal. */
.word-tap-help { text-align: start; }
.word-tap-help .word-tap-word { font-weight: 700; }
.word-tap-help .word-tap-ipa { font-size: .92em; }
.word-tap-help .word-tap-gloss { font-size: 1.05em; margin-top: .15rem; }
::highlight(word-tap) { background-color: rgba(56, 189, 248, .38); }
html[data-theme="light"] ::highlight(word-tap) { background-color: rgba(2, 132, 199, .22); }
.locale-pair-label .word-tap-hint { font-weight: 500; }
.locale-pair-label .word-tap-hint::before { content: " · "; }
