.lpc-vto-entry {
	margin: 18px 0;
}

.lpc-vto-entry__note {
	font-size: 13px;
	margin: 8px 0 0;
	opacity: 0.75;
}

.lpc-vto-modal {
	align-items: center;
	display: none;
	inset: 0;
	justify-content: center;
	padding: 18px;
	position: fixed;
	z-index: 99999;
}

.lpc-vto-modal.is-open {
	display: flex;
}

.lpc-vto-modal__overlay {
	background: rgba(0, 0, 0, 0.72);
	inset: 0;
	position: absolute;
}

.lpc-vto-modal__dialog {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	max-height: calc(100vh - 36px);
	max-width: 760px;
	overflow: auto;
	padding: 22px;
	position: relative;
	width: min(100%, 760px);
}

.lpc-vto-modal__close {
	align-items: center;
	background: #111;
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 28px;
	height: 38px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 38px;
}

.lpc-vto-modal__header {
	padding-right: 48px;
}

.lpc-vto-modal__header h2 {
	margin: 0 0 4px;
}

.lpc-vto-modal__header p {
	margin: 0 0 16px;
	opacity: 0.75;
}

.lpc-vto-mode-selector {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.lpc-vto-mode-button.is-active {
	background: #111;
	color: #fff;
}

.lpc-vto-stage {
	align-items: center;
	aspect-ratio: 4 / 3;
	background: #111;
	border-radius: 12px;
	display: flex;
	justify-content: center;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.lpc-vto-video {
	height: 100%;
	object-fit: contain;
	transform: scaleX(-1);
	width: 100%;
}

.lpc-vto-three-canvas {
	display: none;
	height: 100%;
	inset: 0;
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 2;
}

.lpc-vto-glasses {
	display: none;
	left: 0;
	max-width: none;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform-origin: center center;
	will-change: left, top, width, transform;
	z-index: 2;
}

.lpc-vto-status {
	background: rgba(0, 0, 0, 0.68);
	border-radius: 999px;
	bottom: 14px;
	color: #fff;
	font-size: 13px;
	left: 50%;
	max-width: calc(100% - 28px);
	padding: 8px 12px;
	position: absolute;
	text-align: center;
	transform: translateX(-50%);
	z-index: 3;
}

.lpc-vto-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.lpc-vto-calibration {
	align-items: center;
	background: #f6f6f6;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
	padding: 10px;
}

.lpc-vto-calibration strong {
	font-size: 13px;
	margin-right: 4px;
}

.lpc-vto-calibration .button {
	font-size: 12px;
	min-height: 32px;
	padding: 5px 10px;
}

.lpc-vto-values {
	background: #fff8df;
	border: 1px solid #ead99b;
	border-radius: 8px;
	font-family: Consolas, Monaco, monospace;
	font-size: 12px;
	line-height: 1.45;
	margin-top: 10px;
	padding: 8px 10px;
}

.lpc-vto-privacy {
	font-size: 12px;
	line-height: 1.45;
	margin: 14px 0 0;
	opacity: 0.75;
}

body.lpc-vto-lock {
	overflow: hidden;
}

@media (max-width: 600px) {
	.lpc-vto-modal {
		padding: 10px;
	}

	.lpc-vto-modal__dialog {
		padding: 16px;
	}

	.lpc-vto-stage {
		aspect-ratio: 3 / 4;
	}
}
