/* Side drawers (Up next, Lyrics, Settings) and the dimmed backdrop behind them. */
/* ---------- drawers ---------- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); z-index: 20; border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform var(--t-out) var(--ease-out), visibility 0s var(--t-out); display: flex; flex-direction: column; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; transition: transform var(--t-in) var(--ease-out), visibility 0s; }
.drawer.dragging { transition: none; visibility: visible; }   /* under a finger, or on a spring after it (ui.js) */
.drawer, .drawer * { touch-action: pan-y; }   /* up and down scrolls; a drag to the right takes the drawer away */
.dhead { display: flex; align-items: stretch; height: 56px; border-bottom: 1px solid var(--line); flex: none; }
.dhead h2 { flex: 1; margin: 0; padding: 0 16px; display: flex; align-items: center; gap: 10px; font: 700 14px var(--display); letter-spacing: .16em; text-transform: uppercase; }
.dhead h2 i { width: 12px; height: 12px; background: var(--yellow); }
.dhead button { width: 56px; border-left: 1px solid var(--line); display: grid; place-items: center; }
@media (hover: hover) { .dhead button:hover { background: var(--s1); } }
.dhead a.gh { width: 56px; border-left: 1px solid var(--line); display: grid; place-items: center; color: inherit; }
@media (hover: hover) { .dhead a.gh:hover { background: var(--s1); } }
.dtools { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); flex: none; }
.dtools button { height: var(--hit); font: 600 11px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); }
.dtools button:last-child { border-right: 0; }
@media (hover: hover) { .dtools button:hover { color: var(--text); background: var(--s1); } }
.drawer .list { overflow-y: auto; flex: 1; }
.scrim { position: fixed; inset: 0; background: #000a; z-index: 15; opacity: 0; pointer-events: none; transition: opacity var(--t-out); }
.scrim.open { opacity: 1; pointer-events: auto; transition-duration: var(--t-in); }

/* ---------- lyrics ---------- */
.lyr { flex: 1; overflow-y: auto; padding: 20px 20px 40vh; scroll-behavior: smooth; }
.lyr .who { font: 600 11px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.lyr .who b { color: var(--text); letter-spacing: .04em; text-transform: none; font: 700 18px/1.2 var(--display); display: block; margin-top: 4px; }
.lyr p { margin: 0; padding: 6px 0 6px 12px; font: 600 19px/1.35 var(--display); color: var(--muted); border-left: 3px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease); cursor: pointer; }
.lyr p.gap { height: 16px; padding: 0; }
.lyr p.past { color: var(--faint); }
.lyr p.on { color: var(--text); border-left-color: var(--red); }
.lyr.plain p { color: var(--text); cursor: default; font-size: 17px; padding-left: 0; }
.lyr .src { margin-top: 24px; font-size: 11.5px; color: var(--faint); }
.dhead h2 i.red { background: var(--red); }
.dhead h2 i.blue { background: var(--blue); }
.dhead h2 i.round { background: var(--red); border-radius: 50%; }
