/* Now playing card. Uses the host page's tokens: --fg --mute --line --acc --card --knob */
.np { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; padding: clamp(24px, 3vw, 40px); background: var(--card); border: 1px solid var(--line) }
.np-art { width: 100%; aspect-ratio: 1; object-fit: cover; display: block }
.np-body { display: flex; flex-direction: column; min-width: 0 }
.np-k { color: var(--acc); font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase }
.np-t { margin-top: 14px; font-family: var(--np-display, var(--display)); font-weight: var(--np-weight, 400); text-transform: uppercase; font-size: clamp(34px, 4vw, 56px); line-height: .95; letter-spacing: -.01em }
.np-a { margin-top: 8px; color: var(--mute); text-transform: uppercase; font-size: 17px; letter-spacing: .02em }
.np-bar { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; color: var(--mute); font-family: var(--mono); font-size: 12px; letter-spacing: .06em }
.np-track { position: relative; height: 18px; cursor: pointer; outline: none }
.np-track::before, .np-track i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--line) }
.np-track i { background: var(--fg); transform-origin: left; transform: scaleX(0) }
.np-track b { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--knob, var(--fg)); left: 0 }
.np-track:focus-visible b { box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 35%, transparent) }
.np-link { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); color: var(--mute); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase }
.np-link a { color: var(--acc); display: inline-flex; align-items: center; gap: 6px }
.np-link svg { width: 14px; height: 14px }
.np-ctl { margin-top: 22px; display: flex; align-items: center; gap: 16px }
.np-b { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--fg); background: transparent; cursor: pointer; transition: border-color .2s, color .2s, transform .2s }
.np-b svg { width: 18px; height: 18px }
.np-b:hover { border-color: var(--acc); color: var(--acc) }
.np-b:active { transform: scale(.94) }
.np-b:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px }
.np-play { width: 56px; height: 56px; background: var(--fg); color: var(--bg); border-color: var(--fg) }
.np-play:hover { background: var(--acc); border-color: var(--acc); color: #000 }
.np-play svg { width: 22px; height: 22px }
.np-note { margin-left: auto; color: var(--dim, var(--mute)); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase }
.np-embed { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; left: 0; bottom: 0 }
.np.is-playing .np-art { animation: np-pulse 2.4s ease-in-out infinite }
@keyframes np-pulse { 50% { filter: brightness(1.08) } }
@media (max-width: 700px) {
  .np { grid-template-columns: 1fr }
  .np-art { max-width: 260px }
  .np-note { display: none }
}
@media (prefers-reduced-motion: reduce) { .np.is-playing .np-art { animation: none } }
