/* Stil-Umschalter — weltneutral gehalten, damit er in allen vier Welten
   funktioniert und nirgends wie ein Fremdkörper der jeweiligen Welt wirkt. */

.wos-welten-knopf {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 9990;
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 1.15rem; cursor: pointer;
  background: #10182f; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px; box-shadow: 0 14px 34px rgba(5, 10, 25, 0.4);
  font: 600 0.84rem/1 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wos-welten-knopf:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(5, 10, 25, 0.5); }
.wos-welten-knopf:focus-visible { outline: 2px solid #f5b638; outline-offset: 3px; }
.wos-welten-punkte { display: inline-flex; gap: 3px; }
.wos-welten-punkte i { width: 9px; height: 9px; border-radius: 50%; display: block; }

.wos-welten-panel {
  position: fixed; right: 1.4rem; bottom: 5rem; z-index: 9991; width: min(330px, calc(100vw - 2.8rem));
  background: #10182f; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px; box-shadow: 0 26px 70px rgba(5, 10, 25, 0.55);
  padding: 1.1rem; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.wos-welten-panel[hidden] { display: none; }
.wos-welten-titel { margin: 0 0 0.25rem; font-size: 0.95rem; font-weight: 700; color: #fff; }
.wos-welten-sub { margin: 0 0 0.9rem; font-size: 0.82rem; line-height: 1.45; color: rgba(255, 255, 255, 0.62); }

.wos-welten-liste { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.wos-welt-karte {
  display: flex; align-items: center; gap: 0.8rem; width: 100%; text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px; padding: 0.7rem 0.8rem; color: #fff; font: inherit;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.wos-welt-karte:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.32); }
.wos-welt-karte[aria-pressed="true"] { border-color: #f5b638; background: rgba(245, 182, 56, 0.14); }
.wos-welt-karte:focus-visible { outline: 2px solid #f5b638; outline-offset: 2px; }
.wos-welt-proben { display: inline-flex; flex: none; border-radius: 5px; overflow: hidden; border: 1px solid rgba(0,0,0,0.35); }
.wos-welt-proben i { width: 13px; height: 26px; display: block; }
.wos-welt-text { display: flex; flex-direction: column; gap: 0.1rem; }
.wos-welt-name { font-size: 0.9rem; font-weight: 700; }
.wos-welt-satz { font-size: 0.76rem; color: rgba(255, 255, 255, 0.6); line-height: 1.35; }

/* Übergang beim Wechsel: ein Wisch, der die Ladezeit des Stylesheets deckt */
.wos-welten-wisch {
  position: fixed; inset: 0; z-index: 9985; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(8,12,26,0) 0%, rgba(8,12,26,0.96) 42%, rgba(8,12,26,0.96) 58%, rgba(8,12,26,0) 100%);
  transform: translateY(-100%);
}
.wos-welten-wisch.laeuft { animation: wos-welten-wisch 0.85s cubic-bezier(0.5, 0, 0.3, 1) both; }
@keyframes wos-welten-wisch {
  0% { transform: translateY(-100%); opacity: 1; }
  100% { transform: translateY(100%); opacity: 1; }
}

/* Die Karten in der Startseiten-Sektion */
.wos-stile-reihe .wos-welt-karte {
  background: rgba(127, 127, 127, 0.08); border-color: rgba(127, 127, 127, 0.3);
  color: inherit; padding: 1rem;
}
.wos-stile-reihe .wos-welt-karte .wos-welt-satz { color: inherit; opacity: 0.72; }
.wos-stile-reihe .wos-welt-karte[aria-pressed="true"] { border-color: currentColor; }

@media (max-width: 720px) {
  /* Auf dem Handy nur die Farbproben — der Knopf schwebt ueber dem Inhalt und
     wuerde mit Beschriftung einen CTA verdecken (befunden 2026-08-13). */
  .wos-welten-knopf { right: 0.8rem; bottom: 0.8rem; padding: 0.6rem; border-radius: 999px; }
  .wos-welten-knopf > span:last-child { display: none; }
  .wos-welten-panel { right: 0.8rem; left: 0.8rem; bottom: 4.2rem; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .wos-welten-knopf { transition: none; }
  .wos-welten-wisch.laeuft { animation: none; }
}
