.audio-speed-changer-page {
	padding: 0;
}

.audio-speed-changer {
	margin: 0 auto 40px;
	max-width: 960px;
	color: #17212f;
	text-align: left;
}

.asc-header {
	padding: 30px 0 18px;
	text-align: center;
}

.asc-header h1 {
	margin: 0 0 12px;
	color: #000;
}

.asc-intro {
	margin: 0 auto 14px;
	max-width: 700px;
	color: #30425b;
	font-size: 1.08rem;
	line-height: 1.55;
}

.asc-privacy {
	display: inline-block;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #cfe1dc;
	border-radius: 5px;
	background: #f0f8f5;
	color: #235144;
	font-size: .95rem;
	line-height: 1.45;
}

.asc-section {
	margin: 0 0 18px;
	padding: 22px;
	border: 1px solid #d6e1ea;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 14px rgba(23, 33, 47, .07);
}

.asc-section h2 {
	margin: 0 0 10px;
	color: #17212f;
	font-size: 1.2rem;
	line-height: 1.3;
}

.asc-section h3 {
	margin: 0 0 8px;
	color: #17212f;
	font-size: 1.05rem;
	line-height: 1.3;
}

.asc-section-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.asc-muted,
.asc-dropzone-subtitle {
	margin: 0;
	color: #6a7a8d;
	font-size: .95rem;
	line-height: 1.45;
}

.asc-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.asc-dropzone {
	display: flex;
	min-height: 170px;
	padding: 24px;
	border: 2px dashed #9cb2c4;
	border-radius: 8px;
	background: #f7fafc;
	color: #30425b;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.asc-dropzone[hidden] {
	display: none;
}

.asc-dropzone:hover,
.asc-dropzone:focus-within,
.asc-dropzone.is-dragging {
	border-color: #0090c5;
	background: #eef8fb;
	box-shadow: 0 0 0 3px rgba(0, 144, 197, .12);
}

.asc-dropzone-title {
	display: block;
	margin-bottom: 8px;
	font-size: 1.25rem;
	font-weight: 700;
}

.asc-upload-meta-row {
	display: flex;
	margin-top: 12px;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
}

.asc-upload-meta-row[hidden],
.asc-status[hidden] {
	display: none;
}

.asc-file-meta {
	color: #30425b;
	font-size: .95rem;
	line-height: 1.4;
	flex: 1 1 auto;
	min-width: 0;
}

.asc-preview-stat strong,
.asc-file-meta,
.asc-preview-time,
.asc-slider-labels,
.asc-select {
	font-variant-numeric: tabular-nums;
}

.asc-slider-wrap {
	position: relative;
	margin-top: 34px;
}

.asc-speed-slider {
	width: 100%;
	accent-color: #0090c5;
}

.asc-speed-bubble {
	position: absolute;
	top: -32px;
	left: 33.3333%;
	min-width: 52px;
	padding: 4px 9px;
	border-radius: 6px;
	background: #17212f;
	color: #fff;
	font-size: .86rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	transform: translateX(-50%);
	pointer-events: none;
}

.asc-speed-bubble::after {
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 10px;
	height: 10px;
	background: #17212f;
	content: "";
	transform: translateX(-50%) rotate(45deg);
}

.asc-slider-labels {
	position: relative;
	height: 24px;
	margin-top: 8px;
	color: #30425b;
	font-size: .92rem;
	font-weight: 700;
}

.asc-slider-labels span {
	position: absolute;
	top: 0;
}

.asc-slider-labels span:first-child {
	left: 0;
}

.asc-slider-labels span:nth-child(2) {
	left: 33.3333%;
	transform: translateX(-50%);
}

.asc-slider-labels span:last-child {
	right: 0;
}

.asc-recommended-range {
	position: relative;
	margin: 12px 0 0 16.6667%;
	width: 40%;
	padding-top: 8px;
	border-top: 3px solid #b9ddd5;
	color: #235144;
	font-size: .9rem;
	font-weight: 700;
	text-align: center;
}

.asc-checkbox-option {
	display: inline-flex;
	margin-top: 18px;
	gap: 8px;
	align-items: center;
	color: #30425b;
	cursor: pointer;
	font-size: .96rem;
	font-weight: 700;
	line-height: 1.4;
}

.asc-checkbox-option input {
	width: 18px;
	height: 18px;
	accent-color: #0090c5;
}

.asc-checkbox-option input:disabled,
.asc-checkbox-option.is-disabled {
	cursor: not-allowed;
	opacity: .55;
}

.asc-preview-grid {
	display: grid;
	gap: 12px 14px;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	align-items: center;
	min-height: 76px;
}

.asc-preview-stats {
	display: flex;
	gap: 10px;
	grid-column: 1 / -1;
	justify-content: flex-start;
}

.asc-preview-stat {
	display: inline-flex;
	min-width: 86px;
	min-height: 58px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #17212f;
	color: #fff;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	line-height: 1.1;
	text-align: center;
}

.asc-preview-stat strong {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
}

.asc-preview-stat span {
	margin-top: 4px;
	color: #fff;
	font-size: .64rem;
	font-weight: 800;
	letter-spacing: .08em;
}

.asc-waveform {
	position: relative;
	display: block;
	height: 50px;
	overflow: hidden;
	border: 1px solid #cbd9e4;
	border-radius: 6px;
	background: linear-gradient(180deg, #f8fbfd 0%, #edf5f8 100%);
	cursor: pointer;
	grid-column: 1 / -1;
	touch-action: none;
}

.asc-waveform[hidden] {
	display: none;
}

.asc-waveform:focus {
	outline: 2px solid #0090c5;
	outline-offset: 2px;
}

.asc-waveform.is-disabled {
	cursor: not-allowed;
	opacity: .55;
}

.asc-waveform-canvas {
	display: block;
	width: 100%;
	height: 50px;
}

.asc-waveform-cursor {
	position: absolute;
	top: 5px;
	bottom: 5px;
	left: 0;
	width: 2px;
	border-radius: 999px;
	background: #f06423;
	box-shadow: 0 0 0 2px rgba(240, 100, 35, .16);
	transform: translateX(-1px);
	pointer-events: none;
}

.asc-wave-toggle {
	position: relative;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #0090c5;
	color: #fff;
	cursor: pointer;
	flex: 0 0 auto;
	transition: background-color .2s ease, opacity .2s ease;
}

.asc-wave-toggle:hover:not(:disabled),
.asc-wave-toggle:focus:not(:disabled) {
	background: #007aa7;
}

.asc-wave-toggle:disabled,
.asc-button:disabled,
.asc-select:disabled,
.asc-speed-slider:disabled {
	cursor: not-allowed;
	opacity: .45;
}

.asc-wave-toggle-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 16px solid #fff;
	transform: translate(-38%, -50%);
}

.asc-wave-toggle.is-playing .asc-wave-toggle-icon {
	width: 16px;
	height: 20px;
	border: 0;
	transform: translate(-50%, -50%);
}

.asc-wave-toggle.is-playing .asc-wave-toggle-icon::before,
.asc-wave-toggle.is-playing .asc-wave-toggle-icon::after {
	position: absolute;
	top: 0;
	width: 5px;
	height: 20px;
	background: #fff;
	content: "";
}

.asc-wave-toggle.is-playing .asc-wave-toggle-icon::before {
	left: 0;
}

.asc-wave-toggle.is-playing .asc-wave-toggle-icon::after {
	right: 0;
}

.asc-preview-time {
	margin-bottom: 4px;
	color: #17212f;
	font-size: 1.25rem;
	font-weight: 700;
}

.asc-preview-copy {
	display: flex;
	min-height: 52px;
	justify-content: center;
	flex-direction: column;
}

.asc-preview-export {
	justify-self: end;
}

.asc-export-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asc-format-card {
	padding: 18px;
	border: 1px solid #d6e1ea;
	border-radius: 8px;
	background: #f7fafc;
}

.asc-format-card h3 {
	margin-bottom: 10px;
}

.asc-size-estimate {
	color: #6a7a8d;
	font-size: .82rem;
	font-weight: 700;
	white-space: nowrap;
}

.asc-format-card .asc-button,
.asc-format-card .asc-select {
	margin-top: 14px;
}

.asc-button {
	display: inline-flex;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 5px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, opacity .2s ease;
}

.asc-button-primary {
	background: #0090c5;
	color: #fff;
}

.asc-button-primary:hover:not(:disabled),
.asc-button-primary:focus:not(:disabled) {
	background: #007aa7;
	color: #fff;
}

.asc-button-secondary {
	background: #30425b;
	color: #fff;
}

.asc-button-secondary:hover:not(:disabled),
.asc-button-secondary:focus:not(:disabled) {
	background: #1f2d40;
	color: #fff;
}

.asc-bitrate-label {
	display: block;
	margin: 14px 0 6px;
	color: #30425b;
	font-size: .92rem;
	font-weight: 700;
}

.asc-select {
	display: block;
	width: 150px;
	max-width: 100%;
	min-height: 40px;
	padding: 0 10px;
	border: 1px solid #b8c7d4;
	border-radius: 5px;
	background: #fff;
	color: #17212f;
}

.asc-status {
	margin-top: 14px;
	padding: 10px 12px;
	border: 1px solid #cfe1dc;
	border-radius: 5px;
	background: #f0f8f5;
	color: #235144;
	font-size: .95rem;
	line-height: 1.45;
}

.asc-status.is-error {
	border-color: #f1c0c0;
	background: #fff1f1;
	color: #842029;
}

.asc-status.is-success {
	border-color: #b9ddd5;
	background: #edf8f5;
	color: #235144;
}

.asc-export-ad {
	margin: 0 0 18px;
}

.asc-ad-login-message {
	margin: 8px 0 0;
	color: #6a7a8d;
	font-size: .92rem;
}

@media (max-width: 720px) {
	.asc-section {
		padding: 18px;
	}

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

	.asc-preview-grid {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.asc-preview-stats {
		grid-row: 1;
		justify-content: flex-start;
	}

	.asc-waveform {
		grid-column: 2;
		grid-row: 2;
	}

	.asc-wave-toggle {
		grid-column: 1;
		grid-row: 2;
	}

	.asc-preview-copy {
		grid-column: 1 / -1;
		grid-row: 3;
		min-height: 0;
	}

	.asc-preview-export {
		grid-column: 1 / -1;
		grid-row: 4;
		justify-self: start;
	}

	.asc-export-grid {
		grid-template-columns: 1fr;
	}
}
