html, body {
	padding: 0;
	margin: 0;
	overflow: hidden;
	height: 100%;
}

body {
	background: #000000;
	color: white;
}

#qgrStartupCover {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #101820;
	color: #ffffff;
	font-family: "Segoe UI", Arial, sans-serif;
	transition: opacity 0.22s ease;
}

#qgrStartupCover.is-hiding {
	opacity: 0;
	pointer-events: none;
}

.qgr-startup {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.qgr-startup img {
	width: 88px;
	height: 88px;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.qgr-startup strong {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
}

.qgr-startup span {
	color: #9fd6cc;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
}

.qgr-startup::after {
	content: "";
	width: 140px;
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(90deg, #23d7bd, #f5c84c, #f06f6a);
	animation: qgrStartupPulse 1.1s ease-in-out infinite;
}

@keyframes qgrStartupPulse {
	0%, 100% {
		opacity: 0.35;
		transform: scaleX(0.72);
	}

	50% {
		opacity: 1;
		transform: scaleX(1);
	}
}

input[type="file"] {
	color: black;
}

/* for scaling checkboxes according to the font size */
.c3-auto-size-checkbox {
	font-size: 1em;
	width: 1em;
	height: 1em;
	vertical-align: bottom;
	margin: 0.1em 0.25em;
}

html, body, canvas {
	touch-action-delay: none;
	touch-action: none;
}

canvas, .c3htmlwrap {
	position: absolute;
}

.c3htmlwrap {
	contain: strict;
}

.c3overlay {
	pointer-events: none;
}

.c3htmlwrap[interactive] > * {
	pointer-events: auto;
}

/* HACK - work around elements being selectable only in iOS WKWebView for some reason */
html[ioswebview] .c3htmlwrap,
html[ioswebview] canvas {
	-webkit-user-select: none;
	user-select: none;
}

html[ioswebview] .c3htmlwrap > * {
	-webkit-user-select: auto;
	user-select: auto;
}

#notSupportedWrap {
	margin: 2em auto 1em auto;
	width: 75%;
	max-width: 45em;
	border: 2px solid #aaa;
	border-radius: 1em;
	padding: 2em;
	background-color: #f0f0f0;
	font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	color: black;
}

#notSupportedTitle {
	font-size: 1.8em;
}

.notSupportedMessage {
	font-size: 1.2em;
}

.notSupportedMessage em {
	color: #888;
}

/* bbcode styles */
.bbCodeH1 {
	font-size: 2em;
	font-weight: bold;
}

.bbCodeH2 {
	font-size: 1.5em;
	font-weight: bold;
}

.bbCodeH3 {
	font-size: 1.25em;
	font-weight: bold;
}

.bbCodeH4 {
	font-size: 1.1em;
	font-weight: bold;
}

.bbCodeItem::before {
	content: " • ";
}

/* For text icons converted to HTML: size the height to the line height
   preserving the aspect ratio. Also add position: relative as that allows
   just adding a 'top' style for the iconoffsety style. */
.c3-text-icon {
	height: 1em;
	width: auto;
	position: relative;
}

/* screen reader text */
.c3-screen-reader-text {
	position: absolute;
	width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}
