/* SPDX-License-Identifier: AGPL-3.0-or-later */

:root {
	color-scheme: dark;
	font-family: system-ui, sans-serif;
	background: #090a0c;
	color: #f4f4f5;
}

html,
body,
#player-root,
#player-host {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.share-cursors {
	position: absolute;
	z-index: 2;
	pointer-events: none;
}

#player-root {
	position: relative;
	display: grid;
	place-items: stretch;
	background: #090a0c;
}

#player-host {
	min-width: 0;
	min-height: 0;
}

#player-host ruffle-player {
	display: block;
	width: 100%;
	height: 100%;
	outline: none;
}

#status {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: #090a0c;
	color: #a1a1aa;
	font-size: 0.9375rem;
	line-height: 1.4;
	text-align: center;
}

#status[data-state='hidden'] {
	display: none;
}

#status[data-state='error'] {
	color: #fca5a5;
}
