.eightd-audio-converter-page .aleft {
	text-align: left !important;
}

.eightd-audio-converter {
	--eightd-accent: #0090c5;
	--eightd-accent-dark: #007fab;
	--eightd-accent-soft: #e8f6fb;
	--eightd-ink: #17212f;
	--eightd-muted: #516276;
	--eightd-border: #d6e1ea;
	--eightd-surface: #fff;
	--eightd-danger: #b73737;
	color: var(--eightd-ink);
	font-size: 16px;
	line-height: 1.5;
	margin: 0 auto;
	max-width: 920px;
}

.eightd-audio-converter [hidden] {
	display: none !important;
}

.eightd-audio-converter *,
.eightd-audio-converter *::before,
.eightd-audio-converter *::after {
	box-sizing: border-box;
}

.eightd-header {
	margin-bottom: 22px;
	text-align: center;
}

.eightd-header .entry-title {
	margin-bottom: 8px;
}

.eightd-intro {
	color: var(--eightd-muted);
	font-size: 18px;
	margin: 0 auto 14px;
}

.eightd-headphones {
	color: #000;
	font-weight: 700;
	margin: 0;
}

.eightd-card {
	background: var(--eightd-surface);
	border: 1px solid var(--eightd-border);
	border-radius: 14px;
	box-shadow: 0 7px 24px rgba(23, 33, 47, .07);
	margin: 0 0 22px;
	padding: 24px;
	text-align: left;
}

.eightd-file-input {
	height: 1px;
	left: -10000px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.eightd-dropzone {
	align-items: center;
	background: linear-gradient(135deg, #f7fafc, #eef8fc);
	border: 2px dashed #b9cad8;
	border-radius: 12px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 145px;
	padding: 24px;
	text-align: center;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.eightd-dropzone:hover,
.eightd-dropzone:focus-within,
.eightd-dropzone.is-dragging {
	background: var(--eightd-accent-soft);
	border-color: var(--eightd-accent);
	transform: translateY(-1px);
}

.eightd-dropzone-title {
	color: var(--eightd-ink);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 5px;
}

.eightd-dropzone-subtitle,
.eightd-copyright {
	color: var(--eightd-muted);
	font-size: 14px;
}

.eightd-copyright {
	margin: 14px 0 0;
	text-align: center;
}

.eightd-upload-meta-row {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.eightd-file-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	min-width: 0;
}

.eightd-file-meta strong {
	flex-basis: 100%;
	overflow-wrap: anywhere;
}

.eightd-file-meta span {
	color: var(--eightd-muted);
	font-size: 14px;
}

.eightd-button,
.eightd-audio-converter button {
	-webkit-appearance: none;
	appearance: none;
	border-radius: 7px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.eightd-button {
	align-items: center;
	border: 1px solid transparent;
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	padding: 11px 18px;
	text-align: center;
	text-decoration: none !important;
}

.eightd-button:hover,
.eightd-button:focus-visible {
	transform: translateY(-1px);
}

.eightd-button-primary,
.eightd-button-primary:visited {
	background: var(--eightd-accent);
	border-color: var(--eightd-accent);
	color: #fff !important;
}

.eightd-button-primary:hover,
.eightd-button-primary:focus-visible {
	background: var(--eightd-accent-dark);
	border-color: var(--eightd-accent-dark);
	color: #fff !important;
}

.eightd-button-secondary {
	background: #7b8794 !important;
	border-color: #7b8794 !important;
	color: #fff !important;
}

.eightd-button-secondary:hover,
.eightd-button-secondary:focus-visible {
	background: #687582 !important;
	border-color: #687582 !important;
	color: #fff !important;
}

.eightd-button-danger {
	background: var(--eightd-danger);
	border-color: var(--eightd-danger);
	color: #fff !important;
}

.eightd-button[disabled],
.eightd-audio-converter button[disabled] {
	cursor: not-allowed;
	opacity: .55;
	transform: none;
}

.eightd-status {
	border-radius: 8px;
	font-size: 14px;
	margin-top: 14px;
	padding: 10px 12px;
}

.eightd-status.is-error {
	background: #fff0f0;
	border: 1px solid #efbcbc;
	color: #922d2d;
}

.eightd-status.is-info {
	background: #f0f6ff;
	border: 1px solid #c6daf8;
	color: #365c91;
}

.eightd-preview-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0 auto 20px;
	max-width: 370px;
}

.eightd-preview-toggle button {
	background: #7b8794 !important;
	border: 1px solid #7b8794 !important;
	color: #fff !important;
	min-height: 42px;
	padding: 9px 18px;
}

.eightd-preview-toggle button:not(.is-active):hover,
.eightd-preview-toggle button:not(.is-active):focus-visible {
	background: #687582 !important;
	border-color: #687582 !important;
	color: #fff !important;
}

.eightd-preview-toggle button:first-child {
	border-radius: 8px 0 0 8px;
}

.eightd-preview-toggle button:last-child {
	border-left: 0;
	border-radius: 0 8px 8px 0;
}

.eightd-preview-toggle button.is-active {
	background: var(--eightd-accent) !important;
	border-color: var(--eightd-accent) !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(0, 144, 197, .25);
}

.eightd-waveform-row {
	align-items: center;
	display: grid;
	gap: 15px;
	grid-template-columns: 82px minmax(0, 1fr);
}

.eightd-player-stack {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.eightd-play-button {
	align-items: center;
	background: var(--eightd-accent);
	border: 0;
	border-radius: 50% !important;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	padding: 0;
	width: 48px;
}

.eightd-play-button span {
	border-bottom: 8px solid transparent;
	border-left: 13px solid #fff;
	border-top: 8px solid transparent;
	display: block;
	margin-left: 3px;
}

.eightd-play-button.is-playing span {
	border: 0;
	height: 16px;
	margin: 0;
	position: relative;
	width: 14px;
}

.eightd-play-button.is-playing span::before,
.eightd-play-button.is-playing span::after {
	background: #fff;
	content: '';
	height: 16px;
	position: absolute;
	top: 0;
	width: 4px;
}

.eightd-play-button.is-playing span::before {
	left: 1px;
}

.eightd-play-button.is-playing span::after {
	right: 1px;
}

.eightd-player-time {
	color: var(--eightd-muted);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.eightd-waveform-shell {
	background: #f7fafc;
	border: 1px solid #d6e1ea;
	border-radius: 9px;
	cursor: pointer;
	min-height: 96px;
	overflow: hidden;
	position: relative;
}

.eightd-waveform {
	min-height: 94px;
}

.eightd-waveform-loading {
	align-items: center;
	background: rgba(247, 250, 252, .92);
	color: var(--eightd-muted);
	display: flex;
	inset: 0;
	justify-content: center;
	position: absolute;
}

.eightd-section-heading {
	align-items: flex-start;
	display: flex;
	gap: 15px;
	justify-content: space-between;
	margin-bottom: 17px;
}

.eightd-section-heading h2,
.eightd-result h2 {
	font-size: 23px;
	line-height: 1.25;
	margin: 0 0 4px;
}

.eightd-section-heading p {
	color: var(--eightd-muted);
	margin: 0;
}

.eightd-preset-state {
	background: var(--eightd-accent-soft);
	border-radius: 999px;
	color: var(--eightd-accent-dark);
	font-size: 13px;
	font-weight: 700;
	padding: 6px 11px;
	white-space: nowrap;
}

.eightd-presets {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(5, 1fr);
	margin-bottom: 24px;
}

.eightd-presets button {
	background: #7b8794 !important;
	border: 1px solid #7b8794 !important;
	color: #fff !important;
	min-height: 42px;
	padding: 8px 7px;
}

.eightd-presets button:not(.is-active):hover,
.eightd-presets button:not(.is-active):focus-visible {
	background: #687582 !important;
	border-color: #687582 !important;
	color: #fff !important;
}

.eightd-presets button.is-active {
	background: var(--eightd-accent) !important;
	border-color: var(--eightd-accent) !important;
	color: #fff !important;
}

.eightd-presets button.is-active:hover,
.eightd-presets button.is-active:focus-visible {
	background: var(--eightd-accent-dark) !important;
	border-color: var(--eightd-accent-dark) !important;
}

.eightd-settings-layout {
	align-items: center;
	display: grid;
	gap: 30px;
	grid-template-columns: 230px minmax(0, 1fr);
}

.eightd-orbit-panel {
	text-align: center;
}

.eightd-orbit {
	background: radial-gradient(circle, rgba(0, 144, 197, .11) 0 14%, transparent 15%), linear-gradient(135deg, #f7fafc, #eef8fc);
	border: 2px solid #b9dce8;
	border-radius: 50%;
	height: 190px;
	margin: 0 auto;
	position: relative;
	width: 190px;
}

.eightd-orbit::before,
.eightd-orbit::after {
	content: '';
	opacity: .45;
	position: absolute;
}

.eightd-orbit::before {
	border-left: 1px dashed #9cb2c4;
	bottom: 12px;
	left: 50%;
	top: 12px;
}

.eightd-orbit::after {
	border-top: 1px dashed #9cb2c4;
	left: 12px;
	right: 12px;
	top: 50%;
}

.eightd-orbit-source {
	background: var(--eightd-accent);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 3px 12px rgba(0, 122, 167, .32);
	height: 20px;
	left: calc(50% - 10px);
	position: absolute;
	top: 7px;
	transform: translate(0, 0);
	width: 20px;
	z-index: 3;
}

.eightd-listener {
	font-size: 30px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.eightd-side {
	color: var(--eightd-muted);
	font-size: 12px;
	font-weight: 700;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.eightd-side-left {
	left: 15px;
}

.eightd-side-right {
	right: 15px;
}

.eightd-orbit-panel p {
	color: var(--eightd-muted);
	font-size: 13px;
	margin: 9px 0 0;
}

.eightd-orbit.is-disabled {
	background: #f1f4f6;
	border-color: #c8d2da;
}

.eightd-orbit.is-disabled::before,
.eightd-orbit.is-disabled::after {
	opacity: .2;
}

.eightd-orbit.is-disabled .eightd-listener,
.eightd-orbit.is-disabled .eightd-side {
	filter: grayscale(1);
	opacity: .55;
}

.eightd-controls {
	display: grid;
	gap: 18px;
}

.eightd-control-heading {
	align-items: baseline;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 8px;
}

.eightd-control-heading label,
.eightd-direction legend {
	color: var(--eightd-ink);
	font-weight: 700;
}

.eightd-control-heading output {
	color: var(--eightd-accent-dark);
	font-size: 14px;
	font-weight: 700;
}

.eightd-control input[type="range"] {
	accent-color: var(--eightd-accent);
	cursor: pointer;
	margin: 0;
	width: 100%;
}

#eightd-rotation {
	--eightd-rotation-fill: 70%;
	-webkit-appearance: none;
	appearance: none;
	background: linear-gradient(
		to right,
		var(--eightd-accent) 0,
		var(--eightd-accent) var(--eightd-rotation-fill),
		#e5e9ec var(--eightd-rotation-fill),
		#e5e9ec 100%
	);
	border: 1px solid #aeb8c0;
	border-radius: 999px;
	height: 8px;
}

#eightd-rotation::-webkit-slider-runnable-track {
	background: transparent;
	border: 0;
	height: 8px;
}

#eightd-rotation::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	background: var(--eightd-accent);
	border: 0;
	border-radius: 50%;
	height: 26px;
	margin-top: -9px;
	width: 26px;
}

#eightd-rotation::-moz-range-track {
	background: transparent;
	border: 0;
	height: 8px;
}

#eightd-rotation::-moz-range-progress {
	background: transparent;
}

#eightd-rotation::-moz-range-thumb {
	background: var(--eightd-accent);
	border: 0;
	border-radius: 50%;
	height: 26px;
	width: 26px;
}

#eightd-rotation:focus-visible {
	box-shadow: 0 0 0 3px rgba(0, 144, 197, .18);
	outline: none;
}

.eightd-direction {
	border: 0;
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.eightd-direction legend {
	grid-column: 1 / -1;
	margin-bottom: 5px;
}

.eightd-direction label {
	align-items: center;
	background: #7b8794;
	border: 1px solid #7b8794;
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	display: flex;
	gap: 7px;
	min-height: 40px;
	padding: 8px 10px;
}

.eightd-direction label:hover,
.eightd-direction label:focus-within {
	background: #687582;
	border-color: #687582;
}

.eightd-direction label:has(input:checked) {
	background: var(--eightd-accent);
	border-color: var(--eightd-accent);
	color: #fff;
}

.eightd-direction label:has(input:checked):hover,
.eightd-direction label:has(input:checked):focus-within {
	background: var(--eightd-accent-dark);
	border-color: var(--eightd-accent-dark);
}

.eightd-direction input {
	height: 1px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	width: 1px;
}

.eightd-switch {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	gap: 10px;
	width: fit-content;
}

.eightd-switch input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.eightd-switch-track {
	background: #9cb2c4;
	border-radius: 999px;
	height: 24px;
	position: relative;
	transition: background .18s ease;
	width: 44px;
}

.eightd-switch-track::after {
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .24);
	content: '';
	height: 18px;
	left: 3px;
	position: absolute;
	top: 3px;
	transition: transform .18s ease;
	width: 18px;
}

.eightd-switch input:checked + .eightd-switch-track {
	background: var(--eightd-accent);
}

.eightd-switch input:checked + .eightd-switch-track::after {
	transform: translateX(20px);
}

.eightd-switch input:focus-visible + .eightd-switch-track {
	box-shadow: 0 0 0 3px rgba(0, 144, 197, .25);
}

.eightd-render-actions,
.eightd-result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 26px;
}

#eightd-create-button {
	font-size: 17px;
	min-width: 245px;
}

.eightd-progress {
	margin-top: 20px;
}

.eightd-progress-track {
	background: #d6e1ea;
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
}

.eightd-progress-bar {
	background: var(--eightd-accent);
	height: 100%;
	transition: width .15s ease;
	width: 0;
}

.eightd-progress-row {
	color: var(--eightd-muted);
	display: flex;
	font-size: 13px;
	gap: 12px;
	justify-content: space-between;
	margin-top: 7px;
}

.eightd-result {
	text-align: center;
}

.eightd-result-details {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
	margin: 0 auto;
	max-width: 650px;
}

.eightd-result-details div {
	background: #f7fafc;
	border-radius: 8px;
	padding: 10px;
}

.eightd-result-details dt {
	color: var(--eightd-muted);
	font-size: 12px;
	font-weight: 400;
}

.eightd-result-details dd {
	font-weight: 700;
	margin: 2px 0 0;
}

.eightd-tool-ad {
	margin: 20px auto 28px;
	text-align: center;
}

.eightd-custom-ad {
	display: block;
	margin: 0 auto;
	max-width: 920px;
	text-decoration: none;
}

.eightd-custom-ad h2 {
	margin: 0 0 18px;
}

.eightd-custom-ad-copy {
	font-size: 17px;
	line-height: 1.55;
	margin: 0 auto 18px;
	max-width: 780px;
}

.eightd-custom-ad-image {
	margin: 0 auto;
	width: 80%;
}

.eightd-custom-ad-image img {
	display: block;
	height: auto;
	width: 100%;
}

.eightd-ad-login-message {
	color: var(--eightd-muted);
	font-size: 13px;
	margin-top: 7px;
}

@media (max-width: 760px) {
	.eightd-card {
		padding: 19px;
	}

	.eightd-presets {
		grid-template-columns: repeat(2, 1fr);
	}

	.eightd-presets button:nth-child(5) {
		grid-column: 1 / -1;
	}

	.eightd-settings-layout {
		grid-template-columns: 1fr;
	}

	.eightd-orbit {
		height: 170px;
		width: 170px;
	}
}

@media (max-width: 520px) {
	.eightd-audio-converter {
		font-size: 15px;
	}

	.eightd-card {
		border-radius: 11px;
		padding: 16px;
	}

	.eightd-upload-meta-row,
	.eightd-section-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.eightd-dropzone {
		min-height: 130px;
		padding: 19px 12px;
	}

	.eightd-upload-meta-row .eightd-button {
		width: 100%;
	}

	.eightd-custom-ad {
		padding: 28px 16px 14px;
	}

	.eightd-custom-ad h2 {
		font-size: 25px;
	}

	.eightd-custom-ad-copy {
		font-size: 15px;
	}

	.eightd-custom-ad-image {
		width: 90%;
	}

	.eightd-waveform-row {
		align-items: stretch;
		grid-template-columns: 58px minmax(0, 1fr);
		position: relative;
	}

	.eightd-player-stack {
		justify-content: center;
		z-index: 2;
	}

	.eightd-waveform-shell {
		z-index: 1;
	}

	.eightd-player-time {
		background: rgba(23, 33, 47, .82);
		border-radius: 4px;
		bottom: 7px;
		color: #fff;
		font-size: 10px;
		left: calc(58px + 15px + 7px);
		line-height: 1.2;
		padding: 2px 4px;
		pointer-events: none;
		position: absolute;
		transform: none;
		width: auto;
		z-index: 3;
	}

	.eightd-section-heading {
		gap: 8px;
	}

	.eightd-preset-state {
		align-self: flex-start;
	}

	.eightd-direction,
	.eightd-result-details {
		grid-template-columns: 1fr;
	}

	.eightd-result-actions .eightd-button,
	.eightd-render-actions .eightd-button {
		width: 100%;
	}

	#eightd-create-button {
		min-width: 0;
	}
}
