/* 5.28.03: stable selection geometry; scope all changes to Videos. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard{
  height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
  transform:none!important;scale:1!important;transition:border-color .15s ease,box-shadow .15s ease!important;
  grid-row:auto!important;align-self:stretch!important;contain:layout style!important;
}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard:is(:hover,:focus,:focus-within,[aria-selected="true"],.projectSelected){
  transform:none!important;scale:1!important;min-height:0!important;max-height:none!important;
}
/* Always reserve the same 52px control row, including when actions switch on selection.
   Visibility rather than display prevents the thumbnail from jumping or expanding. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.esvylaVideoRecovery,
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.esvylaVideoRecovery[hidden]{
  display:flex!important;position:relative!important;order:-1!important;flex:0 0 52px!important;
  height:52px!important;min-height:52px!important;max-height:52px!important;
  width:100%!important;box-sizing:border-box!important;
  align-items:center!important;justify-content:center!important;overflow:hidden!important;
  background:#101722!important;padding:8px 10px!important;margin:0!important;
}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.esvylaVideoRecovery[hidden]{visibility:hidden!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.esvylaVideoRecovery:not([hidden]){visibility:visible!important;pointer-events:auto!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.projectThumb{
  order:0!important;flex:0 0 auto!important;aspect-ratio:16/10!important;min-height:0!important;
}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.projectInfo{
  order:1!important;flex:0 0 110px!important;height:110px!important;min-height:110px!important;max-height:110px!important;
}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .videoLibraryInlineActions:not([hidden]){
  position:absolute!important;inset:7px!important;height:auto!important;
}
/* Preserve the two-layer sharp/blur effect; avoid reflow during metadata loading. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb>video{contain:paint!important}
