/* CANDLEOATH — glossary terms (assets/js/glossary.js): a dotted underline on the word, a one-sentence tooltip on the night desk
   (ink glass, paper text, a neon label). The hit area of a term is grown to ~44 px for fingers without moving the text. */
.gl { position: relative; cursor: help; text-decoration: underline dotted; text-decoration-color: currentColor; text-decoration-thickness: 1.5px; text-underline-offset: .22em; text-decoration-skip-ink: none; border-radius: 1px; -webkit-tap-highlight-color: transparent; }
.gl::after { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
.gl:hover, .gl[aria-expanded="true"] { text-decoration-style: solid; text-decoration-color: #D97757; text-decoration-thickness: 2px; text-underline-offset: .24em; }
.gl:focus-visible { outline: 2px solid #D97757; outline-offset: 2px; }
.gl-tip { position: absolute; z-index: 400; max-width: 300px; padding: 11px 13px 12px; border-radius: 12px; background: #14110F; color: rgba(244, 243, 238, .86); border: 1px solid rgba(244, 243, 238, .14); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .85), 0 0 0 1px rgba(217, 119, 87, .06); font: 400 13px/1.5 'Geist', ui-sans-serif, system-ui, sans-serif; letter-spacing: -.003em; pointer-events: auto; animation: gl-in .16s ease-out; }
.gl-tip b { display: block; margin-bottom: 4px; font: 500 10.5px/1.3 'Geist Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #D97757; }
.gl-tip::after { content: ''; position: absolute; left: var(--ax, 50%); bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: #14110F; border-right: 1px solid rgba(244, 243, 238, .14); border-bottom: 1px solid rgba(244, 243, 238, .14); transform: rotate(45deg); }
.gl-tip.is-below::after { bottom: auto; top: -6px; transform: rotate(225deg); }
.gl-tip[hidden] { display: none; }
@keyframes gl-in { from { opacity: 0; transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .gl-tip { animation: none; } }
.gl--in { cursor: inherit; }
.gl--in::after { content: none; }
