/* BJC Music Player complete frontend stylesheet — Version 1.0.0 */

/* ===== bjc-music-player.css ===== */
/**
 * BJC Music Player
 * Core Dashboard Console
 *
 * Version: 0.7.9
 */


/* =========================================================
   OUTER DASHBOARD CHASSIS
   ========================================================= */

.bjcmp-player {
	box-sizing: border-box;
	width: 100%;
	max-width: none;

	margin: 18px 0;

	padding: 30px 28px 34px;

	background:
		linear-gradient(
			180deg,
			#3d4249 0%,
			#30343b 5%,
			#25292f 13%,
			#191c21 48%,
			#111318 88%,
			#0c0e12 100%
		);

	color: #f4f5f7;

	border: 1px solid #484d55;
	border-radius: 20px;

	font-family: Arial, Helvetica, sans-serif;

	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.11),
		inset 0 -3px 7px rgba(0, 0, 0, 0.72),
		inset 3px 0 5px rgba(255, 255, 255, 0.025),
		inset -3px 0 5px rgba(0, 0, 0, 0.30),
		0 12px 30px rgba(0, 0, 0, 0.24);

	position: relative;
	overflow: hidden;

	/*
	 * Phase 15 boxed-container hardening:
	 * responsive layout can now react to the player's actual available
	 * width rather than only the browser viewport width.
	 */
	container-type: inline-size;
	container-name: bjcmp-player;
}

.bjcmp-player *,
.bjcmp-player *::before,
.bjcmp-player *::after {
	box-sizing: border-box;
}


/* =========================================================
   TOP FACEPLATE CONTOUR
   ========================================================= */

.bjcmp-player::before {
	content: "";

	position: absolute;

	top: 7px;
	left: 2%;
	right: 2%;

	height: 14px;

	border-radius: 50%;

	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.13),
			rgba(255, 255, 255, 0.025) 45%,
			transparent 100%
		);

	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.035);

	pointer-events: none;
}


/* =========================================================
   LOWER FACEPLATE / DASH EDGE
   ========================================================= */

.bjcmp-player::after {
	content: "";

	position: absolute;

	left: 1.5%;
	right: 1.5%;
	bottom: 7px;

	height: 16px;

	border-radius: 0 0 18px 18px;

	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.02),
			rgba(0, 0, 0, 0.16) 45%,
			rgba(0, 0, 0, 0.48)
		);

	box-shadow:
		inset 0 -1px 0 rgba(0, 0, 0, 0.50);

	pointer-events: none;
}


/* =========================================================
   MAIN DESKTOP LAYOUT
   ========================================================= */

.bjcmp-player__layout {
	width: 100%;
	min-width: 0;

	display: grid;

	grid-template-columns:
		minmax(190px, 230px)
		minmax(520px, 760px)
		minmax(220px, 300px);

	justify-content: center;
	align-items: stretch;

	gap: 22px;

	position: relative;
	z-index: 1;
}


/* =========================================================
   RECESSED CONSOLE PANELS
   ========================================================= */

.bjcmp-player__panel {
	min-width: 0;

	padding: 16px;

	background:
		linear-gradient(
			180deg,
			#282c33 0%,
			#20242a 18%,
			#1a1d22 100%
		);

	border: 1px solid #3f454e;
	border-radius: 12px;

	box-shadow:
		inset 0 2px 3px rgba(0, 0, 0, 0.48),
		inset 0 -1px 0 rgba(255, 255, 255, 0.045),
		0 1px 0 rgba(255, 255, 255, 0.035);
}


/* =========================================================
   LEFT NAVIGATION
   ========================================================= */

.bjcmp-player__navigation {
	display: flex;
	flex-direction: column;

	gap: 6px;
}

.bjcmp-player__nav-title {
	margin: 0 0 8px;

	font-size: 12px;
	font-weight: 700;

	letter-spacing: 0.11em;
	text-transform: uppercase;

	color: #aeb4be;
}

.bjcmp-player__nav-button {
	width: 100%;

	padding: 9px 11px;

	border: 1px solid transparent;
	border-radius: 7px;

	background: transparent;

	color: #dfe2e7;

	text-align: left;

	font: inherit;
	font-size: 14px;

	cursor: pointer;
}

.bjcmp-player__nav-button:hover,
.bjcmp-player__nav-button:focus-visible {
	background: #30353d;

	border-color: #454b55;

	outline: none;
}

.bjcmp-player__nav-button.is-active {
	background:
		linear-gradient(
			180deg,
			#484f59,
			#343941
		);

	border-color: #5a626d;

	color: #ffffff;

	font-weight: 700;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.10),
		0 1px 2px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   CENTRAL VIEW CONTAINER
   ========================================================= */

.bjcmp-player__main {
	min-width: 0;
	width: 100%;
}

.bjcmp-player__view {
	min-width: 0;
	width: 100%;
}

.bjcmp-player__view[hidden] {
	display: none !important;
}


/* =========================================================
   CENTRAL NOW PLAYING PANEL
   ========================================================= */

.bjcmp-player__now-playing {
	display: grid;

	grid-template-columns:
		150px
		minmax(0, 1fr);

	grid-template-areas:
		"art metadata"
		"progress progress"
		"controls controls"
		"volume volume"
		"secondary secondary"
		"status status";

	column-gap: 20px;
	row-gap: 12px;

	align-items: center;
}


/* =========================================================
   ARTWORK
   ========================================================= */

.bjcmp-player__artwork {
	grid-area: art;

	width: 150px;
	height: 150px;

	display: flex;
	align-items: center;
	justify-content: center;

	background:
		linear-gradient(
			145deg,
			#363b43,
			#181b20
		);

	border: 1px solid #484e58;
	border-radius: 10px;

	overflow: hidden;

	box-shadow:
		inset 0 0 18px rgba(0, 0, 0, 0.50),
		0 2px 5px rgba(0, 0, 0, 0.40);
}

.bjcmp-player__artwork img {
	width: 100%;
	height: 100%;

	display: block;

	object-fit: cover;
}

.bjcmp-player__artwork-placeholder {
	font-size: 14px;

	color: #8f969f;
}


/* =========================================================
   TRACK INFORMATION
   ========================================================= */

.bjcmp-player__metadata {
	grid-area: metadata;

	margin: 0;

	text-align: left;
}

.bjcmp-player__meta-row {
	margin: 5px 0;

	line-height: 1.3;
}

.bjcmp-player__meta-label {
	display: block;

	margin-bottom: 2px;

	font-size: 10px;
	font-weight: 700;

	letter-spacing: 0.10em;
	text-transform: uppercase;

	color: #8f97a2;
}

.bjcmp-player__meta-value {
	font-size: 15px;

	color: #ffffff;
}

.bjcmp-player__track-title {
	font-size: 22px;
	font-weight: 700;
}

/* =========================================================
   1.0.0 NOW PLAYING ARTWORK
   ========================================================= */

.bjcmp-player__artwork-image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: cover;
	border-radius: inherit;
}


/* =========================================================
   1.0.0 PHASE 14 — LONG METADATA HARDENING
   Prevent unusually long track/artist/album text from forcing
   the Now Playing grid wider or distorting the player.
   ========================================================= */

.bjcmp-player__metadata {
	min-width: 0;
}

.bjcmp-player__meta-row,
.bjcmp-player__meta-value,
.bjcmp-player__track-title {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: normal;
}


/* ===== bjc-music-player-controls.css ===== */
/**
 * BJC Music Player
 * Player Controls
 *
 * Version: 0.7.12
 */


/* =========================================================
   PROGRESS
   ========================================================= */

.bjcmp-player__progress-wrap {
	grid-area: progress;

	margin: 2px 0 0;
}

.bjcmp-player__seek {
	width: 100%;

	margin: 0;

	cursor: pointer;
}

.bjcmp-player__time {
	display: flex;

	justify-content: space-between;

	gap: 12px;

	margin-top: 2px;

	font-size: 11px;

	color: #aab0ba;
}


/* =========================================================
   TRANSPORT CONTROLS
   ========================================================= */

.bjcmp-player__controls {
	grid-area: controls;

	display: flex;

	justify-content: center;
	align-items: center;

	flex-wrap: wrap;

	gap: 10px;

	margin: 0;
}

.bjcmp-player__control {
	min-width: 76px;
	min-height: 38px;

	padding: 7px 14px;

	border: 1px solid #505660;
	border-radius: 8px;

	background:
		linear-gradient(
			180deg,
			#454b55,
			#2c3139
		);

	color: #ffffff;

	font: inherit;
	font-size: 13px;
	font-weight: 600;

	cursor: pointer;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.10),
		0 2px 3px rgba(0, 0, 0, 0.30);
}

.bjcmp-player__control:hover,
.bjcmp-player__control:focus-visible {
	background:
		linear-gradient(
			180deg,
			#555c67,
			#373d46
		);

	outline: none;
}

.bjcmp-player__control--primary {
	min-width: 100px;
	min-height: 44px;

	background:
		linear-gradient(
			180deg,
			#ffffff,
			#d4d6da
		);

	border-color: #ffffff;

	color: #181b20;

	font-size: 15px;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.90),
		0 2px 4px rgba(0, 0, 0, 0.38);
}

.bjcmp-player__control--primary:hover,
.bjcmp-player__control--primary:focus-visible {
	background: #ffffff;
}


/* =========================================================
   VOLUME
   ========================================================= */

.bjcmp-player__volume {
	grid-area: volume;

	display: flex;

	align-items: center;
	justify-content: center;

	gap: 10px;

	margin: 0 auto;

	width: min(100%, 430px);
}

.bjcmp-player__volume-button {
	min-width: 72px;

	padding: 6px 10px;

	border: 1px solid #484e58;
	border-radius: 7px;

	background:
		linear-gradient(
			180deg,
			#30353d,
			#252a30
		);

	color: #dfe3e8;

	font: inherit;
	font-size: 12px;

	cursor: pointer;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bjcmp-player__volume-button:hover,
.bjcmp-player__volume-button:focus-visible {
	background: #383e47;

	outline: none;
}

.bjcmp-player__volume-slider {
	flex: 1 1 auto;

	min-width: 100px;

	cursor: pointer;
}

.bjcmp-player__volume-value {
	min-width: 38px;

	font-size: 11px;

	color: #abb2bc;

	text-align: right;
}


/* =========================================================
   SECONDARY CONTROLS
   ========================================================= */

.bjcmp-player__secondary-controls {
	grid-area: secondary;

	display: flex;

	justify-content: center;

	flex-wrap: wrap;

	gap: 7px;

	margin: 0;
}

.bjcmp-player__secondary-button {
	padding: 6px 9px;

	border: 1px solid #434953;
	border-radius: 7px;

	background:
		linear-gradient(
			180deg,
			#2d3239,
			#22262c
		);

	color: #d6dae0;

	font: inherit;
	font-size: 11px;

	cursor: pointer;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bjcmp-player__secondary-button:hover,
.bjcmp-player__secondary-button:focus-visible {
	background: #373d46;

	outline: none;
}

.bjcmp-player__secondary-button.is-active {
	border-color: #f0f2f5;

	background:
		linear-gradient(
			180deg,
			#f7f8fa,
			#cfd3d8
		);

	color: #171a1f;

	font-weight: 700;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 0 8px rgba(255, 255, 255, 0.22),
		0 2px 4px rgba(0, 0, 0, 0.38);
}

.bjcmp-player__secondary-button.is-active:hover,
.bjcmp-player__secondary-button.is-active:focus-visible {
	background:
		linear-gradient(
			180deg,
			#ffffff,
			#d9dde2
		);

	outline: none;
}


/* =========================================================
   STATUS
   ========================================================= */

.bjcmp-player__status {
	grid-area: status;

	margin: 0;

	font-size: 11px;

	color: #aab1bb;

	text-align: center;
}


/* =========================================================
   RIGHT QUEUE PANEL
   ========================================================= */


.bjcmp-player__queue {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	align-self: start;
	overflow: hidden;
}

.bjcmp-player__queue [data-bjcmp-up-next-list] {
	min-width: 0;
	max-width: 100%;
	max-height: 367px;
	overflow-x: hidden;
	overflow-y: auto;
	padding-right: 4px;
}

.bjcmp-player__queue-title {
	margin: 0 0 12px;

	font-size: 12px;
	font-weight: 700;

	text-transform: uppercase;
	letter-spacing: 0.09em;

	color: #b7bdc6;
}

.bjcmp-player__queue-empty {
	margin: 0;

	font-size: 13px;
	line-height: 1.45;

	color: #9198a2;
}


/* =========================================================
   UP NEXT TRACK PRESENTATION
   ========================================================= */

.bjcmp-player__queue-item {
	margin: 0 0 9px;
	padding: 6px 7px 9px;

	border: 1px solid transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 6px;

	cursor: pointer;

	transition:
		background 0.15s ease,
		border-color 0.15s ease,
		transform 0.15s ease;
}

.bjcmp-player__queue-item:hover,
.bjcmp-player__queue-item:focus-visible {
	background: rgba(255, 255, 255, 0.06);

	border-color: rgba(255, 255, 255, 0.12);

	outline: none;

	transform: translateY(-1px);
}

.bjcmp-player__queue-item:last-child {
	margin-bottom: 0;
	padding-bottom: 6px;

	border-bottom: 1px solid transparent;
}

.bjcmp-player__queue-item-title {
	min-width: 0;
	overflow-wrap: anywhere;
	color: #eef1f4;

	font-weight: 700;
	line-height: 1.3;
}

.bjcmp-player__queue-item-detail {
	min-width: 0;
	overflow-wrap: anywhere;
	margin-top: 2px;

	color: #9198a2;

	font-weight: 400;
	line-height: 1.3;
}


/* Desktop Up Next text is deliberately more compact. */

@media (min-width: 681px) {

	.bjcmp-player__queue-item-title {
		font-size: 11px;
	}

	.bjcmp-player__queue-item-detail {
		font-size: 10px;
	}
}

/* =========================================================
   1.0.0 PERSISTENT UP NEXT QUEUE
   ========================================================= */

.bjcmp-player__queue-header {
	display: block;
	margin: -2px 0 8px;
}

.bjcmp-player__queue-title {
	margin: 0 0 6px !important;
	padding: 5px 7px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.055);
	color: #f0f3f6;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
	cursor: help;
}

.bjcmp-player__queue-control-row {
	display: grid;
	gap: 5px;
	margin: 0 0 5px;
}

.bjcmp-player__queue-control-row--primary {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bjcmp-player__queue-control-row--secondary {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 7px;
}

.bjcmp-player__queue [data-bjcmp-up-next-list] {
	max-height: 300px;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
}

.bjcmp-player__queue-item.is-current {
	border-color: rgba(255, 255, 255, 0.34);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.78);
}

.bjcmp-player__queue-item.is-current .bjcmp-player__queue-item-title::after {
	content: '  • PLAYING';
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.06em;
}


/* =========================================================
   1.0.0 QUEUE SIZE / CONTROL LAYOUT / PLAYING INDICATOR
   ========================================================= */

.bjcmp-player__queue {
	align-self: start !important;
	height: auto !important;
	max-height: none !important;
}

.bjcmp-player__queue [data-bjcmp-up-next-list] {
	display: block !important;
	height: 260px !important;
	min-height: 0 !important;
	max-height: 260px !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.bjcmp-player__queue-back-row {
	display: flex;
	justify-content: flex-start;
	margin: 0 0 4px;
}

.bjcmp-player__queue-control-row--primary {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.bjcmp-player__queue-control-row--secondary {
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 5px;
}

.bjcmp-player__queue-control-row--secondary > button {
	flex: 0 1 46%;
}

.bjcmp-player__queue-item.is-current {
	border-color: rgba(88, 184, 232, 0.58) !important;
	background: rgba(88, 184, 232, 0.10) !important;
	box-shadow: inset 3px 0 0 #58b8e8 !important;
}

.bjcmp-player__queue-item.is-current .bjcmp-player__queue-item-title::after {
	color: #58b8e8;
}


/* =========================================================
   1.0.0 UP NEXT CONTROL ALIGNMENT
   ========================================================= */

.bjcmp-player__queue-control-row {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin: 0 0 5px;
}

.bjcmp-player__queue-control-row--primary > button,
.bjcmp-player__queue-control-row--secondary > button {
	flex: 0 1 46%;
	width: auto !important;
	max-width: 120px;
}

.bjcmp-player__queue-back-row {
	display: flex !important;
	justify-content: center !important;
	align-items: center;
	width: 100%;
	margin: 1px 0 7px;
}

.bjcmp-player__queue-back-row > button {
	flex: 0 0 auto;
	width: auto !important;
	min-width: 58px;
}


/* =========================================================
   EQUALIZER — Version 1.0.0
   ========================================================= */

.bjcmp-player__eq-panel {
	width: min(100%, 620px);
	margin: 8px auto 0;
	padding: 10px 12px;
	box-sizing: border-box;
	border: 1px solid #434953;
	border-radius: 8px;
	background: rgba(10, 12, 15, 0.52);
}

.bjcmp-player__eq-panel[hidden] {
	display: none !important;
}

.bjcmp-player__eq-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 9px;
	font-size: 12px;
	color: #d9dde3;
}

.bjcmp-player__eq-flat {
	padding: 5px 9px;
	border: 1px solid #4b525c;
	border-radius: 6px;
	background: #282d34;
	color: #e1e4e8;
	font: inherit;
	font-size: 11px;
	cursor: pointer;
}

.bjcmp-player__eq-flat:hover,
.bjcmp-player__eq-flat:focus-visible {
	background: #363c45;
	outline: none;
}

.bjcmp-player__eq-bands {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 9px;
	align-items: end;
}

.bjcmp-player__eq-band {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 5px;
	min-width: 0;
	font-size: 10px;
	color: #aeb5bf;
	text-align: center;
}

.bjcmp-player__eq-band input {
	width: 100%;
	margin: 0;
	cursor: pointer;
}

.bjcmp-player__eq-band output {
	font-size: 10px;
	color: #d6dbe1;
}

@media (max-width: 680px) {
	.bjcmp-player__eq-panel {
		width: 100%;
	}

	.bjcmp-player__eq-bands {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.bjcmp-player__eq-band {
		display: grid;
		grid-template-columns: 60px 1fr 46px;
		align-items: center;
		gap: 8px;
		text-align: left;
	}
}

/* Equalizer factory presets — Version 1.0.0 */
.bjcmp-player__eq-preset-label{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:11px;font-weight:400;color:#b9c0c9}
.bjcmp-player__eq-preset-label select{min-height:29px;padding:4px 24px 4px 7px;border:1px solid #4b525c;border-radius:6px;background:#20252b;color:#e1e4e8;font:inherit;font-size:11px}
@media(max-width:680px){.bjcmp-player__eq-header{flex-wrap:wrap}.bjcmp-player__eq-preset-label{margin-left:0}}


/* Equalizer user presets — Version 1.0.0 */
.bjcmp-player__eq-user-preset {
	display: flex;
	align-items: center;
	gap: 5px;
}

.bjcmp-player__eq-user-preset input {
	width: 108px;
	min-height: 29px;
	padding: 4px 7px;
	box-sizing: border-box;
	border: 1px solid #4b525c;
	border-radius: 6px;
	background: #171b20;
	color: #e1e4e8;
	font: inherit;
	font-size: 11px;
}

@media (max-width: 680px) {
	.bjcmp-player__eq-user-preset {
		width: 100%;
	}

	.bjcmp-player__eq-user-preset input {
		flex: 1 1 auto;
		width: auto;
	}
}


/* =========================================================
   EQUALIZER LAYOUT REFINEMENT — Version 1.0.0
   Give the EQ the full useful width below Now Playing and
   split its controls cleanly across two levels.
   ========================================================= */

@media (min-width: 681px) {
	.bjcmp-player__eq-panel {
		width: 100%;
		max-width: none;
		min-height: 150px;
		margin-top: 10px;
		padding: 12px 14px;
	}

	.bjcmp-player__eq-header {
		display: grid;
		grid-template-columns: auto minmax(150px, 1fr) auto;
		grid-template-areas:
			"title preset reset"
			"title user reset";
		column-gap: 12px;
		row-gap: 7px;
		align-items: center;
		margin-bottom: 12px;
	}

	.bjcmp-player__eq-header > strong {
		grid-area: title;
		align-self: start;
		padding-top: 6px;
	}

	.bjcmp-player__eq-preset-label {
		grid-area: preset;
		justify-self: start;
		margin-left: 0;
	}

	.bjcmp-player__eq-user-preset {
		grid-area: user;
		justify-self: start;
	}

	.bjcmp-player__eq-user-preset input {
		width: 150px;
	}

	.bjcmp-player__eq-header > [data-action="eq-flat"] {
		grid-area: reset;
		align-self: center;
		white-space: nowrap;
	}

	.bjcmp-player__eq-bands {
		gap: 14px;
	}
}


/* =========================================================
   HARDWARE EQ REPLACEMENT AREA — Version 1.0.0
   The EQ replaces ONLY the 150px artwork/metadata row.
   Progress, transport, volume, secondary controls and status
   remain in their normal positions at all times.
   ========================================================= */

@media (min-width: 681px) {
	.bjcmp-player--eq-open .bjcmp-player__now-playing {
		grid-template-columns: 150px minmax(0, 1fr);
		grid-template-areas:
			"eq eq"
			"progress progress"
			"controls controls"
			"volume volume"
			"secondary secondary"
			"status status";
	}

	.bjcmp-player--eq-open .bjcmp-player__artwork,
	.bjcmp-player--eq-open .bjcmp-player__metadata {
		display: none !important;
	}

	/* Explicitly preserve all normal playback controls. */
	.bjcmp-player--eq-open .bjcmp-player__progress-wrap {
		display: block !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__controls,
	.bjcmp-player--eq-open .bjcmp-player__volume,
	.bjcmp-player--eq-open .bjcmp-player__secondary-controls {
		display: flex !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__status {
		display: block !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		grid-area: eq;
		display: grid !important;
		grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.4fr);
		grid-template-rows: 1fr;
		gap: 18px;
		width: 100% !important;
		max-width: none !important;
		height: 150px !important;
		min-height: 150px !important;
		max-height: 150px !important;
		margin: 0 !important;
		padding: 10px 14px !important;
		box-sizing: border-box;
		overflow: hidden !important;
		border: 1px solid #434953 !important;
		border-radius: 10px;
		background:
			linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,0) 28%),
			linear-gradient(180deg, #20252b 0%, #15191e 100%);
		box-shadow:
			inset 0 1px 0 rgba(255,255,255,.07),
			inset 0 -1px 0 rgba(0,0,0,.55);
	}

	/*
	 * Left side: compact preset controls on two rows.
	 * No overlap between Delete and Flat / Reset.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-header {
		display: grid;
		grid-template-columns: 1fr auto auto;
		grid-template-areas:
			"title preset reset"
			"user user user";
		align-content: center;
		align-items: center;
		column-gap: 8px;
		row-gap: 10px;
		min-width: 0;
		margin: 0 !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-header > strong {
		grid-area: title;
		padding: 0;
		font-size: 15px;
		letter-spacing: .03em;
		white-space: nowrap;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label {
		grid-area: preset;
		margin: 0 !important;
		white-space: nowrap;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label span {
		display: none;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label select {
		width: 130px;
		min-height: 28px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-header > [data-action="eq-flat"] {
		grid-area: reset;
		white-space: nowrap;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-user-preset {
		grid-area: user;
		display: grid;
		grid-template-columns: minmax(180px, 1fr) auto auto;
		gap: 7px;
		width: 100%;
		min-width: 0;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-user-preset input {
		width: 100% !important;
		min-width: 0 !important;
	}

	/*
	 * Right side: five genuine vertical graphic-EQ faders.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		display: grid;
		grid-template-columns: repeat(5, minmax(52px, 1fr));
		gap: 8px;
		align-items: stretch;
		height: 128px;
		min-height: 0;
		padding: 0;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band {
		display: grid;
		grid-template-rows: 18px 88px 18px;
		justify-items: center;
		align-items: center;
		gap: 2px;
		min-width: 0;
		height: 128px;
		font-size: 10px;
		text-align: center;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band input[type="range"] {
		width: 82px !important;
		height: 22px !important;
		margin: 0 !important;
		transform: rotate(-90deg);
		transform-origin: center center;
		cursor: pointer;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band span {
		font-weight: 600;
		color: #d8dde4;
		white-space: nowrap;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band output {
		font-size: 9px;
		line-height: 1;
		white-space: nowrap;
		color: #d6dbe1;
	}

	/* Override theme focus/border colours inside EQ. */
	.bjcmp-player--eq-open .bjcmp-player__eq-panel button,
	.bjcmp-player--eq-open .bjcmp-player__eq-panel input,
	.bjcmp-player--eq-open .bjcmp-player__eq-panel select {
		border-color: #4b525c !important;
		outline: none !important;
		box-shadow: none !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-panel button:focus,
	.bjcmp-player--eq-open .bjcmp-player__eq-panel button:focus-visible,
	.bjcmp-player--eq-open .bjcmp-player__eq-panel input:focus,
	.bjcmp-player--eq-open .bjcmp-player__eq-panel select:focus {
		border-color: #6a737e !important;
		outline: none !important;
		box-shadow: none !important;
	}
}

/* Narrow desktop/tablet: still replace only the 150px first row. */
@media (min-width: 681px) and (max-width: 900px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		grid-template-columns: minmax(210px, .85fr) minmax(330px, 1.15fr);
		gap: 10px;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-header {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"title preset"
			"user user"
			"reset reset";
		row-gap: 4px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-header > [data-action="eq-flat"] {
		justify-self: start;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-user-preset {
		grid-template-columns: minmax(120px, 1fr) auto auto;
	}
}


/* =========================================================
   EQ LAYOUT REFINEMENT — Version 1.0.0
   ========================================================= */

@media (min-width: 681px) {
	/*
	 * Keep the replacement row exactly the same height as the original
	 * 150px artwork row so opening EQ does not shrink the console.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		height: 150px !important;
		min-height: 150px !important;
		max-height: 150px !important;
		padding: 9px 14px !important;
		grid-template-columns: 250px minmax(0, 1fr);
		gap: 30px;
		align-items: stretch;
	}

	/*
	 * Left controls now read vertically:
	 * Equalizer
	 * Preset + Flat/Reset
	 * Name + Save + Delete
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-header {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto auto;
		grid-template-areas:
			"title title title"
			"preset reset reset"
			"user user user";
		align-content: center;
		align-items: center;
		column-gap: 8px;
		row-gap: 7px;
		margin: 0 !important;
		padding-right: 4px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-header > strong {
		grid-area: title;
		font-size: 16px;
		line-height: 1;
		padding: 0 0 2px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label {
		grid-area: preset;
		display: flex;
		align-items: center;
		gap: 6px;
		margin: 0 !important;
		justify-self: stretch;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label span {
		display: inline;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label select {
		width: 132px;
		min-height: 28px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-header > [data-action="eq-flat"] {
		grid-area: reset;
		justify-self: start;
		white-space: nowrap;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-user-preset {
		grid-area: user;
		display: grid;
		grid-template-columns: minmax(135px, 1fr) auto auto;
		gap: 7px;
		width: 100%;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-user-preset input {
		min-width: 0 !important;
		width: 100% !important;
	}

	/*
	 * Pull the five faders together by about 40% and leave a larger visual
	 * break between controls and the first fader.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		width: 62%;
		max-width: 430px;
		justify-self: start;
		margin-left: 14px;
		grid-template-columns: repeat(5, minmax(48px, 1fr));
		gap: 4px;
		height: 128px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band {
		grid-template-rows: 18px 88px 18px;
		height: 128px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band input[type="range"] {
		width: 82px !important;
		height: 22px !important;
	}
}

@media (min-width: 681px) and (max-width: 900px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		grid-template-columns: 230px minmax(0, 1fr);
		gap: 20px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		width: 72%;
		margin-left: 8px;
	}
}


/* =========================================================
   EQ FINAL SPACING / CHASSIS HEIGHT — Version 1.0.0
   ========================================================= */

@media (min-width: 681px) {
	/*
	 * The original artwork is 150px high plus its 1px top/bottom borders,
	 * because it uses the default content-box sizing. Match that rendered
	 * height exactly so swapping artwork for EQ cannot collapse the row.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		height: 152px !important;
		min-height: 152px !important;
		max-height: 152px !important;

		grid-template-columns: 285px minmax(0, 1fr);
		gap: 34px;

		padding: 10px 14px !important;
	}

	/*
	 * Give the controls a little more breathing room on the left.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-header {
		padding-right: 0;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label select {
		width: 142px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-user-preset {
		grid-template-columns: minmax(155px, 1fr) auto auto;
		gap: 8px;
	}

	/*
	 * Keep the proven fader spacing, but move the whole bank hard to the
	 * right side of the EQ chassis.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		width: 430px;
		max-width: 100%;
		justify-self: end;
		margin-left: 0;
		margin-right: 4px;
		grid-template-columns: repeat(5, minmax(48px, 1fr));
		gap: 4px;
	}

	/*
	 * Give Save, Delete and Flat/Reset the same visual language as the
	 * established secondary player controls instead of plain boxes.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-flat {
		min-height: 29px;
		padding: 5px 10px;

		border: 1px solid #434953 !important;
		border-radius: 7px;

		background:
			linear-gradient(
				180deg,
				#2d3239,
				#22262c
			) !important;

		color: #d6dae0;

		font: inherit;
		font-size: 11px;
		font-weight: 600;

		cursor: pointer;

		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-flat:hover,
	.bjcmp-player--eq-open .bjcmp-player__eq-flat:focus-visible {
		background: #373d46 !important;
		border-color: #505660 !important;
		outline: none !important;

		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
	}

	/*
	 * Match the form controls more closely to the established player skin.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label select,
	.bjcmp-player--eq-open .bjcmp-player__eq-user-preset input {
		min-height: 29px;

		border: 1px solid #434953 !important;
		border-radius: 7px;

		background:
			linear-gradient(
				180deg,
				#262b32,
				#1c2026
			) !important;

		color: #e1e4e8;

		box-shadow:
			inset 0 1px 0 rgba(255,255,255,.035) !important;
	}
}

@media (min-width: 681px) and (max-width: 900px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		grid-template-columns: 255px minmax(0, 1fr);
		gap: 24px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		width: 360px;
		max-width: 100%;
		justify-self: end;
		margin-right: 0;
	}
}


/* =========================================================
   EQ HEIGHT LOCK + SELECT POLISH — Version 1.0.0
   ========================================================= */

@media (min-width: 681px) {
	/*
	 * JS now locks the exact live Now Playing height before EQ opens.
	 * Keep the EQ row filling that preserved chassis without changing
	 * the established transport/progress/button layout.
	 */
	.bjcmp-player--eq-open .bjcmp-player__now-playing {
		overflow: hidden;
	}

	/*
	 * Give the Equalizer heading roughly twice the previous visual gap
	 * before the preset row without disturbing the fader spacing.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-header > strong {
		padding-bottom: 7px !important;
	}

	/*
	 * Ensure the select itself and its opened options remain readable
	 * instead of inheriting a white theme background.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label select,
	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label select option {
		background: #20252b !important;
		color: #e1e4e8 !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label select option:checked {
		background: #373d46 !important;
		color: #ffffff !important;
	}
}


/* =========================================================
   EXACT ARTWORK-ROW EQ HEIGHT — Version 1.0.0
   ========================================================= */

@media (min-width: 681px) {
	/*
	 * Use the live measured artwork height for the replacement row itself,
	 * not just for the EQ box. This keeps the progress row at the exact
	 * same vertical position when artwork/text are exchanged for the EQ.
	 */
	.bjcmp-player--eq-open .bjcmp-player__now-playing {
		grid-template-rows:
			var(--bjcmp-eq-row-height, 152px)
			auto
			auto
			auto
			auto
			auto;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		height: var(--bjcmp-eq-row-height, 152px) !important;
		min-height: var(--bjcmp-eq-row-height, 152px) !important;
		max-height: var(--bjcmp-eq-row-height, 152px) !important;
		align-self: stretch;
	}

	/*
	 * Lift the title by roughly the same amount again while leaving
	 * the two control rows where they are.
	 */
	.bjcmp-player--eq-open .bjcmp-player__eq-header > strong {
		transform: translateY(-7px);
		padding-bottom: 7px !important;
	}
}


/* Equalizer processing power — Version 1.0.0 */
@media (min-width: 681px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-title-row {
		grid-area: title;
		display: flex;
		align-items: center;
		gap: 10px;
		transform: translateY(-7px);
		padding-bottom: 7px;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-title-row > strong {
		font-size: 16px;
		line-height: 1;
	}

	/* Supersede the old direct-child title transform. */
	.bjcmp-player--eq-open .bjcmp-player__eq-header > strong {
		transform: none;
		padding-bottom: 0 !important;
	}

	.bjcmp-player__eq-power {
		min-width: 42px;
		min-height: 25px;
		padding: 3px 8px;
		border: 1px solid #434953 !important;
		border-radius: 7px;
		background: linear-gradient(180deg,#2d3239,#22262c) !important;
		color: #d6dae0;
		font: inherit;
		font-size: 10px;
		font-weight: 700;
		cursor: pointer;
		box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
	}

	.bjcmp-player__eq-power.is-active {
		border-color: #f0f2f5 !important;
		background: linear-gradient(180deg,#f7f8fa,#cfd3d8) !important;
		color: #171a1f;
		box-shadow:
			inset 0 1px 0 rgba(255,255,255,.95),
			0 0 8px rgba(255,255,255,.18) !important;
	}
}


/* EQ power button refinement — Version 1.0.0 */
@media (min-width: 681px) {
	.bjcmp-player__eq-power {
		min-height: 29px;
		height: 29px;
		padding: 5px 10px;
	}
}


/* EQ power button visual alignment — Version 1.0.0 */
@media (min-width: 681px) {
	.bjcmp-player__eq-power {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
		border-radius: 7px !important;
		background: linear-gradient(180deg,#2d3239,#22262c) !important;
		border-color: #434953 !important;
		color: #d6dae0;
		box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
	}

	.bjcmp-player__eq-power.is-active {
		background: linear-gradient(180deg,#373d46,#292e35) !important;
		border-color: #515863 !important;
		color: #f1f3f5;
		box-shadow:
			inset 0 1px 0 rgba(255,255,255,.06),
			0 0 6px rgba(255,255,255,.08) !important;
	}
}


/* Phase 13 visualisation foundation — Version 1.0.0 */
.bjcmp-player__visual-panel[hidden] {
	display: none !important;
}

@media (min-width: 681px) {
	.bjcmp-player--visual-open .bjcmp-player__now-playing {
		grid-template-areas:
			"visual visual"
			"progress progress"
			"controls controls"
			"volume volume"
			"secondary secondary"
			"status status";
		grid-template-rows:
			var(--bjcmp-visual-row-height, 152px)
			auto auto auto auto auto;
		overflow: hidden;
	}

	.bjcmp-player--visual-open .bjcmp-player__artwork,
	.bjcmp-player--visual-open .bjcmp-player__metadata {
		display: none !important;
	}

	.bjcmp-player__visual-panel {
		grid-area: visual;
		position: relative;
		width: 100%;
		height: var(--bjcmp-visual-row-height, 152px);
		min-height: var(--bjcmp-visual-row-height, 152px);
		max-height: var(--bjcmp-visual-row-height, 152px);
		box-sizing: border-box;
		overflow: hidden;
		border: 1px solid rgba(255,255,255,.08);
		border-radius: 8px;
		background:
			linear-gradient(
				180deg,
				rgba(255,255,255,.025),
				rgba(0,0,0,.10)
			),
			rgba(12,15,18,.78);
	}

	.bjcmp-player__visual-toolbar {
		position: absolute;
		top: 8px;
		left: 10px;
		right: 10px;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}

	.bjcmp-player__visual-toolbar select,
	.bjcmp-player__visual-fullscreen {
		min-height: 29px;
		border: 1px solid #434953 !important;
		border-radius: 7px;
		background:
			linear-gradient(
				180deg,
				#2d3239,
				#22262c
			) !important;
		color: #d6dae0 !important;
		font: inherit;
		font-size: 11px;
		box-shadow:
			inset 0 1px 0
			rgba(255,255,255,.04) !important;
	}

	.bjcmp-player__visual-toolbar select {
		padding: 4px 28px 4px 9px;
	}

	.bjcmp-player__visual-toolbar select option {
		background: #20252b !important;
		color: #e1e4e8 !important;
	}

	.bjcmp-player__visual-fullscreen {
		padding: 5px 10px;
		cursor: pointer;
	}

	.bjcmp-player__visual-canvas {
		position: absolute;
		left: 8px;
		right: 8px;
		bottom: 7px;
		width: calc(100% - 16px);
		height: calc(100% - 45px);
		display: block;
	}

	.bjcmp-player__visual-panel:fullscreen {
		width: 100vw;
		height: 100vh;
		min-height: 0;
		max-height: none;
		border: 0;
		border-radius: 0;
		background: #0c0f12;
	}

	.bjcmp-player__visual-panel:fullscreen
	.bjcmp-player__visual-canvas {
		top: 52px;
		bottom: 18px;
		height: calc(100% - 70px);
	}
}

@media (max-width: 680px) {
	.bjcmp-player__visual-panel {
		display: none !important;
	}
}


/* Visualisation width + fullscreen toggle refinement — Version 1.0.0 */
@media (min-width: 681px) {
	.bjcmp-player--visual-open .bjcmp-player__visual-panel {
		grid-column: 1 / -1 !important;
		justify-self: stretch !important;
		align-self: stretch !important;
		width: 100% !important;
		max-width: none !important;
	}

	.bjcmp-player--visual-open .bjcmp-player__visual-canvas {
		left: 8px;
		right: 8px;
		width: calc(100% - 16px) !important;
		max-width: none !important;
	}
}


/* Visualisation full-width lower controls — Version 1.0.0 */
@media (min-width: 681px) {
	.bjcmp-player--visual-open .bjcmp-player__progress-wrap,
	.bjcmp-player--visual-open .bjcmp-player__controls,
	.bjcmp-player--visual-open .bjcmp-player__volume,
	.bjcmp-player--visual-open .bjcmp-player__secondary-controls,
	.bjcmp-player--visual-open .bjcmp-player__status {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: none !important;
		justify-self: stretch !important;
	}
}


/* Visualisation volume slider sizing — Version 1.0.0
   Preserve the player's normal flex behaviour while keeping the
   visual-mode volume control at the same established desktop length. */
@media (min-width: 681px) {
	.bjcmp-player--visual-open .bjcmp-player__volume {
		grid-column: 1 / -1 !important;
		justify-self: center !important;
		justify-content: center !important;
		width: min(100%, 430px) !important;
		max-width: 430px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.bjcmp-player--visual-open .bjcmp-player__volume-slider {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 100px !important;
		max-width: none !important;
	}
}





/* Visual controls — Version 1.0.0
   Correctly targets the actual preset select and fullscreen button. */
@media (min-width: 681px) {
	.bjcmp-player__visual-toolbar select,
	.bjcmp-player__visual-fullscreen {
		height: 27px !important;
		min-height: 27px !important;
		max-height: 27px !important;
		box-sizing: border-box !important;
		padding-top: 2px !important;
		padding-bottom: 2px !important;
		line-height: 21px !important;
	}

	.bjcmp-player__visual-canvas {
		height: calc(100% - 41px) !important;
	}

	.bjcmp-player__visual-panel:fullscreen
	.bjcmp-player__visual-canvas {
		top: 46px !important;
		bottom: 14px !important;
		height: calc(100% - 60px) !important;
	}
}


/* =========================================================
   MOBILE EQ / VISUAL REPLACEMENT AREA — Version 1.0.0
   On phones, EQ and Visual replace the artwork/metadata area
   inside Now Playing. Up Next remains independent below it.
   ========================================================= */
@media (max-width: 680px) {
	.bjcmp-player--eq-open .bjcmp-player__now-playing,
	.bjcmp-player--visual-open .bjcmp-player__now-playing {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-areas:
			"replacement"
			"progress"
			"controls"
			"volume"
			"secondary"
			"status" !important;
		grid-template-rows:
			auto auto auto auto auto auto !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__artwork,
	.bjcmp-player--eq-open .bjcmp-player__metadata,
	.bjcmp-player--visual-open .bjcmp-player__artwork,
	.bjcmp-player--visual-open .bjcmp-player__metadata {
		display: none !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		grid-area: replacement !important;
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 9px 10px !important;
		box-sizing: border-box !important;
		overflow: visible !important;
		border-color: #434953 !important;
		outline: none !important;
		box-shadow: none !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-header {
		display: grid !important;
		grid-template-columns: 1fr auto !important;
		grid-template-areas:
			"title reset"
			"preset preset"
			"user user" !important;
		gap: 6px !important;
		margin-bottom: 9px !important;
		align-items: center !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-header > strong {
		grid-area: title !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label {
		grid-area: preset !important;
		margin: 0 !important;
		width: 100% !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-preset-label select {
		flex: 1 1 auto !important;
		min-width: 0 !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-header > [data-action="eq-flat"] {
		grid-area: reset !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-user-preset {
		grid-area: user !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto auto !important;
		gap: 5px !important;
		width: 100% !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 5px !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band {
		display: grid !important;
		grid-template-columns: 52px minmax(0, 1fr) 44px !important;
		gap: 6px !important;
		align-items: center !important;
		text-align: left !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-panel button,
	.bjcmp-player--eq-open .bjcmp-player__eq-panel input,
	.bjcmp-player--eq-open .bjcmp-player__eq-panel select {
		border-color: #4b525c !important;
		outline: none !important;
		box-shadow: none !important;
	}

	/* Override the earlier intentional mobile hide. */
	.bjcmp-player--visual-open .bjcmp-player__visual-panel {
		grid-area: replacement !important;
		display: block !important;
		position: relative !important;
		width: 100% !important;
		max-width: none !important;
		height: 190px !important;
		min-height: 190px !important;
		max-height: 190px !important;
		margin: 0 !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
		border: 1px solid rgba(255,255,255,.08) !important;
		border-radius: 8px !important;
		background: rgba(12,15,18,.78) !important;
	}

	.bjcmp-player--visual-open .bjcmp-player__visual-toolbar {
		position: absolute !important;
		top: 7px !important;
		left: 8px !important;
		right: 8px !important;
		z-index: 2 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 7px !important;
	}

	.bjcmp-player--visual-open .bjcmp-player__visual-toolbar select,
	.bjcmp-player--visual-open .bjcmp-player__visual-fullscreen {
		height: 27px !important;
		min-height: 27px !important;
		max-height: 27px !important;
		box-sizing: border-box !important;
	}

	.bjcmp-player--visual-open .bjcmp-player__visual-canvas {
		position: absolute !important;
		left: 7px !important;
		right: 7px !important;
		bottom: 7px !important;
		width: calc(100% - 14px) !important;
		height: calc(100% - 42px) !important;
		display: block !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__progress-wrap,
	.bjcmp-player--visual-open .bjcmp-player__progress-wrap {
		grid-area: progress !important;
		display: block !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__controls,
	.bjcmp-player--visual-open .bjcmp-player__controls {
		grid-area: controls !important;
		display: flex !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__volume,
	.bjcmp-player--visual-open .bjcmp-player__volume {
		grid-area: volume !important;
		display: flex !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__secondary-controls,
	.bjcmp-player--visual-open .bjcmp-player__secondary-controls {
		grid-area: secondary !important;
		display: flex !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__status,
	.bjcmp-player--visual-open .bjcmp-player__status {
		grid-area: status !important;
		display: block !important;
	}
}


/* Mobile Visual control polish — Version 1.0.0 */
@media (max-width: 680px) {
	.bjcmp-player--visual-open .bjcmp-player__visual-toolbar select,
	.bjcmp-player--visual-open .bjcmp-player__visual-fullscreen {
		height: 27px !important;
		min-height: 27px !important;
		max-height: 27px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		line-height: 25px !important;
		vertical-align: middle !important;
		border: 1px solid #4b525c !important;
		outline: none !important;
		box-shadow: none !important;
	}

	.bjcmp-player--visual-open .bjcmp-player__visual-toolbar select:focus,
	.bjcmp-player--visual-open .bjcmp-player__visual-toolbar select:focus-visible,
	.bjcmp-player--visual-open .bjcmp-player__visual-fullscreen:focus,
	.bjcmp-player--visual-open .bjcmp-player__visual-fullscreen:focus-visible {
		border-color: #6a737e !important;
		outline: none !important;
		box-shadow: none !important;
	}
}


/* Mobile fullscreen Visual correction — Version 1.0.0
   Fullscreen owns the viewport; the canvas fills the usable area
   without inheriting the phone replacement-row height. */
@media (max-width: 680px) {
	.bjcmp-player--visual-open .bjcmp-player__visual-panel:fullscreen,
	.bjcmp-player--visual-open .bjcmp-player__visual-panel:-webkit-full-screen {
		width: 100vw !important;
		height: 100vh !important;
		min-height: 100vh !important;
		max-height: none !important;
		margin: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: #0c0f12 !important;
	}

	.bjcmp-player--visual-open .bjcmp-player__visual-panel:fullscreen .bjcmp-player__visual-canvas,
	.bjcmp-player--visual-open .bjcmp-player__visual-panel:-webkit-full-screen .bjcmp-player__visual-canvas {
		top: 46px !important;
		left: 8px !important;
		right: 8px !important;
		bottom: 14px !important;
		width: calc(100% - 16px) !important;
		height: calc(100% - 60px) !important;
	}
}


/* ===== bjc-music-player-albums.css ===== */
/**
 * BJC Music Player
 * Album and Track Library Presentation
 *
 * Version: 0.7.9
 */


/* =========================================================
   ALBUM LIBRARY
   ========================================================= */

.bjcmp-player__albums {
	min-height: 100%;
}


/* =========================================================
   ALBUM LIBRARY HEADER
   ========================================================= */

.bjcmp-player__albums-header {
	display: flex;

	align-items: center;
	justify-content: space-between;

	flex-wrap: wrap;

	gap: 12px;

	margin-bottom: 18px;
	padding-bottom: 12px;

	border-bottom: 1px solid #3b4149;
}

.bjcmp-player__albums-title {
	margin: 0;

	font-size: 17px;
	font-weight: 700;

	letter-spacing: 0.08em;
	text-transform: uppercase;

	color: #f2f3f5;
}


/* =========================================================
   ALBUM VIEW SWITCH
   ========================================================= */

.bjcmp-player__album-view-switch {
	display: inline-flex;

	align-items: center;

	gap: 4px;

	padding: 4px;

	background:
		linear-gradient(
			180deg,
			#12151a,
			#191d22
		);

	border: 1px solid #3f454e;
	border-radius: 9px;

	box-shadow:
		inset 0 2px 5px rgba(0, 0, 0, 0.50),
		0 1px 0 rgba(255, 255, 255, 0.035);
}


/* AVAILABLE / INACTIVE BUTTON */

.bjcmp-player__album-view-button {
	min-height: 32px;

	padding: 6px 11px;

	border: 1px solid #555d68;
	border-radius: 6px;

	background:
		linear-gradient(
			180deg,
			#434a54 0%,
			#343a43 48%,
			#292f36 100%
		);

	color: #e6e9ed;

	font: inherit;
	font-size: 11px;
	font-weight: 700;

	cursor: pointer;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	gap: 5px;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		inset 0 -1px 0 rgba(0, 0, 0, 0.30),
		0 2px 3px rgba(0, 0, 0, 0.34);

	transform: translateY(0);

	transition:
		background 0.12s ease,
		border-color 0.12s ease,
		color 0.12s ease,
		box-shadow 0.12s ease,
		transform 0.12s ease;
}


/* Reserve tick space so button text never jumps */

.bjcmp-player__album-view-button::before {
	content: "✓";

	display: inline-block;

	width: 12px;

	color: currentColor;

	font-size: 11px;
	font-weight: 800;
	line-height: 1;

	text-align: center;

	opacity: 0;
}


/* AVAILABLE BUTTON HOVER */

.bjcmp-player__album-view-button:not(.is-active):hover,
.bjcmp-player__album-view-button:not(.is-active):focus-visible {
	background:
		linear-gradient(
			180deg,
			#5b6470 0%,
			#454d57 48%,
			#353c45 100%
		);

	border-color: #737d89;

	color: #ffffff;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.17),
		inset 0 -1px 0 rgba(0, 0, 0, 0.25),
		0 3px 6px rgba(0, 0, 0, 0.38);

	transform: translateY(-1px);

	outline: none;
}


/* AVAILABLE BUTTON PHYSICAL PRESS */

.bjcmp-player__album-view-button:not(.is-active):active {
	background:
		linear-gradient(
			180deg,
			#353b43,
			#454c56
		);

	box-shadow:
		inset 0 2px 4px rgba(0, 0, 0, 0.42),
		0 1px 1px rgba(0, 0, 0, 0.25);

	transform: translateY(1px);
}


/* ACTIVE / ENGAGED BUTTON */

.bjcmp-player__album-view-button.is-active {
	background:
		linear-gradient(
			180deg,
			#e9f7ff 0%,
			#b9e7ff 18%,
			#58b8e8 55%,
			#2586bd 100%
		);

	border-color: #a9e5ff;

	color: #071821;

	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.55);

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.78),
		inset 0 -1px 0 rgba(0, 62, 98, 0.45),
		0 0 7px rgba(80, 190, 242, 0.55),
		0 2px 4px rgba(0, 0, 0, 0.36);

	transform: translateY(0);

	cursor: default;
}


/* ACTIVE TICK */

.bjcmp-player__album-view-button.is-active::before {
	opacity: 1;

	color: #071821;
}


/* ACTIVE BUTTON FOCUS */

.bjcmp-player__album-view-button.is-active:focus-visible {
	outline: 2px solid #d7f4ff;
	outline-offset: 2px;
}


/* FUTURE TRUE DISABLED STATE */

.bjcmp-player__album-view-button:disabled {
	background:
		linear-gradient(
			180deg,
			#2b3036,
			#23272d
		);

	border-color: #373d45;

	color: #727983;

	box-shadow:
		inset 0 1px 2px rgba(0, 0, 0, 0.40);

	cursor: not-allowed;

	opacity: 0.65;

	transform: none;
}


/* =========================================================
   ALBUM DISPLAY PANELS
   ========================================================= */

.bjcmp-player__album-display {
	min-width: 0;
	width: 100%;
}

.bjcmp-player__album-display[hidden] {
	display: none !important;
}


/* =========================================================
   ALBUM COVER GRID
   ========================================================= */

.bjcmp-player__album-grid {
	display: grid;

	grid-template-columns:
		repeat(
			auto-fill,
			minmax(130px, 1fr)
		);

	gap: 18px;
}

.bjcmp-player__album-card {
	min-width: 0;

	padding: 10px;

	background:
		linear-gradient(
			180deg,
			#30353d 0%,
			#252a31 100%
		);

	border: 1px solid #414750;
	border-radius: 10px;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.045),
		0 2px 5px rgba(0, 0, 0, 0.28);

	transition:
		background 0.15s ease,
		border-color 0.15s ease,
		transform 0.15s ease;
}

.bjcmp-player__album-card:hover {
	background:
		linear-gradient(
			180deg,
			#393f48 0%,
			#2a3037 100%
		);

	border-color: #565e69;

	transform: translateY(-1px);
}


/* =========================================================
   ALBUM ARTWORK
   ========================================================= */

.bjcmp-player__album-cover-wrap {
	width: 100%;

	aspect-ratio: 1 / 1;

	margin-bottom: 9px;

	background:
		linear-gradient(
			145deg,
			#363b43,
			#181b20
		);

	border: 1px solid #484e58;
	border-radius: 7px;

	overflow: hidden;

	box-shadow:
		inset 0 0 14px rgba(0, 0, 0, 0.45),
		0 2px 4px rgba(0, 0, 0, 0.32);
}

.bjcmp-player__album-cover {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
}


/* =========================================================
   ALBUM CARD INFORMATION
   ========================================================= */

.bjcmp-player__album-name {
	margin: 0;

	overflow: hidden;

	color: #ffffff;

	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;

	text-align: center;

	text-overflow: ellipsis;
	white-space: nowrap;
}

.bjcmp-player__album-artist {
	margin-top: 3px;

	overflow: hidden;

	color: #9da4ae;

	font-size: 11px;
	line-height: 1.3;

	text-align: center;

	text-overflow: ellipsis;
	white-space: nowrap;
}


/* =========================================================
   NAME ONLY ALBUM LIST
   ========================================================= */

.bjcmp-player__album-name-list {
	display: flex;

	flex-direction: column;

	gap: 7px;
}

.bjcmp-player__album-name-item {
	display: flex;

	align-items: center;
	justify-content: space-between;

	gap: 16px;

	min-width: 0;

	padding: 10px 12px;

	background:
		linear-gradient(
			180deg,
			#30353d,
			#252a31
		);

	border: 1px solid #414750;
	border-radius: 8px;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.04);

	transition:
		background 0.15s ease,
		border-color 0.15s ease;
}

.bjcmp-player__album-name-item:hover {
	background:
		linear-gradient(
			180deg,
			#393f48,
			#2a3037
		);

	border-color: #565e69;
}

.bjcmp-player__album-name-item-title {
	min-width: 0;

	overflow: hidden;

	color: #ffffff;

	font-size: 13px;
	font-weight: 700;

	text-overflow: ellipsis;
	white-space: nowrap;
}

.bjcmp-player__album-name-item-artist {
	flex: 0 1 auto;

	min-width: 0;

	overflow: hidden;

	color: #9da4ae;

	font-size: 11px;

	text-align: right;

	text-overflow: ellipsis;
	white-space: nowrap;
}


/* =========================================================
   TRACK LIBRARY BUTTONS
   ========================================================= */

.bjcmp-player__track-item {
	width: 100%;

	font: inherit;

	text-align: left;

	cursor: pointer;

	appearance: none;
	-webkit-appearance: none;
}


/* =========================================================
   EMPTY ALBUM LIBRARY
   ========================================================= */

.bjcmp-player__albums-empty {
	margin: 0;

	padding: 24px 12px;

	color: #9198a2;

	font-size: 13px;
	line-height: 1.5;

	text-align: center;
}

.bjcmp-player__album-grid > .bjcmp-player__albums-empty {
	grid-column: 1 / -1;
}

/* =========================================================
   TRACK QUEUE ACTIONS
   ========================================================= */

.bjcmp-player__track-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 6px;
	align-items: stretch;
	min-width: 0;
}

.bjcmp-player__track-queue-action {
	min-width: 54px;
	padding: 0 9px;
	border: 1px solid #414750;
	border-radius: 8px;
	background: linear-gradient(180deg, #30353d, #252a31);
	color: #c7ccd3;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}

.bjcmp-player__track-queue-action:hover,
.bjcmp-player__track-queue-action:focus-visible {
	background: linear-gradient(180deg, #393f48, #2a3037);
	border-color: #565e69;
	color: #ffffff;
}

/* 1.0.0 queue control refinement */
.bjcmp-player__track-queue-action:focus,
.bjcmp-player__track-queue-action:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

.bjcmp-player__track-item {
	min-width: 0;
}

/* 1.0.0 queue action focus protection */
.bjcmp-player button.bjcmp-player__track-queue-action,
.bjcmp-player button.bjcmp-player__track-queue-action:focus,
.bjcmp-player button.bjcmp-player__track-queue-action:focus-visible,
.bjcmp-player button.bjcmp-player__track-queue-action:active {
	outline: 0 !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
	border: 1px solid #414750 !important;
}

.bjcmp-player button.bjcmp-player__track-queue-action:hover,
.bjcmp-player button.bjcmp-player__track-queue-action:focus-visible {
	border-color: #565e69 !important;
}

/* 1.0.0 collection and queue controls */
.bjcmp-player__collection-play-button,.bjcmp-player__queue-play-button,.bjcmp-player__queue-header-button,.bjcmp-player__queue-remove {
 appearance:none;-webkit-appearance:none;outline:0 !important;border:1px solid #59616c !important;border-radius:7px;
 background:linear-gradient(180deg,#343b44,#1b2026);color:#e7ebef;font:inherit;font-weight:700;cursor:pointer;box-shadow:none !important;
}
.bjcmp-player__collection-play-button {width:100%;min-height:42px;margin:0 0 9px;padding:8px 14px;font-size:13px;}
.bjcmp-player__queue-header {display:grid;grid-template-columns:auto 1fr;gap:7px;align-items:center;margin-bottom:9px;}
.bjcmp-player__queue-title {grid-column:1 / -1;text-align:center;margin:0;}
.bjcmp-player__queue-header-button,.bjcmp-player__queue-play-button {min-height:32px;padding:5px 9px;font-size:10px;}
.bjcmp-player__queue-play-button {grid-column:1 / -1;width:100%;}
.bjcmp-player__queue-remove {margin-top:5px;padding:3px 7px;font-size:9px;}


/* 1.0.0 compact Up Next controls */
.bjcmp-player button.bjcmp-player__queue-header-button,
.bjcmp-player button.bjcmp-player__queue-play-button,
.bjcmp-player button.bjcmp-player__queue-stop-button,
.bjcmp-player button.bjcmp-player__queue-clear-button,
.bjcmp-player button.bjcmp-player__queue-favourite-button,
.bjcmp-player button.bjcmp-player__queue-remove {
	appearance: none;
	-webkit-appearance: none;
	min-width: 0;
	min-height: 20px;
	padding: 2px 5px;
	border: 1px solid #59616c !important;
	border-radius: 5px;
	outline: 0 !important;
	background: linear-gradient(180deg, #343b44, #1b2026);
	box-shadow: none !important;
	color: #e7ebef;
	font: inherit;
	font-size: 8px;
	font-weight: 700;
	line-height: 1.15;
	cursor: pointer;
}

.bjcmp-player button.bjcmp-player__queue-favourite-button:disabled {
	opacity: 0.48;
	cursor: not-allowed;
}

.bjcmp-player button.bjcmp-player__queue-remove {
	min-height: 18px;
	margin-top: 4px;
	padding: 2px 5px;
	font-size: 8px;
}


/* 1.0.0 queued Track indicator */
.bjcmp-player button.bjcmp-player__track-queue-action.is-queued,
.bjcmp-player button.bjcmp-player__track-queue-action.is-queued:hover,
.bjcmp-player button.bjcmp-player__track-queue-action.is-queued:focus {
	background: linear-gradient(180deg, #24292f, #1d2126) !important;
	border-color: #363c44 !important;
	color: #707781 !important;
	opacity: 0.62;
	cursor: default;
	transform: none !important;
}

/* Keep collection play controls truly full-width in their panel. */
.bjcmp-player__collection-play-button {
	display: flex !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	justify-content: center;
	align-items: center;
}


/* ===== bjc-music-player-responsive.css ===== */
/**
 * BJC Music Player
 * General Responsive Presentation
 *
 * Version: 0.7.9
 */


/* =========================================================
   LARGE DESKTOPS
   ========================================================= */

@media (min-width: 1450px) {

	.bjcmp-player {
		padding-left: 50px;
		padding-right: 50px;
	}

	.bjcmp-player__layout {
		grid-template-columns:
			220px
			minmax(620px, 820px)
			280px;

		gap: 28px;
	}
}


/* =========================================================
   TABLET / MEDIUM DESKTOP
   ========================================================= */

@media (max-width: 1050px) {

	.bjcmp-player {
		padding: 22px 16px 26px;
	}

	.bjcmp-player__layout {
		grid-template-columns:
			180px
			minmax(0, 1fr);

		gap: 16px;
	}

	.bjcmp-player__queue {
		grid-column: 1 / -1;
	}

	.bjcmp-player__album-grid {
		grid-template-columns:
			repeat(
				auto-fill,
				minmax(120px, 1fr)
			);

		gap: 14px;
	}
}


/* =========================================================
   MOBILE PLAYER PRESENTATION
   ========================================================= */

@media (max-width: 680px) {

	.bjcmp-player {
		margin: 12px 0;

		padding: 12px;

		border-radius: 12px;
	}

	.bjcmp-player::before,
	.bjcmp-player::after {
		display: none;
	}

	.bjcmp-player__layout {
		display: block;
	}

	.bjcmp-player__panel {
		margin-bottom: 12px;

		padding: 13px;
	}

	.bjcmp-player__navigation {
		flex-direction: row;

		flex-wrap: wrap;
	}

	.bjcmp-player__nav-title {
		width: 100%;
	}

	.bjcmp-player__nav-button {
		width: auto;

		flex: 1 1 30%;

		padding: 8px;

		text-align: center;
	}

	.bjcmp-player__now-playing {
		display: grid;

		grid-template-columns:
			95px
			minmax(0, 1fr);

		grid-template-areas:
			"art metadata"
			"progress progress"
			"controls controls"
			"volume volume"
			"secondary secondary"
			"status status";

		column-gap: 12px;
		row-gap: 10px;
	}

	.bjcmp-player__artwork {
		width: 95px;
		height: 95px;
	}

	.bjcmp-player__track-title {
		font-size: 18px;
	}

	.bjcmp-player__meta-value {
		font-size: 13px;
	}

	.bjcmp-player__control {
		flex: 1 1 auto;

		min-width: 65px;
	}

	.bjcmp-player__control--primary {
		flex: 1 1 auto;
	}

	.bjcmp-player__volume {
		width: 100%;
	}

	.bjcmp-player__secondary-button {
		flex: 1 1 40%;
	}

	.bjcmp-player__queue {
		margin-bottom: 0;
	}

	.bjcmp-player__albums-header {
		margin-bottom: 14px;
	}

	.bjcmp-player__albums-title {
		font-size: 15px;
	}

	.bjcmp-player__album-view-switch {
		width: auto;
	}

	.bjcmp-player__album-grid {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);

		gap: 12px;
	}

	.bjcmp-player__album-card {
		padding: 8px;
	}

	.bjcmp-player__album-name-item {
		padding: 10px;
	}
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

	.bjcmp-player__now-playing {
		grid-template-columns: 1fr;

		grid-template-areas:
			"art"
			"metadata"
			"progress"
			"controls"
			"volume"
			"secondary"
			"status";
	}

	.bjcmp-player__artwork {
		width: 120px;
		height: 120px;

		margin: 0 auto;
	}

	.bjcmp-player__metadata {
		text-align: center;
	}

	.bjcmp-player__nav-button {
		flex-basis: 45%;
	}

	.bjcmp-player__controls {
		gap: 7px;
	}

	.bjcmp-player__volume-button {
		min-width: 62px;
	}

	.bjcmp-player__secondary-button {
		flex-basis: 45%;
	}

	.bjcmp-player__albums-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.bjcmp-player__album-view-switch {
		width: 100%;
	}

	.bjcmp-player__album-view-button {
		flex: 1 1 50%;

		text-align: center;
	}

	.bjcmp-player__album-grid {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);

		gap: 9px;
	}

	.bjcmp-player__album-card {
		padding: 6px;
	}

	.bjcmp-player__album-name {
		font-size: 12px;
	}

	.bjcmp-player__album-artist {
		font-size: 10px;
	}

	.bjcmp-player__album-name-item {
		align-items: flex-start;
		flex-direction: column;

		gap: 3px;
	}

	.bjcmp-player__album-name-item-artist {
		text-align: left;
	}
}
/* 1.0.0 mobile Track queue actions */
@media (max-width: 768px) {
	.bjcmp-player__track-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 5px 6px;
	}

	.bjcmp-player__track-row > .bjcmp-player__track-item {
		grid-column: 1 / -1;
		width: 100%;
		min-width: 0;
	}

	.bjcmp-player__track-queue-action {
		min-width: 0;
		min-height: 26px;
		padding: 4px 8px;
		border-radius: 6px;
		font-size: 9px;
		line-height: 1.2;
	}
}


/* 1.0.0 mobile collection controls */
@media (max-width: 768px) {
	.bjcmp-player__album-detail-tracks,
	.bjcmp-player__collection-play-button {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.bjcmp-player__queue [data-bjcmp-up-next-list] {
		height: 260px !important;
		max-height: 260px !important;
	}
}


/* =========================================================
   1.0.0 DESKTOP NOW PLAYING BALANCE
   Desktop/laptop only. Mobile layout is intentionally unchanged.
   ========================================================= */

@media (min-width: 681px) {

	.bjcmp-player__now-playing {
		grid-template-columns:
			minmax(0, 1fr)
			165px
			minmax(220px, 300px)
			minmax(0, 1fr);

		grid-template-areas:
			". art metadata ."
			"progress progress progress progress"
			"controls controls controls controls"
			"volume volume volume volume"
			"secondary secondary secondary secondary"
			"status status status status";

		column-gap: 18px;
		row-gap: 8px;
	}

	.bjcmp-player__artwork {
		width: 165px;
		height: 165px;
		justify-self: end;
	}

	.bjcmp-player__metadata {
		align-self: center;
		justify-self: stretch;
	}

	.bjcmp-player__progress-wrap {
		margin-top: 0;
	}

	.bjcmp-player__time {
		margin-top: 1px;
	}
}


/* =========================================================
   1.0.0 DESKTOP NOW PLAYING TRUE CENTRE
   The boundary between artwork and metadata is the centre axis.
   Mobile remains unchanged.
   ========================================================= */

@media (min-width: 681px) {

	.bjcmp-player__now-playing {
		grid-template-columns:
			minmax(0, 1fr)
			165px
			18px
			minmax(220px, 1fr);

		grid-template-areas:
			". art . metadata"
			"progress progress progress progress"
			"controls controls controls controls"
			"volume volume volume volume"
			"secondary secondary secondary secondary"
			"status status status status";
	}

	.bjcmp-player__artwork {
		justify-self: end;
	}

	.bjcmp-player__metadata {
		justify-self: start;
		width: min(100%, 300px);
	}
}


/* =========================================================
   1.0.0 CONTAINER-AWARE RESPONSIVENESS
   Elementor/other builders can place a player in a narrow desktop
   column while the browser viewport itself remains wide. These rules
   mirror the established viewport breakpoints using the player's
   actual available width, preventing the three-column console from
   clipping inside boxed/narrow containers.
   ========================================================= */

@container bjcmp-player (max-width: 1050px) {

	.bjcmp-player {
		padding: 22px 16px 26px;
	}

	.bjcmp-player__layout {
		grid-template-columns:
			180px
			minmax(0, 1fr);

		gap: 16px;
	}

	.bjcmp-player__queue {
		grid-column: 1 / -1;
	}

	.bjcmp-player__album-grid {
		grid-template-columns:
			repeat(
				auto-fill,
				minmax(120px, 1fr)
			);

		gap: 14px;
	}
}

@container bjcmp-player (max-width: 680px) {

	.bjcmp-player {
		margin: 12px 0;
		padding: 12px;
		border-radius: 12px;
	}

	.bjcmp-player::before,
	.bjcmp-player::after {
		display: none;
	}

	.bjcmp-player__layout {
		display: block;
	}

	.bjcmp-player__panel {
		margin-bottom: 12px;
		padding: 13px;
	}

	.bjcmp-player__navigation {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.bjcmp-player__nav-title {
		width: 100%;
	}

	.bjcmp-player__nav-button {
		width: auto;
		flex: 1 1 30%;
		padding: 8px;
		text-align: center;
	}

	.bjcmp-player__now-playing {
		display: grid;
		grid-template-columns:
			95px
			minmax(0, 1fr);

		grid-template-areas:
			"art metadata"
			"progress progress"
			"controls controls"
			"volume volume"
			"secondary secondary"
			"status status";

		column-gap: 12px;
		row-gap: 10px;
	}

	.bjcmp-player__artwork {
		width: 95px;
		height: 95px;
	}

	.bjcmp-player__track-title {
		font-size: 18px;
	}

	.bjcmp-player__meta-value {
		font-size: 13px;
	}

	.bjcmp-player__control,
	.bjcmp-player__control--primary {
		flex: 1 1 auto;
	}

	.bjcmp-player__control {
		min-width: 65px;
	}

	.bjcmp-player__volume {
		width: 100%;
	}

	.bjcmp-player__secondary-button {
		flex: 1 1 40%;
	}

	.bjcmp-player__queue {
		margin-bottom: 0;
		height: auto !important;
		min-height: 0 !important;
	}

	.bjcmp-player__albums-header {
		margin-bottom: 14px;
	}

	.bjcmp-player__albums-title {
		font-size: 15px;
	}

	.bjcmp-player__album-view-switch {
		width: auto;
	}

	.bjcmp-player__album-grid {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);

		gap: 12px;
	}

	.bjcmp-player__album-card {
		padding: 8px;
	}

	.bjcmp-player__album-name-item {
		padding: 10px;
	}
}

@container bjcmp-player (max-width: 420px) {

	.bjcmp-player__now-playing {
		grid-template-columns: 1fr;

		grid-template-areas:
			"art"
			"metadata"
			"progress"
			"controls"
			"volume"
			"secondary"
			"status";
	}

	.bjcmp-player__artwork {
		width: 120px;
		height: 120px;
		margin: 0 auto;
	}

	.bjcmp-player__metadata {
		text-align: center;
	}

	.bjcmp-player__nav-button {
		flex-basis: 45%;
	}

	.bjcmp-player__controls {
		gap: 7px;
	}

	.bjcmp-player__volume-button {
		min-width: 62px;
	}

	.bjcmp-player__secondary-button {
		flex-basis: 45%;
	}

	.bjcmp-player__albums-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.bjcmp-player__album-view-switch {
		width: 100%;
	}

	.bjcmp-player__album-view-button {
		flex: 1 1 50%;
		text-align: center;
	}

	.bjcmp-player__album-grid {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);

		gap: 9px;
	}

	.bjcmp-player__album-card {
		padding: 6px;
	}

	.bjcmp-player__album-name {
		font-size: 12px;
	}

	.bjcmp-player__album-artist {
		font-size: 10px;
	}

	.bjcmp-player__album-name-item {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
	}

	.bjcmp-player__album-name-item-artist {
		text-align: left;
	}
}


/* ===== bjc-music-player-protection.css ===== */
/**
 * BJC Music Player
 * WordPress / Theme / Elementor Style Protection
 *
 * Version: 0.7.9
 */


/* =========================================================
   BJC PLAYER BUTTON STYLE PROTECTION
   Prevents WordPress themes / Elementor global button styles
   from overriding the player console appearance.
   ========================================================= */


/* Library navigation */

.bjcmp-player .bjcmp-player__nav-button {
	border: 1px solid transparent !important;
	background: transparent !important;
	color: #dfe2e7 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-decoration: none !important;
}

.bjcmp-player .bjcmp-player__nav-button:hover,
.bjcmp-player .bjcmp-player__nav-button:focus,
.bjcmp-player .bjcmp-player__nav-button:focus-visible {
	border-color: #454b55 !important;
	background: #30353d !important;
	color: #ffffff !important;
	outline: none !important;
	box-shadow: none !important;
}

.bjcmp-player .bjcmp-player__nav-button.is-active {
	border-color: #5a626d !important;
	background:
		linear-gradient(
			180deg,
			#484f59,
			#343941
		) !important;
	color: #ffffff !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.10),
		0 1px 2px rgba(0, 0, 0, 0.25) !important;
}


/* Transport controls */

.bjcmp-player .bjcmp-player__control {
	border: 1px solid #505660 !important;
	background:
		linear-gradient(
			180deg,
			#454b55,
			#2c3139
		) !important;
	color: #ffffff !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.10),
		0 2px 3px rgba(0, 0, 0, 0.30) !important;
	text-shadow: none !important;
	text-decoration: none !important;
}

.bjcmp-player .bjcmp-player__control:hover,
.bjcmp-player .bjcmp-player__control:focus,
.bjcmp-player .bjcmp-player__control:focus-visible {
	border-color: #505660 !important;
	background:
		linear-gradient(
			180deg,
			#555c67,
			#373d46
		) !important;
	color: #ffffff !important;
	outline: none !important;
}

.bjcmp-player .bjcmp-player__control--primary {
	border-color: #ffffff !important;
	background:
		linear-gradient(
			180deg,
			#ffffff,
			#d4d6da
		) !important;
	color: #181b20 !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.90),
		0 2px 4px rgba(0, 0, 0, 0.38) !important;
}

.bjcmp-player .bjcmp-player__control--primary:hover,
.bjcmp-player .bjcmp-player__control--primary:focus,
.bjcmp-player .bjcmp-player__control--primary:focus-visible {
	border-color: #ffffff !important;
	background: #ffffff !important;
	color: #181b20 !important;
	outline: none !important;
}


/* Volume */

.bjcmp-player .bjcmp-player__volume-button {
	border: 1px solid #484e58 !important;
	background:
		linear-gradient(
			180deg,
			#30353d,
			#252a30
		) !important;
	color: #dfe3e8 !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
	text-shadow: none !important;
	text-decoration: none !important;
}

.bjcmp-player .bjcmp-player__volume-button:hover,
.bjcmp-player .bjcmp-player__volume-button:focus,
.bjcmp-player .bjcmp-player__volume-button:focus-visible {
	border-color: #484e58 !important;
	background: #383e47 !important;
	color: #ffffff !important;
	outline: none !important;
}


/* Secondary controls */

.bjcmp-player .bjcmp-player__secondary-button {
	border: 1px solid #434953 !important;
	background:
		linear-gradient(
			180deg,
			#2d3239,
			#22262c
		) !important;
	color: #d6dae0 !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
	text-shadow: none !important;
	text-decoration: none !important;
}

.bjcmp-player .bjcmp-player__secondary-button:hover,
.bjcmp-player .bjcmp-player__secondary-button:focus,
.bjcmp-player .bjcmp-player__secondary-button:focus-visible {
	border-color: #434953 !important;
	background: #373d46 !important;
	color: #ffffff !important;
	outline: none !important;
}


/* Album Covers / Name Only switch */

.bjcmp-player .bjcmp-player__album-view-button {
	border: 1px solid #555d68 !important;
	background:
		linear-gradient(
			180deg,
			#434a54 0%,
			#343a43 48%,
			#292f36 100%
		) !important;
	color: #e6e9ed !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		inset 0 -1px 0 rgba(0, 0, 0, 0.30),
		0 2px 3px rgba(0, 0, 0, 0.34) !important;
	text-shadow: none !important;
	text-decoration: none !important;
	outline: none !important;
}

.bjcmp-player .bjcmp-player__album-view-button:not(.is-active):hover,
.bjcmp-player .bjcmp-player__album-view-button:not(.is-active):focus,
.bjcmp-player .bjcmp-player__album-view-button:not(.is-active):focus-visible {
	border-color: #737d89 !important;
	background:
		linear-gradient(
			180deg,
			#5b6470 0%,
			#454d57 48%,
			#353c45 100%
		) !important;
	color: #ffffff !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.17),
		inset 0 -1px 0 rgba(0, 0, 0, 0.25),
		0 3px 6px rgba(0, 0, 0, 0.38) !important;
	outline: none !important;
}

.bjcmp-player .bjcmp-player__album-view-button:not(.is-active):active {
	border-color: #555d68 !important;
	background:
		linear-gradient(
			180deg,
			#353b43,
			#454c56
		) !important;
	color: #ffffff !important;
	box-shadow:
		inset 0 2px 4px rgba(0, 0, 0, 0.42),
		0 1px 1px rgba(0, 0, 0, 0.25) !important;
}

.bjcmp-player .bjcmp-player__album-view-button.is-active {
	border-color: #a9e5ff !important;
	background:
		linear-gradient(
			180deg,
			#e9f7ff 0%,
			#b9e7ff 18%,
			#58b8e8 55%,
			#2586bd 100%
		) !important;
	color: #071821 !important;
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.55) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.78),
		inset 0 -1px 0 rgba(0, 62, 98, 0.45),
		0 0 7px rgba(80, 190, 242, 0.55),
		0 2px 4px rgba(0, 0, 0, 0.36) !important;
	outline: none !important;
}

.bjcmp-player .bjcmp-player__album-view-button.is-active::before {
	color: #071821 !important;
}

.bjcmp-player .bjcmp-player__album-view-button:disabled {
	border-color: #373d45 !important;
	background:
		linear-gradient(
			180deg,
			#2b3036,
			#23272d
		) !important;
	color: #727983 !important;
	box-shadow:
		inset 0 1px 2px rgba(0, 0, 0, 0.40) !important;
	outline: none !important;
}


/* =========================================================
   TRACK LIBRARY BUTTON STYLE PROTECTION
   Prevents WordPress themes / Elementor global button styles
   from overriding the track list appearance.
   ========================================================= */

.bjcmp-player .bjcmp-player__track-item {
	width: 100% !important;

	border: 1px solid #414750 !important;
	border-radius: 8px !important;

	background:
		linear-gradient(
			180deg,
			#30353d,
			#252a31
		) !important;

	color: #ffffff !important;

	font: inherit !important;

	text-align: left !important;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;

	text-shadow: none !important;
	text-decoration: none !important;

	outline: none !important;

	appearance: none !important;
	-webkit-appearance: none !important;
}

.bjcmp-player .bjcmp-player__track-item:hover,
.bjcmp-player .bjcmp-player__track-item:focus,
.bjcmp-player .bjcmp-player__track-item:focus-visible {
	border-color: #565e69 !important;

	background:
		linear-gradient(
			180deg,
			#393f48,
			#2a3037
		) !important;

	color: #ffffff !important;

	outline: none !important;
}

.bjcmp-player .bjcmp-player__track-item.is-active {
	border-color: #5a626d !important;

	background:
		linear-gradient(
			180deg,
			#3b414a,
			#2b3037
		) !important;

	color: #ffffff !important;
}

/* ===== bjc-music-player-library.css ===== */
/**
 * BJC Music Player
 * Library Viewport
 *
 * Version: 0.7.3.2
 *
 * Desktop library views occupy the central workspace established
 * by Now Playing.
 *
 * Mobile library views use compact controlled viewports and must
 * never grow because more library items exist.
 */


/* =========================================================
   CENTRAL CONSOLE WORKSPACE
   ========================================================= */

.bjcmp-player__main {
	position: relative;

	min-width: 0;
	width: 100%;
}


/* =========================================================
   DESKTOP NOW PLAYING = MASTER VIEWPORT SIZE
   ========================================================= */

@media (min-width: 681px) {

	.bjcmp-player__view[data-bjcmp-panel="now-playing"][hidden] {
		display: block !important;

		visibility: hidden;

		pointer-events: none;
	}


	.bjcmp-player__view[data-bjcmp-panel="tracks"]:not([hidden]),
	.bjcmp-player__view[data-bjcmp-panel="albums"]:not([hidden]) {
		position: absolute;

		inset: 0;

		width: 100%;
		height: 100%;

		min-width: 0;
		min-height: 0;

		overflow: hidden;
	}
}


/* =========================================================
   LIBRARY PANEL
   ========================================================= */

.bjcmp-player__view[data-bjcmp-panel="tracks"] .bjcmp-player__albums,
.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__albums {
	display: flex;
	flex-direction: column;

	width: 100%;

	min-width: 0;
	min-height: 0;

	overflow: hidden;
}


/* Desktop library panels fill the Now Playing workspace. */

@media (min-width: 681px) {

	.bjcmp-player__view[data-bjcmp-panel="tracks"] .bjcmp-player__albums,
	.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__albums {
		height: 100%;
	}
}


/* =========================================================
   LIBRARY HEADER
   ========================================================= */

.bjcmp-player__view[data-bjcmp-panel="tracks"] .bjcmp-player__albums-header,
.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__albums-header {
	flex: 0 0 auto;
}


/* =========================================================
   TRACK LIBRARY

   Seven track rows are visible.

   Track eight and everything after it is reached by internal
   scrolling.
   ========================================================= */

.bjcmp-player__view[data-bjcmp-panel="tracks"] .bjcmp-player__track-list {
	flex: 0 1 auto;

	min-height: 0;

	max-height: calc((7 * 43px) + (6 * 7px));

	overflow-y: auto;
	overflow-x: hidden;

	padding-right: 7px;

	overscroll-behavior: contain;

	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: #59616c #1c2026;
}


/* =========================================================
   ALBUM DISPLAY AREA
   ========================================================= */

.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__album-display {
	flex: 1 1 auto;

	min-width: 0;
	min-height: 0;

	overflow: hidden;
}


/* =========================================================
   ALBUM COVER GRID
   ========================================================= */

.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__album-grid {
	height: 100%;

	min-height: 0;

	align-content: start;
	align-items: start;

	grid-auto-rows: max-content;

	overflow-y: auto;
	overflow-x: hidden;

	padding-right: 7px;

	overscroll-behavior: contain;

	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: #59616c #1c2026;
}


/* =========================================================
   ALBUM CARDS
   ========================================================= */

.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__album-card {
	align-self: start;

	height: auto;
	min-height: 0;
}


/* =========================================================
   ALBUM NAME-ONLY VIEW
   ========================================================= */

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-display[data-bjcmp-album-panel="names"] {
	height: 100%;

	min-height: 0;

	overflow-y: auto;
	overflow-x: hidden;

	padding-right: 7px;

	overscroll-behavior: contain;

	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: #59616c #1c2026;
}


.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-display[data-bjcmp-album-panel="names"]
.bjcmp-player__album-name-list {
	overflow: visible;
}


/* =========================================================
   ALBUM DETAIL
   ========================================================= */

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-detail {
	display: flex;
	flex-direction: column;

	width: 100%;
	height: 100%;

	min-width: 0;
	min-height: 0;

	overflow: hidden;
}


.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-detail[hidden] {
	display: none !important;
}


/* =========================================================
   ALBUM DETAIL TOP AREA
   ========================================================= */

.bjcmp-player__album-detail-top {
	position: relative;

	display: grid;

	grid-template-columns:
		200px
		minmax(0, 1fr)
		200px;

	align-items: center;

	flex: 0 0 auto;

	min-width: 0;

	padding: 2px 0 14px;
}


/* =========================================================
   BACK TO ALBUMS AREA
   ========================================================= */

.bjcmp-player__album-detail-back {
	grid-column: 1;

	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 0;

	padding: 0 12px 0 0;
}


.bjcmp-player__album-back-button {
	display: flex !important;

	flex-direction: row !important;
	flex-wrap: nowrap !important;

	align-items: center !important;
	justify-content: center !important;

	gap: 8px !important;

	width: 100% !important;
	max-width: 184px !important;
	min-width: 0 !important;

	min-height: 58px !important;

	margin: 0 !important;
	padding: 10px 13px !important;

	border: 1px solid #59616c !important;
	border-radius: 8px !important;

	background:
		linear-gradient(
			180deg,
			#343b44 0%,
			#252b32 48%,
			#1b2026 100%
		) !important;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		0 2px 5px rgba(0, 0, 0, 0.38) !important;

	color: #e7ebef !important;

	font: inherit !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;

	text-align: center !important;

	white-space: nowrap !important;

	cursor: pointer !important;

	overflow: hidden !important;

	transition:
		transform 120ms ease,
		filter 120ms ease,
		box-shadow 120ms ease !important;
}


.bjcmp-player__album-back-button > span {
	display: inline-block !important;

	margin: 0 !important;
	padding: 0 !important;
}


.bjcmp-player__album-back-button > span:last-child {
	flex: 0 1 auto !important;

	min-width: 0 !important;

	overflow: visible !important;

	white-space: nowrap !important;
}


.bjcmp-player__album-back-button:hover,
.bjcmp-player__album-back-button:focus-visible {
	filter: brightness(1.14);

	transform: translateY(-1px);

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.16),
		0 3px 7px rgba(0, 0, 0, 0.42) !important;
}


.bjcmp-player__album-back-button:active {
	transform: translateY(1px);
}


.bjcmp-player__album-back-arrow {
	display: inline-block !important;

	flex: 0 0 16px !important;

	width: 16px !important;
	min-width: 16px !important;

	margin: 0 !important;

	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1 !important;

	text-align: center !important;
}


/* =========================================================
   CENTRAL ALBUM INFORMATION
   ========================================================= */

.bjcmp-player__album-detail-info {
	grid-column: 2;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	min-width: 0;

	text-align: center;
}


.bjcmp-player__album-detail-title {
	width: 100%;

	margin: 0 0 8px !important;
	padding: 0 !important;

	border: 0 !important;

	color: inherit;

	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;

	text-align: center;
}


.bjcmp-player__album-detail-cover-wrap {
	width: 94px;
	height: 94px;

	flex: 0 0 94px;

	overflow: hidden;

	border-radius: 5px;

	box-shadow:
		0 2px 8px rgba(0, 0, 0, 0.45);
}


.bjcmp-player__album-detail-cover {
	display: block;

	width: 100%;
	height: 100%;

	margin: 0 !important;

	object-fit: cover;
}


.bjcmp-player__album-detail-artist {
	width: 100%;

	margin-top: 7px;

	overflow: hidden;

	color: inherit;

	font-size: 0.88rem;
	line-height: 1.25;

	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;

	opacity: 0.82;
}


/* =========================================================
   ALBUM TRACK AREA
   ========================================================= */

.bjcmp-player__album-detail-tracks {
	display: flex;
	flex-direction: column;

	flex: 1 1 auto;

	min-width: 0;
	min-height: 0;

	overflow: hidden;
}


.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-track-list {
	flex: 1 1 auto;

	min-width: 0;
	min-height: 0;

	overflow-y: auto;
	overflow-x: hidden;

	padding-right: 7px;

	overscroll-behavior: contain;

	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: #59616c #1c2026;
}


/* =========================================================
   MOBILE LIBRARY
   ========================================================= */

@media (max-width: 680px) {

	.bjcmp-player__view[data-bjcmp-panel="now-playing"][hidden] {
		display: none !important;
	}


	.bjcmp-player__view[data-bjcmp-panel="tracks"]:not([hidden]),
	.bjcmp-player__view[data-bjcmp-panel="albums"]:not([hidden]) {
		position: static;

		width: 100%;
		height: auto;

		min-width: 0;
		min-height: 0;

		overflow: hidden;
	}


	.bjcmp-player__view[data-bjcmp-panel="tracks"]
	.bjcmp-player__albums {
		height: auto;
		min-height: 0;

		margin-bottom: 0;

		overflow: hidden;
	}


	.bjcmp-player__view[data-bjcmp-panel="tracks"]
	.bjcmp-player__track-list {
		flex: 0 0 auto;

		max-height: calc((7 * 43px) + (6 * 7px));

		min-height: 0;

		overflow-y: auto;
		overflow-x: hidden;
	}


	.bjcmp-player__view[data-bjcmp-panel="albums"]
	.bjcmp-player__albums {
		height: auto;
		min-height: 0;

		margin-bottom: 0;

		overflow: hidden;
	}


	.bjcmp-player__view[data-bjcmp-panel="albums"]
	.bjcmp-player__album-grid {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);

		align-content: start;
		align-items: start;

		grid-auto-rows: max-content;

		min-height: 0;

		overflow-y: auto;
		overflow-x: hidden;
	}


	.bjcmp-player__view[data-bjcmp-panel="albums"]
	.bjcmp-player__album-card {
		align-self: start;

		height: auto;
		min-height: 0;
	}


	/* Album detail remains natural height on mobile. */

	.bjcmp-player__view[data-bjcmp-panel="albums"]
	.bjcmp-player__album-detail {
		height: auto;

		min-height: 0;

		overflow: hidden;
	}


	/*
	 * Mobile layout:
	 *
	 * The Back button receives its own full-width row.
	 * The Album information then sits beneath it.
	 *
	 * This avoids squeezing the control into a narrow column
	 * and gives both the arrow and text proper breathing room.
	 */

	.bjcmp-player__album-detail-top {
		display: grid;

		grid-template-columns: 1fr;
		grid-template-rows: auto auto;

		gap: 10px;

		align-items: center;

		padding: 2px 0 12px;
	}


	.bjcmp-player__album-detail-back {
		grid-column: 1;
		grid-row: 1;

		display: flex;

		justify-content: center;

		width: 100%;

		padding: 0;
	}


	.bjcmp-player__album-back-button {
		width: auto !important;
		max-width: none !important;

		min-width: 154px !important;
		min-height: 48px !important;

		padding: 9px 15px !important;

		gap: 7px !important;

		font-size: 12px !important;
	}


	.bjcmp-player__album-detail-info {
		grid-column: 1;
		grid-row: 2;

		width: 100%;
	}


	.bjcmp-player__album-detail-title {
		margin-bottom: 6px !important;

		font-size: 0.94rem;
	}


	.bjcmp-player__album-detail-cover-wrap {
		width: 78px;
		height: 78px;

		flex-basis: 78px;
	}


	.bjcmp-player__album-detail-artist {
		margin-top: 5px;

		font-size: 0.8rem;
	}


	/*
	 * Seven Album Track rows are visible.
	 *
	 * Albums with seven or fewer Tracks do not need a scrollbar.
	 * Track eight and later are reached by internal scrolling.
	 */

	.bjcmp-player__view[data-bjcmp-panel="albums"]
	.bjcmp-player__album-detail-tracks {
		display: block;

		flex: none;

		width: 100%;
		height: auto;

		min-width: 0;
		min-height: 0;

		overflow: hidden;
	}


	.bjcmp-player__view[data-bjcmp-panel="albums"]
	.bjcmp-player__album-track-list {
		display: flex;
		flex-direction: column;

		flex: none;

		width: 100%;
		height: auto;

		min-width: 0;
		min-height: 0;

		max-height: calc((7 * 43px) + (6 * 7px));

		overflow-y: auto !important;
		overflow-x: hidden !important;

		padding-right: 7px;

		-webkit-overflow-scrolling: touch;

		overscroll-behavior: contain;

		scrollbar-gutter: stable;
		scrollbar-width: thin;
		scrollbar-color: #59616c #1c2026;
	}
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

	.bjcmp-player__view[data-bjcmp-panel="albums"]
	.bjcmp-player__album-grid {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);

		align-content: start;
		align-items: start;

		grid-auto-rows: max-content;
	}


	.bjcmp-player__album-back-button {
		min-width: 150px !important;

		min-height: 46px !important;

		padding: 8px 13px !important;

		font-size: 12px !important;
	}


	.bjcmp-player__album-detail-cover-wrap {
		width: 70px;
		height: 70px;

		flex-basis: 70px;
	}
}


/* =========================================================
   CHROME / EDGE / SAFARI SCROLLBARS
   ========================================================= */

.bjcmp-player__view[data-bjcmp-panel="tracks"]
.bjcmp-player__track-list::-webkit-scrollbar,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-grid::-webkit-scrollbar,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-display[data-bjcmp-album-panel="names"]::-webkit-scrollbar,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-track-list::-webkit-scrollbar {
	width: 10px;
}


.bjcmp-player__view[data-bjcmp-panel="tracks"]
.bjcmp-player__track-list::-webkit-scrollbar-track,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-grid::-webkit-scrollbar-track,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-display[data-bjcmp-album-panel="names"]::-webkit-scrollbar-track,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-track-list::-webkit-scrollbar-track {
	background: #1c2026;

	border-radius: 8px;
}


.bjcmp-player__view[data-bjcmp-panel="tracks"]
.bjcmp-player__track-list::-webkit-scrollbar-thumb,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-grid::-webkit-scrollbar-thumb,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-display[data-bjcmp-album-panel="names"]::-webkit-scrollbar-thumb,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-track-list::-webkit-scrollbar-thumb {
	background: #59616c;

	border: 2px solid #1c2026;
	border-radius: 8px;
}


.bjcmp-player__view[data-bjcmp-panel="tracks"]
.bjcmp-player__track-list::-webkit-scrollbar-thumb:hover,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-grid::-webkit-scrollbar-thumb:hover,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-display[data-bjcmp-album-panel="names"]::-webkit-scrollbar-thumb:hover,

.bjcmp-player__view[data-bjcmp-panel="albums"]
.bjcmp-player__album-track-list::-webkit-scrollbar-thumb:hover {
	background: #747d89;
}

/* =========================================================
   1.0.0 AUTHORITATIVE UP NEXT LAYOUT
   Loaded last so earlier queue/grid rules cannot override it.
   ========================================================= */

.bjcmp-player__queue {
	box-sizing: border-box !important;
	align-self: stretch !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: none !important;
	overflow: hidden !important;
}

.bjcmp-player__queue-header {
	box-sizing: border-box !important;
	display: block !important;
	width: 100% !important;
	margin: 0 0 8px !important;
}

.bjcmp-player__queue-title {
	box-sizing: border-box !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 7px !important;
	padding: 5px 7px !important;
}

.bjcmp-player__queue-control-row {
	box-sizing: border-box !important;
	display: flex !important;
	grid-template-columns: none !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	width: 100% !important;
	margin: 0 0 5px !important;
}

.bjcmp-player__queue-control-row--primary > button,
.bjcmp-player__queue-control-row--secondary > button {
	box-sizing: border-box !important;
	flex: 0 1 46% !important;
	width: 46% !important;
	max-width: 120px !important;
	min-width: 0 !important;
}

.bjcmp-player__queue-back-row {
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 0 0 7px !important;
}

.bjcmp-player__queue-back-row > button {
	box-sizing: border-box !important;
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 58px !important;
	max-width: none !important;
}

.bjcmp-player__queue [data-bjcmp-up-next-list] {
	box-sizing: border-box !important;
	width: 100% !important;
	height: 260px !important;
	min-height: 260px !important;
	max-height: 260px !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
}

/* On stacked layouts the panel does not need to inherit an artificial
   height from a desktop grid row. */
@media (max-width: 1050px) {
	.bjcmp-player__queue {
		height: auto !important;
		min-height: 0 !important;
	}
}


/* =========================================================
   1.0.0 MOBILE UP NEXT TOUCH TARGETS
   ========================================================= */

@media (max-width: 768px) {
	.bjcmp-player button.bjcmp-player__queue-play-button,
	.bjcmp-player button.bjcmp-player__queue-stop-button,
	.bjcmp-player button.bjcmp-player__queue-clear-button,
	.bjcmp-player button.bjcmp-player__queue-favourite-button,
	.bjcmp-player button.bjcmp-player__queue-header-button {
		min-height: 38px !important;
		padding: 8px 10px !important;
		font-size: 11px !important;
		line-height: 1.2 !important;
	}

	.bjcmp-player__queue-control-row--primary > button,
	.bjcmp-player__queue-control-row--secondary > button {
		max-width: none !important;
	}
}


/* =========================================================
   1.0.0 FAVOURITE COLLECTIONS
   ========================================================= */

.bjcmp-player__favourites-title {
	margin: 0 0 5px;
	font-size: 17px;
	font-weight: 800;
	color: #f2f3f5;
}

.bjcmp-player__favourites-help,
.bjcmp-player__favourites-empty {
	margin: 0 0 12px;
	color: #9198a2;
	font-size: 12px;
}

.bjcmp-player__favourite-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	margin-bottom: 7px;
	padding: 9px 10px;
	border: 1px solid #414750;
	border-radius: 8px;
	background: linear-gradient(180deg, #30353d, #252a31);
}

.bjcmp-player__favourite-name {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.bjcmp-player__favourite-count {
	margin-top: 2px;
	color: #9198a2;
	font-size: 10px;
}

.bjcmp-player button.bjcmp-player__favourite-play,
.bjcmp-player__favourite-create-actions button {
	min-height: 30px;
	padding: 5px 9px;
	border: 1px solid #59616c !important;
	border-radius: 6px;
	outline: 0 !important;
	background: linear-gradient(180deg, #343b44, #1b2026);
	box-shadow: none !important;
	color: #e7ebef;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}

.bjcmp-player__favourite-create[hidden] {
	display: none !important;
}

.bjcmp-player__favourite-create {
	margin: 7px 0 8px;
	padding: 8px;
	border: 1px solid #414750;
	border-radius: 7px;
	background: rgba(0, 0, 0, 0.18);
}

.bjcmp-player__favourite-create-label {
	display: block;
	margin-bottom: 4px;
	color: #c7ccd3;
	font-size: 10px;
	font-weight: 700;
}

.bjcmp-player__favourite-create-input {
	box-sizing: border-box;
	width: 100%;
	min-height: 32px;
	padding: 6px 8px;
	border: 1px solid #59616c;
	border-radius: 5px;
	background: #11151a;
	color: #fff;
	font: inherit;
	font-size: 11px;
}

.bjcmp-player__favourite-create-actions {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 6px;
}

@media (max-width: 768px) {
	.bjcmp-player__favourite-item {
		grid-template-columns: 1fr;
	}

	.bjcmp-player button.bjcmp-player__favourite-play,
	.bjcmp-player__favourite-create-actions button {
		min-height: 38px;
		padding: 8px 10px;
	}
}


/* =========================================================
   1.0.0 FAVOURITES VIEW + ACTIVE FAVOURITE CONTEXT
   ========================================================= */

@media (min-width: 681px) {
	.bjcmp-player__view[data-bjcmp-panel="favourites"]:not([hidden]) {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		min-width: 0;
		min-height: 0;
		overflow: hidden;
	}

	.bjcmp-player__view[data-bjcmp-panel="favourites"] .bjcmp-player__favourites {
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		width: 100%;
		height: 100%;
		min-width: 0;
		min-height: 0;
		overflow-y: auto;
		overflow-x: hidden;
	}
}

.bjcmp-player__queue-context {
	box-sizing: border-box;
	width: 100%;
	margin: -2px 0 7px;
	padding: 0 6px;
	overflow: hidden;
	color: #58b8e8;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bjcmp-player__queue-context[hidden] {
	display: none !important;
}

@media (max-width: 680px) {
	.bjcmp-player__view[data-bjcmp-panel="favourites"]:not([hidden]) {
		position: static;
		width: 100%;
		height: auto;
		min-width: 0;
		min-height: 0;
		overflow: hidden;
	}

	.bjcmp-player__view[data-bjcmp-panel="favourites"] .bjcmp-player__favourites {
		box-sizing: border-box;
		width: 100%;
		height: auto;
		min-height: 0;
		justify-content: flex-start;
	}
}


/* =========================================================
   1.0.0 FAVOURITE COLLECTION MANAGEMENT
   ========================================================= */

.bjcmp-player__favourite-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	flex-wrap: wrap;
}

.bjcmp-player button.bjcmp-player__favourite-rename,
.bjcmp-player button.bjcmp-player__favourite-delete {
	min-height: 30px;
	padding: 5px 9px;
	border: 1px solid #59616c !important;
	border-radius: 6px;
	outline: 0 !important;
	background: linear-gradient(180deg, #343b44, #1b2026);
	box-shadow: none !important;
	color: #e7ebef;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 768px) {
	.bjcmp-player__favourite-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.bjcmp-player button.bjcmp-player__favourite-play {
		grid-column: 1 / -1;
		width: 100%;
	}

	.bjcmp-player button.bjcmp-player__favourite-rename,
	.bjcmp-player button.bjcmp-player__favourite-delete {
		width: 100%;
		min-height: 38px;
		padding: 8px 10px;
	}
}


/* =========================================================
   1.0.0 TRACK → FAVOURITE COLLECTION
   ========================================================= */

.bjcmp-player__track-row {
	grid-template-columns: minmax(0, 1fr) auto auto;
}

.bjcmp-player__track-favourite-action {
	min-width: 72px;
	padding: 0 9px;
	border: 1px solid #414750 !important;
	border-radius: 8px;
	outline: 0 !important;
	background: linear-gradient(180deg, #30353d, #252a31);
	box-shadow: none !important;
	color: #c7ccd3;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}

.bjcmp-player__track-favourite-action:hover,
.bjcmp-player__track-favourite-action:focus-visible,
.bjcmp-player__track-favourite-action.is-favourited {
	border-color: #565e69 !important;
	background: linear-gradient(180deg, #393f48, #2a3037);
	color: #ffffff;
}

.bjcmp-player__track-favourite-chooser {
	box-sizing: border-box;
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 100%;
	padding: 8px;
	border: 1px solid #414750;
	border-radius: 7px;
	background: #181d23;
}

.bjcmp-player__track-favourite-chooser-title {
	color: #f2f3f5;
	font-size: 11px;
	font-weight: 700;
}

.bjcmp-player__track-favourite-choice {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 27px;
	color: #c7ccd3;
	font-size: 11px;
	cursor: pointer;
}

.bjcmp-player__track-favourite-choice input {
	margin: 0;
}

.bjcmp-player button.bjcmp-player__track-favourite-done {
	align-self: center;
	min-width: 72px;
	min-height: 30px;
	margin-top: 3px;
	padding: 5px 10px;
	border: 1px solid #59616c !important;
	border-radius: 6px;
	outline: 0 !important;
	background: linear-gradient(180deg, #343b44, #1b2026);
	box-shadow: none !important;
	color: #e7ebef;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 768px) {
	.bjcmp-player__track-row {
		grid-template-columns: 1fr 1fr !important;
	}

	.bjcmp-player__track-row > .bjcmp-player__track-item {
		grid-column: 1 / -1 !important;
	}

	.bjcmp-player__track-queue-action,
	.bjcmp-player__track-favourite-action {
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		min-height: 38px !important;
		padding: 8px 9px !important;
		font-size: 10px !important;
	}

	.bjcmp-player__track-favourite-chooser {
		grid-column: 1 / -1;
	}

	.bjcmp-player button.bjcmp-player__track-favourite-done {
		min-height: 38px;
		padding: 8px 12px;
	}
}


/* =========================================================
   1.0.0 CREATE FAVOURITE FROM ANY CONTEXT
   ========================================================= */

.bjcmp-player__favourites-create-button {
	align-self: flex-start;
	min-height: 32px;
	margin: 0 0 10px;
	padding: 6px 11px;
	border: 1px solid #59616c !important;
	border-radius: 6px;
	outline: 0 !important;
	background: linear-gradient(180deg, #343b44, #1b2026);
	box-shadow: none !important;
	color: #e7ebef;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}

.bjcmp-player__favourites-create-form {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 10px;
	padding: 8px;
	border: 1px solid #414750;
	border-radius: 7px;
	background: rgba(0, 0, 0, 0.18);
}

.bjcmp-player__favourites-create-form[hidden] {
	display: none !important;
}

.bjcmp-player button.bjcmp-player__track-favourite-create-new {
	align-self: stretch;
	min-height: 30px;
	margin-top: 3px;
	padding: 5px 10px;
	border: 1px solid #59616c !important;
	border-radius: 6px;
	outline: 0 !important;
	background: linear-gradient(180deg, #343b44, #1b2026);
	box-shadow: none !important;
	color: #e7ebef;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 768px) {
	.bjcmp-player__favourites-create-button,
	.bjcmp-player button.bjcmp-player__track-favourite-create-new {
		min-height: 38px;
		padding: 8px 11px;
	}
}


/* =========================================================
   1.0.0 LIBRARY SIMPLIFICATION + ALBUM ART EMPHASIS
   ========================================================= */

/*
 * Album artwork is an important part of browsing.
 * Use four larger covers per row where the library has desktop/tablet width.
 */
@media (min-width: 681px) {
	.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__album-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

/* Keep the established two-cover mobile presentation. */
@media (max-width: 680px) {
	.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__album-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}


/* =========================================================
   1.0.0 LARGER, CENTRED ALBUM COVER GRID
   ========================================================= */

/*
 * Desktop/laptop: three larger covers per row.
 * Album artwork is deliberately given more visual weight.
 */
@media (min-width: 681px) {
	.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__album-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 18px !important;
	}
}

/*
 * Mobile: retain two covers per row and balance the inner spacing
 * so the grid sits visually centred rather than appearing right-heavy.
 */
@media (max-width: 680px) {
	.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__album-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		box-sizing: border-box !important;
		width: 100% !important;
		padding-left: 4px !important;
		padding-right: 4px !important;
		scrollbar-gutter: auto !important;
	}
}


/* =========================================================
   1.0.0 DESKTOP ALBUM ROW BALANCE
   ========================================================= */

/*
 * Keep incomplete rows naturally left aligned.
 * A complete three-album row fills the available grid width evenly,
 * giving the row the centred/balanced presentation used on mobile.
 */
@media (min-width: 681px) {
	.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__album-grid {
		justify-content: start !important;
		justify-items: stretch !important;
	}

	.bjcmp-player__view[data-bjcmp-panel="albums"] .bjcmp-player__album-card {
		width: 100% !important;
		box-sizing: border-box !important;
	}
}


/* Search — Version 1.0.0 */

@media (min-width: 681px) {
	.bjcmp-player__view[data-bjcmp-panel="search"]:not([hidden]) {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		min-width: 0;
		min-height: 0;
		overflow: hidden;
	}
}

.bjcmp-player__search {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
}

@media (min-width: 681px) {
	.bjcmp-player__search {
		height: 100%;
	}
}

.bjcmp-player__search-title {
	flex: 0 0 auto;
	margin: 0 0 10px;
}

.bjcmp-player__search-controls {
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(240px, 0.9fr);
	grid-template-areas:
		"input help"
		"type message";
	column-gap: 12px;
	row-gap: 7px;
	align-items: center;
	padding: 0;
	margin: 0 0 8px;
}

.bjcmp-player__search-input {
	grid-area: input;
}

.bjcmp-player__search-type {
	grid-area: type;
	max-width: 260px;
}

.bjcmp-player__search-help {
	grid-area: help;
}

.bjcmp-player__search-empty {
	grid-area: message;
}

.bjcmp-player__search-input,
.bjcmp-player__search-type {
	width: 100%;
	min-height: 38px;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 4px;
	background: #111;
	color: #fff;
	padding: 7px 10px;
}

.bjcmp-player__search-help,
.bjcmp-player__search-empty {
	margin: 0;
	line-height: 1.25;
	opacity: 0.75;
	font-size: 13px;
}

.bjcmp-player__search-results {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 5px;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: #59616c #1c2026;
}

.bjcmp-player__search-group-title {
	margin: 8px 0;
	font-size: 16px;
}

.bjcmp-player__search-album-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.bjcmp-player__search-album-result {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	padding: 7px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.04);
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.bjcmp-player__search-album-cover {
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	object-fit: cover;
	border-radius: 3px;
}

.bjcmp-player__search-album-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 3px;
}

.bjcmp-player__search-album-info strong,
.bjcmp-player__search-album-info span {
	overflow-wrap: anywhere;
}

@media (max-width: 680px) {
	.bjcmp-player__search {
		min-height: 0;
	}

	.bjcmp-player__search-controls {
		grid-template-columns: 1fr;
		grid-template-areas:
			"input"
			"help"
			"type"
			"message";
		gap: 6px;
		margin-bottom: 8px;
	}

	.bjcmp-player__search-type {
		max-width: none;
	}

	.bjcmp-player__search-input,
	.bjcmp-player__search-type {
		min-height: 44px;
	}

	.bjcmp-player__search-results {
		max-height: 360px;
	}

	.bjcmp-player__search-album-list {
		grid-template-columns: 1fr;
	}
}


/* Search refinement — Version 1.0.0 */
.bjcmp-player__search-intro {
	margin: -3px 0 9px;
	line-height: 1.25;
	opacity: 0.75;
	font-size: 13px;
}

.bjcmp-player__search-controls {
	grid-template-columns: minmax(260px, 1fr) minmax(180px, 260px);
	grid-template-areas: "input type";
	align-items: center;
	margin-bottom: 8px;
}

.bjcmp-player__search-help {
	display: none !important;
}

.bjcmp-player__search-empty {
	grid-area: auto;
	grid-column: 1 / -1;
	margin: 0 0 6px;
}

.bjcmp-player__search-album-result {
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	outline: none !important;
	box-shadow: none;
}

.bjcmp-player__search-album-result:hover,
.bjcmp-player__search-album-result:focus,
.bjcmp-player__search-album-result:focus-visible {
	border-color: rgba(255, 255, 255, 0.32) !important;
	outline: none !important;
}

@media (max-width: 680px) {
	.bjcmp-player__search-controls {
		grid-template-columns: 1fr;
		grid-template-areas:
			"input"
			"type";
	}
}


/* Native WordPress block wrapper — Version 1.0.0 */
.bjcmp-block-wrapper {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.bjcmp-block-wrapper.alignwide,
.bjcmp-block-wrapper.alignfull {
	max-width: none;
}


/* Elementor editor placeholder — Version 1.0.0 */
.bjcmp-elementor-placeholder {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-height: 150px;
	padding: 18px;
	box-sizing: border-box;
	border: 1px solid #3f454e;
	border-radius: 12px;
	background: linear-gradient(180deg, #282c33 0%, #1a1d22 100%);
	color: #f4f5f7;
	font-family: Arial, Helvetica, sans-serif;
}

.bjcmp-elementor-placeholder__artwork {
	display: block;
	width: 112px;
	height: 112px;
	flex: 0 0 112px;
	object-fit: cover;
	border-radius: 8px;
}

.bjcmp-elementor-placeholder__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.bjcmp-elementor-placeholder__text strong {
	font-size: 20px;
	line-height: 1.2;
}

.bjcmp-elementor-placeholder__text span {
	font-size: 13px;
	line-height: 1.4;
	opacity: 0.78;
}


/* Beaver Builder editor placeholder — Version 1.0.0 */
.bjcmp-beaver-placeholder {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-height: 150px;
	padding: 18px;
	box-sizing: border-box;
	border: 1px solid #3f454e;
	border-radius: 12px;
	background: linear-gradient(180deg, #282c33 0%, #1a1d22 100%);
	color: #f4f5f7;
	font-family: Arial, Helvetica, sans-serif;
}

.bjcmp-beaver-placeholder__artwork {
	display: block;
	width: 112px;
	height: 112px;
	flex: 0 0 112px;
	object-fit: cover;
	border-radius: 8px;
}

.bjcmp-beaver-placeholder__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.bjcmp-beaver-placeholder__text strong {
	font-size: 20px;
	line-height: 1.2;
}

.bjcmp-beaver-placeholder__text span {
	font-size: 13px;
	line-height: 1.4;
	opacity: 0.78;
}


/* =========================================================
   APPEARANCE PRESETS — SIMPLE DESKTOP SKINS
   Version: 1.0.0
   ========================================================= */

@media (min-width: 768px) {
	.bjcmp-player--studio,
	.bjcmp-player--rose,
	.bjcmp-player--blue,
	.bjcmp-player--midnight,
	.bjcmp-player--music-notes,
	.bjcmp-player--cyberpunk {
		border-radius: 8px;
		overflow: hidden;
		box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -3px 8px rgba(0,0,0,.60), 0 12px 30px rgba(0,0,0,.24);
	}

	.bjcmp-player--studio::before,.bjcmp-player--studio::after,
	.bjcmp-player--rose::before,.bjcmp-player--rose::after,
	.bjcmp-player--blue::before,.bjcmp-player--blue::after,
	.bjcmp-player--midnight::before,.bjcmp-player--midnight::after,
	.bjcmp-player--music-notes::before,.bjcmp-player--music-notes::after,
	.bjcmp-player--cyberpunk::before,.bjcmp-player--cyberpunk::after { content:none; }

	.bjcmp-player--studio {
		background: repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0,rgba(255,255,255,.018) 1px,rgba(0,0,0,.018) 1px,rgba(0,0,0,.018) 3px), repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,transparent 1px,transparent 4px), linear-gradient(180deg,#3b4148 0%,#30363d 9%,#242a30 28%,#1b2025 72%,#15191d 100%);
		border-color:#4e5660;
	}
	.bjcmp-player--rose {
		background: repeating-linear-gradient(90deg,rgba(255,255,255,.022) 0,rgba(255,255,255,.022) 1px,rgba(0,0,0,.018) 1px,rgba(0,0,0,.018) 3px), repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,transparent 1px,transparent 4px), linear-gradient(180deg,#765764 0%,#674a57 12%,#4f3844 38%,#372730 72%,#251b20 100%);
		border-color:#896978;
	}
	.bjcmp-player--blue {
		background: repeating-linear-gradient(90deg,rgba(255,255,255,.022) 0,rgba(255,255,255,.022) 1px,rgba(0,0,0,.018) 1px,rgba(0,0,0,.018) 3px), repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,transparent 1px,transparent 4px), linear-gradient(180deg,#3f6177 0%,#345469 12%,#293f51 38%,#1c2d3a 72%,#121d26 100%);
		border-color:#54788f;
	}
	.bjcmp-player--midnight {
		background: repeating-linear-gradient(90deg,rgba(255,255,255,.015) 0,rgba(255,255,255,.015) 1px,rgba(0,0,0,.02) 1px,rgba(0,0,0,.02) 3px), linear-gradient(180deg,#292c3d 0%,#222536 16%,#181b29 45%,#10121c 78%,#0a0b11 100%);
		border-color:#41465e;
	}
	.bjcmp-player--music-notes {
		background-color:#1b2025;
		background-image:url("../images/textures/music-notes.svg"), repeating-linear-gradient(90deg,rgba(255,255,255,.014) 0,rgba(255,255,255,.014) 1px,rgba(0,0,0,.018) 1px,rgba(0,0,0,.018) 3px), linear-gradient(180deg,#394047,#20262c 50%,#161b20);
		border-color:#505861;
	}
	.bjcmp-player--cyberpunk {
		background: linear-gradient(120deg,transparent 0 18%,rgba(0,235,255,.08) 18.2% 18.7%,transparent 18.9% 63%,rgba(255,0,184,.07) 63.2% 63.8%,transparent 64%), repeating-linear-gradient(90deg,rgba(0,235,255,.018) 0,rgba(0,235,255,.018) 1px,rgba(0,0,0,.025) 1px,rgba(0,0,0,.025) 4px), linear-gradient(180deg,#202431,#161a25 28%,#0e111a 68%,#090b11);
		border-color:#345b68;
		box-shadow:inset 0 1px 0 rgba(0,235,255,.18),inset 0 -2px 0 rgba(255,0,184,.09),0 12px 30px rgba(0,0,0,.28);
	}
}


/* =========================================================
   1.0.0 CUSTOM CONSOLE COLOUR + FUN SURFACES
   ========================================================= */

@media (min-width: 768px) {
	/* A user colour keeps the selected surface treatment but replaces its palette. */
	.bjcmp-player--studio[style*="--bjcmp-console-base"],
	.bjcmp-player--rose[style*="--bjcmp-console-base"],
	.bjcmp-player--blue[style*="--bjcmp-console-base"],
	.bjcmp-player--midnight[style*="--bjcmp-console-base"] {
		background:
			repeating-linear-gradient(90deg,rgba(255,255,255,.022) 0,rgba(255,255,255,.022) 1px,rgba(0,0,0,.018) 1px,rgba(0,0,0,.018) 3px),
			repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,transparent 1px,transparent 4px),
			linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 14%,var(--bjcmp-console-dark) 58%,var(--bjcmp-console-deep));
		border-color:var(--bjcmp-console-light);
	}

	.bjcmp-player--music-notes[style*="--bjcmp-console-base"] {
		background-color:var(--bjcmp-console-dark);
		background-image:
			url("../images/textures/music-notes.svg"),
			repeating-linear-gradient(90deg,rgba(255,255,255,.014) 0,rgba(255,255,255,.014) 1px,rgba(0,0,0,.018) 1px,rgba(0,0,0,.018) 3px),
			linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 18%,var(--bjcmp-console-dark) 58%,var(--bjcmp-console-deep));
		border-color:var(--bjcmp-console-light);
	}

	.bjcmp-player--cyberpunk[style*="--bjcmp-console-base"] {
		background:
			linear-gradient(120deg,transparent 0 18%,rgba(0,235,255,.09) 18.2% 18.7%,transparent 18.9% 63%,rgba(255,0,184,.08) 63.2% 63.8%,transparent 64%),
			repeating-linear-gradient(90deg,rgba(255,255,255,.014) 0,rgba(255,255,255,.014) 1px,rgba(0,0,0,.025) 1px,rgba(0,0,0,.025) 4px),
			linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 16%,var(--bjcmp-console-dark) 58%,var(--bjcmp-console-deep));
		border-color:var(--bjcmp-console-light);
	}

	.bjcmp-player--vinyl {
		background:
			repeating-radial-gradient(circle at 50% 50%,rgba(255,255,255,.035) 0,rgba(255,255,255,.035) 1px,transparent 1px,transparent 5px),
			linear-gradient(180deg,#34383e,#22262b 45%,#15181c);
		border-color:#4d535a;
	}

	.bjcmp-player--waveform {
		background-color:#1a2026;
		background-image:
			url("../images/textures/waveform.svg"),
			repeating-linear-gradient(90deg,rgba(255,255,255,.014) 0,rgba(255,255,255,.014) 1px,rgba(0,0,0,.02) 1px,rgba(0,0,0,.02) 4px),
			linear-gradient(180deg,#3b4650,#263039 45%,#182027);
		background-repeat:repeat,repeat,no-repeat;
		border-color:#52606b;
	}

	.bjcmp-player--circuit {
		background-color:#18221f;
		background-image:
			url("../images/textures/circuit.svg"),
			repeating-linear-gradient(90deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,rgba(0,0,0,.018) 1px,rgba(0,0,0,.018) 4px),
			linear-gradient(180deg,#33443e,#22312c 48%,#15201c);
		border-color:#4a6259;
	}

	.bjcmp-player--vinyl[style*="--bjcmp-console-base"] {
		background:
			repeating-radial-gradient(circle at 50% 50%,rgba(255,255,255,.045) 0,rgba(255,255,255,.045) 1px,transparent 1px,transparent 5px),
			linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 18%,var(--bjcmp-console-dark) 62%,var(--bjcmp-console-deep));
		border-color:var(--bjcmp-console-light);
	}

	.bjcmp-player--waveform[style*="--bjcmp-console-base"] {
		background-color:var(--bjcmp-console-dark);
		background-image:
			url("../images/textures/waveform.svg"),
			repeating-linear-gradient(90deg,rgba(255,255,255,.014) 0,rgba(255,255,255,.014) 1px,rgba(0,0,0,.02) 1px,rgba(0,0,0,.02) 4px),
			linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 18%,var(--bjcmp-console-dark) 58%,var(--bjcmp-console-deep));
		border-color:var(--bjcmp-console-light);
	}

	.bjcmp-player--circuit[style*="--bjcmp-console-base"] {
		background-color:var(--bjcmp-console-dark);
		background-image:
			url("../images/textures/circuit.svg"),
			repeating-linear-gradient(90deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,rgba(0,0,0,.018) 1px,rgba(0,0,0,.018) 4px),
			linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 18%,var(--bjcmp-console-dark) 58%,var(--bjcmp-console-deep));
		border-color:var(--bjcmp-console-light);
	}
}

/* =========================================================
   1.0.0 PRE-RASTERISED CONSOLE SURFACES
   Heavy procedural/SVG surface painting is replaced at final cascade
   by small transparent PNG tiles that the browser can decode once,
   cache and composite over the established console palette.
   ========================================================= */
@media (min-width:768px) {
	.bjcmp-player--studio,.bjcmp-player--rose,.bjcmp-player--blue,.bjcmp-player--midnight {
		background-image:url("../images/textures/metal-grain.png"),linear-gradient(180deg,#3b4148 0%,#30363d 9%,#242a30 28%,#1b2025 72%,#15191d 100%);
		background-repeat:repeat,no-repeat;
	}
	.bjcmp-player--rose { background-image:url("../images/textures/metal-grain.png"),linear-gradient(180deg,#765764 0%,#674a57 12%,#4f3844 38%,#372730 72%,#251b20 100%); }
	.bjcmp-player--blue { background-image:url("../images/textures/metal-grain.png"),linear-gradient(180deg,#3f6177 0%,#345469 12%,#293f51 38%,#1c2d3a 72%,#121d26 100%); }
	.bjcmp-player--midnight { background-image:url("../images/textures/metal-grain.png"),linear-gradient(180deg,#292c3d 0%,#222536 16%,#181b29 45%,#10121c 78%,#0a0b11 100%); }
	.bjcmp-player--music-notes { background-image:url("../images/textures/music-notes.png"),linear-gradient(180deg,#394047,#20262c 50%,#161b20);background-repeat:repeat,no-repeat; }
	.bjcmp-player--cyberpunk { background-image:url("../images/textures/cyberpunk.png"),linear-gradient(180deg,#202431,#161a25 28%,#0e111a 68%,#090b11);background-repeat:repeat,no-repeat; }
	.bjcmp-player--vinyl { background-image:url("../images/textures/vinyl.png"),linear-gradient(180deg,#34383e,#22262b 45%,#15181c);background-repeat:repeat,no-repeat; }
	.bjcmp-player--waveform { background-image:url("../images/textures/waveform.png"),linear-gradient(180deg,#3b4650,#263039 45%,#182027);background-repeat:repeat,no-repeat; }
	.bjcmp-player--circuit { background-image:url("../images/textures/circuit.png"),linear-gradient(180deg,#33443e,#22312c 48%,#15201c);background-repeat:repeat,no-repeat; }

	.bjcmp-player[style*="--bjcmp-console-base"]:not(.bjcmp-player--dashboard) {
		background-image:url("../images/textures/metal-grain.png"),linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 18%,var(--bjcmp-console-dark) 58%,var(--bjcmp-console-deep));
		background-repeat:repeat,no-repeat;
	}
	.bjcmp-player--music-notes[style*="--bjcmp-console-base"] { background-image:url("../images/textures/music-notes.png"),linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 18%,var(--bjcmp-console-dark) 58%,var(--bjcmp-console-deep)); }
	.bjcmp-player--cyberpunk[style*="--bjcmp-console-base"] { background-image:url("../images/textures/cyberpunk.png"),linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 18%,var(--bjcmp-console-dark) 58%,var(--bjcmp-console-deep)); }
	.bjcmp-player--vinyl[style*="--bjcmp-console-base"] { background-image:url("../images/textures/vinyl.png"),linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 18%,var(--bjcmp-console-dark) 62%,var(--bjcmp-console-deep)); }
	.bjcmp-player--waveform[style*="--bjcmp-console-base"] { background-image:url("../images/textures/waveform.png"),linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 18%,var(--bjcmp-console-dark) 58%,var(--bjcmp-console-deep)); }
	.bjcmp-player--circuit[style*="--bjcmp-console-base"] { background-image:url("../images/textures/circuit.png"),linear-gradient(180deg,var(--bjcmp-console-light),var(--bjcmp-console-base) 18%,var(--bjcmp-console-dark) 58%,var(--bjcmp-console-deep)); }
}


/* =========================================================
   1.0.0 FLAT CHASSIS EDGE
   Remove legacy decorative chassis lips/raised edge pseudo-elements.
   The player keeps its normal border, radius and surface only.
   ========================================================= */
.bjcmp-player::before,
.bjcmp-player::after {
	content: none !important;
	display: none !important;
}


/* =========================================================
   1.0.0 LIGHTWEIGHT CHASSIS PAINT
   The outer console no longer uses large-area inset/drop shadows.
   Borders, radius, palette and internal panel depth remain unchanged.
   ========================================================= */
@media (min-width:768px) {
	.bjcmp-player--studio,
	.bjcmp-player--rose,
	.bjcmp-player--blue,
	.bjcmp-player--midnight,
	.bjcmp-player--music-notes,
	.bjcmp-player--cyberpunk,
	.bjcmp-player--vinyl,
	.bjcmp-player--waveform,
	.bjcmp-player--circuit {
		box-shadow:none !important;
	}
}



/* =========================================================
   1.0.0 MOBILE TOUCH EQ
   Five EQ bands become vertical on phone-sized players.
   Desktop/tablet layout and audio processing are unchanged.
   ========================================================= */
@media (max-width:680px) {
	.bjcmp-player__eq-panel {
		min-height: 250px;
		height: auto;
	}

	.bjcmp-player__eq-bands {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		align-items: end;
		gap: 4px;
		width: 100%;
		min-height: 150px;
		padding: 6px 2px 2px;
	}

	.bjcmp-player__eq-band {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		gap: 5px;
		min-width: 0;
		min-height: 142px;
	}

	.bjcmp-player__eq-band input[type="range"],
	.bjcmp-player__eq-slider {
		width: 118px !important;
		height: 34px !important;
		margin: 42px -42px !important;
		transform: rotate(-90deg);
		transform-origin: center;
		touch-action: none;
	}

	.bjcmp-player__eq-band-label,
	.bjcmp-player__eq-frequency {
		width: 100%;
		text-align: center;
		white-space: nowrap;
		font-size: 9px;
		line-height: 1.1;
	}
}

@container bjcmp-player (max-width:680px) {
	.bjcmp-player__eq-panel {
		min-height: 250px;
		height: auto;
	}

	.bjcmp-player__eq-bands {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		align-items: end;
		gap: 4px;
		width: 100%;
		min-height: 150px;
		padding: 6px 2px 2px;
	}

	.bjcmp-player__eq-band {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		gap: 5px;
		min-width: 0;
		min-height: 142px;
	}

	.bjcmp-player__eq-band input[type="range"],
	.bjcmp-player__eq-slider {
		width: 118px !important;
		height: 34px !important;
		margin: 42px -42px !important;
		transform: rotate(-90deg);
		transform-origin: center;
		touch-action: none;
	}

	.bjcmp-player__eq-band-label,
	.bjcmp-player__eq-frequency {
		width: 100%;
		text-align: center;
		white-space: nowrap;
		font-size: 9px;
		line-height: 1.1;
	}
}


/* =========================================================
   1.0.0 MOBILE EQ — FIVE COLUMNS
   Supersedes the older mobile one-band-per-row rules.
   ========================================================= */
@media (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		height: auto !important;
		min-height: 255px !important;
		max-height: none !important;
		overflow: visible !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		display: grid !important;
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		align-items: end !important;
		gap: 2px !important;
		width: 100% !important;
		max-width: none !important;
		height: 145px !important;
		min-height: 145px !important;
		margin: 4px 0 0 !important;
		padding: 0 !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band {
		display: grid !important;
		grid-template-columns: 1fr !important;
		grid-template-rows: 18px 104px 18px !important;
		justify-items: center !important;
		align-items: center !important;
		gap: 1px !important;
		width: 100% !important;
		min-width: 0 !important;
		height: 142px !important;
		min-height: 142px !important;
		text-align: center !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band input[type="range"] {
		width: 96px !important;
		height: 30px !important;
		margin: 0 !important;
		transform: rotate(-90deg) !important;
		transform-origin: center center !important;
		touch-action: none;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band span,
	.bjcmp-player--eq-open .bjcmp-player__eq-band output {
		width: 100% !important;
		text-align: center !important;
		white-space: nowrap !important;
		font-size: 9px !important;
		line-height: 1 !important;
	}
}

@container bjcmp-player (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		height: auto !important;
		min-height: 255px !important;
		max-height: none !important;
		overflow: visible !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		display: grid !important;
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		align-items: end !important;
		gap: 2px !important;
		width: 100% !important;
		max-width: none !important;
		height: 145px !important;
		min-height: 145px !important;
		margin: 4px 0 0 !important;
		padding: 0 !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band {
		display: grid !important;
		grid-template-columns: 1fr !important;
		grid-template-rows: 18px 104px 18px !important;
		justify-items: center !important;
		align-items: center !important;
		gap: 1px !important;
		width: 100% !important;
		min-width: 0 !important;
		height: 142px !important;
		min-height: 142px !important;
		text-align: center !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band input[type="range"] {
		width: 96px !important;
		height: 30px !important;
		margin: 0 !important;
		transform: rotate(-90deg) !important;
		transform-origin: center center !important;
		touch-action: none;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band span,
	.bjcmp-player--eq-open .bjcmp-player__eq-band output {
		width: 100% !important;
		text-align: center !important;
		white-space: nowrap !important;
		font-size: 9px !important;
		line-height: 1 !important;
	}
}


/* =========================================================
   1.0.0 MOBILE EQ ALIGNMENT / SEPARATION
   Centre the five-fader bank and separate it visually from
   the track progress row below.
   ========================================================= */
@media (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		width: calc(100% - 24px) !important;
		max-width: 360px !important;
		margin: 4px auto 10px !important;
		justify-self: center !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		padding-bottom: 16px !important;
		margin-bottom: 10px !important;
	}
}

@container bjcmp-player (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		width: calc(100% - 24px) !important;
		max-width: 360px !important;
		margin: 4px auto 10px !important;
		justify-self: center !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		padding-bottom: 16px !important;
		margin-bottom: 10px !important;
	}
}


/* =========================================================
   1.0.0 MOBILE EQ — DEFINITIVE CENTRING / PROGRESS GAP
   Apply spacing to the actual EQ panel and progress row rather
   than relying on margins that the replacement grid can absorb.
   ========================================================= */
@media (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		padding-left: 18px !important;
		padding-right: 18px !important;
		padding-bottom: 18px !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 340px !important;
		margin: 6px auto 12px !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
		justify-self: center !important;
		justify-content: center !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__progress,
	.bjcmp-player--eq-open .bjcmp-player__progress-row,
	.bjcmp-player--eq-open [data-bjcmp-progress] {
		margin-top: 14px !important;
	}
}

@container bjcmp-player (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		padding-left: 18px !important;
		padding-right: 18px !important;
		padding-bottom: 18px !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 340px !important;
		margin: 6px auto 12px !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
		justify-self: center !important;
		justify-content: center !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__progress,
	.bjcmp-player--eq-open .bjcmp-player__progress-row,
	.bjcmp-player--eq-open [data-bjcmp-progress] {
		margin-top: 14px !important;
	}
}


/* =========================================================
   1.0.0 MOBILE EQ — CONTAINED TALL REPLACEMENT AREA
   The EQ is taller than artwork on phones, so enlarge the
   actual replacement/Now Playing area instead of letting EQ
   overflow into Library, Clear Tracks, progress or Up Next.
   ========================================================= */
@media (max-width:680px) {
	/* Allow the Now Playing/replacement section itself to grow with EQ. */
	.bjcmp-player--eq-open .bjcmp-player__now-playing,
	.bjcmp-player--eq-open .bjcmp-player__now-playing-main,
	.bjcmp-player--eq-open .bjcmp-player__now-playing-display {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
	}

	/* Keep the EQ completely inside its own containing area. */
	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		position: relative !important;
		height: auto !important;
		min-height: 285px !important;
		max-height: none !important;
		margin: 0 0 16px !important;
		padding: 10px 18px 20px !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}

	/* Centre a narrower five-column fader bank explicitly. */
	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		display: grid !important;
		grid-template-columns: repeat(5, 52px) !important;
		justify-content: center !important;
		justify-items: center !important;
		align-items: end !important;
		column-gap: 4px !important;
		width: 100% !important;
		max-width: none !important;
		height: 145px !important;
		margin: 8px auto 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band {
		width: 52px !important;
		min-width: 52px !important;
	}

	/* Put clear visual air between EQ and playback progress. */
	.bjcmp-player--eq-open .bjcmp-player__progress-wrap {
		margin-top: 16px !important;
	}
}

@container bjcmp-player (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__now-playing,
	.bjcmp-player--eq-open .bjcmp-player__now-playing-main,
	.bjcmp-player--eq-open .bjcmp-player__now-playing-display {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-panel {
		position: relative !important;
		height: auto !important;
		min-height: 285px !important;
		max-height: none !important;
		margin: 0 0 16px !important;
		padding: 10px 18px 20px !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		display: grid !important;
		grid-template-columns: repeat(5, 52px) !important;
		justify-content: center !important;
		justify-items: center !important;
		align-items: end !important;
		column-gap: 4px !important;
		width: 100% !important;
		max-width: none !important;
		height: 145px !important;
		margin: 8px auto 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__eq-band {
		width: 52px !important;
		min-width: 52px !important;
	}

	.bjcmp-player--eq-open .bjcmp-player__progress-wrap {
		margin-top: 16px !important;
	}
}


/* =========================================================
   1.0.0 MOBILE EQ — CENTRE FADER BANK
   Use a shrink-to-content grid so auto margins centre the
   complete five-fader bank rather than a full-width grid.
   ========================================================= */
@media (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		grid-template-columns: repeat(5, 52px) !important;
		column-gap: 4px !important;
		width: max-content !important;
		max-width: calc(100% - 12px) !important;
		margin-left: auto !important;
		margin-right: auto !important;
		justify-self: auto !important;
		justify-content: initial !important;
	}
}

@container bjcmp-player (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		grid-template-columns: repeat(5, 52px) !important;
		column-gap: 4px !important;
		width: max-content !important;
		max-width: calc(100% - 12px) !important;
		margin-left: auto !important;
		margin-right: auto !important;
		justify-self: auto !important;
		justify-content: initial !important;
	}
}


/* =========================================================
   1.0.0 MOBILE EQ — ABSOLUTE GEOMETRIC CENTRING
   Centre the fader bank independently of inherited grid/flex
   alignment by positioning its own midpoint at panel midpoint.
   ========================================================= */
@media (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		position: relative !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		width: 276px !important;
		max-width: calc(100% - 12px) !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		grid-template-columns: repeat(5, 52px) !important;
		column-gap: 4px !important;
	}
}
@container bjcmp-player (max-width:680px) {
	.bjcmp-player--eq-open .bjcmp-player__eq-bands {
		position: relative !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		width: 276px !important;
		max-width: calc(100% - 12px) !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		grid-template-columns: repeat(5, 52px) !important;
		column-gap: 4px !important;
	}
}


/* 1.0.0 — protect BJC range controls from theme/page-builder styling */
.bjcmp-player input[type="range"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 !important;
}
.bjcmp-player input[type="range"]:focus,
.bjcmp-player input[type="range"]:focus-visible,
.bjcmp-player input[type="range"]:active {
	outline: none !important;
	box-shadow: none !important;
}
.bjcmp-player input[type="range"]::-webkit-slider-runnable-track {
	border: 0 !important;
	box-shadow: none !important;
}
.bjcmp-player input[type="range"]::-moz-range-track,
.bjcmp-player input[type="range"]::-moz-range-progress {
	border: 0 !important;
	box-shadow: none !important;
}
.bjcmp-player input[type="range"]::-moz-focus-outer {
	border: 0 !important;
}
