/* QUORSCAN — glossary terms (assets/js/glossary.js): a dotted underline on the word and a one-sentence tooltip on a dark
   panel (their modal look: navy panel, teal hairline, mono label). The hit area of a term is grown to ~44 px for fingers
   without moving the text. Colours come from the base.css tokens. */
.gl { position: relative; cursor: help; text-decoration: underline dotted; text-decoration-color: rgba(181, 255, 229, .55); 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"] { color: var(--mint); text-decoration-style: solid; text-decoration-color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: .24em; }
.gl:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.gl-tip { position: absolute; z-index: 400; max-width: 300px; padding: 12px 14px 13px; border-radius: 9px; background: linear-gradient(160deg, #111d2c, #0b1522 85%); color: #c4d3e2; border: 1px solid #4c6477; box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 30px rgba(106, 240, 213, .06); font: 400 12.5px/1.6 var(--display); letter-spacing: -.003em; pointer-events: auto; animation: gl-in .16s ease-out; }
.gl-tip b { display: block; margin-bottom: 5px; font: 500 9.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mint2); }
.gl-tip::after { content: ''; position: absolute; left: var(--ax, 50%); bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: #0c1623; border-right: 1px solid #4c6477; border-bottom: 1px solid #4c6477; transform: rotate(45deg); }
.gl-tip.is-below::after { bottom: auto; top: -6px; transform: rotate(225deg); background: #101b2a; }
.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; }
