/*
 * Player-prototype chrome for player-brand-modal.html.
 * Reuses header.css for the top bar; adds the blurred background and
 * the centered player card (title / author / Play button).
 */

body {
  font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: var(--color-bg-page);
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ════════════════════════════════
   STAGE — video bg + blur overlay
════════════════════════════════ */
.stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.stage .preview-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000000;
  z-index: 0;
}
.stage .preview-stage.branded {
  background: #1D8C98;
}
.stage .preview-screen {
  position: absolute;
  top: 50%;
  left: 15%;
  width: 72%;
  transform: translateY(-50%);
  border-radius: 3px;
}
.stage .preview-pip {
  position: absolute;
  bottom: 6%;
  left: 2.5%;
  width: 19%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 24px;
}
.stage .preview-logo {
  display: none;
  position: absolute;
  top: 4%;
  left: 2.5%;
  height: 18px;
  opacity: 0.9;
  pointer-events: none;
}
.stage .preview-stage.branded .preview-logo {
  display: block;
}

.stage-blur {
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(13, 14, 16, 0.35);
}

/* ════════════════════════════════
   PLAYER CARD (centered overlay)
════════════════════════════════ */
.player-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 480px;
  max-width: calc(100vw - 32px);
  background: #1a1d20;
  border-radius: 20px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

.player-card-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
}
.player-card-close:hover {
  background: var(--surface-overlay-1);
  color: #ffffff;
}
.player-card-close svg { width: 14px; height: 14px; display: block; }

.player-card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  padding-right: 32px;
}

.player-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.player-card-author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.player-card-author-name {
  font-weight: 600;
  color: #ffffff;
}
.player-card-author-sep {
  color: rgba(255,255,255,0.4);
}
.player-card-author-date {
  color: rgba(255,255,255,0.55);
}

.player-card-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  background: #ffffff;
  border: none;
  border-radius: 10px;
  color: #000000;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.player-card-play:hover { background: #f0f0f0; }
.player-card-play svg { width: 14px; height: 14px; display: block; }
