.ov {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto;
  background: radial-gradient(ellipse at 28% 42%, rgba(234, 169, 240, 0.17), transparent 62%), #05050a;
  animation: ovin .25s ease;
}
.ov[hidden] { display: none; }
@keyframes ovin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ovbtn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); color: var(--text);
}
.ovbtn:hover { background: rgba(255, 255, 255, 0.14); }
.ovbtn svg, .ovpill svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#ovClose { position: fixed; top: 16px; left: 16px; z-index: 3; }
.ovtr { position: fixed; top: 16px; right: 16px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ovpill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); font-size: .85rem;
}
.ovpill:hover, .ovpill.on { background: rgba(255, 255, 255, 0.14); }
.ovpill svg { width: 16px; height: 16px; }
.ovgrid {
  display: grid; grid-template-columns: minmax(320px, 440px) 1fr; gap: 4vw; align-items: center;
  min-height: 100%; padding: 70px 5vw 30px; max-width: 1400px; margin: 0 auto;
  position: relative; z-index: 1;
}
.ovleft { text-align: center; }
.ovcover {
  width: 100%; aspect-ratio: 1; padding: 9px; border-radius: 34px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 60px rgba(234, 169, 240, 0.2);
}
.ovart { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: linear-gradient(135deg, #2a1e3a, #120e1c); }
.ovart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ovfrom { margin-top: 18px; font-size: .68rem; letter-spacing: .12em; color: var(--muted); }
.ovfrom b { color: #b9b9c6; font-weight: 600; }
#ovTitle {
  margin-top: 4px; font-family: Fredoka, Nunito, Poppins, 'Segoe UI', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.15; overflow-wrap: anywhere;
  background: linear-gradient(90deg, #fff 45%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
#ovArtist { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.ovpanel {
  margin-top: 20px; padding: 14px 22px 16px; border-radius: 32px; display: flex; flex-direction: column; gap: 12px;
  background: var(--panel); border: 1px solid var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}
.ovseek { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ovpanel input[type=range] { width: 100%; }
#ovVol { background: linear-gradient(to right, #fff var(--fill, 0%), rgba(255, 255, 255, 0.2) var(--fill, 0%)); }
.ovseek .wave { height: 38px; }
.ovctl { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ovctl .ic { width: 42px; height: 42px; }
.ovctl .ic svg { width: 22px; height: 22px; }
.ovctl .play { width: 56px; height: 56px; }
.ovctl .play svg { width: 28px; height: 28px; }
.ovvol { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.ovvol svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.ovlyrics {
  height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.ovlyrics::-webkit-scrollbar { display: none; }
.lyr { position: relative; padding: 42vh 10px; text-align: center; }
.ll {
  font-family: Fredoka, Nunito, Poppins, 'Segoe UI', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.3;
  margin: 0 auto 22px; max-width: 760px; color: #fff; opacity: .5; cursor: pointer;
  transition: opacity .3s, filter .3s;
}
.ll.on { text-shadow: 0 0 22px rgba(234, 169, 240, 0.45); }
.ll.plain { cursor: default; opacity: .85; }
.lmsg { color: var(--muted); font-size: 1rem; }
.ovqueue {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100%); z-index: 2;
  padding: 76px 12px 16px; overflow-y: auto; background: rgba(10, 10, 14, 0.96); border-left: 1px solid var(--line);
}
.ovqueue[hidden] { display: none; }
.ovqueue h3 { padding: 0 8px 10px; font-size: 1.05rem; }
.ovqueue ul { list-style: none; }
.qrow { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 7px 8px; border-radius: 12px; }
.qrow:hover, .qrow.active { background: rgba(255, 255, 255, 0.08); }
.qrow.active b { color: var(--pink); }
.qthumb { display: block; width: 44px; height: 44px; border-radius: 9px; overflow: hidden; background: linear-gradient(135deg, #2a1e3a, #120e1c); }
.qthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qtx { min-width: 0; }
.qtx b, .qtx i { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; }
.qtx b { font-size: .9rem; font-weight: 600; }
.qtx i { font-size: .78rem; color: var(--muted); }
#ovStarsCv { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

@media (max-width: 900px) {
  .ovgrid { grid-template-columns: 1fr; padding-top: 74px; }
  .ovcover { max-width: 300px; margin: 0 auto; }
  .ovlyrics { height: 55vh; }
  .lyr { padding: 20vh 6px; }
  .ll { font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.45; }
}
.ovcover.tilting { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .ovcover { transform: none !important; } }
