 .ad-float {
     position: fixed;
     width: 190px;
     /* 调整浮窗宽度 */
     height: 216px;
     /* 调整浮窗高度 */
     background-color: transparent;
     /* 背景颜色 */
     z-index: 999;
     /* 确保浮窗显示在最上层 */
     /* 添加过渡效果 */
     left: 0;
     top: 0;
     transition: all 0.5s linear;
     display: none;
     /* 初始隐藏浮窗 */
 }

 .ad-float .close {
     display: block;
     position: absolute;
     right: 14px;
     top: 0px;
     cursor: pointer;
 }

 @media screen and (max-width: 1024px) {
     .ad-float {
         position: fixed;
         width: 95px;
         /* 调整浮窗宽度 */
         height: 108px;
         /* 调整浮窗高度 */
     }

     .ad-float a {
         display: inline-block;
         width: 100%;
         height: 100%;
     }

     .ad-float a .adv {
         width: 100%;
         object-fit: contain;
     }

     .ad-float .close {
         right: 2px;
         top: 0px;
         cursor: pointer;
         width: 15px;
     }
 }