:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: #120f11; color: #f7eeee; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% -10%, #562b35 0, #21171b 34%, #120f11 70%); }
button, input, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.app { width: min(100%, 760px); margin: 0 auto; padding: 32px 18px calc(32px + env(safe-area-inset-bottom)); }
.header { text-align: center; margin-bottom: 22px; }
.header h1 { margin: 4px 0 8px; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(44px, 11vw, 72px); font-weight: 500; letter-spacing: .16em; color: #ffe9e9; }
.header p { margin: 0; color: #c9aeb3; }
.header .eyebrow { font-size: 12px; letter-spacing: .28em; color: #d795a1; }
.track-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.track-tabs::-webkit-scrollbar { display: none; }
.track-tab { flex: 0 0 auto; min-width: 70px; min-height: 44px; padding: 9px 14px; border: 1px solid #594149; border-radius: 22px; background: #241c20; color: #cdb9bd; cursor: pointer; }
.track-tab.active { border-color: #e5a3af; background: #7e3544; color: #fff; }
.player { position: relative; padding: 24px; border: 1px solid #5d3b44; border-radius: 24px; background: linear-gradient(145deg, rgba(80,45,54,.88), rgba(29,23,26,.96)); box-shadow: 0 18px 60px rgba(0,0,0,.28); }
.cover { float: left; width: 84px; height: 84px; margin-right: 16px; padding: 14px; border-radius: 18px; background: linear-gradient(145deg, #a14b5b, #3a2027); box-shadow: inset 0 0 0 1px #ffffff18; font-family: "STKaiti", "KaiTi", serif; }
.cover span { display: block; font-size: 19px; letter-spacing: .12em; }
.cover strong { display: block; margin-top: -4px; text-align: right; font-size: 42px; font-weight: 400; color: #ffe4e7; }
.track-info { min-height: 84px; padding-top: 12px; }
.track-info h2 { margin: 0 0 7px; font-size: 24px; }
.track-info p { margin: 0; color: #c6adb2; font-size: 14px; }
.download { display: inline-block; margin: 14px 0 4px; min-height: 40px; padding: 9px 14px; border: 1px solid #8b5c67; border-radius: 12px; color: #f2cbd2; text-decoration: none; }
.seek-row { clear: both; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 10px; padding-top: 24px; font-variant-numeric: tabular-nums; font-size: 12px; color: #cdb9bd; }
.seek-row input { width: 100%; height: 32px; accent-color: #e89cab; cursor: pointer; }
.controls { display: flex; justify-content: center; padding-top: 10px; }
.play-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 150px; min-height: 58px; border: 0; border-radius: 30px; background: #f1d4d8; color: #562532; font-size: 18px; font-weight: 650; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.play-button:active { transform: scale(.97); }
.play-button svg { width: 25px; height: 25px; fill: currentColor; }
.play-button svg[hidden] { display: none; }
.status { min-height: 20px; margin: 12px 0 -8px; text-align: center; color: #e5b5bf; font-size: 13px; }
.lyrics-panel { margin-top: 22px; padding: 20px 12px 12px; border: 1px solid #49353b; border-radius: 24px; background: rgba(25,20,22,.9); }
.lyrics-heading { display: flex; justify-content: space-between; align-items: baseline; padding: 0 12px 12px; }
.lyrics-heading h2 { margin: 0; font-size: 19px; }
.lyrics-heading span { color: #9f8b90; font-size: 12px; }
.lyrics { position: relative; height: min(54vh, 580px); min-height: 340px; overflow-y: auto; overscroll-behavior: contain; padding: 42% 12px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #75424e transparent; }
.lyric-section { padding: 20px 16px 6px; color: #9b737d; font-size: 12px; letter-spacing: .18em; }
.lyric-line { display: block; width: 100%; min-height: 50px; margin: 2px 0; padding: 12px 16px; border: 0; border-left: 3px solid transparent; border-radius: 10px; background: transparent; color: #a99a9e; text-align: left; font-size: 17px; line-height: 1.6; cursor: pointer; transition: color .2s, background .2s, font-size .2s, border-color .2s; }
.lyric-line.past { color: #766a6e; }
.lyric-line.active { border-left-color: #ffb2bf; background: linear-gradient(90deg, #77334280, #54283220); color: #fff1f3; font-size: 21px; font-weight: 650; box-shadow: 0 4px 18px #00000018; }
.lyric-line:focus-visible, .track-tab:focus-visible, .play-button:focus-visible { outline: 3px solid #f0a7b4; outline-offset: 2px; }
.alignment-note { margin: 10px 12px 4px; color: #83757a; font-size: 12px; line-height: 1.6; }
@media (max-width: 520px) { .app { padding: 24px 12px; } .player { padding: 18px; } .cover { width: 72px; height: 72px; } .track-info { min-height: 72px; } .lyric-line { font-size: 16px; } .lyric-line.active { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
