.theme-toggle {
	display: inline-flex;
	flex: none;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.theme-toggle:hover {
	border-color: currentColor;
	background: color-mix(in srgb, currentColor 12%, transparent);
}

.theme-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.theme-toggle svg {
	width: 20px;
	height: 20px;
}

.theme-icon-moon,
:root[data-theme="light"] .theme-icon-sun {
	display: none;
}

:root[data-theme="light"] .theme-icon-moon {
	display: block;
}
