/*
Theme Name: PawYume Music
Theme URI: https://pawyume.ru/
Author: PawYume
Description: Тема музыкального сайта сети PawYume: лапа-волна с настроениями, коллекция, чарты, исполнители, кабинет музыканта. Переходы без перезагрузки — музыка не прерывается. Устанавливается как приложение. Нужен плагин Paw Music 6.0+.
Version: 1.3.1
Requires PHP: 7.4
Text Domain: pawyume-music
*/

:root {
	--bg: #120b1c;
	--ink: #f5eefc;
	--ink2: #c4b6d8;
	--ink3: #9a8bb0;
	--line: rgba(255, 255, 255, .09);
	--glass: rgba(255, 255, 255, .05);
	--glass2: rgba(255, 255, 255, .09);
	--pink: #ff5fa2;
	--pink2: #ff9cc6;
	--violet: #8b5cff;
	--mint: #7de3c3;
	--gold: #ffc46b;
	--blue: #2f6bff;
	--holo: linear-gradient(110deg, #8b5cff, #ff5fa2, #ffc46b, #7de3c3, #8b5cff);
	--display: "Unbounded", "Manrope", system-ui, sans-serif;
	--text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--side: 248px;
	--r: 24px;
	color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.pym { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 500 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.pym a { color: inherit; }
.pym img { max-width: 100%; }
.pym-i { display: block; flex: none; }
.pym :focus-visible { outline: 2px solid var(--pink2); outline-offset: 3px; }
/* поля поиска: подсвечивается сама «таблетка», без прямоугольной рамки вокруг поля */
.pym input[type="search"], .pym .pym-search input, .pym .mhx-search input { outline: none !important; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
.pym .mhx-search:focus-within { border-color: rgba(255, 156, 198, .6); }
.pym-skip { position: absolute; left: -9999px; }
.pym-skip:focus { left: 16px; top: 16px; z-index: 1000; padding: 10px 14px; border-radius: 10px; background: var(--pink); color: #fff; }

/* небо */
.pym-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.pym-sky i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; transition: background 1.2s ease; }
.pym-sky i:first-child { width: 60vw; height: 40vh; left: -10vw; top: -14vh; background: rgba(255, 95, 162, .35); }
.pym-sky i:last-child { width: 50vw; height: 50vh; right: -14vw; top: 20vh; background: rgba(139, 92, 255, .3); }

/* каркас */
.pym-shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.pym-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.pym-brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 18px; text-decoration: none; font: 600 19px var(--display); }
/* надпись бренда */
.pym-word { display: flex; flex-direction: column; line-height: 1; }
.pym-word small { font: 700 9.5px var(--text); letter-spacing: .32em; text-transform: uppercase; color: var(--ink3); margin: 0 0 4px 1px; }
.pym-word b { font: 700 21px/1 var(--display); letter-spacing: -.01em; background: linear-gradient(100deg, #ff9cc6, #ff5fa2 30%, #b48cff 60%, #7de3c3 90%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pymHolo 10s linear infinite; padding-right: .05em; }
.pym-top-brand .pym-word small { font-size: 8.5px; margin-bottom: 3px; }
.pym-top-brand .pym-word b { font-size: 19px; }
.pym-brand img, .pym-top-brand img { filter: drop-shadow(0 4px 12px rgba(139, 92, 255, .55)); }
/* заголовок каталога «Музыка» */
.pym .mhx-hero .mhx-h1 { font-family: var(--display); font-weight: 700; padding-right: .05em; background: linear-gradient(100deg, #fff 0%, #ffd2e6 35%, #ff9cc6 60%, #b48cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.015em; }
.pym-nav { display: flex; flex-direction: column; gap: 2px; }
.pym-nav a, .pym-cab, .pym-install { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 14px; text-decoration: none; color: var(--ink2); font-weight: 600; transition: background .2s, color .2s; }
.pym-nav a:hover, .pym-cab:hover, .pym-install:hover { background: var(--glass); color: var(--ink); }
.pym-nav a.is-on { background: rgba(255, 95, 162, .14); color: var(--pink2); font-weight: 700; }
.pym-side-fill { flex: 1; }
.pym-cab { border: 1px solid var(--line); color: var(--ink); }
.pym-cab.is-on { border-color: rgba(255, 95, 162, .4); }
.pym-install[hidden] { display: none; }
.pym-col { min-width: 0; display: flex; flex-direction: column; }
.pym-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: linear-gradient(var(--bg), rgba(18, 11, 28, .82)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pym-top-brand { display: none; align-items: center; gap: 8px; text-decoration: none; font: 600 18px var(--display); }
.pym-search { flex: 1; max-width: 640px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--glass2); border: 1px solid var(--line); color: var(--ink3); }
.pym-search:focus-within { border-color: rgba(255, 156, 198, .6); box-shadow: 0 0 0 3px rgba(255, 95, 162, .15); }
.pym-search input { flex: 1; min-width: 0; height: 42px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 15px var(--text); }
.pym-search input::-webkit-search-cancel-button { filter: invert(1); }
.pym-me { position: relative; margin-left: auto; flex: none; }
.pym-ava { display: block; padding: 0; border: 0; cursor: pointer; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--glass2); box-shadow: 0 0 0 2px rgba(255, 156, 198, .5); transition: box-shadow .2s, transform .2s; }
.pym-ava:hover, .pym-me.is-open .pym-ava { box-shadow: 0 0 0 2px var(--pink), 0 0 0 6px rgba(255, 95, 162, .18); }
.pym-ava:active { transform: scale(.95); }
.pym-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 1000; width: 300px; max-width: calc(100vw - 24px); padding: 8px; border-radius: 22px; background: rgba(30, 19, 46, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); transform-origin: top right; animation: pymPop .18s cubic-bezier(.2, .9, .3, 1.2); }
.pym-menu[hidden] { display: none; }
@keyframes pymPop { from { opacity: 0; transform: translateY(-6px) scale(.96); } }
.pym-menu-who { display: flex; align-items: center; gap: 12px; padding: 10px 10px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.pym-pic { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: linear-gradient(140deg, var(--violet), var(--pink)); }
.pym-pic::before { content: attr(data-l); position: absolute; inset: 0; display: grid; place-items: center; font: 700 17px var(--display); color: #fff; }
.pym-pic img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; }
.pym-menu-who .pym-pic { flex: none; width: 48px; height: 48px; box-shadow: 0 0 0 2px rgba(255, 156, 198, .5); }
.pym-menu-who .pym-pic::before { font-size: 20px; }
.pym-menu-who span { min-width: 0; display: flex; flex-direction: column; }
.pym-menu-who b { display: flex; align-items: center; gap: 6px; font: 600 15px/1.25 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pym-menu-who small { color: var(--ink3); font-weight: 700; font-size: 13px; }
.pym-mi { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 10px; border-radius: 14px; text-decoration: none; color: var(--ink2); outline: none; }
.pym-mi .pym-i { color: var(--ink3); }
.pym-mi span { display: flex; flex-direction: column; min-width: 0; }
.pym-mi b { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.pym-mi small { font-size: 12px; color: var(--ink3); line-height: 1.3; }
.pym-mi:hover, .pym-mi:focus-visible { background: rgba(255, 255, 255, .07); }
.pym-mi:hover .pym-i, .pym-mi:focus-visible .pym-i { color: var(--pink2); }
.pym-mi.is-acc { background: linear-gradient(120deg, rgba(255, 95, 162, .16), rgba(139, 92, 255, .16)); }
.pym-mi.is-acc .pym-i { color: var(--pink2); }
.pym-mi.is-acc:hover { background: linear-gradient(120deg, rgba(255, 95, 162, .26), rgba(139, 92, 255, .26)); }
.pym-mi.is-out b, .pym-mi.is-out .pym-i { color: #ff8fa8; }
.pym-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.pym-ava img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.pym-login { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--bg) !important; text-decoration: none; font-weight: 800; font-size: 14px; white-space: nowrap; }
.pym-main { width: 100%; max-width: none; padding: 8px 28px 150px; outline: 0; display: flex; flex-direction: column; gap: 28px; transition: opacity .2s; }
.pym-main > * { min-width: 0; max-width: 100%; }
.pym-gate { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 40px 24px; }
.pym-gate img { filter: drop-shadow(0 10px 24px rgba(139, 92, 255, .55)); margin-bottom: 8px; }
.pym-gate p { margin: 0 0 14px; max-width: 460px; color: var(--ink2); }
.pym-loading .pym-main { opacity: .55; }

/* общее */
.pym-card { padding: 24px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); }
.pym-h1 { margin: 0 0 12px; font: 600 clamp(24px, 4vw, 34px)/1.15 var(--display); }
.pym-prose { color: var(--ink2); }
.pym-prose a { color: var(--pink2); }
.pym-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--bg) !important; text-decoration: none; font-weight: 800; white-space: nowrap; }
.pym-btn:hover { filter: brightness(.95); }
.pym-sec { min-width: 0; }
.pym-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pym-sec-h h2 { margin: 0; font: 600 20px var(--display); }
.pym-sec-h a { color: var(--pink2); text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.pym-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

/* лапа-волна */
.pym-wave { --t1: #ff5fa2; --t2: #8b5cff; --t3: #ffc46b; position: relative; isolation: isolate; display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 32px; min-height: 340px; padding: 30px 40px 46px; border-radius: 34px; overflow: hidden; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px -40px rgba(0, 0, 0, .9); }
.pym-wave[data-tint="love"] { --t1: #ff5fa2; --t2: #8b5cff; --t3: #ff9cc6; }
.pym-wave[data-tint="new_to_me"] { --t1: #7de3c3; --t2: #2f6bff; --t3: #8b5cff; }
.pym-wave[data-tint="top"] { --t1: #ffc46b; --t2: #ff5fa2; --t3: #ff8a5c; }
.pym-wave[data-tint="fresh"] { --t1: #2f6bff; --t2: #8b5cff; --t3: #7de3c3; }
.pym-wave[data-tint="own"] { --t1: #8b5cff; --t2: #7de3c3; --t3: #ff5fa2; }
/* переливающаяся рамка */
.pym-wave::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none; background: linear-gradient(120deg, var(--t1), transparent 30%, transparent 62%, var(--t2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .75; transition: opacity .6s; }
.pym-wave > * { position: relative; z-index: 2; }
/* сияние */
.pym-wave .pym-wave-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pym-wave-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; transition: background 1s ease; animation: pymDrift 16s ease-in-out infinite alternate; }
.pym-wave-bg i:nth-child(1) { width: 46%; height: 120%; left: -6%; top: -20%; background: var(--t1); }
.pym-wave-bg i:nth-child(2) { width: 40%; height: 100%; left: 34%; top: 30%; background: var(--t2); opacity: .4; animation-duration: 21s; animation-delay: -6s; }
.pym-wave-bg i:nth-child(3) { width: 30%; height: 80%; right: -6%; top: -30%; background: var(--t3); opacity: .28; animation-duration: 25s; animation-delay: -11s; }
@keyframes pymDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, 8%) scale(1.12); } 100% { transform: translate(-4%, -6%) scale(.94); } }
/* волны */
.pym-wave .pym-wave-lines { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; width: 100%; height: 62%; pointer-events: none; overflow: hidden; }
.pym-wave-lines g { animation: pymFlow 14s linear infinite; }
.pym-wave-lines .w2 { animation-duration: 9s; }
.pym-wave-lines .w3 { animation-duration: 6s; animation-direction: reverse; }
@keyframes pymFlow { to { transform: translateX(-300px); } }
.pym-playing .pym-wave[data-mood-on] .pym-wave-lines .w1 { animation-duration: 6s; }
.pym-playing .pym-wave[data-mood-on] .pym-wave-lines .w2 { animation-duration: 3s; }
.pym-playing .pym-wave[data-mood-on] .pym-wave-lines .w3 { animation-duration: 2.2s; }
.pym-playing .pym-wave[data-mood-on]::after { opacity: 1; }
/* лапа */
.pym-wave-paw { position: relative; height: 260px; display: grid; place-items: center; }
.pym-ring { position: absolute; inset: 0; margin: auto; width: 214px; height: 214px; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, var(--t1), transparent 28%, var(--t2) 50%, transparent 78%, var(--t1)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); opacity: .7; animation: pymSpin 18s linear infinite; }
.pym-playing .pym-wave[data-mood-on] .pym-ring { animation-duration: 4s; opacity: 1; }
@keyframes pymSpin { to { transform: rotate(1turn); } }
.pym-halo { position: absolute; inset: 0; margin: auto; width: 184px; height: 184px; border-radius: 50%; border: 1.5px solid var(--t1); opacity: 0; }
.pym-playing .pym-wave[data-mood-on] .pym-halo { animation: pymHalo 2.4s ease-out infinite; }
.pym-playing .pym-wave[data-mood-on] .pym-halo:nth-of-type(3) { animation-delay: .8s; border-color: var(--t2); }
.pym-playing .pym-wave[data-mood-on] .pym-halo:nth-of-type(4) { animation-delay: 1.6s; }
@keyframes pymHalo { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.pym-wave-btn { position: relative; width: 184px; height: 184px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 62%, transparent 72%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.pym-wave-btn:hover { transform: scale(1.04); }
.pym-wave-btn:active { transform: scale(.96); }
.pym-wave-btn img { width: 128px; height: auto; filter: drop-shadow(0 14px 30px color-mix(in srgb, var(--t2) 70%, transparent)); transition: filter .8s; }
.pym-playing .pym-wave[data-mood-on] .pym-wave-btn img { animation: pymBeat 1.2s ease-in-out infinite; }
@keyframes pymBeat { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.07); } 36% { transform: scale(.98); } 54% { transform: scale(1.04); } }
.pym-wave-pp { position: absolute; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #fff; box-shadow: 0 8px 20px -6px var(--t2), inset 0 1px 0 rgba(255, 255, 255, .35); transition: background .8s; }
.pym-wave-pp svg { width: 22px; height: 22px; }
.pym-wave-pp .pp-pause, .pym-playing .pym-wave[data-mood-on] .pym-wave-pp .pp-play { display: none; }
.pym-playing .pym-wave[data-mood-on] .pym-wave-pp .pp-pause { display: block; }
/* текст */
.pym-wave-k { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); font: 700 12px var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.pym-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.pym-eq b { width: 3px; height: 30%; border-radius: 2px; background: linear-gradient(var(--t1), var(--t2)); }
.pym-playing .pym-wave[data-mood-on] .pym-eq b { animation: pymEq .9s ease-in-out infinite alternate; }
.pym-playing .pym-wave[data-mood-on] .pym-eq b:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.pym-playing .pym-wave[data-mood-on] .pym-eq b:nth-child(3) { animation-delay: -.6s; animation-duration: 1.1s; }
.pym-playing .pym-wave[data-mood-on] .pym-eq b:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }
@keyframes pymEq { from { height: 20%; } to { height: 100%; } }
.pym-wave-h { margin: 0; font: 700 clamp(34px, 5.4vw, 64px)/1.02 var(--display); letter-spacing: -.02em; }
.pym-wave-h em { font-style: normal; background: linear-gradient(100deg, var(--t1), var(--t3), var(--t2), var(--t1)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pymHolo 8s linear infinite; padding-right: .06em; }
@keyframes pymHolo { to { background-position: 300% 0; } }
.pym-wave-s { margin: 10px 0 0; color: var(--ink2); font-size: 16px; }
.pym-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pym-chip { position: relative; min-height: 40px; padding: 0 17px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink2); font: 700 14px var(--text); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.pym-chip:hover { color: var(--ink); background: rgba(255, 255, 255, .1); transform: translateY(-1px); }
.pym-chip.is-on { background: linear-gradient(135deg, var(--t1), var(--t2)); color: #fff; border-color: transparent; box-shadow: 0 8px 22px -10px var(--t2); }

/* плитки и исполнители */
.pym-rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.pym-tile { flex: none; width: 160px; scroll-snap-align: start; text-decoration: none; color: var(--ink); }
.pym-tile-cov { position: relative; display: block; width: 160px; height: 160px; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 30% 30%, #ff9cc6, #8b5cff 60%, #2a1450) center / cover no-repeat; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .8); transition: transform .2s; }
.pym-tile:hover .pym-tile-cov { transform: translateY(-3px); }
.pym-tile-cov::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(10, 5, 20, .75)); }
.pym-tile-cov b { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; font: 600 15px/1.15 var(--display); color: #fff; }
.pym-tile small { display: block; margin-top: 7px; color: var(--ink3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pym-art { flex: none; width: 112px; text-align: center; text-decoration: none; color: var(--ink); }
.pym-art-pic { display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 8px; border-radius: 50%; background: linear-gradient(140deg, var(--violet), var(--pink)) center / cover no-repeat; font: 700 32px var(--display); color: #fff; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(255, 156, 198, .35); }
.pym-art b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pym-join { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: linear-gradient(120deg, rgba(139, 92, 255, .18), rgba(255, 95, 162, .14)); }
.pym-join h2 { margin: 0 0 4px; font: 600 20px var(--display); }
.pym-join p { margin: 0; color: var(--ink2); max-width: 620px; }
.pym-empty h1 { margin: 0 0 8px; font: 600 24px var(--display); }

/* ---------------- музыкант: заявка, канал ---------------- */
.pym-kick { display: inline-block; font: 800 11px var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--pink2); }
.pym-btn.is-ghost { background: rgba(255, 255, 255, .08); color: var(--ink) !important; border: 1px solid rgba(255, 255, 255, .16); }
.pym-btn.is-ghost:hover { background: rgba(255, 255, 255, .13); filter: none; }
.pym-btn.is-main { border: 0; cursor: pointer; font-family: var(--text); font-size: 16px; min-height: 54px; padding: 0 28px; color: #fff !important; background: linear-gradient(120deg, #ff5fa2, #b04cff 55%, #8b5cff); background-size: 160% 100%; box-shadow: 0 16px 30px -14px rgba(255, 95, 162, .8), inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .2s, background-position .5s; }
.pym-btn.is-main:hover { transform: translateY(-2px); background-position: 100% 0; filter: none; }
.pym-btn.is-main:disabled { opacity: .7; cursor: default; transform: none; }
.pym-btn.is-busy span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: pymSpin .8s linear infinite; }

.pym-join2 { --a: #ff5fa2; --b: #8b5cff; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 28px 36px; border-radius: 34px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.pym-join2.is-wait { --a: #ffc46b; --b: #ff5fa2; }
.pym-join2.is-ok { --a: #7de3c3; --b: #8b5cff; margin-bottom: 28px; }
.pym-join2.is-no { --a: #ff7a90; --b: #8b5cff; }
.pym-join2::before { content: ""; position: absolute; z-index: -1; inset: -30% -10% auto; height: 90%; background: radial-gradient(40% 60% at 30% 50%, color-mix(in srgb, var(--a) 45%, transparent), transparent 70%), radial-gradient(40% 60% at 70% 40%, color-mix(in srgb, var(--b) 45%, transparent), transparent 70%); filter: blur(40px); opacity: .7; }
.pym-join2::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; background: linear-gradient(130deg, var(--a), transparent 32%, transparent 64%, var(--b)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .8; }
.pym-join2-art { position: relative; width: 150px; height: 150px; display: grid; place-items: center; margin-bottom: 14px; }
.pym-join2-art img { position: relative; filter: drop-shadow(0 14px 30px color-mix(in srgb, var(--b) 70%, transparent)); }
.pym-join2-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--a), transparent 30%, var(--b) 50%, transparent 80%, var(--a)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); animation: pymSpin 10s linear infinite; }
.pym-join2.is-wait .pym-join2-ring { animation-duration: 3s; }
.pym-join2-badge { position: absolute; right: 8px; bottom: 10px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-size: 21px; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 8px 20px -6px var(--b), 0 0 0 4px var(--bg); }
.pym-join2-h { margin: 8px 0 0; font: 700 clamp(28px, 4.4vw, 44px)/1.08 var(--display); letter-spacing: -.02em; }
.pym-join2-h em { font-style: normal; background: linear-gradient(100deg, var(--a), var(--b), var(--a)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pymHolo 8s linear infinite; padding-right: .05em; }
.pym-join2-p { max-width: 560px; margin: 12px 0 24px; color: var(--ink2); }
.pym-jperks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 640px; text-align: left; }
.pym-jperks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.pym-jperks .pym-i { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--pink2); }
.pym-jperks li:nth-child(2) .pym-i { color: #b48cff; }
.pym-jperks li:nth-child(3) .pym-i { color: var(--gold); }
.pym-jperks li:nth-child(4) .pym-i { color: var(--mint); }
.pym-jperks span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; color: var(--ink3); }
.pym-jperks b { font-size: 14.5px; color: var(--ink); }
.pym-join2-msg { min-height: 22px; margin: 12px 0 0; font-weight: 700; font-size: 14px; color: var(--ink2); }
.pym-join2-msg.is-ok { color: var(--mint); }
.pym-join2-msg.is-err { color: #ff8fa8; }
.pym-steps { list-style: none; margin: 0 0 26px; padding: 0; display: flex; gap: 8px; width: 100%; max-width: 620px; }
.pym-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.pym-steps li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: calc(50% + 24px); right: calc(-50% + 24px); height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.pym-steps li.is-done:not(:last-child)::after { background: linear-gradient(90deg, var(--a), var(--b)); }
.pym-steps i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font: 800 15px var(--text); font-style: normal; color: var(--ink3); background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .14); }
.pym-steps .is-done i { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--a), var(--b)); }
.pym-steps .is-now i { color: var(--ink); border-color: var(--a); box-shadow: 0 0 0 5px color-mix(in srgb, var(--a) 22%, transparent); animation: pymPulse 1.8s ease-in-out infinite; }
@keyframes pymPulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--a) 8%, transparent); } }
.pym-steps span { display: flex; flex-direction: column; font-size: 12px; color: var(--ink3); }
.pym-steps b { font-size: 14px; color: var(--ink); }

.pym-chan { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, rgba(255, 95, 162, .14), rgba(139, 92, 255, .16)); }
.pym-chan-pic { flex: none; width: 84px !important; height: 84px !important; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(255, 156, 198, .45); }
.pym-chan-pic::before { font-size: 30px !important; }
.pym-chan-tx { flex: 1; min-width: 200px; }
.pym-chan-tx h2 { margin: 2px 0 6px; font: 600 24px/1.15 var(--display); }
.pym-chan-st { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink3); font-size: 13.5px; }
.pym-chan-st b { color: var(--ink); }
.pym-chan-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pym-mi.is-chan .pym-i { color: var(--pink2); }
/* песочные часы: песок пересыпается, часы переворачиваются */
.pym-join2-badge.is-hg { width: 58px; height: 58px; right: 0; bottom: 4px; background: radial-gradient(circle at 50% 35%, #3a2350, #1d1230); box-shadow: 0 8px 20px -6px rgba(255, 196, 107, .6), 0 0 0 2px #ffc46b, 0 0 0 5px var(--bg); }
.pym-hg { width: 34px; height: 34px; overflow: visible; animation: pymHgFlip 4s cubic-bezier(.6, 0, .3, 1) infinite; }
.pym-hg .hg-f { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pym-hg .hg-g { fill: rgba(255, 255, 255, .1); }
.pym-hg .hg-c { stroke: #ff9cc6; stroke-width: 2.6; stroke-linecap: round; }
.pym-hg .hg-t, .pym-hg .hg-b { fill: #ffc46b; }
.pym-hg .hg-t { transform-origin: 12px 10px; animation: pymHgTop 4s linear infinite; }
.pym-hg .hg-b { transform-origin: 12px 19.6px; animation: pymHgBot 4s linear infinite; }
.pym-hg .hg-s { stroke: #ffc46b; stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 1 1.6; animation: pymHgSand .5s linear infinite, pymHgStream 4s linear infinite; }
@keyframes pymHgFlip { 0%, 82% { transform: rotate(0); } 100% { transform: rotate(180deg); } }
@keyframes pymHgTop { 0% { transform: scale(1); } 80%, 100% { transform: scale(0); } }
@keyframes pymHgBot { 0% { transform: scale(0); } 80%, 100% { transform: scale(1); } }
@keyframes pymHgSand { to { stroke-dashoffset: -2.6; } }
@keyframes pymHgStream { 0%, 78% { opacity: 1; } 82%, 100% { opacity: 0; } }
@media (max-width: 999px) {
	.pym-join2 { padding: 32px 18px 26px; border-radius: 28px; }
	.pym-jperks { grid-template-columns: minmax(0, 1fr); }
	.pym-steps b { font-size: 13px; }
	.pym-chan { gap: 14px; }
	.pym-chan-pic { width: 64px !important; height: 64px !important; }
	.pym-chan-btns { width: 100%; }
	.pym-chan-btns .pym-btn { flex: 1; justify-content: center; }
}

/* нижнее меню (телефон) */
.pym-tabs { display: none; }

/* Paw Music внутри темы: ночь, ровные края */
html.mh-dark .pym { --mx-sakura: #ff5fa2; --mx-sakura2: #ff9cc6; --mx-dusk: #8b5cff; --mx-main: linear-gradient(135deg, #ff5fa2, #8b5cff); --mx-glass: rgba(255, 255, 255, .05); --mx-chip: rgba(255, 255, 255, .08); --mx-solid: rgba(26, 16, 40, .98); }
.pym .mhx-hero { border-radius: 30px; }
.pym .mhx-hero > *, .pym .mhx-tools, .pym .mhx-search { min-width: 0; max-width: 100%; }
.pym .mhx-search input { min-width: 0; width: 100%; }
.pym .pym-sec.mhx { max-width: none; overflow: visible; border-radius: 0; }
.pym .pym-sec.mhx::before { display: none; }
.pym .pym-sec .mhx-list { border-radius: 20px; }
/* плеер — полоса внизу колонки контента */
@media (min-width: 1000px) {
	.pym .mhx-pl { left: calc(var(--side) + (100% - var(--side)) / 2); width: min(1000px, calc(100% - var(--side) - 40px)); }
}

/* телефон */
@media (max-width: 999px) {
	.pym-shell { grid-template-columns: minmax(0, 1fr); }
	.pym-side { display: none; }
	.pym-top { padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
	.pym-top-brand { display: flex; }
	.pym-search { order: 3; flex-basis: 100%; max-width: none; height: 42px; }
	.pym-login span { display: none; }
	.pym-login { padding: 0 12px; }
	.pym-main { padding: 6px 16px 170px; gap: 22px; }
	.pym-wave { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding: 14px 18px 30px; border-radius: 28px; text-align: center; }
	.pym-wave-bg i:nth-child(1) { width: 90%; height: 60%; left: 5%; top: -10%; }
	.pym-wave-bg i:nth-child(2) { width: 70%; height: 50%; left: 30%; top: 40%; }
	.pym-wave .pym-wave-lines { height: 40%; }
	.pym-wave-paw { height: 220px; }
	.pym-ring { width: 184px; height: 184px; }
	.pym-halo, .pym-wave-btn { width: 158px; height: 158px; }
	.pym-wave-btn img { width: 108px; }
	.pym-wave-pp { width: 40px; height: 40px; right: 12px; bottom: 12px; }
	.pym-wave-h { font-size: clamp(32px, 10vw, 44px); margin-top: 6px; }
	.pym-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 18px -18px 0; padding: 0 18px 6px; scrollbar-width: none; }
	.pym-chip { flex: none; }
	.pym-two { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.pym-tile, .pym-tile-cov { width: 136px; }
	.pym-tile-cov { height: 136px; }
	.pym-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(18, 11, 28, .94); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
	.pym-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 48px; justify-content: center; text-decoration: none; color: var(--ink3); font-size: 11px; font-weight: 700; }
	.pym-tabs a.is-on { color: var(--pink2); }
}
@media (prefers-reduced-motion: reduce) {
	.pym-hg, .pym-hg *, .pym-join2-ring, .pym-steps i, .pym-word b, .pym-halo, .pym-wave-btn img, .pym-ring, .pym-wave-bg i, .pym-wave-lines g, .pym-eq b, .pym-wave-h em { animation: none !important; }
	.pym-main, .pym-wave-btn, .pym-tile-cov { transition: none; }
}
