/* LINGSCAN global dock (G1) — idle 4px line, playing 64px. */
#ls-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  height: 4px; overflow: hidden;
  background: var(--ink0, #1d1f1e);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #f3f2ee; font: 13px/1.3 var(--f-sans, system-ui, sans-serif);
  transition: height 180ms ease;
}
#ls-dock::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--brass, #e8862a); opacity: 0.5;
}
#ls-dock:not(.is-open) .ld-row { visibility: hidden; }
#ls-dock.is-open { height: 64px; }
#ls-dock.is-open::before { display: none; }
body.has-dock { padding-bottom: 64px; }
#ls-dock .ld-row {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.6fr) auto;
  align-items: center; gap: 16px; height: 64px; padding: 0 16px;
}
#ls-dock .ld-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
#ls-dock .ld-cover {
  width: 40px; height: 40px; border-radius: 4px; flex: none;
  background: #2b2d2c center / cover no-repeat;
}
#ls-dock .ld-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ls-dock .ld-artist { font-size: 12px; color: #b9bab6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ls-dock .ld-text { min-width: 0; }
#ls-dock .ld-ctrl { display: flex; align-items: center; gap: 10px; }
#ls-dock button {
  all: unset; cursor: pointer; width: 28px; height: 28px; display: grid; place-items: center;
  color: #b9bab6; font-size: 16px; border-radius: 50%;
}
#ls-dock button:hover { color: #f3f2ee; }
#ls-dock button:focus-visible { outline: 2px solid var(--brass, #e8862a); outline-offset: 1px; }
#ls-dock .ld-play { width: 36px; height: 36px; background: #f3f2ee; color: var(--ink0, #1d1f1e); }
#ls-dock .ld-play:hover { color: var(--ink0, #1d1f1e); background: #fff; }
#ls-dock .ld-seek { display: flex; align-items: center; gap: 10px; min-width: 0; }
#ls-dock .ld-bar {
  position: relative; flex: 1; height: 3px; background: rgba(255, 255, 255, 0.16);
  border-radius: 2px; cursor: pointer; transition: height 120ms;
}
#ls-dock .ld-bar:hover { height: 5px; }
#ls-dock .ld-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--brass, #e8862a); border-radius: 2px; }
#ls-dock .ld-time { font: 12px var(--f-mono, ui-monospace, monospace); color: #b9bab6; white-space: nowrap; }
#ls-dock .ld-vol { display: flex; align-items: center; gap: 6px; }
#ls-dock .ld-vol input { width: 80px; accent-color: var(--brass, #e8862a); }
@media (max-width: 640px) {
  #ls-dock .ld-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 0 10px; }
  #ls-dock .ld-seek, #ls-dock .ld-vol, #ls-dock .ld-prev, #ls-dock .ld-next { display: none; }
  #ls-dock .ld-m-line { display: block; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.16); }
  #ls-dock .ld-m-line i { display: block; height: 100%; width: 0; background: var(--brass, #e8862a); }
}
@media (min-width: 641px) { #ls-dock .ld-m-line { display: none; } }
/* list integration: current row */
.ld-current { color: var(--brass, #e8862a) !important; }
@media (prefers-reduced-motion: reduce) { #ls-dock, #ls-dock .ld-bar { transition: none; } }
