.fix-my-speaker {
	--fms-bg: #061827;
	--fms-bg-2: #0b263a;
	--fms-panel: rgba(13, 36, 58, 0.92);
	--fms-panel-soft: rgba(255, 255, 255, 0.055);
	--fms-border: rgba(107, 202, 255, 0.35);
	--fms-border-strong: rgba(255, 255, 255, 0.76);
	--fms-cyan: #35c8ff;
	--fms-teal: #35e0bc;
	--fms-green: #76e0a4;
	--fms-text: #ffffff;
	--fms-muted: #aebccc;
	--fms-quiet: rgba(255, 255, 255, 0.14);
	--fms-progress: 0%;
	color: var(--fms-text);
	display: block;
	font-family: inherit;
	margin-left: auto;
	margin-right: auto;
	max-width: 860px;
	width: 100%;
}

.fix-my-speaker *,
.fix-my-speaker *::before,
.fix-my-speaker *::after {
	box-sizing: border-box;
}

.fix-my-speaker button,
.fix-my-speaker input {
	font: inherit;
}

.fix-my-speaker button {
	appearance: none;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	margin: 0;
	padding: 0;
}

.fix-my-speaker button:disabled {
	cursor: not-allowed;
	opacity: 0.56;
}

.fms-shell {
	background:
		linear-gradient(150deg, rgba(12, 53, 76, 0.94), rgba(5, 20, 35, 0.98) 56%, rgba(6, 31, 46, 0.98)),
		var(--fms-bg);
	border: 1px solid var(--fms-border);
	border-radius: 18px;
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
	padding: 20px;
	width: 100%;
}

.fms-header {
	align-items: center;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 17px;
}

.fms-kicker {
	color: rgba(255, 255, 255, 0.58);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.3px;
	line-height: 1.2;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.fms-title {
	color: #ffffff;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.08;
}

.fms-chip {
	align-items: center;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	display: inline-flex;
	flex: 0 0 auto;
	gap: 8px;
	min-height: 34px;
	padding: 0 12px;
}

.fms-chip-dot {
	background: var(--fms-teal);
	border-radius: 999px;
	box-shadow: 0 0 12px rgba(53, 224, 188, 0.55);
	display: block;
	height: 8px;
	width: 8px;
}

.fix-my-speaker.is-paused .fms-chip-dot {
	background: #ffd166;
	box-shadow: 0 0 12px rgba(255, 209, 102, 0.45);
}

.fix-my-speaker.is-complete .fms-chip-dot {
	background: var(--fms-green);
	box-shadow: 0 0 12px rgba(118, 224, 164, 0.5);
}

.fms-chip-text {
	color: rgba(255, 255, 255, 0.82);
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.fms-mode-label {
	color: rgba(255, 255, 255, 0.62);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.4px;
	line-height: 1.2;
	margin-bottom: 10px;
	text-align: center;
	text-transform: uppercase;
}

.fms-mode-group {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 14px;
}

.fms-mode,
.fms-action {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.74);
	border-radius: 999px;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	gap: 7px;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	min-height: 43px;
	padding: 0 11px;
	position: relative;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	white-space: nowrap;
}

.fms-mode:hover,
.fms-action:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-1px);
}

.fms-mode:focus-visible,
.fms-action:focus-visible,
.fms-preset:focus-visible,
.fms-utility:focus-visible,
.fms-control input:focus-visible {
	outline: 2px solid var(--fms-cyan);
	outline-offset: 3px;
}

.fms-mode.is-active {
	background: linear-gradient(180deg, rgba(53, 200, 255, 0.19), rgba(53, 224, 188, 0.09));
	border-color: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 8px 22px rgba(0, 0, 0, 0.18);
}

.fms-preset-row {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: -2px 0 14px;
}

.fms-preset {
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	min-height: 34px;
	padding: 0 10px;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.fms-preset:hover {
	background: rgba(53, 200, 255, 0.13);
	border-color: rgba(53, 200, 255, 0.42);
	color: #ffffff;
	transform: translateY(-1px);
}

.fms-symbol {
	display: inline-block;
	flex: 0 0 auto;
	height: 17px;
	position: relative;
	width: 17px;
}

.fms-symbol-sound::before {
	background: #ffffff;
	border-radius: 3px 1px 1px 3px;
	content: "";
	height: 10px;
	left: 1px;
	position: absolute;
	top: 4px;
	width: 6px;
}

.fms-symbol-sound::after {
	border: 2px solid var(--fms-cyan);
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-radius: 50%;
	border-top-color: transparent;
	content: "";
	height: 13px;
	left: 5px;
	position: absolute;
	top: 2px;
	width: 13px;
}

.fms-symbol-vibration::before,
.fms-symbol-vibration::after {
	border-color: rgba(255, 255, 255, 0.78);
	border-style: solid;
	border-width: 0 2px 0 0;
	content: "";
	height: 15px;
	position: absolute;
	top: 1px;
	width: 7px;
}

.fms-symbol-vibration::before {
	border-radius: 0 50% 50% 0;
	left: 1px;
}

.fms-symbol-vibration::after {
	border-radius: 0 50% 50% 0;
	left: 8px;
	transform: rotate(180deg);
}

.fms-symbol-deep::before,
.fms-symbol-deep::after {
	border: 2px solid var(--fms-cyan);
	border-radius: 50%;
	content: "";
	position: absolute;
}

.fms-symbol-deep::before {
	height: 16px;
	left: 0;
	top: 0;
	width: 16px;
}

.fms-symbol-deep::after {
	border-left-color: transparent;
	border-bottom-color: transparent;
	height: 8px;
	left: 4px;
	top: 4px;
	width: 8px;
}

.fms-symbol-eject::before {
	background: linear-gradient(180deg, #70e6ff, #24a8ff);
	border-radius: 58% 58% 58% 12%;
	box-shadow: 0 0 10px rgba(53, 200, 255, 0.38);
	content: "";
	height: 12px;
	left: 3px;
	position: absolute;
	top: 1px;
	transform: rotate(45deg);
	width: 12px;
}

.fms-symbol-eject::after {
	background: rgba(255, 255, 255, 0.8);
	border-radius: 999px;
	content: "";
	height: 2px;
	left: 2px;
	position: absolute;
	top: 14px;
	width: 13px;
}

.fms-meter {
	background:
		linear-gradient(180deg, rgba(18, 46, 78, 0.78), rgba(10, 31, 54, 0.88)),
		var(--fms-panel);
	border: 1px solid rgba(53, 200, 255, 0.34);
	border-radius: 14px;
	margin-bottom: 13px;
	min-height: 223px;
	padding: 19px 18px 16px;
	text-align: center;
}

.fms-visualizer {
	align-items: center;
	display: inline-flex;
	gap: 4px;
	height: 31px;
	justify-content: center;
	margin: 0 0 12px;
	width: 74px;
}

.fms-visualizer span {
	background: #157eb9;
	border-radius: 99px;
	display: block;
	height: 12px;
	opacity: 0.78;
	width: 4px;
}

.fms-visualizer span:nth-child(1),
.fms-visualizer span:nth-child(7) {
	height: 8px;
}

.fms-visualizer span:nth-child(2),
.fms-visualizer span:nth-child(6) {
	height: 15px;
}

.fms-visualizer span:nth-child(3),
.fms-visualizer span:nth-child(5) {
	height: 21px;
}

.fms-visualizer span:nth-child(4) {
	background: var(--fms-cyan);
	height: 27px;
}

.fix-my-speaker.is-running .fms-visualizer span {
	animation: fms-bars 780ms ease-in-out infinite;
}

.fix-my-speaker.is-running .fms-visualizer span:nth-child(2) {
	animation-delay: 90ms;
}

.fix-my-speaker.is-running .fms-visualizer span:nth-child(3) {
	animation-delay: 160ms;
}

.fix-my-speaker.is-running .fms-visualizer span:nth-child(4) {
	animation-delay: 230ms;
}

.fix-my-speaker.is-running .fms-visualizer span:nth-child(5) {
	animation-delay: 300ms;
}

.fix-my-speaker.is-running .fms-visualizer span:nth-child(6) {
	animation-delay: 370ms;
}

.fix-my-speaker.is-running .fms-visualizer span:nth-child(7) {
	animation-delay: 440ms;
}

@keyframes fms-bars {
	0%,
	100% {
		transform: scaleY(0.72);
	}
	50% {
		transform: scaleY(1.18);
	}
}

.fms-percent {
	align-items: baseline;
	display: flex;
	justify-content: center;
	line-height: 1;
	margin-bottom: 14px;
}

.fms-progress-value {
	font-size: 50px;
	font-weight: 850;
	letter-spacing: 0;
}

.fms-percent-mark {
	color: rgba(255, 255, 255, 0.66);
	font-size: 22px;
	font-weight: 850;
	margin-left: 4px;
}

.fms-progress {
	background: rgba(255, 255, 255, 0.12);
	border-radius: 99px;
	height: 8px;
	margin: 0 auto 14px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.fms-progress-fill {
	background: linear-gradient(90deg, var(--fms-teal), var(--fms-cyan));
	border-radius: inherit;
	box-shadow: 0 0 18px rgba(53, 200, 255, 0.34);
	display: block;
	height: 100%;
	transform-origin: left center;
	transition: width 120ms linear;
	width: var(--fms-progress);
}

.fms-readouts {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 12px;
}

.fms-readout {
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 10px;
	min-height: 56px;
	padding: 8px 7px 7px;
}

.fms-readout-value {
	color: #ffffff;
	display: block;
	font-size: 14px;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fms-readout-label {
	color: var(--fms-muted);
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.2;
	margin-top: 5px;
	text-transform: uppercase;
}

.fms-status {
	color: var(--fms-muted);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.35;
	min-height: 18px;
}

.fms-tuning {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 14px;
}

.fms-control {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 12px;
	display: block;
	min-width: 0;
	padding: 12px 12px 11px;
}

.fms-control-row {
	align-items: center;
	color: rgba(255, 255, 255, 0.82);
	display: flex;
	font-size: 12px;
	font-weight: 800;
	justify-content: space-between;
	line-height: 1.2;
	margin-bottom: 11px;
}

.fms-control-value {
	color: var(--fms-cyan);
	margin-left: 10px;
	text-align: right;
	white-space: nowrap;
}

.fms-control input[type="range"] {
	accent-color: var(--fms-cyan);
	background: transparent;
	display: block;
	height: 20px;
	width: 100%;
}

.fms-control input[type="range"]::-webkit-slider-runnable-track {
	background: rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	height: 5px;
}

.fms-control input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	background: #ffffff;
	border: 3px solid var(--fms-cyan);
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
	height: 18px;
	margin-top: -6px;
	width: 18px;
}

.fms-control input[type="range"]::-moz-range-track {
	background: rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	height: 5px;
}

.fms-control input[type="range"]::-moz-range-thumb {
	background: #ffffff;
	border: 3px solid var(--fms-cyan);
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
	height: 14px;
	width: 14px;
}

.fms-actions {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 10px;
}

.fms-action {
	background: rgba(255, 255, 255, 0.055);
	min-height: 49px;
}

.fms-play {
	background: linear-gradient(180deg, rgba(53, 200, 255, 0.18), rgba(53, 224, 188, 0.1));
	border-color: rgba(255, 255, 255, 0.86);
}

.fms-play-icon {
	border-bottom: 5px solid transparent;
	border-left: 9px solid #ffffff;
	border-top: 5px solid transparent;
	display: inline-block;
	height: 0;
	width: 0;
}

.fms-pause-icon {
	display: inline-flex;
	gap: 3px;
	height: 12px;
	width: 12px;
}

.fms-pause-icon::before,
.fms-pause-icon::after {
	background: #ffffff;
	border-radius: 2px;
	content: "";
	display: block;
	height: 12px;
	width: 4px;
}

.fms-stop-icon {
	background: #ffffff;
	border-radius: 2px;
	display: inline-block;
	height: 11px;
	width: 11px;
}

.fms-utility-row {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 10px;
}

.fms-utility {
	align-items: center;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.82);
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	gap: 8px;
	justify-content: center;
	line-height: 1;
	min-height: 42px;
	padding: 0 12px;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.fms-utility:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.24);
	color: #ffffff;
	transform: translateY(-1px);
}

.fms-test-icon {
	border: 2px solid var(--fms-cyan);
	border-radius: 50%;
	display: inline-block;
	height: 15px;
	position: relative;
	width: 15px;
}

.fms-test-icon::after {
	background: var(--fms-cyan);
	border-radius: 50%;
	content: "";
	height: 5px;
	left: 3px;
	position: absolute;
	top: 3px;
	width: 5px;
}

.fms-mute-icon {
	display: inline-block;
	height: 15px;
	position: relative;
	width: 17px;
}

.fms-mute-icon::before {
	background: #ffffff;
	border-radius: 3px 1px 1px 3px;
	content: "";
	height: 10px;
	left: 0;
	position: absolute;
	top: 3px;
	width: 6px;
}

.fms-mute-icon::after {
	border: 2px solid var(--fms-cyan);
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-radius: 50%;
	border-top-color: transparent;
	content: "";
	height: 13px;
	left: 5px;
	position: absolute;
	top: 1px;
	width: 13px;
}

.fix-my-speaker.is-muted .fms-mute-icon {
	opacity: 0.9;
}

.fix-my-speaker.is-muted .fms-mute-icon::after {
	border-color: transparent;
}

.fix-my-speaker.is-muted .fms-mute-icon {
	background: linear-gradient(45deg, transparent 43%, #ffd166 46%, #ffd166 54%, transparent 57%);
}

.fms-session-strip {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fms-session-strip > div {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	min-height: 50px;
	padding: 9px 10px 8px;
	text-align: center;
}

.fms-session-strip span {
	display: block;
	line-height: 1.2;
}

.fms-session-count,
.fms-last-run {
	color: #ffffff;
	font-size: 15px;
	font-weight: 850;
	letter-spacing: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fms-session-strip span:last-child {
	color: var(--fms-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1px;
	margin-top: 5px;
	text-transform: uppercase;
}

.fms-note {
	color: rgba(255, 255, 255, 0.58);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.35;
	margin-top: 12px;
	text-align: center;
}

.fix-my-speaker.fms-layout-compact {
	max-width: 430px;
}

.fix-my-speaker.fms-layout-compact .fms-shell {
	padding: 16px;
}

.fix-my-speaker.fms-layout-compact .fms-title {
	font-size: 22px;
}

.fix-my-speaker.fms-layout-compact .fms-mode-group,
.fix-my-speaker.fms-layout-compact .fms-preset-row {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fix-my-speaker.fms-layout-compact .fms-meter {
	min-height: 205px;
	padding: 16px 14px 14px;
}

.fix-my-speaker.fms-layout-compact .fms-readouts,
.fix-my-speaker.fms-layout-compact .fms-tuning,
.fix-my-speaker.fms-layout-compact .fms-actions {
	grid-template-columns: 1fr;
}

.fix-my-speaker.fms-theme-light {
	--fms-bg: #f5fbff;
	--fms-bg-2: #eaf6fd;
	--fms-panel: rgba(255, 255, 255, 0.92);
	--fms-border: rgba(9, 89, 137, 0.18);
	--fms-cyan: #0577b8;
	--fms-teal: #008f83;
	--fms-green: #138a49;
	--fms-text: #0b2236;
	--fms-muted: #526474;
	color: var(--fms-text);
}

.fix-my-speaker.fms-theme-light .fms-shell {
	background: linear-gradient(150deg, #ffffff, #eef8fd 58%, #f7fbff);
	border-color: var(--fms-border);
	box-shadow: 0 20px 55px rgba(12, 41, 64, 0.14);
}

.fix-my-speaker.fms-theme-light .fms-title,
.fix-my-speaker.fms-theme-light .fms-readout-value,
.fix-my-speaker.fms-theme-light .fms-session-count,
.fix-my-speaker.fms-theme-light .fms-last-run {
	color: #0b2236;
}

.fix-my-speaker.fms-theme-light .fms-kicker,
.fix-my-speaker.fms-theme-light .fms-mode-label,
.fix-my-speaker.fms-theme-light .fms-note,
.fix-my-speaker.fms-theme-light .fms-chip-text {
	color: rgba(11, 34, 54, 0.62);
}

.fix-my-speaker.fms-theme-light .fms-chip,
.fix-my-speaker.fms-theme-light .fms-control,
.fix-my-speaker.fms-theme-light .fms-readout,
.fix-my-speaker.fms-theme-light .fms-session-strip > div,
.fix-my-speaker.fms-theme-light .fms-utility,
.fix-my-speaker.fms-theme-light .fms-preset {
	background: rgba(9, 89, 137, 0.045);
	border-color: rgba(9, 89, 137, 0.13);
	color: rgba(11, 34, 54, 0.78);
}

.fix-my-speaker.fms-theme-light .fms-meter {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(237, 248, 253, 0.92));
	border-color: rgba(9, 89, 137, 0.16);
}

.fix-my-speaker.fms-theme-light .fms-mode,
.fix-my-speaker.fms-theme-light .fms-action {
	border-color: rgba(11, 34, 54, 0.5);
	color: #0b2236;
}

.fix-my-speaker.fms-theme-light .fms-mode.is-active,
.fix-my-speaker.fms-theme-light .fms-play {
	background: linear-gradient(180deg, rgba(5, 119, 184, 0.12), rgba(0, 143, 131, 0.09));
	border-color: rgba(11, 34, 54, 0.72);
}

.fix-my-speaker.fms-theme-light .fms-progress {
	background: rgba(9, 89, 137, 0.13);
}

.fix-my-speaker.fms-theme-light .fms-symbol-sound::before,
.fix-my-speaker.fms-theme-light .fms-pause-icon::before,
.fix-my-speaker.fms-theme-light .fms-pause-icon::after,
.fix-my-speaker.fms-theme-light .fms-stop-icon,
.fix-my-speaker.fms-theme-light .fms-mute-icon::before {
	background: #0b2236;
}

.fix-my-speaker.fms-theme-light .fms-play-icon {
	border-left-color: #0b2236;
}

@media (max-width: 560px) {
	.fix-my-speaker {
		max-width: none;
	}

	.fms-shell {
		border-radius: 16px;
		padding: 16px;
	}

	.fms-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.fms-title {
		font-size: 23px;
	}

	.fms-mode-group {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fms-tuning {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 390px) {
	.fms-mode-group,
	.fms-preset-row,
	.fms-readouts,
	.fms-actions,
	.fms-utility-row,
	.fms-session-strip {
		grid-template-columns: 1fr;
	}

	.fms-progress-value {
		font-size: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fix-my-speaker.is-running .fms-visualizer span,
	.fms-mode,
	.fms-action,
	.fms-progress-fill {
		animation: none;
		transition: none;
	}
}
