.qc-wrapper {
	position: fixed;
	left: 50%;
	bottom: env(safe-area-inset-bottom, 0);
	transform: translateX(-50%);
	width: 100%;
	max-width: 1080px;
	z-index: 9999;
}

.qc-bar {
	position: absolute;
	inset: 0;
	height: 0;
	pointer-events: none;
}

.qc-btn {
	font-size: 10px;
	color: #fff;
	background: rgba(0, 0, 0, .6);
	border: 0;
	cursor: pointer;
	pointer-events: auto;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.qc-close {
	position: absolute;
	top: -18px;
	z-index: 10001;
}

.qc-open {
	position: fixed;
	left: 50%;
	bottom: env(safe-area-inset-bottom, 8px);
	transform: translateX(-50%);
	z-index: 10000;
}

.qc-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
}

.qc-content a,
.qc-content video {
	display: block;
	width: 100%;
}

.qc-wrapper.closed .qc-content,
.qc-wrapper.closed .qc-close {
	display: none;
}

.qc-wrapper.open .qc-open {
	display: none;
}

@media (min-width:768px) {
	.qc-content {
		grid-template-columns: repeat(2, 1fr);
	}
}