/* User-site placeholders always use the local logo.
   Avatars keep their own fallback; backend placeholder settings are ignored. */
.pc-long-video-card__cover,
.pc-short-video-card__cover,
.pc-short-drama-card__cover,
.mobile-long-video-card__cover,
.mobile-short-drama-card__cover,
.mobile-search-card__cover,
.video-player__poster-layer,
.video-player__mobile-preroll-placeholder,
.recommend-apps__icon-wrap {
  --media-placeholder-image: url("/static/images/brand-20261023/x-mark.png?v=20261023-brand-1");
  --media-placeholder-width: 160px;
  --media-placeholder-height: 160px;
  background-image: none !important;
  isolation: isolate;
}

.mobile-long-video-card__cover,
.mobile-short-drama-card__cover,
.mobile-search-card__cover,
.video-player__mobile-preroll-placeholder {
  --media-placeholder-width: 80px;
  --media-placeholder-height: 80px;
}

@media (max-width: 768px), (max-height: 768px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .video-player__poster-layer,
  .recommend-apps__icon-wrap {
    --media-placeholder-width: 80px;
    --media-placeholder-height: 80px;
  }
}

/* Keep the logo within its slot, below real covers and metadata. */
:is(.pc-long-video-card__cover,
  .pc-short-video-card__cover,
  .pc-short-drama-card__cover,
  .mobile-long-video-card__cover,
  .mobile-short-drama-card__cover,
  .mobile-search-card__cover,
  .video-player__poster-layer,
  .video-player__mobile-preroll-placeholder,
  .recommend-apps__icon-wrap)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(100%, var(--media-placeholder-width));
  height: min(100%, var(--media-placeholder-height));
  transform: translate(-50%, -50%);
  background: var(--media-placeholder-image) center / contain no-repeat;
  pointer-events: none;
}

.pc-long-video-card__cover img[src*="/static/images/placeholder.png?v=20261023-brand-1"],
.pc-short-video-card__cover img[src*="/static/images/placeholder.png?v=20261023-brand-1"],
.pc-short-drama-card__cover img[src*="/static/images/placeholder.png?v=20261023-brand-1"],
.mobile-long-video-card__cover img[src*="/static/images/placeholder.png?v=20261023-brand-1"],
.mobile-short-drama-card__cover img[src*="/static/images/placeholder.png?v=20261023-brand-1"],
.mobile-search-card__cover img[src*="/static/images/placeholder.png?v=20261023-brand-1"],
.video-player__poster-layer img[src*="/static/images/placeholder.png?v=20261023-brand-1"],
.video-player__mobile-preroll-placeholder img[src*="/static/images/placeholder.png?v=20261023-brand-1"],
.recommend-apps__icon-wrap img[src*="/static/images/placeholder.png?v=20261023-brand-1"] {
  opacity: 0 !important;
}
