/*
  Vorschauleiste, in allen drei Fassungen gleich (gebaut von vorschau.js).
  Eigene Schrift- und Farbwerte, damit sie in keiner Fassung zur Gestaltung
  gehört. Abstand nach unten über --vorschau-unten, falls eine Fassung unten
  eine eigene feste Leiste hat.
*/
.vl {
  position: fixed;
  left: 50%;
  bottom: calc(var(--vorschau-unten, 14px) + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  max-width: calc(100vw - 16px);
  padding: 4px;
  border-radius: 999px;
  background: rgb(2 9 20 / 0.92);
  border: 1px solid rgb(158 200 247 / 0.24);
  box-shadow: 0 10px 28px -8px rgb(2 9 20 / 0.45);
  color: #D9E0E9;
  font: 500 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0;
  transform: translateX(-50%);
  transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.vl--weg { transform: translate(-50%, calc(100% + 24px)); opacity: 0; pointer-events: none; }
.vl a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.14s, color 0.14s;
}
.vl a:hover { background: rgb(158 200 247 / 0.14); color: #fff; }
.vl a:focus-visible { outline: 2px solid #9EC8F7; outline-offset: 1px; }
.vl__alle { color: #9EC8F7 !important; padding: 0 12px !important; }
.vl svg { flex-shrink: 0; display: block; }
.vl__wort { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.vl__nr {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
}
.vl a[aria-current] { background: #9EC8F7; color: #031122; }
.vl a[aria-current] .vl__nr { opacity: 1; }
.vl-platz { height: 64px; }

@media (max-width: 599px) {
  .vl { font-size: 12.5px; }
  .vl a { padding: 0 10px; gap: 6px; min-height: 40px; }
  .vl__wort { display: none; }
  .vl__alle { padding: 0 11px !important; }
}
@media (max-width: 374px) {
  .vl a { padding: 0 8px; }
  .vl__name[data-kurz] { font-size: 0; }
  .vl__name[data-kurz]::after { content: attr(data-kurz); font-size: 12.5px; }
}
/* Handy quer und andere niedrige Fenster: kompakt in die rechte Ecke,
   nur die aktive Fassung mit Namen */
@media (max-height: 500px) and (orientation: landscape) {
  .vl { left: auto; right: calc(8px + env(safe-area-inset-right, 0px)); bottom: calc(8px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .vl--weg { transform: translateY(calc(100% + 16px)); }
  .vl a { min-height: 36px; padding: 0 9px; }
  .vl__wort, .vl a:not([aria-current]) .vl__name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vl { transition: none; }
}
@media print {
  .vl, .vl-platz { display: none !important; }
}
