/* Applied only when positioning is explicitly enabled on a T17. */
.t17.t17-positioned>.t17__frame{overflow:hidden!important;isolation:isolate}
.t17.t17-positioned>.t17__frame>.t17__media{object-fit:var(--t17-fit,contain)!important;transform-origin:50% 50%!important;transform:translate(var(--t17-pc-x,0%),var(--t17-pc-y,0%)) rotate(var(--t17-pc-rotation,0deg)) scale(var(--t17-pc-scale,1))!important}
@media(max-width:767px){.t17.t17-positioned>.t17__frame>.t17__media{transform:translate(var(--t17-mobile-x,0%),var(--t17-mobile-y,0%)) rotate(var(--t17-mobile-rotation,0deg)) scale(var(--t17-mobile-scale,1))!important}}
.t17-editor-preview{width:100%;max-width:760px;margin:0 auto 18px;background:#101010;border:1px solid #555;overflow:hidden}
.t17-editor-preview[data-device=mobile]{max-width:390px}
.t17-editor-preview .t17-editor-frame{position:relative;width:100%;overflow:hidden;aspect-ratio:var(--t17-editor-ratio,16/9)}
.t17-editor-preview img,.t17-editor-preview video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-width:none!important;object-fit:var(--t17-fit,contain)!important;margin:0!important;transform-origin:center!important;transform:translate(var(--t17-pc-x,0%),var(--t17-pc-y,0%)) rotate(var(--t17-pc-rotation,0deg)) scale(var(--t17-pc-scale,1))!important}
.t17-editor-preview[data-device=mobile] img,.t17-editor-preview[data-device=mobile] video{transform:translate(var(--t17-mobile-x,0%),var(--t17-mobile-y,0%)) rotate(var(--t17-mobile-rotation,0deg)) scale(var(--t17-mobile-scale,1))!important}

/* A fixed PC viewport must not inherit the portrait video's natural height. */
@media(min-width:768px){
 .t17.t17-positioned.is-fixed>.t17__frame{position:relative!important;display:block!important;box-sizing:border-box!important;width:min(var(--w),100%)!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:var(--t17-ratio)!important;padding:0!important;overflow:hidden!important}
 .t17.t17-positioned.is-fixed>.t17__frame>.t17__media{position:absolute!important;inset:0!important;display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important}
}

@media(max-width:767px){
 main.page-main .t17.t17-positioned>.t17__frame,.t17.t17-positioned>.t17__frame{width:min(var(--t17-mobile-width,100%),100%)!important;max-width:100%!important}
 .t17.t17-positioned.t17-mobile-fixed>.t17__frame{position:relative!important;display:block!important;box-sizing:border-box!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;height:var(--t17-mobile-height)!important;padding:0!important;overflow:hidden!important}
 .t17.t17-positioned.t17-mobile-fixed>.t17__frame>.t17__media{position:absolute!important;inset:0!important;display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important}
}
