/* ====================== 2K / 4K ZOOM ====================== */
@media screen and (min-width: 2560px) and (max-width: 3839px) {
    html { zoom: 1.4; }
}
@media screen and (min-width: 3840px) {
    html { zoom: 2.0; }
}

/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
	background-color: rgba(0,0,0,0.6); cursor: pointer; display: none;}
.mobile-menu {width: 400px; height: 100%; overflow-x: hidden; overflow-y: auto; transform: translate(-100%,0);
	z-index: 999; position: fixed; left: 0; top: 0; transition: transform 0.4s; background-color: var(--bg-darker);}
.mobile-menu.is-active {transform: translate(0%,0%);}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu__header {padding: 20px 30px; gap: 10px;}
.mobile-menu__btn-close {font-size: 24px; width: 40px; height: 40px; margin-right: 0px;}
.mmbnr {height: 100px; padding: 20px; border-radius: 20px; color: #fff; 
	background: linear-gradient(135deg, var(--accent), var(--accent-1)); margin: 20px; margin-top: 0;}
.mmbnr::before {font-size: 24px; align-self: flex-start;}

@media screen and (min-width: 1600px) and (max-width: 2600px) {
	.playlist-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(5), 
	.album2-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(7),  
	.album-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(6),  
	.radio-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(10),  
	.popular-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(8),  
	.artist-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(7),  
	.genres-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(7),  
	.video-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(5)
	{opacity: 0; pointer-events: none;}
}
@media screen and (min-width: 1220px) and (max-width: 1599px) {
	.trc__info { width: 80px !important; }
	.playlist-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(4), 
	.album2-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(6),  
	.album-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(5),  
	.radio-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(8),  
	.popular-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(7),  
	.artist-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(6),  
	.genres-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(7),  
	.video-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(4)
	{opacity: 0; pointer-events: none;}
}

@media screen and (min-width: 2600px) {
	.has-slider:not(.owl-carousel) {gap: 20px;}
	.has-slider:not(.owl-carousel) > .album2-item {width: calc((100% - 160px)/9);}
	.has-slider.album-slider:not(.owl-carousel) > .album2-item {width: calc((100% - 140px)/8);}
	.has-slider:not(.owl-carousel) > .album-item {width: calc((100% - 90px)/4);}
	.has-slider:not(.owl-carousel) > .radio-item {width: calc((100% - 220px)/12);}
	.has-slider:not(.owl-carousel) > .artist-item {width: calc((100% - 160px)/9);}
	.genres.has-slider:not(.owl-carousel) > li {width: calc((100% - 160px)/9);}
	.has-slider:not(.owl-carousel) > .video-item {width: calc((100% - 100px)/6);}
	.has-slider-popular:not(.owl-carousel) {grid-template-columns: repeat(10,minmax(0,1fr));}
	.has-slider-popular:not(.owl-carousel) > .album2-item:nth-child(20) ~ .album2-item {display: none;}

	.playlist-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(8), 
	.album2-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(10),  
	.album-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(9),  
	.radio-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(13),  
	.popular-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(11),  
	.artist-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(10),  
	.genres-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(10),  
	.video-slider:has(.owl-item.active:first-child) .owl-item.active:nth-of-type(8)
	{opacity: 0; pointer-events: none;}
	.footer {grid-template-columns: max-content 1fr auto 260px; align-items: center;}
	.footer__qr {flex-direction: row; gap: 30px; grid-column: 4 / 5; grid-row: 1; margin-left: 120px;}
	.footer__apps-item {padding-right: 30px;}
	.footer__menu {border: 0; padding: 0; grid-column: 3 / 4; align-self: center; 
	grid-template-columns: repeat(5,1fr) max-content; gap: 15px 60px;}
}

@media screen and (max-height: 760px) {
	.header__lp-menu {
		max-height: calc(100vh - 430px);
		overflow-x: hidden;
		overflow-y: auto;
	}

	.sb__header {
		margin-bottom: 60px;
	}
}

@media screen and (max-width: 1600px) {
	:root {--indent: 59px; --indent-negative: -59px;}
	.header__btn-pro + .header__btn-theme {margin-left: 0px;}
	.header__btn-notification {margin-right: 0px;}
	.mybnr-stream {padding-right: 30px; padding-left: 240px;}
	.album-slider:not(.owl-carousel), .artist-slider:not(.owl-carousel), .album2-slider:not(.owl-carousel) {gap: 30px;}
	.has-slider:not(.owl-carousel) > .album-item {width: calc((100% - 90px)/4);}
	.has-slider:not(.owl-carousel) > .album2-item {width: calc((100% - 120px)/5);}
	.album-item {padding-left: 20px; padding-right: 20px;}
	.has-slider:not(.owl-carousel) > .radio-item {width: calc((100% - 120px)/7);}
	.has-slider .mybnr {width: 460px;}
	.has-slider:not(.owl-carousel) > .artist-item {width: calc((100% - 120px)/5);}
	.genres.has-slider:not(.owl-carousel) > li {width: calc((100% - 60px)/5);}
	.genres li a {padding: 30px; font-size: 20px;}
	.genres li::before, .genres li::after {right: 10%; bottom: 10%; width: 80%; border-radius: 20px;}
  .genres li::before {transform: translate(0%, 0%) scale(0.8, 0.8);}
	.genres li {background-position: left 30px bottom 50px;}
	.mybnr__label, .mybnr--youtube .mybnr__desc::before {margin: 0;}
	.has-slider:not(.owl-carousel) > .video-item {width: calc((100% - 40px)/3);}
	.trc__info {width: 280px;}
	.trc__info2 {width: 180px;}
	.footer__qr {margin-left: 0;}
	.sect:not(:last-child) {margin-bottom: 60px;}
	.sect:has(.has-slider), .sect:has(.has-slider-popular) {padding-bottom: 60px; margin-bottom: 0;}
	.sect__header {margin-bottom: 30px;}
	.content {padding-bottom: 60px;}
	.footer {padding-top: 30px; padding-bottom: 60px; gap: 26px 30px; grid-template-columns: max-content 1fr 200px;}
	.owl-nav {margin-top: -25px;}
	.owl-prev, .owl-next {width: 50px; height: 50px;}
	.owl-prev {left: -25px;}
	.owl-next {right: -25px;}
	.owl-carousel-progress-bar {margin-bottom: 25px !important;}
	.has-slider-popular:not(.owl-carousel) {gap: 20px; grid-template-columns: repeat(6,minmax(0,1fr));}
	.has-slider-popular:not(.owl-carousel) > .album2-item:nth-child(12) ~ .album2-item {display: none;}
	.popular-group {gap: 20px;}
	#owl-popular .owl-nav {margin-top: -72px;}
		
	.getreg {padding: 125px 80px 60px 80px; width: 630px;}
	.getreg::before {width: 160px; transform: translate(-50%,-38.5%); background-position: center bottom -20px; background-size: 130px; border-radius: 40px;}
	/*.lp-panel {width: 1200px; padding: 40px 760px 40px 95px;}*/
	.lp-panel__logo {margin-bottom: 30px;}
	.lp-panel__btns {padding-top: 0;}
	.lp-panel__close {top: -10px; right: -40px;}
	
	.grid-items:has(.album-item), .grid-items:has(.album2-item) {grid-template-columns: repeat(auto-fill,minmax(min(30vw,220px),1fr)); gap: 20px;}
	.grid-items:has(.radio-item) {grid-template-columns: repeat(auto-fill,minmax(min(30vw,120px),1fr)); gap: 20px;}
	.grid-items:has(.artist-item) {grid-template-columns: repeat(auto-fill,minmax(min(30vw,160px),1fr)); gap: 20px;}
	.grid-items:has(.video-item), .content:has(> .playlist-item) {grid-template-columns: repeat(auto-fill,minmax(min(60vw,300px),1fr)); gap: 20px;}
	
	.page-video__cols {gap: 20px;}
	.page-video .page__actions--btns {margin-right: 320px;}
	.page__actions--btns h1 {font-size: 18px;}
	.page-tv__cols {gap: 20px; margin-bottom: 20px;}
}

@media screen and (max-width: 1220px) {
	:root {--indent-negative: -20px; --indent: 20px;}
	.wrapper {background-size: 120% auto; background-position: center top;}
	.wrapper__container {padding: 0;}
	.wrapper {padding: 0;}
	.wrapper__main {grid-template-columns: minmax(0,1fr); 
		grid-template-rows: 1fr;
		grid-template-areas: "content"; gap: 0;}
	.sidebar {display: none; margin: 0; border-radius: 0;}
	.right-panel {display: none !important;}
	.header {position: sticky; top: 0; border-radius: 0;
    margin-left: calc(-1 * var(--indent)); margin-right: calc(-1 * var(--indent));
    width: calc(100% + 2 * var(--indent)); box-sizing: border-box;}
	.content {border-radius: 0 !important;}
	.header .header__logo {display: none;}
	.header__btn-search {display: flex;}
	.header__search {min-width: 100%; order: 10; display: none;}
	.search-block form {width: 100%;}
	.header__btn-menu {display: flex; padding: 0; width: 50px; font-size: 24px;}
	.footer {gap: 20px; border-radius: 0 0 16px 16px;}
	.mybnr-stream__title {font-size: 28px;}
	.album-slider:not(.owl-carousel), .artist-slider:not(.owl-carousel), .album2-slider:not(.owl-carousel) {gap: 20px;}
	.has-slider:not(.owl-carousel) > .album-item {width: calc((100% - 60px)/4);}
	.has-slider:not(.owl-carousel) > .album2-item {width: calc((100% - 60px)/4);}
	.has-slider:not(.owl-carousel) > .artist-item {width: calc((100% - 80px)/5);}
	.trc__ctrl {position: relative; opacity: 1; top: 0;}
	.trc__desc {flex-grow: 1.5;}
	.trc__info, .trc__info2 {width: 180px; flex: 1 1 0; max-width: 100%; min-width: 50px;}
	.lp-panel {width: calc(100% - 80px); padding: 30px; padding-right: 500px;}
	.lp-panel > img {width: 450px;}
	.owl-nav {margin-top: -20px;}
	.owl-prev, .owl-next {width: 40px; height: 40px; font-size: 18px;}
	.owl-prev {left: -20px;}
	.owl-next {right: -20px;}
	.sect:has(.has-slider-popular) .sect__header {padding-right: 110px;}
	#owl-popular .owl-nav {margin-top: -66px;}
	.wrapper--register {padding: 20px; background-size: cover !important;}
	.wrapper--register .lp-panel {height: auto;}

	.player__btns {margin-right: 0; width: auto; padding: 0 var(--indent);}
	.player__title {font-size: 14px;}
	.player__subtitle {margin-top: 0px;}
	.player__volume {display: none;}
	.pl-item.is-playing::before {width: 5px;}
	
	.page__main {gap: 20px 20px;}
	.page__actions--btns {margin-bottom: 20px;}
	.page__bg {aspect-ratio: 3 / 2; top: -130px;}
	.search-is-active .page__bg {top: -200px;}
	.search-is-active .header__search {display: block;}
}

@media screen and (max-width: 950px) {
	.wrapper__container {max-width:768px;}
	.pagination {gap: 10px;}
	.pagination__btn-loader a, .pagination__btn-loader span {width: 100%;}
	.pagination > a, .pagination > span {flex-grow: 1; order: 10;}
	.pagination__pages {width: 100%;}
	.pagination__pages a, .pagination__pages span {flex-grow: 1;}
	.header__btn-pro span, .header__btn-login span {display: none;}
	.header__btn-pro, .header__btn-login {padding: 0; width: 50px;}
	.lp {padding: 30px; overflow-y: auto; overflow-x: hidden;}
	.lp-panel {width: calc(100% - 20px); padding: 30px;}
	.lp-panel > img {display: none;}
	.lp-panel__close {right: -36px; top: -36px;}
	.has-slider-popular:not(.owl-carousel) {grid-template-columns: repeat(4,minmax(0,1fr));}
	.has-slider-popular:not(.owl-carousel) > .album2-item:nth-child(8) ~ .album2-item {display: none;}
	
	.mybnr-stream__title:last-child {width: 100%;}
	.has-slider:not(.owl-carousel) > .album-item {width: calc((100% - 40px)/3);}
	.has-slider:not(.owl-carousel) > .album2-item {width: calc((100% - 40px)/3);}
	.has-slider:not(.owl-carousel) > .radio-item {width: calc((100% - 80px)/5);}
	.has-slider:not(.owl-carousel) > .artist-item {width: calc((100% - 60px)/4);}
	.genres.has-slider:not(.owl-carousel) > li {width: calc((100% - 45px)/4);}
	.has-slider:not(.owl-carousel) > .video-item {width: calc((100% - 20px)/2);}
	.trc__info {display: none;}
	.footer {grid-template-columns: max-content 1fr; padding-bottom: 30px;}
	.footer__qr, .footer__apps {display: none;}
	.footer__btn {display: flex;}

	.page__play {margin: 0;}
	.page__genres {margin-top: 15px;}
	.page-video__cols {display: block;}
	.page-video__mybnr {display: none;}
	.page__actions--btns h1 {min-width: 100%; order: -1;}
	.page-video .page__actions--btns {margin-right: 0;}
	.page-playlist .page__main {grid-template-columns: 280px 1fr;}
	.page-tv__cols {grid-template-columns: minmax(0,1fr);}
	.page-tv__chat {height: 90vh;}
}

@media screen and (max-width: 760px) {
	.wrapper__container {max-width:640px;}
	body, .wrapper {width: 100vw;}
	.wrapper {padding-bottom: 0;}
	.header {gap: 20px 10px;}
	.header__login-name, .header__login-short::before {display: none;}
	.header__login-img .header__login-status {left: 50%;}
	.sect__tabs, .sect-tabs {gap: 10px;}
	.mybnr-stream {padding: 20px; padding-left: 180px; gap: 0px; background-position: left -100px center;}
	.mybnr-stream__title {font-size: 24px;}
	.mybnr-stream__subtitle {font-size: 16px; font-weight: 500; min-width: 100%; margin-bottom: 10px;}
	.mybnr-stream__title.logo-icon::before {width: 40px; background-size: 34px; 
		background-position: center bottom -4px; margin-right: 10px; border-radius: 10px;}
	.has-slider:not(.owl-carousel) > .album-item {width: calc((100% - 20px)/2);}
	.has-slider:not(.owl-carousel) > .album2-item {width: calc((100% - 20px)/2);}
	.has-slider:not(.owl-carousel) > .radio-item {width: calc((100% - 40px)/3);}
	.has-slider:not(.owl-carousel) > .artist-item {width: calc((100% - 40px)/3);}
	.genres.has-slider:not(.owl-carousel) > li {width: calc((100% - 30px)/3);}
	.has-slider:not(.owl-carousel) > .video-item {width: calc((100% - 20px)/2);}
	.footer {grid-template-columns: 1fr;}
	.footer__menu a {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;}
	.footer__menu {grid-column: 1 / -1; padding-top: 20px; gap: 10px 20px; grid-template-columns: repeat(2,minmax(80px,1fr));}
	.trc__desc {flex-grow: 1;}
	.trc__info, .trc__info2 {display: none;}
	.getreg {padding: 40px; text-align: left;}
	.getreg::before {width: 50px; border-radius: 10px; left: 40px; top: 45px; transform: none; 
		background-position: center bottom -5px; background-size: 40px;}
	.getreg__title, .getreg__subtitle {padding-left: 70px;}
	.getreg__btn {width: 100%;}
	.has-slider-popular:not(.owl-carousel) {grid-template-columns: repeat(3,minmax(0,1fr));}
	.has-slider-popular:not(.owl-carousel) > .album2-item:nth-child(6) ~ .album2-item {display: none;}

	.player {gap: 10px; padding: 0 var(--indent);}
	.player__img, .player__info-text, .player__pl-count {display: none;}
	.player__desc {flex: 0 0 auto; order: 10; margin: 0; padding: 0; min-width: 30px;}
	.player__btns {flex-grow: 1; box-shadow: none; padding: 0;}
	.player__btn-shuffle, .player__btn-repeat {width: 30px; order: -1;}
	.player__btn-menu, .player__btn-playlist {width: 30px;}
	.player__btn-shuffle, .player__btn-repeat, .player__btn-menu {font-size: 18px;}
	.player__btn-playlist {font-size: 26px;}
	.player__time {display: none;}
	.player__bar {margin-bottom: 0;}
	.player__bar input[type="range"]::-webkit-slider-thumb {opacity: 0;}
	.player__bar input[type="range"]::-webkit-slider-runnable-track {height: 20px;}
	.player__bar input[type="range"]::-moz-range-thumb {opacity: 0;}
	.player__bar input[type="range"]::-moz-range-track {height: 20px;}
	.pl-item__time {width: auto; background: none !important;}
	.pl-item.is-playing .pl-item__desc {background: url(../images/waves.gif) right center / 40px no-repeat; padding-right: 50px;}

	.page__actions {justify-content: center;}
	.page__main {gap: 25px; grid-template-columns: minmax(0,1fr); text-align: center;}
	.page__ctrl {justify-content: center;}
	.page__main-img {width: 300px; justify-self: center; grid-column: 1 / -1; grid-row: 2 / 3;}
	.page__bg {aspect-ratio: 1 / 1;}
	.page-playlist .page__main {grid-template-columns: minmax(0,1fr);}
	.page-playlist .page__main-img {width: 420px; max-width: 100%;}
	
	.rkla__desc-right {width: 100%; margin: 0; margin-top: 20px;}
	.rkla__close {right: 10px; top: 10px;}
	
#wajax > br,
.page__actions--btns {
    display: none;
}
.page__caption {
    display: none;
}
.page__main {
    gap: 10px;
    margin-top: 10px;
}
	
}

.mobile-tabbar {display: none;}
.header__logo--mobile {display: none;}

@media (min-width: 590px) and (max-width: 1152px) {
    .player {bottom: 130px !important}
    .wrapper {min-height: 100%}
    .header {justify-content: space-between; margin-left: calc(-1 * var(--indent)); margin-right: calc(-1 * var(--indent)); width: calc(100% + 2 * var(--indent)); box-sizing: border-box; border-radius: 0;}
    .header__logo--mobile {display: flex !important; flex-grow: 0; flex-shrink: 0; height: 40px; padding-left: 0;}
    .header__logo--mobile::before {display: block !important; height: 36px; aspect-ratio: 1/1;}
    .header__btn-search {margin-left: auto;}
    .header.is-sticky .header__login-status {top: 0;} 
    .header__btn-menu{display: none;}
}

@media screen and (max-width: 1152px) {
		/* Нижняя таббар */
		.mobile-tabbar {
	    display: flex;
	    position: fixed;
	    bottom: 0; left: 0; right: 0;
	    height: 56px;
	    background-color: rgba(30, 35, 45, 0.55);
	    backdrop-filter: blur(16px);
	    -webkit-backdrop-filter: blur(16px);
	    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
	    border-top: 1px solid rgba(255, 255, 255, 0.07);
	    z-index: 1000;
	    justify-content: space-around;
	    align-items: center;
	}
		.mobile-tabbar__item {
		    display: flex;
		    flex-direction: column;
		    align-items: center;
		    justify-content: center;
		    flex: 1;
		    height: 100%;
		    color: var(--tt-icon);
		    font-size: 0;
		}
		.mobile-tabbar__item::before {
		    font-size: 22px;
		}
		.mobile-tabbar__item.is-active::before {
		    color: var(--accent);
		}


}


@media screen and (max-width: 590px) {
	/* Скрыть бургер и мобильное меню */
	.header__btn-menu {display: none !important;}
	.mobile-menu {display: none !important;}



	/* Отступ снизу для плеера чтобы таббар не перекрывал */
	body {padding-bottom: 0;}
/*.content {padding-bottom: 0 !important;}*/

	/* Player fixed above tabbar + glass style */
	.player {
	    position: fixed !important;
	    left: 10px !important;
	    right: 10px !important;
	    bottom: calc(56px + 8px) !important;
	    width: calc(100% - 20px) !important;
	    margin: 0 !important;
	    z-index: 999 !important;
	    background: rgba(4, 8, 12, 0.60) !important;
    background-color: rgba(4, 8, 12, 0.60) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
	    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
	}
	body.dt .player {
	    background: rgba(4, 8, 12, 0.60) !important;
    background-color: rgba(4, 8, 12, 0.60) !important;
	}

	/* Progress bar — slimmer, no bleed */
	.player__bar {
	    height: 12px !important;
	    margin-bottom: -10px !important;
	    border-radius: 8px 8px 0 0 !important;
	    left: 10px !important;
	    right: 10px !important;
	    overflow: hidden !important;
	}
	.player__bar input[type="range"]::-webkit-slider-runnable-track {
	    height: 8px !important;
	}
	.player__bar input[type="range"]::-moz-range-track {
	    height: 8px !important;
	}

	/* Toggled-on state stays highlighted */
	.player--is-repeated .player__btn-repeat,
	.player--is-shuffled .player__btn-shuffle {
	    color: var(--accent) !important;
	}
	/* Tap feedback on press */
	.player__btn:active {
	    color: var(--accent) !important;
	    background: none !important;
	    transform: scale(0.88);
	    transition: transform 0.1s, color 0.1s;
	}

	/* Full Story page: play button centered between fav and menu */
	.page__actions .page__play { order: 2 !important; }
	.page__actions > a         { order: 1 !important; }
	.page__actions .page__ctrl { order: 3 !important; }

	.wrapper__container {max-width:480px;}
	.mobile-menu {width: 85vw; transform: translate(-100%,0);}
	.header {justify-content: space-between; margin-left: calc(-1 * var(--indent)); margin-right: calc(-1 * var(--indent)); width: calc(100% + 2 * var(--indent)); box-sizing: border-box; border-radius: 0;}
	.header__logo--mobile {display: flex !important; flex-grow: 0; flex-shrink: 0; height: 40px; padding-left: 0;}
	.header__logo--mobile::before {display: block !important; height: 36px; aspect-ratio: 1/1;}
	.header__btn-search {margin-left: auto;}
	.header.is-sticky .header__login-status {top: 0;}
	.footer__text br, .header__btn-pro {display: none;}
	.header__btn-menu, .header__btn-login, .header__btn-pro, .header__btn-theme, .header__btn-notification, 
	.header__login-img, .header__btn-search {width: 44px; height: 44px; font-size: 24px;}
	.has-slider:not(.owl-carousel) > .album-item {width: calc((100% - 20px)/2);}
	.has-slider:not(.owl-carousel) > .album2-item {width: calc((100% - 20px)/2);}
	.has-slider:not(.owl-carousel) > .radio-item {width: calc((100% - 20px)/2);}
	.has-slider:not(.owl-carousel) > .artist-item {width: calc((100% - 20px)/2);}
	.genres.has-slider:not(.owl-carousel) > li {width: calc((100% - 20px)/2);}
	.has-slider:not(.owl-carousel) > .video-item {width: 100%;}
	.has-slider .mybnr {width: calc(100vw - 40px); height: 170px;}
	.mybnr-slider .owl-prev {left: 0px;}
	.mybnr-slider .owl-next {right: 0px;}
	.album-item {padding: 0; box-shadow: none;}
	.album-item__img {width: 100%;}
	.album-slider .owl-nav button {margin-top: -50px;}
	.trc {gap: 10px; padding: 10px 0;}
	.trc::before {inset: 0 -10px; border-radius: 10px;}
	.trc:first-child {margin-top: -10px;}
	.trc__desc::before {left: 50px; right: 130px;}
	.trc__img, .trc__play {margin: 0; width: 40px; height: 40px; padding: 0;}
	.trc__title {font-size: 14px;}
	.trc__subtitle {font-size: 12px;}
	.trc__time {font-size: 12px; font-weight: 400; width: 40px; text-align: center;}
	.trc__ctrl-btn {margin-right: -5px; height: 40px;}
	.sect:has(.has-slider-popular) .sect__header {padding-right: 0;}
	.sect:has(.has-slider-popular) .sect__title {min-width: 100%;}
	.mybnr2 {padding-right: 100px;}
	.mybnr2__icon, .mybnr2::before {right: -40px;}
	
	.genres-list li {flex: 1 0 140px; min-width: 140px;}
	.pp {padding: 20px;}
	.pp__header {font-size: 18px;}
	.pp__header::before {font-size: 24px;}
	.page__play {width: 72px; height: 72px; min-width: 72px; border-radius: 50%; flex-grow: 0; gap: 0; font-size: 0; padding: 0;}
  .page__ctrl-btn, .page__actions > a, .page__fav, .page__dl {height: 56px; width: 56px; font-size: 24px; border-radius: 50px; padding: 0;}
	.page__actions--btns h1 {font-size: 18px;}
	.page-video__like {flex-grow: 1;}
}

/* Desktop: natural order restored */
@media screen and (min-width: 591px) {
    .page__actions .page__play,
    .page__actions > a,
    .page__actions .page__ctrl {
        order: unset !important;
    }
}

@media screen and (max-width: 470px) {
	.wrapper__container123 {max-width:360px;}
	.header__login-img {width: 36px; height: 36px; margin-left: 0px;}
	.header__login-img .header__login-status {top: -12px;}
	.header__btn-theme, .header__btn-notification, .header__btn-search, .header__btn-login {width: 36px; min-width: 36px;}
	.header__btn-theme {margin: 0 -5px !important;}
	.header__btn-login {height: 30px; background: none; color: var(--tt-icon); border-radius: 6px; margin-left: -5px;}
	.header__btn-notification::after {right: 0px; top: 5px;}
	.mybnr-stream {padding-left: 140px; background-position: left -160px center;}
	.sect__btn {width: 100%; margin-top: 20px;}
	.mybnr__label {height: 50px; width: auto; font-size: 24px; padding: 0 20px;}
	.album-item__meta, .artist-item__subtitle, .album2-item__subtitle, .popular-item .album2-item__subtitle {font-size: 12px;}
	.artist-item__title, .album-item__title, .album2-item__title {font-size: 14px;}
	.sect:not(:has(.sect__tabs)) .sect__title {flex: 1 1 0;}
	.genres li a {padding: 20px; font-size: 18px;}
	.genres li a::before {left: 20px; bottom: 20px;}
	.mybnr__desc::before, .mybnr__label {order: 10;}
	.mybnr-tlg__desc::before {font-size: 40px;}
	.header__lp, .header__notification-list {width: calc(100% - 40px); top: 80px; right: 20px;}
	.header__login, .header__notification {position: static;}
	.header__lp-btn {width: auto; padding: 0 20px;}
	.header__lp-header, .header__lp-menu a {padding-left: 20px; padding-right: 20px;}
	.lp {padding: 0;}
	.lp--appear {display: block;}
	.lp-panel {padding: 30px var(--indent); border-radius: 0; width: 100%; height: 100vh;}
	.lp-panel__close {right: 10px; top: 10px;}
	.has-slider-popular:not(.owl-carousel) {grid-template-columns: repeat(2,minmax(0,1fr));}
	.has-slider-popular:not(.owl-carousel) > .album2-item:nth-child(4) ~ .album2-item {display: none;}
}
@media screen and (max-width: 390px) {
	.mybnr-stream {padding-left: 100px;}
}

/* ================================================
   FOOTER LAYOUT — links above text, left-aligned
   Must be at the very end to override all breakpoints
   ================================================ */
@media screen and (min-width: 591px) {
    .footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        grid-template-columns: unset !important;
    }
    .footer__menu {
        order: 1 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px 20px !important;
        padding: 0 !important;
        border: none !important;
        border-top: none !important;
        padding-top: 0 !important;
        grid-column: unset !important;
        grid-template-columns: unset !important;
        align-self: unset !important;
    }
    .footer__text {
        order: 2 !important;
        align-self: flex-start !important;
    }
    .footer__apps, .footer__qr {
        display: none !important;
    }
}

/* ====================== 2K / 4K FIXES ====================== */
@media screen and (min-width: 2560px) {

	/* 1. Убираем сдвиг шаблона при открытии логина и плейлиста */
	body.login-is-active,
	body.pl-opened {
		padding-right: 0 !important;
	}

	/* 2. Логин-панель — без рывка и с нормальной прокруткой */
	.lp {
		padding: 40px !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
	}

	.lp-panel {
		max-width: 520px !important;
		width: 100% !important;
		margin: auto !important;
	}

	/* 3. Fullstory — ограничиваем высоту текстовых блоков */
	.full-text {
		max-height: min(58vh, 900px);
		overflow-y: auto;
		overflow-x: hidden;
		padding-right: 10px;
	}

	/* если блок "Информация" тоже тянется слишком высоко */
	.page .sect,
	.page .page__info,
	.page .page__sidebar,
	.page .page__text {
		max-height: none;
		min-height: 0;
	}

	/* 4. Плейлист в плеере — не вылазит за экран */
	.player__playlist {
		left: 20px !important;
		right: 20px !important;
		bottom: 100px !important;
		height: auto !important;
		max-height: calc(100vh - 160px) !important;
		overflow: hidden !important;
	}

	.player__playlist-list {
		max-height: calc(100vh - 240px) !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
	}
}

/* 2K / 4K — фикс плейлиста плеера */
@media screen and (min-width: 2560px) {
	.player__playlist {
		position: fixed !important;
		left: 10px !important;
		right: 10px !important;
		top: 20px !important;
		bottom: 90px !important;
		height: auto !important;
		max-height: none !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}

	.player__playlist-list {
		height: calc(100% - 80px) !important;
		max-height: calc(100% - 80px) !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
	}
}
@media screen and (max-width: 590px) {
  #wajax.content {
    padding-bottom: 100px !important;
  }
}

@media screen and (min-width: 1221px) {
	body .player {
		--player-cover-rgb: 56, 193, 111;
		transition: background-color .35s ease, box-shadow .35s ease;
	}

	body .player.player--has-cover-color,
	body.dt .player.player--has-cover-color {
		background: rgba(var(--player-cover-rgb), .26) !important;
		background-color: rgba(var(--player-cover-rgb), .26) !important;


	}
}