/* XTREME TODAY — YouTube Shorts */

/* Скрыть заголовок, автора и время */
.xt-youtube-shorts .cp-stream__info,
.xt-youtube-shorts .cp-stream__info-wrapper {
    display: none !important;
}

/* Размер окна Shorts */
.xt-youtube-shorts .cp-stream__image {
    height: 320px !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Заполнить окно миниатюрой без боковых полос */
.xt-youtube-shorts .cp-stream__image > img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 135% !important;
    max-width: none !important;
    height: 135% !important;
    object-fit: cover !important;
    transform: translate(-50%, -50%) !important;
}

/* Плеер заполняет всё окно Shorts */
.xt-youtube-shorts .cp-stream__embed-inside {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Растянуть iframe плеера */
.xt-youtube-shorts .cp-stream__embed-inside iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}
/* YouTube Shorts — мобильная версия */

/* Скрыть подписи */
.xt-youtube-shorts-mob .cp-stream__info,
.xt-youtube-shorts-mob .cp-stream__info-wrapper {
    display: none !important;
}

/* Сделать карусель компактнее и поставить по центру */
.xt-youtube-shorts-mob .cp-streamweasels-youtube {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
}

/* Вертикальное окно 9:16 */
.xt-youtube-shorts-mob .cp-stream__image {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    overflow: hidden !important;
}

/* Миниатюра заполняет окно */
.xt-youtube-shorts-mob .cp-stream__image > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Плеер занимает всё вертикальное окно */
.xt-youtube-shorts-mob .cp-stream__embed-inside {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.xt-youtube-shorts-mob .cp-stream__embed-inside iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}