	:root{
		--popup-transition: opacity .3s linear;
	}
	.popup{
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 10000;
		position: fixed;
		top: 0;
		left: 0;
		width: 0;
		height: 0;
		overflow: hidden;
		padding: 20px;
		Xcursor: pointer;
	}
	.popup.active{
		width: 100vw;
		height: 100vh;
	}
	.popup__background{
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: var(--grey18);
		opacity: 0;
		transition: var(--popup-transition);
	}
	.popup.active .popup__background{
		opacity: 0.8;
	}
	.popup__wrapper{
		position: relative;
		padding: 40px 20px 20px 20px;
		background-color: var(--grey28);
		cursor: default;
		opacity: 0;
		transition: var(--popup-transition);
		border-radius: var(--radius);
		max-height: 90vh;
		overflow: auto;
	}
	.popup.active .popup__wrapper{
		opacity: 1;
	}
	.popup__btn-close{
		position: absolute;
		top: 0;
		right: 0;
		height: 48px;
		width: 48px;
		background-image: url(../img/items/ys_icon_close_dark.svg);
		background-repeat: no-repeat;
		background-size: 16px;
		background-position: center;
		background-color: var(--grey39);
		border-radius: 0 10px;
		cursor: pointer;
	}
	.popup__content{
		
	}
	.popup-img{
		padding: 20px;
	}
	.popup-img .popup__wrapper{
		padding: 0;
	}
	.popup-img .popup__content{
		border-radius: var(--radius);
		overflow: hidden;
	}
	.popup__btn-close{
		border-radius: 0 var(--radius) 0 var(--radius) ;
	}
	@media screen and (min-width: 1025px) {
		.popup-img{
			padding: 40px;
			max-height: 100vh;
		}
		.popup__wrapper{
			padding: 40px 80px;
		}
	}


	