/* Toggle color button style */
#toggle-btn-style {
	position: absolute;
	right: -120px;
	bottom: 30px;
	z-index: 200;
	padding: 0.3em 0.7em;
	border-radius: 8px;
	background: #232323;
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 0.95em;
	box-shadow: 1px 1px 8px rgba(33,150,243,0.10);
	transition: background 0.2s, color 0.2s;
}
#toggle-btn-style:hover {
	background: #444;
	color: #00bfff;
}
/* Mixer Tab/Lip (Index-tab/lipje) */
.mixer-tab-lip {
			position: absolute;
			top: 120px;
			left: -32px;
			transform: scaleX(-1);
	width: 32px;
	height: 64px;
		background: #232323;
	border-radius: 0 16px 16px 0;
	box-shadow: 2px 2px 8px rgba(33,150,243,0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
		z-index: 9999;
	transition: background 0.2s;
	font-size: 2em;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
}
.mixer-tab-lip:hover {
		background: #444;
}

/* Mix Select Menu */
.mix-select-menu {
	color: #111;
	text-decoration: none;
	position: absolute;
	top: 60px;
	left: -140px;
	width: 140px;
	background: #fff;
	border-radius: 16px 0 0 16px;
	box-shadow: -2px 2px 16px rgba(33,150,243,0.18);
	border-right: none;
	border-left: 1px solid #e3f2fd;
	padding: 0;
	display: none;
	flex-direction: column;
	z-index: 120;
	animation: fadeIn 0.2s;
}
@keyframes fadeIn {
	from { opacity: 0; right: -250px; }
	to { opacity: 1; right: -220px; }
}
.mix-select-menu.open {
	display: flex;
	left: -140px;
}

/* Hide the tab lip when menu is open */
body.hide-tab-lip .mixer-container .mixer-tab-lip {
	display: none !important;
}
.mix-select-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 10px 4px 10px;
	font-size: 0.95em;
	border-bottom: 1px solid #e3f2fd;
	font-weight: bold;
	color: #1976d2;
}
.mix-select-close {
	background: none;
	border: none;
	font-size: 1em;
	color: #1976d2;
	cursor: pointer;
}
.mix-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mix-list li {
	padding: 6px 10px;
	font-size: 0.95em;
	cursor: pointer;
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid #e3f2fd;
}
.mix-list li:last-child {
	border-bottom: none;
	transition: background 0.15s, color 0.15s;
}
.mix-list li:hover {
	background: #e3f2fd;
	color: #111;
	text-decoration: none;
}
/* Master button container styling */
.master-btns {
	margin-top: 0.5rem;
	display: flex;
	gap: 0.5rem;
}
/* Icon button styles */
.icon-btn {
	width: 28px;
	height: 28px;
	object-fit: contain;
	display: inline-block;
}
.icon-btn-lg {
	width: 32px;
	height: 32px;
	object-fit: contain;
	display: inline-block;
}
body {
	background-color: #161a20;
	color: white;
	display: grid;
	place-items: center;
	min-height: 100vh;
	position: relative;
}

main {
	width: 50vw;
}

.volume-button-knob {
	position: relative;
	width: 90px;
	height: 90px;
	margin: 0.5rem auto 0.2rem auto;
	display: flex;
	align-items: center;
	justify-content: center;
}
.volume-button-knob svg {
	display: block;
	width: 100%;
	height: 100%;
}
.circle {
	fill: #202528;
	stroke: #080516;
	stroke-width: 10px;
}
.slider-wrap {
	filter: url(#inset-shadow);
}
.slider {
	--deg: 0deg;
	--h: 270;
	--s: 60%;
	transform-origin: 50% 50%;
	transform: rotate(var(--deg));
	fill: rgba(255, 255, 255, 0.5);
	cursor: grab;
	transition: all 0.1s ease-in-out;
	fill: hsl(var(--h), var(--s), 55%);
}
.volume-button-knob.without-animate .slider {
	transition: unset;
	cursor: grabbing;
}
.gradate line {
	--deg: 0deg;
	--h: 135;
	--s: 10%;
	--a: 0.2;
	stroke-linecap: round;
	stroke-width: 10px;
	stroke: hsla(var(--h), var(--s), 55%, var(--a));
	transform: rotate(var(--deg));
	transform-origin: 50% 50%;
}
.gradate line:hover,
.gradate line.active {
	--a: 1;
	--s: 60%;
	filter: url(#shadow);
}
.master-controls {
	margin-top: 0.5rem;
	display: flex;
	gap: 0.5rem;
	justify-content: center;
}
.knob {
	display: block;
	margin: 0.5rem auto 0.2rem auto;
	background: #181818;
	border-radius: 50%;
	box-shadow: 0 1px 4px #000a;
	cursor: pointer;
	outline: none;
	border: 2px solid #333;
	transition: border 0.2s;
}
.knob:focus {
	border: 2px solid #888;
}
body {
	font-family: Arial, sans-serif;
	background: #181818;
	color: #f0f0f0;
	margin: 0;
	padding: 0;
}

.mixer-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin: 2rem auto 0 auto;
	background: #232323;
	border-radius: 18px;
	border: 2px solid #444;
	box-shadow: 0 4px 24px #000a;
	padding: 1.2rem 1.2rem 0.7rem 1.2rem;
	max-width: 800px;
}

.channel, .master {
	background: #292929;
	border-radius: 10px;
	padding: 0.7rem 1rem 0.7rem 1rem;
	box-shadow: 0 1px 4px #0006;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 120px;
	margin: 0.2rem;
}

.channel h2, .master h2 {
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.volume-slider {
	width: 120px;
	margin: 1rem 0 0.5rem 0;
}

button {
	background: none;
	color: #1e90ff;
	border: none;
	border-radius: 6px;
	padding: 0.3rem 0.7rem;
	margin: 0.12rem;
	font-size: 1.2rem;
	cursor: pointer;
	transition: transform 0.15s cubic-bezier(.4,2,.6,1), color 0.2s;
	box-shadow: none;
	}
	button:hover, button:focus {
		background: none;
		color: #00bfff;
		transform: scale(1.22);
		outline: none;
	}

.global-controls {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 0.7rem;
	margin-bottom: 0.7rem;
}
