/* 263C: product changes stay inside the now-playing/deals surfaces.  The
   legacy .product-transition rules are loaded earlier; every override here is
   scoped to the inline variant so no stage-wide panel can be reintroduced. */
.transition-inline-host {
  position: relative;
  overflow: hidden;
}

.product-transition-inline {
  position: absolute;
  inset: 3px;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-sizing: border-box;
  min-width: 0;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: inherit;
  background: rgba(20, 13, 32, .92);
  backdrop-filter: blur(10px);
  color: #fff;
  animation: pt-inline 420ms ease-out both;
  pointer-events: none;
}

.product-transition-inline img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  max-width: none;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.product-transition-inline .pt-label {
  flex: none;
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .72;
}

.product-transition-inline .pt-title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* live-160.css has a more specific mobile rule for the legacy class.  Keep
   these declarations explicit so that rule cannot move the inline cue back
   over the stage or restore the large title treatment. */
.watch .product-transition-inline {
  inset: 3px;
  top: 3px;
  right: 3px;
  bottom: 3px;
  left: 3px;
  max-width: none;
  background: rgba(20, 13, 32, .92);
}

.watch .product-transition-inline .pt-title {
  display: block;
  max-width: none;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

@keyframes pt-inline {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .product-transition-inline { animation: none; }
}
