.kol-apes-profile-song-host {
	overflow: visible;
	position: relative;
}

.kol-apes-profile-song-host.kol-apes-profile-song-host--menu-open,
li.product.kol-apes-profile-song-host,
li.product.kol-apes-profile-song-host.kol-apes-profile-song-host--menu-open,
.kol-product-card.kol-apes-profile-song-host,
.kol-product-card.kol-apes-profile-song-host.kol-apes-profile-song-host--menu-open,
.single-product div.product.type-product.kol-apes-profile-song-host,
.single-product div.product.type-product.kol-apes-profile-song-host.kol-apes-profile-song-host--menu-open {
	overflow: visible !important;
	isolation: isolate;
}

.kol-apes-profile-song-host.kol-apes-profile-song-host--menu-open {
	z-index: 3200 !important;
}

.kol-apes-product-menu {
	position: absolute;
	top: 2px;
	right: 2px;
	z-index: 120;
}

.single-product .kol-apes-product-menu {
	top: 2px;
	right: 2px;
}

.kol-apes-product-menu.is-open {
	z-index: 3250;
}

.kol-apes-product-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 28px;
	height: 28px;
	min-width: 28px;
	min-height: 28px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
	cursor: pointer;
	padding: 2px;
	margin: 0;
	line-height: 0;
	color: #0f172a;
	position: relative;
	z-index: 1;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.kol-apes-product-menu-toggle span {
	display: block;
	width: 3px;
	height: 3px;
	border-radius: 999px;
	background: #334155;
}

.kol-apes-product-menu-toggle:hover,
.kol-apes-product-menu-toggle:focus {
	background: #ffffff;
	border-color: rgba(15, 23, 42, 0.22);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
	outline: none;
}

.kol-apes-product-menu-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 180px;
	padding: 8px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
	color: #0f172a;
	z-index: 3260;
}

.kol-apes-product-menu-dropdown.is-floating {
	position: fixed;
	top: 0;
	left: 0;
	right: auto;
	bottom: auto;
	margin: 0;
	overflow: visible;
	pointer-events: auto;
	z-index: 2147483000;
}

.kol-apes-product-menu-item {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #0f172a;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	padding: 10px 12px;
	text-align: left;
}

.kol-apes-product-menu-item:hover,
.kol-apes-product-menu-item:focus {
	background: #f1f5f9;
	outline: none;
}

.kol-apes-product-menu-item:disabled {
	cursor: default;
	opacity: 0.7;
}

.kol-apes-product-menu.is-current-profile-song .kol-apes-product-menu-item {
	background: rgba(16, 185, 129, 0.1);
	color: #047857;
}

html.dark-mode .kol-apes-product-menu-dropdown,
body.dark-mode .kol-apes-product-menu-dropdown,
.dark-mode .kol-apes-product-menu-dropdown,
[data-theme="dark"] .kol-apes-product-menu-dropdown {
	background: #111827;
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 18px 44px rgba(2, 6, 23, 0.52);
}

html.dark-mode .kol-apes-product-menu-toggle,
body.dark-mode .kol-apes-product-menu-toggle,
.dark-mode .kol-apes-product-menu-toggle,
[data-theme="dark"] .kol-apes-product-menu-toggle {
	background: rgba(15, 23, 42, 0.92);
	border-color: rgba(148, 163, 184, 0.22);
	box-shadow: 0 14px 30px rgba(2, 6, 23, 0.42);
	color: #f8fafc;
}

html.dark-mode .kol-apes-product-menu-toggle span,
body.dark-mode .kol-apes-product-menu-toggle span,
.dark-mode .kol-apes-product-menu-toggle span,
[data-theme="dark"] .kol-apes-product-menu-toggle span {
	background: #f8fafc;
}

html.dark-mode .kol-apes-product-menu-toggle:hover,
html.dark-mode .kol-apes-product-menu-toggle:focus,
body.dark-mode .kol-apes-product-menu-toggle:hover,
body.dark-mode .kol-apes-product-menu-toggle:focus,
.dark-mode .kol-apes-product-menu-toggle:hover,
.dark-mode .kol-apes-product-menu-toggle:focus,
[data-theme="dark"] .kol-apes-product-menu-toggle:hover,
[data-theme="dark"] .kol-apes-product-menu-toggle:focus {
	background: #1e293b;
	border-color: rgba(148, 163, 184, 0.34);
	box-shadow: 0 18px 36px rgba(2, 6, 23, 0.54);
}

html.dark-mode .kol-apes-product-menu-item,
body.dark-mode .kol-apes-product-menu-item,
.dark-mode .kol-apes-product-menu-item,
[data-theme="dark"] .kol-apes-product-menu-item {
	color: #f8fafc;
}

html.dark-mode .kol-apes-product-menu.is-current-profile-song .kol-apes-product-menu-item,
body.dark-mode .kol-apes-product-menu.is-current-profile-song .kol-apes-product-menu-item,
.dark-mode .kol-apes-product-menu.is-current-profile-song .kol-apes-product-menu-item,
[data-theme="dark"] .kol-apes-product-menu.is-current-profile-song .kol-apes-product-menu-item {
	background: rgba(52, 211, 153, 0.12);
	color: #a7f3d0;
}

html.dark-mode .kol-apes-product-menu-item:hover,
html.dark-mode .kol-apes-product-menu-item:focus,
body.dark-mode .kol-apes-product-menu-item:hover,
body.dark-mode .kol-apes-product-menu-item:focus {
	background: rgba(255, 255, 255, 0.08);
}

.kol-apes-profile-song-host .kol-product-card-inner,
.kol-apes-profile-song-host .kol-product-card-content,
.kol-apes-profile-song-host .kol-product-card-meta {
	overflow: visible !important;
}

.kol-apes-profile-song-header {
	box-sizing: border-box;
	display: inline-grid;
	gap: 12px;
	margin-top: 14px;
	max-width: min(100%, 620px);
	overflow: visible;
	padding: 16px 18px 18px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.96) 100%);
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
	position: relative;
	vertical-align: top;
	width: fit-content;
}

.kol-apes-profile-song-top {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	align-items: center;
	column-gap: 18px;
	row-gap: 12px;
	padding-right: 24px;
}

.kol-apes-profile-song-copy,
.kol-apes-profile-song-engagement,
.kol-apes-profile-song-player {
	min-width: 0;
	width: 100%;
}

.kol-apes-profile-song-label {
	display: block;
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.kol-apes-profile-song-title {
	display: inline-block;
	color: #0f172a;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.kol-apes-profile-song-title:hover,
.kol-apes-profile-song-title:focus {
	text-decoration: underline;
}

.kol-apes-profile-song-engagement .kol-pec-icons {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	row-gap: 8px !important;
	flex-wrap: wrap !important;
	white-space: normal !important;
}

.kol-apes-profile-song-engagement .kol-pec-icon {
	flex-shrink: 0 !important;
}

.kol-apes-profile-song-player {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-top: 0;
	width: auto;
}

.kol-apes-profile-song-player .wcmp-player-container {
	margin: 0;
	max-width: 100%;
	width: auto;
}

.kol-apes-profile-song-player .mejs-container,
.kol-apes-profile-song-player .mejs-inner,
.kol-apes-profile-song-player .mejs-controls,
.kol-apes-profile-song-player audio {
	max-width: 100% !important;
	width: auto !important;
}

.kol-apes-profile-song-player .mejs-container {
	min-height: 46px;
}

.kol-apes-profile-song-player audio {
	display: block;
}

.kol-apes-profile-song-corner-actions {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	line-height: 1;
}

.kol-apes-profile-song-corner-trigger {
	all: unset;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	font-size: 22px;
	font-family: inherit;
	line-height: 1;
	cursor: pointer;
	text-shadow: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.kol-apes-profile-song-corner-trigger--add {
	min-width: 18px;
	height: 18px;
	padding: 0 4px !important;
	border: 1px solid currentColor !important;
	border-radius: 4px !important;
	font-size: 15px;
	font-weight: 700;
	opacity: 0.82;
}

.kol-apes-profile-song-corner-trigger--clear {
	font-size: 22px;
}

.kol-apes-profile-song-corner-trigger:hover,
.kol-apes-profile-song-corner-trigger:focus {
	background: none !important;
	box-shadow: none !important;
	color: #b91c1c !important;
	outline: none;
}

.kol-apes-profile-song-corner-trigger.is-busy,
.kol-apes-profile-song-corner-trigger[aria-disabled="true"] {
	opacity: 0.6;
	cursor: wait;
	pointer-events: none;
}

html.dark-mode .kol-apes-profile-song-header,
body.dark-mode .kol-apes-profile-song-header {
	background: linear-gradient(135deg, rgba(17, 24, 39, 0.96) 0%, rgba(15, 23, 42, 0.96) 100%);
	border-color: rgba(255, 255, 255, 0.08);
}

html.dark-mode .kol-apes-profile-song-label,
body.dark-mode .kol-apes-profile-song-label {
	color: #cbd5e1;
}

html.dark-mode .kol-apes-profile-song-title,
body.dark-mode .kol-apes-profile-song-title {
	color: #f8fafc;
}

html.dark-mode .kol-apes-profile-song-corner-trigger:hover,
html.dark-mode .kol-apes-profile-song-corner-trigger:focus,
body.dark-mode .kol-apes-profile-song-corner-trigger:hover,
body.dark-mode .kol-apes-profile-song-corner-trigger:focus {
	color: #fca5a5 !important;
}

.kol-apes-profile-song-confirm-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.45);
}

.kol-apes-profile-song-confirm-modal {
	box-sizing: border-box;
	width: min(100%, 360px);
	padding: 20px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
	color: #0f172a;
}

.kol-apes-profile-song-confirm-song {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.kol-apes-profile-song-confirm-song-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(15, 23, 42, 0.08);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.kol-apes-profile-song-confirm-song-artwork {
	display: block;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	object-fit: cover;
	flex-shrink: 0;
}

.kol-apes-profile-song-confirm-song-title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.kol-apes-profile-song-confirm-copy {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #475569;
}

.kol-apes-profile-song-confirm-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}

.kol-apes-profile-song-confirm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 92px;
	height: 36px;
	padding: 0 14px;
	border-radius: 10px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.kol-apes-profile-song-confirm-button--cancel {
	border: 1px solid rgba(15, 23, 42, 0.16);
	background: transparent;
	color: inherit;
}

.kol-apes-profile-song-confirm-button--confirm {
	border: 1px solid #0f172a;
	background: #0f172a;
	color: #ffffff;
}

.kol-apes-profile-song-confirm-button:hover,
.kol-apes-profile-song-confirm-button:focus {
	opacity: 0.92;
	outline: none;
}

html.dark-mode .kol-apes-profile-song-confirm-modal,
body.dark-mode .kol-apes-profile-song-confirm-modal {
	border-color: rgba(255, 255, 255, 0.1);
	background: #111827;
	color: #f8fafc;
}

html.dark-mode .kol-apes-profile-song-confirm-song-icon,
body.dark-mode .kol-apes-profile-song-confirm-song-icon {
	background: rgba(255, 255, 255, 0.08);
}

html.dark-mode .kol-apes-profile-song-confirm-copy,
body.dark-mode .kol-apes-profile-song-confirm-copy {
	color: #cbd5e1;
}

html.dark-mode .kol-apes-profile-song-confirm-button--cancel,
body.dark-mode .kol-apes-profile-song-confirm-button--cancel {
	border-color: rgba(255, 255, 255, 0.16);
	color: inherit;
}

html.dark-mode .kol-apes-profile-song-confirm-button--confirm,
body.dark-mode .kol-apes-profile-song-confirm-button--confirm {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #111827;
}

.kol-apes-placement-debug {
	box-sizing: border-box;
	display: inline-grid;
	gap: 4px;
	min-width: 180px;
	min-height: 74px;
	margin-top: 12px;
	padding: 12px 14px;
	border: 2px dashed currentColor;
	border-radius: 16px;
	font-weight: 700;
	opacity: 0.9;
	pointer-events: none;
}

.kol-apes-placement-debug-label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.kol-apes-placement-debug-title {
	font-size: 16px;
	line-height: 1.2;
}

.kol-apes-placement-debug--a {
	background: rgba(239, 68, 68, 0.16);
	color: #b91c1c;
}

#item-header-avatar.kol-apes-avatar-debug-host {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

#item-header-avatar.kol-apes-avatar-debug-host > .avatar-wrap {
	flex: 0 0 auto;
}

#item-header-avatar.kol-apes-avatar-debug-host > .kol-apes-placement-debug--a {
	display: block;
	flex: 0 0 100%;
	max-width: 100%;
	margin-top: 12px;
}

#item-header-avatar.kol-apes-avatar-card-host {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	max-width: 100%;
	width: auto;
}

#item-header-avatar.kol-apes-avatar-card-host > .avatar-wrap {
	flex: 0 0 auto;
}

.kol-apes-profile-song-slot--a {
	display: block;
	margin-top: 0;
	max-width: 100%;
	width: auto;
}

.kol-apes-profile-song-slot--a .kol-apes-profile-song-header {
	margin-top: 0;
	max-width: min(100%, 320px);
}

.kol-apes-placement-debug--b {
	background: rgba(236, 72, 153, 0.14);
	color: #be185d;
}

.kol-apes-placement-debug--c {
	background: rgba(245, 158, 11, 0.16);
	color: #b45309;
}

.kol-apes-placement-debug--d {
	background: rgba(16, 185, 129, 0.16);
	color: #047857;
}

.kol-apes-placement-debug--e {
	background: rgba(139, 92, 246, 0.16);
	color: #6d28d9;
}

.kol-apes-profile-song-slot--d {
	display: block;
	flex-basis: 100%;
	margin-top: 16px;
	width: 100%;
}

.kol-apes-profile-song-slot--d .kol-apes-profile-song-header {
	margin-top: 0;
}

@media (max-width: 640px) {
	.kol-apes-product-menu {
		top: 10px;
		right: 10px;
	}

	.kol-apes-profile-song-top {
		grid-template-columns: minmax(0, 1fr);
	}

	.kol-apes-profile-song-copy,
	.kol-apes-profile-song-player {
		width: 100%;
	}

	.kol-apes-profile-song-player {
		justify-content: flex-start;
		width: 100%;
	}

	.kol-apes-profile-song-header {
		max-width: 100%;
		padding: 14px 14px 16px;
	}
}
