.hg-wrap {
	position: relative;
	display: block;
}

.hg-bar {
	--hg-color: #222;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	display: flex;
	gap: 4px;
	padding: 0 10px 8px;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity .2s ease;
	pointer-events: none;
	z-index: 2;
}

.hg-wrap.hg-active .hg-bar {
	opacity: 1;
}

.hg-dot {
	flex: 1 1 0;
	height: 2px;
	border-radius: 1px;
	background: rgba(0, 0, 0, .15);
	transition: background-color .15s ease;
}

.hg-dot.is-active {
	background: var(--hg-color);
}
