.ydr-cap {
	width: 300px;
	max-width: 100%;
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.5;
	-webkit-user-select: none;
	user-select: none;
}

.ydr-cap-stage {
	position: relative;
	width: 300px;
	max-width: 100%;
	height: 150px;
	border-radius: 6px;
	overflow: hidden;
	background: #eef2f7;
}

.ydr-cap-bg {
	display: block;
	width: 100%;
	height: 150px;
}

.ydr-cap-piece {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 3;
	pointer-events: none;
	display: none;
}

.ydr-cap-track {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 38px;
	background: rgba(238, 242, 247, 0.92);
	z-index: 4;
	display: none;
}

.ydr-cap-knob {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 38px;
	background: #fff;
	border: 1px solid #d9e2ec;
	border-radius: 4px;
	color: #1677ff;
	font-size: 16px;
	cursor: grab;
	touch-action: none;
}

.ydr-cap-knob:active {
	cursor: grabbing;
	background: #f5f9ff;
}

.ydr-cap-dot {
	position: absolute;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
	border-radius: 50%;
	background: #1677ff;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.ydr-cap-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 6px;
}

.ydr-cap-tip {
	color: #5a6b7d;
}

.ydr-cap-refresh {
	color: #1677ff;
	text-decoration: none;
}

.ydr-cap[data-state="ok"] .ydr-cap-tip {
	color: #16a34a;
	font-weight: 600;
}

.ydr-cap[data-state="ok"] .ydr-cap-knob {
	background: #eafaf0;
	border-color: #16a34a;
	cursor: default;
}
