/* Request tab > Lyrics panel (assets/js/lyricsPanel.js). Dark like the DJ page; accent is the app theme color. */
.nsrLyricsPanel {
	--nsrLy-bg: #121212;
	--nsrLy-surface: #1c1c1e;
	--nsrLy-border: #3a3a3c;
	--nsrLy-text: #ffffff;
	--nsrLy-muted: #8e8e93;
	--nsrLy-upcoming: #c7c7cc;
	--nsrLy-accent: #FC561E;

	position: fixed;
	top: 0;
	right: 0;
	width: min(440px, 100vw);
	height: 100vh;
	height: 100dvh;
	z-index: 1045; /* above page content and dropdowns, below Bootstrap modals (1055) */
	display: flex;
	flex-direction: column;
	background: var(--nsrLy-bg);
	color: var(--nsrLy-text);
	border-left: 1px solid var(--nsrLy-border);
	box-shadow: -8px 0 24px rgba(0, 0, 0, 0.5);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.25s ease, visibility 0s linear 0.25s;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	overflow: hidden;
	isolation: isolate; /* keeps the animated backdrop below the lyrics */
}

/* Party backdrop.
   ::before = disco light: sweeping spotlight beams over colour glows that slowly change colour.
   ::after  = confetti and sparkles falling like snow, over a dark veil so the lyrics stay readable. */
.nsrLyricsPanel::before {
	content: "";
	position: absolute;
	inset: -25%;
	z-index: -2;
	background:
		repeating-conic-gradient(from 0deg at 50% 0%, rgba(255, 255, 255, 0.10) 0deg 3deg, transparent 3deg 20deg),
		radial-gradient(circle at 20% 25%, rgba(252, 86, 30, 0.60), transparent 42%),
		radial-gradient(circle at 80% 20%, rgba(150, 60, 255, 0.50), transparent 45%),
		radial-gradient(circle at 70% 80%, rgba(30, 140, 255, 0.45), transparent 45%),
		radial-gradient(circle at 25% 85%, rgba(255, 40, 120, 0.45), transparent 40%),
		#0b0912;
	filter: blur(24px);
	animation: nsrLyDisco 16s ease-in-out infinite alternate;
}
.nsrLyricsPanel::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 3px 1.6px, rgba(252, 86, 30, 0.95) 95%, transparent),
		radial-gradient(circle 1.8px, rgba(255, 210, 63, 0.95) 95%, transparent),
		radial-gradient(ellipse 1.6px 3px, rgba(58, 224, 255, 0.90) 95%, transparent),
		radial-gradient(circle 1.6px, rgba(255, 79, 163, 0.95) 95%, transparent),
		radial-gradient(circle 1px, rgba(255, 255, 255, 0.90) 95%, transparent),
		radial-gradient(ellipse 2.6px 1.4px, rgba(180, 110, 255, 0.90) 95%, transparent),
		linear-gradient(to bottom, rgba(5, 4, 10, 0.55), rgba(5, 4, 10, 0.20) 35%, rgba(5, 4, 10, 0.20) 65%, rgba(5, 4, 10, 0.65)),
		radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
	background-size: 130px 150px, 95px 120px, 170px 190px, 75px 100px, 55px 70px, 110px 160px, 100% 100%, 100% 100%;
	background-position: 10px 0, 40px 20px, 80px 60px, 20px 40px, 0 0, 60px 90px, 0 0, 0 0;
	animation: nsrLyConfetti 14s linear infinite;
}
/* every layer moves a whole number of its tile size, so the fall loops seamlessly; different distances = different speeds */
@keyframes nsrLyConfetti {
	to { background-position: 140px 300px, -55px 380px, 80px 440px, 95px 440px, 0 350px, -50px 410px, 0 0, 0 0; }
}
@keyframes nsrLyDisco {
	0%   { transform: translate(0, 0) rotate(-12deg) scale(1);    filter: blur(24px) hue-rotate(0deg); }
	50%  { transform: translate(4%, -3%) rotate(6deg) scale(1.08); filter: blur(24px) hue-rotate(45deg); }
	100% { transform: translate(-4%, 3%) rotate(14deg) scale(1.04); filter: blur(24px) hue-rotate(-30deg); }
}

/* Switchable backgrounds */

/* Snowy: winter night, white snowflakes drifting down (big, near flakes fall faster) */
.nsrLyricsPanel.bg-snowy::before {
	inset: -10%;
	background:
		radial-gradient(circle at 25% 15%, rgba(170, 230, 255, 0.40), transparent 45%),
		radial-gradient(circle at 80% 70%, rgba(120, 220, 240, 0.30), transparent 50%),
		linear-gradient(180deg, #0c2a40 0%, #15506e 55%, #2a7a98 100%);
	filter: blur(18px);
	animation: nsrLySoftDrift 30s ease-in-out infinite alternate;
}
.nsrLyricsPanel.bg-snowy::after {
	background:
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><g fill='white'><circle cx='23' cy='41' r='2.4' opacity='0.9'/><circle cx='87' cy='12' r='1.5' opacity='0.7'/><circle cx='140' cy='95' r='3' opacity='0.85'/><circle cx='212' cy='33' r='1.7' opacity='0.75'/><circle cx='265' cy='140' r='2.6' opacity='0.9'/><circle cx='40' cy='170' r='1.9' opacity='0.8'/><circle cx='118' cy='222' r='1.3' opacity='0.6'/><circle cx='190' cy='252' r='2.8' opacity='0.85'/><circle cx='250' cy='287' r='1.6' opacity='0.7'/><circle cx='75' cy='277' r='2.1' opacity='0.8'/><circle cx='170' cy='162' r='1.2' opacity='0.6'/><circle cx='292' cy='62' r='1.4' opacity='0.65'/><circle cx='9' cy='242' r='1.6' opacity='0.7'/><circle cx='226' cy='203' r='1.1' opacity='0.55'/></g><g stroke='white' stroke-width='1.2' stroke-linecap='round' opacity='0.75'><path transform='translate(100 60)' d='M0-6V6M-5.2-3L5.2 3M-5.2 3L5.2-3'/><path transform='translate(230 110) scale(0.8)' d='M0-6V6M-5.2-3L5.2 3M-5.2 3L5.2-3'/><path transform='translate(60 120) scale(0.7)' d='M0-6V6M-5.2-3L5.2 3M-5.2 3L5.2-3'/><path transform='translate(150 280) scale(0.9)' d='M0-6V6M-5.2-3L5.2 3M-5.2 3L5.2-3'/></g></svg>"),
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><g fill='rgb(220,235,255)'><circle cx='15' cy='25' r='1' opacity='0.6'/><circle cx='70' cy='60' r='0.8' opacity='0.5'/><circle cx='130' cy='15' r='1.1' opacity='0.6'/><circle cx='160' cy='100' r='0.9' opacity='0.5'/><circle cx='45' cy='130' r='1' opacity='0.55'/><circle cx='105' cy='160' r='0.8' opacity='0.5'/><circle cx='95' cy='105' r='0.7' opacity='0.45'/><circle cx='5' cy='90' r='0.9' opacity='0.5'/></g></svg>"),
		linear-gradient(to bottom, rgba(4, 8, 16, 0.45), rgba(4, 8, 16, 0.10) 35%, rgba(4, 8, 16, 0.10) 65%, rgba(4, 8, 16, 0.55)),
		radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.40) 100%);
	background-size: 300px 300px, 180px 180px, 100% 100%, 100% 100%;
	background-position: 0 0, 60px 40px, 0 0, 0 0;
	animation: nsrLySnow 20s linear infinite;
}
/* near flakes fall faster than distant ones; distant ones drift sideways a little. Whole tiles, so it loops seamlessly. */
@keyframes nsrLySnow {
	to { background-position: 0 600px, -120px 400px, 0 0, 0 0; }
}
@keyframes nsrLySoftDrift {
	0%   { transform: translate(0, 0) scale(1); }
	100% { transform: translate(-3%, 2%) scale(1.06); }
}

/* Mild: the one calm background on the public request page (audience mode) - soft glow, no particles */
.nsrLyricsPanel.bg-mild::before {
	inset: -10%;
	background:
		radial-gradient(circle at 25% 20%, rgba(252, 86, 30, 0.18), transparent 45%),
		radial-gradient(circle at 80% 75%, rgba(120, 90, 255, 0.18), transparent 50%),
		linear-gradient(180deg, #141322 0%, #1b1830 55%, #221a2e 100%);
	filter: blur(20px);
	animation: nsrLySoftDrift 30s ease-in-out infinite alternate;
}
.nsrLyricsPanel.bg-mild::after {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.35));
	background-size: 100% 100%;
	background-position: 0 0;
	animation: none;
	opacity: 1;
}

/* Party: the base look above (disco beams + confetti) */

/* Vibey: neon magenta / cyan glow shifting colour, with a slow neon scan-line wash */
.nsrLyricsPanel.bg-vibey::before {
	inset: -25%;
	background:
		radial-gradient(circle at 20% 30%, rgba(255, 0, 200, 0.65), transparent 42%),
		radial-gradient(circle at 80% 25%, rgba(0, 220, 255, 0.45), transparent 45%),
		radial-gradient(circle at 60% 85%, rgba(140, 60, 255, 0.55), transparent 45%),
		#1c0540;
	filter: blur(30px);
	animation: nsrLyVibe 12s ease-in-out infinite alternate;
}
.nsrLyricsPanel.bg-vibey::after {
	background:
		repeating-linear-gradient(to bottom, rgba(255, 80, 220, 0.07) 0 1px, transparent 1px 26px),
		linear-gradient(to bottom, rgba(5, 2, 12, 0.50), rgba(5, 2, 12, 0.15) 35%, rgba(5, 2, 12, 0.15) 65%, rgba(5, 2, 12, 0.60)),
		radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
	background-size: 100% 26px, 100% 100%, 100% 100%;
	background-position: 0 0, 0 0, 0 0;
	animation: nsrLyScan 1.6s linear infinite;
}
@keyframes nsrLyVibe {
	0%   { transform: translate(0, 0) rotate(0deg) scale(1);     filter: blur(30px) hue-rotate(0deg); }
	50%  { transform: translate(3%, -2%) rotate(6deg) scale(1.1); filter: blur(30px) hue-rotate(60deg); }
	100% { transform: translate(-3%, 2%) rotate(-4deg) scale(1.05); filter: blur(30px) hue-rotate(-40deg); }
}
@keyframes nsrLyScan { to { background-position: 0 26px, 0 0, 0 0; } }

/* Soft: calm pastel peach / lavender / mint glow with a few soft bokeh lights floating up */
.nsrLyricsPanel.bg-soft::before {
	inset: -15%;
	background:
		radial-gradient(circle at 25% 30%, rgba(255, 180, 160, 0.55), transparent 45%),
		radial-gradient(circle at 75% 35%, rgba(190, 160, 255, 0.50), transparent 45%),
		radial-gradient(circle at 50% 85%, rgba(150, 230, 210, 0.40), transparent 50%),
		#3a3050;
	filter: blur(40px);
	animation: nsrLySoftDrift 26s ease-in-out infinite alternate;
}
.nsrLyricsPanel.bg-soft::after {
	background:
		radial-gradient(circle 16px, rgba(255, 255, 255, 0.07) 50%, transparent),
		radial-gradient(circle 9px, rgba(255, 230, 220, 0.08) 50%, transparent),
		linear-gradient(to bottom, rgba(10, 8, 16, 0.35), rgba(10, 8, 16, 0.10) 40%, rgba(10, 8, 16, 0.10) 60%, rgba(10, 8, 16, 0.45));
	background-size: 240px 280px, 150px 190px, 100% 100%;
	background-position: 40px 0, 110px 60px, 0 0;
	animation: nsrLyBokeh 30s linear infinite;
}
@keyframes nsrLyBokeh { to { background-position: 40px -560px, 110px -510px, 0 0; } }

/* Sunset: warm purple-to-orange sky, low sun glow, embers rising */
.nsrLyricsPanel.bg-sunset::before {
	inset: -10%;
	background:
		radial-gradient(ellipse at 50% 105%, rgba(255, 170, 60, 0.70), transparent 45%),
		radial-gradient(circle at 15% 20%, rgba(255, 80, 140, 0.30), transparent 45%),
		linear-gradient(180deg, #1c0b2b 0%, #4e1640 40%, #a2324a 75%, #e8653a 100%);
	filter: blur(14px);
	animation: nsrLySoftDrift 24s ease-in-out infinite alternate;
}
.nsrLyricsPanel.bg-sunset::after {
	background:
		radial-gradient(circle 1.8px, rgba(255, 200, 90, 0.95) 90%, transparent),
		radial-gradient(circle 1.3px, rgba(255, 130, 60, 0.90) 90%, transparent),
		linear-gradient(to bottom, rgba(12, 4, 14, 0.55), rgba(12, 4, 14, 0.25) 40%, rgba(12, 4, 14, 0.30) 70%, rgba(12, 4, 14, 0.65)),
		radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.40) 100%);
	background-size: 120px 150px, 80px 100px, 100% 100%, 100% 100%;
	background-position: 20px 0, 60px 40px, 0 0, 0 0;
	animation: nsrLyEmbers 14s linear infinite;
}
@keyframes nsrLyEmbers { to { background-position: 140px -300px, -20px -360px, 0 0, 0 0; } }

/* Starry night (party): colour-shifting nebula, ringed planet + moons gently floating, colourful twinkling stars
   and shooting stars streaking across. Planets / shooting stars are animated SVG; stars drift slowly sideways. */
.nsrLyricsPanel.bg-starry::before {
	inset: -20%;
	background:
		radial-gradient(ellipse at 70% 30%, rgba(90, 110, 255, 0.45), transparent 45%),
		radial-gradient(ellipse at 20% 70%, rgba(255, 60, 180, 0.38), transparent 45%),
		radial-gradient(ellipse at 45% 15%, rgba(0, 210, 255, 0.22), transparent 40%),
		radial-gradient(ellipse at 85% 85%, rgba(252, 86, 30, 0.25), transparent 40%),
		linear-gradient(180deg, #02030a 0%, #070b24 60%, #0e1438 100%);
	filter: blur(22px);
	animation: nsrLyNebula 18s ease-in-out infinite alternate;
}
.nsrLyricsPanel.bg-starry::after {
	background:
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='t' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='white' stop-opacity='0'/><stop offset='1' stop-color='white'/></linearGradient></defs><g><line x1='-90' y1='-45' x2='0' y2='0' stroke='url(%23t)' stroke-width='2' stroke-linecap='round'/><circle r='2' fill='white'/><animateTransform attributeName='transform' type='translate' values='120 -40;620 210' dur='3.2s' repeatCount='indefinite'/><animate attributeName='opacity' values='0;1;1;0;0' keyTimes='0;0.1;0.35;0.45;1' dur='3.2s' repeatCount='indefinite'/></g><g><line x1='-70' y1='-35' x2='0' y2='0' stroke='url(%23t)' stroke-width='1.6' stroke-linecap='round'/><circle r='1.6' fill='rgb(255,200,240)'/><animateTransform attributeName='transform' type='translate' values='480 -30;900 180' dur='4.6s' begin='1.7s' repeatCount='indefinite'/><animate attributeName='opacity' values='0;1;1;0;0' keyTimes='0;0.08;0.3;0.4;1' dur='4.6s' begin='1.7s' repeatCount='indefinite'/></g></svg>"),
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600' preserveAspectRatio='xMidYMid slice'><defs><radialGradient id='p1' cx='0.4' cy='0.35' r='0.7'><stop offset='0' stop-color='rgb(255,214,160)'/><stop offset='0.6' stop-color='rgb(232,140,96)'/><stop offset='1' stop-color='rgb(150,64,70)'/></radialGradient><radialGradient id='p2' cx='0.4' cy='0.35' r='0.7'><stop offset='0' stop-color='rgb(110,200,255)'/><stop offset='0.7' stop-color='rgb(30,110,200)'/><stop offset='1' stop-color='rgb(12,40,110)'/></radialGradient><radialGradient id='p3' cx='0.4' cy='0.35' r='0.7'><stop offset='0' stop-color='rgb(225,190,255)'/><stop offset='1' stop-color='rgb(110,60,180)'/></radialGradient><radialGradient id='m' cx='0.4' cy='0.35' r='0.75'><stop offset='0' stop-color='rgb(236,236,244)'/><stop offset='1' stop-color='rgb(130,134,156)'/></radialGradient><radialGradient id='sh' cx='0.32' cy='0.28' r='0.9'><stop offset='0' stop-color='black' stop-opacity='0'/><stop offset='0.5' stop-color='black' stop-opacity='0.05'/><stop offset='0.85' stop-color='black' stop-opacity='0.55'/><stop offset='1' stop-color='black' stop-opacity='0.8'/></radialGradient><radialGradient id='hl' cx='0.3' cy='0.25' r='0.35'><stop offset='0' stop-color='white' stop-opacity='0.45'/><stop offset='1' stop-color='white' stop-opacity='0'/></radialGradient><radialGradient id='g1'><stop offset='0.7' stop-color='rgb(255,170,110)' stop-opacity='0.4'/><stop offset='1' stop-color='rgb(255,170,110)' stop-opacity='0'/></radialGradient><radialGradient id='g2'><stop offset='0.75' stop-color='rgb(120,210,255)' stop-opacity='0.55'/><stop offset='1' stop-color='rgb(120,210,255)' stop-opacity='0'/></radialGradient><linearGradient id='rg' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='rgb(255,225,180)' stop-opacity='0.2'/><stop offset='0.5' stop-color='rgb(255,230,190)' stop-opacity='0.95'/><stop offset='1' stop-color='rgb(255,225,180)' stop-opacity='0.2'/></linearGradient><clipPath id='c1'><circle cx='740' cy='130' r='46'/></clipPath><clipPath id='c2'><circle cx='120' cy='470' r='30'/></clipPath><clipPath id='c3'><circle cx='300' cy='95' r='13'/></clipPath></defs><g><animateTransform attributeName='transform' type='translate' values='0 0;0 -8;0 0' dur='7s' repeatCount='indefinite'/><circle cx='740' cy='130' r='66' fill='url(%23g1)'/><g transform='rotate(-18 740 130)' fill='none'><path d='M654 130 A86 18 0 0 1 826 130' stroke='url(%23rg)' stroke-width='6' opacity='0.7'/><path d='M666 130 A74 14 0 0 1 814 130' stroke='rgb(200,140,100)' stroke-width='3' opacity='0.5'/></g><circle cx='740' cy='130' r='46' fill='url(%23p1)'/><g clip-path='url(%23c1)'><g transform='rotate(-18 740 130)'><rect x='680' y='98' width='120' height='6' fill='rgb(255,230,190)' opacity='0.35'/><rect x='680' y='109' width='120' height='4' fill='rgb(170,70,60)' opacity='0.35'/><rect x='680' y='120' width='120' height='9' fill='rgb(255,205,150)' opacity='0.3'/><rect x='680' y='136' width='120' height='5' fill='rgb(150,55,55)' opacity='0.35'/><rect x='680' y='147' width='120' height='7' fill='rgb(255,220,175)' opacity='0.25'/><ellipse cx='758' cy='140' rx='9' ry='4' fill='rgb(190,80,60)' opacity='0.45'/></g></g><circle cx='740' cy='130' r='46' fill='url(%23sh)'/><circle cx='740' cy='130' r='46' fill='url(%23hl)'/><g transform='rotate(-18 740 130)' fill='none'><path d='M654 130 A86 18 0 0 0 826 130' stroke='url(%23rg)' stroke-width='6'/><path d='M666 130 A74 14 0 0 0 814 130' stroke='rgb(200,140,100)' stroke-width='3' opacity='0.7'/></g></g><g><animateTransform attributeName='transform' type='translate' values='0 0;0 6;0 0' dur='9s' repeatCount='indefinite'/><circle cx='120' cy='470' r='40' fill='url(%23g2)'/><circle cx='120' cy='470' r='30' fill='url(%23p2)'/><g clip-path='url(%23c2)'><g fill='rgb(70,175,110)' opacity='0.9'><animateTransform attributeName='transform' type='translate' values='-10 0;10 0;-10 0' dur='30s' repeatCount='indefinite'/><path d='M93 456 q10 -12 22 -4 q8 6 2 14 q-10 8 -20 2 q-8 -4 -4 -12z'/><path d='M117 481 q12 -6 20 2 q4 10 -6 14 q-12 2 -14 -6z'/><path d='M133 447 q7 -4 11 2 q0 7 -7 6z'/><path d='M84 484 q6 -3 9 2 q-1 5 -7 4z'/></g><g fill='white' opacity='0.6'><animateTransform attributeName='transform' type='translate' values='0 0;12 0;0 0' dur='22s' repeatCount='indefinite'/><ellipse cx='103' cy='462' rx='9' ry='2.5'/><ellipse cx='128' cy='488' rx='11' ry='2.5'/><ellipse cx='141' cy='459' rx='6' ry='2'/><ellipse cx='112' cy='449' rx='5' ry='1.6'/></g></g><circle cx='120' cy='470' r='30' fill='url(%23sh)'/><circle cx='120' cy='470' r='30' fill='url(%23hl)'/></g><g><animateTransform attributeName='transform' type='translate' values='0 0;5 -4;0 0' dur='8s' repeatCount='indefinite'/><circle cx='300' cy='95' r='13' fill='url(%23p3)'/><g clip-path='url(%23c3)' fill='white'><rect x='285' y='87' width='30' height='2' opacity='0.25'/><rect x='285' y='94' width='30' height='3' opacity='0.18'/><rect x='285' y='101' width='30' height='2' opacity='0.22'/></g><circle cx='300' cy='95' r='13' fill='url(%23sh)'/><circle cx='300' cy='95' r='13' fill='url(%23hl)'/></g><g><animateTransform attributeName='transform' type='translate' values='0 0;-4 5;0 0' dur='6s' repeatCount='indefinite'/><circle cx='830' cy='480' r='11' fill='url(%23m)'/><g fill='rgb(95,100,122)' opacity='0.55'><circle cx='826' cy='476' r='2.6'/><circle cx='835' cy='483' r='1.7'/><circle cx='828' cy='487' r='1.2'/><circle cx='836' cy='474' r='1'/></g><circle cx='830' cy='480' r='11' fill='url(%23sh)'/><circle cx='168' cy='432' r='5' fill='url(%23m)'/><circle cx='166.5' cy='431' r='1.2' fill='rgb(95,100,122)' opacity='0.55'/><circle cx='168' cy='432' r='5' fill='url(%23sh)'/></g></svg>"),
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><circle cx='20' cy='30' r='1.5' fill='white'><animate attributeName='opacity' values='0.2;1;0.2' dur='2.2s' repeatCount='indefinite'/></circle><circle cx='120' cy='60' r='1.2' fill='rgb(140,220,255)'><animate attributeName='opacity' values='1;0.2;1' dur='1.8s' repeatCount='indefinite'/></circle><circle cx='190' cy='150' r='1.6' fill='rgb(255,170,230)'><animate attributeName='opacity' values='0.2;1;0.2' dur='2.6s' begin='0.7s' repeatCount='indefinite'/></circle><circle cx='70' cy='180' r='1.3' fill='rgb(255,220,140)'><animate attributeName='opacity' values='0.3;1;0.3' dur='1.5s' begin='0.3s' repeatCount='indefinite'/></circle><path transform='translate(160 30) scale(0.7)' fill='white' d='M0-7L1.6-1.6L7 0L1.6 1.6L0 7L-1.6 1.6L-7 0L-1.6-1.6Z'><animate attributeName='opacity' values='0;1;0' dur='2.4s' begin='1s' repeatCount='indefinite'/></path><circle cx='100' cy='120' r='0.9' fill='white' opacity='0.7'/><circle cx='200' cy='85' r='0.8' fill='white' opacity='0.6'/></svg>"),
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><circle cx='10' cy='15' r='0.8' fill='white' opacity='0.7'/><circle cx='60' cy='45' r='0.6' fill='white' opacity='0.5'/><circle cx='110' cy='20' r='0.9' fill='rgb(200,220,255)'><animate attributeName='opacity' values='0.2;0.9;0.2' dur='3s' repeatCount='indefinite'/></circle><circle cx='35' cy='100' r='0.7' fill='white' opacity='0.6'/><circle cx='95' cy='120' r='0.8' fill='rgb(255,200,240)' opacity='0.6'/><circle cx='130' cy='80' r='0.6' fill='white' opacity='0.5'/></svg>"),
		radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
	background-size: cover, cover, 220px 220px, 140px 140px, 100% 100%;
	background-repeat: no-repeat, no-repeat, repeat, repeat, no-repeat;
	background-position: center, center, 0 0, 0 0, 0 0;
	animation: nsrLyStars 80s linear infinite;
}
/* stars drift slowly sideways (near layer faster); whole tiles, so it loops seamlessly */
@keyframes nsrLyStars { to { background-position: center, center, 220px 0, 140px 0, 0 0; } }
@keyframes nsrLyNebula {
	0%   { transform: translate(0, 0) scale(1);       filter: blur(22px) hue-rotate(0deg); }
	50%  { transform: translate(2%, -2%) scale(1.08); filter: blur(22px) hue-rotate(50deg); }
	100% { transform: translate(-2%, 2%) scale(1.04); filter: blur(22px) hue-rotate(-40deg); }
}

/* Glitter: dazzling gold / white / pink sparkle stars that twinkle one by one (animated SVG) over a gold shimmer */
.nsrLyricsPanel.bg-glitter::before {
	inset: -20%;
	background:
		linear-gradient(115deg, transparent 35%, rgba(255, 215, 130, 0.16) 45%, transparent 55%),
		radial-gradient(circle at 30% 25%, rgba(255, 205, 100, 0.50), transparent 45%),
		radial-gradient(circle at 75% 70%, rgba(255, 160, 80, 0.35), transparent 45%),
		linear-gradient(180deg, #2b1a06 0%, #4a2f0c 60%, #6e4a16 100%);
	background-size: 250% 100%, 100% 100%, 100% 100%, 100% 100%;
	filter: blur(6px);
	animation: nsrLyShimmer 7s ease-in-out infinite alternate;
}
.nsrLyricsPanel.bg-glitter::after {
	background:
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><g fill='rgb(255,214,120)'><path transform='translate(30 40)' d='M0-7L1.6-1.6L7 0L1.6 1.6L0 7L-1.6 1.6L-7 0L-1.6-1.6Z'><animate attributeName='opacity' values='0;1;0' dur='2.2s' repeatCount='indefinite'/></path><path transform='translate(150 120) scale(0.8)' d='M0-7L1.6-1.6L7 0L1.6 1.6L0 7L-1.6 1.6L-7 0L-1.6-1.6Z'><animate attributeName='opacity' values='0;1;0' dur='1.8s' begin='0.6s' repeatCount='indefinite'/></path></g><g fill='white'><path transform='translate(110 30) scale(0.7)' d='M0-7L1.6-1.6L7 0L1.6 1.6L0 7L-1.6 1.6L-7 0L-1.6-1.6Z'><animate attributeName='opacity' values='0;1;0' dur='2.6s' begin='1.1s' repeatCount='indefinite'/></path><path transform='translate(60 160) scale(0.9)' d='M0-7L1.6-1.6L7 0L1.6 1.6L0 7L-1.6 1.6L-7 0L-1.6-1.6Z'><animate attributeName='opacity' values='0;1;0' dur='2s' begin='0.3s' repeatCount='indefinite'/></path><circle cx='180' cy='60' r='1.3'><animate attributeName='opacity' values='0.2;1;0.2' dur='1.4s' repeatCount='indefinite'/></circle><circle cx='90' cy='95' r='1'><animate attributeName='opacity' values='1;0.2;1' dur='1.7s' repeatCount='indefinite'/></circle></g><g fill='rgb(255,140,210)'><path transform='translate(175 180) scale(0.6)' d='M0-7L1.6-1.6L7 0L1.6 1.6L0 7L-1.6 1.6L-7 0L-1.6-1.6Z'><animate attributeName='opacity' values='0;1;0' dur='2.4s' begin='1.5s' repeatCount='indefinite'/></path><circle cx='20' cy='110' r='1.2'><animate attributeName='opacity' values='0.2;1;0.2' dur='2.1s' begin='0.8s' repeatCount='indefinite'/></circle></g></svg>"),
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='130' height='130'><g fill='rgb(255,230,170)'><path transform='translate(40 90) scale(0.5)' d='M0-7L1.6-1.6L7 0L1.6 1.6L0 7L-1.6 1.6L-7 0L-1.6-1.6Z'><animate attributeName='opacity' values='0;1;0' dur='1.6s' begin='0.4s' repeatCount='indefinite'/></path><path transform='translate(100 25) scale(0.55)' d='M0-7L1.6-1.6L7 0L1.6 1.6L0 7L-1.6 1.6L-7 0L-1.6-1.6Z'><animate attributeName='opacity' values='0;1;0' dur='2.3s' begin='1.2s' repeatCount='indefinite'/></path><circle cx='15' cy='20' r='0.9'><animate attributeName='opacity' values='1;0.1;1' dur='1.3s' repeatCount='indefinite'/></circle><circle cx='80' cy='70' r='0.8'><animate attributeName='opacity' values='0.1;1;0.1' dur='1.9s' repeatCount='indefinite'/></circle></g></svg>"),
		linear-gradient(to bottom, rgba(10, 4, 12, 0.45), rgba(10, 4, 12, 0.10) 35%, rgba(10, 4, 12, 0.10) 65%, rgba(10, 4, 12, 0.55)),
		radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.40) 100%);
	background-size: 200px 200px, 130px 130px, 100% 100%, 100% 100%;
	background-position: 0 0, 50px 70px, 0 0, 0 0;
	animation: nsrLyGlitterDrift 40s linear infinite;
}
@keyframes nsrLyShimmer {
	from { background-position: 100% 0, 0 0, 0 0, 0 0; }
	to   { background-position: 0% 0, 0 0, 0 0, 0 0; }
}
@keyframes nsrLyGlitterDrift { to { background-position: 0 200px, 180px 330px, 0 0, 0 0; } }

/* Music & Hearts: music notes and hearts floating up over a rosy glow */
.nsrLyricsPanel.bg-love::before {
	inset: -15%;
	background:
		radial-gradient(circle at 25% 30%, rgba(255, 70, 140, 0.60), transparent 45%),
		radial-gradient(circle at 75% 25%, rgba(170, 80, 255, 0.38), transparent 45%),
		radial-gradient(circle at 50% 90%, rgba(252, 86, 30, 0.35), transparent 50%),
		#3d0a26;
	filter: blur(30px);
	animation: nsrLySoftDrift 20s ease-in-out infinite alternate;
}
.nsrLyricsPanel.bg-love::after {
	background:
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><path fill='rgb(255,120,170)' fill-opacity='0.55' transform='translate(20 30) scale(1.1)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z'/><path fill='rgb(255,160,90)' fill-opacity='0.6' transform='translate(150 20) scale(1.2)' d='M12 3v10.55A4 4 0 1 0 14 17V7h4V3z'/><path fill='rgb(200,140,255)' fill-opacity='0.5' transform='translate(100 120) scale(1.3)' d='M9 3v10.55A4 4 0 1 0 11 17V8h6v5.55A4 4 0 1 0 19 17V3z'/><path fill='rgb(255,90,150)' fill-opacity='0.45' transform='translate(190 170) scale(0.8)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z'/><path fill='rgb(255,200,120)' fill-opacity='0.45' transform='translate(30 175) scale(0.9)' d='M12 3v10.55A4 4 0 1 0 14 17V7h4V3z'/></svg>"),
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='150'><path fill='rgb(255,150,200)' fill-opacity='0.35' transform='translate(90 20) scale(0.6)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z'/><path fill='rgb(255,255,255)' fill-opacity='0.30' transform='translate(20 80) scale(0.6)' d='M9 3v10.55A4 4 0 1 0 11 17V8h6v5.55A4 4 0 1 0 19 17V3z'/><path fill='rgb(255,180,110)' fill-opacity='0.35' transform='translate(110 110) scale(0.55)' d='M12 3v10.55A4 4 0 1 0 14 17V7h4V3z'/></svg>"),
		linear-gradient(to bottom, rgba(14, 4, 12, 0.50), rgba(14, 4, 12, 0.15) 35%, rgba(14, 4, 12, 0.15) 65%, rgba(14, 4, 12, 0.60)),
		radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.40) 100%);
	background-size: 240px 240px, 150px 150px, 100% 100%, 100% 100%;
	background-position: 0 0, 70px 40px, 0 0, 0 0;
	animation: nsrLyFloatUp 18s linear infinite;
}
/* near (big) symbols rise faster than far (small) ones; whole tiles, so the loop is seamless */
@keyframes nsrLyFloatUp { to { background-position: 0 -480px, 70px -260px, 0 0, 0 0; } }

/* ---------------------------------------------------------------------------------------------
   Appearance popover (sliders button in the header): Background tiles + your photo, Text font / size / colours
   ------------------------------------------------------------------------------------------- */
.nsrLyricsHead { position: relative; }
.nsrLyricsBgBtn.isOn {
	border-color: var(--nsrLy-accent);
	background: rgba(252, 86, 30, 0.16);
	color: #fff;
}
.nsrLyAp {
	position: absolute;
	top: calc(100% - 4px);
	right: 12px;
	z-index: 6;
	display: flex;
	flex-direction: column;
	width: min(348px, calc(100vw - 24px));
	max-height: min(74vh, 620px);
	overflow: hidden;
	color: var(--nsrLy-text);
	text-align: left;
	background: rgba(22, 20, 30, 0.94);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 16px;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.60), 0 0 0 1px rgba(0, 0, 0, 0.35);
	animation: nsrLyApIn 0.16s ease-out;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.nsrLyAp[hidden] { display: none; }
@keyframes nsrLyApIn {
	from { opacity: 0; transform: translateY(-6px) scale(0.98); }
	to   { opacity: 1; transform: none; }
}
.nsrLyApHead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 14px 10px 16px;
}
.nsrLyApTitle { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.nsrLyApTitle .bi { color: var(--nsrLy-accent); }
.nsrLyApClose {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--nsrLy-muted);
	font-size: 13px;
	cursor: pointer;
}
.nsrLyApClose:hover, .nsrLyApClose:focus-visible { background: rgba(255, 255, 255, 0.08); color: #fff; outline: none; }

/* segmented control (tabs and sizes) */
.nsrLyApSeg {
	display: grid;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	gap: 2px;
	padding: 3px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
}
.nsrLyApTabs { margin: 0 14px 6px; }
.nsrLyApSegBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 7px 8px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--nsrLy-muted);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.nsrLyApSegBtn:hover { color: #fff; }
.nsrLyApSegBtn:focus-visible { outline: 2px solid var(--nsrLy-accent); outline-offset: 1px; }
.nsrLyApSegBtn.isOn {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.nsrLyApPane {
	overflow-y: auto;
	padding: 2px 14px 16px;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.nsrLyApPane[hidden] { display: none; }
.nsrLyApPane::-webkit-scrollbar { width: 8px; }
.nsrLyApPane::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
.nsrLyApGroup {
	margin: 14px 2px 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nsrLy-muted);
}
.nsrLyApGroup small { margin-left: 6px; font-weight: 500; letter-spacing: 0; text-transform: none; opacity: 0.8; }

/* background tiles */
.nsrLyApGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nsrLyApTile {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: center;
	cursor: pointer;
}
.nsrLyApTile[hidden] { display: none; }
.nsrLyApPrev {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background-size: cover;
	background-position: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nsrLyApTile:hover .nsrLyApPrev { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45); }
.nsrLyApTile:focus-visible { outline: none; }
.nsrLyApTile:focus-visible .nsrLyApPrev { box-shadow: 0 0 0 2px #fff; }
.nsrLyApTile.isOn .nsrLyApPrev { box-shadow: 0 0 0 2px var(--nsrLy-accent), 0 8px 18px rgba(252, 86, 30, 0.30); }
.nsrLyApPrev > .bi-check-lg {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 18px;
	height: 18px;
	display: none;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--nsrLy-accent);
	color: #fff;
	font-size: 11px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.nsrLyApTile.isOn .nsrLyApPrev > .bi-check-lg { display: flex; }
.nsrLyApName {
	font-size: 12px;
	color: #c7c7cc;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nsrLyApTile.isOn .nsrLyApName { color: #fff; font-weight: 600; }
.nsrLyApUpload .nsrLyApPrev {
	flex-direction: column;
	gap: 2px;
	border: 1.5px dashed rgba(255, 255, 255, 0.30);
	background: rgba(255, 255, 255, 0.04);
	color: var(--nsrLy-muted);
	font-size: 18px;
}
.nsrLyApUpload .nsrLyApPrev b { font-size: 11px; font-weight: 600; }
.nsrLyApUpload:hover .nsrLyApPrev { border-color: var(--nsrLy-accent); color: #fff; }
.nsrLyApLink {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	padding: 4px 2px;
	border: 0;
	background: transparent;
	color: var(--nsrLy-muted);
	font-size: 12px;
	cursor: pointer;
}
.nsrLyApLink[hidden] { display: none; }
.nsrLyApLink:hover, .nsrLyApLink:focus-visible { color: #fff; outline: none; }
.nsrLyApNote { margin-top: 8px; font-size: 12px; color: #ffb38f; }
.nsrLyApNote[hidden] { display: none; }

/* fonts */
.nsrLyApFonts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.nsrLyApFont {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 9px 10px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--nsrLy-text);
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.nsrLyApFont:hover { border-color: rgba(255, 255, 255, 0.28); }
.nsrLyApFont:focus-visible { outline: 2px solid var(--nsrLy-accent); outline-offset: 1px; }
.nsrLyApFont.isOn { border-color: var(--nsrLy-accent); background: rgba(252, 86, 30, 0.14); }
.nsrLyApAa { flex: none; width: 30px; font-size: 20px; line-height: 1; text-align: center; }
.nsrLyApFontName { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nsrLyApSizes .nsrLyApSegBtn { padding: 8px 4px; }

/* colours */
.nsrLyApColors { display: flex; flex-wrap: wrap; gap: 8px; }
.nsrLyApColor {
	position: relative;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.nsrLyApColor:hover { transform: scale(1.08); }
.nsrLyApColor:focus-visible, .nsrLyApColor:focus-within { outline: none; box-shadow: 0 0 0 2px #fff; }
.nsrLyApColor.isOn { box-shadow: 0 0 0 2px rgba(22, 20, 30, 1), 0 0 0 4px var(--nsrLy-accent); }
.nsrLyApColor > .bi-check-lg { display: none; font-size: 13px; color: #111; text-shadow: 0 0 2px rgba(255, 255, 255, 0.8); }
.nsrLyApColor.isOn > .bi-check-lg { display: inline; }
.nsrLyApCustom {
	background: conic-gradient(#ff4f4f, #ffd23f, #7cff6b, #3ae0ff, #6b7bff, #ff4fd8, #ff4f4f);
	color: #fff;
	font-size: 12px;
	overflow: hidden;
}
.nsrLyApCustom .bi { text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); }
.nsrLyApCustom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }

/* live preview of the text settings */
.nsrLyApPreview {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 16px;
	padding: 14px 12px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	font-family: var(--nsrLy-font, inherit);
	overflow: hidden;
}
.nsrLyApPreview span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nsrLyApPreviewPast { color: var(--nsrLy-muted); font-size: calc(14px * var(--nsrLy-scale, 1)); }
.nsrLyApPreviewLine { color: var(--nsrLy-hl, var(--nsrLy-accent)); font-weight: 700; font-size: calc(19px * var(--nsrLy-scale, 1)); }
.nsrLyApPreviewNext { color: var(--nsrLy-line, var(--nsrLy-text)); font-size: calc(15px * var(--nsrLy-scale, 1)); }

/* the DJ's own photo as the background: slow zoom, darker veil so the lyrics stay readable */
.nsrLyricsPanel.bg-image::before {
	inset: -4%;
	background: var(--nsrLy-img, none) center / cover no-repeat, #000;
	filter: none;
	animation: nsrLyKenBurns 30s ease-in-out infinite alternate;
}
.nsrLyricsPanel.bg-image::after {
	background:
		linear-gradient(to bottom, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.32) 35%, rgba(0, 0, 0, 0.32) 65%, rgba(0, 0, 0, 0.65)),
		radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
	background-size: 100% 100%, 100% 100%;
	background-position: 0 0, 0 0;
	animation: none;
	opacity: 1;
}
@keyframes nsrLyKenBurns {
	from { transform: scale(1); }
	to   { transform: scale(1.08) translate(-1%, -1%); }
}
.nsrLyricsBgSwatch.sw-snowy  { background: radial-gradient(circle at 35% 35%, #fff 0 2px, transparent 3px), radial-gradient(circle at 65% 60%, #fff 0 1.5px, transparent 2.5px), linear-gradient(180deg, #0f2238, #2b4a72); }
.nsrLyricsBgSwatch.sw-party  { background: conic-gradient(#FC561E, #ff4fa3, #9b3cff, #1e8cff, #ffd23f, #FC561E); }
.nsrLyricsBgSwatch.sw-vibey  { background: linear-gradient(135deg, #ff00c8, #8c3cff, #00dcff); }
.nsrLyricsBgSwatch.sw-soft   { background: linear-gradient(135deg, #ffb4a0, #bea0ff, #96e6d2); }
.nsrLyricsBgSwatch.sw-sunset { background: linear-gradient(180deg, #4e1640, #a2324a, #e8653a, #ffaa3c); }
.nsrLyricsBgSwatch.sw-starry { background: radial-gradient(circle at 66% 36%, #ffc48c 0 3px, #eb6e5a 4.5px, transparent 5.5px), radial-gradient(circle at 28% 70%, #fff 0 1px, transparent 2px), radial-gradient(circle at 38% 28%, #fff 0 1px, transparent 2px), linear-gradient(135deg, #070b24, #3a1a5a); }
.nsrLyricsBgSwatch.sw-glitter { background: radial-gradient(circle at 30% 35%, #fff 0 1.2px, transparent 2px), radial-gradient(circle at 70% 60%, #ffd678 0 1.5px, transparent 2.5px), radial-gradient(circle at 45% 75%, #ff8cd2 0 1px, transparent 2px), linear-gradient(135deg, #2a1424, #6b4a1e); }
.nsrLyricsBgSwatch.sw-love { background: linear-gradient(135deg, #ff468c, #aa50ff, #fc561e); }

/* Animated canvas backgrounds (assets/js/lyricsBackgrounds.js): the canvas sits behind the lyrics,
   with a light dark veil (the panel's ::after) on top so the highlighted line always stays readable */
.nsrLyricsCanvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	display: block;
	pointer-events: none;
}
.nsrLyricsCanvas[hidden] { display: none; }
.nsrLyricsPanel.bg-canvas { background: #05020c; }
.nsrLyricsPanel.bg-canvas::before { display: none; }
.nsrLyricsPanel.bg-canvas::after {
	background:
		linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.18) 30%, rgba(0, 0, 0, 0.18) 70%, rgba(0, 0, 0, 0.40)),
		radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
	background-size: 100% 100%, 100% 100%;
	background-position: 0 0, 0 0;
	animation: none;
	opacity: 1;
}

.nsrLyricsBgSwatch.sw-cv-party          { background: conic-gradient(#ff3d6e, #ffd23f, #3ae0ff, #b46eff, #ff3d6e); }
.nsrLyricsBgSwatch.sw-cv-warp           { background: repeating-conic-gradient(from 0deg, #8fd3ff 0 6deg, #04020c 6deg 30deg); }
.nsrLyricsBgSwatch.sw-cv-lasers         { background: linear-gradient(60deg, transparent 45%, #00ff9c 47%, transparent 50%), linear-gradient(120deg, transparent 45%, #ff3df0 47%, transparent 50%), #05000f; }
.nsrLyricsBgSwatch.sw-cv-vinyl          { background: radial-gradient(circle, #fc561e 0 3px, #111 4px 7px, transparent 8px), conic-gradient(#ff3d6e, #ffd23f, #3ae0ff, #b46eff, #ff3d6e); }
.nsrLyricsBgSwatch.sw-cv-floatingHearts { background: radial-gradient(circle at 40% 40%, #ff6fa5 0 3px, transparent 4px), radial-gradient(circle at 65% 65%, #ff4f8a 0 2px, transparent 3px), linear-gradient(135deg, #2b0016, #4a0a2e); }
.nsrLyricsBgSwatch.sw-cv-lanterns       { background: radial-gradient(circle at 40% 45%, #ffc070 0 2.5px, transparent 5px), radial-gradient(circle at 68% 60%, #ffa040 0 2px, transparent 4px), linear-gradient(180deg, #0a0420, #3a1030); }
.nsrLyricsBgSwatch.sw-cv-heartBalloons  { background: radial-gradient(circle at 45% 40%, #ff7aa8 0 4px, transparent 5px), linear-gradient(180deg, #2a0628, #6a1a48); }
.nsrLyricsBgSwatch.sw-cv-rosePetals     { background: radial-gradient(ellipse 4px 2.5px at 40% 45%, #ff5470 90%, transparent), radial-gradient(ellipse 3px 2px at 65% 62%, #c8102e 90%, transparent), radial-gradient(circle at 50% 10%, #4a0a1c, #0d0207); }
.nsrLyricsBgSwatch.sw-cv-synthStorm     { background: linear-gradient(180deg, #0a0018 0 55%, #07001a 55%), repeating-linear-gradient(180deg, transparent 0 3px, #00e5ff 3px 4px); }
.nsrLyricsBgSwatch.sw-cv-clubSpotlights { background: conic-gradient(from 160deg at 50% 0%, transparent 0 10deg, rgba(255, 60, 200, 0.9) 10deg 18deg, transparent 18deg 30deg, rgba(60, 200, 255, 0.9) 30deg 38deg, transparent 38deg), #05020c; }
.nsrLyricsBgSwatch.sw-cv-discoBall      { background: radial-gradient(circle at 50% 35%, #ddd 0 3px, #555 5px, transparent 6px), radial-gradient(circle at 25% 70%, #fff 0 1px, transparent 2px), radial-gradient(circle at 75% 65%, #ff6af0 0 1px, transparent 2px), #06030f; }
.nsrLyricsBgSwatch.sw-cv-cityRiver      { background: linear-gradient(180deg, #0d1238 0 50%, #1b2350 50% 62%, #0a0d26 62%); }
.nsrLyricsBgSwatch.sw-cv-cityNeon       { background: linear-gradient(90deg, transparent 30%, #ff3df0 30% 36%, transparent 36% 62%, #3ae0ff 62% 68%, transparent 68%), linear-gradient(180deg, #0a0418, #2a0a3a); }
.nsrLyricsPanel.isOpen {
	transform: translateX(0);
	visibility: visible;
	transition: transform 0.25s ease;
}

.nsrLyricsHead {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--nsrLy-border);
}
.nsrLyricsTitle { flex: 1; min-width: 0; }
.nsrLyricsSong {
	font-size: 17px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nsrLyricsArtist {
	font-size: 14px;
	color: var(--nsrLy-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nsrLyricsBadge {
	flex: none;
	font-size: 12px;
	padding: 3px 8px;
	border-radius: 999px;
	border: 1px solid var(--nsrLy-accent);
	color: var(--nsrLy-accent);
}
.nsrLyricsBadge[hidden] { display: none; }

/* Live / Paused / Ready / Text only */
.nsrLyricsState {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--nsrLy-surface);
	color: var(--nsrLy-muted);
	border: 1px solid var(--nsrLy-border);
}
.nsrLyricsState[hidden] { display: none; }
.nsrLyricsState.isLive { color: #fff; background: var(--nsrLy-accent); border-color: var(--nsrLy-accent); }
.nsrLyricsState.isReady { color: var(--nsrLy-upcoming); }
.nsrLyricsLiveDot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	animation: nsrLyPulse 1.4s ease-in-out infinite;
}
@keyframes nsrLyPulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

.nsrLyricsBtn {
	flex: none;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--nsrLy-border);
	border-radius: 8px;
	background: var(--nsrLy-surface);
	color: var(--nsrLy-text);
	font-size: 16px;
	cursor: pointer;
}
.nsrLyricsBtn:hover, .nsrLyricsBtn:focus-visible { border-color: var(--nsrLy-accent); outline: none; }
.nsrLyricsBtn[hidden] { display: none; } /* e.g. Maximize, shown only in the pop-out window */

/* Player bar (DJ side): the song's audio next to the lyrics */
.nsrLyPl { flex: none; padding: 8px 12px 10px; background: rgba(20, 17, 29, 0.92); border-bottom: 1px solid var(--nsrLy-border); position: relative; z-index: 2; }
.nsrLyPl[hidden] { display: none; }
.nsrLyPlRow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nsrLyPlGoRow { margin-top: 8px; }
.nsrLyPlSeg { display: inline-flex; background: #221d2e; border-radius: 20px; padding: 3px; }
.nsrLyPlSeg button { background: none; border: 0; color: var(--nsrLy-muted); padding: 5px 12px; border-radius: 16px; font-size: 12px; cursor: pointer; }
.nsrLyPlSeg button.on { background: #3a3150; color: #fff; }
.nsrLyPlWho, .nsrLyPlHide { background: #221d2e; border: 1px solid #3a3150; color: #fff; border-radius: 18px; padding: 5px 12px; font-size: 12px; cursor: pointer; }
.nsrLyPlWho[hidden] { display: none; }
.nsrLyPlWho b { color: var(--nsrLy-accent); }
.nsrLyPlHide { margin-left: auto; background: none; border-color: transparent; color: var(--nsrLy-muted); }
.nsrLyPlGo { background: var(--nsrLy-accent); color: #fff; border: 0; border-radius: 26px; padding: 10px 30px; font-size: 16px; font-weight: 700; cursor: pointer; }
.nsrLyPlGo.isStop { background: #3a3150; }
.nsrLyPlNote { font-size: 12px; color: var(--nsrLy-upcoming); }
.nsrLyPlBody { margin-top: 8px; }
.nsrLyPl.isCollapsed .nsrLyPlBody { height: 0; margin: 0; overflow: hidden; opacity: 0; pointer-events: none; } /* hidden, not removed, so the song keeps playing */
.nsrLyPlPick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.nsrLyPlPick[hidden], .nsrLyPlMsg[hidden], .nsrLyPlSearch[hidden], .nsrLyPlEmbed:empty, .nsrLyPlEmbed.isAway { display: none; }
.nsrLyPlPick button { background: #221d2e; border: 1px solid #3a3150; color: #fff; border-radius: 8px; padding: 9px 4px; font-size: 12px; cursor: pointer; }
.nsrLyPlPick button.on { border-color: var(--nsrLy-accent); }
.nsrLyPlPick button i { display: block; font-style: normal; font-size: 10px; color: var(--nsrLy-muted); }
.nsrLyPlMsg { font-size: 12px; color: #d9d4e6; background: #221d2e; border-radius: 8px; padding: 8px 10px; margin-top: 8px; }
.nsrLyPlMsg a { color: var(--nsrLy-accent); font-weight: 700; }
.nsrLyPlMsg.isWarn { background: #4a3300; color: #ffd27a; border: 1px solid #FFB347; font-weight: 600; }
/* DJ side: full-panel notice when Spotify would only play a preview */
.nsrLyPrev { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .82); }
.nsrLyPrevCard { max-width: 520px; background: #1c1c1e; color: #fff; border: 2px solid #FC561E; border-radius: 16px; padding: 26px 24px; text-align: center; }
.nsrLyPrevCard h3 { font-size: 1.5rem; font-weight: 800; color: #FFB347; margin: 0 0 14px; }
.nsrLyPrevCard p { font-size: 1.05rem; line-height: 1.45; color: #e5e5ea; margin: 0 0 12px; }
.nsrLyPrevBtns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.nsrLyPrevBtns a, .nsrLyPrevBtns button { border-radius: 10px; padding: 11px 18px; font-weight: 700; cursor: pointer; border: 1px solid #3a3a3c; background: #2a2a2d; color: #fff; text-decoration: none; }
.nsrLyPrevBtns .nsrLyPrevLogin { background: #FC561E; border-color: #FC561E; }
.nsrLyPlSearch { margin-top: 8px; }
.nsrLyPlSearch .nsrLyPlRow { flex-wrap: nowrap; }
.nsrLyPlQ { flex: 1; min-width: 0; background: #221d2e; border: 1px solid #3a3150; color: #fff; border-radius: 18px; padding: 7px 14px; font-size: 13px; }
.nsrLyPlSearch button[type="submit"] { background: #221d2e; border: 1px solid #3a3150; color: var(--nsrLy-accent); font-weight: 700; border-radius: 18px; padding: 6px 14px; font-size: 12px; cursor: pointer; }
.nsrLyPlResults { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 8px; }
.nsrLyPlRes { cursor: pointer; }
.nsrLyPlRes { display: flex; align-items: center; gap: 10px; background: #221d2e; border: 1px solid #3a3150; border-radius: 8px; padding: 6px 8px; font-size: 12px; }
.nsrLyPlRes img { width: 56px; height: 32px; object-fit: cover; border-radius: 4px; flex: none; background: #3a3150; }
.nsrLyPlRes span { flex: 1; min-width: 0; }
.nsrLyPlRes b { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nsrLyPlRes small { color: var(--nsrLy-muted); }
.nsrLyPlRes button { background: none; border: 0; color: var(--nsrLy-accent); font-weight: 700; cursor: pointer; font-size: 12px; }
.nsrLyPlEmbed { position: fixed; right: 8px; bottom: 8px; width: 300px; max-width: calc(100vw - 16px); z-index: 5; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.5); } /* kept on screen: embeds refuse to autoplay when moved off-screen */
.nsrLyPlShift { display: inline-flex; gap: 4px; }
.nsrLyPlShift .nsrLyricsNudge { padding: 5px 10px; font-size: 12px; }
.nsrLyPlGo { padding: 6px 18px; font-size: 14px; }
.nsrLyPlFrame { width: 100%; border: 0; border-radius: 10px; display: block; }

/* queue ticker along the bottom of the DJ's lyrics screen: who is singing now, then the line behind them */
.nsrLyTk { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: linear-gradient(180deg, rgba(5,12,28,.95), rgba(0,0,0,.92)); border-top: 2px solid rgba(30,158,252,.55); min-height: 28px; white-space: nowrap; overflow: hidden; z-index: 2; }
.nsrLyTk[hidden], .nsrLyTkWin[hidden], .nsrLyTkNextLab[hidden] { display: none; }
.nsrLyTkLab { flex: none; color: #4FC3F7; background: rgba(30,158,252,.15); border: 1px solid rgba(30,158,252,.5); border-radius: 4px; padding: 2px 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.nsrLyTkLab.isNow { color: #52E07C; background: rgba(82,224,124,.12); border-color: rgba(82,224,124,.5); }
.nsrLyTkNow { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 17px; font-weight: 700; color: #52E07C; }
.nsrLyTkWin { flex: 1 1 0; min-width: 0; overflow: hidden; font-size: 16px; color: #eef2ff; }
.nsrLyTkTrack { display: inline-flex; white-space: nowrap; will-change: transform; }
.nsrLyTkTrack.isScroll { animation: nsrLyTkScroll 30s linear infinite; }
.nsrLyTkSep { margin: 0 14px; color: rgba(255,255,255,.35); }
.nsrLyTkItems { padding-right: 8px; }
.nsrLyTkReq { color: #FFD700; font-weight: 700; }
@keyframes nsrLyTkScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.nsrLyricsPanel.hasTk .nsrLyPlEmbed { bottom: 64px; }
.nsrLyricsPanel.isFull .nsrLyTk { padding: 14px 24px; }
.nsrLyricsPanel.isFull .nsrLyTkNow { font-size: clamp(18px, 1.8vw, 28px); }
.nsrLyricsPanel.isFull .nsrLyTkWin { font-size: clamp(16px, 1.6vw, 26px); }

.nsrLyricsBody {
	position: relative; /* offsetTop of the lines is measured from here */
	flex: 1;
	overflow-y: auto;
	padding: 24px 20px 0; /* the space below the last line is the list's ::after, so it can't stop the body shrinking (it used to push the controls and ticker off screen) */
	-webkit-overflow-scrolling: touch;
	/* soft fade at the top and bottom edges */
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20px, #000 calc(100% - 56px), transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 20px, #000 calc(100% - 56px), transparent 100%);
}

/* countdown before the first line */
.nsrLyricsIntro {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	color: var(--nsrLy-muted);
	font-size: 15px;
}
.nsrLyricsIntro[hidden] { display: none; }
.nsrLyricsDots { display: inline-flex; gap: 5px; }
.nsrLyricsDots i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--nsrLy-accent);
	animation: nsrLyPulse 1.2s ease-in-out infinite;
}
.nsrLyricsDots i:nth-child(2) { animation-delay: 0.2s; }
.nsrLyricsDots i:nth-child(3) { animation-delay: 0.4s; }
.nsrLyricsIntroText { font-variant-numeric: tabular-nums; }
.nsrLyricsStatus {
	color: var(--nsrLy-muted);
	font-size: 14px;
	margin-bottom: 16px;
}
.nsrLyricsStatus[hidden] { display: none; }

.nsrLyricsLines {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--nsrLy-font, inherit);
}
.nsrLyricsLines::after { content: ""; display: block; height: 40vh; }
.nsrLyricsPanel.isFull .nsrLyricsLines::after { height: 50vh; }
.nsrLyricsLines li {
	font-size: calc(20px * var(--nsrLy-scale, 1));
	line-height: 1.4;
	padding: 6px 0;
	color: var(--nsrLy-line, var(--nsrLy-upcoming));
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
	transform-origin: left center;
	overflow-wrap: anywhere;
}
.nsrLyricsLines li:hover { color: var(--nsrLy-line, var(--nsrLy-text)); }
.nsrLyricsLines li.isPast { color: var(--nsrLy-muted); }
.nsrLyricsLines li.isActive {
	color: var(--nsrLy-hl, var(--nsrLy-accent));
	font-weight: 700;
	transform: scale(1.04);
}
.nsrLyricsLines li.isNext { color: var(--nsrLy-line, var(--nsrLy-text)); }
.nsrLyricsLines li.isGap { color: var(--nsrLy-muted); }
.nsrLyricsLines.isPlain li {
	cursor: default;
	font-size: calc(18px * var(--nsrLy-scale, 1));
	padding: 2px 0;
	color: var(--nsrLy-line, var(--nsrLy-text));
}
.nsrLyricsLines.isPlain li.isGap { min-height: 1em; }

.nsrLyricsControls {
	padding: 12px 16px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(8, 6, 14, 0.55); /* glassy, so the backdrop shows through */
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.nsrLyricsControls[hidden] { display: none; }
.nsrLyricsRow {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nsrLyricsRowSmall {
	justify-content: center;
	margin-top: 10px;
}
.nsrLyricsPlay {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--nsrLy-accent);
	border-color: var(--nsrLy-accent);
	font-size: 22px;
}
.nsrLyricsTime, .nsrLyricsDur {
	flex: none;
	font-size: 13px;
	color: var(--nsrLy-muted);
	font-variant-numeric: tabular-nums;
	min-width: 36px;
	text-align: center;
}
.nsrLyricsSeek {
	flex: 1;
	min-width: 0;
	accent-color: var(--nsrLy-accent);
	cursor: pointer;
}
.nsrLyricsNudge {
	border: 1px solid var(--nsrLy-border);
	border-radius: 8px;
	background: var(--nsrLy-surface);
	color: var(--nsrLy-text);
	font-size: 13px;
	padding: 5px 12px;
	cursor: pointer;
}
.nsrLyricsNudge:hover, .nsrLyricsNudge:focus-visible { border-color: var(--nsrLy-accent); outline: none; }

/* Later | +0.0 s | Earlier */
.nsrLyricsShift {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--nsrLy-border);
	border-radius: 999px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}
.nsrLyricsShift .nsrLyricsNudge {
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 6px 14px;
	font-weight: 600;
}
.nsrLyricsShift .nsrLyricsNudge:hover,
.nsrLyricsShift .nsrLyricsNudge:focus-visible { background: rgba(252, 86, 30, 0.18); color: #fff; }
.nsrLyricsOffset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	padding: 0 10px;
	border-left: 1px solid var(--nsrLy-border);
	border-right: 1px solid var(--nsrLy-border);
	font-size: 13px;
	font-weight: 700;
	color: var(--nsrLy-text);
	font-variant-numeric: tabular-nums;
}
.nsrLyricsHint {
	margin-top: 10px;
	font-size: 12px;
	color: var(--nsrLy-muted);
	text-align: center;
}

/* Full screen: browser full screen (:fullscreen) or, where that isn't supported, a window-filling fallback (.isFull) */
.nsrLyricsPanel.isFull,
.nsrLyricsPanel:fullscreen {
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	border-left: 0;
	box-shadow: none;
	z-index: 1060;
}
/* pop-out window: the panel fills that window */
.nsrLyricsPanel.isPopout {
	transition: none;
	transform: none;
	visibility: visible;
}
.nsrLyricsPanel:-webkit-full-screen {
	width: 100vw;
	height: 100vh;
	border-left: 0;
}
.nsrLyricsPanel.isFull .nsrLyricsBody {
	padding: 30vh 6vw 0;
	text-align: center;
}
.nsrLyricsPanel.isFull .nsrLyricsLines li {
	font-size: calc(clamp(26px, 4.2vw, 60px) * var(--nsrLy-scale, 1));
	line-height: 1.3;
	padding: 10px 0;
	transform-origin: center center;
}
.nsrLyricsPanel.isFull .nsrLyricsLines.isPlain li {
	font-size: calc(clamp(22px, 3vw, 40px) * var(--nsrLy-scale, 1));
	padding: 4px 0;
}
.nsrLyricsPanel.isFull .nsrLyricsIntro { justify-content: center; font-size: clamp(18px, 2vw, 26px); }
.nsrLyricsPanel.isFull .nsrLyricsSong { font-size: 22px; }
.nsrLyricsPanel.isFull .nsrLyricsArtist { font-size: 16px; }
/* expanded view (pop-out window / full screen): one row, play + time + seek + Later | offset | Earlier + Restart */
.nsrLyricsPanel.isFull .nsrLyricsControls:not([hidden]) {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 18px;
	flex: none;
	width: min(1100px, calc(100% - 24px));
	box-sizing: border-box;
	margin: 0 auto 12px;
	padding: 12px 18px;
	padding-bottom: max(12px, env(safe-area-inset-bottom));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
}
.nsrLyricsPanel.isFull .nsrLyricsControls > .nsrLyricsRow:first-child { flex: 1 1 360px; min-width: 0; }
.nsrLyricsPanel.isFull .nsrLyricsRowSmall { margin-top: 0; flex: none; }
.nsrLyricsPanel.isFull .nsrLyricsHint { display: none; }

/* "Lyrics live" chip: shown while the lyrics keep running with the panel closed */
.nsrLyricsChip {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 1044;
	display: flex;
	align-items: center;
	max-width: calc(100vw - 32px);
	border-radius: 999px;
	background: var(--nsrLy-accent, #FC561E);
	color: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.nsrLyricsChip[hidden] { display: none; }
.nsrLyricsChip button {
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.nsrLyricsChipOpen {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 10px 6px 10px 16px;
	font-size: 14px;
	font-weight: 600;
}
.nsrLyricsChipText { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nsrLyricsChipStop { padding: 10px 14px 10px 8px; font-size: 13px; opacity: 0.85; }
.nsrLyricsChipStop:hover, .nsrLyricsChipStop:focus-visible { opacity: 1; }

/* Lyrics look: neon purple-pink, so it stands apart from the orange tags. Used by the card badge and the menu item. */

/* Card menu item: glowing icon + "Lyrics", glowing status pill on the right */
.dropdown-item.nsrLyricsGlow {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow: visible;
}

/* "Lyrics" title: soft orange glow with notes and hearts floating up */
.np-title {
	position: relative;
	display: inline-block;
	font-weight: 600;
	color: #FFE9D9;
	animation: np-soft-glow 2s ease-in-out infinite;
}
@keyframes np-soft-glow {
	0%, 100% { text-shadow: 0 0 3px rgba(255, 106, 0, 0.35); }
	50%      { text-shadow: 0 0 6px rgba(255, 138, 0, 0.8), 0 0 14px rgba(255, 90, 0, 0.45); }
}
.np-confetti .fx {
	position: absolute;
	top: -4px;
	opacity: 0;
	pointer-events: none;
	animation: fx-float 2.8s ease-out infinite;
}
.np-confetti .note  { font-size: 11px; color: #FF9A5C; text-shadow: 0 0 6px rgba(255, 106, 0, 0.8); }
.np-confetti .heart { font-size: 12px; color: #B86BFF; text-shadow: 0 0 6px rgba(168, 85, 247, 0.9); animation-name: fx-heart; }
.np-confetti .fx:nth-of-type(1) { left: 4%; }
.np-confetti .fx:nth-of-type(2) { left: 24%; animation-delay: 0.55s; }
.np-confetti .fx:nth-of-type(3) { left: 44%; animation-delay: 1.1s; }
.np-confetti .fx:nth-of-type(4) { left: 64%; animation-delay: 1.65s; }
.np-confetti .fx:nth-of-type(5) { left: 86%; animation-delay: 2.2s; }
@keyframes fx-float {
	0%   { transform: translateY(8px) scale(0.6) rotate(-15deg); opacity: 0; }
	20%  { opacity: 1; }
	100% { transform: translateY(-22px) scale(1.2) rotate(20deg); opacity: 0; }
}
@keyframes fx-heart {
	0%   { transform: translateY(8px) scale(0.5); opacity: 0; }
	20%  { transform: translateY(0) scale(1.15); opacity: 1; }
	30%  { transform: translateY(-3px) scale(0.95); }
	100% { transform: translateY(-24px) scale(1.1); opacity: 0; }
}
.dropdown-item.nsrLyricsGlow:hover,
.dropdown-item.nsrLyricsGlow:focus {
	background: linear-gradient(90deg, rgba(123, 47, 247, 0.25), rgba(241, 7, 163, 0.25));
	color: #fff;
}
.dropdown-item.nsrLyricsGlow i {
	color: #ff4fd8;
	animation: nsrLyIconGlow 2s ease-in-out infinite;
}
@keyframes nsrLyIconGlow {
	0%, 100% { filter: drop-shadow(0 0 2px rgba(255, 79, 216, 0.6)); }
	50%      { filter: drop-shadow(0 0 7px rgba(255, 79, 216, 1)) drop-shadow(0 0 12px rgba(123, 47, 247, 0.8)); }
}
.nsrLyricsReady {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-left: 4px; /* sits right after "Lyrics" (the item already has an 8px gap) */
	padding: 1px 9px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	border-radius: 999px;
	border: 1px solid currentColor;
	vertical-align: middle;
	text-shadow: none;
}
.nsrLyricsReady::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}
.nsrLyricsReady.is-synced {
	color: #39ff9c;
	background: rgba(57, 255, 156, 0.10);
	box-shadow: 0 0 8px rgba(57, 255, 156, 0.45);
}
.nsrLyricsReady.is-synced::before { box-shadow: 0 0 6px #39ff9c; animation: nsrLyPulse 1.4s ease-in-out infinite; }
.nsrLyricsReady.is-plain { color: #FC561E; background: rgba(252, 86, 30, 0.10); }
.nsrLyricsReady.is-none { color: #8e8e93; background: rgba(142, 142, 147, 0.10); }

/* Card badge: dark pill with a glowing orange-gold border that flows around it, gold gradient text and
   glowing equalizer bars. Same size as the other tags, but clearly its own thing (they are flat orange). */
.rcTag.nsrLyricsCardBadge {
	cursor: pointer;
	color: #FFB347;
	border: 1px solid transparent;
	background:
		linear-gradient(#1d120c, #1d120c) padding-box,
		linear-gradient(90deg, #FF3D00, #FFB200, #FF6A00, #FFD27A, #FF3D00) border-box;
	background-size: 100% 100%, 300% 100%;
	animation: nsrLyBorderFlow 3s linear infinite, nsrLyBadgeGlow 2s ease-in-out infinite;
}
.rcTag.nsrLyricsCardBadge .rcTagTxt {
	background: linear-gradient(90deg, #FFD27A, #FF8A00, #FFD27A);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: nsrLyTextFlow 3s linear infinite;
}
.rcTag.nsrLyricsCardBadge:hover { filter: brightness(1.15); }
@keyframes nsrLyBorderFlow { to { background-position: 0 0, 300% 0; } }
@keyframes nsrLyTextFlow { to { background-position: 200% 0; } }
@keyframes nsrLyBadgeGlow {
	0%, 100% { box-shadow: 0 0 4px rgba(255, 106, 0, 0.35); }
	50%      { box-shadow: 0 0 10px rgba(255, 138, 0, 0.75), 0 0 18px rgba(255, 90, 0, 0.35); }
}
.nsrLyricsCardBadge .eq, .nsrLyricsGlow .eq { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.nsrLyricsCardBadge .eq span, .nsrLyricsGlow .eq span {
	width: 2px;
	height: 3px;
	border-radius: 1px;
	background: linear-gradient(to top, #FF3D00, #FFD27A);
	box-shadow: 0 0 4px rgba(255, 138, 0, 0.9);
	animation: nsrLyEqBounce 0.9s ease-in-out infinite;
}
.nsrLyricsCardBadge .eq span:nth-child(1), .nsrLyricsGlow .eq span:nth-child(1) { animation-delay: -0.2s; }
.nsrLyricsCardBadge .eq span:nth-child(2), .nsrLyricsGlow .eq span:nth-child(2) { animation-delay: -0.5s; }
.nsrLyricsCardBadge .eq span:nth-child(3), .nsrLyricsGlow .eq span:nth-child(3) { animation-delay: -0.1s; }
.nsrLyricsCardBadge .eq span:nth-child(4), .nsrLyricsGlow .eq span:nth-child(4) { animation-delay: -0.7s; }
@keyframes nsrLyEqBounce { 0%, 100% { height: 3px; } 50% { height: 10px; } }

/* once checked: text-only lyrics = plain outline; no lyrics = dimmed grey. No glow, bars stand still. */
.rcTag.nsrLyricsCardBadge.is-plain,
.rcTag.nsrLyricsCardBadge.is-none {
	background: transparent;
	border-color: currentColor;
	box-shadow: none;
	animation: none;
}
.rcTag.nsrLyricsCardBadge.is-plain .rcTagTxt,
.rcTag.nsrLyricsCardBadge.is-none .rcTagTxt {
	background: none;
	-webkit-text-fill-color: currentColor;
	color: inherit;
	animation: none;
}
.rcTag.nsrLyricsCardBadge.is-plain { color: #c9a27a; }
.rcTag.nsrLyricsCardBadge.is-none { color: #8e8e93; opacity: 0.7; }
.nsrLyricsCardBadge.is-plain .eq span,
.nsrLyricsCardBadge.is-none .eq span { animation: none; height: 6px; background: currentColor; box-shadow: none; }

/* "A song is playing" question: same dark card and orange button as the rest of the site */
.nsrLyAsk { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .65); }
.nsrLyAskCard { width: min(380px, 100%); background: #1c1c1e; color: #fff; border: 1px solid #3a3a3c; border-radius: 14px; padding: 22px 20px 18px; text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.nsrLyAskCard h4 { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.nsrLyAskCard p { margin: 0 0 18px; color: #c7c7cc; }
.nsrLyAskBtns { display: flex; gap: 10px; }
.nsrLyAskBtns button { flex: 1; border-radius: 10px; padding: 10px 8px; font-weight: 700; cursor: pointer; border: 1px solid #3a3a3c; background: #2a2a2d; color: #fff; }
.nsrLyAskBtns .nsrLyAskYes { background: #FC561E; border-color: #FC561E; }
.nsrLyAskBtns button:focus-visible { outline: 2px solid #FFB347; outline-offset: 2px; }

@media (max-width: 767.98px) {
	/* phones: the player sits in the bar at the top, so it never covers the lyrics controls at the bottom */
	.nsrLyricsPanel .nsrLyPlEmbed { position: static; width: 100%; max-width: none; margin-top: 8px; box-shadow: none; }
}

@media (max-width: 575.98px) {
	/* phones: the card badge keeps its words (other tags are icon-only) so fans can tell it opens the synced lyrics */
	.rcTag.nsrLyricsCardBadge { width: auto !important; padding: 0 .65em !important; gap: .4em !important; border-radius: 12px !important; font-size: .75rem; font-weight: 700; white-space: nowrap; }
	.rcTag.nsrLyricsCardBadge .rcTagTxt { display: inline !important; }
}
@media (max-width: 576px) {
	.nsrLyricsPanel { width: 100vw; border-left: 0; }
	.nsrLyricsLines li { font-size: calc(19px * var(--nsrLy-scale, 1)); }
}

@media (prefers-reduced-motion: reduce) {
	.nsrLyricsPanel, .nsrLyricsLines li { transition: none; }
	.nsrLyricsLiveDot, .nsrLyricsDots i, .nsrLyricsPanel::before, .nsrLyricsPanel::after,
	.dropdown-item.nsrLyricsGlow, .dropdown-item.nsrLyricsGlow i, .rcTag.nsrLyricsCardBadge, .rcTag.nsrLyricsCardBadge .rcTagTxt,
	.nsrLyricsCardBadge .eq span , .nsrLyricsGlow .eq span, .nsrLyricsReady.is-synced::before,
	.np-title, .np-confetti .fx { animation: none; }
	.nsrLyricsCardBadge .eq span , .nsrLyricsGlow .eq span { height: 8px; }
	.nsrLyricsPanel[class]::before, .nsrLyricsPanel[class]::after { animation: none !important; } /* the .bg-* backgrounds too */
}
