/* NMP-080826 lib1: Library, artist and release pages, modern Queue / Playlists / Convert.
   Loaded after nihilus.css. Scoped under .lx-root (the tabs area). Motion: transform and opacity only. */

.lx-root {
  --lx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --lx-r: 10px;
  --lx-hover: rgba(255, 255, 255, 0.045);
  --lx-line: rgba(255, 255, 255, 0.06);
  --lx-hot2: #ff3346;
}

/* Root is excluded from view transitions: only the library view (and one cover) is snapshotted. */
html.nmp-soft-shell { view-transition-name: none; }

@keyframes lx-rise { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
@keyframes lx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lx-eq { 0% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0.45); } }
@keyframes lx-vt-out { to { opacity: 0; transform: translate3d(0, -6px, 0); } }
@keyframes lx-vt-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } }

/* ---------- tabs ---------- */
html .lx-root .nmp-tabs { position: relative; display: flex; gap: 0; border-bottom: 1px solid var(--edge-soft); }
html .lx-root .nmp-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.01em; text-transform: none;
  color: var(--ash); padding: 12px 6px 11px; border: 0; border-bottom: 0; background: transparent;
  transition: color 0.2s;
}
html .lx-root .nmp-tab svg { width: 17px; height: 17px; flex: none; opacity: 0.8; transition: color 0.2s, opacity 0.2s; }
html .lx-root .nmp-tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html .lx-root .nmp-tab:hover { color: var(--bone); }
html .lx-root .nmp-tab[aria-selected="true"] { color: var(--bone); border-bottom-color: transparent; }
html .lx-root .nmp-tab[aria-selected="true"] svg { color: var(--hot); opacity: 1; }
html .lx-root .nmp-tabs::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; border-radius: 2px;
  width: calc(100% / var(--tab-n, 4)); background: var(--hot);
  transform: translate3d(calc(var(--tab-i, 2) * 100%), 0, 0); transition: transform 0.32s var(--lx-ease);
}
html .lx-root .nmp-tab:focus-visible { outline: 2px solid var(--hot); outline-offset: -4px; border-radius: 8px; }

/* ---------- panels ---------- */
html.nmp-soft-shell .lx-root .lx-panel:not([aria-hidden="true"]) { animation: lx-rise 0.26s var(--lx-ease) both; }
html.nmp-soft-shell .lx-root .lx-panel { padding: 12px 10px 0; }
.lx-root .lx-scroll, html.nmp-soft-shell .lx-music #nmp-lib, html.nmp-soft-shell .lx-root #nmp-queue {
  scrollbar-width: thin; scrollbar-color: var(--raised) transparent;
}
html.nmp-soft-shell .lx-root .lx-scroll { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 0 4px 28px; }
html.nmp-soft-shell .lx-music #nmp-lib { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 0 4px 28px; }
html.nmp-soft-shell .lx-music.lx-on-tracks #nmp-lib { flex: 0 0 auto; overflow: visible; padding-bottom: 4px; }
.lx-root .nmp-shelf[hidden] { display: none !important; }
html.nmp-soft-shell .lx-root #nmp-queue { margin-top: 0; padding: 0 2px 28px; }
.lx-root #nmp-lib.lx-enter { animation: lx-rise 0.24s var(--lx-ease) both; }
.lx-root :focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.lx-root [tabindex="-1"]:focus { outline: none; }

/* ---------- type ---------- */
.lx-eyebrow { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash); }
.lx-h1 {
  margin: 4px 0 8px; font-family: var(--font-display); font-weight: 700; color: var(--bone);
  font-size: clamp(28px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -0.01em;
  text-wrap: balance; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.lx-h1-sm { font-size: clamp(24px, 3.2vw, 32px); }
.lx-h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--bone); letter-spacing: 0; text-transform: none; }
.lx-sub { margin: 0; font-size: 14px; color: var(--ash); overflow-wrap: anywhere; }
.lx-sub a, .lx-feature-meta .lx-sub a { color: var(--bone); font-weight: 600; text-decoration: none; }
.lx-sub a:hover { color: var(--hot); }
.lx-meta { font-size: 12.5px; color: var(--ash); }
.lx-bio { margin: 14px 0 0; max-width: 60ch; font-size: 13.5px; line-height: 1.5; color: var(--ash); }
.lx-link { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); text-decoration: none; }
.lx-link:hover { color: var(--bone); }
.lx-foot { margin: 18px 6px 0; font-size: 12px; color: var(--dim); }
.lx-hint { margin: 8px 0; padding: 18px; text-align: center; font-size: 13px; color: var(--dim); }

/* ---------- buttons ---------- */
.lx-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.lx-btn, .lx-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--edge); background: rgba(255, 255, 255, 0.03); color: var(--bone);
  font: 600 13px/1 var(--font-body); letter-spacing: 0.01em; text-transform: none; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.2s, border-color 0.2s, transform 0.15s var(--lx-ease);
}
.lx-btn svg, .lx-pill svg { width: 16px; height: 16px; flex: none; }
.lx-btn:hover, .lx-pill:hover { border-color: var(--ash); background: rgba(255, 255, 255, 0.07); }
.lx-btn:active, .lx-pill:active, .lx-icon-btn:active { transform: scale(0.96); }
.lx-btn:disabled { opacity: 0.45; cursor: default; transform: none; }
.lx-btn.is-done { border-color: var(--signal); color: var(--signal); }
.lx-btn-hot { background: var(--hot); border-color: var(--hot); color: #fff; }
.lx-btn-hot:hover { background: var(--lx-hot2); border-color: var(--lx-hot2); }
.lx-btn-sm { height: 32px; padding: 0 12px; font-size: 12px; }
.lx-pill { height: 34px; padding: 0 14px; font-size: 12.5px; }
.lx-icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 1px solid var(--edge); background: transparent; color: var(--ash); cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.15s var(--lx-ease);
}
.lx-icon-btn.lx-btn-sm { width: 32px; height: 32px; }
.lx-icon-btn:hover { color: var(--bone); border-color: var(--ash); }
.lx-play-big {
  display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%;
  background: var(--hot); color: #fff; cursor: pointer; flex: none;
  box-shadow: 0 10px 26px -10px rgba(235, 30, 50, 0.75);
  transition: transform 0.18s var(--lx-ease), background-color 0.2s;
}
.lx-play-big svg { width: 24px; height: 24px; margin-left: 2px; }
.lx-play-big:hover { transform: scale(1.06); background: var(--lx-hot2); }
.lx-play-big:active { transform: scale(0.95); }
.lx-i-pause { display: none; }
.is-ctx .lx-i-play { display: none; }
.is-ctx .lx-i-pause { display: contents; }
.lx-i-play { display: contents; }
.is-ctx svg { margin-left: 0 !important; }
.lx-sep { width: 1px; height: 22px; background: var(--edge); margin: 0 2px; }

/* ---------- library home ---------- */
.lx-topbar {
  position: sticky; top: -1px; z-index: 4; display: flex; align-items: center; padding: 5px 0 10px;
  background: linear-gradient(var(--void) 62%, rgba(7, 6, 7, 0));
}
.lx-back {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 8px; border-radius: 999px;
  color: var(--bone); text-decoration: none; font: 600 13px var(--font-body);
  background: rgba(20, 16, 17, 0.8); border: 1px solid var(--edge-soft); transition: background-color 0.2s;
}
.lx-back svg { width: 18px; height: 18px; }
.lx-back:hover { background: var(--steel); }
.lx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 6px 0 18px; }
.lx-head-tight { margin: 0 0 8px; }
.lx-sec { margin: 0 0 30px; padding-top: 4px; content-visibility: auto; contain-intrinsic-size: auto 280px; }
.lx-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }

.lx-feature {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 156px minmax(0, 1fr);
  gap: 22px; align-items: end; padding: 20px; margin: 0 0 30px; border-radius: 16px;
  background: var(--iron); border: 1px solid var(--edge-soft); animation: lx-rise 0.4s var(--lx-ease) both;
}
.lx-feature-bg, .lx-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lx-feature-bg img, .lx-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.55;
  filter: blur(30px) saturate(1.25); transform: scale(1.35);
}
.lx-feature-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 7, 0.88) 0%, rgba(7, 6, 7, 0.45) 100%), linear-gradient(0deg, rgba(7, 6, 7, 0.55), rgba(7, 6, 7, 0) 60%); }
.lx-feature-art { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--steel); box-shadow: 0 18px 40px -18px #000; transition: transform 0.3s var(--lx-ease); }
.lx-feature-art:hover { transform: translateY(-3px); }
.lx-feature-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lx-feature-meta { min-width: 0; }
.lx-feature-t {
  display: block; margin: 6px 0 6px; font: 700 clamp(22px, 3.4vw, 36px)/1.05 var(--font-display); color: var(--bone);
  text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lx-feature-t:hover { color: #fff; }

.lx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 20px 16px; }
.lx-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(136px, 164px); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 4px 2px 8px; margin: -4px -2px 0;
  scrollbar-width: none;
}
.lx-rail::-webkit-scrollbar { display: none; }
.lx-rail > * { scroll-snap-align: start; }

.lx-card { position: relative; min-width: 0; container-type: inline-size; animation: lx-rise 0.36s var(--lx-ease) both; animation-delay: calc(var(--i, 0) * 24ms); }
.lx-card-link { display: flex; flex-direction: column; gap: 3px; padding: 8px; margin: -8px; border-radius: 12px; color: inherit; text-decoration: none; transition: background-color 0.2s; }
.lx-card-link:hover { background: var(--lx-hover); }
.lx-art {
  position: relative; display: block; aspect-ratio: 1; margin-bottom: 8px; border-radius: 8px; overflow: hidden;
  background: var(--steel); box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.9); transition: transform 0.3s var(--lx-ease);
}
.lx-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lx-card-link:hover .lx-art { transform: translate3d(0, -3px, 0); }
.lx-card-link:active .lx-art { transform: scale(0.97); }
.lx-art-round { border-radius: 50%; }
.lx-art img.lx-dim, .lx-hero-art img.lx-dim { filter: brightness(0.42) saturate(1.15); }
.lx-art .lx-logo, .lx-hero-art .lx-logo { position: absolute; inset: 0; margin: auto; width: 72%; height: auto; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.lx-card-artist .lx-card-link { text-align: center; }
.lx-card-t { font: 600 14px/1.3 var(--font-body); color: var(--bone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-card-s { font-size: 12.5px; line-height: 1.3; color: var(--ash); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-card.is-now .lx-card-t { color: var(--hot); }
.lx-fab {
  position: absolute; right: 8px; top: calc(100cqw - 52px); display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 50%; background: var(--hot); color: #fff; cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.8); opacity: 0; transform: translate3d(0, 8px, 0);
  transition: opacity 0.22s, transform 0.26s var(--lx-ease), background-color 0.2s;
}
.lx-fab svg { width: 20px; height: 20px; margin-left: 2px; }
.lx-card:hover .lx-fab, .lx-fab:focus-visible, .lx-card.is-now .lx-fab { opacity: 1; transform: none; }
.lx-fab:hover { background: var(--lx-hot2); transform: scale(1.06); }
@media (hover: none) {
  .lx-fab { opacity: 1; transform: none; width: 38px; height: 38px; top: calc(100cqw - 46px); }
  .lx-fab svg { width: 17px; height: 17px; }
}

.lx-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--blood) 0%, var(--iron) 100%); color: rgba(233, 229, 216, 0.72); }
.lx-ph svg { width: 34%; height: 34%; }
.lx-mosaic { display: grid; grid-template-columns: 1fr 1fr; width: 100%; height: 100%; }
.lx-mosaic img { width: 100%; height: 100%; object-fit: cover; }

.lx-empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 16px; text-align: center;
  border: 1px dashed var(--edge); border-radius: 14px; color: var(--ash); font-size: 14px; animation: lx-fade 0.3s both;
}
.lx-empty p { margin: 0; }
.lx-empty > svg { width: 30px; height: 30px; color: var(--dim); }
.lx-empty-s { font-size: 12.5px; color: var(--dim); }
.lx-empty .lx-btn, .lx-empty .lx-actions { margin-top: 6px; }
.lx-empty-row { padding: 24px 16px; }

/* ---------- artist / release hero ---------- */
.lx-hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 216px minmax(0, 1fr);
  gap: 28px; align-items: end; padding: 28px 24px 24px; margin: 0 0 18px; border-radius: 16px; background: var(--iron);
}
.lx-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 6, 7, 0.2) 0%, rgba(7, 6, 7, 0.7) 70%, rgba(7, 6, 7, 0.92) 100%); }
.lx-hero-art { position: relative; display: block; width: 216px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--steel); box-shadow: 0 28px 60px -24px #000; }
.lx-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lx-hero-art.lx-art-round { border-radius: 50%; }
.lx-hero-meta { min-width: 0; }

/* ---------- track rows (release, queue, playlist) ---------- */
.lx-tracks, .lx-list { list-style: none; margin: 0; padding: 0; }
.lx-tracks { content-visibility: auto; contain-intrinsic-size: auto 640px; }
.lx-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center;
  border-radius: 10px; color: var(--bone); transition: background-color 0.15s;
  animation: lx-rise 0.32s var(--lx-ease) both; animation-delay: calc(var(--i, 0) * 18ms);
}
.lx-row:hover { background: var(--lx-hover); }
.lx-row-btn, .lx-qrow {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 56px;
  padding: 6px 10px 6px 4px; margin: 0; border: 0; border-radius: 10px; background: transparent; color: inherit;
  font: inherit; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.lx-qrow { grid-template-columns: 32px 40px minmax(0, 1fr) auto auto; margin-bottom: 2px; }
.lx-plrow { grid-template-columns: 30px 30px 40px minmax(0, 1fr) auto; gap: 10px; min-height: 56px; padding: 6px 10px 6px 0; cursor: pointer; margin-bottom: 2px; }
.lx-n { position: relative; display: grid; place-items: center; height: 24px; color: var(--dim); font: 13px var(--font-mono); font-variant-numeric: tabular-nums; }
.lx-n > * { grid-area: 1 / 1; transition: opacity 0.15s; }
.lx-n-play, .lx-eq { opacity: 0; }
.lx-n-play svg { width: 16px; height: 16px; color: var(--bone); }
@media (hover: hover) {
  .lx-row:hover .lx-n-num, .lx-row:hover .lx-eq { opacity: 0; }
  .lx-row:hover .lx-n-play { opacity: 1; }
  .lx-row:hover .lx-more { opacity: 1; }
}
.lx-row.is-now .lx-n-num { opacity: 0; }
.lx-row.is-now .lx-eq { opacity: 1; }
.lx-row.is-now .lx-t { color: var(--hot); }
.lx-eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.lx-eq i { display: block; width: 3px; height: 100%; border-radius: 1px; background: var(--hot); transform-origin: 50% 100%; transform: scaleY(0.35); }
.lx-eq i:nth-child(2) { transform: scaleY(0.75); }
.lx-eq i:nth-child(3) { transform: scaleY(0.5); }
.lx-root[data-playing="1"] .is-now .lx-eq i { animation: lx-eq 0.9s ease-in-out infinite alternate; }
.lx-root[data-playing="1"] .is-now .lx-eq i:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.3s; }
.lx-root[data-playing="1"] .is-now .lx-eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.6s; }
.lx-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lx-t { font-size: 14.5px; line-height: 1.3; color: var(--bone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-s { font-size: 12.5px; line-height: 1.3; color: var(--ash); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-dur { font: 12.5px var(--font-mono); color: var(--ash); font-variant-numeric: tabular-nums; text-align: right; }
.lx-more {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ash); cursor: pointer; opacity: 0; transition: opacity 0.15s, color 0.15s, background-color 0.15s;
}
.lx-more svg { width: 18px; height: 18px; }
.lx-more:hover { color: var(--bone); background: rgba(255, 255, 255, 0.07); }
.lx-more:focus-visible { opacity: 1; }
@media (hover: none) { .lx-more { opacity: 0.85; } }
.lx-thumb { display: block; width: 40px; height: 40px; border-radius: 5px; object-fit: cover; background: var(--steel); }
.lx-thumb.lx-ph svg { width: 18px; height: 18px; }
.lx-tag { font: 9.5px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); border: 1px solid var(--edge); border-radius: 999px; padding: 3px 7px; }
.lx-row.sel { background: rgba(235, 30, 50, 0.09); box-shadow: inset 0 0 0 1px rgba(235, 30, 50, 0.35); }
.lx-row.missing .lx-t { color: var(--dim); }
.lx-drag { display: grid; place-items: center; height: 40px; padding: 0; color: var(--dim); cursor: grab; touch-action: none; }
.lx-drag svg { width: 16px; height: 16px; }
.lx-row.sel .lx-drag { color: var(--hot); }

/* ---------- tab headers ---------- */
.lx-tabhead { flex: 0 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin: 2px 4px 14px; }
.lx-tabhead .lx-h2 { font-size: 24px; font-weight: 700; margin-top: 2px; }

/* ---------- playlists ---------- */
.lx-plgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin-bottom: 22px; }
.lx-plcard {
  display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 8px; border: 1px solid transparent; border-radius: 12px;
  background: transparent; color: inherit; font: inherit; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s; animation: lx-rise 0.34s var(--lx-ease) both; animation-delay: calc(var(--i, 0) * 24ms);
}
.lx-plcard:hover { background: var(--lx-hover); }
.lx-plcard:hover .lx-art { transform: translate3d(0, -3px, 0); }
.lx-plcard.on { background: rgba(235, 30, 50, 0.08); border-color: rgba(235, 30, 50, 0.35); }
.lx-plcard.on .lx-card-t { color: var(--hot); }
.lx-pl-head {
  display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px; align-items: end; padding: 18px; margin: 0 0 10px;
  border-radius: 16px; border: 1px solid var(--edge-soft);
  background: linear-gradient(135deg, rgba(108, 6, 22, 0.42) 0%, rgba(17, 14, 15, 0.7) 70%);
  animation: lx-rise 0.3s var(--lx-ease) both;
}
.lx-pl-head[hidden] { display: none; }
.lx-pl-art { width: 136px; margin: 0; }
.lx-pl-meta { min-width: 0; }
.lx-pl-meta .lx-h1 { -webkit-line-clamp: 2; }

/* ---------- convert ---------- */
.lx-conv-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; }
.lx-cardbox { min-width: 0; padding: 16px; border-radius: 16px; background: var(--iron); border: 1px solid var(--edge-soft); animation: lx-rise 0.32s var(--lx-ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.lx-box-h { margin-bottom: 12px; font: 600 16px var(--font-display); color: var(--bone); }
.lx-drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 12px; text-align: center;
  border: 1.5px dashed var(--edge); border-radius: 12px; background: radial-gradient(ellipse at 50% 0%, rgba(235, 30, 50, 0.08), rgba(235, 30, 50, 0) 70%);
}
.lx-drop-ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 4px; border-radius: 50%; background: rgba(235, 30, 50, 0.13); color: var(--hot); }
.lx-drop-ico svg { width: 22px; height: 22px; }
.lx-drop-t { font: 600 16px var(--font-display); color: var(--bone); }
.lx-drop-s { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ash); }
.lx-actions-c { justify-content: center; margin-top: 10px; }
.lx-conv-list { margin-top: 12px; max-height: 280px; overflow-y: auto; }
html.nmp-soft-shell .lx-root .lx-conv-list { flex: none; }
.lx-conv-list .nmp-qrow {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; margin: 0 0 6px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, 0.035); color: var(--bone); font-size: 13.5px; cursor: default; animation: lx-rise 0.25s var(--lx-ease) both;
}
.lx-conv-list .nmp-qrow::before {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 7px;
  background: rgba(235, 30, 50, 0.13) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eb1e32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l11-2v13'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='17.5' cy='16' r='2.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.lx-conv-list .nmp-qrow > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-conv-list .nmp-link { flex: none; height: 28px; padding: 0 10px; border: 1px solid var(--edge); border-radius: 999px; background: transparent; color: var(--ash); font: 600 11.5px var(--font-body); text-transform: none; letter-spacing: 0; cursor: pointer; }
.lx-conv-list .nmp-link:hover { color: var(--bone); border-color: var(--ash); }
.lx-conv-list > .muted { display: none; }
.lx-conv-list:not(:has(.nmp-qrow)) { margin-top: 0; }
.lx-root .lx-field { margin: 0 0 16px; }
.lx-root .lx-field > label, .lx-root .lx-field .nmp-conv-br-lab label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.lx-root .lx-field .nmp-conv-br-lab span { font: 600 12.5px var(--font-mono); color: var(--hot); }
.lx-seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 8px; padding: 3px; border-radius: 999px; background: var(--void); border: 1px solid var(--edge); }
.lx-seg button { height: 34px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--ash); font: 600 13px var(--font-body); letter-spacing: 0.03em; cursor: pointer; transition: color 0.2s, background-color 0.2s; }
.lx-seg button:hover { color: var(--bone); }
.lx-seg button[aria-checked="true"] { background: var(--hot); color: #fff; }
.lx-root select.lx-sr, .lx-sr {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}
.lx-root .lx-switch { position: relative; display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; font-size: 13.5px; color: var(--bone); cursor: pointer; text-transform: none; letter-spacing: 0; }
.lx-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.lx-switch-ui { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--steel); border: 1px solid var(--edge); transition: background-color 0.2s, border-color 0.2s; }
.lx-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--bone); transition: transform 0.22s var(--lx-ease); }
.lx-switch input:checked + .lx-switch-ui { background: var(--hot); border-color: var(--hot); }
.lx-switch input:checked + .lx-switch-ui::after { transform: translate3d(16px, 0, 0); }
.lx-switch input:focus-visible + .lx-switch-ui { outline: 2px solid var(--hot); outline-offset: 2px; }
.lx-dir { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--edge-soft); }
.lx-dir-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); color: var(--ash); flex: none; }
.lx-dir-ico svg { width: 17px; height: 17px; }
.lx-dir-name { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--ash); overflow-wrap: anywhere; }
.lx-runbar {
  position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 10px; margin: 14px 0; padding: 12px 14px;
  border-radius: 16px; background: var(--iron); border: 1px solid var(--edge);
  box-shadow: 0 -16px 28px -12px rgba(7, 6, 7, 0.95); animation: lx-rise 0.32s var(--lx-ease) both; animation-delay: 80ms;
}
.lx-run-status { flex: 1; min-width: 0; }
.lx-root .lx-meter { height: 4px; margin: 0; border-radius: 999px; background: var(--steel); overflow: hidden; border: 0; }
.lx-root .lx-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blood-lit), var(--hot)); }
.lx-status { margin: 6px 0 0; min-height: 1.3em; font-size: 12.5px; color: var(--ash); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-status:empty::before { content: "Ready when you are."; color: var(--dim); }
.lx-nih { margin-top: 0; }
.lx-nih-h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.lx-nih-h .lx-box-h { margin-bottom: 2px; }
.lx-root .lx-field input[type="text"] { border-radius: 10px; }

/* ---------- all tracks (power view) ---------- */
.lx-music .nmp-smart-tab { border-radius: 999px; }
.lx-music .nmp-table { border-collapse: separate; border-spacing: 0; }
.lx-music .nmp-table tbody tr { transition: background-color 0.15s; }
.lx-music .nmp-table tbody tr:hover td { background: var(--lx-hover); }
.lx-music .nmp-table tbody td:first-child { border-radius: 8px 0 0 8px; }
.lx-music .nmp-table tbody td:last-child { border-radius: 0 8px 8px 0; }
.lx-music .nmp-table tbody td { border-bottom-color: transparent; }

/* ---------- view transitions ---------- */
::view-transition-old(lx-view) { animation: lx-vt-out 0.16s ease both; }
::view-transition-new(lx-view) { animation: lx-vt-in 0.28s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
::view-transition-group(lx-cover) { animation-duration: 0.38s; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 5; }
::view-transition-old(lx-cover), ::view-transition-new(lx-cover) { animation: none; mix-blend-mode: normal; height: 100%; }
::view-transition-old(lx-cover) { opacity: 0; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .lx-conv-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lx-hero { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; padding: 18px 14px 18px; text-align: center; }
  .lx-hero-art { width: min(56vw, 220px); }
  .lx-hero .lx-actions { justify-content: center; }
  .lx-feature { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .lx-feature .lx-actions { margin-top: 10px; }
  .lx-feature-t { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 22px; }
  .lx-feature .lx-play-big { width: 44px; height: 44px; }
  .lx-feature .lx-play-big svg { width: 20px; height: 20px; }
  .lx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .lx-rail { grid-auto-columns: minmax(124px, 140px); gap: 14px; }
  .lx-pl-head { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .lx-pl-art { width: 96px; }
  .lx-pl-head .lx-actions { gap: 8px; }
  .lx-pl-head .lx-play-big { width: 44px; height: 44px; }
  .lx-plgrid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
  .lx-runbar { flex-wrap: wrap; }
  .lx-run-status { flex-basis: 100%; }
  .lx-runbar .lx-btn { flex: 1; }
  .lx-tabhead .lx-h2 { font-size: 21px; }
}
@media (max-width: 480px) {
  html .lx-root .nmp-tab { flex-direction: column; gap: 3px; padding: 9px 2px 8px; font-size: 11px; }
  html .lx-root .nmp-tab svg { width: 18px; height: 18px; }
  .lx-row-btn { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; }
  .lx-qrow { grid-template-columns: 26px 40px minmax(0, 1fr) auto auto; gap: 10px; }
  .lx-plrow { grid-template-columns: 26px 24px 40px minmax(0, 1fr) auto; gap: 8px; }
  .lx-dir { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .lx-dir .lx-btn { grid-column: 2; justify-self: start; }
  .lx-dir .lx-icon-btn { grid-column: 3; grid-row: 2; }
  .lx-pl-head .lx-actions { gap: 6px; }
  .lx-pl-head .lx-icon-btn { width: 34px; height: 34px; }
  .lx-pl-head .lx-icon-btn svg { width: 16px; height: 16px; }
  .lx-pl-head .lx-sep { display: none; }
  .lx-hero .lx-actions { gap: 8px; }
  .lx-hero [data-act^="queue-"] { width: 38px; padding: 0; }
  .lx-hero [data-act^="queue-"] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .lx-root, .lx-root *, .lx-root *::before, .lx-root *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
