/* Lexikon-Vorschau an Begriffs-Links (13.11.2026). Glas wie die Lexikon-Kacheln, eckig wie alles bei AK86. */
/* Lexikon-Links sichtbar anders als normale Links (13.11.2026: auf Leistungsseiten überschrieb das Seiten-CSS die Punkte):
   gepunktet in Türkis, kleines Buch-Zeichen „Lexikon“ dahinter. !important, weil die Bausteine eigene Link-Stile setzen. */
main a[data-lx-t] { text-decoration: underline dotted 2px !important; text-decoration-color: var(--acc, var(--sec)) !important; text-underline-offset: .22em !important; border-bottom: 0 !important; box-shadow: none !important; background-image: none !important; cursor: help; transition: color .2s, text-decoration-color .2s; }
main a[data-lx-t]::after { content: ''; display: inline-block; width: .5em; height: .5em; margin-left: .18em; vertical-align: .45em; background: var(--acc, var(--sec)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 1h3.2c.5 0 .8.3.8.8V9c0-.4-.3-.7-.8-.7H1V1Zm8 0H5.8c-.5 0-.8.3-.8.8V9c0-.4.3-.7.8-.7H9V1Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 1h3.2c.5 0 .8.3.8.8V9c0-.4-.3-.7-.8-.7H1V1Zm8 0H5.8c-.5 0-.8.3-.8.8V9c0-.4.3-.7.8-.7H9V1Z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .85; }
main a[data-lx-t]:hover, main a[data-lx-t]:focus-visible { color: var(--acc, var(--sec)) !important; }
@media (hover: none) { a[data-lx-t] { cursor: pointer; } }

.lx-pop { position: fixed; z-index: 9990; width: min(340px, calc(100vw - 24px)); padding: 16px 18px 15px; color: var(--textcolor); background: rgba(var(--bgcolor-rgb), .82); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(var(--gridcolor-rgb), .28); box-shadow: 0 18px 44px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1); pointer-events: auto; }
.lx-pop.oben { transform: translateY(-6px); }
.lx-pop.an { opacity: 1; transform: none; }
.lx-pop[hidden] { display: none; }
.lx-pop::before { content: ''; position: absolute; left: 0; top: 0; width: 34px; height: 3px; background: var(--acc, var(--sec)); }
.lx-pop-k { display: block; margin-bottom: 6px; font: 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc, var(--sec)); }
.lx-pop-t { display: block; font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.lx-pop-d { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: rgba(var(--gridcolor-rgb), .88); }
.lx-pop-a { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--acc, var(--sec)); }
.lx-pop-a:hover { color: var(--textcolor); }
html.lightmode .lx-pop { background: rgba(var(--bgcolor-rgb), .86); box-shadow: 0 14px 34px rgba(0, 0, 0, .14); }
@media (prefers-reduced-motion: reduce) { .lx-pop { transition: none; transform: none; } }
