/* theme.css - Klangperle-Look. Nur diese Datei ändern, wenn sich das Aussehen ändern soll. */
@font-face { font-family: "Oswald"; font-weight: 300; font-display: swap; src: url("fonts/oswald-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 400; font-display: swap; src: url("fonts/oswald-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #ffffff;            /* Seitenhintergrund */
  --card: #ffffff;          /* Song-Karten */
  --card-active: #f4f4f4;   /* laufender Song */
  --text: #2e2e2e;          /* Haupttext, dunkles Grau */
  --muted: #8a8a8a;         /* Nebentext */
  --line: #e2e2e2;          /* feine Linien */
  --accent: #2e2e2e;        /* Akzent: dunkel wie die Buttons der Seite */
  --radius: 2px;            /* kantig wie die Buttons auf klangperle.de */
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body);
  padding: 32px 22px 190px; min-height: 100vh;
}
h1 { margin: 0 0 6px; font-family: var(--font-head); font-weight: 400; font-size: 36px; line-height: 1.1; }
#logo { display: block; height: 46px; width: auto; }
#logo + span { display: none; }
.sub { font-family: var(--font-head); font-weight: 300; font-size: 19px; color: var(--text); margin-bottom: 30px; }
.song {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 12px; color: inherit; text-align: left; font: inherit; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.song.playing { background: var(--card-active); border-color: var(--accent); }
.num { font-size: 13px; color: var(--muted); width: 22px; }
.info { flex: 1; min-width: 0; }
.title { font-family: var(--font-head); font-weight: 400; font-size: 20px; }
.artist { font-size: 13px; color: var(--muted); margin-top: 3px; letter-spacing: .03em; }
.bars { display: none; gap: 3px; align-items: flex-end; height: 18px; }
.song.playing .bars { display: flex; }
.bars i { width: 3px; background: var(--accent); border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .2s; } .bars i:nth-child(3) { animation-delay: .4s; }
.paused .bars i { animation-play-state: paused; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 18px; } }
#bar {
  position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 22px 26px;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform .3s;
}
#bar.show { transform: translateY(0); }
#now { font-family: var(--font-head); font-size: 17px; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#seek { width: 100%; accent-color: var(--accent); margin: 0 0 6px; }
.times { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.ctrl { display: flex; justify-content: center; gap: 14px; margin-top: 12px; }
.ctrl button {
  width: 96px; height: 52px; border-radius: var(--radius); cursor: pointer; font-size: 22px;
  border: 1px solid var(--accent); background: #fff; color: var(--accent); font-variant-emoji: text;
}
.ctrl #pp { background: var(--accent); color: #fff; }
[hidden] { display: none !important; }
h2 { font-family: var(--font-head); font-weight: 400; font-size: 26px; margin: 4px 0 18px; }
#back { background: none; border: none; padding: 6px 0; margin: 0 0 10px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; letter-spacing: .03em; }
.chev { font-size: 26px; color: var(--muted); line-height: 1; }
.course.playing .chev { display: none; }
#logo { display:block; height:auto; width:min(260px,70%); margin:0 auto; }
#logo + span { display:none; }
#tabs { display:flex; gap:22px; margin:18px 0 6px; border-bottom:1px solid var(--line); }
#tabs button { background:none; border:none; border-bottom:2px solid transparent; padding:8px 0; margin-bottom:-1px; font:inherit; font-size:14px; letter-spacing:.04em; color:var(--muted); cursor:pointer; }
#tabs button.on { color:var(--text); border-bottom-color:var(--text); }
#v-info p { line-height:1.6; font-size:15px; }

