/* Custom video player styles — shared across landing + agent pages */
.lov-video-wrap{position:relative;display:block;width:100%;height:100%;}
.lov-video-wrap > video{width:100%;height:100%;object-fit:cover;display:block;background:#000;cursor:pointer;}

/* Hide native overlays/labels we don't want anymore */
.landing-ka-video .landing-ka-label,
.ka-avatar .ka-avatar-tag{display:none!important;}

/* Remove the pulsing center play badge */
.landing-ka-play,
.ka-avatar-glow + .landing-ka-play,
.landing-ka-video .landing-ka-play{display:none!important;}

/* Custom control bar pinned to the bottom of the video container */
.lov-vp-bar{
  position:absolute;left:10px;right:10px;bottom:10px;z-index:5;
  display:flex;align-items:center;gap:10px;
  padding:8px 12px;border-radius:999px;
  background:rgba(10,10,15,.72);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  color:#fff;
  font-family:'Inter',system-ui,sans-serif;
  box-shadow:0 10px 28px rgba(0,0,0,.35);
}
.lov-vp-btn{
  appearance:none;border:0;cursor:pointer;
  width:34px;height:34px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);color:#fff;
  transition:background .15s ease, transform .15s ease;
  padding:0;
}
.lov-vp-btn:hover{background:rgba(255,255,255,.18);}
.lov-vp-btn:active{transform:scale(.94);}
.lov-vp-btn svg{width:16px;height:16px;display:block;}
.lov-vp-btn.lov-vp-play{background:rgba(99,91,255,.85);}
.lov-vp-btn.lov-vp-play:hover{background:rgba(99,91,255,1);}
.lov-vp-btn.lov-vp-replay{background:rgba(255,255,255,.10);}
.lov-vp-btn.lov-vp-replay:hover{background:rgba(255,255,255,.18);}
.lov-vp-vol{
  display:flex;align-items:center;gap:6px;margin-left:auto;
  font-size:11px;letter-spacing:.06em;color:rgba(255,255,255,.78);
  text-transform:uppercase;
}
.lov-vp-level{
  min-width:34px;text-align:center;font-family:'Geist Mono',monospace;font-size:11px;
  color:rgba(255,255,255,.9);
}

.qm-film-frame > video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:#000;cursor:pointer;}

/* Plein écran : afficher la vidéo en entier sans la couper */
.landing-ka-video:fullscreen,
.landing-ka-video:-webkit-full-screen,
.ka-avatar:fullscreen,
.ka-avatar:-webkit-full-screen,
.qm-film-frame:fullscreen,
.qm-film-frame:-webkit-full-screen{
  width:100vw !important;height:100vh !important;max-height:100vh !important;border-radius:0 !important;background:#000 !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
}
.landing-ka-video:fullscreen video,
.landing-ka-video:-webkit-full-screen video,
.ka-avatar:fullscreen video,
.ka-avatar:-webkit-full-screen video,
.qm-film-frame:fullscreen video,
.qm-film-frame:-webkit-full-screen video{
  width:100% !important;height:100% !important;max-height:100vh !important;object-fit:contain !important;object-position:center !important;
}

/* Agent 09 has stronger in-card crop rules; override them in fullscreen. */
#agent-09 .agent-media-zone .landing-ka-video:fullscreen,
#agent-09 .agent-media-zone .landing-ka-video:-webkit-full-screen{
  width:100vw !important;height:100vh !important;max-height:100vh !important;border-radius:0 !important;background:#000 !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
}
#agent-09 .agent-media-zone .landing-ka-video:fullscreen video,
#agent-09 .agent-media-zone .landing-ka-video:-webkit-full-screen video{
  width:100% !important;height:100% !important;min-height:0 !important;max-height:100vh !important;
  object-fit:contain !important;object-position:center !important;background:#000 !important;
}

