.dp-preview-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255, 151, 74, 0.3);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(255, 151, 74, 0.1), rgba(114, 183, 255, 0.06));
  color: var(--dp-muted, #aeb9c8);
  font-size: 0.78rem;
  line-height: 1.45;
}

.dp-preview-bar__badge {
  flex: 0 0 auto;
  padding: 0.22rem 0.46rem;
  border-radius: 999px;
  background: #ff9348;
  color: #101720;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.dp-preview-bar__copy {
  min-width: 0;
  margin: 0;
}

.dp-preview-bar__action {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(255, 151, 74, 0.38);
  border-radius: 8px;
  background: rgba(255, 151, 74, 0.1);
  color: #ffad72;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.dp-preview-bar__action:hover,
.dp-preview-bar__action:focus-visible {
  border-color: rgba(255, 151, 74, 0.65);
  background: rgba(255, 151, 74, 0.17);
  color: #ffc093;
}

.dp-preview-bar.is-attention {
  animation: dp-preview-attention 0.7s ease;
}

.dp-preview-sample {
  position: relative;
}

.dp-preview-sample::after {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  padding: 0.22rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(12, 20, 30, 0.82);
  color: #9fabb9;
  content: "SAMPLE";
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  pointer-events: none;
}

@keyframes dp-preview-attention {
  50% {
    border-color: rgba(255, 151, 74, 0.85);
    box-shadow: 0 0 0 4px rgba(255, 151, 74, 0.1);
  }
}

@media (max-width: 640px) {
  .dp-preview-bar {
    flex-wrap: wrap;
  }

  .dp-preview-bar__copy {
    flex: 1 1 calc(100% - 5rem);
  }

  .dp-preview-bar__action {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dp-preview-bar.is-attention {
    animation: none;
  }
}
