/* =========================================================
 * Shorts - Layout geral
 * ========================================================= */

.shorts-page-container {
    max-width: 1280px;
    margin: 20px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.shorts-page-title {
    margin-bottom: 18px;
}

.shorts-feed {
    min-width: 0;
}


/* =========================================================
 * Shorts - Item principal do feed
 * ========================================================= */

.short-feed-item {
    max-width: 520px;
    margin: 0 auto 34px;
}

.short-player-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.short-video {
    width: 100%;
    max-width: 430px;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

.short-video-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}


/* =========================================================
 * Shorts - Gradiente e informações sobre o player
 * ========================================================= */

.short-player-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    max-width: 430px;
    height: 36%;
    transform: translateX(-50%);
    border-radius: 0 0 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.short-player-info {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 3;
    width: calc(100% - 28px);
    max-width: 402px;
    transform: translateX(-50%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .85);
    pointer-events: none;
}

.short-player-views {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
	color: #b1b1b1;
}

.short-player-title-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px;
    align-items: center;
    font-size: 13px;
    line-height: 1.25;
}

.short-player-title-tags strong {
    font-weight: 400;
}

.short-player-title-tags a {
    color: #b1b1b1;
    text-decoration: none;
    pointer-events: auto;
}

/* =========================================================
 * Shorts - Erro ao carregar vídeo
 * ========================================================= */

.short-feed-item.video-com-erro .short-player-wrap::before {
    content: "Vídeo indisponível no momento";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 7;
    width: calc(100% - 40px);
    max-width: 360px;
    padding: 12px 14px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .78);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1.35;
    pointer-events: none;
}

.short-feed-item.video-com-erro .short-play-toggle {
    display: none;
}

/* =========================================================
 * Shorts - Toasts
 * ========================================================= */

.shorts-order-toast {
    position: fixed;
    left: 15px;
    bottom: 15px;
    z-index: 1000002;
    display: inline-block;
    max-width: calc(50% - 20px);
    padding: 12px 20px;
    background: linear-gradient(90deg, #ea1953, #ff5c1f);
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, .12), 0 10px 36px -4px rgba(77, 96, 232, .30);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: all .4s cubic-bezier(.215, .61, .355, 1);
    border-radius: 0;
}

.shorts-order-toast.ativo {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .shorts-order-toast {
        left: 15px;
        bottom: 15px;
        right: auto;
        width: auto;
        min-width: 0;
        max-width: 230px;
        padding: 12px 20px;
        font-size: 16px;
        line-height: 1.25;
    }
}

/* =========================================================
 * Shorts - Botão custom Play/Pause
 * ========================================================= */

.short-play-toggle {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 68px;
    height: 68px;
    border: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .45);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.short-play-toggle i {
    font-size: 28px;
    line-height: 68px;
}

.short-feed-item.video-pausado .short-play-toggle {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

/* =========================================================
 * Shorts - Barra de progresso custom
 * ========================================================= */

.short-progress {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 5;
    width: 100%;
    max-width: 430px;
    height: 3px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .18);
    cursor: pointer;
    overflow: visible;
    border-radius: 0 0 12px 12px;
}

.short-progress span {
    position: relative;
    display: block;
    width: 0%;
    height: 100%;
    background: #fff;
    border-radius: 999px;
}

@media (max-width: 600px) {
    .short-progress {
        max-width: 100%;
        border-radius: 0;
    }
}


/* =========================================================
 * Shorts - Botões laterais do player
 * ========================================================= */

.short-actions {
    position: absolute;
    right: -15px;
    bottom: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.short-action {
    width: 42px;
    min-height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    text-align: center;
    box-shadow: none;
    border-radius: 0;
    transition: transform .15s ease, opacity .15s ease;
}

.short-action:hover {
    transform: scale(1.08);
    opacity: .92;
}

.short-action i {
    display: block;
    font-size: 36px;
    line-height: 28px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .75);
}

.short-action-count,
.short-action-label {
    display: block;
    margin-top: 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

.short-like {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}

.short-like .short-action-count {
    margin-top: 0;
	padding: 0 0 8px;
}

.short-action-label {
    display: none;
}

.short-action.short-liked,
.short-action.ativo {
    color: #ea1953;
}

.short-action.short-liked {
    cursor: default;
}

.short-action-svg {
    display: block;
    width: 34px;
    height: 34px;
    margin: 0 auto;
    fill: currentColor;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .75));
}

.short-action-heart {
    width: 34px;
    height: 34px;
}

.short-action-share-icon {
    width: 36px;
    height: 36px;
}

.short-action.short-liked:hover {
    transform: none;
    opacity: 1;
}

.short-order-svg {
    display: block;
    width: 38px;
    height: 38px;
    margin: 0 auto;
    fill: currentColor;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .75));
}

@media (max-width: 768px) {
    .short-order-svg {
        width: 47px;
        height: 47px;
    }
}

/* =========================================================
 * Shorts - Informações antigas abaixo do player
 * Mantidas no PHP, mas escondidas visualmente
 * ========================================================= */

.short-feed-item .short-info {
    display: none;
}

.short-info {
    max-width: 430px;
    margin: 10px auto 0;
}

.short-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.short-title a {
    color: #eee;
    text-decoration: none;
}

.short-tempo {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 8px;
}

.short-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.short-tags a {
    display: inline-block;
    padding: 4px 8px;
    background: #222;
    color: #bbb;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
}

/* =========================================================
 * Shorts - Infinite Loading
 * ========================================================= */

.shorts-loader {
    width: 100%;
    padding: 18px 10px;
    color: #aaa;
    text-align: center;
    font-size: 14px;
}

.shorts-sentinel {
    width: 100%;
    height: 1px;
}


/* =========================================================
 * Shorts - Sidebar / Últimos Shorts
 * ========================================================= */

.shorts-sidebar {
    background: #111;
    padding: 14px;
    border-radius: 8px;
    align-self: start;
    position: sticky;
    top: 20px;
	width: 360px;
    max-width: 360px;
}

.shorts-sidebar h2 {
    margin: 0 0 14px;
    text-align: center;
    color: #eee;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.shorts-sidebar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}


/* =========================================================
 * Shorts - Card reutilizável
 * Usado na sidebar e depois também pode ser usado na home
 * ========================================================= */

.short-card a {
    display: block;
    color: #ddd;
    text-decoration: none;
}

.short-card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 9 / 13;
    background: #000;
    overflow: hidden;
    border-radius: 7px;
}

.short-card-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.short-card-meta {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.short-card-tempo,
.short-card-views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.short-card-views {
    margin-left: auto;
}

.short-card-views i {
    font-size: 10px;
}

.short-card-title {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.25;
    color: #ddd;
}


/* =========================================================
 * Shorts - Ajustes específicos da sidebar
 * ========================================================= */

.shorts-sidebar .short-card .short-card-title,
.shorts-sidebar-grid .short-card .short-card-title,
.shorts-sidebar .short-card-title,
.shorts-sidebar-grid .short-card-title {
    display: none !important;
}

/* =========================================================
 * Shorts - Responsivo tablet
 * ========================================================= */

@media (max-width: 980px) {
    .shorts-page-container {
        grid-template-columns: 1fr;
    }

    .shorts-sidebar {
        position: static;
    }

    .short-actions {
		right: 10px;
		bottom: 78px;
		gap: 16px;
	}

	.short-action {
		width: 38px;
		min-height: 38px;
		background: transparent;
	}

	.short-action i {
		font-size: 25px;
		line-height: 25px;
	}

	.short-action-count,
	.short-action-label {
		font-size: 10px;
	}
}


/* =========================================================
 * Shorts - Mobile fullscreen real
 * ========================================================= */

.shorts-mobile-topbar {
    display: none;
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        overflow-x: clip;
    }

    body {
        margin: 0 !important;
        padding: 0 !important;
    }

    body.post-type-archive-shorts,
	body.single-shorts,
	body.tax-shorts_tag,
	body.tax-shorts_categoria {
		overflow: hidden !important;
		background: #0D0D0D !important;
	}

    body.post-type-archive-shorts *,
	body.single-shorts *,
	body.tax-shorts_tag *,
	body.tax-shorts_categoria * {
		box-sizing: border-box;
	}

    /* Camada fullscreen dos shorts por cima do tema inteiro */
    .shorts-page-container {
		position: fixed;
		inset: 0;
		z-index: 999999;
		display: block;
		width: 100vw;
		height: 100dvh;
		max-width: none;
		margin: 0 !important;
		padding: 0 !important;
		background: #000;
		overflow-x: hidden;
		overflow-y: auto;
		scroll-snap-type: y mandatory;
		-webkit-overflow-scrolling: touch;
		scroll-padding-top: 0;
		overscroll-behavior-y: contain;
	}

    /* Esconde coisas internas do layout de shorts no mobile */
    @media (max-width: 768px) {
    .shorts-sidebar {
        display: none !important;
    	}
	}

    .shorts-feed,
    .shorts-feed-list {
        width: 100vw;
        max-width: none;
        margin: 0 !important;
        padding: 0 !important;
    }

    .short-feed-item {
		width: 100vw;
		max-width: none;
		height: 100dvh;
		min-height: 100dvh;
		margin: 0 !important;
		padding: 0 !important;
		background: #000;
		border-radius: 0;
		overflow: hidden;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

    .short-player-wrap {
        position: relative;
        display: block;
        width: 100vw;
        height: 100%;
        max-width: none;
        background: #000;
        border-radius: 0;
        overflow: hidden;
    }

    .short-video {
        width: 100%;
        height: 100%;
        max-width: none;
        aspect-ratio: auto;
        object-fit: cover;
        border-radius: 0;
    }

    .short-player-wrap::after {
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        height: 45%;
        transform: none;
        border-radius: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0));
    }

    /* Topbar própria dos shorts */
	.shorts-mobile-topbar {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1000000;
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 64px;
		padding: 10px 16px;
		color: #fff;
		background: linear-gradient(to bottom, rgba(0, 0, 0, .68), rgba(0, 0, 0, 0));
		pointer-events: none;
		opacity: 1;
		transform: none;
	}

	.shorts-mobile-topbar a {
		color: #fff;
		text-decoration: none;
		pointer-events: auto;
		text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
	}

	.shorts-mobile-back,
	.shorts-mobile-user {
		width: 42px;
		height: 42px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 28px;
	}

	.shorts-mobile-logo {
		max-width: 180px;
		height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
		font-size: 20px;
		font-weight: 800;
		line-height: 1;
		text-align: center;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.shorts-mobile-logo img {
		display: block;
		max-width: 160px;
		max-height: 42px;
		object-fit: contain;
	}

	.shorts-mobile-user {
		border: 2px solid rgba(255, 255, 255, .9);
		border-radius: 50%;
		font-size: 22px;
		overflow: hidden;
	}

	.shorts-mobile-user img {
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
	}
	
    .short-player-info {
		left: 15px;
		right: 15px;
		bottom: 25px;
		z-index: 6;
		width: auto;
		max-width: none;
		transform: none;
	}

    .short-player-views {
        font-size: 16px;
        font-weight: 800;
        margin-bottom: 0;
		color: #b1b1b1;
    }

    .short-player-title-tags {
		display: block;
		max-width: 100%;
		overflow: visible;
		font-size: 16px;
		line-height: 1.25;
		white-space: normal;
	}

	.short-player-title-tags strong {
		display: inline;
		font-size: 16px;
		font-weight: 600;
		line-height: 1.25;
		margin-bottom: 0;
		overflow-wrap: anywhere;
	}

	.short-player-title-tags a {
		display: inline;
		margin-right: 4px;
		color: #b1b1b1;
		font-size: 16px;
		line-height: 1.25;
		text-decoration: none;
		white-space: normal;
		overflow-wrap: anywhere;
	}

    .short-actions {
        right: 0;
        bottom: 25%;
        z-index: 7;
		padding: 15px;
    }

    .short-action {
        width: 46px;
        min-height: 46px;
        color: #fff;
    }

    .short-action i {
        font-size: 45px;
        line-height: 34px;
    }

    .short-action-count,
    .short-action-label {
        display: block;
        margin-top: 10px;
        font-size: 15px;
    }

    .short-action-label {
        display: none;
    }
	
	.short-action-svg {
		width: 45px;
		height: 45px;
	}

	.short-action-share-icon {
		width: 47px;
		height: 47px;
	}

    .short-play-toggle {
        width: 58px;
        height: 58px;
    }

    .short-play-toggle i {
        font-size: 24px;
        line-height: 58px;
    }

    .short-progress {
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        height: 3px;
        transform: none;
        border-radius: 0;
    }
	
	.short-progress span {
    	background: linear-gradient(90deg, #ea1953, #ff5c1f);
	}

    .short-info {
        display: none !important;
    }

    .shorts-loader {
        margin: 0;
        background: #000;
    }

    .short-feed-item.video-com-erro .short-player-wrap::before {
        z-index: 20;
    }
}

/* =========================================================
 * Shorts - Desktop estilo roleta
 * ========================================================= */

@media (min-width: 769px) {

    body.post-type-archive-shorts,
	body.single-shorts,
	body.tax-shorts_tag,
	body.tax-shorts_categoria {
		--shorts-area-height: calc(100dvh - 125px);
		--shorts-peek-next: 35px;
		--shorts-item-height: calc(var(--shorts-area-height) - var(--shorts-peek-next));
		--shorts-video-height: var(--shorts-item-height);
		--shorts-bg: #0D0D0D;

		overflow: hidden;
		background: var(--shorts-bg);
	}

    /* Esconde título interno e footer */
    body.post-type-archive-shorts .shorts-page-title,
    body.tax-shorts_tag .shorts-page-title,
    body.tax-shorts_categoria .shorts-page-title,
    body.post-type-archive-shorts .shorts-feed > .pagina-titulo,
    body.tax-shorts_tag .shorts-feed > .pagina-titulo,
    body.tax-shorts_categoria .shorts-feed > .pagina-titulo,
    body.post-type-archive-shorts footer,
    body.tax-shorts_tag footer,
    body.tax-shorts_categoria footer,
    body.post-type-archive-shorts .site-footer,
    body.tax-shorts_tag .site-footer,
    body.tax-shorts_categoria .site-footer {
        display: none !important;
    }

    /* Ajuste do wrapper do tema só nas páginas de shorts */
    body.post-type-archive-shorts .meio,
    body.tax-shorts_tag .meio,
    body.tax-shorts_categoria .meio {
        margin-top: 20px !important;
        margin-bottom: 0 !important;
    }

    /* Área principal abaixo do menu do tema */
    body.post-type-archive-shorts .shorts-page-container,
    body.tax-shorts_tag .shorts-page-container,
    body.tax-shorts_categoria .shorts-page-container {
        height: var(--shorts-area-height);
        max-width: 1180px;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
        align-items: start;
    }

    /* Só o feed rola, sem barra visível */
    body.post-type-archive-shorts .shorts-feed,
    body.tax-shorts_tag .shorts-feed,
    body.tax-shorts_categoria .shorts-feed {
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding-right: 0;
    }

    body.post-type-archive-shorts .shorts-feed::-webkit-scrollbar,
    body.tax-shorts_tag .shorts-feed::-webkit-scrollbar,
    body.tax-shorts_categoria .shorts-feed::-webkit-scrollbar {
        display: none;
    }

    /* Cada short ocupa a área útil */
    body.post-type-archive-shorts .short-feed-item,
	body.tax-shorts_tag .short-feed-item,
	body.tax-shorts_categoria .short-feed-item {
		height: var(--shorts-item-height);
		max-width: 520px;
		margin: 0 auto 20px;
		display: flex;
		align-items: flex-start;
		justify-content: center;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

    body.post-type-archive-shorts .short-player-wrap,
	body.tax-shorts_tag .short-player-wrap,
	body.tax-shorts_categoria .short-player-wrap {
		width: calc(min(var(--shorts-video-height), 790px) * 9 / 16);
		max-width: 100%;
		margin: 0 auto;
		display: block;
	}

    /* Player com respiro em cima e embaixo */
    body.post-type-archive-shorts .short-video,
	body.tax-shorts_tag .short-video,
	body.tax-shorts_categoria .short-video {
		width: auto;
		height: var(--shorts-video-height);
		max-height: 790px;
		max-width: none;
		aspect-ratio: 9 / 16;
	}

    body.post-type-archive-shorts .short-player-wrap::after,
	body.tax-shorts_tag .short-player-wrap::after,
	body.tax-shorts_categoria .short-player-wrap::after,
	body.post-type-archive-shorts .short-progress,
	body.tax-shorts_tag .short-progress,
	body.tax-shorts_categoria .short-progress {
		width: calc(min(var(--shorts-video-height), 790px) * 9 / 16);
		max-width: none;
	}

    body.post-type-archive-shorts .short-player-info,
	body.tax-shorts_tag .short-player-info,
	body.tax-shorts_categoria .short-player-info {
		width: calc((min(var(--shorts-video-height), 790px) * 9 / 16) - 28px);
		max-width: none;
	}

    /* Botões laterais */
    body.post-type-archive-shorts .short-actions,
	body.tax-shorts_tag .short-actions,
	body.tax-shorts_categoria .short-actions {
		top: 55%;
		right: -55px;
		bottom: auto;
		transform: translateY(-50%);
	}

    /* Sidebar acompanha a altura útil */
    .shorts-sidebar {
        max-height: var(--shorts-area-height);
        overflow: hidden;
        padding-top: 8px;
        top: 0;
    }

    .shorts-sidebar h2 {
        margin: 0 0 8px;
        font-size: 20px;
        line-height: 1.1;
    }

    .shorts-sidebar .short-card-thumb {
        aspect-ratio: 9 / 16;
        background: #000;
    }

    .shorts-sidebar .short-card-thumb img {
        object-fit: fill;
        background: #000;
    }
}

@media (max-width: 768px) {
    .shorts-page-title {
        display: none !important;
    }
}

/* =========================================================
 * Shorts - Correção do single real /shorts/nome-do-short/
 * ========================================================= */

@media (min-width: 769px) {

    body.single-shorts .shorts-page-title,
    body.single-shorts .shorts-feed > .pagina-titulo,
    body.single-shorts footer,
    body.single-shorts .site-footer {
        display: none !important;
    }

    body.single-shorts .meio {
        margin-top: 20px !important;
        margin-bottom: 0 !important;
    }

    body.single-shorts .shorts-page-container {
        height: var(--shorts-area-height);
        max-width: 1180px;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
        align-items: start;
    }

    body.single-shorts .shorts-feed {
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding-right: 0;
    }

    body.single-shorts .shorts-feed::-webkit-scrollbar {
        display: none;
    }

    body.single-shorts .short-feed-item {
        height: var(--shorts-item-height);
        max-width: 520px;
        margin: 0 auto 20px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    body.single-shorts .short-player-wrap {
        width: calc(min(var(--shorts-video-height), 790px) * 9 / 16);
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    body.single-shorts .short-video {
        width: auto;
        height: var(--shorts-video-height);
        max-height: 790px;
        max-width: none;
        aspect-ratio: 9 / 16;
    }

    body.single-shorts .short-player-wrap::after,
    body.single-shorts .short-progress {
        width: calc(min(var(--shorts-video-height), 790px) * 9 / 16);
        max-width: none;
    }

    body.single-shorts .short-player-info {
        width: calc((min(var(--shorts-video-height), 790px) * 9 / 16) - 28px);
        max-width: none;
    }

    body.single-shorts .short-actions {
        top: 55%;
        right: -55px;
        bottom: auto;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {

    .shorts-feed-list {
        display: contents;
    }
}
