/* samsara 網頁殼層樣式。色票暫用 project.godot 的清除色，F-05 的 DESIGN.md 定案後再換。
   CSP 為 style-src 'self'：不得在 HTML 寫 style 屬性或 <style>。 */

html,
body,
#canvas {
	margin: 0;
	padding: 0;
	border: 0;
}

body {
	color: #d8cfc4;
	background-color: #0d0a0d;
	overflow: hidden;
	touch-action: none;
}

#canvas {
	display: block;
}

#canvas:focus {
	outline: none;
}

#status,
#status-splash,
#status-progress {
	position: absolute;
	left: 0;
	right: 0;
}

#status,
#status-splash {
	top: 0;
	bottom: 0;
}

#status {
	background-color: #0d0a0d;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	visibility: hidden;
}

#status.is-visible {
	visibility: visible;
}

#status-splash {
	max-height: 100%;
	max-width: 100%;
	margin: auto;
}

#status-splash.show-image--false {
	display: none;
}

#status-splash.fullsize--true {
	height: 100%;
	width: 100%;
	object-fit: contain;
}

#status-splash.use-filter--false {
	image-rendering: pixelated;
}

#status-progress,
#status-notice {
	display: none;
}

#status-progress.is-visible,
#status-notice.is-visible {
	display: block;
}

#status-progress {
	bottom: 10%;
	width: 50%;
	margin: 0 auto;
	accent-color: #8a1c1c;
}

#status-notice {
	background-color: #1c1214;
	border-radius: 0.25rem;
	border: 1px solid #8a1c1c;
	color: #d8cfc4;
	font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
	line-height: 1.5;
	margin: 0 2rem;
	overflow: hidden;
	padding: 1rem;
	text-align: center;
	z-index: 1;
}
