:root {
  --bg: #0a0618;
  --bg2: #150a33;
  --card: #1c1046;
  --card2: #251259;
  --pink: #ff3fa4;
  --cyan: #22e0e0;
  --yellow: #ffd23f;
  --green: #2ee36a;
  --text: #f6f2ff;
  --muted: #b8aee0;
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, #40107a 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 0%, #7a1259 0%, transparent 55%),
    linear-gradient(160deg, var(--bg), var(--bg2));
  background-attachment: fixed;
  padding: 16px;
}

.wrap { max-width: 1180px; margin: 0 auto; }
.narrow { max-width: 640px; margin: 0 auto; }

header .titel {
  font-size: 1.6rem; font-weight: 800; letter-spacing: .5px;
  display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
}
header .titel span.emo { font-size: 1.8rem; }
.sub { color: var(--muted); margin: 0 0 18px; }

.card {
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  margin-bottom: 16px;
}

h2 { margin: 0 0 12px; font-size: 1.25rem; }
h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--cyan); }

label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .95rem; }

input[type=text], input[type=search] {
  width: 100%; padding: 14px 16px; font-size: 1.05rem;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.35); color: var(--text);
}
input[type=text]:focus, input[type=search]:focus {
  outline: 2px solid var(--pink); border-color: transparent;
}

button {
  font: inherit; font-weight: 700; cursor: pointer;
  border: none; border-radius: 14px; padding: 13px 20px;
  color: #fff; background: linear-gradient(135deg, var(--pink), #b32ecb);
  transition: transform .12s ease, filter .12s ease;
}
button:hover { transform: translateY(-1px); filter: brightness(1.1); }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.btn-yes { background: linear-gradient(135deg, var(--green), #1aa85a); }
.btn-no  { background: linear-gradient(135deg, #6b6f8f, #3b3e56); }
.btn-cyan{ background: linear-gradient(135deg, var(--cyan), #1a9bd1); color: #05121f; }
.btn-ghost{ background: rgba(255,255,255,.08); }
.btn-sm { padding: 8px 12px; font-size: .85rem; border-radius: 10px; }

.countdown {
  font-size: 2rem; font-weight: 800; letter-spacing: 1px;
  color: var(--yellow); text-shadow: 0 0 18px rgba(255,210,63,.45);
}
.countdown small { display: block; font-size: .8rem; color: var(--muted); letter-spacing: 0; font-weight: 500; text-shadow: none; }

.center { text-align: center; }

.grid-songs { display: grid; gap: 16px; grid-template-columns: 1.1fr 1fr; }
@media (max-width: 860px) { .grid-songs { grid-template-columns: 1fr; } }

ul.list { list-style: none; margin: 0; padding: 0; }
ul.list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 14px; background: rgba(0,0,0,.28); margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,.06);
}
ul.list li .meta { flex: 1; min-width: 0; }
ul.list li .t { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
ul.list li .c { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
ul.list li img.thumb { width: 84px; height: 48px; object-fit: cover; border-radius: 8px; background: #000; flex: none; }

input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--pink); flex: none; }

.player {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: 14px; overflow: hidden; background: #000; margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.1);
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .hint {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--muted); font-size: .9rem; text-align: center; padding: 12px;
}

.heart-btn { background: rgba(255,255,255,.07); color: var(--text); border: 1px solid rgba(255,255,255,.14); }
.heart-btn.on { background: linear-gradient(135deg, #ff4d6d, #ff85a1); border-color: transparent; color: #fff; }

.antwort-box {
  border-radius: var(--radius); padding: 18px; margin-bottom: 16px; text-align: center;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
}
.antwort-box.ja { border-color: rgba(46,227,106,.5); background: rgba(46,227,106,.12); }
.antwort-box.nein { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }

.flyer { width: 100%; border-radius: var(--radius); display: block; margin-bottom: 12px; border: 1px solid rgba(255,255,255,.1); }

table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
th { color: var(--cyan); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.table-scroll { overflow-x: auto; }

.msg { padding: 10px 14px; border-radius: 12px; margin-top: 12px; font-size: .92rem; display: none; }
.msg.err { display: block; background: rgba(255,80,80,.15); border: 1px solid rgba(255,80,80,.4); }
.msg.ok  { display: block; background: rgba(46,227,106,.15); border: 1px solid rgba(46,227,106,.4); }

footer.note { color: var(--muted); font-size: .8rem; text-align: center; margin-top: 24px; }
a { color: var(--cyan); }
