﻿:root {
	--c6: #5865f2;
	--c7: #8b95ff;
	--c8: #3941a0;
	--a6: 88, 101, 242;
	--a7: 139, 149, 255;
	--c4: #eef0ff;
	--c5: #9aa2c8;
	--g1: rgba(4, 5, 14, 0.62);
	--g2: rgba(14, 16, 36, 0.6);
	--bd: rgba(var(--a7), 0.16);
	--f1: "Dancing Script", cursive;
	--f2: "Quicksand", system-ui, sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	height: 100%;
	color: var(--c4);
	font-family: var(--f2);
	overflow: hidden;
}

body {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	grid-template-rows: 100%;
	background: #000 linear-gradient(to top, var(--c8) 0%, #000 55%);
}

button,
input,
select {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

::selection {
	background: var(--c6);
	color: #fff;
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-thumb {
	background: rgba(var(--a7), 0.25);
	border-radius: 10px;
	border: 3px solid transparent;
	background-clip: padding-box;
}

/* background layers */
/* drifting fog clouds, only transforms animate so it stays on the gpu */
#f0g {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

body.f0n #f0g {
	display: none;
}

#f0g i {
	position: absolute;
	bottom: -30vh;
	width: 90vw;
	height: 70vh;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(var(--a6), 0.5), rgba(var(--a6), 0.18) 55%, transparent 100%);
	will-change: transform;
	animation: w4f 26s ease-in-out infinite alternate;
}

#f0g i:nth-child(1) {
	left: -25vw;
}

#f0g i:nth-child(2) {
	left: 20vw;
	height: 80vh;
	animation-duration: 34s;
	animation-delay: -9s;
	opacity: 0.85;
}

#f0g i:nth-child(3) {
	right: -25vw;
	animation-duration: 30s;
	animation-delay: -16s;
}

#f0g i:nth-child(4) {
	left: 5vw;
	bottom: -45vh;
	width: 110vw;
	height: 75vh;
	animation-duration: 40s;
	animation-delay: -4s;
	opacity: 0.7;
}

@keyframes w4f {
	from {
		transform: translate3d(-8vw, 4vh, 0) scale(1);
	}
	to {
		transform: translate3d(10vw, -12vh, 0) scale(1.25);
	}
}

#f1o {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

/* black on top, accent glow at the bottom */
#f1o {
	background:
		radial-gradient(ellipse 80% 45% at 50% 105%, rgba(var(--a6), 0.55), transparent 70%),
		linear-gradient(to bottom, #000 0%, #000 32%, rgba(0, 0, 0, 0.82) 55%, rgba(0, 0, 0, 0.25) 82%, rgba(0, 0, 0, 0) 100%);
}

/* grid patch that follows the cursor, small so repainting it stays cheap */
#g2d {
	position: fixed;
	top: 0;
	left: 0;
	width: 480px;
	height: 480px;
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
	will-change: transform;
	background-image:
		linear-gradient(rgba(var(--a7), 0.45) 1px, transparent 1px),
		linear-gradient(90deg, rgba(var(--a7), 0.45) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
}

body.g0n.q0v #g2d {
	opacity: 1;
}

/* custom cursor, a dot, a ring and two echo rings */
#d1t,
#r4g,
.r4e {
	display: none;
}

body.q0c #d1t,
body.q0c #r4g,
body.q0c .r4e {
	display: block;
}

body.q0c,
body.q0c * {
	cursor: none !important;
}

/* over a text box the normal text cursor comes back */
body.q0c.t3x,
body.q0c.t3x * {
	cursor: text !important;
}

#d1t,
#r4g,
.r4e {
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 9999;
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.25s, scale 0.2s, background 0.2s;
	/* positioned with translate, not transform, since scale gets applied after transform and would scale the offset too */
	will-change: translate;
}

body.q0v #d1t,
body.q0v #r4g {
	opacity: 1;
}

body.t3x #d1t,
body.t3x #r4g {
	opacity: 0;
}

/* the dot always sits above the ring, so the ring's hover fill can't wash it out */
#d1t {
	z-index: 10000;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	background: #fff;
	box-shadow: 0 0 10px var(--c6);
	transition: opacity 0.25s, box-shadow 0.2s;
}

#r4g,
.r4e {
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border: 1.5px solid rgba(var(--a7), 0.7);
}

#r4g {
	box-shadow: 0 0 12px rgba(var(--a6), 0.4);
}

/* echoes only show while the mouse is moving */
body.q0m.q0v:not(.t3x) .e1 {
	opacity: 0.4;
}

body.q0m.q0v:not(.t3x) .e2 {
	opacity: 0.2;
}

body.h2v #r4g,
body.h2v .r4e {
	scale: 1.5;
}

body.h2v #r4g {
	background: rgba(var(--a6), 0.14);
}

body.h2v #d1t {
	box-shadow: 0 0 6px #fff, 0 0 14px var(--c7);
}

/* side bar */
#s3b {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 12px 0 14px;
	background: var(--g1);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border-right: 1px solid var(--bd);
}

#b0l {
	width: 52px;
	height: 52px;
	margin-bottom: 10px;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: transparent;
	display: grid;
	place-items: center;
	overflow: hidden;
	transition: transform 0.2s, filter 0.2s;
	filter: drop-shadow(0 0 12px rgba(var(--a6), 0.5));
}

#b0l:hover {
	transform: scale(1.08);
	filter: drop-shadow(0 0 18px rgba(var(--a6), 0.9));
}

#b0l img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.s6n {
	position: relative;
	width: 68px;
	padding: 10px 0 8px;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: var(--c5);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	transition: background 0.2s, color 0.2s;
}

.s6n svg {
	width: 24px;
	height: 24px;
}

.s6n span {
	font-family: var(--f1);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}

.s6n:hover {
	color: var(--c4);
	background: rgba(var(--a6), 0.12);
}

.s6n.z9a {
	color: #fff;
	background: rgba(var(--a6), 0.22);
	box-shadow: inset 0 0 0 1px rgba(var(--a7), 0.3), 0 0 20px rgba(var(--a6), 0.25);
}

.s6n.z9a::before {
	content: "";
	position: absolute;
	left: -8px;
	top: 25%;
	bottom: 25%;
	width: 3px;
	border-radius: 3px;
	background: var(--c6);
	box-shadow: 0 0 10px var(--c6);
}

.s6n.z9a svg {
	color: var(--c7);
	filter: drop-shadow(0 0 6px rgba(var(--a6), 0.8));
}

.s0p {
	flex: 1;
}

/* main column */
#m0n {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
}

/* top bar */
#a1x {
	flex-shrink: 0;
	background: var(--g1);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid var(--bd);
}

#t4b {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	padding: 8px 10px 0;
	overflow-x: auto;
	scrollbar-width: none;
}

#t9l {
	display: flex;
	gap: 4px;
	min-width: 0;
}

.t2x {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 200px;
	min-width: 90px;
	flex-shrink: 1;
	padding: 8px 12px;
	border-radius: 14px 14px 0 0;
	color: var(--c5);
	user-select: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.t2x:hover {
	background: rgba(var(--a6), 0.1);
	color: var(--c4);
}

.t2x.zz0 {
	opacity: 0.5;
}

.t2x.z9a {
	background: var(--g2);
	color: var(--c4);
	box-shadow: inset 0 2px 0 var(--c6);
}

.t2x .i4c {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	font-size: 10px;
	font-weight: 700;
	background: linear-gradient(135deg, var(--c6), var(--c8));
	color: #fff;
}

.t2x .n6m {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
	font-weight: 500;
}

.t2x .c1z {
	border: 0;
	background: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	line-height: 1;
	color: var(--c5);
	flex-shrink: 0;
}

.t2x .c1z:hover {
	background: var(--c6);
	color: #fff;
}

#b6r {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	background: var(--g2);
}

.g7i {
	border: 0;
	background: transparent;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 16px;
	flex-shrink: 0;
	transition: background 0.2s, box-shadow 0.2s;
}

.g7i:hover {
	background: rgba(var(--a6), 0.25);
	box-shadow: 0 0 14px rgba(var(--a6), 0.4);
}

#n2t {
	margin-bottom: 4px;
	font-size: 18px;
}

#u0f {
	flex: 1;
	min-width: 0;
}

#u7i {
	width: 100%;
	height: 36px;
	padding: 0 18px;
	border-radius: 18px;
	border: 1px solid var(--bd);
	background: rgba(0, 0, 0, 0.45);
	outline: none;
	font-size: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

#u7i:focus {
	border-color: var(--c6);
	box-shadow: 0 0 0 3px rgba(var(--a6), 0.25);
}

/* loading bar */
#l3d {
	height: 2px;
	overflow: hidden;
}

#l3b {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--c8), var(--c6), var(--c7));
	box-shadow: 0 0 10px var(--c6);
	transition: width 0.3s ease;
}

#l3b.r5n {
	width: 70%;
	transition: width 6s cubic-bezier(0.1, 0.6, 0.3, 1);
}

#l3b.d0n {
	width: 100%;
	opacity: 0;
	transition: width 0.2s, opacity 0.4s 0.2s;
}

/* views */
#c5t {
	flex: 1;
	position: relative;
	min-height: 0;
}

.v1w {
	position: absolute;
	inset: 0;
	display: none;
}

.v1w.z9a {
	display: block;
	animation: u5p 0.45s ease;
}

@keyframes u5p {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

#v8w iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
	display: none;
}

#v8w iframe.z9a {
	display: block;
}

/* home page */
#h5p {
	position: absolute;
	inset: 0;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	padding: 16px 16px 70px;
}

#h5p.z9a {
	display: flex;
}

#g6r {
	font-family: var(--f1);
	font-size: 26px;
	color: var(--c5);
	margin-bottom: -26px;
}

#h2l {
	font-family: var(--f1);
	font-size: clamp(72px, 14vw, 140px);
	font-weight: 700;
	line-height: 1.15;
	padding: 0 0.15em;
	background: linear-gradient(100deg, #ffffff 10%, var(--c7) 45%, var(--c6) 70%, #ffffff 95%);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 24px rgba(var(--a6), 0.55));
	animation: s4h 6s linear infinite;
}

@keyframes s4h {
	to {
		background-position: -200% center;
	}
}

#h9f {
	width: min(640px, 100%);
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 7px 7px 26px;
	border-radius: 999px;
	background: rgba(6, 7, 20, 0.7);
	border: 1px solid rgba(var(--a7), 0.28);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 12px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(var(--a6), 0.2);
	transition: border-color 0.25s, box-shadow 0.25s;
}

#h9f:focus-within {
	border-color: var(--c6);
	box-shadow: 0 12px 50px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(var(--a6), 0.22), 0 0 45px rgba(var(--a6), 0.45);
}

#h4i {
	flex: 1;
	min-width: 0;
	height: 44px;
	border: 0;
	background: transparent;
	outline: none;
	font-size: 16px;
}

input::placeholder {
	color: var(--c5);
	opacity: 0.8;
}

#h8g {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	font-size: 18px;
	color: #fff;
	background: var(--c6);
	box-shadow: 0 0 16px rgba(var(--a6), 0.6);
	transition: transform 0.2s, background 0.2s;
}

#h8g:hover {
	background: var(--c7);
	transform: scale(1.06);
}

#q6s {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	max-width: 640px;
}

.q1k {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 92px;
	padding: 12px 6px;
	border-radius: 18px;
	border: 0;
	background: transparent;
	color: var(--c5);
	font-family: var(--f1);
	font-size: 17px;
	font-weight: 700;
	transition: background 0.2s, color 0.2s, transform 0.2s;
}

.q1k:hover {
	background: rgba(var(--a6), 0.14);
	color: #fff;
	transform: translateY(-3px);
}

.q1k span {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: rgba(6, 7, 20, 0.7);
	border: 1px solid rgba(var(--a7), 0.3);
	color: var(--c7);
	font-family: var(--f2);
	font-weight: 600;
	font-size: 18px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: box-shadow 0.2s, border-color 0.2s;
}

.q1k img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.q1k:hover span {
	border-color: var(--c6);
	box-shadow: 0 0 20px rgba(var(--a6), 0.55);
}

#e3r {
	color: #ff8a9a;
	font-size: 13px;
	min-height: 1em;
	text-align: center;
	max-width: 640px;
}

#k7c {
	position: absolute;
	bottom: 22px;
	left: 16px;
	right: 16px;
	text-align: center;
	font-family: var(--f1);
	font-size: 24px;
	font-weight: 600;
	color: #fff;
	text-shadow: 0 0 18px rgba(var(--a6), 0.9);
}

/* shared page layout for games, music, settings */
.p0g.z9a {
	overflow-y: auto;
	padding: 28px clamp(16px, 4vw, 48px) 48px;
}

.p4h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 26px;
}

.p4h h2 {
	font-family: var(--f1);
	font-size: clamp(44px, 6vw, 64px);
	font-weight: 700;
	line-height: 1.2;
	padding-right: 0.2em;
	background: linear-gradient(100deg, #fff 20%, var(--c7) 60%, var(--c6));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 18px rgba(var(--a6), 0.5));
}

/* title with a small count under it */
.p4t {
	display: flex;
	flex-direction: column;
}

.p4t small {
	margin-top: 8px;
	padding-left: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--c5);
	letter-spacing: 0.02em;
}

.p4t small:empty {
	display: none;
}

.p6i {
	height: 40px;
	padding: 0 18px;
	border-radius: 20px;
	border: 1px solid var(--bd);
	background: rgba(6, 7, 20, 0.7);
	outline: none;
	min-width: 0;
	width: min(280px, 100%);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.p6i:focus {
	border-color: var(--c6);
	box-shadow: 0 0 0 3px rgba(var(--a6), 0.22);
}

select.p6i option {
	background: #0b0c1e;
}

.e0m {
	text-align: center;
	color: var(--c5);
	font-family: var(--f1);
	font-size: 22px;
	padding: 30px 0;
}

.e0m:empty {
	display: none;
}

/* side ad slots, 160x600 skyscrapers that only show when there is room */
.ad0 {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 160px;
	height: min(600px, calc(100% - 40px));
	z-index: 1;
	display: none;
	place-items: center;
	padding: 12px;
	border-radius: 16px;
	border: 1px dashed var(--bd);
	background: rgba(6, 7, 20, 0.55);
	overflow: hidden;
	color: var(--c5);
	font-family: var(--f1);
	font-size: 20px;
	text-align: center;
}

.ad0 > :not(span) {
	position: relative;
	z-index: 1;
}

.adl {
	left: 20px;
}

.adr {
	right: 20px;
}

.ad0 iframe {
	/* fills the whole slot over the placeholder text, the banner is the slot's full 160px width */
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #06071a;
}

/* smartlink banner, fills the slot and covers the placeholder text */
.ad0 .ad5 {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 20px 14px;
	border-radius: inherit;
	background: linear-gradient(160deg, #1d1f4a, #3a1f5c 55%, #0b0c22);
	color: #fff;
	text-decoration: none;
	transition: filter 0.2s;
}

.ad0 .ad5:hover {
	filter: brightness(1.15);
}

.ad5 small {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.6;
}

.ad5 b {
	font-size: 22px;
	line-height: 1.25;
}

.ad5 i {
	font-style: normal;
	font-size: 15px;
	padding: 9px 22px;
	border-radius: 999px;
	background: #fff;
	color: #1d1f4a;
}

@media (min-width: 1280px) {
	body.ad9:not(.pr0) .ad0 {
		display: grid;
	}
	body.ad9:not(.pr0) #h5p.z9a,
	body.ad9:not(.pr0) .p0g.z9a {
		padding-left: 200px;
		padding-right: 200px;
	}
	body.gp0 .ad0 {
		display: none;
	}
}

/* games */
.g9r {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 18px;
}

.g4c {
	border: 1px solid var(--bd);
	border-radius: 20px;
	overflow: hidden;
	background: rgba(6, 7, 20, 0.65);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	text-align: left;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.g4c:hover {
	transform: translateY(-5px);
	border-color: rgba(var(--a7), 0.5);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 26px rgba(var(--a6), 0.35);
}

.g4i {
	aspect-ratio: 4 / 3;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, rgba(var(--a6), 0.35), rgba(0, 0, 0, 0.6));
	font-size: 42px;
	font-weight: 700;
	color: var(--c7);
}

.g4i img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.g4c span {
	display: block;
	padding: 12px 14px 14px;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#g8p {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: none;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

#g8p.z9a {
	display: flex;
}

/* the list can't scroll out from under an open game */
body.gp0 #p1g {
	overflow: hidden;
}

#g8b {
	display: flex;
	align-items: center;
	gap: 10px;
}

#g8t {
	flex: 1;
	font-family: var(--f1);
	font-size: 26px;
	font-weight: 700;
}

#g8w {
	position: relative;
	flex: 1;
	min-height: 0;
	border: 1px solid var(--bd);
	border-radius: 16px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 0 40px rgba(var(--a6), 0.25);
}

#g8f {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

/* game loading screen, sits over the game until its files stop loading */
#g8l {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: none;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(ellipse 70% 50% at 50% 110%, rgba(var(--a6), 0.45), transparent 70%),
		linear-gradient(to bottom, #000 0%, #04050e 60%, #0b0d24 100%);
	opacity: 1;
	transition: opacity 0.4s ease;
}

#g8l.z9a {
	display: flex;
}

#g8l.h4d {
	opacity: 0;
	pointer-events: none;
}

.l9c {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: min(320px, 80%);
	text-align: center;
}

/* spinning accent ring around the cover */
.l9r {
	position: relative;
	width: 132px;
	height: 132px;
	padding: 8px;
	border-radius: 50%;
	margin-bottom: 6px;
}

.l9r::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(from 0deg, transparent 0 25%, var(--c8), var(--c6), var(--c7), transparent 85%);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
	animation: l9s 1.1s linear infinite;
	filter: drop-shadow(0 0 8px rgba(var(--a6), 0.8));
}

@keyframes l9s {
	to {
		transform: rotate(1turn);
	}
}

.l9i {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(var(--a6), 0.18);
	font-family: var(--f1);
	font-size: 48px;
	font-weight: 700;
	box-shadow: 0 0 30px rgba(var(--a6), 0.35);
}

.l9i img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#g8n {
	font-family: var(--f1);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
	background: linear-gradient(100deg, #fff 20%, var(--c7) 60%, var(--c6));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* sliding bar, real progress is unknown so it just keeps moving */
.l9b {
	position: relative;
	width: 100%;
	height: 4px;
	border-radius: 2px;
	overflow: hidden;
	background: rgba(var(--a7), 0.14);
}

.l9b i {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -40%;
	width: 40%;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--c8), var(--c6), var(--c7));
	box-shadow: 0 0 10px var(--c6);
	animation: l9m 1.4s ease-in-out infinite;
}

@keyframes l9m {
	to {
		left: 100%;
	}
}

#g8s {
	min-height: 1.2em;
	font-size: 13px;
	color: var(--c5);
}

#g8k {
	visibility: hidden;
	opacity: 0;
	height: 34px;
	padding: 0 18px;
	border-radius: 17px;
	border: 1px solid var(--bd);
	background: rgba(var(--a6), 0.18);
	color: var(--c4);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.3s, background 0.2s, box-shadow 0.2s;
}

#g8k.z9a {
	visibility: visible;
	opacity: 1;
}

#g8k:hover {
	background: rgba(var(--a6), 0.35);
	box-shadow: 0 0 14px rgba(var(--a6), 0.4);
}

/* music */
#m0g {
	display: grid;
	grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

/* player card plus the lyrics box, they stay put while the results scroll */
#m2w {
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

#m2k {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 22px;
	border-radius: 26px;
	border: 1px solid var(--bd);
	background: rgba(6, 7, 20, 0.7);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

#m2c {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 20px;
	overflow: hidden;
	display: grid;
	place-items: center;
	font-size: 80px;
	font-family: var(--f1);
	color: var(--c7);
	background: linear-gradient(135deg, rgba(var(--a6), 0.45), rgba(0, 0, 0, 0.7));
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(var(--a6), 0.3);
	margin-bottom: 8px;
	transition: transform 0.4s, box-shadow 0.4s;
}

#m2k.p5y #m2c {
	transform: scale(1.02);
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(var(--a6), 0.55);
}

#m2c img,
.m6c img,
#m8c img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#m4t {
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

#m4a {
	color: var(--c5);
	font-family: var(--f1);
	font-size: 19px;
	margin-top: -6px;
}

#m7r,
#m9r {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: var(--c5);
}

#m7r input,
#m9r input {
	flex: 1;
	min-width: 0;
}

input[type="range"] {
	accent-color: var(--c6);
	height: 4px;
}

#m1r {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 4px 0;
}

.m5b {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: transparent;
	color: var(--c4);
	display: grid;
	place-items: center;
	transition: background 0.2s, color 0.2s, transform 0.15s;
}

.m5b svg {
	width: 20px;
	height: 20px;
}

.m5b:hover {
	background: rgba(var(--a6), 0.2);
}

.m5b.z9a {
	color: var(--c7);
	background: rgba(var(--a6), 0.2);
}

.m5p {
	width: 58px;
	height: 58px;
	background: var(--c6);
	color: #fff;
	box-shadow: 0 0 24px rgba(var(--a6), 0.6);
}

.m5p:hover {
	background: var(--c7);
	transform: scale(1.05);
}

.m5p svg {
	width: 24px;
	height: 24px;
}

#m6l {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.m6r {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 14px;
	border: 1px solid transparent;
	border-radius: 16px;
	background: rgba(6, 7, 20, 0.55);
	text-align: left;
	transition: background 0.2s, border-color 0.2s;
}

.m6r:hover {
	background: rgba(var(--a6), 0.14);
}

.m6r.z9a {
	border-color: rgba(var(--a7), 0.35);
	background: rgba(var(--a6), 0.2);
}

.m6n {
	width: 22px;
	text-align: right;
	color: var(--c5);
	font-size: 13px;
}

.m6c {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	display: grid;
	place-items: center;
	font-weight: 700;
	color: var(--c7);
	background: linear-gradient(135deg, rgba(var(--a6), 0.4), rgba(0, 0, 0, 0.6));
}

.m6i {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.m6i b,
.m6i small,
#m8i b,
#m8i small {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.m6i b {
	font-weight: 600;
}

.m6i small {
	color: var(--c5);
}

/* little bars that bounce on the playing track */
.m6q {
	display: none;
	align-items: flex-end;
	gap: 2px;
	height: 16px;
}

.m6r.z9a .m6q {
	display: flex;
}

.m6q i {
	width: 3px;
	height: 30%;
	border-radius: 2px;
	background: var(--c7);
}

#m6l.p5y .m6r.z9a .m6q i {
	animation: q8b 0.9s ease-in-out infinite;
}

#m6l.p5y .m6r.z9a .m6q i:nth-child(2) {
	animation-delay: 0.2s;
}

#m6l.p5y .m6r.z9a .m6q i:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes q8b {
	0%,
	100% {
		height: 25%;
	}
	50% {
		height: 100%;
	}
}

/* mini player */
#m8p {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 5;
	display: none;
	align-items: center;
	gap: 10px;
	width: min(320px, calc(100vw - 32px));
	padding: 8px 10px 8px 8px;
	border-radius: 999px;
	border: 1px solid rgba(var(--a7), 0.3);
	background: rgba(6, 7, 20, 0.8);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 26px rgba(var(--a6), 0.3);
	animation: u5p 0.35s ease;
}

#m8p.z9a {
	display: flex;
}

#m8c {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	display: grid;
	place-items: center;
	font-weight: 700;
	color: var(--c7);
	background: linear-gradient(135deg, rgba(var(--a6), 0.5), rgba(0, 0, 0, 0.6));
	cursor: pointer;
}

#m8i {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	cursor: pointer;
	font-size: 13px;
}

#m8i small {
	color: var(--c5);
}

#m8p .m5b {
	width: 34px;
	height: 34px;
}

#m8p .m5b svg {
	width: 16px;
	height: 16px;
}

/* settings */
#s9c {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 760px;
}

.s1r {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	padding: 18px 20px;
	border-radius: 20px;
	border: 1px solid var(--bd);
	background: rgba(6, 7, 20, 0.65);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.s1r > div:first-child {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.s1r b {
	font-family: var(--f1);
	font-size: 22px;
	font-weight: 700;
}

.s1r small {
	color: var(--c5);
	font-size: 13px;
}

.s1c {
	flex-direction: column;
	align-items: stretch;
}

#s5w {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.s3w {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.15);
	transition: transform 0.15s, box-shadow 0.2s;
	position: relative;
	overflow: hidden;
}

.s3w:hover {
	transform: scale(1.1);
}

.s3w.z9a {
	border-color: #fff;
	box-shadow: 0 0 0 3px rgba(var(--a6), 0.5), 0 0 18px rgba(var(--a6), 0.7);
}

.s3p {
	background: conic-gradient(#f43f5e, #f59e0b, #10b981, #3b82f6, #8b5cf6, #f43f5e);
	cursor: pointer;
}

.s3p input {
	position: absolute;
	inset: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

/* toggle switch */
.s7t {
	appearance: none;
	-webkit-appearance: none;
	width: 52px;
	height: 30px;
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.12);
	position: relative;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.25s, box-shadow 0.25s;
}

.s7t::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.25s;
}

.s7t:checked {
	background: var(--c6);
	box-shadow: 0 0 16px rgba(var(--a6), 0.55);
}

.s7t:checked::after {
	transform: translateX(22px);
}

#s4f {
	display: flex;
	gap: 10px;
}

#s4f .p6i {
	flex: 1;
	width: auto;
}

.b2n {
	height: 40px;
	padding: 0 22px;
	border-radius: 20px;
	border: 0;
	background: var(--c6);
	color: #fff;
	font-weight: 600;
	box-shadow: 0 0 16px rgba(var(--a6), 0.45);
	transition: background 0.2s, transform 0.15s;
}

.b2n:hover {
	background: var(--c7);
	transform: translateY(-1px);
}

.b2g {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: none;
}

.b2g:hover {
	background: #e5484d;
}

#s4m:empty {
	display: none;
}

/* phones: side bar moves to the bottom */
@media (max-width: 700px) {
	body {
		grid-template-columns: 100%;
		grid-template-rows: minmax(0, 1fr) auto;
	}
	#s3b {
		grid-row: 2;
		flex-direction: row;
		justify-content: space-around;
		padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
		border-right: 0;
		border-top: 1px solid var(--bd);
	}
	#b0l,
	.s0p {
		display: none;
	}
	.s6n {
		width: auto;
		flex: 1;
	}
	.s6n.z9a::before {
		display: none;
	}
	#m0n {
		grid-row: 1;
	}
	.t2x {
		width: 130px;
	}
	#m0g {
		grid-template-columns: 100%;
	}
	#m2w {
		position: static;
	}
	#m8p {
		bottom: 84px;
	}
	#g6r {
		font-size: 20px;
		margin-bottom: -16px;
	}
}


/* performance mode */
html.lite *,
html.lite *::before,
html.lite *::after {
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	filter: none !important;
	animation: none !important;
}

html.lite #f0g,
html.lite #g2d,
html.lite .r4e,
html.lite #d1t,
html.lite #r4g {
	display: none !important;
}

html.lite body,
html.lite body * {
	cursor: auto !important;
}

html.lite #a1x,
html.lite #s3b,
html.lite #h9f,
html.lite .g4c,
html.lite #m2k,
html.lite #m3y,
html.lite .s1r,
html.lite #m8p {
	background-color: rgba(8, 9, 24, 0.94);
}

@media (prefers-reduced-motion: reduce) {
	#f0g i,
	#h2l,
	.v1w.z9a,
	#m8p,
	#m6l.p5y .m6r.z9a .m6q i {
		animation: none;
	}
}

/* music search */
#m1f {
	display: flex;
	align-items: center;
	gap: 10px;
	width: min(420px, 100%);
}

#m1f .p6i {
	flex: 1;
	width: auto;
}

#m0q {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

#m0q:empty {
	display: none;
}

#m0q button {
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid var(--bd);
	background: rgba(var(--a6), 0.12);
	font-size: 13px;
	transition: background 0.2s, border-color 0.2s;
}

#m0q button:hover {
	background: rgba(var(--a6), 0.28);
	border-color: rgba(var(--a7), 0.4);
}

#m3e {
	margin-top: 14px;
	color: var(--c5);
}

#m6m {
	display: none;
	margin: 14px auto 0;
}

#m6m.z9a {
	display: block;
}

/* go+ tracks in the list */
.m6g {
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #fff;
	background: linear-gradient(100deg, var(--c6), var(--c7));
}

.m6r.g0p .m6c,
.m6r.g0p .m6i {
	opacity: 0.55;
}

/* soundcloud itself, kept full size so it lays out and plays, but invisible */
#m0f {
	position: fixed;
	left: 0;
	top: 0;
	width: 1280px;
	height: 3000px;
	border: 0;
	opacity: 0;
	pointer-events: none;
	z-index: -1;
}

/* made visible only while signing in */
body.s5n #m0f {
	left: 5vw;
	top: 5vh;
	width: 90vw;
	height: 90vh;
	opacity: 1;
	pointer-events: auto;
	z-index: 40;
	border-radius: 16px;
	background: #121212;
	box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.7), 0 20px 60px rgba(0, 0, 0, 0.7);
}

#m5x {
	position: fixed;
	bottom: calc(5vh - 20px);
	left: 0;
	right: 0;
	width: max-content;
	margin: 0 auto;
	z-index: 41;
	display: none;
}

body.s5n #m5x {
	display: block;
}

/* go+ popup */
#m9g {
	position: fixed;
	inset: 0;
	z-index: 30;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

#m9g.z9a {
	display: flex;
	animation: u5p 0.3s ease;
}

#m9c {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: min(380px, 100%);
	padding: 26px 24px 22px;
	border-radius: 22px;
	border: 1px solid rgba(var(--a7), 0.3);
	background: linear-gradient(to bottom, rgba(14, 16, 36, 0.96), rgba(4, 5, 14, 0.96));
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(var(--a6), 0.35);
	text-align: center;
}

#m9c i {
	padding: 4px 12px;
	border-radius: 999px;
	font-style: normal;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.06em;
	color: #fff;
	background: linear-gradient(100deg, var(--c6), var(--c7));
	box-shadow: 0 0 16px rgba(var(--a6), 0.6);
}

#m9c b {
	font-family: var(--f1);
	font-size: 30px;
	line-height: 1.15;
}

#m9t {
	max-width: 100%;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#m9t:empty {
	display: none;
}

#m9c p {
	color: var(--c5);
	font-size: 14px;
}

#m9c .b2n {
	width: 100%;
}

#m9x {
	margin-top: 2px;
	border: 0;
	background: none;
	color: var(--c5);
	font-size: 13px;
}

#m9x:hover {
	color: var(--c4);
}

@media (prefers-reduced-motion: reduce) {
	#m9g.z9a {
		animation: none;
	}
}

/* ads */
#m2k.a0d #m4t::before {
	content: "AD";
	display: inline-block;
	margin-right: 8px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	vertical-align: 3px;
	color: #000;
	background: #ffd25e;
}

#m2k.a0d #m2c {
	opacity: 0.5;
}

#m7s:disabled {
	opacity: 0.4;
}

/* lyrics */
#m3y {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-radius: 26px;
	border: 1px solid var(--bd);
	background: rgba(6, 7, 20, 0.7);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	cursor: pointer;
}

#m3y b {
	font-family: var(--f1);
	font-size: 22px;
}

#m6y {
	position: relative;
	display: none;
	height: calc(100vh - 200px);
	min-height: 260px;
	overflow-y: auto;
	padding: 30vh 8px;
	border-radius: 26px;
	-webkit-mask: linear-gradient(transparent, #000 18%, #000 82%, transparent);
	mask: linear-gradient(transparent, #000 18%, #000 82%, transparent);
	scrollbar-width: none;
}

#m6y::-webkit-scrollbar {
	display: none;
}

#m0g.l0y #m6y {
	display: block;
}

#m0g.l0y #m0q,
#m0g.l0y #m6l,
#m0g.l0y #m3e,
#m0g.l0y #m6m {
	display: none;
}

.y1l {
	padding: 10px 14px;
	border-radius: 16px;
	cursor: pointer;
	transition: background 0.2s, transform 0.3s;
	transform-origin: left center;
}

.y1l:hover {
	background: rgba(var(--a6), 0.12);
}

.y1w {
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 700;
	line-height: 1.3;
}

.y1w span {
	color: rgba(238, 240, 255, 0.28);
	transition: color 0.25s, text-shadow 0.25s;
}

.y1l.y1p .y1w span {
	color: rgba(238, 240, 255, 0.5);
}

.y1l.z9a {
	transform: scale(1.03);
}

.y1l.z9a .y1w span.z9a {
	color: #fff;
	text-shadow: 0 0 18px rgba(var(--a7), 0.8);
}

/* background vocals sit smaller under the line */
.y1b {
	margin-top: 4px;
	font-size: clamp(15px, 1.6vw, 20px);
	font-weight: 600;
	font-style: italic;
}

/* unsynced lyrics are just shown plainly */
#m6y.y0s {
	padding-top: 20px;
}

#m6y.y0s .y1l {
	cursor: default;
}

#m6y.y0s .y1w span {
	color: rgba(238, 240, 255, 0.8);
}

.y1m {
	text-align: center;
	color: var(--c5);
	font-size: 15px;
}

.y1c {
	margin-top: 28px;
	font-size: 12px;
}

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

/* movies */
#w5w,
#w5w iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

#w5l {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	background: #000;
	transition: opacity 0.4s;
}

#w5l.w5d {
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

/* real progress here, so the bar fills instead of sliding */
#w5l .l9b i {
	left: 0;
	width: 0;
	animation: none;
	transition: width 0.45s ease;
}

#w5t {
	font-size: 13px;
	font-weight: 600;
	color: var(--c5);
}

#w5l b {
	font-family: var(--f1);
	font-size: 30px;
	font-weight: 700;
}

/* discord nudge toasts */
#d5t {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 6px;
	pointer-events: none;
	max-width: calc(100% - 32px);
}

.d5n {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 10px 10px 16px;
	border-radius: 12px;
	background: rgba(20, 22, 44, 0.96);
	border: 1px solid var(--bd);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	color: var(--c4);
	font: 500 14px var(--f2);
	pointer-events: auto;
	transition: opacity 0.4s, transform 0.4s;
	animation: d5i 0.3s ease;
}

.d5n.d5h {
	opacity: 0;
	transform: translateY(6px);
}

.d5j {
	padding: 5px 12px;
	border: 0;
	border-radius: 8px;
	background: var(--c6);
	color: #fff;
	font: 600 13px var(--f2);
	cursor: pointer;
}

.d5j:hover {
	background: var(--c7);
}

.d5x {
	padding: 0 4px;
	border: 0;
	background: none;
	color: var(--c5);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.d5x:hover {
	color: var(--c4);
}

@keyframes d5i {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}
