* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: #0b0b10; color: #f2f2f5; }
.bg { position: fixed; inset: 0; background: radial-gradient(600px 300px at 20% 0%, #3b2a5a 0%, transparent 60%), radial-gradient(500px 300px at 90% 20%, #123a3a 0%, transparent 60%); opacity: .7; pointer-events: none; }
main { position: relative; max-width: 760px; margin: 0 auto; padding: 20px 16px 60px; }
h1 { margin: 0 0 4px; font-size: 34px; letter-spacing: -0.5px; }
h2 { margin: 0; font-size: 18px; }
.sub { color: #c9c9d4; margin: 0 0 6px; }
.warn { color: #a8a8b5; font-size: 13px; margin: 0 0 18px; }
.card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 16px; margin-bottom: 14px; backdrop-filter: blur(8px); }
.search-row { display: flex; gap: 8px; margin-bottom: 10px; }
input[type="search"], input[type="text"], select, textarea { flex: 1; background: #14141c; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 11px 12px; font-size: 15px; }
textarea { width: 100%; resize: vertical; }
button { background: #fff; color: #111; border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 700; cursor: pointer; }
button.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
button:disabled { opacity: .5; }
.row { display: flex; gap: 14px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row label { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #c9c9d4; }
.status { color: #ffd479; min-height: 18px; margin: 8px 0 0; font-size: 14px; }
.now { display: flex; gap: 14px; align-items: center; }
.now img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; background: #222; }
.title { font-size: 19px; font-weight: 800; }
.artist { color: #c9c9d4; }
.codec { margin-top: 6px; font-size: 13px; color: #8be9c9; }
.controls { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.controls button { width: 44px; height: 44px; padding: 0; border-radius: 50%; font-size: 18px; }
.controls button.play { width: 54px; height: 54px; font-size: 22px; }
#seek { flex: 1; accent-color: #fff; }
#time { font-variant-numeric: tabular-nums; font-size: 13px; color: #c9c9d4; white-space: nowrap; }
.lyrics-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
#lyricSource { font-size: 13px; color: #a8a8b5; }
.lyrics { max-height: 480px; overflow-y: auto; scroll-behavior: smooth; padding: 6px 2px; }
.lyric-line { font-size: 22px; line-height: 1.45; font-weight: 700; padding: 7px 4px; border-radius: 10px; color: rgba(255,255,255,.35); white-space: pre-wrap; }
.lyric-line.active { color: #fff; }
.lyric-line .word { color: rgba(255,255,255,.35); }
.lyric-line .word.lit { color: #fff; }
.lyric-line .word.now { color: #fff; text-shadow: 0 0 18px rgba(255,255,255,.35); }
.dim { color: #a8a8b5; }
.results { display: grid; gap: 10px; }
.result { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 10px; }
.result img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; background: #222; }
.result .rt { flex: 1; min-width: 0; }
.result .rt b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result .rt span { color: #a8a8b5; font-size: 13px; }
footer { color: #a8a8b5; font-size: 13px; line-height: 1.6; }
code { background: rgba(255,255,255,.1); padding: 2px 6px; border-radius: 6px; }
details { margin-top: 14px; }
details summary { cursor: pointer; color: #c9c9d4; }
@media (max-width: 520px) {
  .lyric-line { font-size: 19px; }
  #time { display: none; }
}
