/* Reaction-Links – gemeinsame Grundlage für Zuschauer-Seite und Regie
   Gestaltung und Umsetzung: NYXUS Development */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/inter-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/inter-latin-ext-600.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0d0e10;
  --flaeche: #15161a;
  --flaeche-2: #1b1c21;
  --flaeche-3: #222329;
  --linie: #25262c;
  --linie-2: #2f3037;
  --text: #ececf1;
  --text-2: #a3a3ad;
  --text-3: #6f6f7a;
  --akzent: #9146ff;
  --akzent-hell: #b28bff;
  --akzent-flaeche: rgba(145, 70, 255, .12);
  --gut: #2fbf71;
  --warn: #e5a23a;
  --rot: #ef4b4b;
  --r: 8px;
  --r-gross: 12px;
  --schatten: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }

.ico { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.voll { fill: currentColor; stroke: none; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: var(--r);
  border: 1px solid var(--linie-2); background: var(--flaeche-2); color: var(--text);
  font-weight: 500; font-size: 13.5px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, opacity .15s;
}
.knopf:hover { background: var(--flaeche-3); border-color: #3a3b43; }
.knopf:focus-visible, .mini:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopf-haupt { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.knopf-haupt:hover { background: #8237f0; border-color: #8237f0; }
.knopf-rand { background: transparent; }
.knopf-gefahr:hover { color: #fff; background: #3a1d20; border-color: #5c2a2f; }
.knopf.breit { width: 100%; height: 42px; font-size: 14px; }
.knopf .ico { width: 16px; height: 16px; }
.mini {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px;
  border: 1px solid transparent; background: transparent; color: var(--text-2); cursor: pointer;
}
.mini:hover { background: var(--flaeche-3); color: var(--text); }
.mini .ico { width: 16px; height: 16px; }

/* Felder */
.feld { display: grid; gap: 6px; position: relative; }
.feld > span { font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.feld > span em { font-style: normal; color: var(--text-3); font-weight: 400; margin-left: 4px; }
input[type=text], input[type=url], input[type=password], input[type=number], input:not([type]), textarea, select {
  width: 100%; height: 40px; padding: 0 12px; border-radius: var(--r);
  border: 1px solid var(--linie-2); background: var(--bg); color: var(--text);
  transition: border-color .15s, background .15s;
}
textarea { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:hover, textarea:hover { border-color: #3a3b43; }
input:focus, textarea:focus, select:focus { border-color: var(--akzent); outline: none; }
.fehlerhaft input, input.fehlerhaft { border-color: var(--rot) !important; }

/* Schalter */
.schalter { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.schalter .bahn { width: 34px; height: 20px; border-radius: 20px; background: var(--linie-2); position: relative; transition: background .15s; flex: none; }
.schalter .bahn::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #d4d4da; transition: transform .15s, background .15s; }
.schalter input:checked + .bahn { background: var(--akzent); }
.schalter input:checked + .bahn::after { transform: translateX(14px); background: #fff; }
.schalter input:focus-visible + .bahn { outline: 2px solid var(--akzent); outline-offset: 2px; }

/* Plattform-Kennzeichen */
.plat { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px 0 6px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--text-2); background: var(--flaeche-3); border: 1px solid var(--linie); white-space: nowrap; }
.plat .ico { width: 13px; height: 13px; color: var(--pf, var(--text-2)); }
.pf-youtube, .pf-shorts { --pf: #ff3341; }
.pf-tiktok { --pf: #ff3b6b; }
.pf-twitch { --pf: #a970ff; }
.pf-instagram { --pf: #e4407a; }
.pf-x { --pf: #e7e9ea; }
.pf-reddit { --pf: #ff5a1f; }
.pf-spotify { --pf: #1ed760; }
.pf-soundcloud { --pf: #ff6a1a; }
.pf-streamable { --pf: #3aa0ff; }
.pf-bild { --pf: #c7c7d1; }
.pf-link { --pf: #9a9aa6; }

/* Vorschaubilder */
.daumen { position: relative; flex: none; overflow: hidden; border-radius: 6px; background: var(--flaeche-3); display: grid; place-items: center; color: var(--pf, var(--text-3)); }
.daumen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.daumen .ico { width: 18px; height: 18px; }

.klein { font-size: 12px; color: var(--text-3); font-weight: 500; }
.leer-text { color: var(--text-3); font-size: 13px; }

/* Hinweis unten */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--flaeche-3); border: 1px solid var(--linie-2); color: var(--text); padding: 10px 14px; border-radius: 10px;
  font-size: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.4); transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100vw - 32px);
}
.toast.zeigen { opacity: 1; transform: translate(-50%, 0); }
.toast.fehler { border-color: #5c2a2f; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
