/* Glossar (G2-Test, Christian 05.12.2026): nur Farbvariablen des Themes astra-child-shs, Dunkelmodus über data-theme="dark"
 * (die Variablen schalten dort selbst um). Kein Text per CSS, keine festen Farben. */
button.shdb-gl {
  all: unset;
  display: inline;
  font: inherit;
  color: inherit;
  cursor: help;
  text-decoration: underline dotted var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  -webkit-tap-highlight-color: transparent;
}
button.shdb-gl:hover, button.shdb-gl[aria-expanded="true"] { text-decoration-style: solid; }
button.shdb-gl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.shdb-gl-pop {
  position: absolute;
  z-index: 99990;
  box-sizing: border-box;
  max-width: min(320px, calc(100vw - 24px));
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 8px);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.shdb-gl-pop[hidden] { display: none; }
.shdb-gl-pop p { margin: 0; }
.shdb-gl-pop .shdb-gl-titel { font-weight: 700; color: var(--heading, var(--ink)); margin-bottom: 4px; }
.shdb-gl-pop .shdb-gl-mehr { margin-top: 8px; color: var(--muted); }
