/* VUMOO V10.24: compact, centered MOBILE-only player sponsor card.
   Desktop V10.23 styling and the fullscreen behavior remain unchanged. */
@media screen and (max-width:767px) {
  .vumoo-player-overlay-ad:not([hidden]) {
    /* Dim lightly instead of blacking out the entire mobile video. */
    padding:clamp(12px,4vw,20px);
    background:rgba(2,6,16,.34);
    -webkit-backdrop-filter:blur(1px);
    backdrop-filter:blur(1px);
  }
  .vumoo-player-overlay-ad-stage {
    flex:0 1 auto;
    box-sizing:border-box;
    width:min(86%,300px) !important;
    min-width:0;
    max-width:300px !important;
    max-height:min(68%,240px) !important;
    margin:auto;
    border:1px solid rgba(160,174,198,.48);
    border-radius:12px !important;
    overflow:hidden;
    box-shadow:0 10px 32px rgba(0,0,0,.52);
  }
  .vumoo-player-overlay-ad-head {
    box-sizing:border-box;
    flex:0 0 38px;
    min-height:38px;
    padding:3px 8px 3px 12px;
    font-size:11px;
  }
  .vumoo-player-overlay-ad-close {
    width:30px;
    height:30px;
    min-width:30px;
    min-height:30px;
  }
  .vumoo-player-overlay-ad-content {
    box-sizing:border-box;
    flex:0 1 auto;
    width:100%;
    min-height:0;
    max-height:190px !important;
    padding:8px;
    overflow:auto;
    scrollbar-width:none;
  }
  .vumoo-player-overlay-ad-content::-webkit-scrollbar { display:none; }
  .vumoo-player-overlay-ad .vumoo-ad-slot,
  .vumoo-player-overlay-ad .vumoo-ad-slot.is-pending,
  .vumoo-player-overlay-ad .vumoo-ad-slot.is-ready {
    width:100% !important;
    min-height:0 !important;
    max-height:100%;
    margin:0 auto !important;
    overflow:hidden !important;
  }
  .vumoo-player-overlay-ad .vumoo-ad-direct {
    box-sizing:border-box;
    min-height:0 !important;
    max-height:190px;
    overflow:auto;
    scrollbar-width:none;
  }
  .vumoo-player-overlay-ad .vumoo-ad-direct::-webkit-scrollbar { display:none; }
  .vumoo-player-overlay-ad .vumoo-ad-frame {
    box-sizing:border-box;
    width:100% !important;
    height:min(190px,30vh) !important;
    min-height:0 !important;
    max-height:190px !important;
    border:0;
  }
  .vumoo-player-overlay-ad .vumoo-ad-direct img,
  .vumoo-player-overlay-ad .vumoo-ad-direct video {
    max-width:100%;
    max-height:180px;
    object-fit:contain;
  }
}
