/* 骨架阶段的最小样式：能看清、手机上能点就行，正式设计之后再做 */
:root { font-family: 'PingFang SC', -apple-system, system-ui, sans-serif; color: #1f1c18; background: #f7f5f1; font-size: 15px; line-height: 1.45; }
* { box-sizing: border-box; }
body { margin: 0; padding-bottom: 240px; }
main { max-width: 860px; margin: 0 auto; padding: 16px; }
h1 { font-size: 24px; margin: 8px 0 4px; }
h2 { font-size: 15px; margin: 24px 0 8px; color: #5e5850; }
a { color: inherit; }
.muted { color: #8d867c; font-size: 13px; }
.err { color: #b3261e; }
.row { display: flex; gap: 8px; margin: 12px 0; }
.row input { flex: 1; min-width: 0; }
input:not([type=checkbox]) { font: inherit; padding: 9px 12px; border: 1px solid #d9d3c9; border-radius: 8px; background: #fff; min-height: 40px; }
button { font: inherit; padding: 8px 14px; border: 1px solid #d9d3c9; border-radius: 8px; background: #fff; cursor: pointer; min-height: 40px; }
button:disabled { opacity: .5; }
button.small, a.small { font-size: 13px; padding: 4px 10px; min-height: 32px; vertical-align: middle; }
a.small { display: inline-flex; align-items: center; border: 1px solid #d9d3c9; border-radius: 8px; text-decoration: none; background: #fff; }
button.danger { color: #b3261e; }
ul, ol { list-style: none; padding: 0; margin: 0; }
.sets li, .sources li, .hidden-list li { padding: 8px 0; border-bottom: 1px solid #e6e1d8; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.songs > li { border-bottom: 1px solid #e6e1d8; padding: 8px 0; }
.song { display: grid; grid-template-columns: auto 24px 1fr auto auto; gap: 8px; align-items: center; }
.song input { width: 18px; height: 18px; }
.idx { color: #8d867c; font-size: 12px; text-align: right; }
.tt { min-width: 0; overflow-wrap: anywhere; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.dur { color: #8d867c; font-size: 13px; font-variant-numeric: tabular-nums; }
.tag { font-size: 11px; padding: 1px 6px; border-radius: 4px; color: #fff; white-space: nowrap; }
.tag.netease { background: #c8372d; } .tag.spotify { background: #1aa34a; } .tag.soundcloud { background: #f26a1b; } .tag.youtube { background: #555; }
.entries { margin: 6px 0 0 50px; display: none; gap: 4px; }
.songs > li.open .entries { display: grid; }
.song { cursor: pointer; }
.entry { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.acts { display: flex; gap: 6px; margin-top: 2px; }
details { margin-top: 24px; }
summary { cursor: pointer; color: #5e5850; }
.msg { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; max-width: min(94vw, 640px); background: #1f1c18; color: #f7f5f1; padding: 10px 14px; border-radius: 10px; z-index: 10; font-size: 14px; }
.msg.err { background: #b3261e; }
.msg .err { color: #ffb4ab; }
#player { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid #d9d3c9; padding: 8px; z-index: 9; }
#player iframe { width: 100%; border: 0; display: block; margin-top: 6px; }
#player:not([hidden]) ~ .msg, body:has(#player:not([hidden])) .msg { bottom: 220px; }
@media (max-width: 560px) {
  .song { grid-template-columns: auto 20px 1fr auto; }
  .song .tags { grid-row: 2; grid-column: 3 / 5; justify-content: flex-start; }
  .song .dur { grid-row: 1; grid-column: 4; }
  .entries { margin-left: 28px; }
}
