/* SweetMusic — glassmorphism theme */
:root {
  --bg: #07070d;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-soft: rgba(255, 255, 255, 0.05);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-soft: rgba(255, 255, 255, 0.09);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.64);
  --text-faint: rgba(255, 255, 255, 0.4);
  --accent: #a78bfa;
  --accent-deep: #7c5cf0;
  --radius: 22px;
  --blur: blur(22px) saturate(160%);
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --bar-h: 84px;
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; color: inherit; }
ul { list-style: none; }
.ic { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- ambient atmosphere ---------- */
#ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
#ambient .mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(52rem 34rem at 12% -10%, rgba(124, 92, 240, 0.34), transparent 62%),
    radial-gradient(44rem 30rem at 88% 8%, rgba(14, 116, 144, 0.30), transparent 60%),
    radial-gradient(50rem 36rem at 55% 108%, rgba(190, 24, 93, 0.20), transparent 62%),
    linear-gradient(160deg, #0b0b16 0%, #07070d 55%, #05050a 100%);
}
#ambientImg {
  position: absolute; inset: -12%;
  width: 124%; height: 124%;
  object-fit: cover;
  filter: blur(64px) saturate(175%) brightness(0.6);
  opacity: 0;
  transition: opacity 0.9s ease;
}
#ambientImg.on { opacity: 0.85; }
.ambient-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 10, 0.18), rgba(5, 5, 10, 0.44));
}

/* ---------- glass primitive ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- layout ---------- */
#app {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr) 384px;
  gap: 18px;
  height: calc(100dvh - var(--bar-h) - 18px);
  padding: 18px 18px 0;
  max-width: 1720px;
  margin: 0 auto;
}

#mainPanel {
  padding: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.view {
  height: 100%;
  overflow-y: auto;
  padding: 22px 24px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}
.view::-webkit-scrollbar { width: 6px; }
.view::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 3px; }

/* ---------- sidebar (desktop) ---------- */
#sidebar {
  display: flex; flex-direction: column;
  padding: 20px 14px 14px;
  min-height: 0; overflow-y: auto; scrollbar-width: none;
}
#sidebar::-webkit-scrollbar { display: none; }
#sidebar .brand { padding: 0 8px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  min-height: 46px; padding: 0 14px;
  border-radius: 13px;
  font-size: 15px; font-weight: 600; color: var(--text-dim);
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: left;
}
.nav-item .ic { width: 21px; height: 21px; }
.nav-item:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.nav-item.active {
  background: rgba(167,139,250,0.16);
  border-color: rgba(167,139,250,0.35);
  color: #fff;
}
.side-lib { margin-top: 24px; border-top: 1px solid var(--stroke-soft); padding-top: 16px; }
.side-lib-head { display: flex; align-items: center; padding: 0 8px 8px; }
.side-lib-head h3 { font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; color: var(--text-faint); text-transform: uppercase; }
.mini-btn {
  margin-left: auto;
  width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-soft); border: 1px solid var(--stroke-soft);
}
.mini-btn .ic { width: 15px; height: 15px; }
.side-lib-entry {
  display: flex; align-items: center; gap: 9px;
  width: 100%; min-height: 38px; padding: 0 10px;
  border-radius: 10px;
  font-size: 13.5px; color: var(--text-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: left;
}
.side-lib-entry:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.fav-dot { background: #ff5c7a; }
.hist-dot { background: #38bdf8; }
.pl-dot { background: var(--accent); }
.side-foot { margin-top: auto; padding: 14px 8px 0; font-size: 11.5px; line-height: 1.5; color: var(--text-faint); }

/* ---------- tab bar (mobile) ---------- */
/* On desktop the dock wrapper is transparent: the player bar keeps its own
   fixed positioning and the tab bar stays hidden. On mobile it becomes the
   single fixed bottom unit (see the mobile media query). */
#dock { display: contents; }
#tabbar { display: none; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stroke-soft);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--stroke);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.brand-text h1 { font-size: 21px; font-weight: 800; letter-spacing: 0.2px; line-height: 1.1; }

.searchbar {
  flex: 1 1 320px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 6px 20px rgba(0, 0, 0, 0.25);
}
.searchbar .ic { width: 19px; height: 19px; color: var(--text-dim); }
.searchbar input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  font-size: 15px; color: var(--text);
}
.searchbar input::placeholder { color: var(--text-faint); }
.searchbar input::-webkit-search-cancel-button { display: none; }
.searchbar button {
  flex: none;
  min-height: 42px; padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 6px 16px rgba(124, 92, 240, 0.4);
}
.searchbar button:active { transform: scale(0.97); }

/* ---------- home ---------- */
#homeState { padding: 34px 4px 10px; }
.hero-title { font-size: 32px; font-weight: 800; letter-spacing: 0.3px; }
.hero-sub { color: var(--text-dim); font-size: 14.5px; margin-top: 8px; max-width: 34em; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  min-height: 42px; padding: 0 18px;
  border-radius: 999px;
  background: var(--glass-soft);
  border: 1px solid var(--stroke-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 14px; color: var(--text);
  transition: background 0.15s ease, transform 0.15s ease;
}
.chip:hover { background: var(--glass-strong); }
.chip:active { transform: scale(0.96); }

/* ---------- home feed ---------- */
.home-head { display: flex; align-items: center; gap: 14px; padding-bottom: 6px; }
.home-logo { display: none; width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--stroke); }
.home-head h2 { font-size: 27px; font-weight: 800; letter-spacing: 0.3px; }
.home-head p { color: var(--text-dim); font-size: 13.5px; margin-top: 3px; }
.home-sec { margin-top: 24px; }
.home-sec-head { display: flex; align-items: baseline; gap: 12px; padding: 0 2px 12px; }
.home-sec-head h3 { font-size: 18px; font-weight: 800; flex: none; }
.home-sec-head span { min-width: 0; }
.home-sec-head span { font-size: 12.5px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail {
  display: flex; gap: 14px;
  overflow-x: auto; padding: 2px 2px 10px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent;
  scroll-snap-type: x proximity;
}
.rail::-webkit-scrollbar { height: 5px; }
.rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 3px; }
.pl-card, .song-card {
  flex: none; scroll-snap-align: start;
  text-align: left;
  border-radius: 18px;
  padding: 10px;
  background: var(--glass-soft);
  border: 1px solid var(--stroke-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.15s ease, transform 0.15s ease;
}
.pl-card:hover, .song-card:hover { background: var(--glass-strong); }
.pl-card:active, .song-card:active { transform: scale(0.97); }
.pl-card { width: 168px; }
.pl-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; display: block; background: rgba(255,255,255,0.06); }
.pl-card strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13.5px; font-weight: 600; line-height: 1.4; margin-top: 9px; min-height: 2.8em;
}
.pl-card span { display: block; font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.song-card { width: 138px; }
.song-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; background: rgba(255,255,255,0.06); }
.song-card strong { display: block; font-size: 13.5px; font-weight: 600; margin-top: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-card span { display: block; font-size: 12px; color: var(--text-dim); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank {
  flex: none; width: 26px; text-align: center;
  font-size: 16px; font-weight: 800; color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.rank.top { color: var(--accent); font-size: 19px; }

/* ---------- library ---------- */
.view-head h2 { font-size: 24px; font-weight: 800; }
.view-head p { color: var(--text-dim); font-size: 13.5px; margin-top: 4px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 20px; }
.lib-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: var(--glass-soft);
  border: 1px solid var(--stroke-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: left;
  transition: background 0.15s ease;
  min-height: 118px;
}
.lib-card:hover { background: var(--glass-strong); }
.lib-card-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 4px; }
.lib-card-ic .ic { width: 21px; height: 21px; }
.fav-bg { background: linear-gradient(135deg, #ff5c7a, #e11d48); }
.hist-bg { background: linear-gradient(135deg, #38bdf8, #0369a1); }
.queue-bg { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.lib-card strong { font-size: 15.5px; font-weight: 700; }
.lib-card span:last-child { font-size: 12.5px; color: var(--text-dim); }
.lib-head-row { display: flex; align-items: center; margin-top: 26px; padding-bottom: 10px; }
.lib-head-row h3 { font-size: 17px; font-weight: 800; }
.text-btn { margin-left: auto; color: var(--accent); font-size: 13.5px; font-weight: 600; min-height: 36px; padding: 0 6px; }
.text-btn.danger { color: #ff5c7a; margin-left: 10px; }
.lib-pl-row {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 16px;
  border: 1px solid transparent;
  min-height: 68px;
}
.lib-pl-row:hover { background: rgba(255,255,255,0.07); }
.lib-pl-row img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1px solid var(--stroke-soft); }
.lib-pl-row .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lib-pl-row .meta strong { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-pl-row .meta span { font-size: 13px; color: var(--text-dim); margin-top: 3px; }

/* ---------- collection ---------- */
.back-btn {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 40px; padding: 0 12px 0 6px;
  color: var(--text-dim); font-size: 14px; font-weight: 600;
  border-radius: 11px;
}
.back-btn:hover { background: rgba(255,255,255,0.07); color: var(--text); }
.back-btn .ic { width: 19px; height: 19px; }
.col-head { display: flex; gap: 18px; margin: 10px 0 16px; align-items: center; }
.col-head img {
  width: 128px; height: 128px; border-radius: 20px; object-fit: cover; flex: none;
  border: 1px solid var(--stroke); box-shadow: 0 16px 36px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.06);
}
.col-meta { min-width: 0; }
.col-meta h2 { font-size: 22px; font-weight: 800; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.col-meta p { color: var(--text-dim); font-size: 13.5px; margin-top: 6px; }
.col-actions { display: flex; align-items: center; margin-top: 14px; }
.play-all-btn {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 42px; padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 20px rgba(124,92,240,0.4);
}
.play-all-btn .ic { width: 17px; height: 17px; }

/* ---------- track row actions ---------- */
.track { cursor: pointer; }
.row-actions { display: flex; align-items: center; gap: 2px; flex: none; margin-left: 2px; }
.mini-act {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  transition: color 0.15s ease, background 0.15s ease;
}
.mini-act:hover { background: rgba(255,255,255,0.09); color: var(--text); }
.mini-act .ic { width: 18px; height: 18px; }
.mini-act.fav-on { color: #ff5c7a; }

/* ---------- add-to-playlist sheet ---------- */
.pl-pick {
  display: flex; align-items: center; gap: 10px;
  width: 100%; min-height: 52px; padding: 0 14px;
  border-radius: 13px; text-align: left;
}
.pl-pick:hover { background: rgba(255,255,255,0.07); }
.pl-pick strong { flex: 1; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-pick span { font-size: 12.5px; color: var(--text-faint); }
#plPickList { overflow-y: auto; padding: 6px 0; }
.pl-create { display: flex; gap: 10px; padding-top: 12px; border-top: 1px solid var(--stroke-soft); }
.pl-create input {
  flex: 1; min-width: 0; min-height: 44px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--stroke); border-radius: 12px;
  padding: 0 14px; font-size: 14px; outline: none;
}
.pl-create button {
  min-height: 44px; padding: 0 18px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; font-weight: 700; font-size: 14px;
}

/* ---------- search view ---------- */
#viewSearch .searchbar { margin-bottom: 6px; }
#resultsWrap { padding-top: 14px; }
.results-head { display: flex; align-items: baseline; gap: 12px; padding: 0 2px 10px; }
.results-head h2 { font-size: 17px; font-weight: 700; }
#resultsMeta { font-size: 12.5px; color: var(--text-faint); }
.state-note { color: var(--text-dim); font-size: 14px; padding: 22px 4px; display: flex; align-items: center; gap: 10px; }
.spinner {
  width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#results { padding: 2px 2px 10px; }
.upnext ul::-webkit-scrollbar { width: 6px; }
#results::-webkit-scrollbar-thumb, .upnext ul::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 3px; }

.track {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-height: 68px;
}
.track:hover { background: rgba(255, 255, 255, 0.07); }
.track.playing {
  background: rgba(167, 139, 250, 0.13);
  border-color: rgba(167, 139, 250, 0.35);
}
.track img {
  width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none;
  border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.06);
}
.track .meta { flex: 1; min-width: 0; }
.track .meta strong {
  display: block; font-size: 15px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track.playing .meta strong { color: var(--accent); }
.track .meta span {
  display: block; font-size: 13px; color: var(--text-dim); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track .dur { font-size: 12.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; flex: none; }
.eq { display: none; align-items: flex-end; gap: 2.5px; height: 16px; flex: none; }
.track.playing .eq { display: flex; }
.eq i { width: 3.5px; background: var(--accent); border-radius: 2px; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(1) { height: 60%; } .eq i:nth-child(2) { height: 100%; animation-delay: 0.25s; } .eq i:nth-child(3) { height: 45%; animation-delay: 0.5s; }
body.paused .eq i { animation-play-state: paused; }
@keyframes eq { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

[hidden] { display: none !important; }

/* ---------- player panel ---------- */
#playerPanel {
  display: flex; flex-direction: column;
  padding: 20px 22px 16px;
  min-height: 0; overflow-y: auto;
  scrollbar-width: none;
}
#playerPanel::-webkit-scrollbar { display: none; }
.np-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--text-dim); text-transform: uppercase;
}
.np-status { margin-left: auto; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--accent); font-weight: 600; }
.icon-btn {
  display: none;
  width: 42px; height: 42px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--glass-soft); border: 1px solid var(--stroke-soft);
}
.icon-btn.always { display: flex; }
.np-meta { text-align: center; margin-top: 10px; }
.np-meta h2 {
  font-size: 21px; font-weight: 800; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.np-meta p { color: var(--text-dim); font-size: 14px; margin-top: 5px; }

/* stage: frosted platter holding the vinyl / lyrics */
.glass-soft-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke-soft);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 14px 34px rgba(0, 0, 0, 0.30);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}
.stage {
  position: relative;
  margin-top: 16px;
  padding: 20px 12px 12px;
  flex: none;
  overflow: hidden;
}
.vinyl-view { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.stage-hint { margin-top: 12px; font-size: 12px; color: var(--text-faint); letter-spacing: 0.4px; }

/* the disc: groove ring + rotating cover label */
.disc {
  position: relative;
  width: min(272px, 68vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,0.14), transparent 42%),
    repeating-radial-gradient(circle at center, #0a0a0c 0 2px, #17171b 2px 3px, #0a0a0c 3px 5px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.55), inset 0 0 0 6px rgba(0,0,0,0.35), inset 0 2px 6px rgba(255,255,255,0.12);
  animation: disc-spin 16s linear infinite;
  animation-play-state: paused;
  flex: none;
}
body.is-playing .disc { animation-play-state: running; }
@keyframes disc-spin { to { transform: rotate(360deg); } }
.disc img {
  position: absolute; inset: 15.5%;
  width: 69%; height: 69%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.4);
  display: block;
}
.disc-fallback {
  position: absolute; inset: 15.5%;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #3b3b46, #1c1c24 70%);
  color: var(--text-faint);
}
.disc-fallback svg { width: 52px; height: 52px; fill: currentColor; }
.disc.has-art .disc-fallback { display: none; }
.disc-hole {
  position: absolute; left: 50%; top: 50%;
  width: 30px; height: 30px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.8);
  z-index: 2;
}

/* tonearm: rests off the record, swings in while playing */
.tonearm {
  position: absolute;
  top: 2px; right: 6px;
  width: 104px; height: 130px;
  z-index: 4;
  pointer-events: none;
  transform-origin: 88.5% 14.6%;
  transform: rotate(-31deg);
  transition: transform 0.9s cubic-bezier(0.34, 1.2, 0.4, 1);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}
body.is-playing .tonearm { transform: rotate(3deg); }
.tonearm svg { width: 100%; height: 100%; overflow: visible; }
.tonearm .arm-base { fill: rgba(255,255,255,0.13); stroke: rgba(255,255,255,0.4); stroke-width: 1.4; }
.tonearm .arm-pivot { fill: #e8e8f0; }
.tonearm .arm-rod { stroke: #d7d8e2; stroke-width: 5; stroke-linecap: round; fill: none; }
.tonearm .arm-head { fill: #26262f; stroke: rgba(255,255,255,0.35); stroke-width: 1.2; }
.tonearm .arm-needle { fill: #fff; }

/* lyrics view */
.lyrics-view { cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.lyrics-mask {
  position: relative;
  width: 100%;
  height: 308px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.lyrics-inner { transition: transform 0.55s cubic-bezier(0.3, 0.7, 0.3, 1); will-change: transform; }
.lyrics-inner p {
  text-align: center;
  padding: 6.5px 10px;
  font-size: 15.5px; line-height: 1.45;
  color: var(--text-faint);
  transition: color 0.3s ease;
}
.lyrics-inner p span { display: inline-block; transition: transform 0.3s ease; }
.lyrics-inner p.active { color: #fff; font-weight: 700; }
.lyrics-inner p.active span { transform: scale(1.1); }

/* stroke icons (mode / queue) */
.ic-stroke { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-stroke .fillpart { fill: currentColor; stroke: none; }
.ic-stroke .dotpart { stroke-width: 3.6; }
.ic-stroke .one-digit { font-size: 10px; font-weight: 800; fill: currentColor; stroke: none; text-anchor: middle; font-family: inherit; }

/* queue sheet */
.sheet {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(4, 4, 9, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex; justify-content: center; align-items: flex-end;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom));
}
.sheet-card {
  width: 100%; max-width: 580px;
  max-height: 76dvh;
  display: flex; flex-direction: column;
  padding: 18px 18px 10px;
  background: rgba(22, 22, 34, 0.66);
}
.sheet-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--stroke-soft); }
.sheet-head h3 { font-size: 16px; font-weight: 800; }
.sheet-head span { font-size: 12.5px; color: var(--text-faint); }
.sheet-head .icon-btn { margin-left: auto; }
#queueList { overflow-y: auto; min-height: 0; padding: 8px 0; scrollbar-width: thin; }

/* buffered-amount bar (sits above the seek row; the seek inputs also
   carry a --buf segment in their own track) */
.bufbar {
  height: 3px; border-radius: 2px; margin: 16px 4px -10px;
  background: rgba(255, 255, 255, 0.12); overflow: hidden;
}
.bufbar i { display: block; height: 100%; width: 0%; background: rgba(255, 255, 255, 0.45); border-radius: 2px; transition: width 0.4s ease; }

.seek-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.time { font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums; min-width: 34px; text-align: center; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  flex: 1; min-width: 0; height: 22px;
  background: transparent; cursor: pointer;
  --fill: 0%;
  --buf: 0%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 5px; border-radius: 3px;
  background: linear-gradient(90deg,
    var(--accent) var(--fill),
    rgba(255, 255, 255, 0.42) var(--fill),
    rgba(255, 255, 255, 0.42) var(--buf),
    rgba(255, 255, 255, 0.18) var(--buf));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 15px; height: 15px; border-radius: 50%;
  background: #fff; margin-top: -5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  border: none;
}
input[type="range"]::-moz-range-track { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
input[type="range"]::-moz-range-progress { height: 5px; border-radius: 3px; background: var(--accent); }
input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: #fff; border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.45); }

.controls { display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 12px; }
.controls .ctl-btn { width: 48px; height: 48px; }
.controls .ctl-btn .ic, .controls .ctl-btn .ic-stroke { width: 22px; height: 22px; }
.controls .play-main { width: 64px; height: 64px; }
.controls .play-main .ic { width: 29px; height: 29px; }
.ctl-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-soft);
  border: 1px solid var(--stroke-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.15s ease, transform 0.12s ease;
}
.ctl-btn:hover { background: var(--glass-strong); }
.ctl-btn:active { transform: scale(0.93); }
.ctl-btn .ic { width: 24px; height: 24px; }
.ctl-btn.small { width: 46px; height: 46px; }
.ctl-btn.small .ic { width: 21px; height: 21px; }
.play-main {
  width: 66px; height: 66px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 28px rgba(124, 92, 240, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
}
.play-main.small { width: 52px; height: 52px; }
.play-main .ic { width: 30px; height: 30px; }
.play-main.small .ic { width: 24px; height: 24px; }
.ic-pause { display: none; }
body.is-playing .ic-play { display: none; }
body.is-playing .ic-pause { display: block; }

.vol-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 0 4px; }
.vol-row .ic { width: 19px; height: 19px; color: var(--text-dim); }

.upnext { margin-top: 22px; border-top: 1px solid var(--stroke-soft); padding-top: 14px; }
.upnext h3 { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; color: var(--text-dim); text-transform: uppercase; }
.upnext ul { margin-top: 8px; overflow-y: auto; scrollbar-width: thin; }
.upnext .state-note { padding: 12px 2px; }
.upnext .track { min-height: 58px; padding: 7px 10px; }
.upnext .track img { width: 42px; height: 42px; border-radius: 10px; }
.upnext .track .meta strong { font-size: 13.5px; }
.upnext .track .meta span { font-size: 12px; }

/* ---------- bottom player bar ---------- */
#playerBar {
  position: fixed; left: 18px; right: 18px; bottom: 14px;
  height: var(--bar-h);
  max-width: 1524px; margin: 0 auto;
  border-radius: 20px;
  display: grid;
  grid-template-columns: minmax(180px, 300px) auto minmax(200px, 1fr) 170px;
  align-items: center; gap: 18px;
  padding: 0 18px;
  z-index: 30;
}
#barProgress { display: none; }
.bar-info {
  display: flex; align-items: center; gap: 12px;
  min-width: 0; text-align: left; min-height: 52px;
}
.bar-info img {
  width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none;
  border: 1px solid var(--stroke-soft); background: rgba(255, 255, 255, 0.06);
}
.bar-text { min-width: 0; display: flex; flex-direction: column; }
.bar-text strong { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-text span { font-size: 12.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.bar-controls { display: flex; align-items: center; gap: 12px; }
.bar-seek { display: flex; align-items: center; gap: 10px; }
.bar-vol { display: flex; align-items: center; gap: 10px; }
.bar-vol .ic { width: 18px; height: 18px; color: var(--text-dim); }

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h) + 28px);
  transform: translate(-50%, 16px);
  background: rgba(24, 24, 34, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 13.5px;
  padding: 11px 18px; border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 120; max-width: min(92vw, 480px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- buffering / loading states ---------- */
.play-main { position: relative; }
body.is-loading .play-main::after,
body.is-buffering .play-main::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22); border-top-color: #fff;
  animation: spin 0.8s linear infinite; pointer-events: none;
}
body.is-loading .play-main .ic { opacity: 0.35; }
.track { position: relative; }
.track.loading { background: rgba(167, 139, 250, 0.10); border-color: rgba(167, 139, 250, 0.40); }
.track.loading .eq { display: flex; }
/* Row loading spinner lives INSIDE the add (+) button it replaces:
 * the plus glyph hides and a full ring with a half accent arc spins
 * in the exact same 38px box, so it can never overlap other row
 * content or read as a broken fragment. Same construction language
 * as the bottom bar's play-button loading ring. */
.mini-act { position: relative; }
.track.loading .add-btn .ic { opacity: 0; }
.track.loading .add-btn::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(167, 139, 250, 0.28);
  border-top-color: var(--accent); border-right-color: var(--accent);
  animation: spin 0.75s linear infinite;
}
/* Rows without action buttons (compact queue rows) get the same
 * ring at the row's right end instead. */
.track.loading:not(:has(.add-btn))::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%;
  border: 2px solid rgba(167, 139, 250, 0.28);
  border-top-color: var(--accent); border-right-color: var(--accent);
  animation: spin 0.75s linear infinite;
}
/* stalled stream: animations must not pretend sound is flowing */
body.stalled .disc { animation-play-state: paused !important; }
body.stalled .eq i { animation-play-state: paused !important; }
body.is-buffering .disc { animation-duration: 44s; }
body.is-loading #barProgressFill,
body.is-buffering #barProgressFill { animation: bufpulse 1.1s ease-in-out infinite; }
@keyframes bufpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- desktop right panel: display-only, two segments ----------
   The panel's own seek/controls/volume are hidden on desktop - the
   bottom bar is the single control surface. The panel is a locked
   flex column: display zone never scrolls, only Up Next scrolls. */
@media (min-width: 1024px) {
  #playerPanel {
    display: flex; flex-direction: column;
    overflow: hidden; overscroll-behavior: contain;
  }
  #playerPanel .np-head, #playerPanel .np-meta, #playerPanel .stage { flex: none; }
  #playerPanel .seek-row, #playerPanel .controls, #playerPanel .vol-row, #playerPanel .bufbar { display: none; }
  #playerPanel .disc { width: min(320px, 92%); }
  #playerPanel .upnext {
    flex: 1; min-height: 0;
    display: flex; flex-direction: column;
  }
  #playerPanel .upnext ul {
    flex: 1; min-height: 0; overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* ---------- fullscreen player (NetEase-style detail page) ----------
 * Pure black backdrop, no ambient blur: left column is the vinyl
 * (tonearm pivot outside the disc's upper-left, arm slanting in),
 * right column is title / meta / a single lyrics tab / the synced
 * lyrics. Controls stay at the bottom, same state as the bar. */
#fullPlayer { position: fixed; inset: 0; z-index: 80; overflow: hidden; background: #050505; }
.fp-inner {
  position: relative; height: 100dvh; overflow: hidden;
  max-width: 1280px; margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 40px calc(18px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: stretch;
}
.fp-head { display: flex; align-items: center; justify-content: space-between; flex: none; }
.fp-head .icon-btn { display: flex; }
.fp-head-label { font-size: 12.5px; letter-spacing: 1.6px; color: var(--text-dim); text-transform: uppercase; }
.fp-main {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 52px; margin-top: 6px;
}
.fp-left { display: flex; align-items: center; justify-content: center; min-height: 0; }
.fp-stage { margin: 0; padding: 0; overflow: visible; background: none; border: none; box-shadow: none; }
.fp-vinyl { cursor: default; }
.fp-disc { width: min(432px, 40vw); }
/* tonearm mirrored: pivot sits outside the disc's upper-left edge,
 * arm slanting down-right onto the record; same two states as the
 * panel arm (resting off / swung in while playing). */
.fp-tonearm {
  left: 4%; right: auto; top: -4px;
  width: 124px; height: 155px;
  transform-origin: 11.5% 14.6%;
  transform: scaleX(-1) rotate(-31deg);
}
body.is-playing .fp-tonearm { transform: scaleX(-1) rotate(3deg); }
.fp-right { display: flex; flex-direction: column; min-height: 0; padding-top: 12px; }
.fp-meta { text-align: left; flex: none; }
.fp-meta h2 {
  font-size: 30px; font-weight: 800; line-height: 1.25; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fp-meta-line { color: #9a9aa5; font-size: 13.5px; margin-top: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-meta-line .fp-k { color: #6d6d78; }
.fp-tabs { margin-top: 24px; flex: none; }
.fp-tab {
  display: inline-block; padding: 6px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff; font-size: 13.5px; font-weight: 600;
}
.fp-lyrics { flex: 1; min-height: 0; margin-top: 12px; cursor: default; align-items: stretch; }
.fp-lyrics-mask { flex: 1; height: auto; min-height: 0; }
#fullPlayer .lyrics-inner p {
  text-align: left; font-size: 16.5px; line-height: 1.5;
  padding: 9px 2px; color: rgba(255, 255, 255, 0.38);
}
#fullPlayer .lyrics-inner p.active { color: #fff; font-weight: 700; }
#fullPlayer .lyrics-inner p.active span { transform: none; }
.fp-nolrc { color: var(--text-faint); font-size: 14px; padding: 18px 2px; }
.fp-bottom { flex: none; width: 100%; max-width: 880px; margin: 12px auto 0; }
.fp-seek { margin-top: 10px; }
.fp-controls { justify-content: center; }
.fp-ctl-spacer { width: 52px; flex: none; }
.fp-vol { max-width: 420px; width: 100%; margin-left: auto; margin-right: auto; }
body.fp-open { overflow: hidden; }

/* ---------- search: pinned bar + scrolling results ---------- */
#viewSearch, #viewMore, #viewCollection, #viewLibrary { display: flex; flex-direction: column; overflow: hidden; }
#viewSearch[hidden], #viewMore[hidden], #viewCollection[hidden], #viewLibrary[hidden] { display: none; }
.search-sticky, .col-sticky, .lib-sticky {
  flex: none; z-index: 30;
  margin: -22px -24px 0; padding: 22px 24px 12px;
  background: rgba(18, 18, 28, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.view-scroll {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent;
  margin: 0 -24px; padding: 4px 24px 6px;
}
.view-scroll::-webkit-scrollbar { width: 6px; }
.view-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 3px; }
.more-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin: 10px 0 14px; padding: 13px;
  border-radius: 14px; border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06); color: var(--text);
  font-size: 14.5px; font-weight: 600;
}
.more-btn .ic { width: 18px; height: 18px; }
.more-btn:active { transform: scale(0.99); }
.more-head { display: flex; align-items: center; gap: 14px; flex: none; padding-bottom: 12px; }
.more-head .icon-btn { display: flex; }
.more-head-meta h2 { font-size: 20px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more-head-meta p { color: var(--text-dim); font-size: 13px; margin-top: 3px; }
.pager {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.pager-btn {
  min-height: 40px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.06);
  color: var(--text); font-size: 14px; font-weight: 600;
}
.pager-btn:disabled { opacity: 0.38; pointer-events: none; }
#morePageInfo { color: var(--text-dim); font-size: 13.5px; font-variant-numeric: tabular-nums; }

/* ---------- mobile ---------- */
@media (max-width: 1023px) {
  :root { --bar-h: 72px; --tab-h: 62px; }
  #app { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 0; gap: 0; height: calc(100dvh - var(--bar-h) - var(--tab-h) - env(safe-area-inset-bottom)); }
  #sidebar { display: none; }
  #mainPanel { border-radius: 20px; }
  .view { padding: 16px 16px 14px; }
  .home-logo { display: block; }
  .home-head h2 { font-size: 23px; }
  .pl-card { width: 142px; }
  .song-card { width: 118px; }
  .col-head img { width: 92px; height: 92px; border-radius: 16px; }
  .col-meta h2 { font-size: 18px; }
  .lib-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .lib-card { padding: 13px; min-height: 104px; }
  .lib-card strong { font-size: 13.5px; }
  #homeState { padding-top: 24px; }
  .hero-title { font-size: 26px; }

  /* The dock is the ONE fixed bottom unit: full-bleed, bottom: 0, no gaps.
     DOM order inside is tabbar then playerBar; column-reverse renders the
     player bar on top, flush against the tab bar below it. */
  #dock {
    position: fixed; left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column-reverse;
    z-index: 45;
    box-shadow: 0 -14px 38px rgba(0, 0, 0, 0.38);
  }
  #tabbar {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: relative;
    height: calc(var(--tab-h) + env(safe-area-inset-bottom));
    border-radius: 0;
    border-left: none; border-right: none; border-bottom: none; border-top: none;
    box-shadow: none;
    padding: 4px 6px env(safe-area-inset-bottom);
  }
  .tab-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border-radius: 13px;
    color: var(--text-dim); font-size: 11px; font-weight: 600;
    min-height: 50px;
  }
  .tab-item .ic { width: 21px; height: 21px; }
  .tab-item.active { color: var(--accent); background: rgba(167,139,250,0.13); }

  #playerPanel {
    position: fixed; inset: 0; z-index: 50;
    border-radius: 0; border: none;
    background: rgba(16, 16, 26, 0.55);
    padding: calc(14px + env(safe-area-inset-top)) 22px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(103%);
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0.24, 1);
  }
  #playerPanel.open { transform: translateY(0); }
  .icon-btn { display: flex; }
  .np-status { margin-left: 0; }
  .np-head .icon-btn { margin-left: auto; }
  .stage { margin-top: 14px; padding-top: 24px; }
  .disc { width: min(74vw, 300px); }
  .tonearm { width: 96px; height: 120px; }
  .lyrics-mask { height: min(46dvh, 340px); }
  .upnext { display: none; }

  #playerBar {
    position: relative; left: auto; right: auto; bottom: auto;
    width: 100%; max-width: none; margin: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px; padding: 0 12px;
    border-radius: 20px 20px 0 0;
    border-left: none; border-right: none; border-bottom: none;
    box-shadow: none;
    z-index: auto;
  }
  .bar-seek, .bar-vol { display: none; }
  #barPrev { display: none; }
  #barProgress {
    display: block;
    position: absolute; top: 0; left: 14px; right: 14px; height: 3px;
    background: rgba(255, 255, 255, 0.16); border-radius: 2px; overflow: hidden;
  }
  #barProgressFill { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--accent); border-radius: 2px; }
  #barBufferedFill { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: rgba(255, 255, 255, 0.38); border-radius: 2px; }
  #toast { bottom: calc(var(--bar-h) + var(--tab-h) + env(safe-area-inset-bottom) + 16px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- fullscreen + search heads on mobile ---------- */
@media (max-width: 1023px) {
  .fp-inner { overflow-y: auto; padding: calc(12px + env(safe-area-inset-top)) 18px calc(16px + env(safe-area-inset-bottom)); }
  .fp-main { display: flex; flex-direction: column; gap: 4px; flex: none; }
  .fp-left { flex: none; }
  .fp-disc { width: min(300px, 74vw); }
  .fp-tonearm { width: 104px; height: 130px; left: 2%; }
  .fp-right { flex: none; padding-top: 0; }
  .fp-meta { text-align: center; }
  .fp-meta h2 { text-align: center; font-size: 23px; }
  .fp-meta-line { text-align: center; }
  .fp-tabs { text-align: center; margin-top: 18px; }
  .fp-lyrics { flex: none; }
  .fp-lyrics-mask { flex: none; height: 296px; }
  #fullPlayer .lyrics-inner p { text-align: center; font-size: 15.5px; }
  .fp-nolrc { text-align: center; }
  .search-sticky, .col-sticky, .lib-sticky { margin: -16px -16px 0; padding: 16px 16px 10px; }
  .view-scroll { margin: 0 -16px; padding: 4px 16px 6px; }
}
