/*
	zzz.fm — редизайн 2026 (v2: светлый и тёплый)
	Заменяет старые 3_base / header / footer / blocks / x1 / playlist / fixplayer / colors / 1000px только для zzz.fm.
	Разметка — общая (system/tpl/other.php) + _unique_file/eee.fm/system/tpl/{main,other}.php.
	Подключается отдельным файлом из main.php, мимо CssMin (он ломает counter-reset, сжатые font и @font-face).
	Классы состояний, которые переключает JS: li.act, li.favourite, a.playlist-btn-play|pause,
	a.onesongblock-play.on, #fixplayer-pv.{line,repeat,shuffle,stop}, #fixplayer-sound.{on,off},
	#fixplayer-lcd.notify, #fixplayer.js__vol_ctrl_hide, html.js__search_act, .hidden, body.loading.
*/

@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/GolosText-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/GolosText-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url('../fonts/Unbounded-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url('../fonts/Unbounded-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}


/* ================================================================ tokens */
:root {
	--bg: #FBF7F5;          /* фон страницы: тёплый светлый */
	--bg-2: #F4EDEA;        /* подвал, подложки кнопок */
	--sheet: #FFFFFF;
	--ink: #24161D;         /* тёмно-сливовый вместо чёрного */
	--muted: #75646C;
	--line: #EFE5E3;
	--accent: #E0245E;      /* малиновый: кнопки «слушать», активные элементы */
	--accent-hover: #C81C51;
	--accent-ink: #C21F55;  /* малиновый для текста на светлом (AA) */
	--accent-soft: #FDE8EE; /* подсветка играющего трека */
	--glow-1: #FFE4D6;      /* тёплая подложка шапки главной */
	--glow-2: #FFDDE7;
	--glow-3: #F5E2F6;

	--display: 'Unbounded', 'Arial Black', sans-serif;
	--text: 'Golos Text', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	--wrap: 1180px;
	--gutter: 20px;
	--r-sheet: 20px;
	--r-ctl: 12px;
	--player-h: 72px;

	/* иконки — маски, цвет задаётся background-color. «плей» сдвинут так, чтобы оптически стоять по центру круга */
	--i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5.3v13.4a1 1 0 0 0 1.53.85l10.6-6.7a1 1 0 0 0 0-1.7L8.53 4.45A1 1 0 0 0 7 5.3z'/%3E%3C/svg%3E");
	--i-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='5' width='4' height='14' rx='1.2'/%3E%3Crect x='14' y='5' width='4' height='14' rx='1.2'/%3E%3C/svg%3E");
	--i-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v11m0 0-4.5-4.5M12 15l4.5-4.5M5 19.5h14' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.2 4.2 0 0 1 12 7.3a4.2 4.2 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
	--i-heart-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.2 4.2 0 0 1 12 7.3a4.2 4.2 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20z' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
	--i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='black' stroke-width='2.2'/%3E%3Cpath d='M16 16l4 4' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
	--i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8.5' r='3.8' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M4.5 20a7.5 7.5 0 0 1 15 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	--i-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6 6 18' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
	--i-prev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 6v12' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M18 6.6v10.8a.8.8 0 0 1-1.2.7L9 12.7a.8.8 0 0 1 0-1.4l7.8-5.4a.8.8 0 0 1 1.2.7z'/%3E%3C/svg%3E");
	--i-next: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5 6v12' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M6 6.6v10.8a.8.8 0 0 0 1.2.7L15 12.7a.8.8 0 0 0 0-1.4L7.2 5.9A.8.8 0 0 0 6 6.6z'/%3E%3C/svg%3E");
	--i-vol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z'/%3E%3Cpath d='M15.5 9a4 4 0 0 1 0 6M18 6.5a7.5 7.5 0 0 1 0 11' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	--i-mute: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z'/%3E%3Cpath d='M16 9.5l5 5M21 9.5l-5 5' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	--i-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h10M4 17h7' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M16 14v6l4.5-3z'/%3E%3C/svg%3E");
	--i-repeat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 11V9.5A3.5 3.5 0 0 1 8.5 6H19m0 0-3-3m3 3-3 3M19 13v1.5a3.5 3.5 0 0 1-3.5 3.5H5m0 0 3 3m-3-3 3-3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--i-shuffle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h3c4.5 0 5.5 10 10 10h3m0 0-2.5-2.5M20 17l-2.5 2.5M4 17h3c1.5 0 2.6-1.1 3.5-2.6M20 7h-3c-1.5 0-2.6 1.1-3.5 2.6M20 7l-2.5-2.5M20 7l-2.5 2.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--i-stop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='14' y='15' width='6' height='5' rx='1'/%3E%3Cpath d='M4 17h7' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}


/* ================================================================ base */
html {
	font-size: 10px;
	background-color: var(--bg);
	-webkit-text-size-adjust: 100%;
}
body {
	min-width: 320px;
	font: 400 1.5rem/1.5 var(--text);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.hidden {
	position: absolute !important;
	left: -9999px !important;
}

/* маска-иконка: общая механика */
#he-fav::before, #user_block-xx::before, #he-search-mob_search::before, #he-search-mob_close::before,
ul.playlist > li .playlist-btn a::before,
ul.playlist > li > em a.playlist-btn-addfav::before,
ul.playlist > li > em a.ulist-del::before,
.onesongblock .onesongblock-btns > a::before,
#fixplayer a#fixplayer-b_back::before, #fixplayer a#fixplayer-b_next::before,
#fixplayer a#fixplayer-b_play::before, #fixplayer a#fixplayer-b_pause::before,
#fixplayer a#fixplayer-pv::before, #fixplayer a#fixplayer-sound::before {
	content: '';
	display: block;
	background: currentColor;
	-webkit-mask: var(--i-play) center / contain no-repeat;
	mask: var(--i-play) center / contain no-repeat;
}


/* ================================================================ header */
header#header {
	height: 64px;
	padding: 0 var(--gutter);
	background: rgba(255,255,255, 0.92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	position: sticky;
	top: 0;
	z-index: 40;
}
header#header #header_x1 {
	max-width: var(--wrap);
	height: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 32px;
}

/* логотип — живой текст вместо картинки */
header#header a#he-logo {
	flex-shrink: 0;
	font: 700 2.4rem/1 var(--display);
	letter-spacing: -0.03em;
	color: var(--ink);
	text-decoration: none;
}
header#header a#he-logo > span { color: var(--accent); }
header#header a#he-logo > small {
	font-size: 0.62em;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--muted);
	margin-left: 0.08em;
}

header#header #he-nav {
	display: flex;
	gap: 24px;
	white-space: nowrap;
}
header#header #he-nav > a {
	font-size: 1.45rem;
	font-weight: 500;
	color: var(--muted);
	text-decoration: none;
}
header#header #he-nav > a:hover { color: var(--ink); }

header#header #header_p {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

/* поиск */
header#header #he-search-ctr {
	flex: 0 1 380px;
	min-width: 0;
	display: flex;
	align-items: center;
	margin-right: 8px;
}
header#header #he-search { flex: 1; min-width: 0; }
header#header #he-search > div { position: relative; }
header#header #he-search input#he-search-text {
	width: 100%;
	height: 40px;
	display: block;
	padding: 0 46px 0 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--bg-2);
	color: var(--ink);
	font: 400 1.45rem var(--text);
	transition: background-color 0.15s, border-color 0.15s;
}
header#header #he-search input#he-search-text::placeholder { color: var(--muted); font-style: normal; }
header#header #he-search input#he-search-text:focus {
	outline: none;
	background: #FFF;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}
header#header #he-search input#he-search-submit {
	width: 34px;
	height: 34px;
	position: absolute;
	top: 3px;
	right: 4px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%2375646C' stroke-width='2.2'/%3E%3Cpath d='M16 16l4 4' stroke='%2375646C' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
header#header #he-search:focus-within input#he-search-submit {
	background-color: var(--accent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%23FFFFFF' stroke-width='2.2'/%3E%3Cpath d='M16 16l4 4' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
header#header a#he-search-mob_search,
header#header a#he-search-mob_close { display: none; }

/* круглые кнопки шапки */
header#header a#he-fav,
header#header a#he-search-mob_search,
header#header a#he-search-mob_close {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 999px;
	color: var(--ink);
	position: relative;
	text-decoration: none;
	align-items: center;
	justify-content: center;
}
header#header a#he-fav { display: flex; }
header#header a#he-fav:hover,
header#header a#he-search-mob_search:hover,
header#header a#he-search-mob_close:hover { background: var(--bg-2); }
header#header a#he-fav::before { width: 21px; height: 21px; -webkit-mask-image: var(--i-heart); mask-image: var(--i-heart); }
header#header a#he-search-mob_search::before { width: 21px; height: 21px; -webkit-mask-image: var(--i-search); mask-image: var(--i-search); }
header#header a#he-search-mob_close::before { width: 20px; height: 20px; -webkit-mask-image: var(--i-close); mask-image: var(--i-close); }
header#header a#he-fav > i {
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	position: absolute;
	top: 3px;
	right: 1px;
	border-radius: 999px;
	background: var(--accent);
	color: #FFF;
	font: 600 1.05rem/17px var(--text);
	font-style: normal;
	text-align: center;
}

/* аккаунт */
header#header #user_block { position: relative; flex-shrink: 0; }
header#header #user_block a#user_block-xx {
	height: 40px;
	max-width: 160px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-size: 1.45rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
header#header #user_block a#user_block-xx:hover,
header#header #user_block:focus-within a#user_block-xx { background: var(--bg-2); }
header#header #user_block a#user_block-xx::before {
	flex-shrink: 0;
	width: 19px;
	height: 19px;
	-webkit-mask-image: var(--i-user);
	mask-image: var(--i-user);
}
header#header #user_block a#user_block-xx > i {
	font-style: normal;
	overflow: hidden;
	text-overflow: ellipsis;
}
header#header #user_block ul#user_block-ul {
	min-width: 180px;
	display: none;
	margin-top: 8px;
	padding: 6px;
	position: absolute;
	top: 100%;
	right: 0;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--sheet);
	box-shadow: 0 12px 32px rgba(36,22,29, 0.12);
}
header#header #user_block::after { /* мостик, чтобы меню не закрывалось при переводе курсора */
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 8px;
}
header#header #user_block:hover ul#user_block-ul,
header#header #user_block:focus-within ul#user_block-ul { display: block; }
header#header ul#user_block-ul > li > a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--ink);
	font-size: 1.45rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
header#header ul#user_block-ul > li > a:hover { background: var(--bg); }
header#header ul#user_block-ul > li > a::before { content: none; }


/* ================================================================ шапка главной: компактная */
#zz-hero {
	padding: 30px var(--gutter) 64px;
	background:
		radial-gradient(60% 120% at 0% 0%, var(--glow-1) 0%, transparent 70%),
		radial-gradient(50% 120% at 100% 0%, var(--glow-3) 0%, transparent 70%),
		var(--glow-2);
	color: var(--ink);
}
#zz-hero > * {
	max-width: var(--wrap);
	margin-left: auto;
	margin-right: auto;
}
#zz-hero h1.main_title {
	margin-bottom: 18px;
	font: 700 2.8rem/1.2 var(--display);
	letter-spacing: -0.02em;
	text-align: left;
	font-style: normal;
	text-wrap: balance;
	color: var(--ink);
}
#zz-hero form#zz-hero-search {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}
#zz-hero form#zz-hero-search > input {
	flex: 0 1 600px;
	min-width: 0;
	height: 54px;
	padding: 0 24px 0 52px;
	border: 1px solid rgba(36,22,29, 0.06);
	border-radius: 999px;
	background: #FFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%2375646C' stroke-width='2.2'/%3E%3Cpath d='M16 16l4 4' stroke='%2375646C' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") 20px center / 20px no-repeat;
	box-shadow: 0 6px 20px rgba(194,31,85, 0.08);
	color: var(--ink);
	font: 400 1.6rem var(--text);
}
#zz-hero form#zz-hero-search > input::placeholder { color: var(--muted); }
#zz-hero form#zz-hero-search > input:focus { outline: 3px solid rgba(224,36,94, 0.35); outline-offset: 1px; }
#zz-hero form#zz-hero-search > button {
	height: 54px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: #FFF;
	font: 700 1.5rem var(--display);
	cursor: pointer;
}
#zz-hero form#zz-hero-search > button:hover { background: var(--accent-hover); }
/* жанры — одной строкой, листаются вбок */
#zz-hero ul#zz-hero-genres {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
	padding-right: 48px;
}
#zz-hero ul#zz-hero-genres::-webkit-scrollbar { display: none; }
#zz-hero ul#zz-hero-genres > li { flex-shrink: 0; }
#zz-hero ul#zz-hero-genres > li > a {
	display: block;
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(255,255,255, 0.7);
	color: var(--ink);
	font-size: 1.4rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
#zz-hero ul#zz-hero-genres > li > a:hover { background: #FFF; color: var(--accent-ink); }


/* ================================================================ layout */
#xx1 { position: relative; }
#xx2 {
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
	position: relative;
}
#xbody {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: start;
	gap: 24px;
	margin: 28px 0 48px;
}
#xbody::before, #xbody::after { content: none; }
#xbody-content, #xbody-side1 { width: auto; float: none; margin: 0; min-width: 0; }

/* главная: листы заходят на тёплую подложку, сайдбар не нужен (жанры уже наверху) */
#xx2.zz-page-home #xbody { grid-template-columns: minmax(0, 1fr); margin-top: -36px; }
#xx2.zz-page-home #xbody-side1 { display: none; }
#main_page_songs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}
#main_page_songs > .xblock { margin-bottom: 0; }
/* третий чарт — на всю ширину, треки в две колонки (1–5 | 6–10) */
#main_page_songs > .xblock:nth-child(3) { grid-column: 1 / -1; }
#main_page_songs > .xblock:nth-child(3) ul.playlist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(5, auto);
	grid-auto-flow: column;
	column-gap: 20px;
}


/* ================================================================ sheets */
.xblock,
.onesongblock,
.bl_side,
#xbody-content > .gl__alter {
	background: var(--sheet);
	border-radius: var(--r-sheet);
	box-shadow: 0 1px 2px rgba(36,22,29, 0.04), 0 0 0 1px rgba(36,22,29, 0.03);
	margin-bottom: 20px;
	overflow: clip;
	position: relative;
}
.xblock h1.title,
.xblock h2.title {
	padding: 24px 24px 10px;
	font: 700 2rem/1.25 var(--display);
	letter-spacing: -0.015em;
	color: var(--ink);
}
.xblock h1.title { font-size: 2.6rem; }
.xblock h1.title > .prefix,
.xblock h2.title > .prefix {
	display: block;
	margin-bottom: 6px;
	font: 500 1.35rem/1.3 var(--text);
	letter-spacing: 0;
	color: var(--muted);
	opacity: 1;
}
.xblock .xblock-p { padding: 6px 12px 12px; }
.xblock .xblock_footer { padding: 4px 24px 22px; text-align: left; }
.xblock .xblock-p .xblock_footer { padding: 10px 12px 10px; }
.xblock .xblock_footer > a {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--bg-2);
	color: var(--ink);
	font-size: 1.4rem;
	font-weight: 600;
	text-decoration: none;
}
.xblock .xblock_footer > a:hover { background: var(--accent-soft); color: var(--accent-ink); }


/* ================================================================ track list */
ul.playlist {
	display: block;
	margin: 0;
	font-size: 1.5rem;
	counter-reset: rank var(--zz-rank-start, 0);
}
ul.playlist > li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto auto 36px;
	grid-template-areas: 'play name fav dur down';
	align-items: center;
	column-gap: 12px;
	padding: 8px 12px;
	border-radius: 14px;
	overflow: visible;
	position: relative;
}
ul.playlist > li:hover { background: var(--bg); }
ul.playlist > li.act { background: var(--accent-soft); }
ul.playlist > li .playlist-btn,
ul.playlist > li > em { display: contents; }

/* кнопки */
ul.playlist > li .playlist-btn a {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	float: none;
	border-radius: 999px;
	overflow: hidden;
	text-indent: 0;
	font-size: 0;
	color: var(--ink);
	position: relative;
}
ul.playlist > li .playlist-btn a::before { position: static; margin: 0; width: 18px; height: 18px; }
ul.playlist > li .playlist-btn a.playlist-btn-play,
ul.playlist > li .playlist-btn a.playlist-btn-pause { grid-area: play; background: var(--accent); color: #FFF; }
ul.playlist > li .playlist-btn a.playlist-btn-play:hover,
ul.playlist > li .playlist-btn a.playlist-btn-pause:hover { background: var(--accent-hover); }
ul.playlist > li .playlist-btn a.playlist-btn-pause::before { -webkit-mask-image: var(--i-pause); mask-image: var(--i-pause); }
ul.playlist > li .playlist-btn a.playlist-btn-down { grid-area: down; width: 36px; height: 36px; color: var(--muted); }
ul.playlist > li .playlist-btn a.playlist-btn-down::before { -webkit-mask-image: var(--i-down); mask-image: var(--i-down); width: 19px; height: 19px; }
ul.playlist > li .playlist-btn a.playlist-btn-down:hover { background: var(--bg-2); color: var(--ink); }

/* название: песня сверху, исполнитель под ней */
ul.playlist > li .playlist-name {
	grid-area: name;
	min-width: 0;
	display: flex;
	flex-direction: column-reverse;
	line-height: 1.3;
}
ul.playlist > li .playlist-name b,
ul.playlist > li .playlist-name em {
	height: auto;
	line-height: 1.3;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-style: normal;
	opacity: 1;
}
ul.playlist > li .playlist-name em { font-weight: 600; color: var(--ink); }
ul.playlist > li .playlist-name b { font-weight: 400; font-size: 1.35rem; color: var(--muted); }
ul.playlist > li .playlist-name i { display: none; }
ul.playlist > li .playlist-name a { color: inherit; text-decoration: none; }
ul.playlist > li .playlist-name a:hover { text-decoration: underline; }

/* избранное / удалить / длительность */
ul.playlist > li > em span.rt_share { display: none; }
ul.playlist > li > em a.playlist-btn-addfav,
ul.playlist > li > em a.ulist-del {
	grid-area: fav;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	float: none;
	margin: 0;
	border-radius: 999px;
	color: var(--muted);
	visibility: hidden;
}
ul.playlist > li:hover > em a.playlist-btn-addfav,
ul.playlist > li.act > em a.playlist-btn-addfav,
ul.playlist > li.favourite > em a.playlist-btn-addfav,
ul.playlist > li:hover > em a.ulist-del,
ul.playlist > li > em a:focus-visible { visibility: visible; }
ul.playlist > li > em a.playlist-btn-addfav:hover,
ul.playlist > li > em a.ulist-del:hover { background: var(--bg-2); color: var(--accent-ink); }
ul.playlist > li > em a.playlist-btn-addfav::before,
ul.playlist > li > em a.ulist-del::before { position: static; margin: 0; width: 18px; height: 18px; -webkit-mask-image: var(--i-heart); mask-image: var(--i-heart); }
ul.playlist > li.favourite > em a.playlist-btn-addfav { color: var(--accent); }
ul.playlist > li.favourite > em a.playlist-btn-addfav::before { -webkit-mask-image: var(--i-heart-on); mask-image: var(--i-heart-on); }
ul.playlist > li > em a.ulist-del::before { -webkit-mask-image: var(--i-close); mask-image: var(--i-close); width: 16px; height: 16px; }
ul.playlist > li > em .playlist-duration {
	grid-area: dur;
	height: auto;
	line-height: 1;
	float: none;
	font-size: 1.35rem;
	font-variant-numeric: tabular-nums;
	color: var(--muted);
	opacity: 1;
}

/* оверлеи «трек недоступен / загрузка» */
ul.playlist > li div[class*="playlist-oo_"] {
	inset: 4px;
	padding: 6px 12px;
	border-radius: 12px;
	background: rgba(255,255,255, 0.94);
	font-size: 1.3rem;
	color: var(--muted);
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 1;
}
ul.playlist > li.sortable-ghost::after { background: var(--accent-soft); border-radius: 14px; }

/* ---------- чарты: номер позиции — главный акцент сайта */
.zz-page-home ul.playlist > li,
.zz-page-music_genre ul.playlist > li {
	grid-template-columns: 34px 40px minmax(0, 1fr) auto auto 36px;
	grid-template-areas: 'rank play name fav dur down';
}
.zz-page-home ul.playlist > li::before,
.zz-page-music_genre ul.playlist > li::before {
	counter-increment: rank;
	content: counter(rank);
	grid-area: rank;
	justify-self: center;
	font: 700 1.7rem/1 var(--display);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.04em;
	color: var(--ink);
}
#xx2:not([style]).zz-page-home ul.playlist > li:nth-child(-n+3)::before,
#xx2:not([style]).zz-page-music_genre ul.playlist > li:nth-child(-n+3)::before {
	font-size: 2.3rem;
	color: var(--accent);
}
/* играет — вместо номера эквалайзер (только пока звук идёт) */
.zz-page-home ul.playlist > li:has(.playlist-btn-pause)::before,
.zz-page-music_genre ul.playlist > li:has(.playlist-btn-pause)::before {
	content: '';
	width: 17px;
	height: 16px;
	background:
		linear-gradient(var(--accent), var(--accent)) 0 100% / 4px 60% no-repeat,
		linear-gradient(var(--accent), var(--accent)) 6.5px 100% / 4px 100% no-repeat,
		linear-gradient(var(--accent), var(--accent)) 13px 100% / 4px 35% no-repeat;
	animation: zz-eq 0.8s ease-in-out infinite alternate;
}
@keyframes zz-eq {
	to { background-size: 4px 25%, 4px 55%, 4px 100%; }
}


/* ================================================================ pagination */
.ctr-listalka { margin: 6px 0 0; padding: 12px 0 8px; }
ul.listalka {
	min-height: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	padding: 0;
}
ul.listalka > li[class^="listalka-arrow-"] *,
ul.listalka > li.listalka-numbers * {
	min-width: 40px;
	height: 40px;
	line-height: 40px;
	display: block;
	padding: 0 10px;
	position: static;
	border-radius: 999px;
	font-size: 1.45rem;
	font-weight: 600;
	font-style: normal;
	text-align: center;
	text-decoration: none;
}
ul.listalka > li.listalka-numbers { margin: 0; }
ul.listalka > li a { background: var(--bg-2); color: var(--ink); }
ul.listalka > li a:hover { background: var(--accent-soft); color: var(--accent-ink); }
ul.listalka > li.listalka-numbers em { background: var(--accent); color: #FFF; }
ul.listalka > li[class^="listalka-arrow-"] em { opacity: 0.3; }
ul.listalka > li.listalka-numbers i { min-width: 0; padding: 0 2px; color: var(--muted); }


/* ================================================================ song page */
.onesongblock { padding: 32px; }
.onesongblock h1.onesongblock-title {
	display: flex;
	flex-direction: column-reverse;
	gap: 8px;
	margin-bottom: 20px;
	line-height: 1.15;
}
.onesongblock h1.onesongblock-title > em {
	font: 700 3.2rem/1.12 var(--display);
	letter-spacing: -0.025em;
	font-style: normal;
	color: var(--ink);
	overflow-wrap: anywhere;
}
.onesongblock h1.onesongblock-title > b { font: 600 1.7rem/1.3 var(--text); }
.onesongblock h1.onesongblock-title > b a { color: var(--accent-ink); }
.onesongblock h1.onesongblock-title > i { display: none; }

.onesongblock dl {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 24px;
}
.onesongblock dl > dt {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.onesongblock dl > dd {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--bg-2);
	font-size: 1.35rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	color: var(--muted);
}
.onesongblock dl > dd::after { content: none; }

.onesongblock .onesongblock-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}
.onesongblock .onesongblock-btns > a {
	height: 54px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0 28px 0 22px;
	border-radius: 999px;
	font: 700 1.5rem/1 var(--display);
	text-decoration: none;
	white-space: nowrap;
}
.onesongblock .onesongblock-btns > a::before { position: static; top: 0; width: 18px; height: 18px; margin: 0; background-image: none; }
.onesongblock a.onesongblock-play { background: var(--accent); color: #FFF; }
.onesongblock a.onesongblock-play:hover { background: var(--accent-hover); }
.onesongblock a.onesongblock-play.on::before { -webkit-mask-image: var(--i-pause); mask-image: var(--i-pause); }
.onesongblock a.onesongblock-download { background: var(--ink); color: #FFF; }
.onesongblock a.onesongblock-download:hover { background: #3D2A33; }
.onesongblock a.onesongblock-download::before { -webkit-mask-image: var(--i-down); mask-image: var(--i-down); }
.onesongblock a.onesongblock-rbt { background: var(--bg-2); color: var(--ink); }

.qr_code { margin: 0 0 20px; overflow: visible; }
.qr_code > a { font-size: 1.35rem; color: var(--muted); text-decoration: underline; text-underline-offset: 0.2em; }
.qr_code > div { display: none; margin-top: 10px; }
.qr_code > div > img { display: block; width: 180px; height: 180px; border-radius: 12px; }

.onesongblock .onesongblock-share_block {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 24px;
	padding: 0;
	background: none;
	text-align: left;
}
.onesongblock .onesongblock-share_block::before {
	content: 'Поделиться';
	margin: 0;
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--muted);
}
.onesongblock .onesongblock-share_block > span.rt_share { display: inline-block; }
.onesongblock-text {
	margin: 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--line);
	background: none;
	font-size: 1.4rem;
	line-height: 1.6;
	color: var(--muted);
}
.onesongblock-text h3 { font: 700 1.6rem/1.3 var(--display); color: var(--ink); margin-bottom: 0.8em; }
.onesongblock .videobox, .vkcomm_block { margin-bottom: 20px; border-radius: 14px; overflow: hidden; }
.videobox { padding-top: 56.25%; background: var(--bg-2); position: relative; }
.videobox .videobox_x1 { position: absolute; inset: 0; }
.videobox .videobox_x1 iframe { width: 100%; height: 100%; display: block; border: 0; }
.vkcomm_block #vk_comments, .vkcomm_block #vk_comments iframe { width: 100% !important; }

/* соц. кнопки — компактные плитки */
span.rt_share > a {
	width: 36px;
	height: 36px;
	margin-left: 6px;
	border-radius: 10px;
	background-size: 225px 36px;
	opacity: 1;
}
span.rt_share > a:hover { filter: brightness(1.08); }
span.rt_share > a.rt_share-fb { background-position: 0 0; }
span.rt_share > a.rt_share-tw { background-position: -37.8px 0; }
span.rt_share > a.rt_share-vk { background-position: -113.4px 0; }
span.rt_share > a.rt_share-ok { background-position: -151.2px 0; }


/* ================================================================ artist */
.biography { overflow: hidden; margin: 6px 12px 16px; line-height: 1.6; color: var(--ink); }
.biography .biography-prw > img {
	max-width: 36%;
	display: block;
	float: left;
	margin: 0 20px 10px 0;
	border-radius: 16px;
}
ul.list1 { columns: 2 220px; column-gap: 28px; padding: 0 12px; }
ul.list1 > li {
	display: block;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	break-inside: avoid;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
ul.list1 > li a { color: var(--ink); font-weight: 500; }
ul.list1 > li a:hover { color: var(--accent-ink); }


/* ================================================================ sidebar */
.bl_side { padding: 22px 22px 24px; }
.bl_side > .z__title {
	display: block;
	margin-bottom: 8px;
	font: 700 1.8rem/1.25 var(--display);
	letter-spacing: -0.015em;
}
.bl_side > p { margin-bottom: 16px; font-size: 1.35rem; line-height: 1.5; color: var(--muted); }
.music_styles_top > ul,
.main_menu_side > ul,
.topblock > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	column-count: auto;
	font-weight: 500;
}
.music_styles_top > ul > li,
.main_menu_side > ul > li { padding: 0; }
.music_styles_top > ul > li > a,
.main_menu_side > ul > li > a {
	display: block;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--bg-2);
	color: var(--ink);
	font-size: 1.4rem;
	text-decoration: none;
}
.music_styles_top > ul > li > a:hover,
.main_menu_side > ul > li > a:hover { background: var(--accent-soft); color: var(--accent-ink); }

.artist_block > .z__title { margin-bottom: 14px; }
.artist_block .artist_block-img {
	padding-top: 100%;
	margin-bottom: 16px;
	border-radius: 14px;
	background-position: 50% 15%;
	background-size: cover;
}
.artist_block h3 { margin-bottom: 6px; font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
.artist_block .artist_block-bio { font-size: 1.4rem; line-height: 1.55; color: var(--muted); }
.artist_block .artist_block-bio a { font-weight: 600; }


/* ================================================================ messages, forms */
.gl__alter {
	padding: 16px 20px;
	border-radius: 14px;
	font-size: 1.45rem;
	line-height: 1.55;
}
.gl__simplyblock:not(:last-child), .gl__alter:not(:last-child) { margin-bottom: 16px; }
.gl__alter a { text-decoration: underline; }
.gl__alter > em.title { font-weight: 600; font-style: normal; text-transform: none; display: block; }
.gl__alter.mod-error { background: #FDEDEF; color: #7D1A2A; }
.gl__alter.mod-info { background: var(--bg-2); color: var(--ink); }
.gl__alter.mod-success { background: #E7F5EA; color: #145A33; }
.xblock .xblock-p > .gl__alter { margin: 0 12px 12px; }

.rtform .lbl,
.rtform .kaptcha { margin: 0 12px 16px; position: relative; }
.rtform form > div:last-child { margin-left: 12px; margin-right: 12px; }
.lbl em.lbl-t, .kaptcha em.kaptcha-t {
	display: block;
	margin-bottom: 6px;
	font-style: normal;
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--muted);
}
.rtform select, .rtform textarea,
.rtform input[type="text"], .rtform input[type="password"], .rtform input[type="email"] {
	height: 46px;
	padding: 0 14px;
	border: 1px solid #E6D9D7;
	border-radius: var(--r-ctl);
	background-color: var(--sheet);
	color: var(--ink);
	font: 400 1.5rem var(--text);
}
.rtform textarea { height: auto; min-height: 150px; padding: 12px 14px; line-height: 1.5; }
.rtform select:focus, .rtform textarea:focus,
.rtform input[type="text"]:focus, .rtform input[type="password"]:focus, .rtform input[type="email"]:focus {
	border-color: var(--accent);
	outline: 3px solid var(--accent-soft);
	outline-offset: 0;
}
.rtform input[type="button"], .rtform input[type="submit"], .rtform input[type="reset"], .rtform a.psv_btn {
	height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: #FFF;
	font: 700 1.45rem/1 var(--display);
	cursor: pointer;
}
.rtform input[type="submit"].rtform-blue, .rtform input[type="button"].rtform-blue, .rtform a.psv_btn.rtform-blue {
	background: var(--accent);
	color: #FFF;
}
.rtform input[type="submit"]:hover, .rtform input[type="button"]:hover { box-shadow: inset 0 0 0 999px rgba(0,0,0, 0.1); }
.rtform input[type="submit"]:active, .rtform input[type="button"]:active { border: 0; box-shadow: inset 0 0 0 999px rgba(0,0,0, 0.16); }

/* настройки поиска */
.search_settings {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin: 0 12px 10px;
	padding: 0;
	font-size: 1.4rem;
}
.search_settings select { height: 38px; margin: 0; padding: 0 34px 0 14px; border-radius: 999px; font-size: 1.4rem; }
.search_settings label { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; }
.search_settings label > input[type="checkbox"] { width: 18px; height: 18px; margin: 0; top: 0; accent-color: var(--accent); }

/* списки в тексте */
ul.gl__list { margin: 10px 0; list-style: disc; }
ul.gl__list > li { margin: 6px 0 6px 20px; }
ul.gl__itlist { margin: 10px 0; }
ul.gl__itlist > li { margin: 6px 0 6px 40px; }
ul.gl__itlist > li > em.gl__itlist-item { width: 40px; margin-left: -40px; float: left; font-style: normal; color: var(--muted); }

/* загрузка и уведомления */
#load-indicator {
	padding: 6px 16px;
	position: fixed;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 0 0 12px 12px;
	background: var(--accent);
	color: #FFF;
	font-size: 1.3rem;
	font-weight: 600;
	z-index: 50;
	transition: top 0.15s;
}
body.loading #load-indicator { top: 0; }
#notifications { width: 300px; position: fixed; right: 16px; top: 76px; z-index: 130000; }
.notification {
	display: none;
	margin: 0 0 8px auto;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--ink);
	color: #FFF;
	font-size: 1.35rem;
	line-height: 1.45;
	box-shadow: 0 12px 32px rgba(36,22,29, 0.2);
}
.notification h4 { font-size: 1.4rem; font-weight: 600; margin-bottom: 2px; }
.notification p { margin: 0; color: rgba(255,255,255, 0.82); }
.notification-error { background: #7D1A2A; }

/* копирайт-плашка баннеров */
.gl__copy_interakt { clear: both; text-align: center; }
.gl__copy_interakt > span { display: inline-block; margin-top: 20px; padding: 4px 12px; border-radius: 999px; background: var(--bg-2); font-size: 1.2rem; color: var(--muted); }


/* ================================================================ footer */
footer#footer {
	padding: 40px var(--gutter) calc(var(--player-h) + 32px);
	background: var(--bg-2);
	color: var(--muted);
	font-size: 1.3rem;
}
footer#footer #footer_x1 {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 24px 40px;
	overflow: visible;
}
footer#footer a { color: var(--ink); }
footer#footer a:hover { color: var(--accent-ink); }
footer#footer span.rt_share[data-title] { display: none; }

footer#footer ul.foo-letters {
	flex-basis: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0 0 28px;
	border-bottom: 1px solid #E6D9D7;
	line-height: 1;
}
footer#footer ul.foo-letters li:not(:last-child)::after { content: none; }
footer#footer ul.foo-letters li > a {
	min-width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	border-radius: 8px;
	font-size: 1.35rem;
	text-decoration: none;
}
footer#footer ul.foo-letters li > a:hover { background: var(--sheet); }
footer#footer ul.foo-letters li:first-child { flex-basis: 100%; margin-bottom: 8px; }
footer#footer ul.foo-letters li:first-child > a {
	padding: 0;
	font: 700 1.6rem/1 var(--display);
	color: var(--ink);
}
footer#footer ul.foo-letters li:first-child > a:hover { background: none; text-decoration: underline; }

footer#footer #foo-copyright { float: none; order: 1; flex: 1 1 420px; max-width: 72ch; line-height: 1.6; }
footer#footer ul#foo-menu { float: none; order: 2; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer#footer ul#foo-menu li:not(:last-child)::after { content: none; }
footer#footer ul#foo-menu a { cursor: pointer; font-weight: 500; }


/* ================================================================ player */
#fixplayer {
	height: var(--player-h);
	padding: 0 var(--gutter);
	background: rgba(255,255,255, 0.96);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--line);
	box-shadow: 0 -8px 24px rgba(36,22,29, 0.06);
	color: var(--ink);
	font-size: 1.2rem;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 40;
}
#fixplayer_x1 { max-width: var(--wrap); height: 100%; margin: auto; position: relative; }

#fixplayer #fixplayer-foo {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 4px;
	position: absolute;
	top: 0;
	left: 0;
	bottom: auto;
}
#fixplayer a#fixplayer-b_back,
#fixplayer a#fixplayer-b_play,
#fixplayer a#fixplayer-b_pause,
#fixplayer a#fixplayer-b_next {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	float: none;
	border-radius: 999px;
	background: none;
	color: var(--ink);
	text-indent: 0;
	font-size: 0;
	opacity: 1;
}
#fixplayer a#fixplayer-b_back::before, #fixplayer a#fixplayer-b_next::before { width: 20px; height: 20px; }
#fixplayer a#fixplayer-b_back::before { -webkit-mask-image: var(--i-prev); mask-image: var(--i-prev); }
#fixplayer a#fixplayer-b_next::before { -webkit-mask-image: var(--i-next); mask-image: var(--i-next); }
#fixplayer a#fixplayer-b_back:hover, #fixplayer a#fixplayer-b_next:hover { background: var(--bg-2); }
#fixplayer a#fixplayer-b_play,
#fixplayer a#fixplayer-b_pause {
	width: 48px;
	height: 48px;
	background: var(--accent);
	color: #FFF;
}
#fixplayer a#fixplayer-b_play:hover, #fixplayer a#fixplayer-b_pause:hover { background: var(--accent-hover); }
#fixplayer a#fixplayer-b_play::before, #fixplayer a#fixplayer-b_pause::before { width: 20px; height: 20px; }
#fixplayer a#fixplayer-b_pause::before { -webkit-mask-image: var(--i-pause); mask-image: var(--i-pause); }

/* полоса трека: название и время прямо на шкале прогресса */
#fixplayer #fixplayer-prok {
	height: 44px;
	position: absolute;
	top: 14px;
	left: 160px;
	right: 176px;
	border-radius: 12px;
	overflow: hidden;
}
#fixplayer #fixplayer-prok2 { height: 100%; background: var(--bg-2); cursor: pointer; position: relative; }
#fixplayer #fixplayer-prok-sk,
#fixplayer #fixplayer-prok-pr,
#fixplayer #fixplayer-volume #fixplayer-volume-x {
	width: 0;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
}
#fixplayer #fixplayer-prok-sk { background: rgba(36,22,29, 0.025); }
#fixplayer #fixplayer-prok-sk::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: rgba(224,36,94, 0.2);
}
#fixplayer #fixplayer-prok-pr {
	background: linear-gradient(90deg, rgba(224,36,94, 0.04), rgba(224,36,94, 0.16));
	box-shadow: inset -2px 0 0 var(--accent);
}
#fixplayer #fixplayer-prok-pr::after { /* тонкая линия прогресса снизу */
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--accent);
}
#fixplayer #fixplayer-time,
#fixplayer #fixplayer-lcd,
#fixplayer #fixplayer-time b,
#fixplayer #fixplayer-time em { position: absolute; overflow: hidden; }
#fixplayer #fixplayer-time {
	height: 100%;
	line-height: 44px;
	top: 0;
	left: 14px;
	right: 14px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}
#fixplayer #fixplayer-time b, #fixplayer #fixplayer-time em { top: 0; width: 44px; font-style: normal; }
#fixplayer #fixplayer-time b { left: 0; text-align: left; font-weight: 500; }
#fixplayer #fixplayer-time em { right: 0; text-align: right; }
#fixplayer #fixplayer-lcd {
	height: 44px;
	top: 0;
	left: 62px;
	right: 62px;
	color: var(--ink);
	text-align: center;
	pointer-events: none;
}
#fixplayer #fixplayer-lcd #fixplayer-title { height: 44px; line-height: 44px; font-size: 1.4rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: margin 0.2s; }
#fixplayer #fixplayer-lcd.notify #fixplayer-title { margin-top: -44px; }
#fixplayer #fixplayer-lcd #fixplayer-title span { white-space: nowrap; }
#fixplayer #fixplayer-lcd #fixplayer-title span > b { font-weight: 600; }
#fixplayer #fixplayer-lcd #fixplayer-title span > i { font-style: normal; color: var(--muted); margin: 0 4px; }
#fixplayer #fixplayer-lcd #fixplayer-title span > em { font-style: normal; color: var(--muted); }
#fixplayer #fixplayer-lcd #fixplayer-notification { height: 44px; line-height: 44px; font-size: 1.35rem; color: var(--accent-ink); }

/* режим, звук, громкость */
#fixplayer a#fixplayer-pv,
#fixplayer a#fixplayer-sound {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 18px;
	bottom: auto;
	border-radius: 999px;
	background: none;
	color: var(--muted);
	text-indent: 0;
	font-size: 0;
	opacity: 1;
}
#fixplayer a#fixplayer-pv:hover, #fixplayer a#fixplayer-sound:hover { color: var(--ink); background: var(--bg-2); }
#fixplayer a#fixplayer-pv { right: 128px; }
#fixplayer a#fixplayer-sound { right: 88px; }
#fixplayer a#fixplayer-pv::before, #fixplayer a#fixplayer-sound::before { position: static; width: 20px; height: 20px; }
#fixplayer a#fixplayer-pv.line::before { -webkit-mask-image: var(--i-line); mask-image: var(--i-line); }
#fixplayer a#fixplayer-pv.repeat::before { -webkit-mask-image: var(--i-repeat); mask-image: var(--i-repeat); }
#fixplayer a#fixplayer-pv.shuffle::before { -webkit-mask-image: var(--i-shuffle); mask-image: var(--i-shuffle); }
#fixplayer a#fixplayer-pv.stop::before { -webkit-mask-image: var(--i-stop); mask-image: var(--i-stop); }
#fixplayer a#fixplayer-pv:not(.line) { color: var(--accent); }
#fixplayer a#fixplayer-sound::before { -webkit-mask-image: var(--i-vol); mask-image: var(--i-vol); }
#fixplayer a#fixplayer-sound.off::before { -webkit-mask-image: var(--i-mute); mask-image: var(--i-mute); }
#fixplayer #fixplayer-volume {
	width: 80px;
	height: 20px;
	position: absolute;
	top: 26px;
	right: 0;
	bottom: auto;
	background: none;
	cursor: pointer;
}
#fixplayer #fixplayer-volume::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 8px;
	height: 4px;
	border-radius: 2px;
	background: #EADCDD;
}
#fixplayer #fixplayer-volume #fixplayer-volume-x {
	top: 8px;
	bottom: auto;
	height: 4px;
	border-radius: 2px;
	background: var(--accent);
}
#fixplayer.is-radio #fixplayer_x1::before { content: none; }
#fixplayer.js__vol_ctrl_hide #fixplayer-prok { right: 48px; }
#fixplayer.js__vol_ctrl_hide a#fixplayer-pv { right: 0; }


/* ================================================================ responsive */
@media (max-width: 1120px) {
	header#header #he-nav { display: none; }
}

@media (max-width: 980px) {
	#xbody { grid-template-columns: minmax(0, 1fr); }
	.artist_block { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 18px; }
	.artist_block > .z__title { grid-column: 1 / -1; }
	.artist_block .artist_block-img { grid-row: span 2; margin: 0; }
}

@media (max-width: 800px) {
	:root { --gutter: 14px; --player-h: 116px; }

	#main_page_songs { grid-template-columns: minmax(0, 1fr); }
	#main_page_songs > .xblock:nth-child(3) ul.playlist { display: block; }

	/* плеер: шкала сверху на всю ширину, управление снизу */
	#fixplayer #fixplayer-prok { top: 10px; left: 0; right: 0 !important; }
	#fixplayer #fixplayer-foo { top: auto; bottom: 6px; height: 56px; left: 50%; transform: translateX(-50%); gap: 18px; }
	#fixplayer a#fixplayer-pv { top: auto; bottom: 16px; right: auto; left: 0; }
	#fixplayer a#fixplayer-sound, #fixplayer #fixplayer-volume { top: auto; bottom: 16px; }
	#fixplayer a#fixplayer-sound { right: 0; }
	#fixplayer #fixplayer-volume { display: none; }
	#fixplayer #fixplayer-lcd { left: 52px; right: 52px; }
	#fixplayer #fixplayer-time b, #fixplayer #fixplayer-time em { width: 40px; }
}

@media (max-width: 640px) {
	header#header { height: 58px; }
	header#header #header_x1 { gap: 10px; }
	header#header a#he-logo { font-size: 2.1rem; }
	header#header #header_p { gap: 2px; }
	header#header #he-search-ctr { flex: 0 0 auto; margin-right: 0; }
	header#header #he-search { display: none; }
	header#header a#he-search-mob_search { display: flex; }
	header#header #user_block a#user_block-xx { width: 40px; padding: 0; justify-content: center; border: 0; }
	header#header #user_block a#user_block-xx > i { display: none; }
	html.js__search_act header#header a#he-logo,
	html.js__search_act header#header #user_block,
	html.js__search_act header#header a#he-fav,
	html.js__search_act header#header a#he-search-mob_search { display: none !important; }
	html.js__search_act header#header #he-search-ctr { flex: 1; }
	html.js__search_act header#header a#he-search-mob_close { display: flex; margin-right: 6px; }
	html.js__search_act header#header #he-search { display: block; }

	#zz-hero { padding: 22px var(--gutter) 52px; }
	#zz-hero h1.main_title { margin-bottom: 14px; font-size: 2.1rem; }
	#zz-hero form#zz-hero-search { margin-bottom: 12px; }
	#zz-hero form#zz-hero-search > input { height: 50px; padding-left: 46px; background-position: 16px center; font-size: 1.6rem; }
	#zz-hero form#zz-hero-search > button { height: 50px; padding: 0 20px; }
	#zz-hero ul#zz-hero-genres { margin-right: calc(-1 * var(--gutter)); }
	#xx2.zz-page-home #xbody { margin-top: -32px; }

	#xbody { margin: 16px 0 32px; gap: 16px; }
	.xblock, .onesongblock, .bl_side { border-radius: 16px; margin-bottom: 16px; }
	.xblock h1.title, .xblock h2.title { padding: 20px 16px 8px; font-size: 1.8rem; }
	.xblock h1.title { font-size: 2.1rem; }
	.xblock .xblock-p { padding: 4px 4px 8px; }
	.xblock .xblock_footer { padding: 4px 16px 18px; }
	ul.playlist > li { column-gap: 10px; padding: 8px 10px; grid-template-columns: 40px minmax(0, 1fr) auto 34px; grid-template-areas: 'play name dur down'; }
	.zz-page-home ul.playlist > li,
	.zz-page-music_genre ul.playlist > li { grid-template-columns: 26px 40px minmax(0, 1fr) auto 34px; grid-template-areas: 'rank play name dur down'; }
	ul.playlist > li > em a.playlist-btn-addfav, ul.playlist > li > em a.ulist-del { display: none; }
	.zz-page-user_favorite ul.playlist > li { grid-template-columns: 40px minmax(0, 1fr) auto 32px 34px; grid-template-areas: 'play name dur fav down'; }
	.zz-page-user_favorite ul.playlist > li > em a.ulist-del { display: flex; visibility: visible; }

	.onesongblock { padding: 22px 18px; }
	.onesongblock h1.onesongblock-title > em { font-size: 2.5rem; }
	.onesongblock .onesongblock-btns > a { flex: 1 1 140px; justify-content: center; height: 52px; padding: 0 18px; }
	.biography { margin: 4px 12px 14px; }
	.biography .biography-prw > img { max-width: 40%; margin-right: 14px; }
	.rtform input[style*="max-width"], .rtform select[style*="max-width"] { max-width: 100% !important; }
	footer#footer { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
