* { box-sizing: border-box; }
body {
  margin: 0; font: 16px/1.5 system-ui, sans-serif;
  background: #f6f5f1; color: #1f2a24; padding-bottom: 190px;
}
header {
  position: sticky; top: 0; z-index: 2; background: #1f4d3a; color: #fff;
  padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between;
}
header h1 { margin: 0; font-size: 1.2rem; }
header a { color: #d9efe3; }
main { max-width: 760px; margin: 0 auto; padding: 16px; }
input, textarea, select, button { font: inherit; }
input, textarea { width: 100%; padding: 8px 10px; border: 1px solid #c9cfc9; border-radius: 8px; background: #fff; }
header input { max-width: 320px; border: 0; }
button {
  padding: 8px 14px; border: 0; border-radius: 8px; background: #1f4d3a; color: #fff; cursor: pointer;
}
button:disabled { opacity: .5; cursor: wait; }
button.danger { background: #a33a2b; }
button.ghost { background: transparent; border: 1px solid #d9efe3; }
.login { max-width: 380px; margin: 40px auto; }
.muted { color: #5f6b64; font-size: .9rem; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.item {
  width: 100%; text-align: left; background: #fff; color: inherit; padding: 12px 14px;
  border: 1px solid #e1e4df; display: flex; flex-direction: column;
}
.item small { color: #5f6b64; }
.active .item { border-color: #1f4d3a; box-shadow: inset 4px 0 0 #1f4d3a; }
.empty { color: #5f6b64; padding: 24px; text-align: center; }

.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; background: #fff;
  border-top: 1px solid #d5dad4; padding: 10px 16px 14px; box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.player > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.now { display: flex; flex-direction: column; }
.now span { color: #5f6b64; font-size: .9rem; }
#seek { width: 100%; padding: 0; border: 0; accent-color: #1f4d3a; }
.times { display: flex; justify-content: space-between; font-size: .85rem; color: #5f6b64; }
.controls { display: flex; gap: 10px; align-items: center; justify-content: center; }
.controls .big { width: 56px; height: 56px; border-radius: 50%; font-size: 1.3rem; }
.controls select { padding: 6px; border-radius: 8px; }

.card { background: #fff; border: 1px solid #e1e4df; border-radius: 10px; padding: 14px; margin-bottom: 12px; display: grid; gap: 8px; }
.card h2 { margin: 0; font-size: 1.05rem; }
.card audio { width: 100%; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row .meta { flex: 1; }
progress { width: 100%; }
