#nxd-host { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 18px; box-sizing: border-box; }
#nxd-host[hidden] { display: none; }
.nxd-backdrop { position: absolute; inset: 0; background: rgba(8, 10, 16, 0.55); backdrop-filter: blur(3px); }
.nxd-panel { position: relative; width: min(860px, 100%); max-height: 92vh; overflow: auto; border-radius: 18px; padding: 18px; background: var(--surface, var(--live-card, #fff)); color: var(--text, inherit); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4); }
#nxd-host .nxd-panel::-webkit-scrollbar { width: 8px; }
.nxd-close { position: sticky; top: 0; float: right; width: 30px; height: 30px; border-radius: 50%; border: none; font-size: 1.2rem; background: rgba(0, 0, 0, 0.07); color: inherit; cursor: pointer; z-index: 2; }
.nxd-pad { clear: both; }
body.nxd-lock { overflow: hidden; }

.nxd-hero { display: flex; gap: 18px; align-items: flex-start; }
.nxd-hero .nxd-photo { flex: none; width: 220px; aspect-ratio: 1; border-radius: 16px; background: color-mix(in srgb, var(--live-muted, #888) 18%, transparent) center/cover no-repeat; }
.nxd-hero-meta { min-width: 0; }
.nxd-kicker { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #e03e3e; margin: 0 0 4px; }
.nxd-hero-meta h2 { font-size: 1.55rem; margin: 0 0 6px; line-height: 1.2; }
.nxd-sub { margin: 0; color: var(--live-muted, #888); font-size: 0.86rem; }
.nxd-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nxd-stat { display: inline-flex; flex-direction: column; align-items: center; min-width: 84px; padding: 6px 8px; border-radius: 10px; background: color-mix(in srgb, var(--live-muted, #888) 12%, transparent); }
.nxd-stat b { font-size: 1.05rem; }
.nxd-stat i { font-style: normal; font-size: 0.72rem; color: var(--live-muted, #888); }

.nxd-block { margin-top: 18px; }
.nxd-title { font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--live-muted, #888); margin: 0 0 6px; font-weight: 700; }
.nxd-hrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nxd-brief { margin: 0 0 6px; font-size: 0.9rem; line-height: 1.65; color: var(--text, inherit); white-space: pre-wrap; }
.nxd-more { margin-top: 4px; color: var(--live-muted, #777); font-size: 0.85rem; }
.nxd-more summary { cursor: pointer; }

.nxd-tracks { list-style: none; margin: 8px 0 0; padding: 0; }
.nxd-track { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 8px; }
.nxd-track:hover { background: color-mix(in srgb, var(--live-muted, #888) 10%, transparent); }
.nxd-play { flex: none; width: 30px; height: 30px; border-radius: 50%; border: none; background: #e03e3e; color: #fff; cursor: pointer; }
.nxd-tn { width: 20px; text-align: right; color: var(--live-muted, #888); font-size: 0.8rem; }
.nxd-txt { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.nxd-txt strong { font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nxd-txt span { font-size: 0.78rem; color: var(--live-muted, #888); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nxd-dur { flex: none; color: var(--live-muted, #999); font-size: 0.8rem; }

.nxd-skel { border-radius: 10px; background: linear-gradient(100deg, color-mix(in srgb, var(--live-muted, #999) 16%, transparent) 8%, color-mix(in srgb, var(--live-muted, #999) 30%, transparent) 25%, color-mix(in srgb, var(--live-muted, #999) 16%, transparent) 42%); background-size: 180% 100%; animation: nxd-shimmer 1.2s linear infinite; width: 90%; height: 14px; margin: 16px 0 0; }
.nxd-skel-huge { width: 220px; height: 220px; margin: 0; }
@keyframes nxd-shimmer { to { background-position-x: -180%; } }

.nxd-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-top: 8px; }
.nxd-album { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: none; border: none; cursor: pointer; text-align: left; padding: 0; }
.nxd-album-art { width: 100%; aspect-ratio: 1; border-radius: 12px; background: color-mix(in srgb, var(--live-muted, #999) 18%, transparent) center/cover no-repeat; }
.nxd-album-name { font-size: 0.88rem; line-height: 1.2; max-width: 100%; }
.nxd-album .nxd-sub, .nxd-sub { max-width: 100%; color: var(--live-muted, #888); font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nxd-actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .nxd-hero { flex-direction: column; }
  .nxd-hero .nxd-photo { width: 100%; }
  .nxd-skel-huge { width: 100%; }
}
