/* AVENUE V – Live-Streams (Rick 23.11.2026) · baut auf /wiki/a/wiki.css auf (Kopf, Fuß, Farben, Schalter), hier nur das Eigene */

.w-menue a.an { color: var(--text); border-color: var(--pink); }

/* ---------- Kopfbereich ---------- */
.st-held { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; padding: 18px 0 26px; }
.st-held h1 { font-size: clamp(44px, 6.4vw, 96px); }
.st-held-rechts { min-width: 0; }
.st-held-rechts .w-zahlen { justify-content: flex-end; }
.st-held-rechts .w-zahl b { font-size: 36px; }
.st-pionier { position: relative; overflow: hidden; max-width: 440px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(228,92,174,.16), rgba(255,138,92,.10)); border: 1px solid rgba(228,92,174,.32); }
.st-pionier::after { content: ''; position: absolute; right: -50px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--orange); opacity: .16; filter: blur(40px); pointer-events: none; }
.st-pionier small { display: block; font: 700 11px var(--txt); letter-spacing: .22em; text-transform: uppercase; color: #ffb0d8; }
:root[data-theme="hell"] .st-pionier small { color: #b03a80; }
.st-pionier b { display: block; margin: 6px 0 6px; font: 800 22px/1.15 var(--kopf); }
.st-pionier p { margin: 0 0 14px; color: var(--grau); font-size: 14.5px; }
.st-pionier .w-knopf { position: relative; z-index: 1; }

/* ---------- Leiste ---------- */
.st-leiste { gap: 10px; }
.st-leiste .w-feld { max-width: 380px; }
.st-leiste .w-feld kbd { padding: 0 6px; border-radius: 5px; background: var(--glas2); color: var(--dim); font-size: 11px; }
.w-schalter { flex-wrap: wrap; }
.w-schalter button { white-space: nowrap; }
.st-ansicht button { display: inline-flex; align-items: center; justify-content: center; width: 40px; padding: 0; }
.st-ansicht svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.st-ansicht svg circle { fill: currentColor; stroke: none; }
.st-auto { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px; margin-left: auto; border-radius: 11px; background: var(--glas2); border: 1px solid var(--linie2); cursor: pointer;
  font: 700 12.5px var(--txt); text-transform: uppercase; letter-spacing: .04em; color: var(--grau); white-space: nowrap; }
.st-auto i { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.st-auto[aria-pressed="true"] { color: var(--text); border-color: rgba(123,216,74,.45); }
.st-auto[aria-pressed="true"] i { background: var(--gruen); box-shadow: 0 0 0 0 rgba(123,216,74,.6); animation: puls 2s ease-out infinite; }
.st-auto small { font: 600 12px var(--txt); text-transform: none; letter-spacing: 0; color: var(--dim); }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(123,216,74,.55); } 70% { box-shadow: 0 0 0 8px rgba(123,216,74,0); } 100% { box-shadow: 0 0 0 0 rgba(123,216,74,0); } }

/* ---------- Raster + Seitenleiste ---------- */
.st-raster-seite { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.st-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.st-kachel { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 16px; background: var(--glas); border: 1px solid var(--linie); overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.st-kachel:hover, .st-kachel:focus-within { transform: translateY(-3px); border-color: rgba(228,92,174,.45); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.st-ueber { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.st-ueber:focus-visible { outline-offset: -2px; }
.st-vorschau { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel2); }
.st-vorschau img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.st-kachel:hover .st-vorschau img { transform: scale(1.03); }
.st-platz { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px 14px 40px; text-align: center;
  background: radial-gradient(120% 90% at 20% 0%, hsla(var(--h, 320), 70%, 58%, .55), transparent 60%), radial-gradient(110% 90% at 100% 100%, rgba(255,138,92,.42), transparent 60%), #17131f; }
.st-platz strong { font: 900 clamp(40px, 5vw, 64px)/1 var(--kopf); letter-spacing: -.03em; color: rgba(255,255,255,.92); text-shadow: 0 6px 26px rgba(0,0,0,.35); }
.st-platz button { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; max-width: 250px; padding: 4px 8px; border-radius: 8px; border: 0;
  background: none; color: rgba(255,255,255,.78); font: 600 12px/1.35 var(--txt); text-align: left; cursor: pointer; }
.st-platz button:hover { color: #fff; background: rgba(10,9,14,.45); }
.st-platz button span { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.st-platz button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.st-oben { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; display: flex; gap: 6px; align-items: center; pointer-events: none; }
.st-unten { position: absolute; bottom: 10px; left: 10px; right: 10px; z-index: 2; display: flex; gap: 6px; align-items: center; justify-content: space-between; pointer-events: none; }
.st-pille { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 7px; font: 800 11px var(--txt); letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(10,9,14,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.st-pille svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.st-pille.live { background: var(--verlauf); }
.st-pille.live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.st-pille.neu { background: #fff; color: #b03a80; }
.st-pille.zahl { letter-spacing: .02em; text-transform: none; font-variant-numeric: tabular-nums; }
.st-spielen { position: absolute; right: 10px; top: 10px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(10,9,14,.6); color: #fff; cursor: pointer; opacity: 0; transition: opacity .15s; }
.st-spielen svg { width: 15px; height: 15px; fill: currentColor; }
.st-kachel:hover .st-spielen, .st-spielen:focus-visible { opacity: 1; }
@media (hover: none) { .st-spielen { opacity: 1; } }
.st-info { display: flex; gap: 12px; padding: 14px 14px 16px; min-width: 0; }
.st-av { position: relative; flex: none; width: 42px; height: 42px; }
.st-av img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--panel2); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(228,92,174,.7); }
.st-text { flex: 1; min-width: 0; }
.st-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.st-name b { font: 700 15.5px/1.25 var(--kopf); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-titel { margin: 3px 0 0; color: var(--grau); font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.st-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.st-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--glas2); color: var(--grau); font: 600 11.5px var(--txt); white-space: nowrap; }
.st-tag.spiel { color: var(--text); }
.st-stufe { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font: 800 10px var(--txt); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.st-stufe.s0 { background: rgba(245,192,74,.16); color: var(--gold); }
.st-stufe.s1 { background: rgba(228,92,174,.15); color: #ffb0d8; }
.st-stufe.s2 { background: var(--glas2); color: var(--grau); }
:root[data-theme="hell"] .st-stufe.s1 { color: #b03a80; }
:root[data-theme="hell"] .st-stufe.s0 { color: #a8780a; }

/* Liste */
.st-liste { display: flex; flex-direction: column; gap: 10px; }
.st-liste .st-kachel { flex-direction: row; align-items: stretch; }
.st-liste .st-kachel:hover { transform: none; }
.st-liste .st-vorschau { flex: none; width: 220px; }
.st-liste .st-platz strong { font-size: 34px; }
.st-liste .st-platz button span { display: none; }
.st-liste .st-info { flex: 1; align-items: center; padding: 12px 16px; }
.st-liste .st-titel { -webkit-line-clamp: 1; line-clamp: 1; }
.st-liste .st-rechts { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--grau); font-size: 13px; text-align: right; }
.st-liste .st-rechts b { color: var(--text); font: 700 15px var(--kopf); font-variant-numeric: tabular-nums; }
.st-kacheln .st-rechts { display: none; }

/* Leer / Pionier */
.st-leer { position: relative; overflow: hidden; padding: 44px 36px; border-radius: 22px; background: var(--glas); border: 1px solid var(--linie); }
.st-leer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 300px at 0% 0%, rgba(228,92,174,.20), transparent 70%), radial-gradient(520px 320px at 100% 100%, rgba(255,138,92,.14), transparent 70%); }
.st-leer > * { position: relative; }
.st-leer .eyebrow { color: #ffb0d8; }
:root[data-theme="hell"] .st-leer .eyebrow { color: #b03a80; }
.st-leer h2 { margin: 10px 0 10px; font: 800 clamp(28px, 3.4vw, 44px)/1.05 var(--kopf); text-transform: uppercase; letter-spacing: -.015em; }
.st-leer h2 span { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-leer > p { max-width: 620px; margin: 0; color: var(--grau); font-size: 16px; }
.st-schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 24px; padding: 0; list-style: none; counter-reset: s; }
.st-schritte li { counter-increment: s; padding: 16px 16px 16px 58px; position: relative; border-radius: 14px; background: var(--glas2); border: 1px solid var(--linie); color: var(--grau); font-size: 14px; }
.st-schritte li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--verlauf); color: #fff; font: 800 14px var(--kopf); }
.st-schritte b { display: block; color: var(--text); font: 700 15px var(--kopf); margin-bottom: 2px; }
.st-schritte code { color: var(--pink); background: rgba(228,92,174,.1); padding: 1px 6px; border-radius: 5px; }
.st-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st-knoepfe .w-knopf { height: 42px; padding: 0 18px; }
.st-connect { color: var(--grau); font-size: 14px; }
.st-connect code { color: var(--text); background: var(--glas2); padding: 3px 8px; border-radius: 6px; }
.st-keine { padding: 34px 20px; text-align: center; color: var(--grau); border: 1px dashed var(--linie2); border-radius: 16px; }
.st-keine b { display: block; color: var(--text); font: 700 17px var(--kopf); margin-bottom: 4px; }
.st-hinweis-klein { margin: 14px 0 0; color: var(--dim); font-size: 13px; }

/* Seitenleiste */
.st-seite { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 14px; }
.st-box { padding: 16px; border-radius: 16px; background: var(--glas); border: 1px solid var(--linie); }
.st-box h4 { margin: 0 0 12px; font: 700 11.5px var(--txt); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.st-feld-klein { max-width: none; height: 40px; }
.st-treffer:empty { display: none; }
.st-treffer { margin-top: 10px; }
.st-offline, .st-treffer { display: flex; flex-direction: column; gap: 2px; }
.st-person { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; }
.st-person:hover { background: var(--glas2); }
.st-person img { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--panel2); }
.st-person.aus img { filter: grayscale(.85); opacity: .75; }
.st-person span { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-person em { flex: none; font-style: normal; font: 700 10.5px var(--txt); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.st-person em.an { color: var(--gruen); }
.st-person .st-stufe { flex: none; height: 18px; font-size: 9.5px; overflow: visible; }
.st-leer-klein { color: var(--dim); font-size: 13.5px; }
.st-regeln ol { margin: 0; padding-left: 18px; color: var(--grau); font-size: 13.5px; }
.st-regeln li { margin-bottom: 8px; }
.st-regeln li b { color: var(--text); }
.st-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; font-size: 14px; color: var(--text); }
.st-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.st-link:hover { color: var(--pink); }
.st-mehr { display: block; margin-top: 8px; padding: 6px 0 0; color: var(--grau); font-size: 13px; background: none; border: 0; cursor: pointer; }
.st-mehr:hover { color: var(--text); }

/* lokale Vorschau (werkzeuge/streams/vorschau-server.js) */
body[data-vorschau]::after { content: 'LOKALE VORSCHAU · Testdaten'; }

/* Player-Fenster */
.st-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(5,4,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.st-modal[hidden] { display: none; }
.st-modal-box { width: min(1100px, 100%); border-radius: 18px; background: var(--panel); border: 1px solid var(--linie2); box-shadow: var(--schatten); overflow: hidden; }
.st-modal-kopf { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--linie); }
.st-modal-kopf b { flex: 1; min-width: 0; font: 700 16px var(--kopf); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-modal-player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.st-modal-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.st-modal-player .av-ext-platz { position: absolute; inset: 0; max-width: none !important; min-height: 0 !important; height: 100%; border-radius: 0; }
.st-modal-hinweis { margin: 0; padding: 10px 16px 14px; color: var(--dim); font-size: 12.5px; }
.st-modal-hinweis a { text-decoration: underline; }

.st-veraltet { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: rgba(245,192,74,.1); border: 1px solid rgba(245,192,74,.3); color: var(--gold); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) { .st-auto[aria-pressed="true"] i { animation: none; } .st-kachel, .st-vorschau img { transition: none; } }

/* ---------- Schmal / Handy ---------- */
@media (max-width: 1100px) {
  .st-raster-seite { grid-template-columns: minmax(0, 1fr); }
  .st-seite { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 900px) {
  .st-held { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .st-held-rechts .w-zahlen { justify-content: flex-start; }
  .st-pionier { max-width: none; }
  .st-schritte { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .st-held { padding-top: 4px; }
  .st-held h1 { font-size: 46px; }
  .st-leiste .w-feld { flex-basis: 100%; max-width: none; }
  .st-leiste .w-feld kbd { display: none; }
  .st-auto { margin-left: 0; }
  .st-auto span { display: none; }
  .w-schalter button { padding: 0 10px; font-size: 11.5px; }
  .st-leiste { position: static; }
  .st-liste .st-kachel { flex-direction: column; }
  .st-liste .st-vorschau { width: 100%; }
  .st-liste .st-rechts { display: none; }
  .st-leer { padding: 30px 20px; }
  .st-seite { grid-template-columns: minmax(0, 1fr); }
  .st-modal { padding: 0; }
  .st-modal-box { border-radius: 0; }
}
