:root {
	--radius: 14px;
	--line: 1px solid var(--border);
	--maxw: 1680px;
	--card:#fff; 
	--primary:#1660ff;
	--accent:#ff7a00;
}

html[data-theme="dark"] {
	--bg: #0a0a0f;
	--bg-elev: #1e1e28;
	--text: #ffffff;
	--muted: #9da5c0;
	--border: #3a3f55;
	--glass: linear-gradient(180deg, rgba(30,32,45,.95), rgba(20,22,30,.75));
	--brand: #ff9800;
	--brand-2: #ffb74d;

	--logo: url('/images/favicon_white.webp');
	--icon-pos: 0 -128px;
	--icon-tiktok: 0 -48px;
	--icon-telegram: -16px -48px;
	--icon-youtube: -32px -48px;
	--icon-instagram: -48px -48px;
	--icon-fb: -64px -48px;
	--icon-vk: -80px -48px;
	--icon-x: -96px -48px;
	--icon-tray: -64px 0;
	--genres: -32px -16px;
	--modal-bg: #15161e;
	--modal-fg: #f5f6fb;
	--modal-backdrop: rgba(0,0,0,.6);
	--drawer-bg: #15161e; 
	--drawer-fg: #f5f6fb; 
	--drawer-backdrop: rgba(0,0,0,.6);

	--icon-date: -128px 0;
	--top100: -96px -16px;

	--like: -16px -80px;
	--dislike: -48px -80px;
	--icon--share: -80px -80px;
	--addpl: -112px -80px;

	--icon--viber: -144px -80px;
	--icon--whatsapp: -64px -112px;
	--icon--copy: -80px -112px;

  --er-bg:   hsla(0 85% 60% / .12);
  --er-bd:   hsla(0 85% 60% / .35);
  --er-fg:   hsl(0 85% 85%);

  --ok-bg:   hsla(142 60% 50% / .12);
  --ok-bd:   hsla(142 60% 50% / .35);
  --ok-fg:   hsl(142 70% 80%);

  --wn-bg:   hsla(45 100% 60% / .12);
  --wn-bd:   hsla(45 100% 60% / .35);
  --wn-fg:   hsl(45 100% 85%);

	.icon--mail {
		background-position: -112px -112px;
	}
	.icon--friends {
		background-position: -128px -112px;
	}
	.icon--myplaylists {
		background-position: -144px -112px;
	}
	.icon--photo {
		background-position: 0 -176px;
	}
	.icon--history {
		background-position: -16px -176px;
	}
	.icon--addfriend {
		background-position: -32px -176px;
	}
	.icon--exit {
		background-position: -48px -176px;
	}
	.icon--gifts {
		background-position: -64px -176px;
	}
	.icon--send {
		background-position: -80px -176px;
	}
	.icon--sortname {
		background-position: -112px -176px;
	}
	.icon--rand {
		background-position: -128px -176px;
	}
	.icon--repeat {
		background-position: -144px -176px;
	}
	.icon--edit {
		background-position: -184px -16px;
	}
	.icon--faq {
		background-position: -184px -48px;
	}
	.icon--donate {
		background-position: -184px -80px;
	}
	.icon--deluser {
		background-position: -184px -112px;
	}


.rightnews a {
	color: var(--brand);
}

	color-scheme: dark;



}
html[data-theme="light"] {
	--bg: #f2f3f7;
	--bg-elev: #ffffff;
	--text: #0a0a15;
	--muted: #444e68;
	--border: #c8ccd9;
	--glass: linear-gradient(180deg, rgba(245,246,250,.9), rgba(210,210,210,.7));
	--brand: #ff6600;
	--brand-2: #ff9800;

	--logo: url('/images/favicon.webp');
	--icon-pos: -32px -128px;
	--icon-tiktok: 0 -32px;
	--icon-telegram: -16px -32px;
	--icon-youtube: -32px -32px;
	--icon-instagram: -48px -32px;
	--icon-fb: -64px -32px;
	--icon-vk: -80px -32px;
	--icon-x: -96px -32px;
	--icon-tray: -80px 0;
	--genres: -16px -16px;
	--modal-bg: #fff;
	--modal-fg: #111;
	--modal-backdrop: rgba(0,0,0,.5);
	--drawer-bg: #fff; 
	--drawer-fg: #0e1220; 
	--drawer-backdrop: rgba(0,0,0,.5);

	--icon-date: -112px 0;
	--top100: -80px -16px;

	--like: 0 -80px;
	--dislike: -32px -80px;
	--icon--share: -64px -80px;
	--addpl: -96px -80px;

	--icon--viber: -128px -80px;
	--icon--whatsapp: -64px -96px;
	--icon--copy: -80px -96px;


.icon--mail {
	background-position: -112px -96px;
}
.icon--friends {
	background-position: -128px -96px;
}
.icon--myplaylists {
	background-position: -144px -96px;
}
.icon--photo {
	background-position: 0 -160px;
}
.icon--history {
	background-position: -16px -160px;
}
.icon--addfriend {
	background-position: -32px -160px;
}
.icon--exit {
	background-position: -48px -160px;
}
.icon--gifts {
	background-position: -64px -160px;
}
	.icon--send {
		background-position: -96px -176px;
	}
	.icon--sortname {
		background-position: -112px -160px;
	}
	.icon--rand {
		background-position: -128px -160px;
	}
	.icon--repeat {
		background-position: -144px -160px;
	}
	.icon--edit {
		background-position: -184px 0px;
	}
	.icon--faq {
		background-position: -184px -32px;
	}
	.icon--donate {
		background-position: -184px -64px;
	}
	.icon--deluser {
		background-position: -184px -96px;
	}

  --er-bg:   hsl(0 88% 97%);
  --er-bd:   hsl(0 72% 85%);
  --er-fg:   hsl(0 65% 32%);

  --ok-bg:   hsl(142 70% 96%);
  --ok-bd:   hsl(142 52% 82%);
  --ok-fg:   hsl(142 40% 24%);

  --wn-bg:   hsl(45 100% 96%);
  --wn-bd:   hsl(45 90% 80%);
  --wn-fg:   hsl(35 80% 26%);

.rightnews a {
	color: #A84300;
}

	color-scheme: light;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 500 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial;
}
a {
	color: inherit;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
.container {
	width: min(var(--maxw), 100% - 32px);
	margin-inline: auto;
	position: relative;
}
header {
	position: sticky;
	top:0;
	z-index:999;
	backdrop-filter: blur(8px);
	background: var(--glass);
	border-bottom: var(--line);
}
.header__row {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	padding: 10px 0;
}
.brand, .footer_brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 900;
	letter-spacing:.2px;
	background: var(--logo) no-repeat;
	background-size: contain;
	padding-left: 32px;
	text-decoration: none;
}
.brand b, .footer_brand b {
	color: var(--brand);
}
.icon {
	background: url("/images/icons.webp?v2") no-repeat;
}

.icon--settings {
	background-position: -96px -96px;
	opacity: 0.6;
}
.icon--settings:hover {
	opacity: 1;
}
.icon--premium {
	background-position: -96px -112px;
}


.icon--search {
	width: 16px;
	height: 16px;
	background-position: 0 0;
	position: absolute;
	left: 22px
}
.icon--menu {
	width: 16px;
	height: 16px;
	background-position: -32px 0;
}
.icon--searchbtn {
	width: 16px;
	height: 16px;
	background-position: 0 -16px;
	display: none;
}
.icon--login {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-position: -16px 0;
	margin-right: 5px;
}
.icon--theme {
	display: flex;
	width: 32px;
	height: 32px;
	background-position: var(--icon-pos);
	cursor: pointer;
}
.icon--android {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-position: -48px 0;
	margin-right: 12px;
}
.icon--tiktok {
	background-position: var(--icon-tiktok);
}
.icon--telegram {
	background-position: var(--icon-telegram);
}
.icon--youtube {
	background-position: var(--icon-youtube);
}
.icon--instagram {
	background-position: var(--icon-instagram);
}
.icon--fb {
	background-position: var(--icon-fb);
}
.icon--vk {
	background-position: var(--icon-vk);
}
.icon--x {
	background-position: var(--icon-x);
}
.icon--tray {
	background-position: var(--icon-tray);
	display: inline-block;
	width: 16px;
	height: 16px;
}
.icon--google {
	background-position: -144px 0;
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 12px;
}
.icon--reg {
	background-position: -48px -16px;
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 12px;
}
.addmusic {
	background-position: -64px -16px;
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 10px;
}
.date {
	background-position: var(--icon-date);
	width: 16px;
	height: 16px;
	display: inline-block;
}
.time {
	background-position: -112px -16px;
}
.icon--mp3 {
	background-position: -128px -16px;
}
.icon--wav {
	background-position: -144px -16px;
}
.icon--rss {
	background-position: -96px 0;
	width: 16px;
	height: 16px;
	display: inline-block;
	margin: -1px 6px 0 0;
}
.icon--top {
	background-position: var(--top100);
	width: 16px;
	height: 16px;
	display: inline-block;
}
.listens {
	background-position: -112px -32px;
}
.download {
	background-position: -128px -32px;
}
.comments {
	background-position: -144px -32px;
}
.bpm {
	background-position: -112px -48px;
}
.author {
	background-position: -128px -48px;
}
.pub {
	background-position: -144px -48px;
}
.icon-track {
	background-position: 0 -64px;
}
.icon--track {
	background-position: 0 -64px;
}
.icon--remix {
	background-position: -16px -64px;
}
.icon--mix {
	background-position: -32px -64px;
}
.icon--podcast {
	background-position: -48px -64px;
}
.icon--radioshow {
	background-position: -64px -64px;
}
.icon--live {
	background-position: -80px -64px;
}
.icon--acapella {
	background-position: -96px -64px;
}
.icon--sample {
	background-position: -112px -64px;
}
.icon--delete {
	background-position: -96px -160px;
}
.get {
	background-position: -128px -64px;
}
.icon--more {
	background-position: -144px -64px;
	display: flex;
	width: 16px;
	height: 16px;
	margin: 6px;
}
.like {
	background-position: var(--like);
}
.dislike {
	background-position: var(--dislike);
}
.icon--share {
	background-position: var(--icon--share);
}

.icon--viber {
	background-position: var(--icon--viber);
}
.icon--whatsapp {
	background-position: var(--icon--whatsapp);
}
.icon--copy {
	background-position: var(--icon--copy);
}


.premium {
	color: transparent;    
	-webkit-background-clip: text;
	background-clip: text;
	background-image: linear-gradient(to right, #ff3300, var(--brand));
	font-weight: bold;
}
.premium:hover {
	color: transparent;    
	-webkit-background-clip: text;
	background-clip: text;
	background-image: linear-gradient(to left, red, orange);
}


.addpl {
	background-position: var(--addpl);
}

.play {
	background-position: 0 -96px;
	width: 32px;
	height: 32px;
}
.pause {
	background-position: -32px -96px;
	width: 32px;
	height: 32px;
	box-shadow: 0 6px 22px rgba(255, 152, 0, 0.8);
}
.backplay {
	display: inline-block;
	background-position: -160px 0;
	width: 24px;
	height: 24px;
}
.nextplay {
	display: inline-block;
	background-position: -160px -24px;
	width: 24px;
	height: 24px;
}
.icon--playlist {
	display: inline-block;
	background-position: -160px -48px;
	width: 24px;
	height: 24px;
}
.icon--mute {
	display: inline-block;
	background-position: -160px -72px;
	width: 24px;
	height: 24px;
}
#mute-button.is-muted .icon--mute{
	background-position: -160px -96px;
}
.rulang {
	background-position: -64px -128px;
}
.uslang {
	background-position: -96px -128px;
}
.uklang {
	background-position: -128px -128px;
}
.search {
	position: relative;
	display: flex;
	align-items: center;
}
.rss {
	background: none;
	border: none;
	color: var(--brand);
	font-weight: bold; 
	display: flex; 
	align-items: center;
	cursor: pointer;
}
.search input {
	width: 100%;
	padding: 10px 70px 10px 40px;
	margin: 0 10px;
	border-radius: 8px;
	border: var(--line);
	background: var(--bg-elev);
	color: var(--text);
}
.search .go {
	position: absolute;
	right: 11px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 0 8px 8px 0;
	border: none;
	background: linear-gradient(90deg,var(--brand),var(--brand-2));
	color: #241200;
	font-weight: 800;
	cursor: pointer;
}

nav {
	display: flex;
	gap:8px;
}
.nav {
	display: flex;
	gap:8px;
}
.nav a {
	padding: 6px 10px;
	border-radius: 10px;
	color: var(--muted);
	text-decoration: none;
}
.nav a:hover, .nav a.active {
	background: rgba(255,152,0,.15);
	color: var(--text);
}
.lang-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-block;
	position: relative;
}
.lang-menu a {
	display: block;
	width: 32px;
	height: 32px;
}
.lang-dropdown {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
}
.pill {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 8px;
	border: none;
	background: linear-gradient(90deg,var(--brand),var(--brand-2));
	color: #241200;
	font-weight: 800;
	margin-left: 8px;
	cursor: pointer;
	min-height: 32px;
	align-items: center;
	text-decoration: none;
}
.pill:hover, .search .go:hover {
	transform: translateY(-1px) scale(1.02);
	box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}
#content .pill i {
	width: 16px; height: 16px; margin-right: 8px;
}
.burger.pill {
	display: none;
	float: left;
}
.mainava {
	float: right;
	width: 36px;
	height: 36px;
	border: 1px solid var(--border);
	border-radius: 36px;
	margin-left: 10px;
background-size: cover; 
}
.pill2 {
	padding: 6px 15px;
	border-radius: 10px;
	border:1px solid var(--border);
	background:var(--bg-elev);
	color:var(--text);
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	cursor:pointer;
	transition:transform .2s ease, box-shadow .2s ease;
text-decoration: none;
}
.pill2:hover, .smallplayer:hover, #oblako a:hover, .artistblock article:hover {
	transform:translateY(-1px);
	box-shadow:0 8px 20px rgba(0,0,0,.18);
}
#radioefir .smallplayer {
	background:var(--bg);
	margin: 5px 0;
	padding: 6px 6px 0 6px;
	border-radius: 8px;
}
img {
	max-width: 100%;
}
#themeBtn {
	border: none;
	background: none;
}
#openLogin {
	display: inline-flex;
	align-items: center;
}
nav.nav-open {
	display: flex;
}
main {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 16px;
	margin: 10px 0;
}
.w50, .allw50 {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.w50 > *, .allw50 > * { min-width: 0; }
.w25 {
	display: grid;
	gap: 12px;
	grid-template-columns: 2fr 2fr 2fr 1fr;
}

fieldset {
	border: var(--line); 
	padding: 5px 25px 35px 25px; 
	margin-bottom: 15px;
	border-radius: 16px;
	background: radial-gradient(800px 360px at 85% -40%, rgba(255,152,0,.18), transparent 60%), radial-gradient(900px 420px at 10% -40%, rgba(255,183,77,.16), transparent 60%), var(--bg-elev);
}
legend {
	border: var(--line);
	padding: 5px 15px 5px 15px; 
	border-radius:15px 5px 15px 5px ;
	background-color: #dddddd;
	background: linear-gradient(90deg,var(--brand),var(--brand-2));
	text-shadow: var(--bg) 1px 1px 2px;
	font-weight: bold;
}


.sec-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom:12px;
}

.rail-card, .smallplayer {
	background:var(--bg-elev);
	border:1px solid var(--border);
	border-radius:14px;
	padding:12px;
	margin: 15px 0;
}


.rail-card::after { content:""; display:block; clear:both; }


.smallplayer img {
	width: 50px;
	height: 50px;
	border-radius: 6px;
	border: 1px solid #999;
	background: #ccc;
	float: left;
	margin-right: 15px;
}
.smallplayer p {
  margin: 0;
  padding-bottom: 5px;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.smallplayer button {
	width: 20px;
	height: 20px;
	border: none;
	cursor: pointer;
	border-radius: 20px;
}
.minatrixplayer .btn_play, .minatrixplayer .btn_pause, .musicbtns button, .post__audio button, .post__audio button:hover {
	width: 30px;
	height: 30px;
	border: none;
	cursor: pointer;
	border-radius: 30px;
}
.minatrixplayer .btn_pause:hover {
	border: 1px solid var(--brand);
	width: 31px;
	height: 31px;
}
.btn_play {
	background: url('/images/play_btn.webp') no-repeat;
	background-size: cover;
}
.btn_play:hover {
	transform:translateY(-1px);
}
.btn_pause {
	position: relative;
	overflow: hidden;

}
.btn_pause::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('/images/pause_btn.webp') no-repeat center center;
	background-size: cover;
	animation: rotateBackground 3s linear infinite;
	transform-origin: center;
	z-index: 0;
}
@keyframes rotateBackground {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
.btn_pause:hover {
	border: 1px solid var(--brand);
	width: 21px;
	height: 21px;
}

.artistblock {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
}
.artistblock article {
	background: var(--bg-elev);
	border: 1px solid var(--border);
	border-radius: 14px;
	text-align: center;
}
.artistblock img {
	width: 100%;
	height: auto;
	border-radius: 14px 14px 0 0;
}
.artistblock p {
	margin: 10px 0;
	padding: 0;
}
.artistblock p a {
	text-decoration: none;
}
.minitext {
	font-size: 12px;
	margin: 35px 0 20px 0;
	border-top: 3px solid var(--brand);
	border-left: 1px solid var(--border);
	border-right: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 15px;
	background: var(--glass);
	border-radius: 0 0 16px 16px;
}
.minitext p {
	padding: 3px 0 3px 0;
}
.minitext h2, .minitext h3, .minitext h4 {
	background: none;
	padding-left: 0px;
}
.minitext ul {
	margin: 10px;
}
.minitext li {
	list-style-type: square;
	margin-left: 10px;
}

#oblako {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-bottom: 30px;
}
@media (max-width: 1440px) {
	#oblako {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 12px;
	}
}
@media (max-width: 1150px) {
	#oblako {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}
#oblako a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 12px 12px 36px;
	border-radius: 12px;
	border: 1px solid var(--border);
	color: var(--text);
	background: linear-gradient(180deg, var(--bg), var(--bg-elev));
	position: relative;
	text-decoration: none;
}
#oblako a:hover {
	border: 1px solid var(--brand);
}
#oblako a::after {
	content: "";
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background-image: url("/images/icons.webp");
	background-repeat: no-repeat;
	background-size: auto;
	background-position: var(--genres);
}


.track-progress {
	-webkit-appearance: none;
	width: calc(100% - 105px);
	transform:translateY(4px);
	float: right;
	height: 8px;
	background: linear-gradient(to right, var(--brand-2) 0%, var(--brand) 0%);
	background-size: 0% 100%;
	background-repeat: no-repeat;
	border-radius: 3px;
	outline: none;
	transition: background-size 0.2s ease;
	cursor: pointer;
	border: 1px solid var(--border);
}
.minatrixplayer .track-progress {
	width: calc(100% - 50px);
	transform:translateY(9px);
}

.track-progress::-webkit-slider-thumb, .track-progress::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	width: 6px;
	background: none;
	border: none;
}
.track-progress::-moz-range-thumb, .track-progress::-moz-range-thumb {
	height: 6px;
	width: 6px;
	background: none;
	border: none;
}








.hero {
	overflow:hidden;
	background: radial-gradient(800px 360px at 85% -40%, rgba(255,152,0,.18), transparent 60%), radial-gradient(900px 420px at 10% -40%, rgba(255,183,77,.16), transparent 60%), var(--bg-elev);
	padding: 20px;
	margin-bottom: 25px;
}
.hero p {
	font-weight: normal;
	color:var(--muted);
}
.hero h1 {
	font-size: 21px;
	margin: 0;
}
.hero .pill {
	display: block;
	margin: 20px 0 -5px 0;
	padding: 10px 25px;
}



#content {
	min-height: 65vh;
}













footer {
	background: var(--bg-elev);
	border-top: var(--line);
	margin: 24px 0 90px 0;
	padding: 24px 0;
	color: var(--text);
}
footer section, footer nav {
	width: 33%;
	float: left;
}
.footer_menu ul {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: grid;
	gap: 8px 16px;
	grid-template-columns: repeat(3, minmax(120px, 1fr));
}
.footer_menu a {
	color: var(--muted);
	font-size: 14px;
}
.footer_menu a:hover {
	color: var(--text);
}
.footer_text {
	margin: 6px 10px 10px 0;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.4;
}
.footer_copy {
	margin: 0;
	font-size: 12px;
}
footer .sep {
	opacity: .5;
	text-decoration: none;
	margin: 0 10px;
}
footer .right {
	text-align: right;
}
footer .social {
	padding: 18px 0;
}
.footer_legal {
	font-size: 12px;
	color: var(--muted);
	font-weight: normal;
	border-top: 1px solid #999;
	float: right;
	padding: 4px;
}
.footer_legal a {
	color: inherit;
	text-decoration: underline;
}
.footer_legal a:hover {
	color: var(--text);
}
.sn {
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--border); border-radius: 10px;
	color: var(--text); opacity: .9;
}
.sn:hover {
	background: rgba(255,152,0,.15);
	opacity: 1;
}
.sn i, .ico-btn i {
	width: 16px;
	height: 16px;
}
footer .pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 19px;
}

h1 {
	font-size: 21px;
	margin: 16px 0;
	padding: 5px 10px;
	border-left: 5px solid var(--brand);
	border-top: 1px solid var(--border);
	border-right: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	border-radius: 0 12px 12px 0;
	background: linear-gradient(180deg, var(--bg), var(--bg-elev));
}

h2 {
	font-size: 18px;
	margin: 0px;
}

h4 {
	font-size: 21px;
	margin: 7px 0 15px 0;
}
hr {
	height:1px;
	background: linear-gradient(to right, #ff6600, #ffcc00);
	margin:16px 0;
	border: none;
}

.pages {
	text-align: right;
	margin-bottom: 25px;
}
.pages a {
	margin: 0 5px;
	padding: 5px 10px;
	background: #ddd;
	color: black !important;
	border-radius: 3px;
	text-decoration: none;
}
.pages a:hover {
	background: var(--brand);
}
.pages span {
	margin: 0 5px;
	padding: 5px 10px;
	background: var(--brand-2);
	border-radius: 3px;
	color: #000;
}
.news {
	font-weight: normal;
	margin-bottom: 3px;
}
.news img {
	border: 5px solid var(--border);
	border-radius: 6px;
	margin-top: 5px;
	margin-right: 10px;
	float: left;
	width: 218px;
	height: 103px;
}
.more {
	float: right;
}
article a {
	text-decoration: underline;
}
.rightnews, .rightstat {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background: var(--bg);
}

.rightnews a:hover {
	color: var(--brand-2);
}
.rightnews p {
	font-weight: normal;
	border-left: 4px solid var(--brand);
	margin: 5px 0 5px 0;
	padding-left: 10px;
}
.rightstat {
	background-image: url("/images/stat.webp");
	background-repeat: no-repeat;
	background-size: auto;
	background-position: 10px 16px;
	padding-left: 115px;
}
.rightstat p {
	margin: 0;
	font-weight: normal;
}























    /* ================= Bottom Player ================= */
.playerbar {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 1985;
	background: var(--glass);
	backdrop-filter: blur(10px);
	border-top: var(--line);
	width: 100%;
}
.pwrap {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	gap: 10px;
}


.lpb {
	text-align: center;
	width: 76px;
	flex-shrink: 0;
	padding: 5px 10px;
}
#time-info {
	font-size: 11px;
	margin-top: 2px;
	color: #666666;
	white-space: nowrap;
}
#pcover {
	display: block;
	width: 60px;
	height: auto;
	max-height: 60px;
	border-radius: 6px;
	background: #999;
	
}
.pcenter {
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	justify-content: center;
}
#track-title {
	margin-top: -20px;
	text-align: center;
	display: block;
	padding: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100vw - 174px);
	font-weight: normal;
	font-size: 12px;
}
.player-controls {
	display: flex;
    align-items: center;
    justify-content: center;
	gap: 10px;
}
.control-button {
	background: #595959;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	padding: 5px;
	height: 34px;
	width: 34px;
}
.control-button:hover {
	background: #ff4901;
	transform: translateY(-1px) scale(1.02);
	box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}
.playbtn {
	width: 44px;
	height: 44px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    display: inline-grid;
    border-radius: 48px;
    border: var(--line);
}
#progress-container {
	width: 100%;
	position: relative;
	margin: 0;
	display: block;
	height: 5px;
	background: #666;
}
#progress {
	width: 0%;
	height: 100%;
	background: #ff4901;
}



#progress-bar {
	width: 100%;
	height: 5px;
	cursor: pointer;
	position: relative;
}

.tray {
	width: 16px;
	height: 16px;
	background: none;
	border: none;
	cursor: pointer;
	transform: translateY(-10px);

}
.volume-container input {
	margin-top: 7px;
	max-width: 90px;
}
.volume-container {
	float: right;
	width: 120px;
	flex-shrink: 0;
	padding: 5px;
	text-align: center;
}
.volume-container button {
	margin-top: 10px;
}








.playerbar input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100px;
	height: 6px;
	background: linear-gradient(to right, #ff4901 80%, #999 20%);
	border-radius: 3px;
	outline: none;
	transition: background 0.3s ease-in-out;
	cursor: pointer;
    position: relative;
}
.playerbar input[type="range"]::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 3px;
	background: linear-gradient(to right, #ff4901 0%, #ff4901 var(--progress), #999 var(--progress), #999 100%);
}
.playerbar input[type="range"]::-moz-range-track {
	height: 6px;
	border-radius: 3px;
	background: #999;
}
.playerbar input[type="range"]::-moz-range-progress {
	height: 6px;
	border-radius: 3px;
	background: #ff4901;
}
.playerbar input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 10px;
	height: 10px;
	background: #ff4901;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: 0.2s;
	position: relative;
	margin-top: -2px;
}
.playerbar input[type="range"]::-moz-range-thumb {
	width: 8px;
	height: 8px;
	background: #ff4901;
	border-radius: 50%;
	cursor: pointer;
	transition: 0.2s;
}
.playerbar input[type="range"].styled-range {
	--progress: 80%;
}



#playlist {
	position: fixed;
	right: 0;
	bottom: 0;
	top: 58px;
	width: 380px;
	height: 100vh;
	background: rgba(0, 0, 0, 0.9);
	display: none;
	flex-direction: column;
	padding: 20px;
	overflow-y: auto;
	gap: 10px;
	z-index: 99;
}

#playlist.open {
	display: flex;
}
#player-container.player-wide {
	width: 380px;
	transition: width 0.3s ease;
	right: 0;
}
#player-container.player-narrow {
	width: 100%;
	transition: width 0.3s ease;
}

#player-container.player-wide #mute-button, #player-container.player-wide #pl-button {
	height: 24px;
	width: 24px;
	padding: 0;
}
#player-container.player-wide .container {
	margin: 0;
	padding: 0;
	width: 100%;
}
#player-container.player-wide .volume-container {
	max-width: 90px;
}
#player-container.player-wide .volume-container input {
	margin-top: 5px;
	max-width: 80px;
}

/* Modal */
.modal-backdrop {
	position: fixed;
	inset: 0;
	background: var(--modal-backdrop);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}
.modal {
	background: var(--modal-bg);
	color: var(--modal-fg);
	padding: 20px;
	border-radius: 8px;
	max-width: 600px;
	width: 94%;
	max-height: 90vh;
	overflow: auto;
	box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.modal .modalhead {
	font-weight: bold;
	margin-bottom: 10px;
	background: linear-gradient(180deg, var(--bg), var(--bg-elev));
	border-radius: 8px;
	padding: 3px 8px;
	border: 1px solid var(--border);
}
.modal .close {
	float: right;
	cursor: pointer;
	font-size: 18px;
	line-height: 1.3;
}
.modal .close:hover {
	opacity: 0.8;
}
.clear {
	clear: both;
}
#player-container.player-wide #track-title {
	max-width: 190px;
}

.er, .erok, .warn {
	--bg: hsl(0 0% 98%);
	--bd: hsl(0 0% 87%);
	--fg: hsl(222 20% 16%);
	display: block;
	padding: 12px 14px;
	border: 1px solid var(--bd);
	background: var(--bg);
	color: var(--fg);
	border-radius: 12px;
	line-height: 1.45;
	font-size: .95rem;
	box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 8px 24px -20px rgba(0,0,0,.28);
	transition: background-color .25s, color .25s, border-color .25s;
}

.er   { --bg: var(--er-bg); --bd: var(--er-bd); --fg: var(--er-fg); text-align: center; }
.erok { --bg: var(--ok-bg); --bd: var(--ok-bd); --fg: var(--ok-fg); }
.warn { --bg: var(--wn-bg); --bd: var(--wn-bd); --fg: var(--wn-fg); }

.er b, .erok b, .warn b { font-weight: 600; }
.er a, .erok a, .warn a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }





@media (hover: hover) {
	.lang-selected:hover > .lang-dropdown {
		display: block;
		margin-top: -3px;
	}
}
@media (hover: none) {
	.lang-selected:focus-within > .lang-dropdown {
		display: block;
	}
	.lang-selected > a {
		cursor: pointer;
	}
}

@media (max-width: 1090px) {
	#openLogin {
		font-size: 0;
	}
	.icon--login, .icon--menu {
		margin-right: 1px;
	}
	.icon--search {
		display: none;
	}
	.icon--searchbtn {
		display: inline-flex;
		margin: 2px;
	}
	.search input {
		padding: 10px 40px 10px 10px;
	}
	.search .go {
		font-size: 0;
		padding: 8px 3px 7px 7px;
	}
	.artistblock {
		grid-template-columns: repeat(3, 1fr);
	}

}

@media (max-width: 998px) {

	h1 {
		font-size: 18px;
		margin: 10px 0;
	}

	header nav {
		display: none;
		position: fixed; top: 58px; right: 0;
		height: 100dvh; width: min(85vw, 320px);
		background: var(--drawer-bg);
		color: var(--drawer-fg);
		border-left: 1px solid var(--border);
		z-index: 1001;
		padding: 16px;
		flex-direction: column; gap: 12px;
		overflow: auto;
	}
	header nav.nav-open {
		display: flex;
	}
	header nav .nav{
		display: flex;
		flex-direction: column;
		gap: 8px;
	}
	.burger.pill {
		display: grid;
		place-items: center;
	}
	.header__row {
		grid-template-columns: auto 1fr auto auto auto;
	}
	.brand {
		min-height: 32px;
	}
	.brand span {
		display: none;
	}
	.lang-menu {
		display: flex;
		max-width: 100px;
	}
	#themeBtn {
		margin-top: -46px;
		margin-left: auto;
	}
	.nav {
		border-bottom: 1px solid #cccccc;
	}
	main {
		grid-template-columns:1fr;
	}
	footer section, footer nav {
		width: 100%;
		display: block;
	}
	.footer_menu ul {
		grid-template-columns: repeat(2, minmax(50%, 1fr));
		margin: 20px;
	}
	.footer_copy, .footer_legal {
		margin: 0 auto;
		float: none;
	}
	footer .right {
		text-align: center;
	}

	.tray, .volume-container input  {
		display: none;
	}
	.volume-container {
		width: 76px;
		flex-shrink: 0;
		padding: 8px;
		text-align: right;
	}
	.volume-container button {
		margin-top: 3px;
		transform:translateY(-8px);
	}
	.control-button:hover {
		transform:translateY(-8px);
	}
	#player-container .container {
		width: 100%;
	}


#progress-container, #progress-bar {
	height: 10px;
}



	.w50 {
		grid-template-columns: 1fr;
	}
	.artistblock {
		grid-template-columns: repeat(2, 1fr);
	}
	#playlist {
		width: 100%;
	}
	.w25 {
		display: grid;
		gap: 12px;
		grid-template-columns: 1fr;
	}
	.seg a span {
		margin: 0;
		display: none;
	}
	.minatrixplayer .sec-hd {
		display: block;
		text-align: center;
	}
	.minatrixplayer .sec-hd .pill {
		margin-bottom: 15px;
	}



}


.seg {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0;
	background:var(--bg-elev);
	border: 1px solid var(--border);
	border-radius:10px;
	overflow: hidden;
	min-height: 32px;
	
}
.seg a {
	display: inline-flex;
	padding: 8px 12px;
	color:var(--muted);
	text-decoration:none;
	border-right: 1px solid var(--border);
	align-items: center;
}
.seg a:last-child {
	border-right: none;
}
.seg a:hover, .seg a.active {
	color: var(--text);
	background: rgba(255,152,0,.14);
}
.seg a span {
	margin-left: 10px;
}


.minatrixplayer img {
	width: 100px;
	height: 100px;
	border-radius: 6px;
	float: left;
	margin-right: 20px;
}
.minatrixplayer span {
	display: inline-flex;
	align-items: center;
	margin-right: 20px;
}
.minatrixplayer span i {
	height: 16px;
	width: 16px;
	margin-right: 8px;
}
.minatrixplayer span small, .minatrixplayer span a {
	font-weight: normal;
	margin-left: 5px;
}
.minatrixplayer p {
	white-space: normal;
	margin: 12px 0;
	padding: 0;
	line-height: 1.8;
}
.musicbtns button {
	margin: 0 10px;
	display: grid;
	place-items: center;
	background: var(--bg);
}
.musicbtns button:hover {
	background: var(--brand);
}
.musicbtns i, .act i {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 0;
}
.musicbtns button i{margin-right:0}
.pbtn {
	margin: 10px 0;
}
.musicbtns span {
	margin: 0;
}

/* Контейнер карточки */
.smallplayer.pefir{
  display:grid;
  grid-template-columns: 56px 1fr;   /* обложка | контент */
  grid-template-rows: auto auto;     /* заголовок | кнопки+ползунок */
  column-gap:12px;
  align-items:center;
}

/* Обложка слева на две строки */
.pefir_cover{
  grid-column:1;
  grid-row:1 / 3;
  width:50px; height:50px;
  border-radius:6px;
  object-fit:cover;
  flex:0 0 auto;
	float: none;
	margin-bottom: 5px;
}

/* Заголовок с обрезкой лишнего */
.pefir_title{
  grid-column:2;
  grid-row:1;
  margin:0;
  min-width:0;            /* критично для ellipsis в grid/flex */
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Низ: кнопка + ползунок на остаток ширины */
.pefir_controls{
  grid-column:2;
  grid-row:2;
  display:flex;
  align-items:center;
  gap:15px;
	padding-bottom: 5px;
}
.pefir .track-progress.pefir_progress{
  flex:1 1 auto;
  min-width:0;
  width:auto;
  float:none;
  transform:none;
}






.loginform {
	max-width: 360px;
	margin: 0 auto;
}
.act {
	background: none;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.act i {
	cursor: pointer;
}

/* ====== Поля (input / textarea / select) ====== */
.input, textarea.input, select.input {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: var(--bg);
	color: var(--text);
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
	box-shadow: inset 0 0 0 1px transparent;
	min-height: 40px;
}

.input::placeholder { color: color-mix(in oklab, var(--muted) 92%, var(--text) 8%); }

.input:focus {
  border-color: color-mix(in oklab, var(--brand) 75%, var(--text) 25%);
  box-shadow:
    0 0 0 3px color-mix(in oklab, var(--brand) 25%, transparent 75%),
    inset 0 0 0 1px color-mix(in oklab, var(--brand) 65%, var(--text) 35%);
}

.input:hover:not(:disabled):not(:focus) {
  border-color: color-mix(in oklab, var(--border) 40%, var(--text) 60%);
}

.input:disabled,
.input[readonly] {
  opacity: .65;
  cursor: not-allowed;
}

textarea.input { resize: vertical; min-height: 110px; }

/* Невалидное поле по HTML-валидации */
.input:invalid:not(:placeholder-shown) {
  background: var(--er-bg);
  border-color: var(--er-bd);
  color: var(--er-fg);
}


.input--ok    { background: var(--ok-bg); border-color: var(--ok-bd); color: var(--ok-fg); }
.input--warn  { background: var(--wn-bg); border-color: var(--wn-bd); color: var(--wn-fg); }
.input--error { background: var(--er-bg); border-color: var(--er-bd); color: var(--er-fg); }

.input--ok:focus    { box-shadow: 0 0 0 3px color-mix(in oklab, var(--ok-bd) 45%, transparent); }
.input--warn:focus  { box-shadow: 0 0 0 3px color-mix(in oklab, var(--wn-bd) 45%, transparent); }
.input--error:focus { box-shadow: 0 0 0 3px color-mix(in oklab, var(--er-bd) 45%, transparent); }




/* ====== Кнопки ====== */
.btn {
  --_bg: var(--bg-elev);
  --_fg: var(--text);
  --_bd: var(--border);
  --_ring: color-mix(in oklab, var(--brand) 28%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--_bd);
  background: var(--_bg);
  color: var(--_fg);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease, opacity .15s ease;
  user-select: none;
  min-height: 40px;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--_ring);
  border-color: color-mix(in oklab, var(--brand) 70%, var(--text) 30%);
}

/* Варианты */
.btn--primary {
  --_bg: linear-gradient(90deg, var(--brand), var(--brand-2));
  --_fg: #241200;
  --_bd: color-mix(in oklab, var(--brand) 65%, var(--text) 35%);
  box-shadow: 0 8px 22px color-mix(in oklab, var(--brand) 30%, transparent);
}
.btn--primary:hover {
  box-shadow: 0 10px 26px color-mix(in oklab, var(--brand) 40%, transparent);
}

.btn--secondary {
  --_bg: var(--bg-elev);
  --_fg: var(--text);
  --_bd: color-mix(in oklab, var(--border) 50%, var(--text) 50%);
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
}
.btn--secondary:hover {
  border-color: color-mix(in oklab, var(--border) 25%, var(--text) 75%);
}

.btn--ghost {
  --_bg: transparent;
  --_fg: var(--text);
  --_bd: color-mix(in oklab, var(--border) 35%, transparent);
  border-style: dashed;
}

.btn > i,
.btn > svg { width: 16px; height: 16px; flex: 0 0 16px; }

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn, .input { transition: none; }
}








































.share-buttons {
	display: flex;
	align-items: center;
	gap: 5px;
	position: relative;
	justify-content: flex-end;
}
.share-buttons span {
	display: flex;
	background: var(--bg-elev);
	border: none;
	text-decoration: none;
	border-radius: 6px;
	border: 1px solid var(--border);
	cursor: pointer;
	font-size: 14px;
	transition: background 0.2s;
	margin: 2px;
	align-items: center;
	padding: 8px;
}
.share-buttons span i {
	width: 16px;
	height: 16px;
	display: flex;
}
.share-buttons span:hover,
.share-buttons a:hover,
.more-btn:hover {
	background: var(--glass);
	border: 1px solid var(--brand);
}
.more-dropdown {
	position: relative;
	display: inline-block;
}
.dropdown-content {
	display: none;
	position: absolute;
	bottom: 100%;
	left: -200px;
	width: 220px;
	background-color: var(--bg);
	border: 1px solid var(--border);
	z-index: 10;
	flex-direction: column;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}
.dropdown-content span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.more-dropdown:hover .dropdown-content {
	display: flex;
}

#ajaxBusy {
	position: fixed;
	display: none;
	inset: 40% 0 0 0;
	z-index: 91;
}
#ajaxBusy.is-visible {
	display: flex;
}

#ajaxBusy > img {
	width: 100px;
	height: 100px;
	display: block;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.captcha {
	--cap-w: 120px;
	--cap-h: 40px;
	--cap-pad: 4px;
	position: relative;
	display: block;
	max-width: 420px;
}
.captcha .input {
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	padding-left: calc(var(--cap-w) + var(--cap-pad)*2 + 8px);
	min-height: calc(var(--cap-h) + var(--cap-pad)*2);
	border-radius: 10px;
	font-weight: bold;
	font-size: 16px;
}
.captcha > img{
	position: absolute;
	left: var(--cap-pad);
	top: 50%;
	transform: translateY(-50%);
	width: var(--cap-w);
	height: var(--cap-h);
	object-fit: cover;
	border-radius: 6px;
	box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.08);
	cursor: pointer;
	user-select: none;
}
.googlebtn {
	width: 100%;
	display: block;
	align-items: center;
	text-align: center;
	background: #4285f4;
	border-radius: 7px;
	padding: 7px 30px;
	color: #ffffff;
	text-decoration: none;
}









.toast-pop {
	position: fixed;
	left: 50%;
	top: 70px;
	transform: translateX(-50%);
	max-width: min(98vw, 600px);
	padding: 10px 25px;
	border-radius: 10px;
	background: #111;
	color: #fff;
	box-shadow: 0 6px 20px rgba(0,0,0,.25);
	z-index: 10000;
	opacity: 0;
	transition: opacity .25s ease, transform .25s ease;
}
.toast-pop.ok { background:#0a0; }
.toast-pop.err{ background:#d00; }
.toast-pop.show{ opacity:1; transform:translate(-50%, 0); }









.dj-card{
	display:grid; gap:12px;
	grid-template-columns: auto 120px 1fr auto; /* ранг | аватар | инфо | кнопки */
	align-items:center;
	background: var(--bg-elev);
	border: var(--line);
	border-radius: var(--radius);
	padding: 10px 12px;
	margin: 15px 0;
}
.dj-rank{
	min-width: 44px; height: 44px;
	border-radius: 44px;
	background: linear-gradient(180deg, var(--bg), var(--bg-elev));
	border: var(--line);
	display:grid; place-items:center;
	font-weight: 800;
}
.dj-avatar {
	width:100px;
	height:100px; border-radius:50%;
	overflow:hidden;
	border:1px solid var(--border);
	display:block;
}
.dj-avatar img {
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}
.dj-info { min-width:0; display:grid; gap:4px; }
.dj-name { font-weight:800; font-size:16px; }
.dj-line { color: var(--muted); font-size:13px; }
.dj-actions{ display:flex; align-items:center; gap:8px; margin-left:8px; }
.djrank{
	display:inline-flex; align-items:center; justify-content:center;
	min-width:72px; height:40px; padding:0 10px;
	border-radius:10px; border:var(--line); background:var(--bg);
	font-weight:800;
}
.djrank--pos{ color:#16a34a; }
@media (max-width:680px){
  .dj-card{
    grid-template-columns: 44px 56px 1fr;
    grid-template-areas:
      "rank avatar info"
      "rank avatar actions";
    align-items:start;
  }
  .dj-rank{ grid-area: rank; }
  .dj-avatar{ grid-area: avatar; width:56px; height:56px; }
  .dj-info{ grid-area: info; }
  .dj-actions{ grid-area: actions; justify-content:flex-start; margin-top:6px; }
}







.tbl {
	width: 100%;
	border-radius: 4px;
	border: var(--line);
}
.tbl th {
	background-color: #666;
	border-radius: 3px;
	height: 30px;
	line-height: 30px;
	color: #111;
}
.tbl td {
	border-radius: 3px;
	border: var(--line);
}
.tbl td:hover {
	border-radius: 3px;
	border: var(--line);
	background-color: var(--bg);
}
.tbl tr {
	text-align: center;
}
.tbl .ftr, .tbl .ftr:hover {
	padding-left: 3px;
	background-color: #999;
}





































.post {
	margin-top: 15px;
}
.card {
	background:var(--card); border-radius:12px; padding:12px;
	box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.profile {
	--side: 320px;
	display:grid;
	gap:16px;
	max-width:1200px;
	margin:0 auto;
	grid-template-columns: 1fr;
}
.profile__header{
	grid-column: 1 / -1; display:flex; gap:16px; align-items: center;
}
.profile__avatar{
	width:100px; height:100px; border-radius:50%; overflow:hidden; flex:0 0 auto; background: #999; cursor: pointer;
}
.profile__avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.profile__head { min-width:0; }
.profile__head small { font-size: 12px; color: #999; padding-top: 4px; }
.profile__name { margin:0 0 5px; font: 700 20px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.nick{ font-weight:600; color:var(--muted); }
.profile__actions{ display:flex; flex-wrap:wrap; gap:8px; }
.profile__side{ display:grid; gap:16px;align-items: start;align-content: start; }
.profile__main{ display:grid; gap:16px; }

.profile__status{ color:#16a34a; font-weight:600; font-size: 31px; margin-top: -1px; }
.profile__offstatus{ color:#999; font-weight:600; font-size: 31px; margin-top: -1px; }

.card__title{ margin:0 0 10px; font-weight:700; display:flex; gap:8px; align-items:center; }
.card__title .card__more{ margin-left:auto; font-size:12px; color:var(--muted); text-decoration:none; }
.card__more:hover{ text-decoration:underline; }

.my-item{
  width:100%; display:grid; grid-template-columns: 1fr auto; gap:8px; align-items:center;
  padding:10px; border-radius:8px; color:inherit; text-decoration:none; cursor:pointer;
}
.my-item:hover{ background:#f2f3f5; }
.my-item__title{ display:inline-flex; align-items:center; gap:10px; font-weight:600; min-width:0; }
.my-item__sub{ display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--muted); }
.my-item i { width: 16px; height: 16px; }



.info{ display:grid; gap:8px; }
.info > div{ display:grid; grid-template-columns: 120px 1fr; gap:10px; align-items:start;font-weight: normal; font-size: 12px; }
.info dt{ color:var(--muted); }
.info dd{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.friends{ list-style:none; padding:0; margin:0; display:grid; gap:10px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 480px){ .friends{ grid-template-columns: repeat(3, 1fr); } }
.friend__link{ display:grid; justify-items:center; gap:6px; text-decoration:none; color:inherit; }
.friend__ava{ width:72px; height:72px; border-radius:50%; object-fit:cover; display:block; }
.friend__name{ font-size:12px; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }

.composer{ display:grid; grid-template-columns: auto 1fr; gap:12px; align-items:flex-start; min-height: 100px; }
.composer__ava{ width:44px; height:44px; border-radius:50%; object-fit:cover; display:block; }
.composer__text{
  width:100%; resize:none; min-height:44px; max-height:40vh;
  border:1px solid var(--border); border-radius:10px; padding:10px 12px; font:14px/1.35 system-ui, sans-serif;
}
.composer__bar{ display:flex; align-items:center; gap:10px; margin-top:8px; }


@media (min-width: 960px){
  .profile{ grid-template-columns: var(--side) 1fr; }
}













/* шапка поста */
.post__head {
	display: flex;
	align-items: center;
	gap: 12px;
	border-radius: 8px 8px 0 0;
	padding: 5px;
	background: var(--bg);
	border-bottom: var(--line);
}

.post__author{ display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit; }
.post__ava{ width:44px; height:44px; border-radius:50%; object-fit:cover; display:block; }
.post__name{ font-weight:700; display:flex; flex-wrap:wrap; gap:8px; }
.post__name .nick{ color:var(--muted); font-weight:600; }
.post__time{ color:var(--muted); font-size:12px; }
.post__menu{ margin-left:auto; border:0; background:none; cursor:pointer; font-size:20px; line-height:1; }

/* тело поста */
.post__body{ display:grid; gap:10px; margin-top:8px; }
.post__text{ margin:0; }
.long-text{ overflow-wrap:anywhere; word-break:break-word; }

.post__media{ margin:0; border-radius:10px; overflow:hidden; border:var(--line); }
.post__media img{ width:100%; display:block; object-fit:cover; height:auto;cursor:pointer; }
.post__caption{ padding:8px 10px; color:var(--muted); font-size:21px; text-align: center }
.post__audio { padding: 0 16px 16px 16px; }
.post__audio .track-progress { margin-top: 7px; width: calc(100% - 50px); }

/* действия */
.post__actions{
	display: flex;
	gap: 8px;
	border-top: var(--line);
	padding-top: 8px;
	margin-top: 8px;
	justify-content: flex-end; 
	margin-bottom: 10px;
}


/* комментарии */
.commentswall{ margin-top:8px; display:grid; gap:10px; }
.comments__list{ list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.comment{ display:grid; grid-template-columns:auto 1fr; gap:10px; }
.comment__ava{ width:34px; height:34px; border-radius:50%; object-fit:cover; }
.comment__bubble{
  background:#f6f7fb; border:var(--line); border-radius:10px; padding:8px 10px;
}
.comment__bubble p {
	margin: 8px 8px 8px 40px;
}
.comment__meta{ display:flex; gap:8px; align-items:center; }
.comment__name{ font-weight:700; color:inherit; text-decoration:none; }
.comment__bubble time{ color:var(--muted); font-size:12px; }
.comment__text{ margin-top:4px; }



html[data-theme="dark"]{

  .comment__bubble{ background:#23262c; }
}




.artists img {
	width: 96px;
	width: 96px;
	float: left;
	margin: 2px 12px 4px 0;
	border-radius: 8px;
}
.artists p {
	margin: 4px 0 12px 0;
	line-height: 1.4;
}
.artists h2 {
	margin: 0 0 0 108px;
	padding-left: 16px;
	font-size: 23px;
	background: var(--bg);
	border-radius: 6px;
}
.artists a {
	text-decoration: none;
}
.artists a:hover {
	color: var(--brand);
}



.abc{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
  padding: 8px;
  border: var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--bg), var(--bg-elev));
}

/* Разделительная линия между группами */
.abc > hr{
  flex-basis: 100%; 
  margin: 8px 0;
  opacity: .7;               /* чуть мягче */
}

/* Кнопки-буквы */
.abc a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elev);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .3px;
  transition: transform .12s ease, box-shadow .15s ease,
              background-color .15s ease, border-color .15s ease;
}
.abc a:hover{
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  border-color: color-mix(in oklab, var(--border) 25%, var(--text) 75%);
  background: rgba(255,152,0,.14);
}

@media (max-width: 520px){
  .abc{ gap: 6px; padding: 8px; }
  .abc a{
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
  }
  .abc > hr{ margin: 6px 0; }
}
.artistphoto {
	width: 230px;
	height: 230px;
	float: left;
	margin: 20px 12px 4px 0;
	border-radius: 8px;
}

























.truncate-toggle{
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
	font: inherit;
	color: var(--brand);
	text-decoration: underline;
}
.truncate-toggle:hover{ text-decoration: none; }
.js-truncate {
	overflow-wrap: anywhere;
	word-break: break-word; 
	font-size: 12px;
	font-weight: normal;
}


/* Тёмная тема (если используете data-theme) */
html[data-theme="dark"]{
  --card:#1b1d22; 
  .btn{ background:#23262c; border-color:var(--line); }
  .my-item:hover{ background:#23262c; }
}