/* Preserve existing card/player dimensions with zero-media-byte placeholders. */
.creator-click-player {
  display: flex; width: 100%; height: 100%; align-items: center;
  justify-content: center; flex-direction: column; gap: .5rem;
  background: #0f172a; color: #fff; border: 0; cursor: pointer; font: inherit;
}
.creator-click-player > i, .creator-video-placeholder > i { font-size: 2.5rem; }
.creator-click-player:focus-visible { outline: 3px solid #93c5fd; outline-offset: -4px; }
.creator-click-player[hidden], video[data-creator-player][hidden] { display: none !important; }
.creator-video-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; pointer-events: none;
}


/* Explicitly stop a long video request without refreshing the whole page. */
.creator-video-stop {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  margin: .5rem auto 0;
  padding: .45rem .85rem;
  border: 1px solid #94a3b8;
  border-radius: .5rem;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
}
.creator-video-stop[hidden],
.creator-video-player-status[hidden] {
  display: none !important;
}
.creator-video-player-status {
  margin: .35rem 0 0;
  color: #475569;
  font-size: .78rem;
  line-height: 1.4;
  text-align: center;
}
body.dark-mode .creator-video-stop {
  border-color: #64748b;
  background: #252b35;
  color: #e2e8f0;
}
body.dark-mode .creator-video-player-status {
  color: #cbd5e1;
}


/* Keep Stop and playback diagnostics visible inside the fixed-ratio player. */
.public-cinema-player,
.public-reel-player,
.creator-video-card__media {
  position: relative;
}
.creator-video-stop {
  position: absolute;
  top: .65rem;
  right: .65rem;
  z-index: 8;
  margin: 0;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(15, 23, 42, .94);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.creator-video-player-status {
  position: absolute;
  top: .65rem;
  left: .65rem;
  z-index: 7;
  width: calc(100% - 7.5rem);
  max-height: 42%;
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .5rem;
  background: rgba(15, 23, 42, .94);
  padding: .55rem .7rem;
  color: #fff;
  font-size: .76rem;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.creator-video-player-status[data-state="error"],
.creator-video-player-status[data-state="warning"] {
  border-color: rgba(248, 113, 113, .55);
}
