/* Reaction-Links – Zuschauer-Seite
   Gestaltung und Umsetzung: NYXUS Development */
body { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); background: rgba(13,14,16,.92); position: sticky; top: 0; z-index: 10; }
.kopf-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marke { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mono {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: var(--flaeche-2); border: 1px solid var(--linie-2); color: var(--akzent-hell); font-weight: 600; font-size: 15px;
}
.marke-text { display: grid; line-height: 1.25; min-width: 0; }
.marke-text b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marke-text span { font-size: 12.5px; color: var(--text-3); }

/* Raster */
.raster { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 28px; flex: 1; align-items: start; }
.spalte { display: grid; gap: 20px; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 20px; box-shadow: var(--schatten); }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.karte h1 { font-size: 19px; }
.karte h2 { font-size: 14.5px; }
.spalte .karte-kopf { margin-bottom: 14px; }
.unter { margin: 2px 0 18px; color: var(--text-2); font-size: 13.5px; }

/* Annahme-Status */
.annahme { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--text-2); }
.annahme::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.annahme.offen::before { background: var(--gut); box-shadow: 0 0 0 3px rgba(47,191,113,.15); }
.annahme.zu::before { background: var(--rot); }

.geschlossen { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 16px; border-radius: var(--r); background: var(--flaeche-2); border: 1px solid var(--linie-2); color: var(--text-2); font-size: 13.5px; }
.geschlossen .ico { margin-top: 2px; color: var(--text-3); }

/* Formular */
form { display: grid; gap: 14px; }
form.aus { opacity: .5; pointer-events: none; }
.eingabe-mit { position: relative; display: flex; align-items: center; }
.eingabe-mit > .ico { position: absolute; left: 13px; color: var(--text-3); pointer-events: none; }
.eingabe-mit input { height: 46px; padding-left: 40px; padding-right: 44px; font-size: 14.5px; }
.eingabe-mit .mini { position: absolute; right: 8px; }
.zaehler { position: absolute; right: 0; top: 0; font-size: 11.5px; color: var(--text-3); }
.honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Erkannter Link */
.erkannt { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--flaeche-2); border: 1px solid var(--linie); min-height: 64px; }
.erkannt .daumen { width: 76px; height: 44px; }
.erkannt .daumen.hoch { width: 34px; height: 44px; }
.erkannt-text { display: grid; gap: 4px; min-width: 0; }
.erkannt-titel { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.erkannt-zeile { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; color: var(--text-3); }
.erkannt-zeile > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.erkannt.warn { border-color: #4d3a1d; }
.erkannt.warn .erkannt-titel { color: var(--warn); }
.erkannt.laedt .erkannt-titel { color: var(--text-3); }
.erkannt.fehler { border-color: #4a2427; min-height: 0; }
.erkannt.fehler .erkannt-titel { color: #ff8a8a; white-space: normal; }
.erkannt .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--linie-2); border-top-color: var(--akzent-hell); animation: drehen .7s linear infinite; flex: none; margin: 0 6px; }
@keyframes drehen { to { transform: rotate(360deg); } }

.meldung { padding: 11px 13px; border-radius: var(--r); font-size: 13.5px; display: flex; gap: 10px; align-items: flex-start; }
.meldung .ico { margin-top: 2px; }
.meldung.gut { background: rgba(47,191,113,.08); border: 1px solid rgba(47,191,113,.28); color: #9fe6bf; }
.meldung.schlecht { background: rgba(239,75,75,.07); border: 1px solid rgba(239,75,75,.3); color: #ffb0b0; }

.block { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--linie); display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.regeln { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.regeln li { position: relative; padding-left: 16px; color: var(--text-2); font-size: 13px; }
.regeln li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--linie-2); }

/* Jetzt im Stream */
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #ff8080; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--rot); animation: puls 1.6s ease-in-out infinite; }
@keyframes puls { 50% { opacity: .35; } }
.jetzt-bild { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--flaeche-2); border: 1px solid var(--linie); display: grid; place-items: center; color: var(--pf, var(--text-3)); }
.jetzt-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jetzt-bild .ico { width: 28px; height: 28px; }
.jetzt-titel { margin: 12px 0 6px; font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jetzt-zeile { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); min-width: 0; }
.jetzt-zeile b { color: var(--text-2); font-weight: 500; }
.jetzt-leer { display: grid; place-items: center; gap: 8px; text-align: center; padding: 26px 12px; border: 1px dashed var(--linie-2); border-radius: var(--r); color: var(--text-3); font-size: 13px; }
.jetzt-leer .ico { width: 22px; height: 22px; }
.reihe-info { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linie); color: var(--text-2); font-size: 13px; }
.reihe-info .ico { color: var(--text-3); }

/* Listen */
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.liste li { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: var(--r); min-width: 0; }
.liste li:hover { background: var(--flaeche-2); }
.liste .daumen { width: 64px; height: 36px; }
.liste-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.liste-titel { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.liste-zeile { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marke-status { flex: none; font-size: 11.5px; font-weight: 500; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--linie-2); color: var(--text-2); white-space: nowrap; }
.marke-status.wartet { color: var(--akzent-hell); border-color: rgba(145,70,255,.35); background: var(--akzent-flaeche); }
.marke-status.laeuft { color: #ff9090; border-color: rgba(239,75,75,.35); background: rgba(239,75,75,.08); }
.marke-status.gesehen { color: #8fe0b4; border-color: rgba(47,191,113,.3); background: rgba(47,191,113,.07); }
.liste .mini { flex: none; }

.fuss { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--linie); color: var(--text-3); font-size: 12.5px; }

@media (max-width: 860px) {
  .raster { grid-template-columns: 1fr; padding-top: 18px; gap: 16px; }
  .spalte { gap: 16px; }
}
@media (max-width: 520px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .karte { padding: 16px; }
  .kopf-in { height: 58px; }
  #twitchLink span { display: none; }
  #twitchLink { width: 36px; padding: 0; }
  .fuss { flex-direction: column; gap: 4px; }
}
