/* CentralRP Phone v1.7.5 */

/* Camera is centered while active. The giant shadow masks the full-screen GTA
   scripted camera outside the physical phone, so the player only perceives the
   live feed through the phone display. */
.phone-wrap.open.camera-live:not(.camera-landscape){
  right:50%!important;
  transform:translateX(50%) scale(var(--phone-scale))!important;
  transform-origin:bottom center!important;
  box-shadow:0 0 0 200vmax rgba(3,6,10,.78)!important;
  z-index:450!important;
}
.phone-wrap.open.camera-live.camera-landscape{box-shadow:0 0 0 200vmax rgba(3,6,10,.78)!important;z-index:450!important}
.phone-wrap.camera-live .phone-screen{background:transparent!important}

/* Home label contrast follows the pixels behind the label instead of the
   selected system theme. Grayscale + hard contrast turns the difference blend
   into effectively black text over light pixels and white over dark pixels. */
#phone .home-screen .app-label{
  color:#fff!important;
  mix-blend-mode:difference!important;
  filter:grayscale(1) contrast(12)!important;
  text-shadow:none!important;
  font-weight:700!important;
}

.youtube-player-shell-v175{position:relative;display:grid;gap:0;background:#080b10;border-radius:12px;overflow:hidden;border:1px solid var(--border)}
.youtube-player-shell-v175 #youtubePlayerV175,.youtube-player-shell-v175 iframe{width:100%!important;aspect-ratio:16/9!important;min-height:190px;border:0;display:block;background:#000}
.youtube-player-shell-v175.audio-only{padding:8px;background:var(--bg-card);gap:8px}
.youtube-player-shell-v175.audio-only #youtubePlayerV175,.youtube-player-shell-v175.audio-only iframe{min-height:150px;aspect-ratio:16/9!important;border-radius:9px}
.youtube-error-v175{display:none!important;margin:8px!important}.youtube-error-v175.show{display:block!important}
.phone-wrap.media-landscape .youtube-player-shell-v175{position:absolute!important;inset:0!important;border:0!important;border-radius:0!important;background:#000!important;z-index:4}
.phone-wrap.media-landscape .youtube-player-shell-v175 #youtubePlayerV175,.phone-wrap.media-landscape .youtube-player-shell-v175 iframe{width:100%!important;height:100%!important;min-height:100%!important;aspect-ratio:auto!important}

/* The direct camera route has no intermediate app background. */
.phone-wrap.camera-live .app-screen{background:transparent!important}
