html, body {
	position: relative;
	padding: 0;
	margin: 0;
	background: #444;
}

body {
	color: #fff;
	font-family: 'Ubuntu Mono', 'SF Mono', 'Menlo', monospace, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	position: relative;
}

* {
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0)!important;
	-webkit-touch-callout: none!important;
}

.feeds {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
}

.feeds > div {
	width: 100%;
	height: 100%;
}

.feeds > div video {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.hud-container > * {
	z-index: 999;
	position: fixed;
}

.status {
	top: 32px;
	left: 32px;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.record-dot {
	display: inline-block;
	border-radius: 50%;
	height: 20px;
	width: 20px;
	background: rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	position: relative;
	top: 2px;
}

.record-dot.pulse {
	background: red;
	box-shadow: 0 0 0 0 red;
	transform: scale(1);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
	}
}

.selector {
	bottom: 32px;
	left: 32px;
	display: flex;
	align-items: flex-end;
}

.selector > button {
	background: #222;
	padding: 12px 16px;
	font-size: 18px;
	font-family: inherit;
	border-radius: 2px;
	color: #fff;
	text-transform: uppercase;
	box-shadow: none;
	cursor: pointer;
	border: none;
	border: 0 solid #111;
	border-bottom-width: 6px;
	border-right-width: 2px;
	border-left-width: 2px;
	transition: border 50ms ease-in;
}

.selector > button:hover {
	background: #282828;
	border-bottom-width: 7px;
}

.selector > button.active {
	background: #fff;
	color: #000;
	font-weight: 700;
	cursor: default;
	border-bottom-width: 4px;
}

.selector > button:active {
	border-bottom-width: 2px;
	border-top-width: 2px;
}

.selector > button > .camera-features {
	display: inline-flex;
	font-size: 60%;
	opacity: 0.5;
	gap: 2px;
}

.video-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.video-overlay.centred {
	align-items: center;
	justify-content: center;
}

.video-overlay > div {
	padding: 20px;
	max-width: 500px;
}

.error-ctn {
	line-height: 1.3;
}