/* Cache-proof asset: filename changes when the player design changes. */
.ncwp {
	--ncwp-navy: #07163b;
	--ncwp-deep: #04102a;
	--ncwp-cyan: #12b9f1;
	--ncwp-lime: #70d509;
	--ncwp-track: #56739f;
	position: relative;
	width: 100%;
	max-width: none;
	margin-top: -14px;
	color: #fff;
	background: var(--ncwp-navy);
	box-shadow: 0 0 0 100vmax var(--ncwp-navy);
	clip-path: inset(0 -100vmax);
	font-family: Poppins, Helvetica, Arial, sans-serif;
}

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

.ncwp__inner {
	width: 75%;
	min-height: 0;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
	align-items: center;
	gap: clamp(36px, 5vw, 56px);
	padding: 22px 0;
}

.ncwp__player,
.ncwp__custom,
.ncwp__controls,
.ncwp__timeline {
	min-width: 0;
}

.ncwp__custom[hidden] {
	display: none !important;
}

.ncwp__controls {
	display: grid;
	grid-template-columns: 56px minmax(150px, 1fr) 40px;
	align-items: center;
	gap: 16px;
}

.ncwp button.ncwp__play,
.ncwp button.ncwp__mute {
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	display: inline-grid;
	place-items: center;
	border: 0;
	outline: 0;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.ncwp button.ncwp__play {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	color: var(--ncwp-navy);
	background: var(--ncwp-lime);
	box-shadow: 0 0 0 1px rgba(112, 213, 9, .35), 0 12px 30px rgba(0, 0, 0, .28), 0 0 30px rgba(112, 213, 9, .12);
}

.ncwp__play .dashicons {
	width: 24px;
	height: 24px;
	font-size: 24px;
	line-height: 24px;
}

.ncwp__play[aria-label^='Play'] .dashicons {
	margin-left: 3px;
}

.ncwp button.ncwp__mute {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(18, 185, 241, .24);
	border-radius: 50%;
	color: #fff;
	background: rgba(18, 185, 241, .05);
}

.ncwp__mute .dashicons {
	width: 24px;
	height: 24px;
	font-size: 24px;
	line-height: 24px;
}

.ncwp button.ncwp__play:hover {
	transform: translateY(-2px);
	background: #7ce70b;
	box-shadow: 0 0 0 1px rgba(124, 231, 11, .46), 0 16px 34px rgba(0, 0, 0, .3), 0 0 34px rgba(112, 213, 9, .2);
}

.ncwp button.ncwp__mute:hover {
	background: rgba(18, 185, 241, .14);
}

.ncwp button.ncwp__play:focus-visible,
.ncwp button.ncwp__mute:focus-visible,
.ncwp .ncwp__seek:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

.ncwp__seek-shell {
	position: relative;
	height: 28px;
	display: flex;
	align-items: center;
}

.ncwp__seek-base,
.ncwp__seek-progress {
	position: absolute;
	left: 0;
	top: 50%;
	height: 4px;
	border-radius: 10px;
	transform: translateY(-50%);
	pointer-events: none;
}

.ncwp__seek-base {
	width: 100%;
	background: var(--ncwp-track);
}

.ncwp__seek-progress {
	width: 0;
	background: linear-gradient(90deg, var(--ncwp-cyan), var(--ncwp-lime));
	box-shadow: 0 0 12px rgba(18, 185, 241, .45);
}

.ncwp .ncwp__seek {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 28px;
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.ncwp__seek::-webkit-slider-runnable-track {
	height: 4px;
	border: 0;
	background: transparent;
}

.ncwp__seek::-moz-range-track {
	height: 4px;
	border: 0;
	background: transparent;
}

.ncwp__seek::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	margin-top: -7px;
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	border-radius: 50%;
	background: var(--ncwp-cyan);
	box-shadow: 0 0 0 4px rgba(18, 185, 241, .14), 0 0 14px rgba(18, 185, 241, .4);
}

.ncwp__seek::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 0;
	border-radius: 50%;
	background: var(--ncwp-cyan);
	box-shadow: 0 0 0 4px rgba(18, 185, 241, .14), 0 0 14px rgba(18, 185, 241, .4);
}

.ncwp__times {
	margin-top: -2px;
	display: flex;
	justify-content: space-between;
	color: #d9e8fb;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	letter-spacing: .02em;
}

.ncwp .ncwp__message {
	min-height: 18px;
	margin: 8px 0 0 72px;
	padding: 0;
	color: #d9e8fb;
	font-size: 12px;
	line-height: 1.4;
}

.ncwp .ncwp__message:empty {
	display: none;
}

.ncwp__native {
	width: 100%;
}

.ncwp--ready .ncwp__native {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.ncwp__visualizer {
	position: relative;
	height: 86px;
	border: 0;
	background: transparent;
	box-shadow: none;
	overflow: hidden;
}

.ncwp__visualizer::before,
.ncwp__visualizer::after {
	content: none;
}

.ncwp__canvas,
.ncwp__signal {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ncwp__canvas {
	z-index: 2;
	display: block;
}

.ncwp__signal {
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 4px;
	opacity: .72;
}

.ncwp__signal span {
	flex: 1 1 0;
	height: 58%;
	min-height: 8px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--ncwp-lime), var(--ncwp-cyan));
	transform-origin: center;
	box-shadow: 0 0 8px rgba(18, 185, 241, .22);
}

.ncwp--canvas .ncwp__signal {
	opacity: 0;
}

.ncwp--fallback.ncwp--playing .ncwp__signal span {
	animation: ncwp-signal .72s ease-in-out infinite alternate;
	animation-delay: calc(var(--ncwp-bar) * -37ms);
}

@keyframes ncwp-signal {
	from { transform: scaleY(.32); opacity: .55; }
	to { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 760px) {
	.ncwp__inner {
		width: min(calc(100% - 32px), 540px);
		min-height: 0;
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 18px 0 20px;
	}

	.ncwp__controls {
		grid-template-columns: 52px minmax(0, 1fr) 38px;
		gap: 12px;
	}

	.ncwp button.ncwp__play {
		width: 52px;
		height: 52px;
	}

	.ncwp__play .dashicons {
		width: 26px;
		height: 26px;
		font-size: 26px;
		line-height: 26px;
	}

	.ncwp button.ncwp__mute {
		width: 38px;
		height: 38px;
	}

	.ncwp .ncwp__message {
		margin-left: 64px;
	}

	.ncwp__visualizer {
		width: 82%;
		max-width: 300px;
		height: 72px;
		grid-row: 1;
		justify-self: center;
	}

	.ncwp__player {
		width: 100%;
		grid-row: 2;
	}
}

@media (max-width: 390px) {
	.ncwp__inner {
		width: calc(100% - 28px);
	}

	.ncwp__controls {
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ncwp *,
	.ncwp *::before,
	.ncwp *::after {
		animation: none !important;
		transition: none !important;
	}
}
