/* Fonts from the Unreal project (SIL Open Font License, see fonts/OFL-*.txt). */
@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.ttf") format("truetype"); font-display: block; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Medium.ttf") format("truetype"); font-weight: 500; font-display: block; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: block; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: block; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: block; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-ExtraBoldItalic.ttf") format("truetype"); font-weight: 800; font-style: italic; font-display: block; }

html, body {
	margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden;
	background: #000; color: #eef2ff;
	-webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
#hudlines { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#hud { position: fixed; inset: 0; overflow: hidden; pointer-events: none; font-family: "Barlow Condensed", sans-serif; }
#hud .t {
	position: absolute; left: 0; top: 0; white-space: pre; line-height: normal; will-change: transform;
	font-kerning: normal; text-rendering: geometricPrecision;
}
#hud .r { position: absolute; left: 0; top: 0; }
#hud .menu { pointer-events: auto; cursor: pointer; }
#hud.nocursor, #hud.nocursor .menu { cursor: none; }

#loading {
	position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: radial-gradient(ellipse at 50% 60%, #121626 0%, #05060b 70%); z-index: 10;
	font-family: "Barlow Condensed", sans-serif; transition: opacity 0.6s;
}
#loading.done { opacity: 0; pointer-events: none; }
.ld-title { font-family: "Anton", sans-serif; font-size: min(12vh, 13vw); line-height: 1.05; display: flex; flex-direction: column; letter-spacing: 0.01em; }
.ld-title .amber { color: #ffd98a; }
.ld-bar { width: min(420px, 70vw); height: 4px; background: rgba(255, 255, 255, 0.08); margin-top: 4vh; }
#ld-fill { height: 100%; width: 0%; background: #ffd98a; transition: width 0.2s; }
#ld-text { margin-top: 1.6vh; font-size: 18px; font-weight: 600; color: #a9b4c9; letter-spacing: 0.08em; text-transform: uppercase; }
#ld-text.err { color: #ff8f80; text-transform: none; letter-spacing: 0; max-width: 80vw; text-align: center; }
