.cr-pnp-model-a {
  --cr-pnp-artwork: 88px;
  position: relative;
  overflow: hidden;
  color: #f8f7ff;
  border: 1px solid rgba(185, 164, 255, 0.32);
  background:
    radial-gradient(circle at 88% 10%, rgba(236, 72, 153, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(40, 22, 78, 0.94), rgba(12, 22, 58, 0.94));
  box-shadow: 0 24px 64px rgba(4, 5, 24, 0.46), inset 0 1px rgba(255, 255, 255, 0.08);
}

.cr-pnp-model-a::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(124, 58, 237, 0.12), rgba(59, 130, 246, 0.08) 48%, rgba(236, 72, 153, 0.1));
}

.cr-pnp-model-a > * { position: relative; z-index: 1; }

.cr-pnp-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: rgba(239, 232, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.cr-pnp-signal {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: #ec4899;
  box-shadow: 0 0 0 5px rgba(236, 72, 153, 0.12), 0 0 20px rgba(236, 72, 153, 0.72);
}

.cr-pnp-model-a[data-cr-pnp-state="OFFLINE"] .cr-pnp-signal,
.cr-pnp-model-a[data-cr-pnp-state="TIMEOUT"] .cr-pnp-signal,
.cr-pnp-model-a[data-cr-pnp-state="INVALID_DATA"] .cr-pnp-signal { background: #94a3b8; box-shadow: 0 0 0 5px rgba(148, 163, 184, 0.12); }
.cr-pnp-model-a[data-cr-pnp-state="STALE"] .cr-pnp-signal { background: #f59e0b; box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.12); }

.cr-pnp-body {
  display: grid;
  grid-template-columns: var(--cr-pnp-artwork) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.cr-pnp-artwork-wrap {
  width: var(--cr-pnp-artwork);
  height: var(--cr-pnp-artwork);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.62), rgba(37, 99, 235, 0.5) 52%, rgba(236, 72, 153, 0.5));
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(7, 8, 35, 0.38);
}

.cr-pnp-artwork-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cr-pnp-artwork-wrap img[hidden] { display: none; }
.cr-pnp-copy { min-width: 0; }
.cr-pnp-copy h2,
.cr-pnp-copy p { overflow-wrap: anywhere; }
.cr-pnp-copy h2 { margin: 3px 0 4px; color: #fff; font-size: clamp(1rem, 1.35vw, 1.28rem); line-height: 1.12; }
.cr-pnp-copy > p { margin: 0; }
.cr-pnp-status { color: #c4b5fd; font-size: 0.76rem; font-weight: 850; }
.cr-pnp-copy [data-cr-pnp-artist] { color: rgba(229, 231, 255, 0.76); font-size: 0.86rem; }
.cr-pnp-progress { margin-top: 7px !important; color: rgba(255, 255, 255, 0.68); font-size: 0.75rem; font-variant-numeric: tabular-nums; }

.cr-pnp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cr-pnp-retry,
.cr-pnp-schedule {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(196, 181, 253, 0.34);
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.18);
  color: #f8f7ff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.cr-pnp-schedule { background: rgba(59, 130, 246, 0.12); }
.cr-pnp-retry:hover,
.cr-pnp-schedule:hover { border-color: rgba(236, 72, 153, 0.62); background: rgba(139, 92, 246, 0.26); }
.cr-pnp-retry:focus-visible,
.cr-pnp-schedule:focus-visible { outline: 3px solid #f0abfc; outline-offset: 3px; }
.cr-pnp-retry:disabled { cursor: wait; opacity: 0.64; }

@media (max-width: 1919px) { .cr-pnp-model-a { --cr-pnp-artwork: 80px; } }
@media (max-width: 1279px) { .cr-pnp-model-a { --cr-pnp-artwork: 72px; } }
@media (max-width: 760px) {
  .cr-pnp-model-a { --cr-pnp-artwork: 64px; }
  .cr-pnp-body { gap: 13px; align-items: start; }
  .cr-pnp-artwork-wrap { border-radius: 17px; }
  .cr-pnp-actions { gap: 8px; }
  .cr-pnp-retry,
  .cr-pnp-schedule { padding-inline: 14px; }
}

@media (max-width: 320px) {
  .cr-pnp-body { grid-template-columns: minmax(0, 1fr); }
  .cr-pnp-artwork-wrap { justify-self: start; }
  .cr-pnp-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .cr-pnp-retry,
  .cr-pnp-schedule { width: 100%; max-width: 100%; box-sizing: border-box; }
}

@media (prefers-reduced-motion: reduce) {
  .cr-pnp-model-a,
  .cr-pnp-model-a * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
