/* Spotify Party - gemeinsame Grundlage fuer Gastgeber, Gaeste und Fernseher. */

:root {
  --bg: #0d1117;
  --bg-2: #161b22;
  --bg-3: #1f2630;
  --line: #2a323d;
  --text: #e8edf2;
  --text-2: #93a1b0;
  --akzent: #1ed760;
  --akzent-dunkel: #169c46;
  --warn: #f0883e;
  --fehler: #f85149;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--akzent); }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 18px 64px;
}

h1 {
  font-size: 26px;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-2);
  margin: 28px 0 10px;
  font-weight: 600;
}

p { margin: 0 0 12px; line-height: 1.55; }
.leise { color: var(--text-2); font-size: 14px; }

.karte {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  background: var(--akzent);
  color: #07130b;
  cursor: pointer;
  text-decoration: none;
}
.knopf:hover { background: #25e56a; }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopf.leer {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.knopf.leer:hover { background: var(--bg-3); }
.knopf.klein { padding: 7px 14px; font-size: 13px; }

input[type="text"], input[type="search"], input[type="number"] {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* unter 16 zoomt iOS beim Fokus */
  padding: 12px 14px;
}
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 2px;
}

/* Trefferliste */
.liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.zeile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 11px;
}
.zeile img { width: 44px; height: 44px; border-radius: 5px; flex: none; background: var(--bg-3); object-fit: cover; }
.zeile .txt { min-width: 0; flex: 1; }
.zeile .titel { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zeile .sub { color: var(--text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hinweis {
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14.5px;
  margin: 0 0 14px;
  border: 1px solid;
}
.hinweis.ok { background: #0f2a18; border-color: #1c4a2c; color: #86efac; }
.hinweis.warn { background: #2b1d0e; border-color: #5a3c1b; color: #fbbf77; }
.hinweis.fehler { background: #2b1215; border-color: #5c2126; color: #ffa8a4; }

.reihe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.trenner { height: 1px; background: var(--line); margin: 20px 0; border: 0; }

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