/* F8 Sounds — Now Playing dock. */
body.has-dock main { padding-bottom: calc(var(--dock-h) + 48px); }
.dock { position: fixed; right: 0; bottom: 0; left: var(--side-w); z-index: 28; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) auto; align-items: center; gap: 18px; height: var(--dock-h); padding: 0 20px; background: var(--bg); box-shadow: 0 -1px 0 var(--line); }
.dk-t { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.dk-t > span { min-width: 0; }
.dk-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-sub { display: block; color: var(--muted); font-size: 12.5px; }
.dk-c { display: flex; align-items: center; gap: 14px; }
.dk-play { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--text); color: var(--bg); cursor: pointer; transition: transform var(--dur-base) var(--ease-spring); }
.dk-play:active { transform: scale(.92); }
.dock.cue .dk-play { position: relative; background: var(--accent); color: var(--on-accent); }
.dock.cue .dk-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: f8-ring 1.2s ease-out 3; }
.dk-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 20px; }
.dk-wave i { flex: 1; height: 100%; border-radius: 1px; background: var(--line); transform: scaleY(.2); }
.dock.playing .dk-wave i { background: var(--accent); }
.dk-jump { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 99px; background: transparent; color: var(--text); font: 600 13.5px var(--font); cursor: pointer; }
.dk-jump:hover { background: var(--panel); }
@media (max-width: 860px) {
  .dock { right: 8px; bottom: calc(var(--tab-h) + 8px + env(safe-area-inset-bottom)); left: 8px; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; height: 60px; padding: 0 10px; border-radius: 14px; background: var(--raise); box-shadow: var(--raise-ring), 0 -6px 20px rgba(0, 0, 0, .25); }
  body:has(.tabbar.away) .dock { bottom: calc(8px + env(safe-area-inset-bottom)); }
  .dk-wave, .dk-r { display: none; }
  body.has-dock main { padding-bottom: 24px; }
  body.has-dock .footer { padding-bottom: calc(var(--tab-h) + 92px); }
}
